1 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4 the requote function doesn't work properly (bug#11714).
6 2012-06-23 Glenn Morris <rgm@gnu.org>
8 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12 Further GV/CL cleanups.
13 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
15 (gv--defun-declaration): New function.
16 (defun-declarations-alist): Use it.
17 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
19 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
20 original definition of dotimes and dolist.
21 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
22 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
23 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
24 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
25 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
26 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
27 to the function's definition.
28 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
32 * env.el: Don't use CL.
34 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
36 Support higher-resolution time stamps (Bug#9000).
38 * calendar/time-date.el (with-decoded-time-value): New arg
39 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
40 (encode-time-value): New optional arg PICO. New type 3.
41 (time-to-seconds) [!float-time]: Support the new picoseconds
42 component if it's used.
43 (seconds-to-time, time-subtract, time-add):
44 Support ps-resolution time stamps as well.
46 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
47 (timerp): Timer vectors now have length 9, not 8.
48 (timer--time): Support new-style (4-part) time stamps.
49 (timer-next-integral-multiple-of-time): Time stamps now have
50 picosecond resolution, so take a bit more care about rounding.
51 (timer-relative-time, timer-inc-time): New optional arg psecs.
52 (timer-set-time-with-usecs): Set psecs to 0.
53 (timer--activate): Check psecs component, too.
55 * proced.el (proced-time-lessp): Support ps-resolution stamps.
57 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
59 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
60 Move the non-essential binding to the post/pre-command-hook where it is
61 more obviously correct.
63 * subr.el (read-passwd): Don't use a history at all.
64 * savehist.el (savehist-save): Remove password saved accidentally
65 because of the above bug.
67 2012-06-22 Bastien Guerry <bzg@gnu.org>
69 * files.el (toggle-read-only): Display a message telling whether
70 the buffer is read-only or not (bug#11726).
72 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
74 * emacs-lisp/gv.el: New file.
75 * subr.el (push, pop): Extend to generalized variables.
76 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
77 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
78 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
79 gv-define-simple-setter, and gv-define-expander.
80 Remove setf-methods defined in gv. Rename cl-setf -> setf.
81 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
82 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
83 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
84 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
86 (cl-defstruct): Don't define setf-method any more.
87 * emacs-lisp/cl.el (flet): Don't autoload.
88 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
89 (define-setf-expander, defsetf, define-modify-macro)
90 (cl-struct-setf-expander): Move from cl-lib.el.
91 * emacs-lisp/syntax.el:
94 * emacs-lisp/cconv.el:
95 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
96 (timer--time): Use gv-define-simple-setter.
97 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
98 to avoid coding-system problems in subr.el. Adjust all users.
99 (macroexp--maxsize, macroexp-small-p): New functions.
100 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
101 * scroll-bar.el (scroll-bar-mode):
102 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
103 (normal-erase-is-backspace-mode): Don't use the `eq' place.
104 * winner.el (winner-configuration, winner-make-point-alist)
105 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
106 * files.el (locate-file-completion-table): Avoid list*.
108 2012-06-22 Chong Yidong <cyd@gnu.org>
110 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
111 (dired-create-files): Doc fix (Bug#11329).
112 (dired-do-copy): Doc fix (Bug#11334).
113 (dired-mark-read-string): Doc fix (Bug#11553).
115 * dired.el (dired-recursive-copies, dired-recursive-deletes):
117 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
118 (dired-dwim-target): Doc fix.
120 * wdired.el (wdired-mode): Doc fix.
122 2012-06-22 Glenn Morris <rgm@gnu.org>
124 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
125 (pcmpl-rpm-cache-stamp-file): New constant.
126 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
127 (pcmpl-rpm-packages): Optionally cache list of packages.
129 * pcmpl-rpm.el (pcmpl-rpm): New group.
130 (pcmpl-rpm-query-options): New option.
131 (pcmpl-rpm-packages): No need to inline it.
132 Use pcmpl-rpm-query-options.
134 * calendar/calendar.el (calendar-in-read-only-buffer):
135 Avoid some needless mode changes.
137 2012-06-21 Chong Yidong <cyd@gnu.org>
139 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
140 (desktop-path): Remove . from the default value (Bug#10977).
141 (desktop-read): Use user-emacs-directory if desktop-path is nil.
143 2012-06-20 Chong Yidong <cyd@gnu.org>
145 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
147 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
149 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
152 2012-06-20 Chong Yidong <cyd@gnu.org>
154 * term.el (term-window-width): Handle the case of a missing right
156 (term-check-size): Use window-text-height (Bug#5445).
157 (term-mode): Use define-derived-mode. Minor cleanups.
158 Set font-lock-defaults (Bug#7692).
159 (term-move-columns, term-insert-char, term-emulate-terminal)
160 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
162 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
164 * net/ange-ftp.el (ange-ftp-get-passwd):
165 Bind `enable-recursive-minibuffers'.
166 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
168 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
170 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
172 2012-06-19 Glenn Morris <rgm@gnu.org>
174 * progmodes/python.el (python-mode): Derive from prog-mode.
176 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
178 * emulation/edt.el (edt-default-menu-bar-update-buffers)
179 (edt-user-menu-bar-update-buffers): New functions.
180 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
182 2012-06-19 Chong Yidong <cyd@gnu.org>
184 * subr.el (with-selected-window): Preserve the selected window's
185 terminal's top-frame (Bug#4702).
187 * window.el (save-selected-window): Likewise.
189 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
191 * progmodes/python.el (python-rx-constituents): Move backquote.
192 (python-skeleton-define, python-define-auxiliary-skeleton):
195 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
197 * minibuffer.el (read-file-name-default): Revert the patch from
200 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
202 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
203 (pcase--u1, pcase--q1): Don't use apply-partially.
205 2012-06-18 Glenn Morris <rgm@gnu.org>
207 * progmodes/python.el (python-proc, python-buffer)
208 (python-send-receive, python-send-string): Fix obsolete versions.
210 2012-06-18 Martin Rudalics <rudalics@gmx.at>
212 * window.el (special-display-p): Completely remove stringp
213 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
215 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
217 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
219 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
221 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
222 * net/tramp-sh.el (tramp-maybe-open-connection):
223 Throw if `non-essential' is non-nil.
225 2012-06-17 Martin Rudalics <rudalics@gmx.at>
227 * window.el (special-display-p): Signal an error if BUFFER-NAME
228 is not a string (Bug#11713).
230 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
232 * progmodes/python.el (python-info-beginning-of-backslash):
233 Rename from python-info-beginning-of-backlash, as a spelling fix.
235 2012-06-17 Chong Yidong <cyd@gnu.org>
237 * term.el (term-emulate-terminal): If term-check-size is called,
238 move point to the process mark without resetting point (Bug#4635).
240 2012-06-17 Glenn Morris <rgm@gnu.org>
242 * international/mule-cmds.el (mule-menu-keymap)
243 (set-language-environment, set-locale-environment): Doc tweaks.
245 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
247 * cus-face.el (custom-face-attributes): Add wave-style underline
249 * faces.el (set-face-attribute): Update docstring to describe
250 wave-style underline attribute.
252 2012-06-16 Chong Yidong <cyd@gnu.org>
254 * term/xterm.el (terminal-init-xterm): Discard input before
255 querying background mode (Bug#10959).
257 2012-06-16 Stefan Merten <smerten@oekonux.de>
259 * textmodes/rst.el: Added and corrected some comments.
260 (rst-re-alist-def): Improve symbol syntax.
261 (rst-mode-syntax-table): Correct syntax entries.
262 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
263 (rst-official-version, rst-official-cvs-rev): Update version
266 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
268 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
269 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
271 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
273 * progmodes/python.el: New python.el merge.
274 (python-guess-indent): Obsolete var.
275 (python-indent-guess-indent-offset): New defcustom.
276 (python-indent): Obsolete var.
277 (python-indent-offset): New defcustom.
278 (python-python-command, python-jython-command): Delete var.
279 (python-shell-interpreter): New defcustom.
280 (python-pdbtrack-do-tracking-p): Delete var.
281 (python-pdbtrack-activate): New defcustom.
282 (python-use-skeletons): Obsolete var.
283 (python-skeleton-autoinsert): New defcustom.
284 (inferior-python-filter-regexp, python-continuation-offset)
285 (python-honour-comment-indentation, python-indent-string-contents)
286 (python-jython-packages, python-mode-hook)
287 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
288 (python-shell-prompt-alist)
289 (python-source-modes): Delete defcustoms.
290 (python-check-buffer-name, python-eldoc-setup-code)
291 (python-eldoc-string-code, python-ffap-setup-code)
292 (python-ffap-string-code, python-fill-comment-function)
293 (python-fill-decorator-function, python-fill-paren-function)
294 (python-fill-string-function, python-imenu-include-defun-type)
295 (python-imenu-make-tree, python-imenu-subtree-root-label)
296 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
297 (python-shell-compilation-regexp-alist)
298 (python-shell-completion-module-string-code)
299 (python-shell-completion-pdb-string-code)
300 (python-shell-completion-setup-code)
301 (python-shell-completion-string-code)
302 (python-shell-enable-font-lock, python-shell-exec-path)
303 (python-shell-extra-pythonpaths)
304 (python-shell-internal-buffer-name, python-shell-interpreter-args)
305 (python-shell-process-environment)
306 (python-shell-prompt-block-regexp)
307 (python-shell-prompt-output-regexp)
308 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
309 (python-shell-send-setup-max-wait, python-shell-setup-codes)
310 (python-shell-virtualenv-path): New defcustoms.
311 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
312 (inferior-python-mode-syntax-table, python--prompt-regexp)
313 (python-buffer, python-command python-python-command)
314 (python-default-template, python-imports, python-indent-index)
315 (python-indent-list, python-indent-list-length)
316 (python-mode-running, python-pdbtrack-is-tracking-p)
317 (python-preoutput-continuation, python-preoutput-leftover)
318 (python-preoutput-result, python-preoutput-skip-next-prompt)
319 (python-prev-dir/file, python-recursing)
320 (python-saved-check-command, python-version-checked)
321 (python-which-func-length-limit)
322 (view-return-to-alist): Delete vars.
323 (python-check-custom-command, python-dotty-syntax-table)
324 (python-imenu-index-alist, python-indent-current-level)
325 (python-indent-dedenters, python-indent-levels)
326 (python-nav-beginning-of-defun-regexp)
327 (python-nav-list-defun-positions-cache)
328 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
329 (python-shell-internal-buffer)
330 (python-skeleton-available): New vars.
331 (def-python-skeleton): Delete macro.
332 (python-skeleton-define): New macro.
333 (python-define-auxiliary-skeleton, python-rx): New macros.
334 (python-insert-class): Delete command.
335 (python-skeleton-class): New command.
336 (python-insert-def): Delete command.
337 (python-skeleton-def): New command.
338 (python-insert-for): Delete command.
339 (python-skeleton-for): New command.
340 (python-insert-if): Delete command.
341 (python-skeleton-if): New command.
342 (python-insert-try/except, python-insert-try/finally): Delete commands.
343 (python-skeleton-try): New command.
344 (python-insert-while): Delete command.
345 (python-skeleton-while): New command.
346 (python-backspace): Delete command.
347 (python-indent-dedent-line-backspace): New command.
348 (python-electric-colon): Delete command.
349 (python-indent-electric-colon): New command.
350 (python-guess-indent): Delete command.
351 (python-indent-guess-indent-offset): New command.
352 (python-shift-left): Delete command.
353 (python-indent-shift-left): New command.
354 (python-shift-right): Delete command.
355 (python-indent-shift-right): New command.
356 (python-find-function): Delete command.
357 (python-nav-jump-to-defun): New command.
358 (python-next-statement): Delete command.
359 (python-nav-forward-sentence): New command.
360 (python-previous-statement): Delete command.
361 (python-nav-backward-sentence): New command.
362 (python-fill-paragraph): Delete command.
363 (python-fill-paragraph-function): New command.
364 (python-send-buffer): Delete command.
365 (python-shell-send-buffer): New command.
366 (python-send-defun): Delete command.
367 (python-shell-send-defun): New command.
368 (python-send-region, python-send-region-and-go): Delete commands.
369 (python-shell-send-region)
370 (python-shell-switch-to-shell): New commands.
371 (python-send-string): Delete command.
372 (python-shell-send-string): New command.
373 (python-switch-to-python): Delete command.
374 (python-shell-switch-to-shell): New command.
375 (python-describe-symbol): Delete command.
376 (python-eldoc-at-point): New command.
377 (python--set-prompt-regexp, python-args-to-list)
378 (python-after-info-look, python-check-version)
379 (python-check-comint-prompt, python-find-imports)
380 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
381 (python-unload-function, python-expand-template)
382 (python-maybe-jython, python-preoutput-filter)
383 (python-pdbtrack-get-source-buffer)
384 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
385 (python-pdbtrack-toggle-stack-tracking)
386 (python-pdbtrack-track-stack-file, python-initial-text)
387 (python-first-word, python-comment-line-p, python-send-command)
388 (python-setup-brm, python-sentinel, python-set-proc)
389 (python-skip-out, python-input-filter, python-outdent-p)
390 (python-outline-level, python-backslash-continuation-line-p)
391 (python-end-of-block, python-end-of-statement, python-mark-block)
392 (python-beginning-of-block, python-beginning-of-statement)
393 (python-blank-line-p, python-beginning-of-string)
394 (python-open-block-statement-p): Delete functions.
395 (python-indent-line, python-indent-line-1): Delete functions.
396 (python-indent-line): New function.
397 (python-indentation-levels): Delete function.
398 (python-indent-calculate-levels): New function.
399 (python-proc): Delete function.
400 (python-shell-get-process): New function.
401 (python-send-receive): Delete function.
402 (python-shell-send-string-no-output): New function.
403 (python-module-path): Delete function.
404 (python-ffap-module-path): New function.
405 (python-completion-at-point)
406 (python-symbol-completions): Delete functions.
407 (python-completion-complete-at-point): New function.
408 (python-load-file): Delete function.
409 (python-shell-send-file): New function.
410 (python-calculate-indentation): Delete function.
411 (python-indent-calculate-indentation): New function.
412 (python-skip-comments/blanks): Delete function.
413 (python-util-forward-comment): New function.
414 (python-continuation-line-p): Delete function.
415 (python-info-continuation-line-p): New function.
416 (python-which-func, python-current-defun): Delete function.
417 (python-info-current-defun): New function.
418 (python-beginning-of-defun): Delete function.
419 (python-nav-beginning-of-defun): New function.
420 (python-close-block-statement-p)
421 (python-block-end-p): Delete function.
422 (python-info-closing-block): New function.
423 (python-comint-output-filter-function)
424 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
425 (python-fill-comment, python-fill-decorator, python-fill-paren)
426 (python-fill-string, python-imenu-make-element-tree)
427 (python-imenu-make-tree, python-imenu-tree-assoc)
428 (python-indent-context, python-indent-dedent-line)
429 (python-indent-line-function)
430 (python-indent-post-self-insert-function)
431 (python-indent-toggle-levels)
432 (python-info-assignment-continuation-line-p)
433 (python-info-beginning-of-backlash)
434 (python-info-block-continuation-line-p)
435 (python-info-closing-block-message)
436 (python-info-line-ends-backslash-p)
437 (python-info-looking-at-beginning-of-defun)
438 (python-info-ppss-context, python-info-ppss-context-type)
439 (python-nav-list-defun-positions, python-nav-read-defun)
440 (python-nav-sentence-end, python-nav-sentence-start)
441 (python-pdbtrack-comint-output-filter-function)
442 (python-pdbtrack-set-tracked-buffer)
443 (python-shell-calculate-exec-path)
444 (python-shell-calculate-process-environment)
445 (python-shell-completion--do-completion-at-point)
446 (python-shell-completion--get-completions)
447 (python-shell-completion-complete-at-point)
448 (python-shell-completion-complete-or-indent)
449 (python-shell-get-or-create-process)
450 (python-shell-get-process-name)
451 (python-shell-internal-get-or-create-process)
452 (python-shell-internal-get-process-name)
453 (python-shell-internal-send-string, python-shell-make-comint)
454 (python-shell-parse-command, python-shell-send-setup-code)
455 (python-skeleton-add-menu-items)
456 (python-util-clone-local-variables, python-util-position)
457 (run-python-internal, python-indentation-levels)
458 (python-nav-beginning-of-defun)
459 (python-completion-complete-at-point): New functions.
460 (run-python): Change arguments. New API requirements.
462 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
464 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
467 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
468 (macroexp--expand-all): Use it.
470 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
471 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
472 Use `cl-function' instead.
474 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
476 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
477 Suggested by Stefan Monnier while discussing bug#11657.
479 2012-06-14 Sam Steingold <sds@gnu.org>
481 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
483 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
485 * play/doctor.el (doctor-doc): Remove parameter and use
486 doctor-sent instead of sent.
487 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
489 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
491 * files.el: Require cl-lib.
492 (file-name-non-special): Replace case -> cl-case.
494 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
496 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
497 mapping from #' to function*.
499 2012-06-13 Chong Yidong <cyd@gnu.org>
501 * mouse.el (mouse-drag-track): Do not set the mark if the user
502 releases the mouse without selecting anything (Bug#11588).
504 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
506 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
509 * loadup.el: Count byte-code functions as well.
511 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
512 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
514 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
515 (bug#11649). Add cl-defun and cl-defmacro.
517 2012-06-13 Drew Adams <drew.adams@oracle.com>
519 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
522 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
524 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
525 Otherwise, it blocks in batch mode.
527 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
529 * help-mode.el (bookmark-make-record-default): Declare.
531 2012-06-13 Chong Yidong <cyd@gnu.org>
533 * emacs-lisp/package.el (list-packages): Compute a list of
534 packages that are newly-available since the last list-packages
536 (package-menu--new-package-list): New var.
537 (package-menu--generate, package-menu--print-info)
538 (package-menu--status-predicate, package-menu-mark-install):
539 Handle new status label "new".
541 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
543 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
544 conversion to backquotes.
546 2012-06-12 Chong Yidong <cyd@gnu.org>
548 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
549 Rename from gud-inhibit-global-bindings.
551 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
553 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
554 hook from nxml-glyph-set-hook.
556 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
559 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
561 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
562 Convert to defcustom.
564 2012-06-12 Drew Adams <drew.adams@oracle.com>
566 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
568 (help-mode): Use them.
570 2012-06-11 Glenn Morris <rgm@gnu.org>
572 * progmodes/fortran.el (fortran-font-lock-keywords-3):
573 Use preprocessor face for directives.
574 (fortran-directive-re): Doc fix.
576 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
578 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
579 conversion to backquotes (bug#11652).
581 Fix compiler-expansion of CL's cXXr functions (bug#11673).
582 * emacs-lisp/cl-lib.el (cl--defalias): New function.
583 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
584 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
585 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
586 (cl-ninth, cl-tenth): Mark them as inlinable.
587 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
588 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
589 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
590 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
591 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
592 (cl-list*, cl-adjoin): Don't put an autoload manually.
593 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
594 (cl--compiler-macro-list*): Add autoload cookie.
595 (cl--compiler-macro-cXXr): New function.
597 * help-fns.el (help-fns--compiler-macro): New function extracted from
598 describe-function-1; follow aliases and use `compiler-macro' property.
599 (describe-function-1): Use it.
601 2012-06-11 Chong Yidong <cyd@gnu.org>
603 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
604 is uninstalled, if imagemagick is installed.
606 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
608 * emacs-lisp/cl-lib.el: Use lexical-binding.
609 (cl-map-extents, cl-maclisp-member): Remove.
610 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
611 (cl--set-substring, cl--block-wrapper, cl--block-throw)
612 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
613 * emacs-lisp/cl-extra.el: Use lexical-binding.
614 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
615 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
616 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
617 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
618 * emacs-lisp/cl-seq.el: Use lexical-binding.
619 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
620 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
621 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
622 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
623 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
626 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
628 Sync with Tramp 2.2.6-pre.
630 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
631 `print-length' and `print-level' to nil, in order to avoid
632 truncation. Reported by Christopher Schmidt
633 <christopher@ristopher.com>.
635 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
637 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
639 (tramp-compat-copy-directory): Add optional argument
640 COPY-CONTENTS. It is not handled yet.
642 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
643 (tramp-ftp-file-name-p): Simplify.
645 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
646 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
649 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
650 (tramp-methods): Do not use `tramp-password-end-of-line'.
651 (tramp-completion-function-alist-putty): Handle UNIX case.
652 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
653 (tramp-do-file-attributes-with-stat)
654 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
655 gid as real numbers. They could run out of integer range on cygwin.
656 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
657 (tramp-sh-handle-expand-file-name): Handle hops.
658 (tramp-open-connection-setup-interactive-shell):
659 Use `tramp-cleanup'. Move check for busyboxes ...
660 (tramp-find-shell): ... here. Simplify implementation.
661 Set "remote-shell" property also for alternative shells.
662 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
663 If failing, a regular file would be written otherwise.
664 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
665 (tramp-find-inline-encoding): Cache the coding commands in the
666 process cache. Apply test command on the remote side, if defined.
667 (tramp-find-inline-compress): Cache the compress commands in the
669 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
670 when requested. Handle hops.
671 (tramp-current-connection): New defvar.
672 (tramp-maybe-open-connection): Use `tramp-cleanup'.
673 Throw `suppress', if there was a failed connection shortly before.
674 Handle user interrupt. (Bug#10187)
675 (tramp-get-inline-compress, tramp-get-inline-coding):
676 Read connection properties from the process cache.
678 * net/tramp-smb.el (tramp-smb-server-version)
679 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
681 (tramp-smb-prompt): Extend for powershell prompt.
682 (tramp-smb-file-name-handler-alist): Add handlers for
683 `process-file', `shell-command' and `start-file-process'.
684 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
685 (tramp-smb-winexe-shell-command-switch): New defcustoms.
686 (tramp-smb-file-name-p): Simplify.
687 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
688 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
689 (tramp-smb-shell-quote-argument): New defuns.
690 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
691 Implement using "tar". By this, time-stamps are preserved.
692 (tramp-smb-handle-copy-file): Handle also the case of directories.
693 (tramp-smb-do-file-attributes-with-stat)
694 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
695 Use `tramp-get-connection-buffer').
696 (tramp-smb-handle-rename-file): Use "rename", when source and
697 target are on the same share.
698 (tramp-smb-maybe-open-connection): Handle wrong passwords.
699 Use `tramp-smb-server-version'.
700 (tramp-smb-wait-for-output): Remove prompt.
702 * net/tramp.el (top): Require 'cl.
703 (tramp-methods, tramp-rsh-end-of-line):
704 Remove `tramp-password-end-of-line' from docstring.
705 (tramp-save-ad-hoc-proxies): New defcustom.
706 (tramp-completion-function-alist): Adapt docstring.
707 (tramp-default-password-end-of-line): Remove defcustom.
708 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
709 (tramp-user-regexp, tramp-file-name-regexp-unified)
710 (tramp-file-name-regexp-url): Extend regexp by hop separator.
711 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
712 (tramp-remote-file-name-spec-regexp): New defconst.
713 (tramp-file-name-structure): Extend structure for hops.
714 (tramp-get-method-parameter): Move up.
715 (tramp-file-name-p, tramp-dissect-file-name)
716 (with-parsed-tramp-file-name): Handle hops.
717 (tramp-file-name-hop): New defun.
718 (tramp-make-tramp-file-name): New optional arg HOP.
719 (tramp-message-show-progress-reporter-message): New defvar.
720 (tramp-with-progress-reporter): Use it. We cannot use
721 `tramp-message-show-message' here, because this suppresses also
723 (tramp-error-with-buffer): Suppress buffer view, if
724 `tramp-message-show-message' is nil.
725 Use `tramp-get-connection-buffer'.
726 (tramp-cleanup): New defun.
727 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
728 (tramp-file-name-handler): If `debug-on-error' is set, propagate
730 (tramp-completion-handle-file-name-all-completions): Handle hops.
731 Fix an error when called from ido.
732 (tramp-completion-dissect-file-name): Use better local variable
733 name. Add hop to the vector.
734 (tramp-handle-insert-file-contents): Use progress-reporter for the
736 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
738 (tramp-check-for-regexp): Simplify search.
739 (tramp-enter-password): Remove it. Move implementation ...
740 (tramp-action-password): ... here.
741 (tramp-mode-string-to-int, tramp-local-host-p)
742 (tramp-make-tramp-temp-file, tramp-read-passwd)
743 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
744 Set tramp-autoload cookie.
746 * net/trampver.el: Update release number.
748 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
749 Michael Albinus <michael.albinus@gmx.de>
751 * net/tramp.el (tramp-set-completion-function): Fix docstring.
752 (tramp-parse-group, tramp-parse-file)
753 (tramp-parse-shostkeys-sknownhosts): New defuns.
754 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
755 (tramp-parse-shosts-group, tramp-parse-sconfig)
756 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
757 (tramp-parse-sknownhosts, tramp-parse-hosts)
758 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
760 (tramp-parse-passwd-group, tramp-parse-netrc-group)
761 (tramp-parse-putty-group): Don't narrow.
762 (tramp-parse-putty): Make a loop.
763 (tramp-file-name-handler): Catch the `suppress' signal.
765 2012-06-11 Chong Yidong <cyd@gnu.org>
767 * image.el (imagemagick-register-types): Put the ImageMagick entry
768 at the end of image-type-file-name-regexps.
770 2012-06-11 Johan Bockgård <bojohan@gnu.org>
772 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
773 (pcase, pcase-let*, pcase-dolist): Use them.
775 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
777 * emacs-lisp/pcase.el (pcase--let*): New function.
778 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
779 (pcase--expand): Use macroexp-let².
781 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
783 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
784 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
785 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
786 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
787 * emacs-lisp/derived.el: Use pcase instead of `cl'.
788 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
790 2012-06-10 Glenn Morris <rgm@gnu.org>
792 * mail/rmail.el (rmail-yank-current-message): Leave point at
793 correct position. (Bug#11660)
795 2012-06-10 Chong Yidong <cyd@gnu.org>
797 * allout-widgets.el: Fix code header.
799 2012-06-10 Chong Yidong <cyd@gnu.org>
801 * cus-edit.el (customize-changed-options-previous-release):
804 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
806 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
808 2012-06-09 Chong Yidong <cyd@gnu.org>
810 * ebuff-menu.el (electric-buffer-list): Preserve header line.
812 2012-06-09 Martin Rudalics <rudalics@gmx.at>
814 * window.el (special-display-popup-frame): Don't use
815 window--display-buffer (Bug#11651).
817 2012-06-09 Eli Zaretskii <eliz@gnu.org>
819 Fix parallel builds: make sure loaddefs.el is not being written
820 while Lisp files are compiled.
821 (compile): Don't depend on 'mh-autoloads'.
822 (compile-CMD, compile-SH): Depend on 'autoloads'.
823 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
825 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
827 2012-06-09 Chong Yidong <cyd@gnu.org>
829 * face-remap.el (face-remap-add-relative, face-remap-set-base)
830 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
831 Doc fixes (Bug#11225).
833 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
835 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
836 a function if there's a clear indication that it has a compiler-macro.
837 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
838 (macro-declarations-alist): Add arglist to declaration functions.
839 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
840 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
841 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
842 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
843 Also add autoload to find the compiler macro.
844 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
845 (cl--compiler-macro-member, cl--compiler-macro-assoc)
846 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
847 (cl--compiler-macro-get): New functions, replacing calls to
848 cl-define-compiler-macro.
849 (cl-typep) [compiler-macro]: Use macroexp-let².
851 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
853 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
854 string properly, fixes Bug#11473.
856 2012-06-08 Chong Yidong <cyd@gnu.org>
858 * faces.el (set-face-attribute): Doc fix.
859 (modify-face): Don't use :bold and :italic.
860 (error, warning, success): Tweak definitions.
862 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
863 (custom-modified, custom-set, custom-changed, custom-themed)
864 (custom-saved, custom-button, custom-button-mouse)
865 (custom-button-pressed, custom-state, custom-comment-tag)
866 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
867 (custom-group-subtitle): Use new-style face specs.
868 (custom-invalid-face, custom-rogue-face, custom-modified-face)
869 (custom-set-face, custom-changed-face, custom-saved-face)
870 (custom-button-face, custom-button-pressed-face)
871 (custom-documentation-face, custom-state-face)
872 (custom-comment-face, custom-comment-tag-face)
873 (custom-variable-tag-face, custom-variable-button-face)
874 (custom-face-tag-face, custom-group-tag-face-1)
875 (custom-group-tag-face): Remove obsolete face alias.
877 * epa.el (epa-validity-high, epa-validity-medium)
878 (epa-validity-low, epa-mark, epa-field-name, epa-string)
879 (epa-field-name, epa-field-body):
880 * font-lock.el (font-lock-comment-face, font-lock-string-face)
881 (font-lock-keyword-face, font-lock-builtin-face)
882 (font-lock-function-name-face, font-lock-variable-name-face)
883 (font-lock-type-face, font-lock-constant-face):
884 * ido.el (ido-first-match, ido-only-match, ido-subdir)
885 (ido-virtual, ido-indicator, ido-incomplete-regexp):
886 * speedbar.el (speedbar-button-face, speedbar-file-face)
887 (speedbar-directory-face, speedbar-tag-face)
888 (speedbar-selected-face, speedbar-highlight-face)
889 (speedbar-separator-face):
890 * whitespace.el (whitespace-newline, whitespace-space)
891 (whitespace-hspace, whitespace-tab, whitespace-trailing)
892 (whitespace-line, whitespace-space-before-tab)
893 (whitespace-space-after-tab, whitespace-indentation)
895 * emulation/cua-base.el (cua-global-mark):
896 * eshell/em-prompt.el (eshell-prompt):
897 * net/newst-plainview.el (newsticker-new-item-face)
898 (newsticker-old-item-face, newsticker-immortal-item-face)
899 (newsticker-obsolete-item-face, newsticker-date-face)
900 (newsticker-statistics-face, newsticker-default-face):
901 * net/newst-reader.el (newsticker-feed-face)
902 (newsticker-extra-face, newsticker-enclosure-face):
903 * net/newst-treeview.el (newsticker-treeview-face)
904 (newsticker-treeview-new-face, newsticker-treeview-old-face)
905 (newsticker-treeview-immortal-face)
906 (newsticker-treeview-obsolete-face)
907 (newsticker-treeview-selection-face):
908 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
909 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
910 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
911 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
912 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
913 (nxml-outline-active-indicator, nxml-outline-ellipsis):
914 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
916 * progmodes/vera-mode.el (vera-font-lock-number)
917 (vera-font-lock-function, vera-font-lock-interface):
918 * textmodes/table.el (table-cell): Use new-style face specs, and
919 don't use the old :bold and :italic attributes.
921 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
922 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
923 (ebrowse-member-class, ebrowse-progress): Likewise.
924 (ebrowse-tree-mark-face, ebrowse-root-class-face)
925 (ebrowse-file-name-face, ebrowse-default-face)
926 (ebrowse-member-attribute-face, ebrowse-member-class-face)
927 (ebrowse-progress-face): Remove obsolete faces.
929 * progmodes/flymake.el (flymake-errline, flymake-warnline):
930 Inherit from error and warning faces respectively.
932 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
934 (flyspell-incorrect-face, flyspell-duplicate-face):
935 Remove obsolete aliases.
937 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
939 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
942 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
944 * startup.el (argv, argi): Make lexically scoped.
945 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
946 * emacs-lisp/cl-macs.el: Use lexical-binding.
947 Rename cl-bind-* to cl--bind-*.
948 * files.el: Don't require `cl' since it doesn't use it.
949 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
951 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
953 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
954 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
955 instead of calling external sort utility.
956 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
958 2012-06-08 Eli Zaretskii <eliz@gnu.org>
960 * descr-text.el (describe-char): Mention how to insert the
961 character, if the current input method doesn't support it.
962 See the discussion in this thread for the details:
963 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
965 2012-06-08 Sam Steingold <sds@gnu.org>
967 * bindings.el (global-map): Bind XF86Forward to next-buffer and
968 XF86Back to previous-buffer.
969 (minibuffer-local-map): Bind them to next-history-element and
970 previous-history-element respectively.
971 * help-mode.el (help-mode-map): Bind them to help-go-forward and
972 help-go-back respectively.
973 * info.el (Info-mode-map): Bind them to Info-history-forward and
974 Info-history-back respectively.
975 These are the keys next to Up on the ThinkPad keyboard.
977 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
979 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
980 * emacs-lisp/cl-macs.el: Provide itself.
981 (cl--labels-convert-cache): New var.
982 (cl--labels-convert): New function.
983 (cl-flet, cl-labels): New implementation with new semantics, relying on
985 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
986 (cl-closure-vars, cl--function-convert-cache)
987 (cl--function-convert): Move from cl-macs.el.
988 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
989 rename by removing the "cl-" prefix.
990 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
992 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
994 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
995 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
996 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
997 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
998 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
999 (cl-hash-table-count): Add old compatibility aliases.
1001 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1002 Use macroexpand-all-environment instead.
1003 (cl--old-macroexpand): New var.
1004 (cl--sm-macroexpand): New function.
1005 (cl-symbol-macrolet): Use it during macro expansion.
1006 (cl--function-convert-cache): New var.
1007 (cl--function-convert): New function, extracted from
1009 (cl-lexical-let): Use it.
1011 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1012 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1013 (cl-member): Remove old alias.
1015 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1016 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1017 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1018 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1019 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1020 (cl-macroexpand-cmacs): Remove var.
1021 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1022 Use macroexpand-all instead.
1024 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1026 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1027 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1028 (macroexp-copyable-p): New functions and macros.
1029 * emacs-lisp/edebug.el (edebug-unwrap):
1030 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1031 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1032 (pcase--let*): Remove.
1033 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1034 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1035 macroexp-const-p instead.
1036 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1038 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1039 instead of "cl-" for internal definitions. Use macroexp-const-p.
1040 (cl-old-bc-file-form): Remove var.
1041 (cl-const-exprs-p): Remove fun.
1042 (cl-labels, cl-macrolet): Use backquote.
1043 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1044 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1045 (cl-define-setf-expander): Rename from cl-define-setf-method.
1046 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1048 * international/mule-cmds.el: Don't require CL.
1049 (view-hello-file): Don't use `letf'.
1051 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1053 * tmm.el (tmm-prompt): Use string-prefix-p.
1054 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1055 (tmm-add-prompt): Use minibuffer-completion-help.
1056 (tmm-delete-map): Remove.
1058 * subr.el (kbd): Make it its own function.
1060 2012-06-07 Stefan Merten <smerten@oekonux.de>
1062 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1063 Silence compiler warnings. Fix versions.
1064 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1065 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1066 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1067 (rst-package-emacs-version-alist): Correct Emacs version to
1068 represent major merge with upstream.
1069 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1071 2012-06-06 Glenn Morris <rgm@gnu.org>
1073 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1074 Only print environment variables if set.
1076 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1078 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1079 (macroexp--cons): Rename from maybe-cons.
1080 (macroexp--accumulate): Rename from macroexp-accumulate.
1081 (macroexp--all-forms): Rename from macroexpand-all-forms.
1082 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1083 (macroexp--expand-all): Rename from macroexpand-all-1.
1085 2012-06-06 Sam Steingold <sds@gnu.org>
1087 * calendar/calendar.el (calendar-in-read-only-buffer):
1088 Call `special-mode' to enable the standard read-only keybindings.
1090 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1092 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1093 with "loading" messages (bug#11635).
1095 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
1097 * files.el (enable-remote-dir-locals): New option.
1098 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1100 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1101 Ensure, that the temp directory is local.
1103 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1104 `temporary-file-directory'.
1106 * progmodes/python.el (python-send-region): Ensure, that the
1107 temporary file is created also in the remote case.
1109 2012-06-06 Glenn Morris <rgm@gnu.org>
1111 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1112 (vc-rcs-update-changelog): Use it.
1114 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1116 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1117 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1118 (vc-sccs-diff): Replace use of the external vcdiff script.
1120 2012-06-05 Glenn Morris <rgm@gnu.org>
1122 * ledit.el: Move to obsolete/.
1124 2012-06-05 Sam Steingold <sds@gnu.org>
1126 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1129 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * emacs-list/cust-print.el: Move to obsolete.
1133 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1134 compiler-macro expansion.
1136 Add native compiler-macro support.
1137 * emacs-lisp/macroexp.el (macroexpand-all-1):
1138 Support compiler-macros directly. Properly follow aliases and apply
1139 the compiler macros more thoroughly.
1140 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1141 macroexpand now properly follows aliases.
1142 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1143 (cl-compiler-macroexpand): Use new prop.
1144 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1146 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1148 2012-06-05 Martin Rudalics <rudalics@gmx.at>
1150 * window.el (get-lru-window, get-mru-window, get-largest-window):
1151 New argument NOT-SELECTED to avoid picking the selected window.
1152 (window--display-buffer-1, window--display-buffer-2): Replace by
1153 new function window--display-buffer
1154 (display-buffer-same-window, display-buffer-reuse-window)
1155 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1156 Use window--display-buffer.
1157 (display-buffer-use-some-window): Remove temporary dedication
1158 hack by calling get-lru-window and get-largest-window with
1159 NOT-SELECTED argument non-nil. Call window--display-buffer.
1161 2012-06-05 Glenn Morris <rgm@gnu.org>
1163 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1164 Replace external vcdiff script.
1166 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1168 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1170 2012-06-04 Chong Yidong <cyd@gnu.org>
1172 * image.el (imagemagick-types-inhibit): Revert last change.
1174 (imagemagick-enabled-types): Remove CIN and EPS*.
1176 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1178 * emacs-lisp/cl-lib.el: Rename from cl.el.
1179 * emacs-lisp/cl.el: New compatibility file.
1180 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1181 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1182 to obey the "cl-" prefix.
1183 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1185 2012-06-03 Glenn Morris <rgm@gnu.org>
1187 * emacs-lisp/authors.el (authors-aliases): Addition.
1189 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1192 2012-06-03 Stefan Merten <smerten@oekonux.de>
1194 * textmodes/rst.el: Add comments.
1195 (rst-transition, rst-adornment): New faces.
1196 (rst-adornment-faces-alist): Make default safe to reevaluate.
1198 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1199 Improve customization tags.
1200 (rst-define-level-faces): Clarify meaning.
1202 2012-06-03 Chong Yidong <cyd@gnu.org>
1204 * progmodes/compile.el (compilation-mode-line-fail)
1205 (compilation-mode-line-run, compilation-mode-line-exit):
1207 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1209 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1211 * progmodes/which-func.el (which-func-update-ediff-windows):
1212 New function. Use it in ediff-select-hook (Bug#11478).
1214 2012-06-03 Chong Yidong <cyd@gnu.org>
1216 * bindings.el: Remove explicit help text from format-mode-line.
1217 It is now supplied by mode-line-default-help-echo.
1218 (mode-line-front-space, mode-line-end-spaces)
1219 (mode-line-misc-info): New variables.
1220 (mode-line-modes, mode-line-position): Move the default value to
1221 the variable definition.
1222 (mode-line-default-help-echo): New defcustom.
1223 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1224 (mode-line-modified-help-echo): New functions.
1225 (mode-line-mule-info, mode-line-modified): Use them.
1226 (mode-line-eol-desc, propertized-buffer-identification):
1227 Consistency fixes for help text.
1228 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1229 set-buffer-file-coding-system (Bug#289).
1230 (mode-line-mule-info-help-echo): Update help text.
1232 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1234 * simple.el (execute-extended-command): Set real-this-command
1237 2012-06-02 Chong Yidong <cyd@gnu.org>
1239 Remove incorrect uses of "modeline" in comments, docstrings, and
1240 function/variable names (Bug#10329).
1242 * cus-edit.el (mode-line):
1243 * dframe.el (dframe-mouse-hscroll):
1244 * emacs-lisp/re-builder.el:
1245 * emacs-lisp/easy-mmode.el (define-minor-mode):
1246 * frame.el (set-frame-name):
1247 * help.el (lookup-minor-mode-from-indicator):
1248 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1249 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1250 (c-toggle-hungry-state):
1251 * progmodes/antlr-mode.el (antlr-language-alist):
1252 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1253 * progmodes/vhdl-mode.el (vhdl-mode):
1254 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1255 * term/ns-win.el (ns-face-at-pos):
1256 * term/sup-mouse.el (sup-mouse-report):
1257 * textmodes/flyspell.el (flyspell-mode-line-string):
1258 * textmodes/ispell.el (ispell-highlight-face):
1259 * textmodes/reftex-global.el:
1260 * vc/vc-arch.el (vc-arch-mode-line-string):
1261 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1262 * vc/vc-git.el (vc-git-mode-line-string):
1263 * vc/vc-hooks.el (vc-display-status)
1264 (vc-default-mode-line-string):
1265 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1267 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1269 * dired.el (dired-sort-set-mode-line): Rename from
1270 dired-sort-set-modeline. All callers changed.
1272 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1273 eshell-status-in-modeline.
1275 * foldout.el (foldout-mode-line-string): Rename from
1276 foldout-modeline-string. All callers changed.
1277 (foldout-update-mode-line): Rename from foldout-update-modeline.
1279 * subr.el (redraw-modeline): Make into obsolete alias.
1281 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1282 timeclock-modeline-display. Make old name an alias.
1283 (timeclock-update-mode-line): Likewise. All callers changed.
1284 (timeclock-mode-line-display): No need to check before using
1286 (timeclock-relative, timeclock-day-over-hook)
1287 (timeclock-use-elapsed, timeclock-mode-string)
1288 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1290 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1291 crisp-mode-modeline-string.
1293 * play/solitaire.el (solitaire-build-mode-line): Rename from
1294 solitaire-build-modeline. All callers changed.
1296 * play/zone.el (zone-hiding-mode-line): Rename from
1297 zone-hiding-modeline. All callers changed.
1298 (zone): Remove unusued `modeline-hidden-level' property.
1300 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1301 xscheme-modeline-initialize. All callers changed.
1303 * strokes.el (strokes-lighter): Rename from
1304 strokes-modeline-string.
1306 * textmodes/sgml-mode.el (html-face-tag-alist)
1307 (html-tag-face-alist): Use mode-line face instead of obsolete
1310 2012-06-02 Stefan Merten <smerten@oekonux.de>
1312 * textmodes/rst.el: Always require `cl'.
1313 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1315 2012-06-02 Chong Yidong <cyd@gnu.org>
1317 * image.el (imagemagick-enabled-types): Rename from
1318 imagemagick-types-enable. Add many more types.
1319 (imagemagick-types-inhibit): Change default to nil.
1320 (imagemagick-filter-types): Caller changed.
1322 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1324 * emacs-lisp/cl-macs.el: Use backquotes.
1325 (cl-transform-function-property): Use eval-and-compile rather than
1327 (defstruct): Use declare-function instead of with-no-warnings.
1329 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1330 (byte-compile-output-docform): Re-add the print-circle bindings.
1331 (byte-compile-fix-header): Use #$ just because it's shorter.
1332 (byte-compile-output-file-form): Remove defun/defmacro.
1334 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1336 * simple.el (choose-completion): Remove now obsolete binding for
1339 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1341 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1342 in order to avoid "Stack overflow in regexp matcher".
1344 2012-05-31 Glenn Morris <rgm@gnu.org>
1346 * image.el: For clarity, call imagemagick-register-types at
1347 top-level, rather than relying on a custom :initialize.
1348 (imagemagick-types-enable): New option. (Bug#11557)
1349 (imagemagick-filter-types): New function. (Bug#7406)
1350 (imagemagick-register-types): Use imagemagick-filter-types.
1351 If disabling support, remove elements altogether rather
1352 than using an impossible regexp.
1353 (imagemagick-types-inhibit): Give it the default init function.
1355 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1358 Handle arbitrary file name lengths (Bug#11585).
1360 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1362 * desktop.el (desktop-read): Clear previous and next buffers for
1363 all windows and bury *Messages* buffer (bug#11556).
1365 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1367 Add `declare' for `defun'. Align `defmacro's with it.
1368 * emacs-lisp/easy-mmode.el (define-minor-mode)
1369 (define-globalized-minor-mode): Don't autoload the var definitions.
1370 * emacs-lisp/byte-run.el: Use lexical-binding.
1371 (defun-declarations-alist, macro-declarations-alist): New vars.
1372 (defmacro, defun): Use them.
1373 (make-obsolete, define-obsolete-function-alias)
1374 (make-obsolete-variable, define-obsolete-variable-alias):
1376 (macro-declaration-function): Mark obsolete.
1377 * emacs-lisp/autoload.el: Use lexical-binding.
1378 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1380 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1382 * textmodes/ispell.el (ispell-with-no-warnings):
1384 (ispell-kill-ispell, ispell-change-dictionary):
1385 Use `called-interactively-p' for Emacs instead of obsolete
1388 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1391 (macro-declaration-function): Move var from C code.
1392 (macro-declaration-function): Define function with defalias.
1393 * emacs-lisp/macroexp.el (macroexpand-all-1):
1394 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1395 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1396 defun/defmacro any more.
1397 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1398 Provide fallback for unknown arglist.
1399 (byte-compile-arglist-warn): Change calling convention.
1400 (byte-compile-output-file-form): Move print-vars binding.
1401 (byte-compile-output-docform): Simplify accordingly.
1402 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1403 (byte-compile-defmacro-declaration): Remove.
1404 (byte-compile-file-form-defmumble): Generalize to defalias.
1405 (byte-compile-output-as-comment): Return byte-positions.
1406 Simplify callers accordingly.
1407 (byte-compile-lambda): Use `assert'.
1408 (byte-compile-defun, byte-compile-defmacro): Remove.
1409 (byte-compile-file-form-defalias):
1410 Use byte-compile-file-form-defmumble.
1411 (byte-compile-defalias-warn): Remove.
1413 2012-05-29 Stefan Merten <smerten@oekonux.de>
1415 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1416 possible. Fix authors. Improve comments. Improve loading of `cl'.
1418 (rst-mode-abbrev-table): Merge definition.
1419 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1420 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1422 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1424 * calendar/icalendar.el
1425 (icalendar-export-region): Export UID properly.
1427 2012-05-29 Leo <sdl.web@gmail.com>
1428 * calendar/icalendar.el (icalendar-import-format):
1429 Add `icalendar-import-format-uid' (Bug#11525).
1430 (icalendar-import-format-uid): New.
1431 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1434 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1436 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1437 different alternative patterns.
1438 (pcase-codegen): Be more careful to preserve identity.
1439 (pcase--u1): Don't forget to mark vars as used.
1441 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1442 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1443 (byte-compile-from-buffer): ...rather than here.
1445 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1446 functions from byte-compile-function-environment.
1448 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1450 * window.el (window-deletable-p): Avoid deleting the root window
1451 of a frame with an active minibuffer.
1453 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1455 * simple.el (choose-completion): Use quit-window (Bug#11567).
1457 2012-05-29 Chong Yidong <cyd@gnu.org>
1459 * whitespace.el (whitespace-cleanup): Fix usage of
1460 whitespace-empty-at-bob-regexp (Bug#11492).
1462 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1464 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1467 2012-05-29 Juri Linkov <juri@jurta.org>
1469 * isearch.el (isearch-mode-map): Bind `M-s _' to
1470 `isearch-toggle-symbol'. Bind `M-s c' to
1471 `isearch-toggle-case-fold'.
1472 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1473 (isearch-forward): Add `M-s _' to the docstring.
1474 (isearch-forward-symbol, isearch-toggle-case-fold)
1475 (isearch-symbol-regexp): New functions. (Bug#11381)
1477 2012-05-29 Juri Linkov <juri@jurta.org>
1479 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1480 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1481 a function, call it to get the regexp.
1482 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1483 property `isearch-message-prefix' instead of the string "word ".
1484 (isearch-search-fun-default): For the case of `isearch-word',
1485 return a lambda that calls re-search-forward/re-search-backward
1486 with a regexp returned by `word-search-regexp' or by the function
1489 2012-05-29 Juri Linkov <juri@jurta.org>
1491 * isearch.el (isearch-search-fun-default): New function.
1492 (isearch-search-fun): Move default part to the new function
1493 `isearch-search-fun-default'.
1494 (isearch-search-fun-function): Set the default value to
1495 `isearch-search-fun-default'. (Bug#11381)
1497 * comint.el (comint-history-isearch-end):
1498 Use `isearch-search-fun-default'.
1499 (comint-history-isearch-search): Use `isearch-search-fun-default'
1500 and remove spacial case for `isearch-word'.
1501 (comint-history-isearch-wrap): Remove spacial case for
1504 * hexl.el (hexl-isearch-search-function):
1505 Use `isearch-search-fun-default'.
1507 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1508 Use `word-search-regexp' for `isearch-word'.
1510 * misearch.el (multi-isearch-search-fun):
1511 Use `isearch-search-fun-default'.
1513 * simple.el (minibuffer-history-isearch-search):
1514 Use `isearch-search-fun-default' and remove spacial case for
1516 (minibuffer-history-isearch-wrap): Remove spacial case for
1519 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1520 Remove spacial case for `isearch-word'.
1521 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1523 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1525 Decrease XEmacs incompatibilities.
1526 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1528 (flyspell-delete-region-overlays): Use alternative definition for
1530 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1531 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1532 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1533 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1534 `define-obsolete-face-alias' under XEmacs, but old method.
1536 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1537 `with-no-warnings' definition or Emacs alias.
1538 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1539 (ispell-word): Do not use `region-p' if XEmacs.
1541 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1543 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1544 Check for `ispell-dictionary-base-alist' instead of full
1545 `ispell-dictionary-alist'.
1546 (ispell-init-process): Show spellchecker when starting new Ispell
1549 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1551 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1552 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1554 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1556 * version.el (motif-version-string, gtk-version-string)
1557 (ns-version-string): Declare.
1559 2012-05-27 Juri Linkov <juri@jurta.org>
1561 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1562 after the `eval-defun-1' specialcaseing
1563 like in `edebug-eval-defun' (bug#10181).
1565 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1566 like in `eval-defun-1'.
1568 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1570 * mail/sendmail.el (mail-yank-region):
1571 Recognize rmail-yank-current-message in addition to insert-buffer.
1572 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1573 a *mail* buffer created through rmail-start-mail with sendmail as
1576 2012-05-27 Chong Yidong <cyd@gnu.org>
1578 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1579 Default to 256 (Bug#11267).
1581 * help.el (describe-mode): Doc fix.
1583 2012-05-26 Glenn Morris <rgm@gnu.org>
1585 * w32-fns.el (w32-init-info): Remove.
1586 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1588 * info.el (info-initialize): For self-contained NS builds, put the
1589 included info/ directory at the front. (Bug#2791)
1591 * paths.el (Info-default-directory-list): Make it a defcustom,
1592 mainly so that we can use custom-initialize-delay.
1594 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1596 * subr.el (buffer-has-markers-at): Mark obsolete.
1598 * subr.el (lambda): Use declare.
1600 * emacs-lisp/lisp-mode.el (lambda):
1601 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1603 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1605 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1607 2012-05-26 Glenn Morris <rgm@gnu.org>
1609 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1611 2012-05-25 Glenn Morris <rgm@gnu.org>
1613 * paths.el: Remove no-byte-compile.
1614 * loadup.el: No need to load paths.el uncompiled.
1616 * image.el (imagemagick-types-inhibit): Doc fix.
1618 * version.el: Remove no-byte-compile and associated formatting.
1619 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1620 is ancient code from when there was an "inc-vers.el".
1622 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1624 * progmodes/gdb-mi.el: Minor style changes.
1625 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1626 Turn into minor modes.
1627 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1628 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1629 (gdb-shell): Remove unneeded let-binding.
1630 (gdb-get-many-fields): Eliminate O(n²) behavior.
1632 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1634 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1635 platforms that don't link in fontset.c.
1637 2012-05-25 Juri Linkov <juri@jurta.org>
1639 Use the same diff color scheme as in modern VCSes (bug#10181).
1641 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1642 to avoid confusion with `diff-added' that now uses green colors.
1643 (diff-removed): Use shades of red.
1644 (diff-added): Use shades of green.
1645 (diff-changed): Leave just the yellow color.
1646 (diff-use-changed-face): New variable.
1647 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1648 how to highlight context diff changes.
1649 (diff-refine-change): Use shades of yellow.
1650 (diff-refine-removed): New face that uses shades of red.
1651 (diff-refine-added): New face that uses shades of green.
1652 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1653 `diff-refine-removed' in the call to `smerge-refine-subst'
1654 depending on the value of `diff-use-changed-face'.
1656 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1657 (smerge-other): Use shades of green.
1658 (smerge-base): Use shades of yellow.
1659 (smerge-refined-change): Empty face.
1660 (smerge-refined-removed): New face that uses shades of red.
1661 (smerge-refined-added): New face that uses shades of green.
1662 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1663 args `props-r' and `props-a', and use them. Doc fix.
1664 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1665 on its value use different faces `smerge-refined-change',
1666 `smerge-refined-removed', `smerge-refined-added' in the call to
1667 `smerge-refine-subst'.
1669 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1670 Add face condition `min-colors 88' with shades of red.
1671 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1672 `min-colors 88' with shades of green.
1673 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1674 `min-colors 88' with shades of yellow.
1676 2012-05-24 Glenn Morris <rgm@gnu.org>
1678 * paths.el (prune-directory-list, remote-shell-program): Move to...
1679 * files.el (prune-directory-list, remote-shell-program): ...here.
1680 For the latter, delay initialization, prefer ssh, just search PATH.
1682 * paths.el (term-file-prefix): Move to faces.el (the only user).
1683 * faces.el (term-file-prefix): Move here, make it a defcustom.
1685 * paths.el (news-directory, news-path, news-inews-program):
1686 Move to gnus/nnspool.el.
1688 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1690 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1691 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1692 Make the latter a defcustom, with a delayed initialization.
1694 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1695 These were deleted from Gnus itself late 2010.
1697 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1699 * progmodes/which-func.el (which-func-ff-hook):
1700 Check against user-error, not error.
1702 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1703 cl-specs.el, which no longer exists.
1705 2012-05-22 Glenn Morris <rgm@gnu.org>
1707 * info.el (info-emacs-bug): New command.
1708 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1709 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1711 2012-05-21 Glenn Morris <rgm@gnu.org>
1713 * makefile.w32-in (update-subdirs-SH):
1714 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1716 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1718 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1720 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1721 Simplify Maven regexp, and make sure the file can't start with a space
1724 2012-05-21 Glenn Morris <rgm@gnu.org>
1726 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1727 Scrap superfluous subshells.
1729 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1731 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1732 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1734 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1736 * calc/calc.el (calc-ensure-consistent-units): New variable.
1738 * calc/calc-units.el (math-consistent-units-p)
1739 (math-check-unit-consistency): New functions.
1740 (calc-quick-units, calc-convert-units):
1741 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1743 (calc-extract-units): Fix typo.
1745 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1747 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1749 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1750 (flyspell-default-deplacement-commands): Don't spell check after
1751 repeated window/frame switches (e.g. triggered by mouse-movement).
1752 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1753 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1754 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1755 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1757 (flyspell-get-casechars, flyspell-get-not-casechars):
1758 Simplify; Don't bother removing a ] just to add it back.
1759 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1761 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1763 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1765 (math-function-table): Add support for more C functions.
1767 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1769 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1770 (flyspell-debug-signal-word-checked): Protect delay handling for
1771 otherchars against empty otherchars.
1773 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1776 their respective macro declarations.
1777 * skeleton.el (define-skeleton):
1778 * progmodes/compile.el (define-compilation-mode):
1779 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1780 (define-ibuffer-filter):
1781 * emacs-lisp/generic.el (define-generic-mode):
1782 * emacs-lisp/easy-mmode.el (define-minor-mode)
1783 (define-globalized-minor-mode):
1784 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1785 * emacs-lisp/byte-run.el (defsubst):
1786 * custom.el (deftheme): Add doc-string metadata.
1788 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1790 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1792 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1794 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1796 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1797 * emacs-lisp/cl-macs.el: Idem.
1798 * emacs-lisp/cl-specs.el: Remove.
1800 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1802 Minor renaming of internal CL functions and variables.
1803 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1804 (cl--position): Rename from cl-position.
1805 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1806 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1807 (cl--random-state): Rename from *random-state*.
1809 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1812 parens around the arg list (bug#11499).
1814 2012-05-17 Juri Linkov <juri@jurta.org>
1816 * isearch.el (word-search-regexp, word-search-backward)
1817 (word-search-forward, word-search-backward-lax)
1818 (word-search-forward-lax): Move functions from search.c
1819 (bug#10145, bug#11381).
1821 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1823 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1824 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1825 normal word components.
1827 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1829 * minibuffer.el (completion--sifn-requote): Fix last change.
1830 (minibuffer-local-must-match-filename-map):
1831 Move define-obsolete-variable-alias before its var.
1833 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1835 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1837 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1839 (completion--string-equal-p): New function.
1840 (completion--twq-all): Use it to get better assertion failure data.
1842 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1843 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1844 (shell--requote-argument): New functions.
1845 (shell-completion-vars): Use them.
1846 (shell--parse-pcomplete-arguments): Rename from
1847 shell-parse-pcomplete-arguments.
1848 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1849 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1850 Obey comint-file-name-quote-list.
1852 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1853 (smie-indent-keyword): Use it.
1855 2012-05-14 Stefan Merten <smerten@oekonux.de>
1857 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1859 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1861 * net/rlogin.el (rlogin-mode-map): Fix last change.
1863 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1865 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1866 the following \r\n using a single `process-send-string', since the
1867 Lotus SMTP server refuses to accept any commands if they are sent
1868 with two `process-send-string's (Bug#11444).
1870 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1872 * shell.el (shell-parse-pcomplete-arguments):
1873 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1875 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1877 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1878 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1879 (image-transform-width, image-transform-fit-width): New functions.
1880 (image-transform-properties): Use them.
1881 (image-transform-check-size): New function.
1882 (image-toggle-display-image): Use it (for testing).
1883 (image-transform-set-rotation): Reduce angle mod 360.
1884 Delete obsolete comment.
1886 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1888 * image-mode.el: Fix scaling (bug#11399).
1889 (image-transform-resize): Doc fix.
1890 (image-transform-properties): Default scale is 1 and height should
1893 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1895 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1896 than hard-coding `car', to fix misbehavior when moving forward.
1898 2012-05-13 Chong Yidong <cyd@gnu.org>
1900 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1901 (tabulated-list-entries, tabulated-list-padding)
1902 (tabulated-list-sort-key): Make permanent-local.
1904 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1905 (electric-buffer-list): Put electric buffer menu
1906 command descriptions in this docstring, instead of the docstring
1907 of electric-buffer-menu-mode. Code cleanups.
1908 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1909 Electric-buffer-menu-mode.
1910 (electric-buffer-update-highlight): Minor code cleanup.
1912 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1914 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1917 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1919 Move define-obsolete-variable-alias before the var's definition.
1920 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1921 * tooltip.el (tooltip-hook):
1922 * textmodes/reftex-toc.el (reftex-toc-map):
1923 * textmodes/reftex-sel.el (reftex-select-label-map)
1924 (reftex-select-bib-map):
1925 * textmodes/reftex-index.el (reftex-index-map)
1926 (reftex-index-phrases-map):
1927 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1928 * progmodes/meta-mode.el (meta-mode-map):
1929 * novice.el (disabled-command-hook):
1930 * loadhist.el (unload-hook-features-list):
1931 * frame.el (blink-cursor):
1932 * files.el (find-file-not-found-hooks, write-file-hooks)
1933 (write-contents-hooks):
1934 * emulation/tpu-edt.el (GOLD-map):
1935 * emacs-lock.el (emacs-lock-from-exiting):
1936 * emacs-lisp/generic.el (generic-font-lock-defaults):
1937 * emacs-lisp/chart.el (chart-map):
1938 * dos-fns.el (register-name-alist):
1939 * dired-x.el (dired-omit-files-p):
1940 * desktop.el (desktop-enable):
1941 * cus-edit.el (custom-mode-hook):
1942 * buff-menu.el (buffer-menu-mode-hook):
1943 * bookmark.el (bookmark-read-annotation-text-func)
1944 (bookmark-exit-hooks):
1945 * allout.el (allout-mode-deactivate-hook)
1946 (allout-exposure-change-hook, allout-structure-added-hook)
1947 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1948 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1949 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1950 comes before the corresponding variable's definition.
1952 2012-05-12 Chong Yidong <cyd@gnu.org>
1954 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1955 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1956 (Buffer-menu-mode-map): Bind it.
1957 (Buffer-menu--pretty-name): Add a mouse-face property.
1959 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1961 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1962 (prolog-upper-case-string, prolog-lower-case-string)
1963 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1964 (prolog-use-smie, prolog-smie-grammar): New vars.
1965 (prolog-smie-forward-token, prolog-smie-backward-token)
1966 (prolog-smie-rules): New funs.
1967 (prolog-comment-indent): Remove.
1968 (prolog-mode-variables): Use default comment indentation instead.
1970 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1971 (prolog-mode): Don't call them any more.
1972 (prolog-electric-colon, prolog-electric-dash)
1973 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1975 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1977 * minibuffer.el (completion--twq-all): Again, allow case differences.
1979 * term.el: Move keymap initialization code to be more idiomatic.
1980 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1981 (term-terminal-menu): Move initialization into declaration.
1982 (term-escape-char): Let the user set it in her .emacs.
1984 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1985 Provide SMIE-based indentation (not enabled by default yet).
1986 (sh-mode-map): Don't bind electric keys.
1987 Use electric-pair-mode instead of skeleton-pair.
1988 (sh-assignment-regexp): Fit within 80 columns.
1989 (sh-indent-supported): Specify actual shell name instead of boolean.
1990 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1991 (sh-maybe-here-document): Use it. Make obsolete.
1992 (sh-electric-here-document-mode) New minor mode.
1993 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1994 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1995 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1996 (sh-smie-rc-grammar, sh-use-smie): New vars.
1997 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1998 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1999 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2000 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2001 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2002 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2003 (sh-set-shell): Use smie-setup if requested.
2005 * term.el (term-set-escape-char): Properly set term-escape-char.
2006 See http://stackoverflow.com/questions/10524656.
2008 2012-05-10 Chong Yidong <cyd@gnu.org>
2010 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2011 Use url-generic-parse-url, and handle host names and Windows
2013 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2014 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2015 URL schemes to work on.
2016 (ffap--toggle-read-only): New function.
2017 (ffap-read-only, ffap-read-only-other-window)
2018 (ffap-read-only-other-frame): Use it.
2019 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2020 necessary for ffap-url-unwrap-remote.
2022 2012-05-10 Dave Abrahams <dave@boostpro.com>
2024 * cus-start.el (create-lockfiles): Add it.
2026 2012-05-09 Chong Yidong <cyd@gnu.org>
2028 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2029 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2031 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2035 2012-05-09 Chong Yidong <cyd@gnu.org>
2037 * ansi-color.el (ansi-color-process-output): Check for validity of
2038 comint-last-output-start before using it. This avoids a bad
2039 interaction with gdb-mi's input/output buffer.
2041 2012-05-09 Glenn Morris <rgm@gnu.org>
2043 * files.el (dir-locals-read-from-file):
2044 Mention dir-locals in any error message.
2046 2012-05-09 Chong Yidong <cyd@gnu.org>
2048 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2049 package (Bug#11410).
2051 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2052 variables into description.
2054 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2056 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2057 shell-delimiter-argument-list (bug#11348).
2058 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2060 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2062 * textmodes/rst.el: Silence byte-compiler warnings.
2063 (rst-re-alist, rst-reset-section-caches): Move around.
2064 (rst-re): Use `characterp', not `char-valid-p'.
2065 (font-lock-beg, font-lock-end): Declare.
2067 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2068 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2070 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2072 2012-05-08 Glenn Morris <rgm@gnu.org>
2074 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2076 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2078 * vc/log-edit.el: Add GNU coding standards highlighting.
2079 (log-edit-font-lock-gnu-style)
2080 (log-edit-font-lock-gnu-keywords): New vars.
2081 (log-edit-font-lock-keywords): New fun.
2082 (log-edit-mode): Don't fold case in font-lock.
2083 (log-edit-font-lock-keywords): Do not assume case-folding.
2085 * imenu.el: Misc cleanup. Make docstrings out of comments.
2086 Use lexical-binding.
2087 (imenu--index-alist, imenu--last-menubar-index-alist)
2088 (imenu-menubar-modified-tick): Use defvar-local.
2089 (imenu--split-menu): Remove unused var.
2090 (imenu--cleanup-seen): Declare as global.
2091 (imenu--cleanup): Use dolist.
2093 * subr.el (defvar-local): Add debug spec and doc-string position.
2095 2012-05-08 Glenn Morris <rgm@gnu.org>
2097 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2098 * language/english.el, language/georgian.el, language/greek.el:
2099 * language/japanese.el, language/khmer.el, language/korean.el:
2100 * language/lao.el, language/misc-lang.el, language/romanian.el:
2101 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2102 * language/thai.el, language/utf-8-lang.el:
2103 Remove no-byte-compile setting.
2105 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2107 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2109 * progmodes/make-mode.el (makefile-browse):
2110 Remove unnecessary interactive. (Bug#11324)
2112 2012-05-07 Glenn Morris <rgm@gnu.org>
2114 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2116 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2118 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2120 * loadup.el: Preload newcomment.el.
2121 * newcomment.el: Move autoload-only code to toplevel.
2123 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2124 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2125 Handle new :right-align column property.
2126 (tabulated-list-print-col): Idem, plus use `display' text-property to
2127 try and preserve alignment for variable pitch fonts.
2129 2012-05-07 Chong Yidong <cyd@gnu.org>
2131 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2132 (tabulated-list-use-header-line): New var.
2133 (tabulated-list-init-header): Use it.
2134 (tabulated-list-print-fake-header): New function.
2135 (tabulated-list-print): Use it.
2136 (tabulated-list-sort-button-map): Add non-header-line commands.
2137 (tabulated-list-init-header): Add column name property to basic
2139 (tabulated-list-col-sort): Handle non-header-line button case.
2140 (tabulated-list--sort-by-column-name): Fix a corner case.
2142 * buff-menu.el (list-buffers--refresh):
2143 Handle Buffer-menu-use-header-line.
2145 2012-05-06 Chong Yidong <cyd@gnu.org>
2147 * buff-menu.el: Convert to Tabulated List mode.
2148 (Buffer-menu-buffer+size-width): Make obsolete.
2149 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2150 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2151 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2152 documentation into docstring of buffer-menu.
2153 (Buffer-menu-toggle-files-only): Add an informative message.
2154 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2155 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2156 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2157 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2158 (Buffer-menu-execute, Buffer-menu-select)
2159 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2160 (Buffer-menu-bury): Use Tabulated List machinery.
2161 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2162 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2164 (list-buffers--refresh): New function.
2165 (list-buffers-noselect): Use it.
2166 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2167 (Buffer-menu--pretty-file-name): New helper functions.
2169 * loadup.el: Preload tabulated-list.
2171 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2172 tabulated-list-sort-column.
2173 (tabulated-list-init-header): Add the initial aligning space even
2174 if tabulated-list-padding is zero.
2176 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2178 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2179 whose cdr is not a cons cell correctly (bug#11038).
2181 2012-05-06 Chong Yidong <cyd@gnu.org>
2183 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2184 Accept additional plist in column descriptors.
2185 (tabulated-list-init-header): Obey it.
2186 (tabulated-list-get-entry): New function.
2187 (tabulated-list-put-tag): Use it. Use string-width instead of
2189 (tabulated-list--column-number): New function.
2190 (tabulated-list-print): Use it.
2191 (tabulated-list-print-col): New function.
2192 Set `tabulated-list-column-name' property on each column's text.
2193 (tabulated-list-print-entry): Use it.
2194 (tabulated-list-delete-entry, tabulated-list-set-col):
2196 (tabulated-list-sort-column): New command (Bug#11337).
2198 * buff-menu.el (list-buffers): Move C-x C-b binding from
2199 buff-menu.el to bindings.el.
2201 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2202 :advertised-binding feature.
2204 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2206 * progmodes/compile.el (compilation-internal-error-properties):
2207 Calculate start position correctly when end-col is set but
2208 end-line is not (Bug#11382).
2210 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2212 * man.el (Man-unindent): Use text-property-default-nonsticky to
2213 prevent untabify from inheriting face properties (Bug#11408).
2215 2012-05-05 Stefan Merten <smerten@oekonux.de>
2217 * textmodes/rst.el: Major merge with upstream development up to
2218 Docutils SVN r7399 / rst.el V1.2.1.
2220 Clarify maintainership and authors.
2222 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2223 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2224 (rst-official-version, rst-official-cvs-rev, rst-version)
2225 (rst-package-emacs-version-alist): New functions and variables
2226 for version information.
2228 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2229 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2230 (rst-mode-syntax-table, rst-mode): New and corrected functions
2231 and variables representing reStructuredText features.
2233 (rst-re): New function for reStructuredText regexes. Use in
2236 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2237 (rst-mode-map): Rebind keys.
2239 (rst-mode-lazy, rst-font-lock-keywords)
2240 (rst-font-lock-extend-region)
2241 (rst-font-lock-extend-region-internal)
2242 (rst-font-lock-extend-region-extend)
2243 (rst-font-lock-find-unindented-line-limit)
2244 (rst-font-lock-find-unindented-line-match)
2245 (rst-adornment-level, rst-font-lock-adornment-level)
2246 (rst-font-lock-adornment-match)
2247 (rst-font-lock-handle-adornment-pre-match-form)
2248 (rst-font-lock-handle-adornment-matcher): Major revision of
2249 font-locking. Integrate with other code. Use `jit-lock-mode'.
2251 (rst-preferred-adornments, rst-adjust-hook)
2252 (rst-new-adornment-down, rst-preferred-bullets)
2253 (rst-preferred-bullets, rst-indent, rst-indent-width)
2254 (rst-indent-field, rst-indent-literal-normal)
2255 (rst-indent-literal-minimized, rst-indent-comment): Change,
2256 extend and improve customization.
2258 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2259 (rst-normalize-cursor-position, rst-get-decoration)
2260 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2261 (rst-rstrip, rst-toc-insert-find-delete-contents)
2262 (rst-shift-fill-region, rst-compute-bullet-tabs)
2263 (rst-debug-print-tabs, rst-debug-mark-found)
2264 (rst-shift-region-guts, rst-shift-region-right)
2265 (rst-shift-region-left, rst-use-char-classes)
2266 (rst-font-lock-keywords-function)
2267 (rst-font-lock-indentation-point)
2268 (rst-font-lock-find-unindented-line-begin)
2269 (rst-font-lock-find-unindented-line-end)
2270 (rst-font-lock-find-unindented-line)
2271 (rst-font-lock-adornment-point, rst-font-lock-level)
2272 (rst-adornment-level-alist): Remove functions and variables.
2274 (rst-compare-adornments, rst-get-adornment-match)
2275 (rst-suggest-new-adornment, rst-get-adornments-around)
2276 (rst-adornment-complete-p, rst-get-next-adornment)
2277 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2278 (rst-straighten-adornments): Standardize function names to
2279 use "adornment" instead of "decoration". Correct callers.
2280 Similar standardizing in many places.
2282 (rst-update-section, rst-adjust, rst-promote-region)
2283 (rst-enumerate-region, rst-bullet-list-region)
2284 (rst-repeat-last-character): Correct use of `interactive'.
2286 (rst-classify-adornment, rst-find-all-adornments)
2287 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2288 (rst-find-leftmost-column, rst-repeat-last-character):
2291 (rst-find-title-line, rst-reset-section-caches)
2292 (rst-get-adornments-around, rst-adjust-adornment-work)
2293 (rst-arabic-to-roman, rst-roman-to-arabic)
2294 (rst-insert-list-pos, rst-insert-list-new-item)
2295 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2298 (rst-all-sections, rst-section-hierarchy)
2299 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2302 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2303 configuration instead of only buffer. Change where necessary.
2305 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2306 (rst-shift-region, rst-adaptive-fill): New functions for
2307 indentation and filling.
2309 (rst-comment-line-break, rst-comment-indent)
2310 (rst-comment-insert-comment, rst-comment-region)
2311 (rst-uncomment-region): New functions for handling comments.
2313 (rst-compile): Quote shell arguments.
2315 (rst-compile-pdf-preview, rst-compile-slides-preview):
2316 Delete temporary files after use.
2318 2012-05-05 Glenn Morris <rgm@gnu.org>
2320 * calendar/cal-html.el: Optionally include holidays in the output.
2321 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2322 (cal-html-holidays): New option.
2323 (cal-html-css-default): Add holiday entry.
2324 (holiday-in-range): Autoload it.
2325 (cal-html-htmlify-entry): Add optional class argument.
2326 (cal-html-htmlify-list): Add optional holidays argument.
2327 (cal-html-insert-agenda-days): Include holidays in the output.
2328 (cal-html-one-month): Maybe include holidays.
2330 * calendar/holidays.el (holiday-in-range):
2331 Move here from cal-tex-list-holidays.
2332 * calendar/cal-tex.el (cal-tex-list-holidays):
2333 Make it an obsolete alias for holiday-in-range. Update all callers.
2335 2012-05-05 Chong Yidong <cyd@gnu.org>
2337 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2340 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2342 * files.el (file-auto-mode-skip): New var.
2343 (set-auto-mode-1): Use it.
2345 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2347 * repeat.el: Use lexical-binding.
2348 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2349 (repeat-undo-count): Remove.
2351 * progmodes/octave-mod.el (octave-abbrev-start):
2352 * progmodes/f90.el (f90-abbrev-start):
2353 * face-remap.el (text-scale-adjust):
2354 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2356 * emacs-lisp/pcase.el (pcase--let*): New function.
2357 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2359 (pcase--split-pred): Be more clever about ruling out overlap between
2360 a predicate and some constant pattern.
2361 (pcase--q1): Use `null' instead of (eq foo nil).
2363 * subr.el (setq-local, defvar-local): New macros.
2364 (kbd): Redefine as an alias.
2365 (with-selected-window): Leave unrelated frames alone.
2366 (set-temporary-overlay-map): New function.
2368 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2370 * subr.el (user-error): New function.
2371 * window.el (switch-to-buffer):
2372 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2373 (smerge-match-conflict):
2374 * simple.el (previous-matching-history-element)
2375 (next-matching-history-element, goto-history-element, undo-more)
2377 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2378 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2379 (next-file, tags-loop-scan, list-tags, complete-tag):
2380 * progmodes/compile.el (compilation-loop):
2381 * mouse.el (mouse-minibuffer-check):
2382 * man.el (Man-bgproc-sentinel, Man-goto-page):
2383 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2384 (Info-history-forward, Info-follow-reference, Info-menu)
2385 (Info-extract-menu-item, Info-extract-menu-counting)
2386 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2387 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2388 (Info-next-reference, Info-prev-reference, Info-index)
2389 (Info-index-next, Info-follow-nearest-node)
2390 (Info-copy-current-node-name):
2391 * imenu.el (imenu--make-index-alist)
2392 (imenu-default-create-index-function, imenu-add-to-menubar):
2393 * files.el (basic-save-buffer, recover-file):
2394 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2395 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2396 (checkdoc-message-text, checkdoc-defun):
2397 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2398 * cus-edit.el (customize-changed-options, customize-rogue)
2399 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2400 (custom-variable-mark-to-reset-standard)
2401 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2403 * completion.el (check-completion-length):
2404 * comint.el (comint-search-arg)
2405 (comint-previous-matching-input-string-position)
2406 (comint-previous-matching-input)
2407 (comint-replace-by-expanded-history-before-point, comint-send-input)
2408 (comint-copy-old-input, comint-backward-matching-input)
2409 (comint-goto-process-mark, comint-set-process-mark):
2410 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2411 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2413 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2415 * dabbrev.el (dabbrev--ignore-case-p): New function.
2416 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2419 * files.el (automount-dir-prefix): Mark as obsolete.
2421 2012-05-04 Glenn Morris <rgm@gnu.org>
2423 * patcomp.el, play/bruce.el: Move to obsolete/.
2425 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2427 Fix minor Y10k bugs.
2428 * arc-mode.el (archive-unixdate):
2429 * autoinsert.el (auto-insert-alist):
2430 * calc/calc-forms.el (math-this-year):
2431 * emacs-lisp/copyright.el (copyright-current-year)
2432 (copyright-update-year, copyright):
2433 * tar-mode.el (tar-clip-time-string):
2434 * time.el (display-time-update):
2435 Don't assume years have 4 digits.
2437 2012-05-04 Chong Yidong <cyd@gnu.org>
2439 * dos-w32.el (file-name-buffer-file-type-alist)
2440 (direct-print-region-use-command-dot-com):
2441 * ffap.el (ffap-menu-regexp):
2442 * find-file.el (ff-special-constructs):
2443 * follow.el (follow-debug):
2444 * forms.el (forms--debug):
2445 * iswitchb.el (iswitchb-all-frames):
2446 * ido.el (ido-all-frames):
2447 * emacs-lisp/timer.el (timer-max-repeats):
2448 * mail/feedmail.el (feedmail-mail-send-hook)
2449 (feedmail-mail-send-hook-queued):
2450 * mail/footnote.el (footnote-signature-separator):
2451 * mail/mailabbrev.el (mail-alias-separator-string)
2452 (mail-abbrev-mode-regexp):
2453 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2454 * progmodes/idlwave.el (idlwave-libinfo-file)
2455 (idlwave-default-completion-case-is-down)
2456 (idlwave-library-routines): Convert defvars to defcustoms.
2458 * mail/rmail.el (rmail-decode-mime-charset):
2459 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2460 (idlwave-shell-fix-inserted-breaks)
2461 (idlwave-shell-activate-alt-keybindings)
2462 (idlwave-shell-use-breakpoint-glyph):
2463 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2465 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2469 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2471 * progmodes/verilog-mode.el (font-lock-keywords):
2472 Fix mis-highligting auto. Reported by Craig Barner.
2473 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2474 defines from global name space. Reported by Dan Dever.
2475 (verilog-auto-reset, verilog-auto-reset-widths)
2476 (verilog-auto-tieoff): Support using unbased numbers for
2477 AUTORESET and AUTOTIEOFF.
2478 (verilog-submit-bug-report): Update variable list.
2479 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2480 parenthesis from not matching. Reported by Michael Rytting.
2481 (verilog-auto-template-lint): Fix hash error when linting modules
2482 with no used templates.
2483 (verilog-warn, verilog-warn-error)
2484 (verilog-warn-fatal): When non-interactive report multiple
2485 warnings before exiting. Suggested by Brad Dobbie.
2486 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2487 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2488 to report unused template errors. Reported by Brad Dobbie.
2489 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2490 nets, bug438. Reported by Vns Blore.
2491 (verilog-auto-inout-module, verilog-auto-reg)
2492 (verilog-read-decls, verilog-read-sub-decls-sig)
2493 (verilog-signals-edit-wire-reg, verilog-signals-with):
2494 Fix passing of Verilog data types in ANSI input/output ports
2495 such as "output logic" into the AUTOs. Special case "wire" and
2496 "reg" for backwards compatibility presuming Verilog 2001.
2497 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2498 (verilog-preprocess): Fix replication of preprocess output.
2499 Reported by Brad Dobbie.
2500 (verilog-auto-inst-interfaced-ports):
2501 Create verilog-auto-inst-interfaced-ports, bug429.
2502 Reported by Julian Gorfajn.
2503 (verilog-after-save-font-hook)
2504 (verilog-before-save-font-hook): New variable.
2505 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2506 (verilog-save-font-mods): Wrap disabling fontification, reported
2508 (verilog-do-indent, verilog-pretty-declarations-auto)
2509 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2510 Reported by Pierre-David Pfister.
2511 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2512 of class declarations, bug292. Reported by Kevin Heilman.
2513 (verilog-read-decls): Fix 'parameter type' not appearing in
2514 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2515 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2516 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2517 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2518 Reported by David Kravitz.
2520 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2522 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2523 assignment with tests in ifs and for loops.
2524 (verilog-extended-complete-re, verilog-complete-reg): Change so
2525 that DPI inport functions don't look like fuction declarations.
2526 (verilog-pretty-expr): Don't line up assignment
2527 operations to the test and increment in if and for loops
2528 (verilog-extended-complete-re, verilog-complete-reg): Change so
2529 that DPI inport functions don't look like fuction declarations
2531 2012-05-03 Kenichi Handa <handa@m17n.org>
2533 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2534 decoding, and show a warning message without signaling an error
2537 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2539 * emacs-lisp/bytecomp.el
2540 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2541 since cconv.el might have introduced :fun-body, internal-make-closure,
2542 and friends for bytecomp to handle (bug#11391).
2543 * custom.el (defcustom): Avoid ((λ ..) ..).
2545 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2547 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2549 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2551 * notifications.el (dbus-debug):
2552 * term/linux.el (gpm-mouse-enable):
2553 * term/screen.el (xterm-register-default-colors): Declare.
2555 2012-05-02 Chong Yidong <cyd@gnu.org>
2557 * cus-start.el (gc-cons-percentage, exec-suffixes)
2558 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2559 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2560 (make-cursor-line-fully-visible, void-text-area-pointer)
2561 (font-list-limit): Add customization data.
2563 * allout.el (allout-exposure-change-functions)
2564 (allout-structure-added-functions)
2565 (allout-structure-deleted-functions)
2566 (allout-structure-shifted-functions): Rename abnormal hooks from
2567 *-hook, and convert to defcustoms.
2568 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2569 Convert to defcustoms.
2570 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2572 * allout-widgets.el: Hook callers changed.
2574 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2576 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2577 the yanked message in preference to the default value of
2578 buffer-file-coding-system.
2580 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2582 * window.el (display-buffer--action-function-custom-type):
2585 2012-05-02 Alan Mackenzie <acm@muc.de>
2587 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2589 2012-05-01 Glenn Morris <rgm@gnu.org>
2591 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2593 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2595 * cus-edit.el (custom-variable-documentation): Simplify with format.
2597 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2598 Stefan Monnier <monnier@iro.umontreal.ca>
2600 * simple.el (suggest-key-bindings, execute-extended-command):
2601 Move from keyboard.c.
2603 2012-05-01 Chong Yidong <cyd@gnu.org>
2605 * follow.el: Eliminate advice.
2606 (set-process-filter, process-filter, sit-for): Advice deleted.
2607 (follow-mode-off-hook): Obsolete hook removed.
2608 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2610 (follow-auto): Use a :set function.
2611 (follow-mode): Rewritten. Don't advise process filters.
2612 (follow-switch-to-current-buffer-all, follow-scroll-up)
2613 (follow-scroll-down): Assume follow-mode is bound.
2614 (follow-comint-scroll-to-bottom)
2615 (follow-align-compilation-windows): New functions.
2616 (follow--window-sorter): New function.
2617 (follow-all-followers): Use it to explicitly sort windows by their
2618 positions; don't make assumptions about next-window order.
2619 (follow-windows-start-end, follow-delete-other-windows-and-split)
2620 (follow-calc-win-start): Doc fix.
2621 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2622 vertical-motion unnecessarily.
2623 (follow-adjust-window): New function.
2624 (follow-post-command-hook): Use it.
2625 (follow-call-set-process-filter, follow-call-process-filter)
2626 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2627 (follow-stop-intercept-process-output, follow-generic-filter):
2629 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2630 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2631 New functions, replacing advice on scroll-bar-* commands.
2632 (follow-mwheel-scroll): New function (Bug#4112).
2634 * comint.el (comint-adjust-point): New function.
2635 (comint-postoutput-scroll-to-bottom): Use it.
2636 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2638 2012-05-01 Glenn Morris <rgm@gnu.org>
2640 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2641 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2642 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2643 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2644 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2645 Remove no-byte-compile setting.
2647 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2649 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2650 all-completions code to not return a number in the last cdr.
2652 2012-04-30 Leo Liu <sdl.web@gmail.com>
2654 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2657 2012-04-29 Chong Yidong <cyd@gnu.org>
2659 * follow.el (follow-calc-win-end): Rewrite to handle partial
2660 screen lines correctly (Bug#8390).
2661 (follow-avoid-tail-recenter): Minor cleanup.
2663 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2665 Avoid the obsolete `assoc' package.
2666 * speedbar.el (speedbar-refresh): Avoid adelete.
2667 (speedbar-file-lists): Simplify and avoid aput.
2668 * man.el (Man--sections, Man--refpages): New vars, replacing
2669 Man-sections-alist and Man-refpages-alist.
2670 (Man-build-section-alist, Man-build-references-alist):
2671 Use them; avoid aput.
2672 (Man--last-section, Man--last-refpage): New vars.
2673 (Man-follow-manual-reference): Use them.
2674 Use the `default' arg of completing-read.
2675 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2677 2012-04-27 Chong Yidong <cyd@gnu.org>
2679 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2681 * startup.el (x-apply-session-resources): New function.
2683 * term/ns-win.el (ns-initialize-window-system):
2684 * term/w32-win.el (w32-initialize-window-system):
2685 * term/x-win.el (x-initialize-window-system): Use it to properly
2686 set menu-bar-mode and other vars from X resources, even if the
2687 initial frame is not a window-system frame (Bug#2299).
2689 * subr.el (read-key): Avoid running filter function when setting
2690 up temporary tool bar entries (Bug#9922).
2692 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2694 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2697 2012-04-27 Chong Yidong <cyd@gnu.org>
2699 * select.el (xselect--encode-string): New function, split from
2700 xselect-convert-to-string.
2701 (xselect-convert-to-string): Use it.
2702 (xselect-convert-to-filename, xselect-convert-to-os)
2703 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2704 returned strings are properly encoded (Bug#11315).
2706 2012-04-27 Chong Yidong <cyd@gnu.org>
2708 * simple.el (delete-active-region): Move to killing custom group.
2710 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2712 * progmodes/which-func.el (which-func-current): Quote %
2713 characters for mode-line processing.
2715 2012-04-27 Chong Yidong <cyd@gnu.org>
2717 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2718 reaching eob (Bug#11286).
2720 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2722 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2723 (gdb): Make it buffer-local and init to zero.
2724 (gdb-control-commands-regexp): New variable.
2725 (gdb-send): Don't wrap in "-interpreter-exec console" if
2726 gdb-control-level is positive. Increment gdb-control-level
2727 whenever the command matches gdb-control-commands-regexp, and
2728 decrement it each time the command is "end". (Bug#11279)
2730 2012-04-27 Martin Rudalics <rudalics@gmx.at>
2732 * window.el (adjust-window-trailing-edge, enlarge-window)
2733 (shrink-window, window-resize):
2734 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2735 windows (Bug#11276).
2737 2012-04-27 Chong Yidong <cyd@gnu.org>
2739 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2740 fix "missing prefix" warning. All callers changed.
2742 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2744 * emacs-lisp/assoc.el: Move to obsolete/.
2746 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2750 * term/ns-win.el (ns-define-service):
2751 * progmodes/pascal.el (pascal-goto-defun):
2752 * progmodes/js.el (js--read-tab):
2753 * progmodes/etags.el (tags-lazy-completion-table):
2754 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2755 * emacs-lisp/ewoc.el (ewoc--wrap):
2756 * emacs-lisp/assoc.el (aput, adelete, amake):
2757 * doc-view.el (doc-view-convert-current-doc):
2758 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2760 2012-04-26 Chong Yidong <cyd@gnu.org>
2762 * image.el (image-type-from-buffer): Only return supported image
2765 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2766 value, for symmetry with diff-end-of-hunk.
2767 (diff-split-hunk, diff-find-source-location)
2768 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2769 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2770 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2771 compute the relevant hunk or file properly (Bug#6005).
2772 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2774 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2783 * vc/vc.el: Replace lexical-let by lexical-binding.
2784 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2785 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2786 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2788 2012-04-26 Chong Yidong <cyd@gnu.org>
2790 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2791 (diff-mode-shared-map): Bind it to / and [remap undo].
2793 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2794 (ediff-window-setup-function): Use it as the default, to set up
2795 windows based on whether the current frame is graphical (Bug#2138).
2796 (ediff-choose-window-setup-function-automatically): Make obsolete.
2798 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2800 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2802 * ffap.el: Remove old code for obsolete package.
2803 (ffap-complete-as-file-p): Remove.
2805 Use completion-table-with-quoting for comint and pcomplete.
2806 * comint.el (comint--unquote&requote-argument)
2807 (comint--unquote-argument, comint--requote-argument): New functions.
2808 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2809 (comint-quote-filename): Use regexp-opt-charset.
2810 (comint--common-suffix, comint--common-quoted-suffix)
2811 (comint--table-subvert): Remove.
2812 (comint-unquote-function, comint-requote-function): New vars.
2813 (comint--complete-file-name-data): Use them with
2814 completion-table-with-quoting.
2815 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2816 * pcomplete.el (pcomplete-arg-quote-list)
2817 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2818 (pcomplete-unquote-argument-function): Default to non-nil.
2819 (pcomplete-unquote-argument): Simplify.
2820 (pcomplete--common-quoted-suffix): Remove.
2821 (pcomplete-requote-argument-function): New var.
2822 (pcomplete--common-suffix): New function.
2823 (pcomplete-completions-at-point): Use completion-table-with-quoting
2824 and completion-table-subvert.
2826 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2827 (minibuffer--double-dollars): Preserve properties.
2828 (completion--sifn-requote): New function.
2829 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2831 * minibuffer.el: Add support for completion of quoted/escaped data.
2832 (completion-table-with-quoting, completion-table-subvert): New funs.
2833 (completion--twq-try, completion--twq-all): New functions.
2834 (completion--nth-completion): New function.
2835 (completion-try-completion, completion-all-completions): Use it.
2837 2012-04-25 Leo Liu <sdl.web@gmail.com>
2839 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2840 Use compilation-message if available to find real filename.
2842 2012-04-25 Chong Yidong <cyd@gnu.org>
2844 * vc/diff-mode.el (diff-setup-whitespace): New function.
2845 (diff-mode): Use it.
2847 * vc/diff.el (diff-sentinel):
2848 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2849 Whitespace mode variables based on diff style (Bug#8612).
2851 2012-04-25 Leo Liu <sdl.web@gmail.com>
2853 * progmodes/python.el (python-send-region): Add suffix .py to the
2856 * files.el (auto-mode-alist): Use javascript-mode instead.
2858 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2860 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2862 * soap-client.el (soap-resolve-references-for-sequence-type)
2863 (soap-resolve-references-for-array-type): Hack to prevent self
2864 references, see Bug#9.
2865 (soap-parse-envelope): Report the contents of the 'detail' node
2866 when receiving a fault reply.
2867 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2869 * soap-inspect.el (soap-sample-value-for-simple-type)
2870 (soap-inspect-simple-type): New function.
2872 * soap-client.el (soap-simple-type): New struct.
2873 (soap-default-xsd-types, soap-default-soapenc-types)
2874 (soap-decode-basic-type, soap-encode-basic-type):
2875 support unsignedInt and double basic types.
2876 (soap-resolve-references-for-simple-type)
2877 (soap-parse-simple-type, soap-encode-simple-type): New function.
2878 (soap-parse-schema): Parse xsd:simpleType declarations.
2880 * soap-client.el (soap-default-xsd-types)
2881 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2882 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2883 the local name of "soapenc:Array".
2884 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2885 decoding integer, byte and anyURI xsd types.
2887 2012-04-25 Chong Yidong <cyd@gnu.org>
2889 * cus-edit.el (custom-buffer-create-internal): Update header text.
2891 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2893 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2894 settings on 'system-type', not on 'window-system'. On MS-Windows,
2895 set interactive-mode on in GDB.
2897 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2899 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2900 (ruby-syntax-propertize-regexp): Remove.
2901 (ruby-syntax-propertize-function): Split regexp into chunks.
2902 Match following code directly.
2904 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2906 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2907 (ruby-syntax-propertize-regexp): New function.
2908 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2909 by a special keyword.
2911 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2912 (ruby-syntax-general-delimiters-goto-beg)
2913 (ruby-syntax-propertize-general-delimiters): New functions.
2914 (ruby-syntax-propertize-function): Use them to handle GDL.
2915 (ruby-font-lock-keywords): Move old handling of GDL...
2916 (ruby-font-lock-syntactic-keywords): .. to here.
2917 (ruby-calculate-indent): Adjust indentation for GDL.
2919 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2921 * notifications.el (top): Remove unneeded declarations.
2922 (notifications-specification-version): Change to "1.2".
2923 (notifications-interface, notifications-notify-method)
2924 (notifications-close-notification-method): Fix docstring.
2925 (notifications-get-capabilities-method): New defconst.
2926 (notifications-notify): Add :action-items, :resident and
2927 :transient hints. Change "image_data" to "image-data" and
2928 "image_path" to "image-path".
2929 (notifications-get-capabilities): New defun.
2931 2012-04-24 Leo Liu <sdl.web@gmail.com>
2933 * progmodes/python.el: Move hideshow setup to the end.
2935 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2937 * window.el (handle-select-window): Clear echo area since this is
2938 no more done by read_char (Bug#11304).
2940 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2942 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2943 and `/ M' to filter-derived-mode.
2944 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2945 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2946 (ibuffer-mark-by-mode): Use default rather than initial-input.
2947 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2949 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2951 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2952 (ibuffer-filter-by-derived-mode): New filter.
2953 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2955 2012-04-23 Andreas Politz <politza@fh-trier.de>
2957 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2959 2012-04-23 Chong Yidong <cyd@gnu.org>
2961 * cus-edit.el (customize-apropos, customize-apropos-options):
2962 Disable matching of non-option variables (Bug#11176).
2963 (customize-option, customize-option-other-window)
2964 (customize-changed-options): Doc fix.
2965 (customize-apropos-options, customize-apropos-faces)
2966 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2968 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2969 Fix word list splitting (Bug#11132).
2970 (apropos-symbol, apropos-keybinding, apropos-label)
2971 (apropos-property, apropos-function-button)
2972 (apropos-variable-button, apropos-misc-button): New faces.
2973 (apropos-symbol-face, apropos-keybinding-face)
2974 (apropos-label-face, apropos-property-face, apropos-match-face):
2975 Variables removed (Bug#8396).
2976 (apropos-library-button, apropos-format-plist, apropos-print)
2977 (apropos-print-doc, apropos-describe-plist): Callers changed.
2979 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2981 * net/xesam.el (xesam-mode-map): Use let-bound map in
2982 initialization. (Bug#11292)
2984 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2986 Preserve ispell session localwords when switching back to
2989 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2990 variable to hold buffer session localwords.
2991 (ispell-kill-ispell): add option 'clear to delete session
2993 (ispell-command-loop, ispell-change-dictionary)
2994 (ispell-buffer-local-words): Preserve session localwords when
2997 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2998 Preserve session localwords when needed.
3000 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3002 * ispell.el (ispell-insert-word) Remove unneeded function using
3003 obsolete `translation-table-for-input'.
3004 (ispell-word, ispell-process-line, ispell-complete-word):
3005 Use plain `insert' instead of removed `ispell-insert-word'.
3007 2012-04-22 Chong Yidong <cyd@gnu.org>
3009 * cus-edit.el (custom-variable-menu)
3010 (custom-variable-reset-saved, custom-face-menu)
3011 (custom-face-reset-saved): If there is no saved value, make the
3012 "reset-saved" operation bring back the default (Bug#9509).
3013 (custom-face-state): Properly detect themed faces.
3015 * faces.el (face-spec-set): Stop supporting deprecated form of
3018 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3020 Move functions from C to Lisp. Make non-blocking method calls
3021 the default. Implement further D-Bus standard interfaces.
3023 * net/dbus.el (dbus-message-internal): Declare function.
3024 Remove unneeded function declarations.
3025 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3026 (dbus-message-type-method-return, dbus-message-type-error)
3027 (dbus-message-type-signal): Declare variables. Remove local
3029 (dbus-interface-dbus, dbus-interface-peer)
3030 (dbus-interface-introspectable, dbus-interface-properties)
3031 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3033 (dbus-interface-objectmanager): New defconst.
3034 (dbus-call-method, dbus-call-method-asynchronously)
3035 (dbus-send-signal, dbus-method-return-internal)
3036 (dbus-method-error-internal, dbus-register-service)
3037 (dbus-register-signal, dbus-register-method): New defuns, moved
3039 (dbus-call-method-handler, dbus-setenv)
3040 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3042 (dbus-call-method-non-blocking): Make it an obsolete function.
3043 (dbus-unregister-object, dbus-unregister-service)
3044 (dbus-handle-event, dbus-register-property)
3045 (dbus-property-handler): Obey the new structure of
3046 `bus-registered-objects'.
3047 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3048 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3049 Use `dbus-call-method'.
3051 2012-04-22 Chong Yidong <cyd@gnu.org>
3053 * cus-edit.el (custom-commands, custom-reset-menu)
3054 (Custom-reset-standard): Tweak labels.
3055 (custom-reset-button-menu): Change default to t.
3056 (custom-buffer-create-internal): For the custom-reset-button-menu
3057 case, put the revert button first.
3058 (custom-group-subtitle): New face.
3059 (custom-group-value-create): Align docstring to a specific column.
3061 * wid-edit.el (widget-documentation-link-add): Don't handle
3062 indentation in this function.
3063 (widget-documentation-string-indent-to): New function.
3064 (widget-documentation-string-value-create): Use it.
3066 * autorevert.el (auto-revert):
3067 * epg-config.el (epg):
3068 * ibuffer.el (ibuffer):
3071 * eshell/eshell.el (eshell):
3072 * net/ange-ftp.el (ange-ftp):
3073 * progmodes/ebnf2ps.el (postscript):
3074 * progmodes/flymake.el (flymake):
3075 * progmodes/prolog.el (prolog):
3076 * progmodes/verilog-mode.el (verilog-mode):
3077 * progmodes/which-func.el (which-func):
3078 * term/xterm.el (xterm):
3079 * textmodes/picture.el (picture):
3080 * textmodes/tildify.el (tildify):
3081 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3082 customization buffers.
3084 2012-04-22 Alan Mackenzie <acm@muc.de>
3086 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3087 Adding a ) can hide the resulting (..) from searches. Fix it.
3088 Bound the backward search to the position of the existing (.
3090 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
3092 * progmodes/verilog-mode.el (verilog-mode): Check whether
3093 which-func-modes is t before adding verilog-mode.
3094 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3096 2012-04-21 Leo Liu <sdl.web@gmail.com>
3098 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3100 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3102 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3103 filling of the last column of a table (Bug#5635).
3104 (woman-find-next-control-line): New arg, specifying an additional
3105 regexp component for the control line.
3106 (woman2-roff-buffer): Use it.
3107 (woman-break-table): New function.
3108 (woman2-TS): Use it.
3110 2012-04-21 Chong Yidong <cyd@gnu.org>
3112 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3113 (woman-horizontal-escapes, woman-negative-vertical-space)
3114 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3115 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3117 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3119 * minibuffer.el (completion-file-name-table): Complete user names.
3121 2012-04-20 Leo Liu <sdl.web@gmail.com>
3123 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3126 2012-04-20 Chong Yidong <cyd@gnu.org>
3128 * server.el (server-execute): Respect initial-buffer-choice if it
3129 is a string and there are no files to open (Bug#2825).
3130 (server-create-window-system-frame, server-create-tty-frame):
3131 Don't switch buffers here.
3132 (server-process-filter): Only try to open a window system frame if
3133 compiled with graphical support (Bug#8314).
3135 2012-04-20 Dan Nicolaescu <dann@gnu.org>
3137 * battery.el (battery-echo-area-format): Display remaining time
3138 for sysfs backend too (Bug#11269).
3139 (battery-linux-sysfs): Fix conditional for the charge.
3141 2012-04-20 Chong Yidong <cyd@gnu.org>
3143 * progmodes/gdb-mi.el (gdb): Revert previous change.
3144 (gdb-inferior-io--init-proc): New function.
3145 (gdb-init-1): Use it.
3146 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3147 responsible for allocating a new pty and hooking it to gdb when
3148 the old pty gets an EIO due to process exit.
3149 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3150 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3151 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3153 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3155 * window.el (window-min-size, window-sizable, window-min-delta)
3156 (window-max-delta, window--resizable, window-resizable)
3157 (window-total-size, window-full-height-p, window-full-width-p)
3158 (window-in-direction, window--resize-mini-window, window-resize)
3159 (window--resize-child-windows-normal)
3160 (window--resize-child-windows, window--resize-siblings)
3161 (window--resize-this-window, adjust-window-trailing-edge)
3162 (enlarge-window, shrink-window): Doc fixes.
3164 2012-04-20 Chong Yidong <cyd@gnu.org>
3166 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3167 New function to call delete-process on the gdb-inferior buffer's pty.
3168 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3169 pty process (Bug#11273).
3170 (gdb-update): New arg to suppress talking to the gdb process.
3171 (gdb-done-or-error): Use it.
3172 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3173 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3174 sentinel not being called.
3176 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3178 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3180 2012-04-20 Glenn Morris <rgm@gnu.org>
3182 * net/network-stream.el (open-network-stream): Doc fix.
3184 2012-04-20 Chong Yidong <cyd@gnu.org>
3186 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3188 2012-04-20 Alan Mackenzie <acm@muc.de>
3190 Ensure searching for keywords is case sensitive.
3192 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3193 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3194 (c-defun-name, c-mark-function, c-cpp-define-name)
3195 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3196 (c-context-line-break): Bind case-fold-search to nil.
3198 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3199 Bind case-fold-search to nil.
3201 2012-04-20 Chong Yidong <cyd@gnu.org>
3203 * mail/sendmail.el (mail-bury): Call return action with the right
3204 Rmail buffer (Bug#11242).
3206 * server.el (server-process-filter): Handle corner case where both
3207 tty and nowait options are present (Bug#11102).
3209 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3211 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3212 (top level): Put into the executable the ident-style '$Id:' tag on
3215 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3217 * electric.el (electric-indent-post-self-insert-function): Check that
3218 electric-indent-mode is enabled in current buffer.
3220 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3222 * imenu.el (imenu-progress-message): Restore; it is "used" in
3223 erc/erc-imenu.el and net/snmp-mode.el.
3225 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3227 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3228 (mouse-avoidance-nudge-mouse): Remove unused binding.
3230 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3232 * descr-text.el (describe-char):
3233 * progmodes/python.el (python-describe-symbol):
3234 Don't call `toggle-read-only', set `buffer-read-only'.
3236 * imenu.el (imenu-default-goto-function): Mark unused args.
3237 (imenu-progress-message): Remove obsolete macro; all callers changed.
3239 * subr.el (keymap-canonicalize): Remove unused binding.
3240 (read-passwd): Mark unused arg.
3242 * tutorial.el (tutorial--display-changes): Remove unused binding.
3243 (tutorial--save-tutorial-to): Remove unused variable.
3245 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3246 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3247 (package-generate-autoloads, package-menu--generate)
3248 (package-menu--find-upgrades): Remove unused bindings.
3250 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3251 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3252 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3253 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3254 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3255 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3256 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3257 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3258 (cua-delete-char-rectangle): Mark unused args.
3259 (cua-align-rectangle): Remove unused binding.
3261 * mail/rmail.el (compilation--message->loc)
3262 (epa--find-coding-system-for-mime-charset): Declare.
3264 * net/dbus.el (dbus-register-service): Declare.
3265 (dbus-name-owner-changed-handler): Remove unused binding.
3267 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3268 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3269 (nxml-scan-backward-within): Mark unused arg.
3270 (nxml-dynamic-markup-word): Remove unused binding.
3272 * mouse.el (mouse-menu-major-mode-map):
3273 * emacs-lisp/authors.el (authors-scan-change-log)
3274 (authors-add-to-author-list):
3275 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3276 * emacs-lisp/smie.el (smie-auto-fill):
3277 * mail/sendmail.el (mail-bury):
3278 * mail/unrmail.el (unrmail):
3279 * net/tls.el (open-tls-stream):
3280 * textmodes/picture.el (picture-mouse-set-point):
3281 Remove unused bindings.
3283 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3285 * net/tramp.el (tramp-action-password): Let-bind
3286 `enable-recursive-minibuffers' to t.
3288 2012-04-18 Sam Steingold <sds@gnu.org>
3290 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3291 instead of 'string to accommodate values like [f11].
3292 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3293 * progmodes/gdb-mi.el: Likewise.
3295 2012-04-18 Leo Liu <sdl.web@gmail.com>
3297 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3299 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3302 2012-04-18 Chong Yidong <cyd@gnu.org>
3304 * simple.el (line-move): Use forward-line if in batch mode
3307 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3309 * files.el (after-find-file): Do not try to add a final newline if
3310 the buffer is read-only (Bug#11156).
3312 2012-04-17 Richard Stallman <rms@gnu.org>
3314 * mail/rmail.el (rmail-start-mail):
3315 Pass (rmail-mail-return...) for the return-action.
3316 Pass (rmail-yank-current-message...) for the yank-action.
3317 (rmail-yank-current-message): New function.
3318 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3319 (rmail-reply): Likewise.
3320 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3322 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3323 buffer, not the last. Reject temp buffers. Use the rmail-mode
3326 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3328 * server.el (server-ensure-safe-dir): Simplify.
3330 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3332 * emacs-lisp/smie.el: Provide smarter auto-filling.
3333 (smie-auto-fill): New function.
3334 (smie-setup): Use it.
3336 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3338 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3340 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3341 (comment-indent): Use it.
3343 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3345 * ses.el: The overall change is to add cell renaming, that is
3346 setting fancy names for cell symbols other than name matching
3347 "\\`[A-Z]+[0-9]+\\'" regexp .
3348 (ses-localvars): Add ses--renamed-cell-symb-list.
3349 (ses-create-cell-variable): New defun.
3350 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3351 (ses-relocate-formula): Relocate formulas only for cells the
3352 symbols of which are not renamed, i.e. symbols whose names do not
3353 match regexp "\\`[A-Z]+[0-9]+\\'".
3354 (ses-relocate-all): Relocate values only for cells the symbols of
3355 which are not renamed.
3356 (ses-load): Create cells variables as the (ses-cell ...) are read,
3357 in order to check row col consistency with cell symbol name only
3358 for cells that are not renamed.
3359 (ses-replace-name-in-formula): New defun.
3360 (ses-rename-cell): New defun.
3362 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3364 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3365 New option (bug#11118).
3366 (perl-calculate-indent): Respect it.
3368 2012-04-17 Glenn Morris <rgm@gnu.org>
3370 * dired-aux.el (dired-mark-read-string): Doc fix.
3372 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3374 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3375 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3377 2012-04-17 Glenn Morris <rgm@gnu.org>
3379 * mouse.el (mouse-drag-track):
3380 * speedbar.el (speedbar-frame-mode):
3381 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3383 2012-04-16 Leo Liu <sdl.web@gmail.com>
3385 * progmodes/python.el: Trivial cleanup.
3387 2012-04-16 Glenn Morris <rgm@gnu.org>
3389 * vc/vc.el (vc-string-prefix-p):
3390 * vc/pcvs-util.el (cvs-string-prefix-p):
3391 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3392 * mpc.el (mpc-string-prefix-p):
3393 Make all of these into obsolete aliases for string-prefix-p.
3395 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3397 * textmodes/two-column.el: Move custom options to the start.
3398 (frame-width): Remove compat definition.
3399 (2C-associate-buffer, 2C-dissociate):
3400 Use with-current-buffer rather than save-excursion.
3401 (2C-dissociate): Force a mode-line update.
3402 (2C-autoscroll): Use ignore-errors.
3404 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3407 * emacs-lisp/cl-extra.el (*random-state*):
3408 Remove unnecessary declaration.
3410 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3412 * play/cookie1.el (cookie-snarf):
3413 Give an explicit error if input file cannot be read.
3415 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3417 * progmodes/perl-mode.el (c-macro-expand):
3418 Remove unnecessary autoload (it is in loaddefs.el).
3420 * textmodes/picture.el (picture-desired-column)
3421 (picture-update-desired-column): Convert comments to doc-strings.
3422 (picture-substitute): Remove function.
3423 (picture-mode-map): Initialize in the defvar.
3425 * woman.el: Remove eval-after-load for tar-mode.
3426 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3427 (woman-tar-extract-file): Autoload it.
3429 * frame.el (automatic-hscrolling): Make this alias obsolete.
3431 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3433 * ispell.el (ispell-set-spellchecker-params): Post-process
3434 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3435 (ispell-dictionary-base-alist): Revert to original XEmacs
3436 friendly version for default. [:alpha:] will be added in
3437 `ispell-set-spellchecker-params' if needed
3439 2012-04-16 Chong Yidong <cyd@gnu.org>
3441 * image.el (imagemagick--extension-regexp): New variable.
3442 (imagemagick-register-types): Use it.
3443 (imagemagick-types-inhibit): Add :set function. Allow new value
3444 of t to inhibit all types.
3446 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3447 so we can preload it.
3449 * loadup.el (fboundp): Preload regexp-opt, needed by
3450 imagemagick-register-types.
3452 2012-04-15 Chong Yidong <cyd@gnu.org>
3454 * frame.el (scrolling): Remove nearly unused customization group.
3456 * scroll-all.el (scroll-all-mode): Move to windows group.
3458 2012-04-15 Chong Yidong <cyd@gnu.org>
3460 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3462 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3464 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3465 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3467 2012-04-15 Glenn Morris <rgm@gnu.org>
3469 * simple.el (process-file-side-effects): Doc fix.
3471 2012-04-15 Glenn Morris <rgm@gnu.org>
3473 * international/mule-cmds.el (set-language-environment): Doc fix.
3475 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3477 * server.el (server-auth-key, server-generate-key): Doc fixes.
3478 (server-get-auth-key): Doc fix. Use `string-match-p'.
3479 (server-start): Reflow docstring.
3481 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3483 * server.el (server-generate-key): `called-interactively-p'
3484 requires a parameter.
3486 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3488 * server.el (server-auth-key): New variable.
3489 (server-generate-key, server-get-auth-key): New function.
3490 (server-start): Use the new variable and functions to allow
3491 setting a permanent server key (bug#9423).
3493 2012-04-14 Leo Liu <sdl.web@gmail.com>
3495 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3497 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3500 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3501 Emacs uses American spelling.
3503 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3505 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3506 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3507 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3508 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3510 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3512 * progmodes/which-func.el (which-func-modes): Change default.
3514 2012-04-14 Kim F. Storm <storm@cua.dk>
3516 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3517 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3519 2012-04-14 Chong Yidong <cyd@gnu.org>
3521 * custom.el (custom-theme-set-variables): Doc fix.
3523 2012-04-14 Glenn Morris <rgm@gnu.org>
3525 * international/mule.el (set-auto-coding-for-load): Doc fix.
3527 2012-04-14 Alan Mackenzie <acm@muc.de>
3529 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3530 imenu work again for Objective C Mode. Correct the *-index values,
3531 these having been disturbed by a previous change in 2011-08.
3533 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3534 Correct two search limits.
3536 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3538 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3540 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3542 * international/characters.el: Fix sorting.
3544 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3546 * international/characters.el: Add more missing Latin case pairs.
3548 2012-04-14 Glenn Morris <rgm@gnu.org>
3550 * files.el (dir-locals-set-class-variables): Doc fix.
3552 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3554 * international/characters.el: Add set-case-syntax-pair call for
3555 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3556 counterpart. (Bug#11209)
3558 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3560 2012-04-14 Glenn Morris <rgm@gnu.org>
3562 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3564 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3566 * textmodes/ispell.el (ispell-dictionary-base-alist):
3567 Add data for Hebrew.
3569 2012-04-14 Chong Yidong <cyd@gnu.org>
3571 * net/rcirc.el (rcirc-cmd-quit):
3572 Revert 2012-03-18 change (Bug#11192).
3574 2012-04-14 Glenn Morris <rgm@gnu.org>
3576 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3578 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3580 * minibuffer.el (completion-in-region-mode-map):
3581 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3583 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3585 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3587 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3589 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3590 to allow `C-M-f' and `C-M-b' to move to the nearest path
3591 separator (bug#9511).
3593 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3595 * avoid.el: Require cl when compiling. And also move the
3596 `provide' to the end.
3598 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3600 * avoid.el (mouse-avoidance-banish-position): New variable.
3601 (mouse-avoidance-banish-destination): Use it (bug#10165).
3603 2012-04-13 Leo Liu <sdl.web@gmail.com>
3605 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3607 2012-04-13 Ken Brown <kbrown@cornell.edu>
3609 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3610 this is no longer needed now that cygstart understands file:// URLs.
3611 (browse-url-filename-alist): For the same reason, don't modify
3612 file:// URLs on Cygwin.
3614 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3616 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3617 the region on shift if the binding is already shifted (bug#11221).
3619 2012-04-12 Glenn Morris <rgm@gnu.org>
3621 * mail/mailpost.el: Move to obsolete/.
3623 2012-04-12 Drew Adams <drew.adams@oracle.com>
3625 * imenu.el (imenu--generic-function): Ignore invisible definitions
3628 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3630 * hexl.el (hexl-bits): New variable.
3631 (hexl-options): Mention the variable in the doc string.
3632 (hexl-rulerise, hexl-line-displen): New functions.
3633 (hexl-mode): Mention the new variable.
3634 (hexl-mode, hexl-current-address, hexl-current-address):
3636 (hexl-ascii-start-column): New function.
3637 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3638 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3640 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3642 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3643 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3644 the encoding, as expected by hunspell.
3646 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3648 * battery.el (battery--linux-sysfs-regexp): New const.
3649 (battery-status-function): Use it. Remove yeeloong special case.
3650 (battery-yeeloong-sysfs): Remove.
3651 (battery-echo-area-format): Remove yeeloong special case.
3653 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3655 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3656 Reported by Noah Friedman.
3658 * subr.el (read-passwd): Use read-string.
3660 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3662 * vcursor.el (vcursor-move): Increase the priority of the overlay
3665 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3667 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3668 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3670 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3672 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3673 define-minor-mode (bug#10760).
3675 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3677 * progmodes/grep.el (rgrep): Tweak the find command line so
3678 that directories matching `grep-find-ignored-files' won't be
3681 2012-04-11 Chong Yidong <cyd@gnu.org>
3683 * startup.el (command-line): Remove support for long-obsolete
3684 variable font-lock-face-attributes.
3686 2012-04-11 Glenn Morris <rgm@gnu.org>
3688 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3690 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3692 * window.el (window--state-get-1): Obey window-point-insertion-type.
3694 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3696 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3697 to previous function when point is on the first character of a
3698 function. Take care of that in `narrow-to-defun' (bug#6157).
3700 2012-04-11 Glenn Morris <rgm@gnu.org>
3702 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3703 not just file-errors.
3705 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3706 (vc-bzr-sha1): Use internal sha1.
3708 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3710 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3712 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3714 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3715 that start in the middle of the line (bug#10496).
3717 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3719 * battery.el (battery-linux-proc-acpi): Only one battery is
3720 discharged at a time, but that seems to confuse battery.el when
3721 computing `rate-type' for the battery not being discharged
3724 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3726 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3728 * international/quail.el: Use dolist and simplify.
3729 (quail-define-package, quail-update-keyboard-layout)
3730 (quail-define-rules): Use dolist.
3731 (quail-insert-kbd-layout, quail-get-translation): CSE.
3733 * tmm.el: Use dolist, remove left over hook.
3734 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3736 (calendar-load-hook): Don't mess with it.
3738 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3739 Use derived-mode-p. Run the diff asynchronously.
3741 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3743 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3745 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
3747 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3748 (list-dynamic-libraries--loaded): New function.
3749 (list-dynamic-libraries--refresh): Use it.
3751 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
3753 * progmodes/python.el (python-fill-paragraph):
3754 Make python-fill-region in a multiline string work when font-lock is
3755 disabled (bug#7018).
3757 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3759 * language/european.el (cp775): Add oem/legacy (en)coding on
3760 DOS/MS Windows for the Baltic languages. There are still plenty
3761 of texts written in this encoding/codepage (bug#6519).
3763 2012-04-10 Glenn Morris <rgm@gnu.org>
3765 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3766 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3768 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3770 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3771 next-line "n" and previous-line "p" in order to make recentf more
3772 consistent with ibuffer, dired or org-mode (bug#9387).
3774 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3776 * image.el (put-image): Return the overlay created instead of the
3777 optional input string (bug#7834). Note that this may break code
3778 that is (for some reason or other) depending on `put-image'
3779 returning the string.
3781 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3783 * simple.el (zap-to-char): Allow zapping using input methods
3786 * textmodes/fill.el (fill-region): Leave point and mark where they
3787 were before filling (bug#5399).
3789 2012-04-09 Glenn Morris <rgm@gnu.org>
3791 * version.el (emacs-bzr-get-version):
3792 Handle lightweight checkouts of local branches.
3794 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3796 * international/characters.el: Recover lost case pairs. (Bug#11209)
3798 2012-04-09 Chong Yidong <cyd@gnu.org>
3800 * custom.el (custom-variable-p): Return nil for non-symbol
3801 arguments instead of signaling an error.
3802 (user-variable-p): Obsolete alias for custom-variable-p.
3804 * apropos.el (apropos-variable):
3805 * files-x.el (read-file-local-variable):
3806 * simple.el (set-variable):
3807 * woman.el (woman-mini-help):
3808 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3810 2012-04-09 Glenn Morris <rgm@gnu.org>
3812 * startup.el (normal-top-level): Don't look for leim-list.el
3813 in places where it will not be found. (Bug#910)
3815 * international/mule-cmds.el (set-default-coding-systems):
3816 * files.el (normal-mode):
3817 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3818 This function was removed with ucs-tables.el in 2008.
3820 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3822 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3823 ispell-encoding8-command to "-i", without a trailing space.
3824 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3825 separate command-line arguments, to specify the encoding, since
3826 that's how hunspell expects it.
3828 2012-04-08 Glenn Morris <rgm@gnu.org>
3830 * loadup.el: Load bindings before cus-start.
3831 This reduces somewhat the number of "rogue" settings in emacs -Q.
3833 2012-04-07 Glenn Morris <rgm@gnu.org>
3835 * version.el (emacs-bzr-get-version): New function.
3836 (emacs-bzr-version): New variable.
3837 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3838 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3840 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3842 * international/uni-bidi.el, international/uni-category.el:
3843 * international/uni-combining.el, international/uni-decimal.el:
3844 * international/uni-decomposition.el, international/uni-digit.el:
3845 * international/uni-lowercase.el, international/uni-mirrored.el:
3846 * international/uni-name.el, international/uni-numeric.el:
3847 * international/uni-titlecase.el, international/uni-uppercase.el:
3848 Update for Unicode 6.1.
3850 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3852 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3854 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3856 * window.el (shrink-window): Mention the `window-min-height'
3857 variable in the doc string.
3859 2012-04-05 Bastien Guerry <bzg@altern.org>
3861 * color.el (color-lighten-name): Fix typo.
3863 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * server.el (server--on-display-p): New function.
3866 (server--on-display-p): Use it.
3868 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3870 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3873 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3875 * comint.el (comint--common-quoted-suffix): Check string boundary
3876 before comparing (bug#11158).
3877 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3879 2012-04-04 Chong Yidong <cyd@gnu.org>
3881 * minibuffer.el (completion-extra-properties): Doc fix.
3883 * subr.el (delayed-warnings-hook): Doc fix.
3885 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3887 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3888 selection (Bug#11159).
3889 (epa-insert-keys): Inform that the default public key will be
3890 exported if no key is selected.
3892 2012-04-04 Richard Stallman <rms@gnu.org>
3894 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3896 2012-04-03 Chong Yidong <cyd@gnu.org>
3898 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3899 mail-insert-file, not its obsolete alias mail-attach-file.
3901 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3903 * notifications.el (notifications-notify): Fix docstring.
3905 2012-04-02 Glenn Morris <rgm@gnu.org>
3907 * emacs-lisp/authors.el (authors-aliases): Another addition.
3909 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3911 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3912 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3913 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3915 2012-04-01 Chong Yidong <cyd@gnu.org>
3917 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3918 Handle root directory properly.
3919 (copy-directory): Caller changed.
3921 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3922 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3924 2012-03-31 Glenn Morris <rgm@gnu.org>
3926 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3928 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3930 * calendar/calendar.el (calendar-window-list)
3931 (calendar-hide-window): Restore. (Bug#11140)
3932 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3934 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3936 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3938 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3939 Check if file is a symlink (Bug#10489).
3941 * files.el (copy-directory): Likewise.
3943 2012-03-30 Chong Yidong <cyd@gnu.org>
3945 * image.el (imagemagick-types-inhibit)
3946 (imagemagick-register-types): Doc fix.
3948 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3950 * ispell.el (ispell-get-extended-character-mode):
3951 Disable extended-char-mode for hunspell. hunspell does not support it
3952 and treats ~word as ordinary words in pipe mode.
3954 2012-03-30 Glenn Morris <rgm@gnu.org>
3956 * tutorial.el (help-with-tutorial): Ensure local variables don't
3957 happen to make the buffer read-only. (Bug#11127)
3959 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3961 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3962 (perl-calculate-indent): Return `noindent' in strings.
3964 2012-03-28 Sam Steingold <sds@gnu.org>
3966 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3967 instead of the broken adhockery which does not prevent calendar
3968 buffers from being displayed at random after exit.
3969 (calendar-window-list, calendar-hide-window): Remove the broken
3972 2012-03-28 Glenn Morris <rgm@gnu.org>
3974 * replace.el (query-replace-map): Doc fix.
3976 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3978 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3979 contents. (Bug#11109)
3981 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3983 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3985 (avl-tree--check, avl-tree--check-node): New funs.
3987 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3989 * window.el (switch-to-visible-buffer): New option.
3990 (switch-to-prev-buffer, switch-to-next-buffer):
3991 Observe switch-to-visible-buffer. Make sure that checking for a window
3992 showing a buffer already is done on the same frame.
3994 2012-03-27 Glenn Morris <rgm@gnu.org>
3996 * startup.el (mail-host-address): Doc fix.
3998 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4000 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4003 2012-03-26 Ami Fischman <ami@fischman.org>
4005 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4007 2012-03-26 Glenn Morris <rgm@gnu.org>
4009 * files.el (save-buffers-kill-emacs): Doc fix.
4011 * startup.el (normal-top-level, command-line, command-line-1):
4012 Give them doc strings.
4014 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4016 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4017 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4019 2012-03-25 Chong Yidong <cyd@gnu.org>
4021 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4022 theme if it was previously enabled before (Bug#11031).
4024 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4025 spec with custom-face-get-current-spec if its :shown-value is not
4026 determined yet (Bug#9337).
4027 (customize-create-theme, custom-theme-revert): Doc fixes.
4029 * button.el (button-at): Minor addition to docstring.
4031 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4033 * vc/vc.el (vc-merge): Fix a prompt.
4035 2012-03-24 Chong Yidong <cyd@gnu.org>
4037 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4040 * button.el (button-at): Minor addition to docstring.
4042 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4044 * newcomment.el (comment-choose-indent): No space after BOL.
4046 2012-03-22 Sam Steingold <sds@gnu.org>
4048 * window.el (switch-to-prev-buffer): Revert last patch because the
4049 bug turned out to be an advertised feature (Elisp manual 28.14).
4051 2012-03-22 Glenn Morris <rgm@gnu.org>
4053 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4054 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4056 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4058 * net/network-stream.el (network-stream-open-starttls): Make error
4059 message under Windows be less misleading.
4061 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4063 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4064 understands (bug#9942).
4066 2012-03-22 Chong Yidong <cyd@gnu.org>
4068 * simple.el (end-of-visible-line): Handle return value of
4069 next-single-property-change properly (Bug#9371).
4071 2012-03-22 Kenichi Handa <handa@m17n.org>
4073 * international/quail.el (quail-insert-kbd-layout): Fix previous
4074 change. To avoid unwanted bidi reordering, use
4075 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4077 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4079 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4080 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4081 (ruby-beginning-of-indent): Be more careful with the difference
4082 between word-boundary and symbol boundary.
4083 (ruby-mode-syntax-table): Make : a symbol constituent.
4085 2012-03-21 Andreas Politz <politza@fh-trier.de>
4087 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4089 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4091 * progmodes/etags.el (tags-completion-at-point-function):
4094 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4096 2012-03-21 Sam Steingold <sds@gnu.org>
4098 * progmodes/etags.el (tags-completion-at-point-function):
4099 Avoid the error when point is inside the pattern.
4101 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4103 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4106 2012-03-21 Drew Adams <drew.adams@oracle.com>
4108 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4110 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4112 * ido.el (ido-set-current-directory, ido-read-internal)
4113 (ido-choose-completion-string, ido-completion-help): Handle nil
4114 value of ido-completion-buffer (Bug#11008).
4116 2012-03-21 Sam Steingold <sds@gnu.org>
4118 * window.el (switch-to-prev-buffer): Do not switch to a visible
4119 window previous buffer, just like with the frame previous buffers.
4121 2012-03-21 Chong Yidong <cyd@gnu.org>
4123 * faces.el (make-face, make-empty-face, copy-face):
4124 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4127 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4129 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4130 (widget-complete): Remove broken use of it.
4132 2012-03-20 Chong Yidong <cyd@gnu.org>
4134 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4135 Use string-width and truncate-string-width to handle arbitrary
4138 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4140 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4141 to draw rectangles, not squares. (Regression introduced by revno
4142 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4144 2012-03-18 Chong Yidong <cyd@gnu.org>
4146 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4147 it is not yet defined (for temacs).
4149 2012-03-18 Leo Liu <sdl.web@gmail.com>
4151 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4153 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4155 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4156 (ispell-choices-win-default-height, ispell-silently-savep)
4157 (ispell-dictionary-alist, ispell-encoding8-command)
4158 (ispell-check-version, ispell-aspell-find-dictionary)
4159 (ispell-valid-dictionary-list, ispell-words-keyword)
4160 (ispell-get-word, ispell-internal-change-dictionary)
4161 (ispell-region, ispell-skip-region-list)
4162 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4163 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4164 (ispell-message-text-end, ispell-message)
4165 (ispell-buffer-local-parsing): Doc fix.
4167 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
4169 * htmlfontify.el: Add support for code block fontification for ODT
4171 (hfy-optimisations): Define new option
4173 (hfy-fontify-buffer): Honor above setting.
4174 (hfy-begin-span, hfy-end-span): New routines factored out form
4175 `hfy-fontify-buffer'.
4176 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4177 that permit insertion of custom tags.
4178 (hfy-fontify-buffer): Use above handlers.
4179 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4180 (hfy-face-to-css): Re-defined to be a variable.
4181 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4182 over multiple runs. This is made possible by having the caller let
4183 bind a special variable `hfy-user-sheet-assoc'.
4184 (htmlfontify-string): New defun.
4185 (hfy-compile-face-map): Make sure that the last char in the
4186 buffer is correctly fontified.
4187 (hfy-face-resolve-face): Whitespace only change.
4189 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4191 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4194 2012-03-16 Leo Liu <sdl.web@gmail.com>
4196 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4198 2012-03-16 Alan Mackenzie <acm@muc.de>
4200 Further optimise the handling of large macros.
4202 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4203 limit to a call of `c-literal-limits'.
4204 (c-determine-+ve-limit): New function.
4205 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4206 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4207 In CASE 5B, restrict a search limit to 500.
4208 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4210 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4211 Restrict macro bounds to +-500 from after-change's BEG END.
4213 2012-03-16 Leo Liu <sdl.web@gmail.com>
4215 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4217 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4219 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4220 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4222 2012-03-16 Glenn Morris <rgm@gnu.org>
4224 * view.el (view-buffer, view-buffer-other-window)
4225 (view-buffer-other-frame): Doc fixes re special mode-class.
4227 * subr.el (eval-after-load): If named feature is provided not from
4228 a file, run after-load forms. (Bug#10946)
4230 * calendar/calendar.el (calendar-insert-at-column):
4231 Handle non-unit-width characters a bit better. (Bug#10978)
4233 2012-03-15 Chong Yidong <cyd@gnu.org>
4235 * emacs-lisp/ring.el (ring-extend): New function.
4236 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4238 * comint.el (comint-read-input-ring)
4239 (comint-add-to-input-history): Grow comint-input-ring lazily.
4241 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4243 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4244 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4246 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4247 (imenu-add-to-menubar): Don't add a redundant index.
4248 (imenu-update-menubar): Handle a dynamically composed keymap.
4250 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4252 * mail/sendmail.el (mail-encode-header):
4253 Bind rfc2047-encode-encoded-words to nil.
4255 2012-03-13 Glenn Morris <rgm@gnu.org>
4257 * calendar/calendar.el (calendar-string-spread):
4258 Handle non-unit-width characters a bit better. (Bug#10978)
4260 2012-03-13 Leo Liu <sdl.web@gmail.com>
4262 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4263 directory and file as argument (Bug#10822).
4265 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4267 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4268 For dynamically generated code, follow $PC.
4269 (gdb-disassembly-handler-custom): Handle no function name case.
4271 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4273 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4274 * emulation/ws-mode.el (ws-query-replace):
4275 * sort.el (sort-regexp-fields):
4276 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4278 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4280 * dabbrev.el: Fix cycle completion order (bug#10963).
4281 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4282 (dabbrev-completion): Don't use an obarray; provide
4283 a cycle-sort-function.
4285 2012-03-12 Leo Liu <sdl.web@gmail.com>
4287 * simple.el (kill-new): Use equal-including-properties for comparison.
4288 (kill-do-not-save-duplicates): Doc fix.
4290 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4292 * dabbrev.el: Fix cycle completion (bug#10963).
4293 Use lexical binding and wrap to 80 columns.
4294 (dabbrev-completion): Delay computing the list of completions.
4296 2012-03-12 Kenichi Handa <handa@m17n.org>
4298 * international/quail.el (quail-insert-kbd-layout): Surround each
4299 row by LRO and PDF instead of inserting many LRMs. Pad the left
4300 and right of each non-spacing marks. Insert invisible space
4301 between lower and upper characters to prevent composition.
4303 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4305 * minibuffer.el (minibuffer-complete): Don't get confused when the
4306 function is run twice via different commands (bug#10958).
4307 (complete-with-action): Fix docstring.
4309 2012-03-12 Chong Yidong <cyd@gnu.org>
4311 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4312 (nxml-completion-at-point-function): New function.
4313 (nxml-mode): Use it.
4314 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4316 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4317 Load generated autoloads file before byte compiling (Bug#10970).
4318 (package--make-autoloads-and-compile): New helper fun.
4320 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4322 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4324 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4326 * autorevert.el (auto-revert-handler): Ensure, that
4327 file-readable-p is applied only for local files or in
4328 auto-revert-tail-mode.
4330 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4332 * server.el (server-eval-at): Handle non-tcp connections.
4333 Decode result string.
4335 * server.el (server-msg-size): New constant.
4336 (server-reply-print): New function.
4337 (server-eval-and-print): Use it.
4338 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4341 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4343 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4346 2012-03-11 Chong Yidong <cyd@gnu.org>
4348 * simple.el (goto-line): Doc fix (Bug#9938).
4350 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4352 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4353 when finished (Bug#10963).
4355 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4357 * window.el (split-window-below): Fix bug in case where
4358 split-window-keep-point is nil (Bug#10971).
4360 2012-03-11 Juri Linkov <juri@jurta.org>
4362 * replace.el (replace-highlight): Set isearch-word to nil
4363 unconditionally. (Bug#10887)
4365 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4367 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4368 mairix-replace-illegal-chars; all callers changed. Don't remove
4369 ^, ~, and = characters: they are meaningful in mairix search specs.
4370 (mairix-widget-create-query): Add usage information about mairix
4371 search forms: negating words, searching for substrings, etc.
4373 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4375 * international/fontset.el (font-encoding-alist): Add an entry for
4378 2012-03-10 Richard Stallman <rms@gnu.org>
4380 * mail/sendmail.el (mail-encode-header):
4381 Set rfc2047-encode-encoded-words.
4383 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4385 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4386 view buffer means not swapped.
4387 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4388 (rmail-write-region-annotate): Error if real text has disappeared.
4390 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4392 2012-03-10 Chong Yidong <cyd@gnu.org>
4394 * emulation/cua-rect.el (cua--init-rectangles):
4395 * emulation/cua-base.el (cua--init-keymaps):
4396 Add delete-forward-char to remappings (Bug#9666).
4398 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4400 * speedbar.el (speedbar-unhighlight-one-tag-line):
4401 Avoid unhighlighting due to frame switching (Bug#10275).
4403 2012-03-10 Chong Yidong <cyd@gnu.org>
4405 * minibuffer.el (completion-in-region, completion-help-at-point):
4406 Give the completion field overlay a high priority (Bug#6830).
4408 * dired.el (dired-goto-file): Recognize absolute file name
4409 listings (Bug#7126).
4410 (dired-goto-file-1): New helper function.
4411 (dired-toggle-read-only): Inhibit warnings.
4413 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4415 * net/dbus.el (dbus-property-handler): Return empty array if
4416 there are no properties.
4418 2012-03-09 Leo Liu <sdl.web@gmail.com>
4420 * savehist.el (savehist-printable): Stricter check for string
4423 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4425 * mail/smtpmail.el (smtpmail-send-it):
4426 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4429 2012-03-09 Glenn Morris <rgm@gnu.org>
4431 * files.el (dir-locals-find-file):
4432 Don't check result is regular, readable.
4433 (dir-locals-read-from-file): Demote errors.
4435 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4437 * international/quail.el (quail-insert-kbd-layout):
4438 Insert invisible LRM characters before each character in a keyboard
4439 layout cell, to prevent their reordering by bidi display engine.
4440 For details, see the discussion in
4441 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4443 2012-03-08 Alan Mackenzie <acm@muc.de>
4445 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4446 the starting position; make it extend the marked region when
4447 invoked repeatedly - all under appropriate circumstances.
4448 Fixes bugs #5525, #10906.
4450 2012-03-08 Glenn Morris <rgm@gnu.org>
4452 * files.el (locate-dominating-file, dir-locals-find-file):
4453 Undo 2012-03-06 change.
4455 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4457 * international/quail.el (quail-help):
4458 Force bidi-paragraph-direction be left-to-right. See discussion in
4459 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4462 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4464 Avoid superfluous registering of signals. (Bug#10807)
4466 * notifications.el (notifications-on-action-object)
4467 (notifications-on-close-object): New defvars.
4468 (notifications-on-action-signal, notifications-on-closed-signal):
4469 Unregister the signal if not needed any longer.
4470 (notifications-notify): Register `notifications-action-signal' or
4471 `notifications-closed-signal', if :on-action or :on-close has been
4474 2012-03-07 Chong Yidong <cyd@gnu.org>
4476 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4479 2012-03-06 Glenn Morris <rgm@gnu.org>
4481 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4482 (x-disown-selection-internal, x-get-selection-internal):
4483 Doc fix (add arglist signatures). (Bug#10783)
4485 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4487 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4488 Handle breakpoints with no "type".
4490 2012-03-06 Glenn Morris <rgm@gnu.org>
4492 * files.el (locate-dominating-file): Add optional predicate argument.
4493 (dir-locals-find-file): Make use of above change.
4495 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4497 * info.el (Info-insert-dir): Also try "dir.gz".
4499 2012-03-06 Glenn Morris <rgm@gnu.org>
4501 * files.el (dir-locals-find-file):
4502 Ignore non-readable or non-regular files. (Bug#10928)
4504 * files.el (locate-dominating-file): Doc fix.
4506 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4508 * calendar/calendar.el (calendar-set-mode-line):
4509 `getenv' returns a string. (Bug#10951)
4511 2012-03-05 Leo Liu <sdl.web@gmail.com>
4513 * simple.el (backward-delete-char-untabify): Constrain point to
4516 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4518 2012-03-05 Chong Yidong <cyd@gnu.org>
4520 * simple.el (count-words): If called from Lisp, return the word
4521 count, for symmetry with `count-lines'. Arglist changed.
4522 (count-words--message): Args changed. Consolidate counting code
4523 from count-words and count-words-region.
4524 (count-words-region): Caller changed.
4525 (count-lines-region): Make it an obsolete alias.
4527 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4529 * saveplace.el (save-place-to-alist)
4530 (save-place-ignore-files-regexp): Allow value nil to disable this
4533 2012-03-04 Chong Yidong <cyd@gnu.org>
4535 * faces.el (face-spec-reset-face): For the default face, reset the
4536 attributes to default values (Bug#10748).
4538 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4540 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4541 previous patch: Check `message-send-mail-function', and not the
4542 default function (bug#10897).
4544 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4546 * notifications.el (notifications-on-action-signal)
4547 (notifications-on-closed-signal): Check for unique service name of
4548 incoming event. Fix error in removing entry.
4549 (top): Register for signals with wildcard service name.
4550 (notifications-notify): Use daemon unique service name for map entries.
4552 2012-03-04 Chong Yidong <cyd@gnu.org>
4554 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4556 2012-03-04 Glenn Morris <rgm@gnu.org>
4558 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4559 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4560 (expand-abbrev, define-abbrev-table): Doc fixes.
4562 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4564 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4565 `message-default-send-mail-function' and not `send-mail-function'
4566 when doing the prompting for `sendmail-query-once' before sending
4567 in Message buffers (bug#10897).
4569 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4570 This is inconsistent with all the other stream functions, which leave
4571 the setting up to the higher levels (if so wanted) (bug#10931).
4573 2012-03-02 Alan Mackenzie <acm@muc.de>
4575 Depessimize the handling of very large macros.
4577 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4578 (c-macro-cache-syntactic): New variables to implement a one
4579 element macro cache.
4580 (c-invalidate-macro-cache): New function.
4581 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4582 Adapt to use the new cache.
4583 (c-state-safe-place): Use better the cache of safe positions.
4584 (c-state-semi-nonlit-pos-cache)
4585 (c-state-semi-nonlit-pos-cache-limit):
4586 New variables for...
4587 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4588 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4589 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4590 Use c-state-semi-safe-place.
4592 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4593 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4595 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4597 * jka-compr.el (jka-compr-call-process):
4598 Apply `file-accessible-directory-p' only when the default directory is
4601 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4603 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4604 access of FILE2, if FILE1 does not exist.
4606 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4607 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4609 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4610 Add "PAGER=" to `process-environment'.
4612 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4614 * progmodes/sql.el: Bug fix
4615 (sql-get-login-ext): Save login values in globals.
4616 (sql-get-login): Use new version of `sql-get-login-ext'.
4617 (sql-interactive-mode): Set global `sql-connection' to nil.
4618 (sql-connect): Set global values for connection.
4619 (sql-product-interactive): Save global values as buffer local.
4621 2012-02-29 Leo Liu <sdl.web@gmail.com>
4623 * abbrev.el (define-abbrevs): Reset sys to nil.
4625 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4627 * files.el (file-equal-p): Rename from `files-equal-p'.
4628 Return nil when one or both files don't exist.
4629 (file-subdir-of-p): Now only top directory must exists,
4630 return nil if it doesn't.
4631 (copy-directory): No need to test with `file-subdir-of-p' after
4633 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4636 2012-02-28 Glenn Morris <rgm@gnu.org>
4638 * shell.el (shell-mode):
4639 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4640 * play/landmark.el (landmark-font-lock-face-O):
4641 * play/handwrite.el (handwrite):
4642 * play/gomoku.el (gomoku-O):
4643 * net/browse-url.el (browse-url-browser-display):
4644 * international/mule.el (define-charset):
4645 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4646 * filesets.el (filesets-find-file-delay):
4647 * eshell/em-xtra.el (eshell-xtra):
4648 * eshell/em-unix.el (eshell-grep):
4649 * emulation/viper.el (viper-mode):
4650 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4651 * emacs-lisp/easymenu.el (easy-menu-define):
4652 * calendar/timeclock.el (timeclock-use-display-time):
4654 * bookmark.el (bookmark-save-flag):
4655 Doc fix (standardize possessive apostrophe usage).
4657 2012-02-27 Chong Yidong <cyd@gnu.org>
4659 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4660 Fix key-binding lookup for ESC key (Bug#9146).
4662 * font-lock.el (font-lock-specified-p): Rename from
4663 font-lock-spec-present. Callers changed.
4665 2012-02-27 Daniel Hackney <dan@haxney.org>
4667 * emacs-lisp/package.el (package-compute-transaction):
4668 Handle holding a package version to t in package-load-list.
4670 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4672 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4673 (tramp-get-inode, tramp-get-device): Use cached values.
4675 2012-02-26 Alan Mackenzie <acm@muc.de>
4677 Check there is a font-lock specification before doing initial
4680 * font-core.el (font-lock-mode): Move the conditional from
4681 :after-hook to font-lock-initial-fontify.
4682 (font-lock-default-function): Move the check for a specification
4683 to font-lock-spec-present.
4685 * font-lock.el (font-lock-initial-fontify): Call ...
4686 (font-lock-spec-present): New function.
4688 2012-02-26 Jim Blandy <jimb@red-bean.com>
4690 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4691 (gdb-send): Apply it to the operand of the '-interpreter-exec
4692 console' command, so that we can pass arguments with (say) quotes
4693 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4695 2012-02-26 Chong Yidong <cyd@gnu.org>
4697 * help-fns.el (describe-function-1): Clarify description of
4698 remapping (Bug#10844).
4700 * files.el (files-equal-p): Doc fix.
4701 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4702 and quit the loop once a mismatch is found.
4704 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4706 * bs.el (bs--show-with-configuration): Don't throw an error
4707 if the window cannot be split; otherwise, subsequent calls to
4708 bs-show fail, restoring a stale window config. (Bug#10882)
4710 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4712 * term/ns-win.el (global-map): Bind ns-drag-file to
4713 ns-find-file (Bug#5855, Bug#10050).
4715 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4717 * calendar/parse-time.el (parse-time-string): Allow extractor to
4720 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4722 * net/tramp.el (tramp-file-name-for-operation):
4723 Add `files-equal-p' and `file-subdir-of-p'.
4725 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4726 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4727 Add COPY-CONTENTS argument.
4729 2012-02-25 Chong Yidong <cyd@gnu.org>
4731 Add custom groups for VC backends, for consistency with vc-bzr.
4733 * vc/vc-arch.el (vc-arch):
4734 * vc/vc-cvs.el (vc-cvs):
4735 * vc/vc-git.el (vc-git):
4736 * vc/vc-hg.el (vc-hg):
4737 * vc/vc-mtn.el (vc-mtn):
4738 * vc/vc-rcs.el (vc-rcs):
4739 * vc/vc-sccs.el (vc-sccs):
4740 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4741 All relevant defcustoms reassigned.
4743 2012-02-25 Chong Yidong <cyd@gnu.org>
4745 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4747 * term/x-win.el (x-initialize-window-system): Reduce default for
4748 x-selection-timeout to 5 seconds (Bug#8869).
4750 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4752 * files.el (files-equal-p, file-subdir-of-p): New functions.
4753 (copy-directory): Error when trying to copy a directory on itself.
4754 Add missing copy-contents arg to tramp handler.
4755 * dired-aux.el (dired-copy-file-recursive): Same.
4756 (dired-create-files): Modify destination when source is equal to
4757 dest when copying files.
4758 Return also when dest is a subdir of source. (Bug#10489)
4760 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
4762 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4765 2012-02-23 Alan Mackenzie <acm@muc.de>
4767 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4768 parameter "after-hook:" to allow the expansion to run code after
4769 the execution of the mode hooks.
4771 * font-lock.el (font-lock-initial-fontify): New function extracted
4772 from font-lock-mode-internal.
4774 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4777 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4780 (completion--cache-all-sorted-completions): New function.
4781 (completion-all-sorted-completions): Use it.
4782 (completion--do-completion, minibuffer-force-complete):
4783 Use it to re-instate the flush hook.
4785 * icomplete.el (icomplete-completions): Replace last fix with a better
4788 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4790 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4791 when it might call us back infinitely (bug#10797).
4793 2012-02-23 Glenn Morris <rgm@gnu.org>
4795 * minibuffer.el (completion-category-overrides): Doc fix.
4797 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4799 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4800 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4802 2012-02-23 Glenn Morris <rgm@gnu.org>
4804 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4805 (authors-obsolete-files-regexps, authors-ignored-files)
4806 (authors-ambiguous-files, authors-renamed-files-alist):
4809 2012-02-23 Juri Linkov <juri@jurta.org>
4811 * isearch.el (isearch-occur): Sync interactive spec with occur's
4812 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4814 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4816 2012-02-22 Juri Linkov <juri@jurta.org>
4818 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4819 (ucs-insert): Doc fix. Check for hex digits in the string.
4820 Don't display `nil' in the error message. (Bug#10857)
4822 2012-02-22 Alan Mackenzie <acm@muc.de>
4824 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4826 2012-02-22 Glenn Morris <rgm@gnu.org>
4828 * ffap.el (ffap-c-path):
4829 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4831 2012-02-22 Chong Yidong <cyd@gnu.org>
4833 * custom.el (load-theme): Doc fix.
4835 2012-02-22 Glenn Morris <rgm@gnu.org>
4837 * dired-x.el (dired-guess-shell-alist-default):
4838 Remove escape sequences from nroff output. (Bug#172)
4840 2012-02-21 Glenn Morris <rgm@gnu.org>
4842 * vc/emerge.el (emerge-defvar-local):
4843 Set `permanent-local' property rather than unused `preserved'.
4845 * textmodes/picture.el (picture-delete-char): New alias.
4846 (picture-mode-map): Use it. (Bug#10860)
4847 (picture-mode): Doc fix.
4849 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4851 * newcomment.el (uncomment-region-default): Remove unused binding.
4853 2012-02-21 Glenn Morris <rgm@gnu.org>
4855 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4856 (picture-self-insert, picture-tab-chars): Doc fix.
4857 (picture-mode-map): Fix C-a, C-e.
4859 2012-02-20 Glenn Morris <rgm@gnu.org>
4861 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4863 2012-02-20 Leo Liu <sdl.web@gmail.com>
4865 * icomplete.el (icomplete-completions): Check FROM arg before
4866 passing to substring (Bug#10850).
4868 2012-02-19 Chong Yidong <cyd@gnu.org>
4870 * comint.el: Require ansi-color.
4871 (comint-output-filter-functions): Add ansi-color-process-output.
4873 * ansi-color.el: Don't set comint-output-filter-functions; it is
4874 now in the initial value defined in comint.el.
4875 (ansi-color-apply-face-function): New variable.
4876 (ansi-color-apply-on-region): Use it.
4877 (ansi-color-apply-overlay-face): New function.
4879 * shell.el (shell): No need to require ansi-color.
4880 (shell-mode): Use ansi-color-apply-face-function to highlight
4881 color escapes using font-lock-face property (Bug#10835).
4883 2012-02-19 Chong Yidong <cyd@gnu.org>
4885 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4886 mode-line formats (Bug#10839).
4888 2012-02-18 Glenn Morris <rgm@gnu.org>
4890 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4892 * mail/undigest.el (unforward-rmail-message): Doc fix.
4894 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4896 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4898 * international/characters.el (script-list): Sync with the latest
4899 Unicode Character Database.
4901 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4903 * international/titdic-cnv.el: Remove duplicate coding tag.
4904 * language/cham.el: Likewise.
4905 * language/tai-viet.el: Likewise.
4907 2012-02-18 Glenn Morris <rgm@gnu.org>
4909 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4910 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4911 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4912 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4913 * calendar/holidays.el (holiday-bahai-holidays)
4914 (calendar-holidays, list-holidays):
4915 Use utf-8 Bahá'í in doc-strings, menus, etc.
4917 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4919 * saveplace.el (save-place-ignore-files-regexp): New variable
4920 allowing for excluding files from saving their location of point.
4921 The default value matches the temporary commit message editing
4922 files from Git, SVN, Bazaar, and Mercurial.
4923 (save-place-to-alist): Use it.
4925 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4926 Stefan Monnier <monnier@iro.umontreal.ca>
4928 * newcomment.el (uncomment-region-default): Don't leave extra space
4929 when an arg is provided (bug#8150).
4931 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4933 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4935 2012-02-17 Glenn Morris <rgm@gnu.org>
4937 * net/socks.el: Require network-stream. (Bug#10599)
4939 2012-02-17 Kenichi Handa <handa@m17n.org>
4941 * international/charprop.el:
4942 * international/uni-name.el:
4943 * international/uni-old-name.el:
4944 * international/uni-comment.el: Regenerate.
4946 2012-02-16 Glenn Morris <rgm@gnu.org>
4948 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4949 Interactively in calendar buffer, give an error if not on a date.
4951 2012-02-15 Glenn Morris <rgm@gnu.org>
4953 * shell.el (shell-delimiter-argument-list):
4954 Revert 2011-02-17 change. (Bug#8027)
4956 2012-02-15 Chong Yidong <cyd@gnu.org>
4958 * minibuffer.el (completion-at-point-functions): Doc fix.
4960 * custom.el (defcustom): Doc fix; note use of defvar.
4962 2012-02-15 Glenn Morris <rgm@gnu.org>
4964 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4967 2012-02-14 Glenn Morris <rgm@gnu.org>
4969 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4971 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4973 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4974 way the ports list is computed.
4975 (smtpmail-query-smtp-server): Prompt the user for a port number if
4976 we can't connect to any of the standard ports (bug#10810).
4978 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4980 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4982 2012-02-13 Glenn Morris <rgm@gnu.org>
4984 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4986 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4988 * net/gnutls.el (gnutls-trustfiles): New variable.
4989 (gnutls-negotiate): Use it.
4991 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4993 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4994 does its stuff if Gnus is running.
4996 2012-02-13 Alan Mackenzie <acm@muc.de>
4998 Fix a loop in c-set-fl-decl-start.
5000 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5001 c-backward-syntactic-ws actually moves backwards.
5003 2012-02-13 Leo Liu <sdl.web@gmail.com>
5005 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5006 beginning so that all \C-o chars are removed.
5008 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5010 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5012 2012-02-12 Alan Mackenzie <acm@muc.de>
5014 Fix infinite loop with long macros.
5015 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5017 2012-02-12 Chong Yidong <cyd@gnu.org>
5019 * window.el (display-buffer): Doc fix (Bug#10785).
5021 2012-02-12 Glenn Morris <rgm@gnu.org>
5023 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5024 (x-disown-selection-internal, x-get-selection-internal):
5025 Sync docs with the xselect.c versions.
5027 * allout-widgets.el: Add missing license notice.
5029 2012-02-11 Glenn Morris <rgm@gnu.org>
5031 * select.el (x-get-selection-internal, x-own-selection-internal)
5032 (x-disown-selection-internal):
5033 * x-dnd.el (x-get-selection-internal): Update declarations.
5035 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5037 * window.el (window-sides-slots):
5038 * tool-bar.el (tool-bar-position):
5039 * term/xterm.el (xterm-extra-capabilities):
5040 * ses.el (ses-self-reference-early-detection):
5041 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5042 (verilog-auto-wire-type)
5043 (verilog-auto-delete-trailing-whitespace)
5044 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5045 (verilog-auto-tieoff-declaration):
5046 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5047 (sql-oracle-statement-starters, sql-oracle-scan-on):
5048 * progmodes/prolog.el (prolog-align-comments-flag)
5049 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5050 (prolog-left-indent-regexp, prolog-paren-indent-p)
5051 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5052 (prolog-types, prolog-mode-specificators)
5053 (prolog-determinism-specificators, prolog-directives)
5054 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5055 (prolog-electric-dot-flag)
5056 (prolog-electric-dot-full-predicate-template)
5057 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5058 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5059 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5060 (prolog-program-switches, prolog-prompt-regexp)
5061 (prolog-debug-on-string, prolog-debug-off-string)
5062 (prolog-trace-on-string, prolog-trace-off-string)
5063 (prolog-zip-on-string, prolog-zip-off-string)
5064 (prolog-use-standard-consult-compile-method-flag)
5065 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5066 (prolog-imenu-max-lines, prolog-info-predicate-index)
5067 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5068 (prolog-char-quote-workaround):
5069 * progmodes/cc-vars.el (c-defun-tactic):
5070 * net/tramp.el (tramp-encoding-command-interactive)
5071 (tramp-local-end-of-line):
5072 * net/soap-client.el (soap-client):
5073 * net/netrc.el (netrc-file):
5074 * net/gnutls.el (gnutls):
5075 * minibuffer.el (completion-category-overrides)
5076 (completion-cycle-threshold)
5077 (completion-pcm-complete-word-inserts-delimiters):
5078 * man.el (Man-name-local-regexp):
5079 * mail/feedmail.el (feedmail-display-full-frame):
5080 * international/characters.el (glyphless-char-display-control):
5081 * eshell/em-ls.el (eshell-ls-date-format):
5082 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5083 (lisp-lambda-list-keyword-parameter-indentation)
5084 (lisp-lambda-list-keyword-parameter-alignment):
5085 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5086 * dired-x.el (dired-omit-verbose):
5087 * cus-theme.el (custom-theme-allow-multiple-selections):
5088 * calc/calc.el (calc-highlight-selections-with-faces)
5089 (calc-lu-field-reference, calc-lu-power-reference)
5090 (calc-note-threshold):
5091 * battery.el (battery-mode-line-limit):
5092 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5093 (archive-7z-update):
5094 * allout.el (allout-prefixed-keybindings)
5095 (allout-unprefixed-keybindings)
5096 (allout-inhibit-auto-fill-on-headline)
5097 (allout-flattened-numbering-abbreviation):
5098 * allout-widgets.el (allout-widgets-auto-activation)
5099 (allout-widgets-icons-dark-subdir)
5100 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5101 (allout-widgets-theme-dark-background)
5102 (allout-widgets-theme-light-background)
5103 (allout-widgets-item-image-properties-emacs)
5104 (allout-widgets-item-image-properties-xemacs)
5105 (allout-widgets-run-unit-tests-on-load)
5106 (allout-widgets-time-decoration-activity)
5107 (allout-widgets-hook-error-post-time)
5108 (allout-widgets-track-decoration):
5109 Add missing :version tags to new defcustoms and defgroups.
5111 * progmodes/sql.el (sql-ansi-statement-starters)
5112 (sql-oracle-statement-starters): Add custom type.
5114 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5115 (prolog-system-version): Give it a type.
5117 2012-02-11 Eli Zaretskii <eliz@gnu.org>
5119 * term/pc-win.el (x-select-text, x-selection-owner-p)
5120 (x-own-selection-internal, x-disown-selection-internal)
5121 (x-get-selection-internal): Sync doc strings and argument lists
5122 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5124 2012-02-11 Leo Liu <sdl.web@gmail.com>
5126 * progmodes/python.el (python-end-of-statement): Fix infinite
5129 2012-02-10 Glenn Morris <rgm@gnu.org>
5131 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5132 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5134 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5136 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5137 about SMTP before checking the From header.
5139 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5140 into own function for reuse by emacsbug.el.
5142 2012-02-10 Leo Liu <sdl.web@gmail.com>
5144 * subr.el (condition-case-unless-debug): Rename from
5145 condition-case-no-debug. All callers changed.
5146 (with-demoted-errors): Fix caller.
5148 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5149 * nxml/rng-valid.el (rng-do-some-validation):
5150 * emacs-lisp/package.el (package-refresh-contents)
5151 (package-menu-execute):
5152 * desktop.el (desktop-create-buffer):
5153 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5155 2012-02-10 Glenn Morris <rgm@gnu.org>
5157 * textmodes/bibtex.el:
5158 Add missing :version tags for new/changed defcustoms.
5160 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5162 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
5164 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5165 (smtpmail-via-smtp): Use it, or fall back on the From address.
5166 (smtpmail-send-it): Ditto.
5168 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5170 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5171 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5172 (byte-compile-tmp-var): New const.
5173 (byte-compile-defvar): Use it to minimize .elc size.
5174 Just use `defvar' rather than simulate it (bug#10761).
5176 2012-02-09 Glenn Morris <rgm@gnu.org>
5178 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5180 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5183 * progmodes/compile.el (compilation-error-screen-columns)
5184 (compilation-first-column, compilation-filter-start): Doc fixes.
5186 * vc/log-view.el (log-view-toggle-entry-display):
5187 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5189 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5190 (report-emacs-bug-can-use-xdg-email):
5191 (report-emacs-bug-insert-to-mailer): Doc fixes.
5192 (report-emacs-bug): Message fix.
5194 * net/browse-url.el (browse-url-can-use-xdg-open)
5195 (browse-url-xdg-open): Doc fixes.
5197 * electric.el (electric-indent-mode, electric-pair-mode)
5198 (electric-layout-rules, electric-layout-mode): Doc fixes.
5199 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5201 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5203 * server.el (server-unselect-display): Don't inadvertently kill
5204 the current buffer. (Bug#10729)
5206 2012-02-08 Glenn Morris <rgm@gnu.org>
5208 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5209 (sql-list-table): Doc fixes.
5211 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5212 Comment out (does nothing).
5214 * completion.el (dynamic-completion-mode):
5215 * dirtrack.el (dirtrack-debug-mode):
5216 * electric.el (electric-layout-mode):
5217 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5218 * face-remap.el (text-scale-mode, buffer-face-mode):
5219 * iimage.el (iimage-mode):
5220 * image-mode.el (image-transform-mode):
5221 * minibuffer.el (completion-in-region-mode):
5222 * scroll-lock.el (scroll-lock-mode):
5223 * simple.el (next-error-follow-minor-mode):
5224 * tar-mode.el (tar-subfile-mode):
5225 * tooltip.el (tooltip-mode):
5226 * vcursor.el (vcursor-use-vcursor-map):
5227 * wid-browse.el (widget-minor-mode):
5228 * emulation/tpu-edt.el (tpu-edt-mode):
5229 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5230 * international/iso-ascii.el (iso-ascii-mode):
5231 * language/thai-util.el (thai-word-mode):
5232 * mail/supercite.el (sc-minor-mode):
5233 * net/goto-addr.el (goto-address-mode):
5234 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5235 * progmodes/cwarn.el (cwarn-mode):
5236 * progmodes/flymake.el (flymake-mode):
5237 * progmodes/glasses.el (glasses-mode):
5238 * progmodes/hideshow.el (hs-minor-mode):
5239 * progmodes/pascal.el (pascal-outline-mode):
5240 * textmodes/enriched.el (enriched-mode):
5241 * vc/smerge-mode.el (smerge-mode):
5242 Doc fixes (minor mode argument).
5244 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5246 * ls-lisp.el (ls-lisp-sanitize): New function.
5247 (ls-lisp-insert-directory): Use it to fix or remove any elements
5248 in file-alist with missing attributes. (Bug#4673)
5250 2012-02-07 Alan Mackenzie <acm@muc.de>
5252 Fix spurious recognition of c-in-knr-argdecl.
5254 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5255 putative K&R region.
5257 2012-02-07 Alan Mackenzie <acm@muc.de>
5259 * progmodes/cc-engine.el (c-forward-objc-directive):
5260 Prevent looping in "#pragma mark @implementation".
5262 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5264 * notifications.el (notifications-on-closed-signal): Make `reason'
5265 optional. (Bug#10744)
5267 2012-02-07 Glenn Morris <rgm@gnu.org>
5269 * emacs-lisp/easy-mmode.el (define-minor-mode):
5270 Doc fixes for the macro and the mode it defines.
5272 * image.el (imagemagick-types-inhibit): Doc fix.
5274 * cus-start.el (imagemagick-render-type): Add it.
5276 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5278 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5279 Set the default at load time, too, so that `font-lock-fontify-buffer'
5280 can be called without setting up the entire mode first. This fixes
5281 a bug in `mm-inline-text' with C MIME parts.
5283 2012-02-06 Chong Yidong <cyd@gnu.org>
5285 * simple.el (list-processes--refresh): Delete exited processes
5288 * comint.el (comint-next-prompt): next-single-char-property-change
5289 and prev-single-char-property-change never return nil (Bug#8657).
5291 * custom.el (defcustom): Doc fix (Bug#9711).
5293 2012-02-05 Chong Yidong <cyd@gnu.org>
5295 * cus-edit.el (custom-variable-reset-backup): Quote the value
5296 before storing it in the customized-value property (Bug#6712).
5297 (custom-display): Add a customization type tag.
5298 (custom-buffer-create-internal): Improve tooltip message.
5300 * wid-edit.el (widget-field-value-get): New optional arg to
5301 suppress trailing whitespace truncation.
5302 (character): Use it (Bug#2689).
5304 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5306 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5307 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5309 2012-02-05 Chong Yidong <cyd@gnu.org>
5311 * cus-edit.el (custom-variable-value-create): For mismatched
5312 types, show the current value (Bug#7600).
5314 * custom.el (defcustom): Doc fix.
5316 2012-02-05 Glenn Morris <rgm@gnu.org>
5318 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5320 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5322 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5323 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5324 (pp-last-sexp): Use `looking-at-p'.
5326 2012-02-04 Glenn Morris <rgm@gnu.org>
5328 * files.el (revert-buffer):
5329 Doc fix (mention revert-buffer-in-progress-p).
5331 * emacs-lisp/ert-x.el (ert-simulate-command):
5332 Check deferred-action-list (which is obsolete) is bound.
5334 * subr.el (with-wrapper-hook): Doc fixes.
5336 * simple.el (filter-buffer-substring-functions)
5337 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5339 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5341 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5342 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5344 2012-02-04 Leo Liu <sdl.web@gmail.com>
5346 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5348 2012-02-04 Glenn Morris <rgm@gnu.org>
5350 * image.el (image-extension-data): Add obsolete alias.
5352 * isearch.el (isearch-update): Doc fix.
5354 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5356 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5358 2012-02-03 Glenn Morris <rgm@gnu.org>
5360 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5361 (image-animate-timeout): Doc fix.
5363 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5365 2012-02-02 Glenn Morris <rgm@gnu.org>
5367 * server.el (server-auth-dir): Doc fix.
5368 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5370 * subr.el (run-mode-hooks): Doc fix.
5372 2012-02-02 Juri Linkov <juri@jurta.org>
5374 * image-mode.el (image-toggle-display-image): Remove tautological
5375 `major-mode' from the `derived-mode-p' test.
5377 2012-02-02 Kenichi Handa <handa@m17n.org>
5379 * composite.el (compose-region): Cancel previous change.
5381 2012-02-02 Kenichi Handa <handa@m17n.org>
5383 * composite.el (compose-region, compose-string): Signal error for
5384 a null string component (Bug#6988).
5386 2012-02-01 Chong Yidong <cyd@gnu.org>
5388 * view.el (view-buffer-other-window, view-buffer-other-frame):
5389 Handle special modes like view-buffer (Bug#10650).
5390 (view-buffer): Simplify.
5392 * frame.el (set-frame-font): Tweak meaning of third argument.
5394 * dynamic-setting.el (font-setting-change-default-font):
5395 Use set-frame-font (Bug#9982).
5397 2012-02-01 Glenn Morris <rgm@gnu.org>
5399 * progmodes/compile.el (compilation-internal-error-properties):
5400 Respect compilation-first-column in the "*compilation*" buffer.
5402 * emacs-lisp/easy-mmode.el (define-minor-mode):
5403 Relax :variable's test for a named function.
5405 2012-01-31 Alan Mackenzie <acm@muc.de>
5407 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5410 2012-01-31 Chong Yidong <cyd@gnu.org>
5412 * frame.el (set-frame-font): New arg ALL-FRAMES.
5414 * menu-bar.el (menu-set-font): Use set-frame-font.
5416 * faces.el (face-spec-reset-face): Don't apply unspecified
5417 attribute values to the default face.
5419 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5421 * progmodes/cwarn.el (cwarn): Remove dead link.
5422 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5423 Remove * from defcustom docstrings.
5424 (turn-on-cwarn-mode): Make obsolete.
5425 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5426 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5428 2012-01-31 Glenn Morris <rgm@gnu.org>
5430 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5431 Fix :variable handling of mode a symbol not equal to modefun.
5432 Allow named functions to be used as the cdr of :variable.
5434 2012-01-30 Glenn Morris <rgm@gnu.org>
5436 * emacs-lisp/authors.el (authors-fixed-entries):
5437 Remove reference to deleted file rnewspost.el.
5439 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5441 * window.el (window-with-parameter): Remove unused variable `windows'.
5442 (window--side-check): Remove unused variable `code'.
5443 (window--resize-siblings): Remove unused variable `first'.
5444 (adjust-window-trailing-edge): Remove unused variable `failed'.
5445 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5446 Use `let', not `let*'.
5447 (balance-windows-2): Remove unused variable `found'.
5448 (window--state-put-2): Remove unused variable `splits'.
5449 (window-state-put): Remove unused variable `selected'.
5450 (same-window-p): Use `string-match-p'.
5451 (display-buffer-assq-regexp): Remove unused variable `value'.
5452 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5453 Mark argument ALIST as ignored.
5454 (pop-to-buffer): Remove unused variable `old-window'.
5456 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5458 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5459 and .lzma compressed files.
5461 2012-01-29 Chong Yidong <cyd@gnu.org>
5463 * frame.el (window-system-default-frame-alist): Doc fix.
5465 * dynamic-setting.el (font-setting-change-default-font): Don't
5466 change the default face if SET-FONT argument is non-nil (Bug#9982).
5468 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5470 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5472 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5474 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5475 breakpoints in files outside current directory (Bug#6098).
5477 2012-01-29 Chong Yidong <cyd@gnu.org>
5479 * progmodes/python.el: Require ansi-color at top-level.
5481 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5482 Define and use in Emacs Lisp mode (Bug#9360).
5483 (lisp-mode-abbrev-table): Add doc.
5484 (lisp-mode-variables): Don't set local-abbrev-table.
5485 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5487 2012-01-28 Roland Winkler <winkler@gnu.org>
5489 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5491 2012-01-28 Roland Winkler <winkler@gnu.org>
5493 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5494 (bibtex-set-dialect): Use it. Either set global values of
5495 dialect-dependent variables or bind these variables buffer-locally
5497 (bibtex-mode): Call bibtex-set-dialect via
5498 hack-local-variables-hook.
5499 (bibtex-dialect): Update docstring.
5500 Add safe-local-variable predicate.
5501 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5503 (bibtex-mode-map): Define menu for each dialect.
5504 (bibtex-entry): Fix docstring.
5506 2012-01-28 Chong Yidong <cyd@gnu.org>
5508 * eshell/esh-arg.el (eshell-quote-argument): New function.
5510 * eshell/esh-ext.el (eshell-invoke-batch-file):
5511 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5512 first arg to eshell-parse-command (Bug#10523).
5514 2012-01-28 Drew Adams <drew.adams@oracle.com>
5516 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5517 `default-directory' is non-nil.
5519 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5521 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5522 line that displays system-configuration-options. (Bug#9924)
5524 2012-01-28 Drew Adams <drew.adams@oracle.com>
5526 * descr-text.el (describe-char): Show information about POS, in
5527 addition to information about the character at POS. Improve and
5528 update the doc string. Change "code point" to "code point in
5529 charset", to avoid confusion with the character's Unicode code
5530 point shown above that. (Bug#10129)
5532 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5534 * descr-text.el (describe-char): Show the raw character, not only
5535 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5536 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5539 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5541 * emacs-lisp/package.el (package-install):
5542 Run package-refresh-contents if there is no archive yet (Bug#9798).
5544 2012-01-28 Chong Yidong <cyd@gnu.org>
5546 * emacs-lisp/package.el (package-maybe-load-descriptor):
5547 New function, split from package-maybe-load-descriptor.
5548 (package-maybe-load-descriptor): Use it.
5549 (package-download-transaction): Fully load required packages
5550 inside the loop, so that `require' calls work (Bug#10593).
5551 (package-install): No need to call package-initialize now.
5553 2012-01-28 Chong Yidong <cyd@gnu.org>
5555 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5557 * tooltip.el (tooltip-mode): Doc fix.
5558 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5560 * frame.el (set-cursor-color): Doc fix (Bug#352).
5562 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5563 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5565 * cus-edit.el (custom-buffer-create-internal): Fix search button
5567 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5569 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5571 * dired.el (dired-mark-files-regexp):
5572 Include any subdirectory components. (Bug#10445)
5574 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5576 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5577 Handle [host]:port syntax. (Bug#10533)
5579 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5581 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5583 2012-01-26 Glenn Morris <rgm@gnu.org>
5585 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5586 * term.el (term-raw-escape-map): Use Control-X-prefix.
5587 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5589 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5591 * window.el (window-state-get, window--state-get-1): Don't deal
5592 with fixed-sizeness of windows. Simplify code.
5594 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5596 * window.el (window--state-get-1, window--state-put-2):
5597 Don't save and restore the mark.
5599 2012-01-25 Chong Yidong <cyd@gnu.org>
5601 * custom.el (custom-variable-p): Doc fix.
5603 2012-01-25 Glenn Morris <rgm@gnu.org>
5605 * dired.el (dired-goto-file): Handle some of the more common
5606 characters that `ls -b' escapes. (Bug#10596)
5608 * progmodes/compile.el (compilation-next-error-function):
5609 Respect compilation-first-column in the "*compilation*" buffer.
5610 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5612 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5614 2012-01-24 Glenn Morris <rgm@gnu.org>
5616 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5618 2012-01-24 Julien Danjou <julien@danjou.info>
5620 * color.el (color-rgb-to-hsl): Fix value computing.
5621 (color-hue-to-rgb): New function.
5622 (color-hsl-to-rgb): New function.
5623 (color-clamp, color-saturate-hsl, color-saturate-name)
5624 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5625 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5627 2012-01-24 Glenn Morris <rgm@gnu.org>
5629 * vc/vc-rcs.el (vc-rcs-create-tag):
5630 * vc/vc-sccs.el (vc-sccs-create-tag):
5631 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5633 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5635 * eshell/esh-util.el (eshell-read-hosts-file):
5636 Skip comment lines. (Bug#10549)
5638 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5640 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5642 * subr.el (display-delayed-warnings): Doc fix.
5643 (collapse-delayed-warnings): New function to collapse identical
5645 (delayed-warnings-hook): Add it.
5647 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5649 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5651 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5652 (tramp-default-user-alist): Don't add "pscp".
5653 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5654 property "login-as", if set. (Bug#10530)
5656 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5658 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5659 "plink1" and "psftp". (Bug#10530)
5661 2012-01-21 Kenichi Handa <handa@m17n.org>
5663 * international/mule-cmds.el (prefer-coding-system): Show a
5664 warning message if the default value of file-name-coding-system
5667 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5669 * windmove.el (windmove-reference-loc):
5670 Fix windmove-reference-loc miscalculation.
5672 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5674 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5677 2012-01-21 Glenn Morris <rgm@gnu.org>
5679 * international/mule.el (auto-coding-alist): Add .tbz.
5681 * files.el (local-enable-local-variables): Doc fix.
5682 (inhibit-local-variables-regexps): Rename from
5683 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5684 Doc fix. Add some extensions from auto-coding-alist.
5685 (inhibit-local-variables-suffixes):
5686 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5687 (inhibit-local-variables-p):
5688 New function, extracted from set-auto-mode-1.
5689 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5690 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5691 (hack-local-variables): Doc fix. Make the mode-only case
5692 respect enable-local-variables and friends.
5693 Respect inhibit-local-variables-regexps for file-locals, but
5694 not for directory-locals.
5695 (set-visited-file-name):
5696 Take account of inhibit-local-variables-regexps.
5697 Whether it applies may change as the file name is changed.
5698 * jka-cmpr-hook.el (jka-compr-install):
5699 * jka-compr.el (jka-compr-uninstall):
5700 Update for inhibit-first-line-modes-suffixes name change.
5702 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5704 * help-macro.el (make-help-screen): Temporarily restore original
5705 binding for minor-mode-map-alist (Bug#10454).
5707 2012-01-19 Julien Danjou <julien@danjou.info>
5709 * color.el (color-name-to-rgb): Use the white color to find the max
5710 color component value and return correctly computed values.
5711 (color-name-to-rgb): Add missing float conversion for max value.
5713 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5715 * window.el (window--state-get-1, window-state-get): Do not use
5716 special state value for window-persistent-parameters.
5717 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5718 (window--state-put-2): Reset all window parameters to nil before
5719 assigning values of persistent parameters.
5721 2012-01-18 Alan Mackenzie <acm@muc.de>
5723 Eliminate sluggishness and hangs in fontification of "semicolon
5726 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5727 Change value 10000 -> 3000.
5728 (c-state-safe-place): Reformulate so it doesn't stack up an
5729 infinite number of wrong entries in c-state-nonlit-pos-cache.
5730 (c-determine-limit-get-base, c-determine-limit): New functions to
5731 determine backward search limits disregarding literals.
5732 (c-find-decl-spots): Amend commenting.
5733 (c-cheap-inside-bracelist-p): New function which detects "={".
5735 * progmodes/cc-fonts.el
5736 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5738 (c-font-lock-declarations): Fix an occurrence of point being
5739 undefined. Check additionally for point being in a bracelist or
5740 near a macro invocation without a semicolon so as to avoid a
5741 fruitless time consuming search for a declarator. Give a more
5742 precise search limit for declarators using the new
5745 2012-01-18 Glenn Morris <rgm@gnu.org>
5747 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5748 (set-auto-mode): Doc fixes.
5750 2012-01-17 Glenn Morris <rgm@gnu.org>
5752 * isearch.el (search-nonincremental-instead): Fix doc typo.
5754 * dired.el (dired-insert-directory): Handle newlines in directory name.
5755 (dired-build-subdir-alist): Unescape newlines in directory name.
5757 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
5759 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5760 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5761 (tramp-action-terminal): Use it. (Bug#10530)
5763 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5765 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5767 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5769 * window.el (window-state-ignored-parameters): Remove variable.
5770 (window--state-get-1): Rename argument MARKERS to IGNORE.
5771 Handle persistent window parameters. Make copy of clone-of
5772 parameter only if requested. (Bug#10348)
5773 (window--state-put-2): Install a window parameter only if it has
5774 a non-nil value or an existing parameter shall be overwritten.
5776 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5778 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5780 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5782 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5783 don't pass the (nil) value of `upnode' to string-match.
5785 2012-01-14 Chong Yidong <cyd@gnu.org>
5787 * startup.el (command-line): Fix X resource class for cursorColor.
5788 Fix values recognized by the cursorBlink resource.
5790 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5792 * epg.el (epg--make-temp-file): Avoid permission race condition
5793 when running on old Emacs versions (bug#10403).
5795 2012-01-14 Glenn Morris <rgm@gnu.org>
5797 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5799 2012-01-13 Alan Mackenzie <acm@muc.de>
5801 Fix filling for when filladapt mode is enabled.
5803 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5804 c-mask-paragraph, pass in `fill-paragraph' rather than
5805 `fill-region-as-paragraph'. (This is a reversion of a previous
5807 * progmodes/cc-mode.el (c-basic-common-init):
5808 Make fill-paragraph-handle-comment buffer local and set it to nil.
5810 2012-01-13 Glenn Morris <rgm@gnu.org>
5812 * dired.el (dired-switches-escape-p): New function.
5813 (dired-insert-directory): Use dired-switches-escape-p.
5814 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5816 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5818 2012-01-12 Glenn Morris <rgm@gnu.org>
5820 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5821 changes in adaptive-fill-regexp. (Bug#10276)
5823 2012-01-11 Alan Mackenzie <acm@muc.de>
5825 Fix Emacs bug #10463 - put `widen's around the critical spots.
5827 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5828 widen around each invocation of c-state-pp-to-literal. Remove an
5829 unused let variable.
5831 2012-01-11 Glenn Morris <rgm@gnu.org>
5833 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5836 2012-01-10 Chong Yidong <cyd@gnu.org>
5838 * net/network-stream.el (network-stream-open-starttls):
5839 Avoid emitting a confusing error message when the server gives a bad
5840 response to the capability command.
5842 2012-01-10 Glenn Morris <rgm@gnu.org>
5844 * mail/unrmail.el (unrmail): Tweak previous change.
5846 2012-01-09 Chong Yidong <cyd@gnu.org>
5848 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5850 2012-01-08 Alan Mackenzie <acm@muc.de>
5852 Optimise font locking in long enum definitions.
5854 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5855 arm to a cond form to handle enums.
5856 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5857 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5859 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5861 * files.el (move-file-to-trash): Preserve default file modes on error.
5864 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5866 * faces.el (set-face-attribute): Clarify the meaning of the nil
5869 * subr.el (with-selected-frame): Mention that the selected frame
5870 is restored (bug#9980).
5872 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5875 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5876 (password-read): Don't autoload unused function.
5878 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5880 * progmodes/which-func.el (which-func-mode): Turn into a
5881 non-interactive function and mark as obsolete (bug#10428).
5883 2012-01-06 Chong Yidong <cyd@gnu.org>
5885 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5886 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5887 functions, along with 1 and -1.
5889 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5891 * time.el (display-time-load-average)
5892 (display-time-default-load-average): Doc fixes. See the thread
5894 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5897 2012-01-06 Glenn Morris <rgm@gnu.org>
5899 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5900 has no messages. (Bug#10377)
5902 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5903 than Info-edit. (Bug#10385)
5905 * time.el (display-time-load-average, display-time-next-load-average):
5908 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5909 local setting of buffer-read-only to the input buffer. (Bug#10419)
5911 * calendar/calendar.el (calendar-mode):
5912 Locally set scroll-margin to 0. (Bug#10379)
5914 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5916 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5918 2012-01-05 Glenn Morris <rgm@gnu.org>
5920 * eshell/em-unix.el (diff-no-select): Autoload it.
5921 (eshell/diff): Use diff-no-select. (Bug#10420)
5923 2012-01-05 Chong Yidong <cyd@gnu.org>
5925 * shell.el (shell-dynamic-complete-functions): Revert last change.
5926 (shell-command-completion-function): New function.
5927 (shell-completion-vars): Use it to implement
5928 shell-completion-execonly (Bug#10417).
5930 * custom.el (enable-theme): Don't set custom-safe-themes.
5932 * cus-theme.el (custom-theme-merge-theme):
5933 Ignore custom-enabled-themes and custom-safe-themes.
5935 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5937 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5938 first prompt in `sql-interacive-mode'.
5939 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5941 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5942 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5943 context of original buffer. Invoke `sql-login-hook'.
5945 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5947 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5948 letters in cite-prefix.
5950 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5952 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5954 2012-01-03 Chong Yidong <cyd@gnu.org>
5956 * shell.el (shell-dynamic-complete-functions):
5957 Put pcomplete-completions-at-point, so as to try
5958 comint-filename-completion first (Bug#10417).
5960 2012-01-02 Richard Stallman <rms@gnu.org>
5962 * battery.el (battery-status-function):
5963 Detect when to use battery-yeeloong-sysfs.
5964 (battery-echo-area-format): Add string for Yeeloong.
5965 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5966 (battery-yeeloong-sysfs): New function.
5968 2012-01-02 Chong Yidong <cyd@gnu.org>
5970 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5971 (dirtrack): Merge code for handling relative filenames in prompt
5972 from shell-dir-cookie-watcher.
5973 (dirtrack-debug-message): New arg to avoid excess format calls.
5975 * shell.el (shell-dir-cookie-re): Variable deleted.
5976 (shell-dir-cookie-watcher): Function deleted.
5977 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5980 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5982 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5983 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5986 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5988 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5990 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5992 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5993 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5995 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5997 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5998 also for alternative shells.
5999 (tramp-open-connection-setup-interactive-shell): Check, whether
6000 the shell is a busybox.
6001 (tramp-send-command): Don't suppress multiple prompts for
6002 busyboxes, it hurts.
6004 2011-12-28 Chong Yidong <cyd@gnu.org>
6006 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6007 (gdb-get-source-file): Move mode line update to
6008 gdb-get-source-file (Bug#10087).
6010 2011-12-25 Chong Yidong <cyd@gnu.org>
6012 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6013 gud-gdb-marker-filter without taking it as an argument.
6014 (gud-gdb-run-command-fetch-lines): Caller changed.
6015 (gud-gdb-completion-function): New variable.
6016 (gud-gdb-completion-at-point): Use it.
6017 (gud-gdb-completions-1): Split from gud-gdb-completions.
6019 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6020 function as separate arguments.
6021 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6022 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6023 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6024 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6025 (gdb-stopped, def-gdb-auto-update-trigger)
6026 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6027 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6029 (gud-gdbmi-completions): New function.
6030 (gdb): Use it for generating the completion table.
6032 2011-12-24 Alan Mackenzie <acm@muc.de>
6034 Introduce a mechanism to widen the region used in context font
6035 locking. Use this to protect declarations from losing their contexts.
6037 * progmodes/cc-langs.el (c-before-font-lock-functions):
6038 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6039 (c-before-context-fontification-functions): New defvar, a list of
6040 functions to be run just before context (etc.) font locking.
6042 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6043 New, functionality extracted from
6044 c-neutralize-syntax-in-and-mark-CPP.
6045 (c-in-after-change-fontification): New variable.
6046 (c-after-change): Set c-in-after-change-fontification.
6047 (c-set-fl-decl-start): Rejig its interface, so it can be called
6048 from both after-change and context fontifying.
6049 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6051 (c-standard-font-lock-fontify-region-function): New variable.
6052 (c-font-lock-fontify-region): New function.
6054 2011-12-24 Juri Linkov <juri@jurta.org>
6056 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6059 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6061 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6062 existence of source file. (Bug#10325)
6064 2011-12-23 Alan Mackenzie <acm@muc.de>
6066 Fix unstable fontification inside templates.
6068 * progmodes/cc-langs.el (c-before-font-lock-functions):
6069 Newly created from the singular version. The (c c++ objc) entry now
6070 additionally has c-set-fl-decl-start. The other languages (apart
6071 from AWK) have that as a single entry.
6073 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6074 The functionality for "local" declarations has been extracted to
6075 c-set-fl-decl-start.
6077 * progmodes/cc-mode.el (c-common-init, c-after-change):
6078 Changes due to pluralisation of c-before-font-lock-functions.
6079 (c-set-fl-decl-start): New function, extracted from
6080 c-font-lock-enclosing-decls and enhanced.
6082 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6084 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6086 2011-12-22 Juri Linkov <juri@jurta.org>
6088 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6090 2011-12-22 Chong Yidong <cyd@gnu.org>
6092 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6094 2011-12-21 Drew Adams <drew.adams@oracle.com>
6096 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6098 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6100 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6102 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6104 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6105 highlighting and support. Fix up comments for capitalization.
6106 (cfengine-mode-debug): New var.
6107 (cfengine3-mode): Change the modeline indicator to "CFE3".
6108 (cfengine3-font-lock-keywords): Improve defun highlighting.
6109 (cfengine2-actions): Rename from `cfengine-actions'.
6110 (cfengine2-font-lock-keywords): Rename from
6111 `cfengine-font-lock-keywords'.
6112 (cfengine2-imenu-expression): Rename from
6113 `cfengine-imenu-expression'.
6114 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6115 (cfengine2-beginning-of-defun): Rename from
6116 `cfengine-beginning-of-defun'.
6117 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6118 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6119 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6120 modeline indicator to "CFE2".
6121 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6122 (cfengine-mode-abbrevs): Mark obsolete.
6124 2011-12-21 Chong Yidong <cyd@gnu.org>
6126 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6129 2011-12-20 Martin Rudalics <rudalics@gmx.at>
6131 * window.el (window-normalize-buffer-to-display): Remove.
6132 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6134 2011-12-19 Chong Yidong <cyd@gnu.org>
6136 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6137 Don't signal an error in a predicate function; return non-nil.
6138 (vc-dir-mark-file): Move the error here.
6139 (vc-dir-mark-unmark): If acting on the region, keep going if one
6140 of the entries cannot be marked/unmarked.
6141 (vc-dir-mark-all-files): If current entry is a directory, mark
6142 only child files, as documented.
6144 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6146 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6147 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6150 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6152 * term/ns-win.el (ns-get-selection-internal)
6153 (ns-store-selection-internal): Declare.
6154 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6155 Declare as obsolete.
6156 (ns-get-pasteboard, ns-paste-secondary):
6157 Use ns-get-selection-internal.
6158 (ns-set-pasteboard, ns-copy-including-secondary):
6159 Use ns-store-selection-internal.
6161 2011-12-17 Chong Yidong <cyd@gnu.org>
6163 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6164 (vc-deduce-fileset): Doc fix.
6166 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6168 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6170 2011-12-13 Sam Steingold <sds@gnu.org>
6172 * man.el (Man-getpage-in-background): When running under a
6173 window-system, ignore $MANWIDTH and $COLUMNS.
6175 2011-12-15 Kenichi Handa <handa@m17n.org>
6177 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6178 (setup-ethiopic-environment-internal): Comment out key-binding for
6179 ethio-toggle-punctuation.
6181 2011-12-13 Alan Mackenzie <acm@muc.de>
6183 Add the switch statement to AWK Mode.
6185 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6186 "default" to the keywords regexp.
6188 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6189 expression as the rest.
6190 (c-nonlabel-token-key): Allow string literals for AWK.
6191 Refactor for the other modes.
6193 Large brace-block initialisation makes CC Mode slow: Fix.
6194 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6195 routines. Limit backward searching in c-font-lock-enclosing.decl.
6197 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6198 pp-state and literal type in addition to the limits.
6199 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6200 (c-state-literal-at): Use the above new defun.
6201 (c-slow-in-literal, c-fast-in-literal): Remove.
6202 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6204 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6205 being in a literal. Add a limit for backward searching.
6207 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6210 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6212 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6214 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6216 * window.el (delete-other-windows): Use correct frame in call to
6217 window-with-parameter.
6219 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6221 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6222 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6223 (makefile-gmake-statements, makefile-makepp-statements):
6224 Use it and add new makepp keywords.
6225 (makefile-makepp-font-lock-keywords): Add new patterns.
6226 (makefile-match-function-end): Match new [...] and [[...]].
6228 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6230 * ses.el (ses-call-printer-return, ses-cell-property-get)
6231 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6232 (ses-create-cell-variable, ses-reset-header-string)
6233 (ses-cell-set-formula, ses-repair-cell-reference-all)
6234 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6235 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6236 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6237 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6238 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6239 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6240 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6241 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6242 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6243 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6244 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6245 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6247 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6249 * ses.el: The overall change is to add cell renaming, that is
6250 setting fancy names for cell symbols other than name matching
6251 "\\`[A-Z]+[0-9]+\\'" regexp .
6252 (ses-create-cell-variable): New defun.
6253 (ses-relocate-formula): Relocate formulas only for cells the
6254 symbols of which are not renamed, i.e. symbols whose names do not
6255 match regexp "\\`[A-Z]+[0-9]+\\'".
6256 (ses-relocate-all): Relocate values only for cells the symbols of
6257 which are not renamed.
6258 (ses-load): Create cells variables as the (ses-cell ...) are read,
6259 in order to check row col consistency with cell symbol name only
6260 for cells that are not renamed.
6261 (ses-replace-name-in-formula): New defun.
6262 (ses-rename-cell): New defun.
6264 2011-12-11 Chong Yidong <cyd@gnu.org>
6266 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6267 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6269 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6271 * window.el (other-window): Fix docstring.
6273 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6275 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6276 `from' or `to' address before taking its substring.
6277 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6278 encoded name is chopped in the middle of the encoded string, and
6279 thus displayed encoded.
6281 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6283 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6285 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6287 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6288 to use texinfo-update-node and commands that call it if the
6289 Texinfo file uses @node lines without next/prev/up pointers.
6290 Correct outdated description about texinfo-master-menu.
6291 (texinfo-all-menus-update, texinfo-master-menu)
6292 (texinfo-update-node, texinfo-every-node-update)
6293 (texinfo-multiple-files-update): Doc fix. Warn against updating
6294 all the @node lines.
6295 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6296 argument is numeric. Explain better in the doc string what the
6297 function really does.
6298 (texinfo-insert-master-menu-list): Improve the error message
6299 displayed if there's no menu in the Top node.
6300 (Bug#2975) See also this thread:
6301 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6303 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6305 * speedbar.el (speedbar-supported-extension-expressions):
6306 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6308 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6310 * printing.el (pr-mode-alist):
6311 * simple.el (filter-buffer-substring-functions)
6312 (completion-list-insert-choice-function):
6313 * window.el (window-with-parameter, window-atom-root)
6314 (window-sides-slots, window-size-fixed, window-min-delta)
6315 (window-max-delta, window--resize-mini-window)
6316 (window--resize-child-windows-normal, window-tree)
6317 (delete-other-windows, quit-window, split-window)
6318 (display-buffer-record-window, special-display-buffer-names)
6319 (special-display-regexps, special-display-popup-frame)
6320 (same-window-p, split-window-sensibly)
6321 (display-buffer-overriding-action, display-buffer-alist)
6322 (display-buffer-base-action, display-buffer, switch-to-buffer)
6323 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6324 (fit-window-to-buffer, recenter-positions)
6325 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6326 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6327 and remove unneeded backslashes in docstrings.
6329 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6331 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6333 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6334 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6336 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6337 when reading the makefile (bug#10116).
6339 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6344 2011-12-06 Glenn Morris <rgm@gnu.org>
6346 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6348 2011-12-06 Chong Yidong <cyd@gnu.org>
6350 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6352 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6354 * textmodes/table.el (table-shorten-cell): Fix typo.
6356 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6358 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6360 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6362 * descr-text.el (describe-char): Fix display of strong
6363 right-to-left characters and directional embeddings and overrides.
6365 * simple.el (what-cursor-position): Fix display of codepoints of
6366 strong right-to-left characters.
6368 2011-12-05 Chong Yidong <cyd@gnu.org>
6370 * faces.el (read-color): Doc fix.
6372 2011-12-05 Glenn Morris <rgm@gnu.org>
6374 * align.el (align--set-marker): Add doc-string.
6375 Don't try to move something that is not a marker. (Bug#10216)
6377 2011-12-04 Glenn Morris <rgm@gnu.org>
6379 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6380 overly zealous deletion of trailing whitespace.
6382 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6384 * server.el (server-delete-client): On Windows, do not try to delete
6386 (server-process-filter): On Windows, treat requests for a tty frame as
6387 if they were for a GUI frame if the running server is in GUI mode.
6389 2011-12-03 Glenn Morris <rgm@gnu.org>
6391 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6393 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6395 * electric.el: Streamline electric-indent's hook.
6396 (electric-indent-chars): Revert to simple list.
6397 (electric-indent-functions): New var.
6398 (electric-indent-post-self-insert-function): Use it.
6400 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6401 there's no inferior buffer (bug#10196).
6402 (prolog-consult-compile): Don't use toggle-read-only.
6404 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6406 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6407 interrupt. (Bug#10187)
6409 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6411 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6414 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6417 2011-12-02 Juri Linkov <juri@jurta.org>
6419 * info.el (Info-search): Display "end of manual" when Isearch
6420 reaches the end of single-file Info manual. (Bug#9918)
6422 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6424 * isearch.el (isearch-message-prefix): Run the input method part
6425 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6427 2011-12-02 Juri Linkov <juri@jurta.org>
6429 * isearch.el (isearch-occur): Use `word-search-regexp' for
6431 (isearch-search-and-update): Add condition for `isearch-word' and
6432 call `word-search-regexp'. (Bug#10145)
6434 2011-12-01 Glenn Morris <rgm@gnu.org>
6436 * eshell/em-hist.el (eshell-hist-initialize):
6437 Handle eshell-history-size nil and HISTSIZE set or unset.
6438 (eshell-history-file-name, eshell-history-size): Fix custom type.
6440 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6442 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6444 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6446 * progmodes/verilog-mode.el (verilog-pretty-expr):
6447 Rework verilog-pretty-expr to handle new assignment operators in system
6448 verilog, such as += *= and the like.
6449 (verilog-assignment-operator-re): Regular expression to find the
6450 assigment operator in a verilog assignment.
6451 (verilog-assignment-operation-re): Regular expression to find an
6452 assignment statement for pretty-expr.
6453 (verilog-in-attribute-p): Query returns true if point is in an
6454 attribute context; used to skip these for expression line up from
6456 (verilog-in-parameter-p): Query returns true if point is in an
6457 parameter definition context; used to skip these for expression
6458 line up from pretty-expr.
6459 (verilog-in-parenthesis-p): Query returns true if point is in a
6460 parenthetical expression, specifically ( ) but not [ ] or { };
6461 used by pretty-expr.
6462 (verilog-just-one-space): If there is no space, don't add one.
6463 (verilog-get-lineup-indent-2): Specifically skip just attribute
6464 contexts for expression lineup, rather than skipping all
6465 parenthetical expressions.
6466 (verilog-calculate-indent): Fix comment, and fix indent.
6467 (verilog-do-indent): Indent declarations in lists (suggested by
6469 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6471 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6474 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6476 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6477 parameters with embedded comments. Reported by Ray Stevens.
6478 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6479 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6480 Reported by Tim Holt.
6481 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6482 instantiated by upper module causing wrong expansion until AUTOed a
6483 second time. Reported by K C Buckenmaier.
6484 (verilog-diff-auto): Fix showing .* as a difference when
6485 `verilog-auto-star-save' off. Reported by Dan Dever.
6486 (verilog-auto-reset, verilog-read-always-signals)
6487 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6488 temporary signals in reset list if
6489 verilog-auto-reset-blocking-in-non is nil, and match assignment
6490 style to each signal's assignment type, bug381.
6491 Reported by Thomas Esposito.
6492 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6493 (verilog-uvm-statement-re): Support UVM indentation and
6494 highlighting, with old OVM keywords only.
6495 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6496 Support AUTOTIEOFF creating non-wire data types.
6497 Suggested by Jonathan Greenlaw.
6498 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6499 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6500 (verilog-inject-sense, verilog-read-inst-pins)
6501 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6502 Fix mismatching parenthesis inside commented out code when deleting
6503 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6504 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6505 non-numeric vector width. Reported by Alex Reed.
6506 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6507 detecting signals with parameter widths. Reported by Alex Reed.
6508 (verilog-auto-delete-trailing-whitespace):
6509 With `verilog-auto-delete-trailing-whitespace' remove trailing
6510 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6511 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6512 Fix verilog-scan-cache corruption when running user AUTO expansion
6513 hooks that call indentation routines.
6514 (verilog-simplify-range-expression): Fix typo ignoring lower case
6516 (verilog-delete-auto): Fix delete-autos to also remove user created
6517 automatics, as long as they start with AUTO.
6518 (verilog-batch-diff-auto, verilog-diff-auto)
6519 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6520 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6521 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6522 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6523 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6524 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6525 is disabled and its cache will get corrupt, causing AUTOS not to
6526 expand. Instead use only -quick functions.
6527 (verilog-scan-region): Fix scanning over escaped quotes.
6528 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6529 (verilog-re-search-backward-quick)
6530 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6531 related functions now ignore strings, to fix misparsing of strings
6532 with magic comments embedded in them.
6533 (verilog-read-auto-template):
6534 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6535 Reported by Brad Dobbie.
6536 (verilog-read-auto-template):
6537 Fix 'verilog-auto-inst-template-numbers' with comments.
6538 Reported by Brad Dobbie.
6539 (verilog-auto-inst, verilog-auto-inst-param)
6540 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6541 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6542 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6543 debugging templates without merge conflicts, bug357.
6544 Reported by Brad Dobbie.
6545 (verilog-read-auto-template):
6546 Fix verilog-auto-inst-template-numbers with multiple templates.
6547 Reported by Brad Dobbie.
6548 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6549 abbrevs so user won't be asked to save.
6550 (verilog-read-auto-lisp-present): Fix to start at beginning of
6551 buffer in case called outside of verilog-auto.
6552 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6553 to "X-2". Reported by Matthew Myers.
6554 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6555 all inputs from module templates. Reported by Leith Johnson.
6556 (verilog-module-inside-filename-p): Fix locating programs as with
6558 (verilog-auto-inst-port): Fix vl-width expressions when using
6559 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6560 (verilog-decls-get-regs, verilog-decls-get-signals,
6561 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6562 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6563 verilog-read-decls): Combine reg and wire structures into one var
6564 structure to represent SystemVerilog concepts.
6565 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6566 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6567 (verilog-auto-wire-type, verilog-insert-definition):
6568 Add verilog-auto-wire-type and AUTOLOGIC to support using
6569 SystemVerilog "logic" keyword instead of "wire"/"reg".
6570 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6571 to declares outputs that also have assignments (presumably in an
6572 ifdef or generate if so there's not a driver conflict).
6573 Reported by Matthew Myers.
6574 (verilog-auto-declare-nettype, verilog-insert-definition):
6575 Add verilog-auto-declare-nettype to fix declarations using
6576 `default_nettype none. Reported by Julian Gorfajn.
6577 (verilog-read-always-signals-recurse, verilog-read-decls)
6578 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6579 malformed end statement, bug325. Reported by Joshua Wise and
6581 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6582 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6583 when expanding .* in interfaces, bug320.
6584 Reported by Pierre-David Pfister.
6585 (verilog-read-module-name): Fix import statements between module
6586 name and open parenthesis, bug317.
6587 Reported by Pierre-David Pfister.
6588 (verilog-simplify-range-expression): Fix simplification of
6589 multiplications inside AUTOWIRE connections, bug303.
6590 (verilog-auto-inst-port): Support parameter expansion in
6591 multidimensional arrays.
6592 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6593 after "assert property". Reported by Julian Gorfajn.
6594 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6595 with multiplication, bug303.
6596 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6597 Reported by Jan Frode Lonnum.
6599 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6601 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6602 (hfy-shell-file-name, hfy-shell):
6603 * international/fontset.el (x-decompose-font-name): Fix typos.
6605 2011-11-29 Ken Brown <kbrown@cornell.edu>
6607 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6608 (gdb-version): Remove defvar.
6609 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6610 (gdb-gud-context-command, gdb-non-stop-handler)
6611 (gdb-current-context-command, gdb-stopped): Use it.
6612 (gdb-init-1): Enable pretty printing here.
6613 (gdb-non-stop-handler): Don't enable pretty-printing here.
6614 Check to see if the target supports non-stop mode; if not, turn off
6615 non-stop mode. Use the following.
6616 (gdb-check-target-async): New defun.
6617 (gud-watch, gdb-stopped): Fix whitespace.
6618 (gdb-get-source-file): Don't try to display the source file if
6619 `gdb-main-file' is nil.
6621 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6623 * align.el: Try to generate fewer markers (bug#10047).
6624 (align--set-marker): New macro.
6625 (align-region): Use it.
6627 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6629 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6631 2011-11-29 Chong Yidong <cyd@gnu.org>
6633 * indent.el (indent-for-tab-command, indent-according-to-mode):
6635 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6637 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6639 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6640 aware of remote file names. (Bug#10124)
6642 2011-11-29 Chong Yidong <cyd@gnu.org>
6644 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6646 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6648 * files.el (find-file): Don't use force-same-window (bug#10144).
6649 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6650 use pop-to-buffer if the selected window can't be used.
6651 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6653 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6655 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6658 2011-11-28 Chong Yidong <cyd@gnu.org>
6660 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6662 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6664 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6665 gdb-get-source-file-list on gdb-create-source-file-list.
6667 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6669 * whitespace.el (whitespace-newline): Use a different foreground
6670 color for 16-color light-background displays.
6672 2011-11-24 Chong Yidong <cyd@gnu.org>
6674 * window.el (display-buffer--special-action): Doc fix.
6676 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6678 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6679 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6680 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6681 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6682 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6683 (avl-tree-stack-first):
6684 * emacs-lisp/cconv.el (cconv--analyse-use):
6685 * net/gnutls.el (gnutls-negotiate): Fix typos.
6687 2011-11-24 Glenn Morris <rgm@gnu.org>
6689 * lpr.el (lpr-windows-system, lpr-lp-system):
6690 * mail/binhex.el (binhex-begin-line):
6691 * progmodes/grep.el (grep-history, grep-find-history):
6692 * textmodes/flyspell.el:
6693 * vc/pcvs-defs.el (cvs-global-menu):
6694 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6695 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6696 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6698 * net/tls.el: Fix case of "GnuTLS".
6700 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6702 * version.el (emacs-build-system): Give it a doc-string.
6704 2011-11-24 Juri Linkov <juri@jurta.org>
6706 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6708 2011-11-24 Glenn Morris <rgm@gnu.org>
6710 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6711 if called on a non-mime message just toggle the headers. (Bug#8006)
6713 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6715 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6716 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6717 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6718 (allout-rebullet-heading, allout-open-sibtopic)
6719 (allout-toggle-current-subtree-encryption)
6720 (allout-toggle-subtree-encryption, allout-encrypt-string)
6721 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6722 (allout-distinctive-bullets-string, allout-auto-activation):
6723 * window.el (window-normalize-buffer-to-display):
6724 * progmodes/verilog-mode.el (verilog-batch-indent):
6725 * textmodes/bibtex.el (bibtex-field-braces-opt)
6726 (bibtex-field-strings-opt):
6727 * vc/cvs-status.el (cvs-tree-merge):
6730 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
6732 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6733 `non-essential' to t, in order to avoid remote connections.
6735 2011-11-23 Eli Zaretskii <eliz@gnu.org>
6737 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6738 On MS-DOS and MS-Windows, compare with loaddefs.el
6741 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6743 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6745 2011-11-23 Glenn Morris <rgm@gnu.org>
6747 * paths.el (rmail-file-name): Reformat the doc-string so that it
6750 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6751 (rmail-auto-file): Ignore case in the "special" field names,
6752 as mail-fetch-field does for all others.
6754 * mail/rmail.el (rmail-forward):
6755 * mail/rmailkwd.el (rmail-set-label):
6756 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6757 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6759 * mail/rmail.el (rmail-current-message): Doc fix.
6761 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6763 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6767 2011-11-22 Glenn Morris <rgm@gnu.org>
6769 * mail/rmailmm.el (test-rmail-mime-handler)
6770 (test-rmail-mime-bulk-handler)
6771 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6773 2011-11-21 Juri Linkov <juri@jurta.org>
6775 * calc/calc.el (calc-read-key-sequence):
6776 Let-bind `input-method-function' to nil. (Bug#10018)
6778 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6780 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6781 Tell the caller that the next line needs recomputation, even
6782 though it doesn't start a sexp (bug#10094).
6784 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6786 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6788 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6790 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6791 Use force-same-window.
6793 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6795 * descr-text.el (describe-char-unicode-data):
6796 * json.el (json-string-escape):
6797 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6798 (Footnote-unicode, Footnote-style-p):
6799 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6801 2011-11-20 Chong Yidong <cyd@gnu.org>
6803 * window.el (replace-buffer-in-windows): Restore interactive spec.
6805 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6807 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6809 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6810 (byte-compile-global-not-obsolete-vars): New var.
6811 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6813 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6815 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6817 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6818 * progmodes/pascal.el (electric-pascal-equal):
6819 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6820 * xml.el (xml-substitute-special): Fix typos.
6822 2011-11-20 Glenn Morris <rgm@gnu.org>
6824 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6825 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6827 (rmail-decode-mime-charset): Mark as obsolete.
6829 * mail/rmailsum.el (rmail-message-regexp-p-1):
6830 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6831 Before using mime functions, check they are set. (Bug#10077)
6833 2011-11-19 Juri Linkov <juri@jurta.org>
6835 * info.el (Info-finder-find-node): Use `package--builtins' instead
6836 of `package-alist'. Use node names formed by the pattern "Keyword "
6837 and the keyword name.
6839 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6841 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6843 2011-11-19 Juri Linkov <juri@jurta.org>
6845 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6846 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6847 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6848 `old-history', `old-history-forward'. Add let-binding
6849 `window-selected'. Remove calls to `kill-buffer',
6850 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6851 before calling `Info-find-node', so `Info-find-node-2' will reread
6852 the Info file. Restore window positions only when `window-selected'
6855 2011-11-19 Juri Linkov <juri@jurta.org>
6857 * isearch.el (isearch-lazy-highlight-new-loop):
6858 Remove condition `(not isearch-error)'. (Bug#9918)
6860 * misearch.el (multi-isearch-search-fun): Add condition
6861 `(not bound)' to ignore lazy-highlighting search.
6862 Add the search-failed message "end of multi" when the end of
6863 multi-sequence is reached. Uncapitalize the search-failed
6864 message "Repeat for next buffer".
6866 * info.el (Info-search): Add the search-failed message
6867 "end of the manual" when the end of the manual is reached
6870 2011-11-19 Juri Linkov <juri@jurta.org>
6872 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6873 Use non-destructive `remove' instead of `delete' because
6874 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6875 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6877 2011-11-19 Juri Linkov <juri@jurta.org>
6879 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6880 to nil instead of binding `search-ring' and `regexp-search-ring'.
6883 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6885 * simple.el (line-move): Force movement by logical lines for any
6886 hscrolled window, not only when auto-hscroll-mode is on.
6887 (line-move-visual): Update doc string to that effect. (Bug#10076)
6889 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6891 * language/european.el (macintosh): Define as alias for mac-roman.
6893 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6895 * mail/rmailmm.el (rmail-mime-display-header)
6896 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6897 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6898 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6899 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6900 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6902 (rmail-mime-entity-segment): To get past the tagline, move forward
6903 2 more lines, to account for the 2 empty lines that precede and
6904 follow the line with the buttons.
6905 (rmail-mime-update-tagline): Move one more line, to get past the
6906 empty line that follows the buttons in the tagline. (Bug#9520)
6908 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6910 * window.el (window-max-delta-1, window-min-delta-1)
6911 (window-min-size-1, window-state-get-1, window-state-put-1)
6912 (window-state-put-2): Use "window--" prefix.
6914 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6916 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6917 (smie-warning-count): New var.
6918 (smie-set-prec2tab): Use it.
6919 (smie-bnf->prec2): Improve warnings. Add docstring.
6920 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6921 (smie-bnf--set-class): New function.
6922 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6925 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6926 (compilation-error-properties, compilation-move-to-column):
6927 Handle compilation-first-column while in the target buffer.
6929 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6930 Don't hardcode point-min==1.
6932 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6933 (eshell-rewrite-for-command): Remove workaround.
6934 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6935 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6936 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6938 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6940 2011-11-17 Glenn Morris <rgm@gnu.org>
6942 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6943 Ignore buffer-local generated-autoload-file if it is the same
6944 as the global value. (Bug#10049)
6946 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6948 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6949 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6950 (reftex-toc-previous-heading, reftex-toc-max-level)
6951 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6952 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6953 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6954 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6955 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6956 (reftex-toc-rename-label, reftex-toc-visit-location)
6957 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6958 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6959 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6960 leaving "*toc*" only for references to the buffer.
6962 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6964 * window.el (window-resize, delete-window, split-window):
6965 Replace window-splits by window-combination-resize.
6966 * cus-start.el (window-splits): Replace by window-combination-resize.
6968 2011-11-17 Glenn Morris <rgm@gnu.org>
6970 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6971 Make bash entry derive from sh entry, not shell entry.
6973 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6975 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6978 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6980 * menu-bar.el (menu-bar-file-menu):
6981 * printing.el (pr-ps-utility):
6982 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6983 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6984 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6985 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6986 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6987 (icalendar--convert-cyclic-to-ical)
6988 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6989 (icalendar--convert-ical-to-diary)
6990 (icalendar--convert-recurring-to-diary)
6991 (icalendar--convert-non-recurring-all-day-to-diary)
6992 (icalendar-import-format-sample):
6993 * progmodes/idlw-shell.el (idlwave-shell-mode):
6994 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6995 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6996 (vhdl-ps-print-init): Fix typos.
6998 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7000 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7001 FSF and collapse date sequence, obscure author/maintainer email address
7002 better, remove extra version line, track relocation of author's webpage.
7004 * progmodes/python.el (python-pdbtrack-input-prompt)
7005 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7006 regular python pdb prompts. Adjustments shamelessly taken exactly as
7007 suggested in EmacsWiki page (tiny change):
7008 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7010 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7012 * expand.el (expand-pos, expand-index, expand-point):
7013 Remove redundant info from docstring.
7014 (expand-add-abbrevs): Doc fix.
7015 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7016 (expand-sample-perl-mode-expand-list): Fix typos.
7018 * net/dbus.el (dbus-event-member-name):
7019 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7020 * term/pc-win.el (msdos-create-frame-with-faces):
7021 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7023 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7025 * window.el (split-window, window-state-get-1)
7026 (window-state-put-1, window-state-put-2): Rename occurrences of
7027 window-nest to window-combination-limit.
7028 * cus-start.el (window-nest): Rename to window-combination-limit.
7030 2011-11-16 Chong Yidong <cyd@gnu.org>
7032 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7035 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7037 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7038 `completing-read' will remove *Completions* and will preserve
7039 current-buffer for us.
7040 (tmm-add-prompt): Users of *Completions* will always (re)set its
7042 (tmm-old-comp-map): Remove.
7044 2011-11-16 Glenn Morris <rgm@gnu.org>
7046 * mail/rmailedit.el: Require rmailmm when compiling.
7047 (rmail-old-mime-state): New declaration.
7048 (rmail-edit-current-message): If editing a mime message,
7049 edit the "raw" message from the mbox buffer.
7050 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7052 2011-11-15 Glenn Morris <rgm@gnu.org>
7054 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7055 which wasn't being used. Add optional arg to force given state.
7056 (rmail-mime): Add optional arg to force given state.
7058 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7060 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7061 * frame.el (display-mm-dimensions-alist):
7062 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7063 (outline-move-subtree-down):
7064 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7065 (newsticker--treeview-do-get-node):
7066 * net/quickurl.el (quickurl-list-buffer-name):
7067 * progmodes/dcl-mode.el (dcl-mode):
7068 * progmodes/gdb-mi.el (gdb-mapcar*):
7069 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7071 2011-11-15 Glenn Morris <rgm@gnu.org>
7073 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7074 in a boolean sense, so just make it a boolean, and fix the doc.
7075 (rmail-show-mime-function, rmail-mime-feature)
7076 (rmail-require-mime-maybe): Doc fixes.
7077 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7079 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7081 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7083 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7084 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7085 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7086 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7088 2011-11-15 Glenn Morris <rgm@gnu.org>
7090 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7091 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7092 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7093 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7094 (rmail-mime, rmail-show-mime): Doc fixes.
7096 * term/ns-win.el (mode-line-frame-identification):
7097 Leave it alone. (Bug#10051)
7099 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7101 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7102 Handle empty buffers. (Bug#9978)
7104 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
7106 * international/mule.el (define-charset):
7107 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7108 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7109 * progmodes/verilog-mode.el (verilog-backward-token):
7110 * textmodes/ispell.el (lookup-words):
7111 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7113 2011-11-14 Glenn Morris <rgm@gnu.org>
7115 * progmodes/executable.el
7116 (executable-make-buffer-file-executable-if-script-p):
7117 Handle file-modes returning nil.
7119 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7120 message - not necessary, and causes problems. (Bug#9831)
7122 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7124 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7126 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7127 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7128 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7130 2011-11-12 Martin Rudalics <rudalics@gmx.at>
7132 * window.el (window-resize, delete-window): Use window-splits
7133 variable instead of function.
7134 (window-state-get-1, window-state-put-2, window-state-put):
7135 Don't deal with windows' splits status.
7137 2011-11-12 Glenn Morris <rgm@gnu.org>
7139 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7140 (apropos-documentation): Doc fixes.
7142 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
7144 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7145 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7147 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7149 * electric.el (electric-indent-post-self-insert-function): Make it
7150 possible for a char to only indent in some circumstances.
7151 (electric-indent-mode): Simplify.
7153 2011-11-11 Martin Rudalics <rudalics@gmx.at>
7155 * window.el (windows-with-parameter): Remove unused function.
7156 (windows-at-side): Rename to window-at-side-list.
7157 (window-check, window-atom-check, window-atom-check-1)
7158 (window-side-check, window-size-ignore, window-size-fixed-1)
7159 (window-in-direction-2): Prefix with "window--".
7160 (window-tree-1): Rename to window--subtree, fix doc-string.
7162 2011-11-11 Glenn Morris <rgm@gnu.org>
7164 * subr.el (eval-after-load): If FILE is already loaded,
7165 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7167 2011-11-10 Glenn Morris <rgm@gnu.org>
7169 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7170 Call svn via vc-svn-command rather than vc-do-command.
7171 (vc-svn-command): Add --non-interactive. (Bug#9993)
7172 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7174 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7175 Add toggle-read-only. (Bug#7292)
7176 * files.el (toggle-read-only): Mention that it should only
7177 be used interactively. (Bug#10006)
7179 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7181 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7182 Adjust regexp for OCaml warnings.
7184 * electric.el (electric-pair-post-self-insert-function): Let user
7185 turn it off buffer-locally (bug#9932).
7187 * progmodes/python.el (python-beginning-of-statement):
7190 * progmodes/compile.el: Better handle TABs (bug#9749).
7191 (compilation-internal-error-properties)
7192 (compilation-next-error-function): Obey the target buffer's
7193 compilation-error-screen-columns.
7195 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7197 * progmodes/meta-mode.el: Remove obsolete comments.
7198 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7199 Fix typos in docstrings.
7201 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7203 * window.el (window-size-fixed-p): Rewrite doc-string.
7204 (window-resizable-p): Rename to window--resizable-p. Update callers.
7205 (window--resizable): New function. Make all callers of
7206 window-resizable call window--resizable instead.
7207 (window-resizable): Rewrite in terms of window--resizable.
7209 2011-11-08 Glenn Morris <rgm@gnu.org>
7211 * progmodes/delphi.el (delphi-mode-syntax-table):
7212 Let define-derived-mode define a proper syntax table. (Bug#9994)
7214 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7216 * window.el: Stay away from defsubst.
7217 (window-list-no-nils): Remove.
7218 (window-state-get-1, window-state-get): Use backquote instead.
7220 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7222 * emacs-lisp/find-func.el (find-function-read):
7223 Fix incorrect use of default argument in `completing-read'.
7225 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7227 * window.el (display-buffer-function, special-display-function):
7228 Mention display-buffer-record-window but do not mention
7229 help-setup parameter in doc-strings.
7230 (window-min-delta): Fix doc-string typo.
7232 2011-11-08 Chong Yidong <cyd@gnu.org>
7234 * window.el (window-total-height, window-total-width): Doc fix.
7235 (window-body-size): Move from C.
7236 (window-body-height, window-body-width): Move to C.
7238 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7240 * window.el: Make special-display like display-buffer-alist (bug#9532).
7241 (display-buffer--special-action): New function, morphed
7242 from display-buffer--special.
7243 (display-buffer): Use it to handle special-display-buffers at higher
7244 priority (just after display-buffer-alist).
7245 (display-buffer-fallback-action, display-buffer--other-frame-action)
7246 (pop-to-buffer-same-window): Remove display-buffer--special.
7248 2011-11-07 Glenn Morris <rgm@gnu.org>
7250 * calendar/cal-menu.el (cal-menu-set-date-title):
7251 Do nothing if not in a calendar. (Bug#9976)
7253 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7255 * files.el (find-file): Always use selected-window.
7257 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7259 * window.el (window-combinations): Make WINDOW argument
7260 mandatory. Rewrite doc-string.
7261 (walk-window-subtree, window-atom-check, window-min-delta)
7262 (window-max-delta, window--resize-this-window)
7263 (window--resize-root-window-vertically, window-tree)
7264 (balance-windows, window-state-put): Rewrite doc-strings as to
7265 not mention the term "subwindow".
7266 (window--resize-subwindows-skip-p): Rename to
7267 window--resize-child-windows-skip-p.
7268 (window--resize-subwindows-normal): Rename to
7269 window--resize-child-windows-normal.
7270 (window--resize-subwindows): Rename to
7271 window--resize-child-windows.
7272 (window-or-subwindow-p): Rename to window--in-subtree-p.
7274 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7276 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7277 Ensure that mbox format messages end in two newlines (Bug#9974).
7279 2011-11-06 Chong Yidong <cyd@gnu.org>
7281 * window.el (window-combination-p): Function deleted; its
7282 side-effect is not used in any existing code.
7283 (window-combinations, window-combined-p): Call window-*-child
7286 2011-11-05 Chong Yidong <cyd@gnu.org>
7288 * window.el (window-valid-p): Rename from window-any-p.
7289 (window-size-ignore, window-state-get): Callers changed.
7290 (window-normalize-window): Rename from window-normalize-any-window.
7291 New arg LIVE-ONLY, replacing window-normalize-live-window.
7292 (window-normalize-live-window): Delete.
7293 (window-combination-p, window-combined-p, window-combinations)
7294 (walk-window-subtree, window-atom-root, window-min-size)
7295 (window-sizable, window-sizable-p, window-size-fixed-p)
7296 (window-min-delta, window-max-delta, window-resizable)
7297 (window-resizable-p, window-full-height-p, window-full-width-p)
7298 (window-current-scroll-bars, window-point-1, set-window-point-1)
7299 (window-at-side-p, window-in-direction, window-resize)
7300 (adjust-window-trailing-edge, maximize-window, minimize-window)
7301 (window-deletable-p, delete-window, delete-other-windows)
7302 (record-window-buffer, unrecord-window-buffer)
7303 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7304 (quit-window, split-window, window-state-put)
7305 (set-window-text-height, fit-window-to-buffer)
7306 (shrink-window-if-larger-than-buffer): Callers changed.
7308 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7310 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7311 rfc2047-decode-string.
7312 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7315 * window.el (window-body-height, window-body-width): Mention in
7316 the doc string that the return values are in frame's canonical
7319 2011-11-03 Alan Mackenzie <acm@muc.de>
7321 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7322 change in cc-engine.el.
7324 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7326 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7328 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7330 * window.el (quit-window): Call unrecord-window-buffer after
7331 showing another buffer in the window. (Bug#9937)
7332 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7334 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7336 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7337 Accept status with more than 9 shelves. (Bug#9935)
7338 Reported by Colin D Bennett <colin@gibibit.com>.
7340 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7342 * help.el (with-help-window): Don't reference
7343 temp-buffer-show-specifiers in doc-string.
7345 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7347 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7350 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7352 * whitespace.el: New version 13.2.2.
7353 (whitespace-newline-mode): Disable properly. Reported by Sarah
7356 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7358 * net/newst-treeview.el: Remove "Time-stamp".
7359 (newsticker--group-manage-orphan-feeds): Do not call
7360 newsticker--treeview-tree-update.
7361 (newsticker-treeview-update, newsticker-treeview):
7362 Call newsticker--treeview-tree-update if necessary.
7364 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7366 * window.el (window-iso-combination-p, window-iso-combined-p)
7367 (window-iso-combinations): Remove "iso-" infix.
7368 Suggested by Chong Yidong.
7369 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7370 (window-max-delta-1, window-resize, window--resize-siblings)
7371 (window--resize-this-window, adjust-window-trailing-edge)
7372 (split-window, balance-windows-1)
7373 (shrink-window-if-larger-than-buffer):
7374 * calendar/calendar.el (calendar-generate-window):
7375 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7377 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7379 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7380 in place (bug#9907).
7381 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7382 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7383 (eshell-structure-basic-command, eshell-rewrite-while-command)
7384 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7385 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7386 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7387 (eshell-do-pipelines-synchronously, eshell-eval-command):
7388 Use backquotes and prefer setq to set.
7389 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7390 (eshell-macrop): Use functionp.
7391 (eshell-do-eval): Handle multiple expressions in `while' body.
7393 2011-10-30 Chong Yidong <cyd@gnu.org>
7395 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7396 instead of set-mark (Bug#9810).
7398 2011-10-30 Chong Yidong <cyd@gnu.org>
7400 * window.el (split-window-below, split-window-right): Rename from
7401 split-window-above-each-other and split-window-side-by-side
7402 respectively. All callers changed.
7403 (split-window-sensibly, split-window-sensibly): Use them.
7404 (split-window-keep-point): Doc fix.
7406 * isearch.el: Add isearch-scroll property to split-window-below
7407 and split-window-right.
7409 * follow.el (follow-mode):
7410 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7411 * progmodes/ada-xref.el (ada-gdb-application):
7412 * emulation/vip.el (vip-buffer-in-two-windows):
7413 * image-dired.el (image-dired-dired-with-window-configuration):
7414 * dired-x.el (dired-do-find-marked-files):
7415 * dired.el (dired-pop-to-buffer):
7416 * bs.el (bs--show-with-configuration):
7417 * vc/emerge.el (emerge-setup-windows):
7418 * textmodes/two-column.el (2C-two-columns):
7419 * textmodes/reftex-toc.el (reftex-toc):
7420 * progmodes/gdb-mi.el (gdb-setup-windows):
7421 * progmodes/fortran.el (fortran-window-create):
7422 * net/newst-treeview.el (newsticker--treeview-window-init):
7423 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7424 * emulation/tpu-edt.el (tpu-gold-map):
7425 * emulation/crisp.el (crisp-mode-map):
7426 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7428 2011-10-29 Chong Yidong <cyd@gnu.org>
7430 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7432 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7434 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7435 forged Ispell output (Bug#7904).
7437 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7439 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7441 * doc-view.el: Avoid ugly errors about not finding nil.
7442 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7443 (doc-view-dvipdf-program, doc-view-unoconv-program)
7444 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7445 Avoid nil or absolute file name as default value.
7446 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7448 2011-10-28 Alan Mackenzie <acm@muc.de>
7450 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7452 2011-10-28 Alan Mackenzie <acm@muc.de>
7454 Amend the handling of c-beginning/end-of-defun in nested declaration
7457 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7458 cc-langs.el. Change it to a defcustom.
7460 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7463 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7464 Prevent "class foo : bar" being spuriously recognized as a label.
7466 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7467 Add parameter `inclusive' (to include enclosing braces in the region).
7468 (c-widen-to-enclosing-decl-scope): New function.
7469 (c-while-widening-to-decl-block): New macro.
7470 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7471 outward for defun boundaries, and correspondingly change symbol
7472 `respect-enclosure' to `go-outward'.
7473 (c-declaration-limits): Change algorithm to report only the "innermost"
7476 2011-10-28 Deniz Dogan <deniz@dogan.se>
7478 * net/rcirc.el (rcirc-mode): Use hard newlines.
7480 2011-10-28 Alan Mackenzie <acm@muc.de>
7482 Amend to indent and fontify macros "which include their own semicolon"
7483 correctly, using the "virtual semicolon" mechanism.
7485 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7487 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7488 Recode to scan one line at a time rather than having \n and \r
7489 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7490 (c-forward-label): Amend for virtual semicolons.
7491 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7493 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7494 of the new C macros.
7496 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7497 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7498 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7499 (c-opt-cpp-macro-define): Make into a full language variable.
7500 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7501 AWK Mode (including \n, \r) removed, no longer needed.
7503 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7504 Invoke c-make-macro-with-semi-re.
7506 * progmodes/cc-vars.el (c-macro-with-semi-re):
7507 (c-macro-names-with-semicolon): New variables.
7508 (c-make-macro-with-semi-re): New function.
7510 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7512 * vc/log-edit.el: Fill empty field rather than adding new one.
7513 (log-edit-add-field): New function.
7514 (log-edit-insert-changelog): Use it.
7516 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7518 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7520 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7522 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7523 (gdb--check-interpreter): New function.
7526 2011-10-27 Glenn Morris <rgm@gnu.org>
7528 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7529 (least-positive-float, least-negative-float)
7530 (least-positive-normalized-float, least-negative-normalized-float)
7531 (float-epsilon, float-negative-epsilon):
7532 Remove unnecessary declarations.
7534 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7535 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7536 (least-positive-float, least-negative-float)
7537 (least-positive-normalized-float, least-negative-normalized-float)
7538 (float-epsilon, float-negative-epsilon): Add doc-strings,
7539 based on those in cl.texi.
7541 * files.el (set-visited-file-name): If the major-mode changed,
7542 reload the local variables. (Bug#9796)
7544 2011-10-27 Chong Yidong <cyd@gnu.org>
7546 * subr.el (change-major-mode-after-body-hook): New hook.
7547 (run-mode-hooks): Run it.
7549 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7550 Use change-major-mode-before-body-hook.
7552 * simple.el (fundamental-mode):
7553 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7554 change introducing fundamental-mode-hook.
7556 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7558 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7560 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7562 * ido.el (ido-file-name-all-completions-1): Do not require
7563 tramp.el explicitly. (Bug#7583)
7565 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7567 * progmodes/octave-mod.el:
7568 * progmodes/octave-inf.el: Update maintainer.
7570 2011-10-26 Chong Yidong <cyd@gnu.org>
7572 * subr.el (with-wrapper-hook): Rewrite doc.
7574 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7576 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7577 filenames "/method:foo:". (Bug#9793)
7579 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7581 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7584 2011-10-24 Glenn Morris <rgm@gnu.org>
7586 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7588 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7590 * notifications.el: Add the requirement of a running D-Bus session
7591 bus to the Commentary.
7593 2011-10-24 Juri Linkov <juri@jurta.org>
7595 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7596 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7599 2011-10-24 Juri Linkov <juri@jurta.org>
7601 * info.el (Info-following-node-name-re): Add newline to the list
7602 of allowed characters for leading space. (Bug#9824)
7604 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7606 * progmodes/octave-inf.el (inferior-octave-mode-map):
7607 Fix C-c C-h binding.
7608 * progmodes/octave-mod.el (octave-help): Remove.
7610 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7612 Sync with Tramp 2.2.3.
7614 * net/tramp-cache.el (top): Pacify byte-compiler using
7615 `init-file-user' and `site-run-file'.
7617 * net/trampver.el: Update release number.
7619 2011-10-23 Chong Yidong <cyd@gnu.org>
7621 * files.el (toggle-read-only): Remove obsolete comment about
7624 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7625 for toggle-read-only. Note that this hasn't called vc-next-action
7626 since 2008-05-02, though it wasn't documented at the time.
7628 * vc/ediff-init.el (ediff-toggle-read-only-function):
7629 Use toggle-read-only.
7631 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7633 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7636 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7637 correct faulty logical expression.
7638 (c-parse-state-state, c-record-parse-state-state):
7639 (c-replay-parse-state-state): New defvar/defuns.
7640 (c-debug-parse-state): Use new functions.
7642 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7644 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7645 last fix. Use window-in-direction correctly.
7647 2011-10-21 Chong Yidong <cyd@gnu.org>
7649 * progmodes/idlwave.el (idlwave-mode):
7650 * progmodes/vera-mode.el (vera-mode): No need to set
7651 require-final-newline; that's done in prog-mode.
7652 Suggested by Stefan Monnier.
7654 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7656 * mouse.el (mouse-drag-window-above)
7657 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7658 (mouse-drag-mode-line-1, mouse-drag-header-line)
7659 (mouse-drag-vertical-line-rightward-window): Remove.
7660 (mouse-drag-line): New function.
7661 (mouse-drag-mode-line, mouse-drag-header-line)
7662 (mouse-drag-vertical-line): Call mouse-drag-line.
7663 * window.el (window-at-side-p, windows-at-side): New functions.
7665 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7667 * tar-mode.el (tar-grind-file-mode):
7668 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7670 2011-10-21 Chong Yidong <cyd@gnu.org>
7672 * progmodes/idlwave.el (idlwave-mode):
7673 * progmodes/vera-mode.el (vera-mode):
7674 Use mode-require-final-newline.
7676 2011-10-20 Glenn Morris <rgm@gnu.org>
7678 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7680 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7682 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7684 2011-10-20 Chong Yidong <cyd@gnu.org>
7686 * emulation/cua-base.el (cua-mode):
7687 * mail/footnote.el (footnote-mode):
7688 * mail/mailabbrev.el (mail-abbrevs-mode):
7689 * net/xesam.el (xesam-minor-mode):
7690 * progmodes/bug-reference.el (bug-reference-mode):
7691 * progmodes/cap-words.el (capitalized-words-mode):
7692 * progmodes/compile.el (compilation-minor-mode)
7693 (compilation-shell-minor-mode):
7694 * progmodes/gud.el (gud-tooltip-mode):
7695 * progmodes/hideif.el (hide-ifdef-mode):
7696 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7697 * progmodes/subword.el (subword-mode):
7698 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7699 * progmodes/which-func.el (which-function-mode):
7700 * term/tvi970.el (tvi970-set-keypad-mode):
7701 * term/vt100.el (vt100-wide-mode):
7702 * textmodes/flyspell.el (flyspell-mode):
7703 * textmodes/ispell.el (ispell-minor-mode):
7704 * textmodes/nroff-mode.el (nroff-electric-mode):
7705 * textmodes/paragraphs.el (use-hard-newlines):
7706 * textmodes/refill.el (refill-mode):
7707 * textmodes/reftex.el (reftex-mode):
7708 * textmodes/rst.el (rst-minor-mode):
7709 * textmodes/sgml-mode.el (html-autoview-mode)
7710 (sgml-electric-tag-pair-mode):
7711 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7712 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7713 * emulation/crisp.el (crisp-mode):
7714 * emacs-lisp/eldoc.el (eldoc-mode):
7715 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7716 minor mode behavior.
7718 2011-10-19 Juri Linkov <juri@jurta.org>
7720 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7721 the list of hard-coded chars with escape-glyph face.
7723 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7725 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7727 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
7729 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7732 2011-10-19 Glenn Morris <rgm@gnu.org>
7734 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7735 Ignore ignored files. (Bug#9726)
7737 2011-10-19 Chong Yidong <cyd@gnu.org>
7739 Doc fix for minor modes, stating that an omitted argument enables
7740 the mode unconditionally when called from Lisp.
7742 * abbrev.el (abbrev-mode):
7743 * allout.el (allout-mode):
7744 * autoinsert.el (auto-insert-mode):
7745 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7746 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7747 (global-auto-revert-mode):
7748 * battery.el (display-battery-mode):
7749 * composite.el (global-auto-composition-mode)
7750 (auto-composition-mode):
7751 * delsel.el (delete-selection-mode):
7752 * desktop.el (desktop-save-mode):
7753 * dired-x.el (dired-omit-mode):
7754 * dirtrack.el (dirtrack-mode):
7755 * doc-view.el (doc-view-minor-mode):
7756 * double.el (double-mode):
7757 * electric.el (electric-indent-mode, electric-pair-mode):
7758 * emacs-lock.el (emacs-lock-mode):
7759 * epa-hook.el (auto-encryption-mode):
7760 * follow.el (follow-mode):
7761 * font-core.el (font-lock-mode):
7762 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7763 * help.el (temp-buffer-resize-mode):
7764 * hilit-chg.el (highlight-changes-mode)
7765 (highlight-changes-visible-mode):
7766 * hi-lock.el (hi-lock-mode):
7767 * hl-line.el (hl-line-mode, global-hl-line-mode):
7768 * icomplete.el (icomplete-mode):
7769 * ido.el (ido-everywhere):
7770 * image-file.el (auto-image-file-mode):
7771 * image-mode.el (image-minor-mode):
7772 * iswitchb.el (iswitchb-mode):
7773 * jka-cmpr-hook.el (auto-compression-mode):
7774 * linum.el (linum-mode):
7775 * longlines.el (longlines-mode):
7776 * master.el (master-mode):
7777 * mb-depth.el (minibuffer-depth-indicate-mode):
7778 * menu-bar.el (menu-bar-mode):
7779 * minibuf-eldef.el (minibuffer-electric-default-mode):
7780 * mouse-sel.el (mouse-sel-mode):
7781 * msb.el (msb-mode):
7782 * mwheel.el (mouse-wheel-mode):
7783 * outline.el (outline-minor-mode):
7784 * paren.el (show-paren-mode):
7785 * recentf.el (recentf-mode):
7786 * reveal.el (reveal-mode, global-reveal-mode):
7787 * rfn-eshadow.el (file-name-shadow-mode):
7788 * ruler-mode.el (ruler-mode):
7789 * savehist.el (savehist-mode):
7790 * scroll-all.el (scroll-all-mode):
7791 * scroll-bar.el (scroll-bar-mode):
7792 * server.el (server-mode):
7793 * shell.el (shell-dirtrack-mode):
7794 * simple.el (auto-fill-mode, transient-mark-mode)
7795 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7796 (line-number-mode, column-number-mode, size-indication-mode)
7797 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7798 * strokes.el (strokes-mode):
7799 * time.el (display-time-mode):
7800 * t-mouse.el (gpm-mouse-mode):
7801 * tool-bar.el (tool-bar-mode):
7802 * tooltip.el (tooltip-mode):
7803 * type-break.el (type-break-mode-line-message-mode)
7804 (type-break-query-mode):
7805 * view.el (view-mode):
7806 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7807 (global-whitespace-mode, global-whitespace-newline-mode):
7808 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7810 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7811 Fix autogenerated docstring.
7813 2011-10-19 Juri Linkov <juri@jurta.org>
7815 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7816 by checking environment variables "DESKTOP_SESSION" and
7817 "XDG_CURRENT_DESKTOP". (Bug#9779)
7819 2011-10-19 Juri Linkov <juri@jurta.org>
7821 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7822 (browse-url-chromium-program, browse-url-chromium-arguments):
7824 (browse-url-default-browser): Check for `browse-url-chromium' and
7825 call `browse-url-chromium-program'.
7826 (browse-url-chromium): New command. (Bug#9779)
7828 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7830 * facemenu.el (list-colors-duplicates): On Windows, detect more
7831 duplicates by assuming that only colors matching "^System" are
7832 special "system colors". (Bug#9722)
7834 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7836 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7837 to distinguish the author from the committer.
7839 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7841 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7843 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7845 * international/mule.el (sgml-html-meta-auto-coding-function):
7846 Add support for detecting encoding in HTML5 specified only as
7847 <meta charset="UTF-8">. Implementation just makes http-equiv and
7848 content-type parts from HTML4 encoding string optional. (Bug#9716)
7850 2011-10-18 Glenn Morris <rgm@gnu.org>
7852 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7854 2011-10-18 Chong Yidong <cyd@gnu.org>
7856 * faces.el (cursor): Doc fix.
7858 2011-10-17 Chong Yidong <cyd@gnu.org>
7860 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7862 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7864 * dirtrack.el (dirtrack): Support shell buffers with path
7865 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7867 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7869 * json.el: Bump version to 1.3 and note change in History.
7870 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7872 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7874 * comint.el (comint-insert-input, comint-send-input)
7875 (comint-get-old-input-default, comint-backward-matching-input)
7876 (comint-next-prompt): Use nil instead of `input' for field property of
7877 past user input (bug#114).
7879 * minibuffer.el (completion--replace): Inherit surrounding properties
7881 (minibuffer-complete-and-exit): Use it.
7883 * comint.el (comint--table-subvert): Quote the all-completions output
7886 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7888 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7890 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7891 window on right of selected. (Bug#9350) Reword other window
7892 entries and separate them from frame entries.
7894 2011-10-15 Glenn Morris <rgm@gnu.org>
7896 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7899 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7901 * net/network-stream.el (network-stream-open-starttls):
7902 Improve detection of failure due to lack of TLS support.
7904 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7905 putting the input text in front and in bold.
7907 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7909 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7911 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7914 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7915 unread-command-events rather than pushing yet-another event.
7917 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7919 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7920 the explanation of the possible choices. Make the options passed
7921 to completing-read shorter.
7923 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7925 * textmodes/flyspell.el (flyspell-large-region): Make sure
7926 extended character mode is used if defined (Bug#1339).
7928 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7930 * simple.el (what-cursor-position): Fix the display of the
7931 character info for LRE, LRO, RLE, and RLO characters by appending
7934 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7936 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7937 even in case of error; add debug spec; simplify data flow.
7938 (with-timeout-handler): Remove.
7940 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7942 Fix Bug#6019, Bug#9315.
7944 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7945 complete `buffer-file-name', the local file name part could look
7946 remotely (for example on VMS).
7948 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7949 `tramp-run-real-handler'.
7950 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7951 already quoted by '"'.
7953 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7954 Let `file-name-handler-alist' be nil, the local file name part
7955 could look remotely (for example on VMS).
7957 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7959 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7961 (flyspell-post-command-hook): ...to here.
7963 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7965 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7967 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7968 using completion. Protect against "slow" callers.
7969 Remove the "message hack".
7971 2011-10-11 Juri Linkov <juri@jurta.org>
7973 * isearch.el (isearch-lazy-highlight-word): New variable.
7974 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7977 2011-10-11 Glenn Morris <rgm@gnu.org>
7979 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7980 like f90-previous-statement does.
7982 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7984 * eshell/eshell.el (eshell-command): History should be saved
7985 only in interactive use, to avoid error.
7987 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7989 * minibuffer.el (completion-file-name-table): Fix last change,
7990 i.e. ignore normal errors but not the other ones.
7992 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7994 * window.el (special-display-buffer-names)
7995 (special-display-regexps): Remove some remnants of earlier
7996 changes from doc-strings.
7997 (quit-windows-on): New function.
7999 * vc/vc.el (vc-revert, vc-rollback):
8000 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8001 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8002 (Bug#6183) (Bug#7074) (Bug#7447)
8004 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8006 * window.el (frame-auto-hide-function): Add version tag.
8009 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8011 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8014 2011-10-09 Leo Liu <sdl.web@gmail.com>
8016 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8019 2011-10-08 Glenn Morris <rgm@gnu.org>
8021 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8022 before the first code statement zero indent. (Bug#9690)
8024 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8026 * simple.el (count-words-region): Always count in the region.
8027 Report the number of lines and characters too.
8028 (count-words): New command, which counts in the buffer if the
8029 region is inactive, as count-words-region used to.
8030 (count-words--message): New function. Handle plurals.
8031 (count-lines-region): Make it an alias for count-words-region.
8033 * bindings.el (esc-map): Replace count-lines-region with
8036 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8038 * window.el (window--delete): Delete dedicated frame
8039 unconditionally when argument KILL is non-nil. (Bug#9699)
8040 (switch-to-buffer): Fix doc-string typo.
8042 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8044 * eshell/eshell.el (eshell-command): Avoid using hooks.
8046 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8048 * bindings.el ([M-left],[M-right]): Bind to left-word and
8049 right-word respectively.
8051 2011-10-07 Glenn Morris <rgm@gnu.org>
8053 * cus-start.el (debug-on-quit): Fix custom type.
8055 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8057 * subr.el (define-key-after): Clarify that the function is not
8058 useful for non-menu keymaps.
8060 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8062 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8064 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8065 in current minibuffer (Fix bug with recursive minibuffers).
8067 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8069 * progmodes/gdb-mi.el (gdb): Doc fix.
8071 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8073 * window.el (frame-auto-hide-function): New option replacing
8074 frame-auto-delete. Suggested by Stefan Monnier.
8075 (window--delete): Call frame-auto-hide-function instead of
8076 investigating frame-auto-delete.
8077 (window-point-1, set-window-point-1): New functions.
8078 (window-in-direction, record-window-buffer, window-state-get-1)
8079 (display-buffer-record-window): Use window-point-1 instead of
8081 (set-window-buffer-start-and-point): Use set-window-point-1.
8083 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8085 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8087 2011-10-05 Glenn Morris <rgm@gnu.org>
8089 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8090 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8092 2011-10-05 Leo Liu <sdl.web@gmail.com>
8094 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8095 works with buffer object.
8097 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8099 * mpc.el (mpc-tool-bar-map): Add labels.
8101 2011-10-04 Glenn Morris <rgm@gnu.org>
8103 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8105 2011-10-04 Martin Rudalics <rudalics@gmx.at>
8107 * window.el (window--delete): New function.
8108 (frame-auto-delete): Resuscitate option.
8109 (bury-buffer, replace-buffer-in-windows)
8110 (quit-window): Rewrite using window--delete.
8111 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8112 Pass display-buffer-mark-dedicated to window--display-buffer-2
8115 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8117 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8118 returns a list (bug#9554). Add remote file name completion.
8119 * comint.el (comint--table-subvert): Curry and get quote&unquote
8120 functions as arguments.
8121 (comint--complete-file-name-data): Adjust call accordingly.
8122 * pcomplete.el (pcomplete--table-subvert): Remove.
8123 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8125 * minibuffer.el (completion-table-case-fold): Use currying.
8126 (completion--styles-type, completion--cycling-threshold-type):
8128 (completion-styles, completion-category-overrides)
8129 (completion-cycle-threshold): Use them.
8130 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8131 completion-table-case-fold.
8133 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
8135 * minibuffer.el (completion-category-overrides): Fix type of styles
8136 and add more user friendly tags (bug#9660).
8138 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8140 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8141 (mule-input-method-string): New widget.
8142 (default-input-method, language-info-custom-alist): Use it.
8144 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8146 * pcomplete.el: Require comint.
8147 (pcomplete--common-suffix): Remove.
8148 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8149 (pcomplete--table-subvert): Sync with comint--table-subvert.
8150 (pcomplete--entries): Use comint-completion-file-name-table.
8151 * comint.el (comint-unquote-filename): Simplify.
8152 (comint-completion-file-name-table): New function (bug#9616).
8153 (comint--complete-file-name-data): Use it.
8155 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8156 (pcmpl-gnu-tar-buffer): Remove.
8157 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8158 around. Make sure pcomplete-suffix-list is only changed temporarily.
8159 Don't look inside the tar's file if it's too large.
8161 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
8163 * cus-edit.el (custom-mode-map):
8164 * epa.el (epa-key-list-mode-map):
8165 * man.el (Man-mode-map):
8166 * startup.el (splash-screen-keymap):
8167 * simple.el (special-mode-map): Use scroll-up-command and
8168 scroll-down-command.
8170 * progmodes/idlw-help.el (idlwave-help-mode-map):
8171 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8172 * net/newst-plainview.el (newsticker-mode-map):
8173 * emulation/ws-mode.el (wordstar-mode-map):
8174 * emulation/vi.el (vi-com-map):
8175 * calc/calc-graph.el (calc-graph-show-dumb):
8176 * term/sun.el (terminal-init-sun):
8177 * term/ns-win.el (global-map):
8178 * progmodes/grep.el (grep-mode-map):
8179 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8180 * mail/rmail.el (rmail-mode-map):
8181 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8183 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8184 custom-safe-themes as special.
8186 2011-10-01 Julien Danjou <julien@danjou.info>
8188 * notifications.el (notifications-notify): Fix docstring.
8190 2011-10-01 Per Starbäck <per@starback.se>
8192 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8194 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8196 * startup.el (command-line-1): Fix last fix by inserting
8197 initial-scratch-message into *scratch* before displaying it.
8198 (Bug#9605) and (Bug#9636)
8200 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8202 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8203 window is hscrolled, move by logical lines. (Bug#9607)
8204 (line-move-visual): Update the doc string to the above effect.
8206 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8208 * window.el (display-buffer-record-window): When WINDOW is the
8209 selected window use `point' instead of `window-point'. (Bug#9626)
8211 * startup.el (command-line-1): Use insert-before-markers when
8212 inserting initial-scratch-message. (Bug#9605)
8214 * help.el (help-window): Remove variable.
8216 2011-09-29 Glenn Morris <rgm@gnu.org>
8218 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8220 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8222 * descr-text.el (describe-char-categories): Accept category
8223 descriptions more than one line long.
8225 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8227 * simple.el (delete-trailing-whitespace): Fix last change.
8229 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8230 Don't confuse "y => 3" as the beginning of a `y' operation.
8232 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8233 object has more than 4 slots (bug#9613).
8235 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8237 * subr.el (with-output-to-temp-buffer):
8238 * net/quickurl.el (quickurl, quickurl-browse-url):
8239 Fix typos in docstrings.
8241 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8243 * minibuffer.el (completion-styles)
8244 (completion-category-overrides): Cross reference each other in doc
8247 2011-09-27 Glenn Morris <rgm@gnu.org>
8249 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8250 to split-string. (Bug#9606)
8252 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8254 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8257 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8259 * emacs-lisp/package.el (list-packages): Fix echo area message.
8261 2011-09-27 Leo Liu <sdl.web@gmail.com>
8263 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8265 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8267 * net/dbus.el (dbus-unregister-object): Don't release services for
8268 registered signals. (Bug#9581)
8270 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8272 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8273 function that picks between cfengine 2 and 3 support
8274 automatically. Update docs accordingly.
8276 2011-09-22 Kenichi Handa <handa@m17n.org>
8278 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8280 (indian-itrans-v5-table-for-tamil): New variable.
8281 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8283 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8285 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8286 that's true if the current command involved collapsing of text.
8287 It's reset to false at the beginning of the next command.
8288 (allout-post-command-business): Move the cursor to the beginning
8289 of entry if the cursor is hidden and collapsing activity just
8292 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8294 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8295 tracking (Bug#9541).
8297 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8299 * net/newst-reader.el (newsticker-html-renderer)
8300 (newsticker-show-news): Automatically load html rendering package
8301 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8302 because w3m-fill-column is let-bound" and the error "Symbol's value
8303 as variable is void: w3m-fill-column".
8305 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8307 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8308 Release services only if they are defined. (Bug#9581)
8310 2011-09-23 Richard Stallman <rms@gnu.org>
8312 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8313 distinguish start of paragraph from start of its text.
8315 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8317 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8318 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8319 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8321 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8323 * international/mule-diag.el (mule-diag): Insert a newline after
8324 each fontset description.
8326 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8328 * simple.el (delete-trailing-whitespace):
8329 Document last change; simplify.
8331 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8333 * simple.el (delete-trailing-whitespace): Also delete
8334 extra newlines at the end of the buffer.
8336 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8337 (picture-newline): Use forward-line so as to ignore fields.
8339 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8341 * subr.el (with-wrapper-hook): Fix edebug spec.
8343 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8345 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8348 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8350 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8351 Fix nasty bug using wrong cached values.
8353 2011-09-23 Alan Mackenzie <acm@muc.de>
8355 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8357 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8359 * window.el (pop-to-buffer): Ensure right window is selected if we
8360 chose another frame.
8362 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8364 * simple.el (what-cursor-position): Use get-char-property-change
8365 and next-single-char-property-change, to be able to show display
8366 properties that come from overlays as well as text properties.
8368 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8370 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8372 * cmuscheme.el (run-scheme, switch-to-scheme):
8373 * cus-edit.el (customize-group, custom-buffer-create)
8377 * mail/sendmail.el (mail):
8378 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8380 2011-09-22 Richard Stallman <rms@gnu.org>
8382 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8383 move back only to line beg, don't move back over blank lines.
8385 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8387 * files.el (copy-directory): Set directory attributes only in case
8388 they could be retrieved from the source directory. (Bug#9565)
8390 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8392 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8393 (hs-find-block-beginning, hs-hide-level-recursive):
8394 Ignore strings as well as comments. (Bug#9502)
8396 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8398 * progmodes/sql.el (sql-comint-postgres):
8399 Convert port number to a string. (Bug#9566)
8401 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8403 * window.el (quit-window): Undedicate window when switching to
8404 previous buffer. Reported by Thierry Volpiatto
8405 <thierry.volpiatto@gmail.com>.
8406 (special-display-popup-frame): When popping up a new frame reset
8407 its previous buffers to nil. Simplify code.
8409 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8411 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8412 and process filter, as done also in `shell-command'.
8414 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8416 * window.el (set-window-buffer-start-and-point):
8417 Call set-window-start with NOFORCE argument t.
8418 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8419 (quit-window): Reword doc-string. Handle new format of
8420 quit-restore parameter. Don't delete window if it has a
8421 previous buffer we can show instead of the present one.
8422 (display-buffer-record-window): Rewrite using a new format for
8423 the quit-restore window parameter
8424 (special-display-popup-frame, display-buffer-same-window)
8425 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8426 (display-buffer-pop-up-window, display-buffer-use-some-window):
8427 Adapt symbol passed to display-buffer-record-window.
8428 * help.el (help-window-setup): Handle new format of quit-restore
8431 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8433 * faces.el (face-list): Fix docstring (bug#9564).
8435 * window.el (display-buffer--action-function-custom-type):
8436 Don't include internal functions in the Custom interface.
8438 2011-09-20 Juri Linkov <juri@jurta.org>
8440 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8441 (Info-forward-node, Info-backward-node, Info-next-preorder)
8442 (Info-last-preorder): Use it. (Bug#9528)
8444 2011-09-20 Juri Linkov <juri@jurta.org>
8446 * info.el (Info-last-preorder): Visit last menu item only when
8447 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8449 2011-09-20 Julien Danjou <julien@danjou.info>
8451 * password-cache.el (password-cache-remove): Remove entries even if the
8452 value is nil, so that password with a nil value (negative caching) is
8453 possible to invalidate.
8455 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8457 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8458 all whitespace around breakpoint. (Bug#9553)
8459 (f90-find-breakpoint): Only break at whitespace inside a comment.
8461 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8463 * minibuffer.el (completion-file-name-table): Keep track of errors.
8464 (completion-table-with-predicate): Handle the case where pred1 is nil.
8465 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8467 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8469 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8470 (debugger-return-value): Signal an error if the debugging context does
8471 not await any return value.
8473 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8474 * image-mode.el (image-toggle-display-text)
8475 (image-toggle-display-image): Stay away from evil `intangible'.
8477 2011-09-19 Leo Liu <sdl.web@gmail.com>
8479 * replace.el (occur-revert-arguments): Make it permanent-local.
8480 (occur-mode): Don't call font-lock-defontify.
8482 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8484 * net/ldap.el (ldap-search-internal): Don't push empty search
8487 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8489 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8491 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8493 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8494 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8496 2011-09-18 Juri Linkov <juri@jurta.org>
8498 * buff-menu.el (Buffer-menu-mode-map):
8499 * dired.el (dired-mode-map):
8500 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8501 (lisp-interaction-mode-map):
8502 * emacs-lisp/package.el (package-menu-mode-map):
8503 * epa.el (epa-key-list-mode-map):
8504 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8505 (menu-bar-options-menu):
8506 * outline.el (outline-mode-menu-bar-map):
8507 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8508 * vc/vc-dir.el (vc-dir-menu-map):
8509 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8510 Capitalize non-function content words in menu item strings.
8512 * dired.el (dired-mode-map): Add menu item for
8513 `image-dired-dired-toggle-marked-thumbs'.
8515 2011-09-18 Juri Linkov <juri@jurta.org>
8517 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8518 to `isearch-case-fold-search' and restore its original value
8519 after the `isearch-mode' call.
8521 2011-09-18 Juri Linkov <juri@jurta.org>
8523 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8524 because `zgrep' returns 1 for successful matches (bug#9226).
8526 2011-09-18 Juri Linkov <juri@jurta.org>
8528 * info.el (Info-extract-menu-node-name): Check the second match
8529 for empty string (second test-case of bug#9528).
8530 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8531 intermediate nodes to the history (first test-case of bug#9528).
8533 2011-09-18 Juri Linkov <juri@jurta.org>
8535 * info.el (Info-mode-syntax-table): New variable.
8536 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8538 2011-09-18 Juri Linkov <juri@jurta.org>
8540 * info.el (Info-file-supports-index-cookies):
8541 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8542 outputs one more line for long file names (bug#4142).
8544 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8546 * newcomment.el (comment-normalize-vars): If prompting for
8547 comment-start, set comment-start-skip too (Bug#8424).
8549 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8551 * icomplete.el: Fix previous fix of Bug#5849.
8552 (icomplete-mode): Don't set completion-show-inline-help.
8553 (icomplete-minibuffer-setup): Set completion-show-inline-help
8554 locally during icompletion.
8556 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8558 * woman.el (woman2-process-escapes): Don't delete unrecognized
8561 * files.el (inhibit-first-line-modes-regexps): Add image files.
8562 (hack-local-variables-prop-line): Return nil for malformed
8563 prop-lines (Bug#9044).
8565 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8567 * net/tramp.el (top): Don't require 'shell.
8568 (tramp-methods): Fix docstring.
8569 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8570 Return complete remote file name. Handle "smb" case.
8571 Use `tramp-tmpdir', if defined for the respective method.
8572 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8574 * net/tramp-compat.el (top): Require 'shell.
8576 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8577 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8578 `tramp-current-host'.
8579 (tramp-get-remote-tmpdir): Remove.
8581 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8582 `tramp-tmpdir' entries.
8583 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8584 (tramp-smb-handle-file-attributes): Ignore errors.
8585 (tramp-smb-wait-for-output): Check also for process end.
8587 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8589 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8590 when sending QUIT (bug#9312).
8592 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8594 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8595 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8596 occur-mode-display-occurrence.
8597 (occur-edit-mode): Add usage message.
8598 (occur-cease-edit): New command.
8599 (occur-after-change-function): Use text properties to find the
8600 position of the prefix text.
8601 (occur-engine): Set stickiness of prefix text properties.
8603 2011-09-17 Glenn Morris <rgm@gnu.org>
8605 * progmodes/etags.el (complete-tag):
8606 Fix call to completion-in-region. (Bug#9526)
8608 2011-09-17 Juri Linkov <juri@jurta.org>
8610 * textmodes/ispell.el (ispell-word): Add to the error message
8611 the word, ispell program name and current dictionary (bug#9121).
8612 (ispell-tex-arg-end): Capitalize "error" in the error message.
8614 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8616 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8619 2011-09-17 Juri Linkov <juri@jurta.org>
8621 * window.el (window-safe-min-height, window-safe-min-width):
8622 Fix typos (followup to bug#9522).
8624 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8626 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8628 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8630 * simple.el (line-move): If goal-column is set, move by logical
8631 lines, not by display lines. (Bug#971)
8632 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8633 to reflect the above change.
8635 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8637 * image.el (imagemagick-register-types): Use regexp-opt.
8639 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8641 * window.el (display-buffer-base-action): Rename from
8642 display-buffer-default-action. Make default value empty.
8643 (display-buffer-overriding-action): Convert to defvar.
8644 (display-buffer-fallback-action): New var.
8646 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8648 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8650 (package--add-to-archive-contents): If there is a duplicate entry
8651 with an older version, remove it.
8652 (package-menu-mark-delete, package-menu-mark-install)
8653 (package-menu-mark-unmark): Make unused args optional.
8654 (package-menu-mark-obsolete-for-deletion):
8655 Use package-menu-get-status instead of a regexp search.
8656 (package-menu-get-status): Use tabulated-list-entry.
8657 (package-menu-mark-upgrades): New command.
8658 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8659 (package-menu-execute): Do installation before deletion.
8660 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8661 instead of checking major-mode.
8662 (package-menu--find-upgrades): New function.
8664 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8666 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8667 passwords in the log buffer.
8668 (smtpmail-process-filter): Update the process marker so that the
8669 "broken by peer" status message is inserted in the right place.
8671 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8673 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8674 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8675 bibtex-completion-at-point-function.
8676 (bibtex-completion-at-point-function): Use them.
8678 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8680 * mpc.el (mpc-constraints-tag-lookup): New function.
8681 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8682 also to browser "album|playlist".
8684 2011-09-14 Juri Linkov <juri@jurta.org>
8686 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8687 (isearch-edit-string): Use length of `isearch-string' when
8688 `isearch-fail-pos' returns nil.
8689 (isearch-message): Remove duplicate code and call
8690 `isearch-fail-pos' with arg `t'.
8692 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8694 * replace.el (occur-mode-goto-occurrence): Don't force using other
8697 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8699 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8701 * window.el (display-buffer-window): Remove.
8702 (display-buffer-record-window): Use help-setup window parameter
8703 instead of variable display-buffer-window.
8704 (display-buffer-function, special-display-buffer-names)
8705 (special-display-function): Mention help-setup parameter instead
8706 of display-buffer-window in doc-string.
8707 * help.el (help-window-setup): New argument help-window.
8708 Use help-window-setup parameter instead of display-buffer-window.
8709 Reword some messages.
8710 (with-help-window): Pass window used for displaying the buffer
8711 to help-window-setup. Don't set display-buffer-window.
8713 2011-09-13 Glenn Morris <rgm@gnu.org>
8715 * emacs-lisp/debug.el (debugger-make-xrefs):
8716 Preserve point. (Bug#9462)
8718 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8720 * window.el (window-deletable-p): Use next-frame.
8722 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8724 * window.el (window-auto-delete): Remove.
8725 (window-deletable-p): Remove argument FORCE. Don't deal with
8726 dedication and previous buffers.
8727 (switch-to-prev-buffer): Don't delete window.
8728 (delete-windows-on): Delete a window's frame if and only if the
8729 window is dedicated.
8730 (replace-buffer-in-windows): Delete buffer's window or frame if
8731 and only if window is dedicated.
8732 (quit-window): Handle quit-restore as before last change.
8733 (bury-buffer): Delete window only if window-deletable-p returns t.
8735 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8737 * window.el (window-deletable-p): Never delete the last frame on a
8740 2011-09-13 Glenn Morris <rgm@gnu.org>
8742 * help.el (describe-key-briefly): Copy previous standard-output change.
8744 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8746 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8748 2011-09-13 Glenn Morris <rgm@gnu.org>
8750 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8751 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8753 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
8755 * dired-aux.el (dired-mark-read-string): Don't return default
8756 value on empty input (Bug#9361).
8757 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8758 Omit initial minibuffer contents.
8759 (dired-do-chmod): Signal an error on empty input.
8760 (dired-mark-read-string): Don't return default on empty input.
8762 * files.el (file-modes-symbolic-to-number): Doc fix.
8764 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8766 * international/mule-cmds.el (ucs-completions): Remove.
8767 (read-char-by-name): Use complete-with-action instead; add metadata.
8769 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8771 * window.el (display-buffer--action-function-custom-type)
8772 (display-buffer--action-custom-type): New vars.
8773 (display-buffer-alist, display-buffer-default-action)
8774 (display-buffer-overriding-action): Add defcustom types.
8776 * frame.el (delete-other-frames): Doc fix (Bug#276).
8778 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8780 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8782 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8784 Change modes that used same-window-* vars to use switch-to-buffer.
8786 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8787 Use switch-to-buffer.
8789 * cus-edit.el (customize-group, custom-buffer-create)
8790 (customize-browse, custom-buffer-create-other-window):
8791 Use switch-to-buffer or switch-to-buffer-other-window.
8793 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8794 (Info-prev, Info-up, Info-speedbar-goto-node)
8795 (info-display-manual): Use switch-to-buffer.
8796 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8798 * mail/sendmail.el (mail): Use switch-to-buffer.
8799 (mail-recover): Use switch-to-buffer-other-window.
8801 * cmuscheme.el (run-scheme, switch-to-scheme):
8804 * net/rlogin.el (rlogin):
8805 * net/telnet.el (telnet, rsh):
8806 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8808 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8810 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8812 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8814 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8815 so don't mention it (bug#9301).
8816 (dired-sort-toggle-or-edit): Clarify string further.
8818 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8819 match `x', `w32' and `ns', like the manual says (bug#9029).
8821 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8822 (process-kill-buffer-query-function): Mention the buffer name in
8825 * image-mode.el (image-next-line): The line parameter is mandatory
8828 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8829 which can be useful (bug#9301).
8831 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8833 * subr.el (match-string): Mention that the current buffer should
8834 be the same as the search was done in (bug#9282).
8836 * facemenu.el: Disable the remove-* commands if the mark isn't
8839 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8841 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8843 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8845 * replace.el (occur-mode-goto-occurrence)
8846 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8849 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8852 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8853 special-display and same-window variables.
8854 (mail-other-window): Use switch-to-buffer-other-window.
8855 (mail-other-frame): USe switch-to-buffer-other-frame.
8857 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8858 Use display-buffer-other-frame.
8859 (gdb-display-gdb-buffer): Use pop-to-buffer.
8861 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8863 * progmodes/python.el: Don't set same-window-buffer-names.
8865 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8867 * window.el (display-buffer-alist): Add *Python*.
8869 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8871 * window.el (display-buffer-alist): Add entry for buffers
8872 previously handled same-window-*.
8873 (display-buffer-alist, display-buffer-default-action)
8874 (display-buffer-overriding-action): Mark as risky.
8875 (display-buffer-alist): Document action function changes.
8876 (display-buffer--same-window-action)
8877 (display-buffer--other-frame-action): New variables.
8878 (switch-to-buffer, display-buffer-other-frame): Use them.
8879 (display-buffer): Rename reuse-frame entry to reusable-frames.
8880 (display-buffer-reuse-selected-window): Function deleted.
8881 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8882 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8883 (display-buffer-special): New function.
8884 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8885 display-buffer-reuse-or-pop-window. Split off special-display
8886 part into display-buffer-special.
8887 (display-buffer-use-some-window): Don't perform any special
8888 pop-up-frames handling.
8889 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8890 (display-buffer--maybe-same-window): Rename from
8891 display-buffer-maybe-same-window.
8893 * info.el: Don't set same-window-regexps.
8894 (info-setup): New function.
8895 (info-other-window, info): Call it.
8897 * cus-edit.el: Don't set same-window-regexps.
8898 (customize-group): New argument.
8899 (customize-group-other-window): Use it.
8900 (customize-face, customize-face-other-window): Likewise.
8901 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8905 * progmodes/gud.el: Don't set same-window-regexps.
8911 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8913 2011-09-10 Juri Linkov <juri@jurta.org>
8915 * isearch.el (isearch-edit-string): Remove obsolete mention of
8916 `C-w' (`isearch-yank-word-or-char') from docstring.
8917 (isearch-query-replace): Fix typo in docstring (bug#9466).
8919 2011-09-10 Juri Linkov <juri@jurta.org>
8921 * paren.el (show-paren-function): Don't show escaped parens.
8922 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8924 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8926 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8927 (mm-default-file-encoding): Remove autoload forms, they are
8928 replaced with autoload cookies in mml.el and mm-encode.el.
8929 (mail-add-attachment): New command.
8930 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8931 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8933 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8935 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8937 * simple.el (count-words-region): Use buffer if there's no region
8940 2011-09-09 Juri Linkov <juri@jurta.org>
8942 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8943 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8944 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8946 2011-09-09 Alan Mackenzie <acm@muc.de>
8948 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8949 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8951 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8953 Fix for Savannah bug#9392.
8954 * simple.el (mail-encode-mml): New defvar.
8956 * mail/rmail.el (mail-encode-mml): Add a defvar.
8957 (rmail-enable-mime-composing): Default to t.
8958 (rmail-forward): Use MIME method of forwarding only if both
8959 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8960 Set mail-encode-mml non-nil if the MIME method was used.
8962 * mail/sendmail.el (mml-to-mime): Add autoload form.
8963 (mail-encode-mml): Add a defvar.
8964 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8966 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8967 message through mml-to-mime, and reset mail-encode-mml to nil.
8969 2011-09-09 Glenn Morris <rgm@gnu.org>
8971 * woman.el (woman-if-body): When processing an .el block,
8972 do not delete the next .el block as well. (Bug#9447)
8973 (woman-special-characters): Add oq, cq, and hy characters.
8975 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8977 * window.el (window-deletable-p): Make sure window is live before
8978 invoking window-prev-buffers.
8980 2011-09-08 Leo Liu <sdl.web@gmail.com>
8982 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8984 2011-09-08 Juri Linkov <juri@jurta.org>
8986 * progmodes/compile.el (compilation-environment): Make it
8987 a defcustom (bug#8340).
8989 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8991 * window.el (frame-auto-delete): Rename to window-auto-delete.
8992 Make it control auto-deletion of windows and/or frames.
8993 (window-deletable-p): New argument FORCE. Rewrite conditions
8994 for deleting window/frame. (Bug#9419)
8995 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8996 Rewrite handling of case when window/frame can be deleted.
8997 (delete-windows-on): Call window-deletable-p with new FORCE
8998 argument t. (Bug#9456)
9000 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9002 * help-mode.el (help-mode): Restore autoload.
9004 2011-09-07 Juri Linkov <juri@jurta.org>
9006 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9007 `compilation-environment'. Set buffer-local
9008 `compilation-environment' to `thisenv' later after (funcall mode).
9011 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9012 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9013 instead of replacing its value. (Bug#8340)
9015 2011-09-07 Juri Linkov <juri@jurta.org>
9017 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9018 based on text properties put by `grep-filter' instead of matching
9020 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9021 to the value of `grep-error-screen-columns' (bug#9438).
9023 2011-09-07 Juri Linkov <juri@jurta.org>
9025 * simple.el (next-error-highlight, next-error-highlight-no-select):
9028 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9030 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9031 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9033 2011-09-07 Leo Liu <sdl.web@gmail.com>
9035 * net/rcirc.el (rcirc-mode): Conditionally initialize
9038 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9040 * emacs-lisp/find-func.el (find-function-C-source): Only set
9041 find-function-C-source-directory after checking that we found a source
9042 file there (bug#9440).
9044 2011-09-06 Alan Mackenzie <acm@muc.de>
9046 * isearch.el (isearch-other-meta-char): Wherever a key list is
9047 unread, "unread" the prefix arg, too. This fixes bug #8901.
9049 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9051 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9053 2011-09-05 Juri Linkov <juri@jurta.org>
9055 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9057 2011-09-05 Juri Linkov <juri@jurta.org>
9059 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9060 keeping point where processing of grep matches begins, and
9061 continue to delete remaining escape sequences from the same point.
9062 (grep-filter): Make leading zero optional in "0?1;31m" because
9063 git-grep emits "\033[1;31m" escape sequences unlike expected
9064 "\033[01;31m" as GNU Grep does (bug#9408).
9065 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9067 2011-09-05 Juri Linkov <juri@jurta.org>
9069 * subr.el (y-or-n-p): Capitalize "yes".
9071 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9073 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9074 `tramp-cache-unload-hook' where appropriate.
9075 (tramp-methods): Rename `tramp-remote-sh' to
9076 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9077 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9079 * net/tramp-sh.el (top): Don't require 'shell.
9080 (tramp-methods): Add `tramp-remote-shell' and
9081 `tramp-remote-shell-args' entries.
9082 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9083 (tramp-sh-handle-shell-command): Remove.
9084 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9085 Use `tramp-remote-shell'.
9087 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
9089 * mail/sendmail.el (sendmail-query-once-function): Delete.
9090 (sendmail-query-once): Save directly to send-mail-function.
9091 Update message-send-mail-function too.
9093 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9095 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9097 * progmodes/python.el (python-mode-map): Use correct function to
9098 start python interpreter from menu-bar (as reported by Geert
9100 (inferior-python-mode-map): Fix typo.
9101 (python-shell-map): Remove.
9103 2011-09-03 Deniz Dogan <deniz@dogan.se>
9105 * net/rcirc.el (rcirc-print): Simplify code for
9106 rcirc-scroll-show-maximum-output. There is no need to walk
9107 through all windows to find the right one.
9109 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9111 * help.el (help-return-method): Doc fix.
9113 2011-09-03 Martin Rudalics <rudalics@gmx.at>
9115 * window.el (window-deletable-p): Don't return a non-nil value
9116 when there's a buffer that was shown in the window before.
9118 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9119 Set window's previous buffers to nil.
9121 2011-09-03 Eli Zaretskii <eliz@gnu.org>
9123 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9124 newline before and after the tag line, so it doesn't interfere
9125 with determining the paragraph direction of bidirectional text.
9127 2011-09-03 Leo Liu <sdl.web@gmail.com>
9129 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9131 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9133 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9134 (pop-to-buffer): Change interactive spec. Pass second argument
9135 directly to display-buffer.
9136 (display-buffer): Fix interactive spec. Use functionp to
9137 distinguish between a function and a list of functions.
9139 * abbrev.el (edit-abbrevs):
9140 * arc-mode.el (archive-extract):
9141 * autoinsert.el (auto-insert):
9142 * bookmark.el (bookmark-bmenu-list):
9143 * files.el (find-file):
9144 * view.el (view-buffer):
9145 * progmodes/compile.el (compilation-goto-locus):
9146 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9148 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9150 * window.el (display-buffer-alist): Doc fix.
9151 (display-buffer): Add docstring. Don't treat
9152 display-buffer-default specially.
9153 (display-buffer-reuse-selected-window)
9154 (display-buffer-same-window, display-buffer-maybe-same-window)
9155 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9156 (display-buffer-pop-up-window)
9157 (display-buffer-reuse-or-pop-window)
9158 (display-buffer-use-some-window): New functions.
9159 (display-buffer-default-action): Use them.
9160 (display-buffer-default): Delete.
9161 (pop-to-buffer-1): Fix choice of actions.
9163 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9165 * minibuffer.el (completion--insert-strings): Don't get confused by
9166 completion entries that end with an LF char.
9168 2011-09-01 Eli Zaretskii <eliz@gnu.org>
9170 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9172 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
9174 * window.el (display-buffer): Restore interactive spec.
9175 (display-buffer-same-window, display-buffer-other-window):
9177 (pop-to-buffer-1): New function. Use the above.
9178 (pop-to-buffer, pop-to-buffer-same-window): Use it.
9179 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9181 * view.el (view-buffer-other-window, view-buffer-other-frame):
9182 Just use pop-to-buffer.
9184 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9186 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9188 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9190 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9192 2011-08-31 Richard Stallman <rms@gnu.org>
9194 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9195 of the separation of rmail-view-buffer from rmail-buffer.
9196 If you say no to "replace original", the decrypt is in the
9197 view buffer. If you say yes, the decrypt goes into the
9200 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9202 * window.el (display-buffer-window): Rewrite doc-string.
9203 (display-buffer-record-window): New function.
9204 (display-buffer-macro-specifiers)
9205 (display-buffer-even-window-sizes, display-buffer-set-height)
9206 (display-buffer-set-width, display-buffer-in-window)
9207 (display-buffer-reuse-window, display-buffer-split-specifiers)
9208 (display-buffer-side-specifiers, display-buffer-split-window-1)
9209 (display-buffer-split-window, display-buffer-split-atom-window)
9210 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9211 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9212 (display-buffer-other-window-means-other-frame)
9213 (display-buffer-normalize-special)
9214 (display-buffer-normalize-default)
9215 (display-buffer-normalize-argument)
9216 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9217 (display-buffer-normalize-specifiers, display-buffer-frame)
9218 (display-buffer-same-window, display-buffer-same-frame)
9219 (display-buffer-other-window)
9220 (display-buffer-same-frame-other-window)
9221 (display-buffer-other-frame, pop-to-buffer-same-window)
9222 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9223 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9224 (switch-to-buffer-same-frame)
9225 (switch-to-buffer-other-window-same-frame)
9226 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9227 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9228 (display-buffer-alist-set): Remove.
9229 (display-buffer-function, special-display-buffer-names)
9230 (special-display-regexps, special-display-function):
9231 In doc-string refer to display-buffer-window and quit-restore
9233 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9234 (special-display-frame-alist, special-display-popup-frame)
9235 (same-window-buffer-names, same-window-regexps, same-window-p)
9236 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9237 (split-window-preferred-function, split-height-threshold)
9238 (split-width-threshold, window-splittable-p)
9239 (split-window-sensibly, window--try-to-split-window)
9240 (window--frame-usable-p, even-window-heights)
9241 (window--even-window-heights, window--display-buffer-1)
9242 (window--display-buffer-2, display-buffer-other-frame):
9243 Restore old Emacs 23 code, order and doc-strings where applicable.
9244 (display-buffer-default, display-buffer-assq-regexp): New functions.
9245 (display-buffer-alist): Rewrite doc-string.
9246 (display-buffer-default-action)
9247 (display-buffer-overriding-action): New variables.
9248 (display-buffer, switch-to-buffer): Rewrite.
9249 (pop-to-buffer): Restore Emacs 23 behavior but use
9250 window-normalize-buffer-to-display.
9251 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9252 Restore Emacs 23 behavior but use
9253 window-normalize-buffer-to-switch-to.
9254 (pop-to-buffer-same-window): Rewrite.
9255 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9256 Rewrite using Emacs 23 options.
9258 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9260 * net/tramp.el (tramp-root-regexp): Remove.
9261 (tramp-completion-file-name-regexp-unified)
9262 (tramp-completion-file-name-regexp-separate)
9263 (tramp-completion-file-name-regexp-url): Don't use leading volume
9264 letter on win32 systems. (Bug#5303, Bug#9311)
9265 (tramp-drop-volume-letter): Simplify definition.
9266 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9268 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9270 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9273 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9275 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9277 2011-08-29 Juri Linkov <juri@jurta.org>
9279 * isearch.el (isearch-done): Don't display message "Mark saved"
9280 when arg `edit' is non-nil to prevent its flicker in the echo area.
9282 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9284 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9285 obsolete packages for deletion.
9287 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9289 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9290 (help-mode): Derive help-mode from special-mode. Don't invoke
9291 view-mode from help-mode.
9292 (help-xref-override-view-map): Remove.
9293 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9294 view-mode is not used anymore.
9296 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9298 * server.el (server-port): Doc fix.
9300 * cus-theme.el (custom-theme-choose-mode): Inherit from
9301 special-mode (Bug#9124).
9302 (custom-theme-choose-mode-map): Add special-mode to parent.
9304 2011-08-28 Alan Mackenzie <acm@muc.de>
9306 * progmodes/cc-fonts.el
9307 (c-make-font-lock-BO-decl-search-function): New function.
9308 (c-basic-matchers-after - "Fontify the clauses after various
9309 keywords"): Extract the three keyword lists for the 3 erroneous
9310 constructs from the list of four, and use the new function above
9311 in place of an old one.
9313 2011-08-28 Deniz Dogan <deniz@dogan.se>
9315 * net/rcirc.el (rcirc-insert-prev-input)
9316 (rcirc-insert-next-input): Remove unused argument.
9318 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9320 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9322 2011-08-27 Alan Mackenzie <acm@muc.de>
9324 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9325 handle function pointer parameters properly.
9327 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9329 * window.el (display-buffer-reuse-window): Fix case where
9330 selected window was reused with non-nil OTHER-WINDOW argument.
9333 2011-08-27 Deniz Dogan <deniz@dogan.se>
9335 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9336 oftc's NickServ messages.
9338 2011-08-27 Glenn Morris <rgm@gnu.org>
9340 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9342 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9344 * emacs-lisp/package.el (package-install): Call package-initialize
9345 if called interactively.
9347 2011-08-26 Leo Liu <sdl.web@gmail.com>
9349 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9351 2011-08-25 Juri Linkov <juri@jurta.org>
9353 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9354 `search-whitespace-regexp' (bug#9364).
9356 2011-08-25 Juri Linkov <juri@jurta.org>
9358 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9359 `regexp-search-ring' to their global values to protect from
9360 updating by `read-from-minibuffer' (bug#9185).
9362 2011-08-25 Juri Linkov <juri@jurta.org>
9364 * textmodes/ispell.el (ispell-command-loop): Add newline
9365 at the end of the "Use option `i'..." line.
9367 2011-08-25 Juri Linkov <juri@jurta.org>
9369 * battery.el (display-battery-mode): If `battery-status-function'
9370 or `battery-mode-line-format' is nil, display the message and set
9371 `display-battery-mode' to nil (bug#9363).
9373 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9375 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9376 bidi-string-mark-left-to-right; they are unnecessary now.
9378 2011-08-25 Deniz Dogan <deniz@dogan.se>
9380 * net/quickurl.el: Documentation typo fixes.
9382 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9384 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9386 2011-08-25 Glenn Morris <rgm@gnu.org>
9388 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9390 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9391 (smtpmail-via-smtp): Handle nil response from smtp.
9393 2011-08-24 Juri Linkov <juri@jurta.org>
9395 * proced.el (proced-marked): Inherit from `error' instead of
9396 `font-lock-warning-face'.
9398 * ibuffer.el (ibuffer-marked-face): Change default face from
9399 `font-lock-warning-face' to `warning'.
9400 (ibuffer-deletion-face): Change default face from
9401 `font-lock-type-face' to `error'.
9403 * battery.el (battery-update): Use the face `error' instead of
9404 `font-lock-warning-face' (bug#6117).
9406 2011-08-24 Juri Linkov <juri@jurta.org>
9408 * faces.el (success): Change face color from "Green3" to
9409 "ForestGreen" on light background (bug#9353).
9411 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9413 * window.el (quit-window): Rename from quit-restore-window.
9414 Use same arglist as old quit-window.
9415 (frame-auto-delete): Doc fix.
9417 * view.el (view-mode-exit): Use quit-window.
9419 2011-08-24 Juri Linkov <juri@jurta.org>
9421 * isearch.el (isearch-ring-adjust1): Start visiting previous
9422 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9423 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9424 for empty search string (when the last search string is reused
9425 automatically) to adjust the isearch ring to the last element and
9426 prepare the correct index for further M-p commands (bug#9185).
9428 2011-08-24 Kenichi Handa <handa@m17n.org>
9430 * international/ucs-normalize.el: If decomposition property of
9431 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9433 (nfd, nfkd): Likewise.
9435 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9437 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9438 from process filters aren't reliably transmitted to the surrounding
9439 accept-process-output.
9440 (mpc-proc-check): New function.
9441 (mpc-proc-sync): Use it (bug#8293)
9443 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9445 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9446 Add compatibility functions (bug#9313).
9448 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9450 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9452 * international/uni-bidi.el: Regenerate.
9454 2011-08-23 Kenichi Handa <handa@m17n.org>
9456 * international/charprop.el:
9457 * international/uni-bidi.el:
9458 * international/uni-category.el:
9459 * international/uni-combining.el:
9460 * international/uni-comment.el:
9461 * international/uni-decimal.el:
9462 * international/uni-decomposition.el:
9463 * international/uni-digit.el:
9464 * international/uni-lowercase.el:
9465 * international/uni-mirrored.el:
9466 * international/uni-name.el:
9467 * international/uni-numeric.el:
9468 * international/uni-old-name.el:
9469 * international/uni-titlecase.el:
9470 * international/uni-uppercase.el: Regenerate.
9472 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9474 * help.el (help-window-setup): Fix message displayed when other
9475 window is reused. (Bug#9341)
9477 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9479 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9480 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9482 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9484 * shell.el (shell-parse-pcomplete-arguments): New function.
9485 (shell-completion-vars): Use it instead (bug#9160).
9487 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9489 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9490 strings and comments (bug#9333).
9492 * emacs-lisp/debug.el (debug-arglist): New function.
9493 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9494 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9496 2011-08-22 Juri Linkov <juri@jurta.org>
9498 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9499 Revert regexp that highlights output switches to its old
9500 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9502 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9503 to check for empty output (bug#9226).
9505 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9507 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9508 symbol-constituent as the default, as that stops font-lock from
9509 working properly (Bug#8843).
9511 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9513 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9514 `coding-system-for-*' around the process open call to avoid
9515 auth-source side effects.
9516 (smtpmail-try-auth-methods): Expand the secret password.
9517 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9520 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9522 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9524 * emacs-lisp/find-func.el (find-function-noselect): New arg
9527 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9528 signal an error for built-in functions (Bug#6664).
9530 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9532 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9533 (smtpmail-try-auth-methods): Use it.
9535 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9537 * font-lock.el (font-lock-fontify-region)
9538 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9539 (font-lock-default-unfontify-buffer)
9540 (font-lock-default-fontify-region)
9541 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9543 * progmodes/compile.el (compilation-error-properties):
9544 Fix confusion between file struct and message struct (Bug#9319).
9545 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9548 * net/browse-url.el (browse-url-firefox): Don't call
9549 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9551 2011-08-20 Glenn Morris <rgm@gnu.org>
9553 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9555 * tutorial.el (tutorial--default-keys): Update some default bindings.
9557 * files.el (hack-local-variables): Fully ignore case for "mode:".
9559 2011-08-20 Alan Mackenzie <acm@muc.de>
9561 Resolve invalid use of a regexp in regexp-opt.
9563 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9564 detection for a java annotation.
9566 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9567 detection for a java annotation.
9569 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9571 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9573 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9575 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9578 2011-08-20 Alan Mackenzie <acm@muc.de>
9580 Fontify CPP expressions correctly when starting in the middle of
9581 such a construct. Mainly for when jit-lock etc. starts a chunk
9584 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9586 (c-make-font-lock-search-form): New function, extracted from
9587 c-make-font-lock-search-function.
9588 (c-make-font-lock-search-function): Use the above function.
9589 (c-make-font-lock-context-search-function): New function.
9590 (c-cpp-matchers): Enhance the preprocessor expression case with
9592 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9593 which takes an expression.
9595 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9597 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9599 * window.el (display-buffer-reuse-window)
9600 (display-buffer-pop-up-window): Don't reuse or split a side
9603 2011-08-19 Glenn Morris <rgm@gnu.org>
9605 * files.el (hack-local-variables-prop-line, hack-local-variables):
9606 Downcase "Mode:". (Bug#9331)
9608 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9610 * international/characters.el: Add L and R categories.
9612 * subr.el (bidi-string-mark-left-to-right): Rename from
9613 string-mark-left-to-right. Use category search.
9615 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9617 2011-08-18 Juri Linkov <juri@jurta.org>
9619 * faces.el (error, warning, success): New faces with definitions
9620 copied from old default values of `font-lock-warning-face',
9621 `compilation-warning', `compilation-info' (bug#6117).
9623 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9625 * progmodes/compile.el (compilation-error): Inherit from `error'.
9626 (compilation-warning): Inherit from `warning'.
9627 (compilation-info): Inherit from `success'.
9629 * dired.el (dired-marked): Inherit from `warning'.
9630 (dired-flagged): Inherit from `error'.
9632 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9634 * mail/smtpmail.el (auth-source): Require to avoid problems with
9635 binding variables (bug#9298). Also clean up some unused
9638 * net/network-stream.el (network-stream-open-starttls):
9639 Support using starttls.el without using gnutls-cli.
9641 2011-08-17 Juri Linkov <juri@jurta.org>
9643 * progmodes/grep.el (rgrep): Handle the case when
9644 `grep-find-command' is a cons cell (bug#9278).
9646 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9648 * window.el (display-buffer-pop-up-frame): Run frame creation
9649 function with BUFFER current (as special-display-popup-frame
9650 does). Reported by Drew Adams.
9652 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9654 * epa-mail.el: Simplify GnuPG group expansion using
9656 (epa-mail-group-alist, epa-mail-group-modtime)
9657 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9658 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9659 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9662 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9664 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9666 2011-08-16 Alan Mackenzie <acm@muc.de>
9668 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9669 Correct, to avoid the inside of macros.
9671 2011-08-16 Richard Stallman <rms@gnu.org>
9673 * epa-mail.el: Handle GnuPG group definitions.
9674 (epa-mail-group-alist, epa-mail-group-modtime)
9675 (epa-mail-gnupg-conf-file): New variables.
9676 (epa-mail-parse-groups, epa-mail-sync-groups)
9677 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9678 (epa-mail-expand-recipients): New functions.
9679 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9681 * mail/rmail.el (rmail-epa-decrypt): New command.
9683 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9684 Don't bind buffer-read-only, just inhibit-read-only.
9685 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9686 (epa-decrypt-armor-in-region): Make error message clearer.
9688 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9690 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9691 and "a2b" to "ab" for `prefix'.
9693 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9695 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9697 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9698 Fourquet (Bug#8804).
9700 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9702 * startup.el (argi): Declare as global variable (bug#9275).
9704 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9706 * subr.el (string-mark-left-to-right): Search the entire string
9707 for RTL script, not just the terminating character. Doc fix.
9709 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9711 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9713 (js--regexp-literal, js-syntax-propertize-function): Remove.
9714 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9715 (js-mode-map): Don't rebind electric keys.
9716 (js-insert-and-indent): Remove.
9717 (js-mode): Setup electric-layout and electric-indent instead.
9719 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9721 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9723 * epa.el (epa-progress-callback-function): Fix the logic of
9724 displaying progress.
9725 * epa-file.el (epa-file-insert-file-contents): Make progress
9726 display more user-friendly.
9727 (epa-file-write-region): Ditto.
9729 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
9731 * subr.el (string-mark-left-to-right): New function.
9733 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9734 Use string-mark-left-to-right.
9735 (list-buffers-noselect): Caller changed.
9737 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9738 Use string-mark-left-to-right.
9739 (tabulated-list-print): Recenter after moving point.
9741 2011-08-10 Juri Linkov <juri@jurta.org>
9743 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9744 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9745 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9747 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9749 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9752 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9754 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9755 character. (Bug#6594)
9757 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9759 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9760 (image-dired--with-db-file): New macro.
9761 (image-dired-write-tags, image-dired-remove-tag)
9762 (image-dired-create-gallery-lists, image-dired-write-comments)
9763 (image-dired-get-comment, image-dired-mark-tagged-files)
9764 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9765 (image-dired-gallery-generate): Use insert-file-contents.
9767 * time.el (display-time-world-list, display-time-world-display):
9768 * time-stamp.el (time-stamp-string):
9769 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9770 set-time-zone-rule (Bug#7337).
9772 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9774 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9775 (epg-error-to-string, epg-errors-to-string): New function.
9776 (epg-wait-for-completion): Reverse errors list.
9777 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9778 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9779 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9780 (epg-sign-keys, epg-generate-key-from-file)
9781 (epg-generate-key-from-string): Format errors by using
9782 epg-errors-to-string (bug#9255).
9783 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9785 2011-08-07 Juri Linkov <juri@jurta.org>
9787 * faces.el (list-faces-display): Remove extra angle bracket
9788 from `help-mode-map'.
9790 * info.el (Info-history-toc-nodes): Doc fix.
9792 * longlines.el (longlines-mode): Doc fix.
9794 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9796 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9797 of statements and in a few more cases (bug#9183).
9799 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9801 (cl-transform-lambda): Use them (bug#9239).
9803 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9805 * window.el (display-buffer-same-window)
9806 (display-buffer-same-frame, display-buffer-other-window)
9807 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9808 (pop-to-buffer-other-window)
9809 (pop-to-buffer-same-frame-other-window)
9810 (pop-to-buffer-other-frame): Make them defuns.
9811 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9813 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9815 * subr.el (make-composed-keymap): Move from C. Change calling
9816 convention, and improve docstring to bring attention to a subtle point.
9817 * minibuffer.el (completing-read-default): Adjust accordingly.
9819 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9821 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9822 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9824 * net/trampver.el: Update release number.
9826 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9828 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9831 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9833 * mail/sendmail.el (sendmail-query-once): Restore the current
9834 buffer after querying (bug#9074).
9836 * dired.el (dired-flagged): Use different faces for marked and
9837 flagged files (bug#6117).
9839 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9842 * ido.el (ido-mode): Switch off the message if called
9845 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9846 before 587, since it appears that that's more likely to work for
9849 * cus-edit.el (custom-file): When running under emacs -q, always
9850 refuse to save the customizations, even if the .emacs file doesn't
9853 * info.el: Remove the `Info-beginning-of-buffer' function
9856 * net/network-stream.el (network-stream-open-starttls):
9857 Use `starttls-available-p' to see whether starttls.el can be used.
9859 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9861 * window.el (display-buffer-in-window): Don't set dedicated status
9862 of window here (Bug#9215).
9863 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9864 (display-buffer-pop-up-side-window)
9865 (display-buffer-in-side-window): Set dedicated status of window here.
9867 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9869 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9870 before binding generated-autoload-file.
9872 2011-08-01 Deniz Dogan <deniz@dogan.se>
9874 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9876 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9878 Sync with Tramp 2.2.2.
9880 * net/trampver.el: Update release number.
9882 2011-07-30 Juri Linkov <juri@jurta.org>
9884 * dired-aux.el (dired-touch-initial): Remove function.
9885 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9886 current time, and `default' to the last modification time of the
9887 current marked file (bug#6887).
9889 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9891 * simple.el (goto-line): Use string-to-number to provide a
9892 numeric argument to read-number (bug#9163).
9894 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9896 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9897 connection process, it could be nil.
9899 2011-07-27 Leo Liu <sdl.web@gmail.com>
9901 Simplify url handling in rcirc-mode.
9903 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9904 (rcirc-browse-url-at-mouse): Remove.
9905 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9907 2011-07-26 Alan Mackenzie <acm@muc.de>
9909 Fontify bitfield declarations properly.
9911 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9912 (c-symbol-chars): Now exported as a lang variable.
9913 (c-not-primitive-type-keywords): New lang variable.
9915 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9916 QT keyword "more" to prevent "more slots: ...." being spuriously
9917 parsed as a bitfield declaration.
9919 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9920 Refactor and enhance to handle bitfield declarations.
9921 (c-punctuation-in): New function.
9922 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9923 declarations properly.
9925 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9927 * calendar/icalendar.el (icalendar--all-events): Take care of
9928 multiple vcalendars in a single file.
9929 (icalendar--convert-float-to-ical): Checkdoc fixes.
9931 2011-07-25 Deniz Dogan <deniz@dogan.se>
9933 * image.el (insert-image): Clarifying docstring.
9935 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9937 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9938 `tramp-send-command-and-check' if there is no error.
9939 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9941 2011-07-22 Alan Mackenzie <acm@muc.de>
9943 Prevent cc-langs.elc being loaded at run time.
9945 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9948 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9949 "(require 'cc-langs)". Quote a form so it will evaluate at
9950 (cc-mode's) compilation time.
9952 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9954 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9957 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9959 * window.el (display-buffer-pop-up-window)
9960 (display-buffer-pop-up-side-window)
9961 (display-buffer-in-side-window): Call display-buffer-set-height
9962 and display-buffer-set-width after setting the new window's
9963 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9965 2011-07-20 Sam Steingold <sds@gnu.org>
9967 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9968 (etags-tags-included-tables): Call `convert-standard-filename' on
9969 the file names contained in TAGS so that windows Emacs can handle
9970 TAGS files created by cygwin ctags.
9972 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9974 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9975 which apparently didn't work.
9977 2011-07-19 Roland Winkler <winkler@gnu.org>
9979 * proced.el (proced-send-signal): For *Marked Processes* buffer
9980 put point at beginning of buffer.
9982 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9984 * proced.el (proced-format): Make header lines align with the text
9987 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9989 * view.el (view-buffer): Allow running in `special' modes if we're
9990 visiting a file (bug#8615).
9992 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9994 * window.el (display-buffer-alist-of-strings-p)
9995 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9997 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10000 2011-07-18 Alan Mackenzie <acm@muc.de>
10002 Fontify declarators properly when, e.g., a jit-lock chunk begins
10003 inside a declaration.
10005 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10007 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10009 (c-complex-decl-matchers): Insert reference to
10010 c-font-lock-enclosing-decls.
10012 * progmodes/cc-engine.el (c-backward-single-comment):
10013 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10014 to nil around calls to (forward-comment -1).
10016 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10018 * image.el (put-image): Doc typo fix.
10020 * progmodes/etags.el (tags-search): Doc typo fix.
10022 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10023 password if we get errors 550 to 554.
10025 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10027 * net/gnutls.el (gnutls-log-level): Remove.
10029 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10030 indentation character (bug#6380).
10032 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10034 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10035 to clarify what the problem is (bug#4291).
10037 * simple.el (current-kill): Clarify what
10038 `interprogram-paste-function' does (bug#7500).
10039 (auto-fill-mode): Document `auto-fill-function' in relation to
10040 `auto-fill-mode' (bug#2470).
10042 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10044 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10045 method if slot is read-only (bug#9035).
10047 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10049 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10050 * window.el (pop-to-buffer): Select window used even if it was
10051 selected before, see discussion of (Bug#8615), (Bug#6954).
10052 Pass argument NORECORD on to select-frame-set-input-focus.
10054 2011-07-15 Glenn Morris <rgm@gnu.org>
10056 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10059 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10061 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10062 (gnutls-negotiate): Use it.
10064 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10066 * net/gnutls.el (gnutls-negotiate):
10067 Upcase `gnutls-algorithm-priority'.
10069 2011-07-15 Glenn Morris <rgm@gnu.org>
10071 * jka-compr.el (jka-compr-verbose): Move from here...
10072 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10073 Add missing :version tag.
10074 * info.el: No need to require jka-compr when compiling.
10076 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10078 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10079 (gnutls-negotiate): Use it.
10081 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10083 * info.el (Info-beginning-of-buffer): New command.
10084 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10085 announcing `b' as the key (bug#8325).
10086 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10088 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10090 * international/mule-cmds.el
10091 (describe-specified-language-support): Make the error message
10092 clearer (bug#8905).
10094 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10096 * isearch.el (isearch-barrier): Add a doc string, since it's
10097 mentioned in a function doc string (bug#8678).
10099 2011-07-15 Martin Rudalics <rudalics@gmx.at>
10101 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10102 buffer argument (Bug#9083) and self-identifying label argument.
10104 2011-07-15 Glenn Morris <rgm@gnu.org>
10106 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10108 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10110 * man.el (Man-fontify-manpage): Fix message when formatting the
10111 man page (bug#7929).
10113 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10115 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10116 argument LRM; if non-nil, append an invisible LRM character to the
10118 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10119 last argument non-nil, when formatting buffer names.
10120 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10121 paragraph direction.
10123 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10125 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10126 the man page name (bug#7929).
10128 * image.el (put-image): Mention the `put-image' overlay property
10131 * scroll-bar.el (set-scroll-bar-mode): Mention that
10132 `scroll-bar-mode' lists the values (bug#7772).
10134 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10135 command (bug#7729).
10137 * rect.el (apply-on-rectangle): Return the point after the last
10139 (string-rectangle): Go to the point after the last operation
10142 * printing.el (pr-toggle-region): Clarify the documentation
10143 slightly (bug#7493).
10145 * time.el (display-time-update):
10146 Allow `display-time-mail-function' to return nil (bug#7158).
10147 Fix suggested by Detlev Zundel.
10149 * vc/diff.el (diff): Clarify the order the file names are read
10152 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10153 the doc string (bug#7015).
10155 * font-lock.el (font-lock-maximum-decoration): Mention what
10156 numeric levels mean (bug#6935).
10158 * startup.el (initial-buffer-choice): Don't mention the `none'
10159 selection, which is against policy.
10161 2011-07-14 Martin Rudalics <rudalics@gmx.at>
10163 * window.el (display-buffer-normalize-special):
10164 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10166 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10168 * subr.el (version<, version<=, version=): Mention "-CVS" and
10169 "-12345" alpha version numbers.
10171 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10173 * bindings.el: Add advertised binding for set-mark-command
10176 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10178 * bindings.el (mode-line-other-buffer):
10179 * bookmark.el (bookmark-bmenu-2-window):
10180 * bs.el (bs-cycle-next, bs-cycle-previous):
10181 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10184 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10187 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10189 * follow.el (follow-debug-message, follow-redisplay):
10190 * jka-cmpr-hook.el (with-auto-compression-mode):
10191 Fix typos in docstrings.
10193 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10195 * subr.el (with-silent-modifications): Clarify somewhat what the
10196 macro inhibits (bug#6525).
10198 * simple.el (eval-expression): Note what it does if called
10199 interactively (bug#6495).
10201 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10203 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10204 Use pop-to-buffer buffer-or-name if it is nil.
10206 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10207 Remove switch-to-buffer.
10209 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10211 * files.el (make-directory): Clarify that an error will be raised
10212 if there's an error (bug#6397).
10214 * startup.el (initial-buffer-choice): Add `none' as a choice
10217 * subr.el (add-hook): Clarify section about buffer-local hooks
10220 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10222 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10224 * tabify.el (untabify): Preserve the current column so that point
10225 doesn't move (bug#6032).
10227 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10229 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10230 Rewrite to avoid awkward possessive "s" (bug#5986).
10232 2011-07-13 Glenn Morris <rgm@gnu.org>
10234 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10235 (dired-insert-directory): Give a message the first time
10236 if ls is found not to support --dired.
10238 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10240 * simple.el (toggle-truncate-lines): Clarify what is toggled
10241 (bug#5580). Text by Drew Adams.
10243 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10245 * simple.el (blink-matching-open): Make the error message from the
10246 last change less verbose.
10248 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10250 * font-lock.el (font-lock-comment-face): Use the high contrast
10251 "yellow" color for font-lock-comment-face on low color terminals
10252 using a dark background color (bug#4221).
10254 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10256 * dired.el (dired-insert-set-properties): Make the doc string
10257 reflect what it does now (bug#5325).
10259 * simple.el (blink-matching-open): Say that we were unable to find
10260 the match within the limit, if we're limited (bug#5122).
10262 * international/mule-cmds.el (prefer-coding-system): Add an
10263 example (bug#4869).
10265 * progmodes/etags.el (tags-search): Document `file-list-form'
10268 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10270 * net/browse-url.el (browse-url-default-browser)
10271 (browse-url-browser-function): Make the default browser choice a
10272 bit more logical (bug#4300). Also clean up the doc string.
10274 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10276 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10277 binary endings (bug#4440).
10279 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10281 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10282 which can be pretty annoying (bug#8971).
10284 * jka-compr.el (jka-compr-verbose): New variable, and use
10285 throughout (bug#8971).
10287 * info.el (Info-find-file): Fall back on the installation
10288 directory if we can't find the info node anywhere else.
10290 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10292 * vc/vc.el (vc-revert-file):
10293 Don't set file time-stamp in the past. (Bug#5181)
10295 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10297 * files.el (after-find-file): Give a better error message when
10298 trying to find a symlink that points to a file that doesn't exist
10301 * progmodes/cc-vars.el: Remove (probably) misleading comment
10304 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10306 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10308 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10310 * mouse-sel.el: Hack restoring functionality, while keeping
10311 compatibility with 2010-07-03 changes to mouse selection.
10312 (mouse-sel-primary-overlay): New var.
10313 (mouse-sel-selection-alist): Use it.
10314 (mouse-sel-mode): Doc fix; remove points that are default features
10317 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10319 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10320 Fix previous fix (bug#2490).
10322 2011-07-12 Roland Winkler <winkler@gnu.org>
10324 * textmodes/bibtex.el (bibtex-initialize):
10325 Use pop-to-buffer-same-window.
10326 (bibtex-search-entries): Fix interactive call.
10328 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10330 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10331 Fontise bytecomp Error lines more correctly (bug#2490).
10332 Fix suggested by Johan Bockgård.
10334 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10336 * dired-x.el (dired-guess-default): Use `delete-dups'.
10338 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10340 * dired.el (dired-mark-prompt):
10341 * dired-aux.el (dired-read-shell-command): Doc fix.
10343 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10345 * mail/sendmail.el (sendmail-query-once):
10346 Use `customize-save-variable' unconditionally, now that it works under
10349 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10351 * cus-edit.el (custom-file): Take an optional no-error variable.
10352 (customize-save-variable): Set the variable, and give a warning if
10353 running under "emacs -q".
10355 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10357 * loadhist.el (unload-feature-special-hooks):
10358 Add `auto-coding-functions', `fill-nobreak-predicate' and
10359 `find-directory-functions' (bug#5327).
10361 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10363 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10365 * cus-edit.el (custom-guess-name-alist): -alist variables should
10366 use the `alist' type (bug#3120). Suggested by Drew Adams.
10368 * printing.el: Add documentation to all the `pr-toggle-' commands.
10370 2011-07-11 Leo Liu <sdl.web@gmail.com>
10372 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10373 backends where it makes sense (bug#2623).
10375 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10377 * dired-x.el (dired-guess-default): Remove duplicate shell command
10378 entries (bug#2028).
10379 (dired-guess-default): Fix grammar in doc string (bug#2028).
10380 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10382 * subr.el (remove-duplicates): New conveniency function.
10384 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10386 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10389 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10391 * window.el (display-buffer-normalize-default): Don't invert
10392 meaning of even-window-heights. Reported by Eli Zaretskii
10395 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10397 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10399 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10401 * window.el (display-buffer): Fix arguments to
10402 display-buffer-reuse-window in last change.
10404 * faces.el (link): Use a less saturated blue on light backgrounds.
10406 * startup.el (fancy-startup-text, fancy-about-text)
10407 (fancy-startup-tail): Use font-lock faces, for background safety.
10409 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10411 * emulation/viper-cmd.el (viper-change-state-to-vi):
10412 Limit triggering of abbrev expansion (Bug#9038).
10414 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10416 * window.el (display-buffer-default-specifiers): Remove.
10417 (display-buffer-macro-specifiers): Remove default specifiers.
10418 (display-buffer-alist): Default to nil.
10419 (display-buffer-reuse-window): New optional argument other-window.
10420 (display-buffer-pop-up-window): Allow splitting internal
10421 windows. Check whether a live window was created.
10422 (display-buffer-other-window-means-other-frame)
10423 (display-buffer-normalize-arguments): Rename to
10424 display-buffer-normalize-argument and rewrite. Set the
10425 other-window specifier.
10426 (display-buffer-normalize-special): New function.
10427 (display-buffer-normalize-options): Rename to
10428 display-buffer-normalize-default and rewrite.
10429 (display-buffer-normalize-options-inhibit): Remove.
10430 (display-buffer-normalize-specifiers): Rewrite.
10431 (display-buffer): Process other-window specifier and call
10432 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10434 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10435 (display-buffer-alist-set): Don't handle 'unset default values.
10436 (display-buffer-in-window, display-buffer-alist-set):
10437 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10438 <tassilo@member.fsf.org>.
10440 2011-07-09 Leo Liu <sdl.web@gmail.com>
10442 * register.el (insert-register): Restore accidental change on
10443 2011-06-26. (Bug#9028)
10445 2011-07-09 Glenn Morris <rgm@gnu.org>
10447 * subr.el (remq): Handle the empty list. (Bug#9024)
10449 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10451 * mail/sendmail.el (send-mail-function): No longer delay custom
10453 * custom.el (custom-initialize-delay): Doc fix.
10455 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10457 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10459 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10461 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10462 human-friendly prompt.
10464 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10466 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10467 provided by a particular plugin.
10469 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10471 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10472 save customizations (with "emacs -Q"), just set the variable
10473 instead of erroring out.
10475 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10477 2011-07-08 Juri Linkov <juri@jurta.org>
10479 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10480 (archive-zip-update-case): Use 7z if found by `executable-find'.
10481 The order of searching the available programs is the same as in
10482 `archive-zip-extract' (bug#8968).
10484 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10486 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10487 (menu-bar-options-menu): Tweak descriptions.
10489 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10491 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10492 menu items into verb phrases (bug#1421). Also refill to fit under
10495 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10497 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10498 (Info-read-node-name): Doc fix (Bug#1084).
10500 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10501 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10502 (end-of-sexp, beginning-of-sexp)
10503 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10504 (forward-symbol, forward-same-syntax, word-at-point)
10505 (sentence-at-point): Doc fix (Bug#1144).
10507 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10509 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10510 should cover it (bug#1281).
10512 * cus-edit.el (custom-show): Mark as obsolete.
10514 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10515 negotiation fails, then possibly try again with a non-encrypted
10516 connection (bug#9017).
10518 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10521 2011-07-07 Richard Stallman <rms@gnu.org>
10523 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10524 property, and handle its changed format.
10525 Look for the correct line number.
10526 Use file's line contents (but not past first =) to find
10527 correct line in message.
10529 2011-07-07 Kenichi Handa <handa@m17n.org>
10531 * international/characters.el (build-unicode-category-table):
10533 (unicode-category-table): Set it by unicode-property-table-internal.
10535 * international/mule-cmds.el (char-code-property-alist): Move to
10537 (get-char-code-property): Call unicode-property-table-internal to
10538 load a file. Call get-unicode-property-internal where necessary.
10539 (put-char-code-property): Call unicode-property-table-internal to
10540 load a file. Call put-unicode-property-internal where necessary.
10541 put-unicode-property-internal where necessary.
10542 (char-code-property-description):
10543 Call unicode-property-table-internal to load a file.
10545 * international/charprop.el:
10546 * international/uni-bidi.el:
10547 * international/uni-category.el:
10548 * international/uni-combining.el:
10549 * international/uni-comment.el:
10550 * international/uni-decimal.el:
10551 * international/uni-decomposition.el:
10552 * international/uni-digit.el:
10553 * international/uni-lowercase.el:
10554 * international/uni-mirrored.el:
10555 * international/uni-name.el:
10556 * international/uni-numeric.el:
10557 * international/uni-old-name.el:
10558 * international/uni-titlecase.el:
10559 * international/uni-uppercase.el: Regenerate.
10561 * loadup.el: Load international/charprop.el before
10562 international/characters.
10564 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10566 * window.el (next-buffer, previous-buffer): Signal an error if
10567 called from a minibuffer window.
10569 * bindings.el: Revert 2011-07-04 change.
10571 2011-07-06 Richard Stallman <rms@gnu.org>
10573 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10574 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10575 Treat markers like ints.
10576 (rmail-mime-entity): Doc fix.
10578 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10580 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10581 defcustom again for backwards compatibility.
10583 * simple.el (shell-command-on-region): Fill.
10585 * dired-aux.el (dired-kill-line): Add a doc string.
10587 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10588 to "\\sw\\|\\s_" (bug#358).
10590 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10591 (dired-unmark-backward): Ditto.
10592 (dired-flag-backup-files): Ditto.
10594 * dired-x.el (dired-mark-sexp): Ditto.
10596 2011-07-06 Richard Stallman <rms@gnu.org>
10598 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10599 (rmail-mime-entity): New arg TRUNCATED.
10600 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10602 (rmail-mime-save): Warn if entity is truncated.
10603 (rmail-mime-toggle-hidden): Likewise, for showing.
10604 (rmail-mime-process-multipart): Record when an entity is truncated.
10606 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10607 if ENTITY is a string.
10609 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10611 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10612 of faces when `M-C-x'-ing their definitions (bug#8378).
10613 Also clean up the code slightly.
10615 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10616 because that makes the colors go away.
10618 * mail/sendmail.el (send-mail-function): Change the default to
10619 `sendmail-query-once'.
10620 (sendmail-query-once): Add an autoload cookie.
10622 * net/network-stream.el (network-stream-open-starttls): Try using
10623 a plain connection even if the server offered STARTTLS, and we
10624 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10625 capability. This should make smtpmail.el work in slightly more
10628 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10630 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10632 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10634 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10636 * progmodes/sql.el: Version 3.0
10637 (sql-product-alist): Add product :completion-object,
10638 :completion-column, and :statement attributes.
10639 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10640 (sql-mode-syntax-table): Mark all punctuation.
10641 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10643 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10644 (sql-mode-oracle-font-lock-keywords): Improve.
10645 (sql-oracle-show-reserved-words): New function for development.
10646 (sql-product-font-lock): Simplify for source code buffers.
10647 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10649 (sql-highlight-product): Set product specific syntax table.
10650 (sql-mode-map): Add statement movement functions.
10651 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10653 (sql-statement-regexp, sql-beginning-of-statement)
10654 (sql-end-of-statement, sql-signum): New functions.
10655 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10656 (sql-show-sqli-buffer): Bug fix.
10657 (sql-interactive-mode): Store connection data as buffer local.
10658 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10659 with sql-interactive-mode.
10660 (sql-save-connection): Save buffer local settings.
10661 (sql-connection-menu-filter): Change menu entry name.
10662 (sql-product-interactive): Bug fix.
10663 (sql-preoutput-hold): New variable.
10664 (sql-interactive-remove-continuation-prompt): Bug fixes.
10665 (sql-debug-redirect): New variable.
10666 (sql-str-literal): New function.
10667 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10669 (sql-oracle-save-settings, sql-oracle-restore-settings)
10670 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10671 (sql-completion-object, sql-completion-column)
10672 (sql-completion-sqlbuf): New variables.
10673 (sql-build-completions-1, sql-build-completions)
10674 (sql-try-completion): New functions.
10675 (sql-read-table-name): Use them.
10676 (sql-contains-names): New buffer local variable.
10677 (sql-list-all, sql-list-table): Use it.
10678 (sql-oracle-completion-types): New variable.
10679 (sql-oracle-completion-object, sql-sqlite-completion-object)
10680 (sql-postgres-completion-object): New functions.
10682 2011-07-06 Glenn Morris <rgm@gnu.org>
10684 * window.el (pop-to-buffer): Doc fix.
10686 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10688 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10690 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10692 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10694 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10696 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10698 * button.el (button): Inherit from link face. Suggested by Dan
10701 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10703 * progmodes/gdb-mi.el: Fit in 80 columns.
10704 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10707 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10708 if imenu is simply not configured (bug#8941).
10710 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10712 * allout.el (allout-post-undo-hook): New allout outline-change
10713 event hook to signal undo activity.
10714 (allout-post-command-business): Run allout-post-undo-hook if an
10715 undo just occurred.
10716 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10717 * allout-widgets.el (allout-widgets-after-undo-function):
10718 Ensure the integrity of the current item's decoration after it has been
10719 in the vicinity of an undo.
10720 (allout-widgets-mode): Include allout-widgets-after-undo-function
10721 on the new allout-post-undo-hook.
10723 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10725 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10726 Let define-derived-mode define it.
10727 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10728 cycles of abbrev-table inheritance (bug#8998).
10730 2011-07-05 Roland Winkler <winkler@gnu.org>
10732 * textmodes/bibtex.el: Add support for biblatex.
10733 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10734 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10735 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10736 (bibtex-entry-alist, bibtex-field-alist): New variables.
10737 (bibtex-entry-field-alist): Obsolete alias for
10738 bibtex-BibTeX-entry-alist.
10739 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10740 (bibtex-set-dialect): New command.
10741 (bibtex-entry-type, bibtex-entry-head)
10742 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10743 Bind via bibtex-set-dialect.
10744 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10745 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10746 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10747 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10748 Define via bibtex-set-dialect.
10749 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10750 Obey bibtex-no-opt-remove-re.
10751 (bibtex-vec-push, bibtex-vec-incr): New functions.
10752 (bibtex-format-entry, bibtex-field-list)
10753 (bibtex-print-help-message, bibtex-validate)
10754 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10756 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10758 * progmodes/compile.el (compilation-goto-locus):
10759 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10760 * bs.el (bs-cycle-next, bs-cycle-previous):
10761 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10762 * bindings.el (mode-line-other-buffer):
10763 * autoinsert.el (auto-insert):
10764 * arc-mode.el (archive-extract):
10765 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10767 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10769 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10770 Fix check of `emacs-lock-unlockable-modes'.
10771 Coerce true values of `emacs-lock--try-unlocking' to t.
10773 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10775 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10776 * emacs-lock.el: New file.
10778 2011-07-05 Julien Danjou <julien@danjou.info>
10780 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10781 than `boundp' to check if face is set.
10783 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10785 * register.el (registerv-make):
10786 * window.el (window-min-height): Fix typos in docstrings.
10788 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10790 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10793 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10795 * server.el (server-execute): Catch quit and call
10796 `server-return-error' to pass the error back to emacsclient and
10797 close the connection (bug#8942).
10799 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10801 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10802 insecure exception for current topic. Also note that auto-saves
10803 are handled differently.
10805 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10806 State variables for tracking auto-save inhibition situation.
10808 (allout-write-contents-hook-handler): Rename from
10809 'allout-write-file-hook-handler', and describe how it depends on
10810 write-contents-functions sensitivity to non-nil value to prevent
10813 (allout-auto-save-hook-handler): Remove. auto-save does not check
10814 this in individual buffers, only in the starting buffer, so this
10815 is not the right way for us to inhibit auto-save in a buffer
10816 according to its condition.
10818 (allout-mode): Use new allout-write-contents-hook-handler, and
10819 only with write-contents-functions. Remove auto-save provisions -
10820 they're implemented elsewhere.
10822 (allout-before-change-handler): If undo is in progress, note that
10823 for attention of allout-post-command-business.
10825 (allout-post-command-business): If the command we're following was
10826 an undo, check for change in the status of encrypted items and
10827 adjust auto-save inhibitions accordingly.
10829 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10830 according to whether there are or aren't any plain-text topics
10831 pending encryption.
10833 (allout-inhibit-auto-save-info-for-decryption):
10834 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10835 if there are plain-text topics pending encryption.
10837 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10838 buffer-saved-size and some allout state to not inhibit auto-saves
10839 if there are no longer any plain-text topics pending encryption.
10841 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10842 No longer provide for exemption of the current topic.
10844 2011-07-04 Juri Linkov <juri@jurta.org>
10846 Add 7z operations to delete and save changed members (bug#8968).
10847 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10849 (archive-7z-write-file-member): New function.
10850 (archive-7z-summarize): Fix the number of dashes in the
10853 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10855 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10858 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10860 * bindings.el: Ignore next-buffer and previous-buffer in
10861 minibuffer-local-map.
10863 * font-lock.el (font-lock-builtin-face): Change light background
10864 color to dark slate blue (Bug#6693).
10866 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10868 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10870 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10872 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10873 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10874 Add switch-to-buffer.
10876 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10878 * isearch.el (isearch-search-fun-function): Clarify further the
10879 meaning of the function returned.
10881 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10883 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10885 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10886 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10888 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10889 `tramp-default-remote-path' does not exist.
10890 (tramp-send-command-and-read): New optional argument NOERROR.
10891 (tramp-open-connection-setup-interactive-shell)
10892 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10893 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10894 (tramp-process-sentinel): Flush also process' connection property.
10895 (tramp-sh-handle-start-file-process): Do not set process
10896 sentinel. It is done now ...
10897 (tramp-maybe-open-connection): ... here. (Bug#8929)
10899 2011-07-04 MON KEY <monkey@sandpframing.com>
10901 * play/animate.el (animate-string): Doc fixes and allow changing
10902 the buffer name (bug#5417).
10904 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10906 * play/animate.el (animation-buffer-name): Rename from *animate*.
10908 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10910 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10911 This is simpler and helps future-proof the code.
10912 (timer-until): Use time-subtract and float-time.
10913 (timer--time-less-p): Use time-less-p.
10915 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10917 * type-break.el (timep): Use the value of `float-time' to avoid a
10918 byte-compiler warning.
10920 * server.el (server-eval-and-print): Return any result, even nil.
10922 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10924 * type-break.el: Accept time formats that the builtins accept.
10925 (timep, type-break-time-difference): Accept any format that
10926 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10927 This is simpler and helps future-proof the code.
10928 (type-break-time-difference): Round rather than ignoring
10929 subseconds components.
10931 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10933 * info.el (Info-apropos-matches): Make non-interactive, since it
10934 doesn't seem to do anything useful as a command (bug#8829).
10936 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10938 * frame.el (frame-background-mode, frame-set-background-mode):
10939 Move from faces.el.
10940 (frame-default-terminal-background): New function.
10942 * custom.el (custom-push-theme): Don't record faces in `changed'
10943 theme; this doesn't work correctly for per-frame face settings.
10944 (disable-theme): Use face-set-after-frame-default to reset faces.
10945 (custom--frame-color-default): New function.
10947 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10949 * dired.el (dired-flagging-regexp): Remove unused variable
10952 2011-03-29 Kevin Ryde <user42@zip.com.au>
10954 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10955 `perl-Test2' extend to match possible "fail #N" rep count
10958 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10960 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10961 `smtpmail-via-smtp' now returns the error instead of nil.
10963 * isearch.el (isearch-search-fun-function): Clarify the doc string
10966 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10968 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10969 unnecessary spaces (bug#8987).
10971 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10973 * net/network-stream.el (open-network-stream): Use the
10974 :end-of-capability command thoughout.
10976 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10978 * net/network-stream.el (open-network-stream): Add the
10979 :end-of-capability command parameter, used by pop3.el.
10981 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10983 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10985 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10986 for list)" (bug#6475).
10988 * files.el (file-expand-wildcards): Ignore non-readable
10989 sub-directories while trying to find matches instead of signaling
10990 an error (bug#6297).
10992 * man.el (Man-reference-regexp): Allow matching possible
10993 word-wrapped references (bug#6289).
10995 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10996 for consistency with the other vc buffers (bug#6197).
10997 (vc-checkin): Ditto.
10999 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11001 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11003 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11005 * custom.el (defcustom): Clarify that :set is only used in the
11006 Customize user interface (bug#6089).
11008 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11009 associated with a file, refuse to run instead of erroring out
11012 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11013 the doc string, since it appears that using `fill-column' always
11014 controls the width (bug#7845).
11016 * simple.el (shell-command-on-region): Say where the error output
11017 went if `shell-command-default-error-buffer' is set (bug#6857).
11019 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11021 * allout.el (allout-yank-processing): Adjust cursor position for
11022 backwards-deleted space.
11024 (allout-rebullet-heading): Register changes with
11025 allout-exposure-changed-hook, so the modified topic is properly
11028 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11030 * minibuffer.el (completion-in-region): Document PREDICATE
11033 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11034 of keyword/argument pairs (bug#6904).
11036 * replace.el (multi-occur):
11037 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11039 2011-07-02 Drew Adams <drew.adams@oracle.com>
11041 * dired.el (dired-mark-if): Make the message about whether it's
11042 marking or unmarking clearer (bug#8523).
11044 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11046 * disp-table.el (display-table-print-array): New function.
11047 (describe-display-table): Use it to print the vectors more pretty
11050 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11052 * window.el (window-state-get-1): Don't assign clone numbers.
11053 Add clone-of item to list of window parameters.
11054 (window-state-put-2): Don't process clone numbers.
11055 (display-buffer-alist): Fix doc-string.
11057 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11059 * subr.el (remq): Don't allocate if it's not needed.
11060 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11061 (keymap--merge-bindings): New functions.
11062 (keymap-canonicalize): Use them to refine the canonicalization.
11063 * minibuffer.el (minibuffer-local-completion-map)
11064 (minibuffer-local-must-match-map): Move initialization from C.
11065 (minibuffer-local-filename-completion-map): Move initialization from C;
11066 don't inherit from anything here.
11067 (minibuffer-local-filename-must-match-map): Make obsolete.
11068 (completing-read-default): Use make-composed-keymap to combine
11069 minibuffer-local-filename-completion-map with either
11070 minibuffer-local-must-match-map or
11071 minibuffer-local-filename-completion-map.
11073 2011-07-01 Glenn Morris <rgm@gnu.org>
11075 * type-break.el (type-break-time-sum): Use dolist.
11077 * textmodes/flyspell.el (flyspell-word-search-backward):
11078 Replace CL function.
11080 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11082 * mouse.el (mouse--strip-first-event): New function.
11083 (function-key-map): Use it to map fringe clicks to normal clicks
11086 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11087 (vc-bzr-revision-completion-table): Add support for annotate and date.
11089 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11090 inherit from parent.
11092 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11094 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11095 (dired-show-file-type): Doc fixup (bug#8818).
11097 * dired.el (dired-mode): Fix up the doc string as suggested by
11098 Drew Adams (bug#8817).
11100 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11101 cookie, since the manual says that it should be possible to add
11102 this function to `find-file-hook' (bug#8709).
11104 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11106 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11107 here. Noted Ted Zlatanov as the maintainer.
11108 (cfengine-common-settings, cfengine-common-syntax): New functions
11109 to set up common things between `cfengine-mode' and
11111 (cfengine3-mode): New mode.
11112 (cfengine3-defuns cfengine3-defuns-regex
11113 (cfengine3-class-selector-regex cfengine3-category-regex)
11114 (cfengine3-vartypes cfengine3-font-lock-keywords)
11115 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11116 (cfengine3-indent-line): Add from cfengine3.el.
11118 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
11120 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11122 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11124 2011-07-01 Martin Rudalics <rudalics@gmx.at>
11126 * window.el (same-window-buffer-names, same-window-regexps)
11127 (same-window-p, special-display-frame-alist)
11128 (special-display-popup-frame, special-display-function)
11129 (special-display-buffer-names, special-display-regexps)
11130 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11131 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11132 (split-window-preferred-function, split-height-threshold)
11133 (split-width-threshold, even-window-heights)
11134 (display-buffer-mark-dedicated, window-splittable-p)
11135 (split-window-sensibly, window-safely-shrinkable-p):
11137 (display-buffer): Don't spread args with function specifier
11138 because special-display-popup-frame won't like it.
11140 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11142 Time-stamp simplifications and fixes.
11143 These improve accuracy slightly, and future-proof the code
11144 against some potential changes to current-time format.
11146 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11147 by using time-since and float-time.
11149 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11150 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11151 + NNN microseconds".
11153 * type-break.el (type-break-time-sum): Rewrite using time-add.
11155 * play/hanoi.el (hanoi-current-time-float): Remove.
11156 All uses replaced by float-time.
11158 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11159 This yields a more-accurate answer.
11160 (rng-time-to-float): Remove; no longer needed.
11162 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11164 * calendar/timeclock.el (timeclock-seconds-to-time):
11165 Defalias to seconds-to-time, since they're the same thing.
11167 * emacs-lisp/elp.el (elp-elapsed-time):
11168 * emacs-lisp/benchmark.el (benchmark-elapse):
11169 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11171 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11173 * window.el (bury-buffer): Don't iconify the only frame.
11174 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11175 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11177 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
11179 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11180 Add mouse-yank-primary.
11182 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11184 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11186 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11188 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11189 (find-library-name): Use it to find relative load names when provided
11190 absolute file name (bug#8803).
11192 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11194 * textmodes/flyspell.el (flyspell-word): Consider words that
11195 differ only in case as potential doublons (bug#5687).
11197 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11198 Remove two rather uninteresting debugging-like messages to make
11199 debbugs.el more silent.
11201 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11202 a password-like phrase.
11204 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11206 * progmodes/cc-guess.el: New file.
11208 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11210 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11211 derived from `c-basic-common-init'.
11213 * progmodes/cc-mode.el (top-level): Require cc-guess.
11214 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11216 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11218 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11220 2011-06-30 Alan Mackenzie <acm@muc.de>
11222 * progmodes/cc-engine.el (c-guess-continued-construct):
11223 Correct the handling of template-args-cont, particularly for when font
11224 lock is disabled. Name this case as "CASE G".
11226 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11228 * allout.el (allout-yank-processing): Fix injection of extra space
11229 between bullet and non-whitespace character in first topic when
11230 pasting, ensuring that the actual spacing in the pasted topic
11231 following the bullet char is preserved. This extra space was
11232 causing pasted encrypted topics to get a decrypted status even
11233 when the content was actually still encrypted. Now the decryption
11234 status from before the paste is preserved.
11236 (allout-flag-region): Set all allout overlays so they evaporate
11237 when reduced to zero length (evanescent), to prevent overlay
11240 2011-06-30 Glenn Morris <rgm@gnu.org>
11242 * w32-fns.el (w32-charset-info-alist): Declare.
11244 * find-dired.el (find-grep-options): Simplify.
11246 * term/ns-win.el (ns-set-resource): Declare.
11248 * ses.el (row, col): Declare dynamic variables honestly.
11250 * textmodes/reftex-parse.el (index-tags): Declare.
11252 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11254 * cus-edit.el (customize-push-and-save): New function.
11256 * files.el (hack-local-variables-confirm): Use it.
11258 * custom.el (load-theme): New arg NO-CONFIRM.
11259 Use customize-push-and-save (Bug#8720).
11260 (custom-enabled-themes): Doc fix.
11262 * cus-theme.el (customize-create-theme)
11263 (custom-theme-merge-theme): Callers to load-theme changed.
11265 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11267 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11268 short URLs have at least one dot in them (bug #7614).
11270 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11271 nil, because using a pty is apparently too slow (bug #895).
11273 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11275 * mail/sendmail.el (sendmail-query-once): New function.
11276 (sendmail-query-once-function): New variable.
11278 2011-06-29 Glenn Morris <rgm@gnu.org>
11280 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11282 * ses.el (top-level): Require cl when compiling.
11283 (ses-set-localvars): Fix error statement.
11284 Call it at compile time to silence a storm of warnings.
11286 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11288 * window.el (normalize-live-buffer): Rename to
11289 window-normalize-buffer.
11290 (normalize-live-frame): Rename to window-normalize-frame.
11291 (normalize-any-window): Rename to window-normalize-any-window.
11292 (normalize-live-window): Rename to window-normalize-live-window.
11293 (make-window-atom): Rename to window-make-atom.
11294 (window-resize-reset): Rename to window--resize-reset.
11295 (window-resize-reset-1): Rename to window--resize-reset-1.
11296 (resize-mini-window): Rename to window--resize-mini-window.
11297 (resize-subwindows-skip-p): Rename to
11298 window--resize-subwindows-skip-p.
11299 (resize-subwindows-normal): Rename to
11300 window--resize-subwindows-normal.
11301 (resize-subwindows): Rename to window--resize-subwindows.
11302 (resize-other-windows): Rename to window--resize-siblings.
11303 (resize-this-window): Rename to window--resize-this-window.
11304 (resize-root-window): Rename to window--resize-root-window.
11305 (resize-root-window-vertically): Rename to
11306 window--resize-root-window-vertically.
11307 (normalize-buffer-to-display): Rename to
11308 window-normalize-buffer-to-display.
11309 (normalize-buffer-to-switch-to): Rename to
11310 window-normalize-buffer-to-switch-to.
11311 Correspondingly update all callers of the functions listed
11313 (display-buffer-alist, display-buffer-normalize-arguments)
11314 (display-buffer-normalize-options, display-buffer)
11315 (display-buffer-alist-set): Use "function" instead of
11318 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11320 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11321 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11322 debbugs.gnu.org. Mention acknowledgment email.
11324 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11326 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11327 buffer multibyteness, since it shouldn't matter.
11329 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11331 * window.el (display-buffer-in-side-window): Handle dedicated
11332 windows as in display-buffer-reuse-window.
11333 (display-buffer-normalize-alist): Use value of override
11335 (display-buffer-normalize-specifiers): Use value of
11336 other-window-means-other-frame specifier.
11337 (display-buffer-alist): Rewrite some texts in widgets.
11338 (display-buffer): Spread arguments when calling function
11339 specified by fun-with-args.
11341 2011-06-28 Deniz Dogan <deniz@dogan.se>
11343 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11346 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11347 selectors (Bug#5732).
11348 (css-proprietary-nmstart-re): Use `regexp-opt'.
11350 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11352 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11353 (eshell-ls-date-format): New defcustom.
11354 (eshell-ls-file): Use it.
11356 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11358 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11360 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11362 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11363 (ange-ftp-make-tmp-name): New arg.
11364 (ange-ftp-file-local-copy): Use it.
11366 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11368 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11369 no-conversion (Bug#8870).
11371 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11373 * window.el (window-right, window-left, window-child)
11374 (window-child-count, window-last-child)
11375 (window-iso-combination-p, walk-window-tree-1)
11376 (window-atom-check-1, window-tree-1, delete-window)
11377 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11378 new naming conventions - window-vchild, window-hchild,
11379 window-next and window-prev are now called window-top-child,
11380 window-left-child, window-next-sibling and window-prev-sibling
11382 (resize-window-reset): Rename to window-resize-reset.
11383 (resize-window-reset-1): Rename to window-resize-reset-1.
11384 (resize-window): Rename to window-resize.
11385 (window-min-height, window-min-width)
11386 (resize-mini-window, resize-this-window, resize-root-window)
11387 (resize-root-window-vertically, adjust-window-trailing-edge)
11388 (enlarge-window, shrink-window, maximize-window)
11389 (minimize-window, delete-window, quit-restore-window)
11390 (split-window, balance-windows, balance-windows-area-adjust)
11391 (balance-windows-area, window-state-put-2)
11392 (display-buffer-even-window-sizes, display-buffer-set-height)
11393 (display-buffer-set-width, set-window-text-height)
11394 (fit-window-to-buffer): Rename all "resize-window" prefixed
11395 calls to use the "window-resize" prefix convention.
11396 (display-buffer-alist): Fix symbol for label specifier.
11397 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11398 corresponding specifier.
11399 Reported by Juanma Barranquero <lekktu@gmail.com>.
11401 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11403 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11405 (ses-call-printer): Does not pass an empty string to formatter when the
11406 cell is empty to keep from barking printer Calc math-format-value.
11408 2011-06-27 Richard Stallman <rms@gnu.org>
11410 * battery.el (battery-mode-line-limit): New variable.
11411 (battery-update): Handle it.
11413 * mail/rmailmm.el (rmail-mime-process-multipart):
11414 Handle truncated messages.
11416 2011-06-27 Glenn Morris <rgm@gnu.org>
11418 * progmodes/flymake.el (flymake-err-line-patterns):
11419 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11421 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11423 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11424 (ses--clean-!, ses--clean-_): New functions.
11425 (ses-range): Add configurability of readout order, and conversion
11428 * ses.el (ses-repair-cell-reference-all): New function.
11429 (ses-cell-symbol): Set macro as safe, so that it can be used in
11432 * ses.el: Update cycle detection algorithm.
11433 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11434 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11435 (ses-set-localvars): New function.
11436 (ses-make-cell): Add property-list as a cell element.
11437 (ses-cell-property-get-fun, ses-cell-property-get)
11438 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11439 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11441 (ses-cell-property-set, ses-cell-property-pop)
11442 (ses-cell-property-get-handle): New macro.
11443 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11444 New aliases, used for code readability.
11445 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11447 (ses-self-reference-early-detection): New defcustom.
11448 (ses-formula-references): Robustify against self-referring cells.
11449 (ses-mode): Use ses-set-localvars.
11450 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11451 before lauching the update processing.
11452 (ses-initialize-Dijkstra-attempt): New function.
11453 (ses-recalculate-cell): Update for cycle detection based on
11454 Dijkstra algorithm.
11456 * ses.el: Fix commenting and indenting convention.
11458 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11460 * bs.el (bs-cycle-next): Complete last change.
11462 2011-06-27 Drew Adams <drew.adams@oracle.com>
11464 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11466 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11468 * net/network-stream.el (network-stream-open-starttls):
11469 Don't re-get capabilities unless we've reestablished connection.
11470 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11472 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11473 to binary to possibly avoid line encoding issues on Windows (among
11476 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11478 * net/network-stream.el (open-network-stream): Return an :error
11479 saying what the problem was, if possible.
11481 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11484 * net/network-stream.el (network-stream-open-starttls): If we
11485 wanted to use STARTTLS, and the server offered it, but we weren't
11486 able to because we had no STARTTLS support, then close the connection.
11487 (open-network-stream): Return an :error element, if present.
11489 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11491 * hl-line.el (hl-line-sticky-flag): Doc fix.
11492 (global-hl-line-sticky-flag): New option (Bug#8323).
11493 (global-hl-line-highlight): Obey it.
11495 * vc/vc.el (vc-revert-show-diff): Default to t.
11497 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11499 * allout-widgets.el (allout-widgets-post-command-business):
11500 Stop decorating intermediate isearch matches. They're not being
11501 undecorated when an isearch is continued past, and isearch
11502 automatically collapses them. This leads to "widget leaks", where
11503 decorated items accumulate in collapsed areas. Lines with lots of
11504 hidden widgets can slow down cursor travel, substantially.
11505 Too much complicated machinery would be needed to ensure undecoration,
11506 so we're doing without this nicety.
11508 (allout-widgets-tally-string): Don't try to do a hash-table-count
11509 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11510 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11511 *Messages* when allout-widgets-maintain-tally is t.
11513 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11515 * window.el (display-buffer-normalize-argument): Rename to
11516 display-buffer-normalize-arguments. Handle special meaning of
11517 LABEL argument. Respect special-display-function when popping up
11518 a new frame. Fix code searching for a window showing the buffer
11520 (display-buffer-normalize-specifiers):
11521 Call display-buffer-normalize-arguments.
11522 (display-buffer-in-window): Don't undedicate the window if its
11523 buffer remains the same.
11524 Reported by Drew Adams <drew.adams@oracle.com>.
11525 (display-buffer-alist): Add choice for same-window macro
11527 (display-buffer): Mention special meaning of LABEL argument in
11528 doc-string. Fix quoting. Don't pop up a new frame even as
11531 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11533 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11534 avoid deleting the current window in some cases (bug#8911).
11536 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11538 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11541 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11543 * net/network-stream.el (network-stream-open-starttls):
11544 Use built-in TLS support if `gnutls-available-p' is true.
11545 (network-stream-open-tls): Ditto.
11547 2011-06-26 Leo Liu <sdl.web@gmail.com>
11549 * register.el (registerv): New struct.
11550 (registerv-make): New function.
11551 (jump-to-register, describe-register-1, insert-register):
11552 Support the jump-func, print-func and insert-func slot of a registerv
11555 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11557 * vc/vc.el (vc-revert-show-diff): New defcustom.
11558 (vc-diff-internal): New arg specifying diff buffer.
11559 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11560 reuse an existing *vc-diff* buffer (Bug#8927).
11562 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11564 2011-06-26 Glenn Morris <rgm@gnu.org>
11566 * progmodes/f90.el (f90-critical-indent): New option.
11567 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11568 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11569 (f90-mode): Doc fix.
11570 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11571 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11572 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11573 (f90-match-end): Handle block, critical.
11575 2011-06-25 Glenn Morris <rgm@gnu.org>
11577 * calendar/diary-lib.el (diary-included-files): Doc fix.
11578 (diary-include-files): New function, extracted from
11579 diary-include-other-diary-files and diary-mark-included-diary-files.
11580 (diary-include-other-diary-files, diary-mark-included-diary-files):
11581 Just call diary-include-files.
11582 (diary-mark-entries): Reset diary-included-files on first call.
11584 * calendar/diary-lib.el (diary-mark-entries)
11585 (diary-mark-included-diary-files):
11586 Visit included diary-files in temp buffers.
11588 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11589 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11590 (f90-start-block-re, f90-imenu-generic-expression)
11591 (f90-looking-at-program-block-start, f90-no-block-limit):
11592 Add support for submodules.
11594 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11595 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11597 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11599 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11600 buffer-file-type before setting its value, to avoid disastrous
11601 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11603 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11605 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11607 * ses.el (ses-unload-function):
11608 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11610 * proced.el (proced-unload-function):
11611 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11613 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11615 * server.el (server-create-window-system-frame): Add parameters arg.
11616 (server-process-filter): Doc fix. Handle frame-parameters.
11618 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11620 Fix bug#8730, bug#8781.
11622 * loadhist.el (unload--set-major-mode): New function.
11623 (unload-feature): Use it.
11625 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11626 (python-unload-function): New function.
11628 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11630 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11632 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11634 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11635 the candidates list.
11637 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11639 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11641 2011-06-23 Richard Stallman <rms@gnu.org>
11643 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11644 (rmail-variables): Set next-error-move-function.
11645 (rmail-what-message): Take argument POS.
11646 (rmail-next-error-move): New function.
11648 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11650 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11651 messages for adjacent non-terminals.
11653 2011-06-23 Richard Stallman <rms@gnu.org>
11655 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11656 (rmail-show-message-1): Preserve buffer modified flag.
11657 (rmail-start-mail): Don't specify use of rmail-mail-return;
11658 that's done by mail-bury now.
11659 (rmail-mail-return): Handle arg NEWBUF.
11661 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11663 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11666 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11668 * window.el (get-lru-window, get-mru-window)
11669 (get-largest-window): Never return a minibuffer window.
11670 (display-buffer-pop-up-window): Fix a bug that could lead to
11671 reusing the minibuffer window.
11672 (display-buffer): Pass original specifier argument to
11673 display-buffer-function instead of the normalized one.
11674 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11676 2011-06-22 Leo Liu <sdl.web@gmail.com>
11678 * minibuffer.el (completing-read-function)
11679 (completing-read-default): Move from minibuf.c
11681 2011-06-22 Richard Stallman <rms@gnu.org>
11683 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11684 to Rmail even if not started by a special Rmail command.
11686 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11687 Copy the buffer currently showing just one message.
11689 2011-06-22 Roland Winkler <winkler@gnu.org>
11691 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11692 (bibtex-clean-entry): First delete the old key so that a
11693 customized algorithm for generating the new key does not get
11694 confused by the old key.
11695 (bibtex-url): Obey regexp of first step.
11696 (bibtex-search-entries): Do not use add-to-list with local
11699 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11701 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11702 stored a user name, then query for the password first, instead of
11703 waiting for SMTP to give an error message and the trying again.
11705 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11707 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11708 BUFFER in call-process.
11710 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11712 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11714 (smtpmail-try-auth-methods): Require user name and password from
11717 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11719 * window.el (display-buffer-default-specifiers)
11720 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11721 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11722 (split-window): Normalize SIDE argument (Bug#8916).
11724 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11725 (special-display-frame-alist, special-display-popup-frame):
11726 Remove duplicate declarations. These are now in window.el.
11728 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11730 * mail/smtpmail.el (smtpmail-via-smtp):
11731 Set :use-starttls-if-possible so that we always use STARTTLS if the
11732 server supports it. SMTP servers that support STARTTLS commonly
11735 * net/network-stream.el (network-stream-open-starttls): Support
11736 upgrading to STARTTLS always, even if we don't have built-in support.
11737 (open-network-stream): Add the :always-query-capabilities keyword.
11739 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11740 upgrades with `open-network-stream', and rely solely on
11741 auth-source for all credentials. Big changes throughout the file,
11743 (smtpmail-auth-credentials): Remove.
11744 (smtpmail-starttls-credentials): Remove.
11745 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11748 * net/network-stream.el (network-stream-open-starttls):
11749 Provide support for client certificates both for external and built-in
11751 (auth-source): Require.
11752 (open-network-stream): Document the :client-certificate keyword.
11753 (network-stream-certificate): Change cert-cert to cert and
11756 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
11758 * net/tramp-cache.el (top): Don't load the persistency file when
11759 "emacs -Q" has been called.
11761 2011-06-21 Tim Harper <timcharper@gmail.com>
11763 * term/ns-win.el (ns-initialize-window-system):
11764 Set application-specific `ApplePressAndHoldEnabled' system
11765 resource to NO as it is not yet supported by the NS port.
11767 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11769 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11770 (list-dynamic-libraries): ...not here.
11772 2011-06-21 Leo Liu <sdl.web@gmail.com>
11774 * subr.el (sha1): Implement sha1 using secure-hash.
11776 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11778 * window.el (display-buffer-alist): In default value do not
11779 enforce searching a window on any but the selected frame.
11780 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11781 (display-buffer-select-window): Remove function.
11782 (display-buffer-in-window): When a window on another frame gets
11783 reused, do not select it any more but just raise its frame if
11784 necessary (Bug#8851) and (Bug#8856).
11785 (display-buffer-normalize-options): Handle pop-up-frames related
11786 options more faithfully.
11787 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11788 window if it is on another frame.
11789 (display-buffer-alist, display-buffer-default-specifiers):
11790 Don't make new frame unsplittable by default.
11791 (display-buffer-normalize-argument): Fix doc-string typo and use
11792 'same-frame-other-window instead of 'other-window when associating
11793 with display-buffer-macro-specifiers.
11795 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11797 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11799 (5x5-mode-map, 5x5-mode-menu): Bind them.
11800 (5x5-draw-grid): Tweak the solver's rendering.
11802 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11804 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11805 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11807 2011-06-21 Drew Adams <drew.adams@oracle.com>
11809 * menu-bar.el: Use function variable instead of switch-to-buffer.
11810 (menu-bar-select-buffer-function): New variable.
11811 (menu-bar-update-buffers): Use it (bug#8876).
11813 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11815 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11818 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11820 * x-dnd.el (x-dnd-version-from-flags)
11821 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11822 and long as number (Bug#8899).
11823 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11825 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11827 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11828 (completion-try-completion, completion-all-completions): Compute the
11829 metadata argument if it's missing; make it optional (bug#8795).
11831 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11832 (widget-complete): Use new :completion-function property.
11833 (widget-completions-at-point): New function.
11834 (default): Use :completion-function instead of :complete.
11835 (widget-default-completions): Rename from widget-default-complete;
11837 (widget-string-complete, widget-file-complete, widget-color-complete):
11839 (file, symbol, function, variable, coding-system, color):
11840 * international/mule-cmds.el (default-input-method, charset)
11841 (language-info-custom-alist):
11842 * cus-edit.el (face): Use new property :completions.
11844 * progmodes/pascal.el (pascal-completions-at-point): New function.
11845 (pascal-mode): Use it.
11846 (pascal-mode-map): Use completion-at-point.
11847 (pascal-toggle-completions): Make obsolete.
11848 (pascal-complete-word, pascal-show-completions):
11849 * progmodes/octave-mod.el (octave-complete-symbol):
11850 Redefine as obsolete alias.
11851 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11852 Signal absence of completion info for old Octave,
11853 (inferior-octave-complete): Redefine as obsolete alias.
11854 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11855 (meta-completions-at-point): Rename from meta-complete-symbol and
11856 adapt it for use on completion-at-point-functions.
11857 (meta-common-mode): Use it.
11858 (meta-looking-at-backward, meta-match-buffer): Remove.
11859 (meta-complete-symbol): Redefine as obsolete alias.
11860 (meta-common-mode-map): Use completion-at-point.
11861 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11862 (makefile-mode-map): Use completion-at-point.
11863 (makefile-completions-at-point): Rename from makefile-complete and
11864 adapt it for use on completion-at-point-functions.
11865 (makefile-mode): Use it.
11866 (makefile-complete): Redefine as obsolete alias.
11868 2011-06-20 Deniz Dogan <deniz@dogan.se>
11870 * net/rcirc.el: Delete trailing whitespaces once and for all.
11872 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11874 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11876 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11878 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11880 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11882 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11884 * window.el (display-buffer-other-window-means-other-frame):
11885 Call display-buffer-normalize-alist.
11886 (display-buffer-normalize-specifiers-1): Rename to
11887 display-buffer-normalize-argument. New argument other-frame.
11889 (display-buffer-normalize-specifiers-2): Rename to
11890 display-buffer-normalize-options.
11891 (display-buffer-normalize-alist-1): New function.
11892 (display-buffer-normalize-specifiers-3): Rename to
11893 display-buffer-normalize-alist.
11894 Call display-buffer-normalize-alist-1.
11895 (display-buffer-normalize-options-inhibit): New variable.
11896 (display-buffer-normalize-specifiers): Rewrite calling
11897 display-buffer-normalize-alist,
11898 display-buffer-normalize-argument, and
11899 display-buffer-normalize-options. Don't call the latter if
11900 display-buffer-normalize-options-inhibit is non-nil.
11901 (frame-auto-delete): New option.
11902 (window-deletable-p): Use frame-auto-delete.
11903 (window-list-no-nils, window-state-ignored-parameters)
11904 (window-state-get-1, window-state-get, window-state-put-list)
11905 (window-state-put-1, window-state-put-2, window-state-put):
11907 (display-buffer-normalize-options): Move special-display-p group
11908 after pop-up-frame group (Bug#8851) and (Bug#8856).
11910 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11912 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11914 (rx-submatch-n): New function.
11917 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11920 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11922 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11924 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11925 anytime existing face settings are present (Bug#8889).
11927 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11928 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11929 Remove unused argument.
11931 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11933 * window.el (display-buffer-default-specifiers):
11934 Remove pop-up-frame. Add pop-up-window-min-height,
11935 pop-up-window-min-width, and another reuse-window specifier
11936 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11937 (display-buffer-normalize-specifiers-2):
11938 Handle split-height-threshold and split-width-threshold also when
11939 pop-up-windows is unset. Add a reuse-window specifier for the
11940 case popping up a new window fails.
11941 (special-display-popup-frame): Remove double quoting.
11942 (display-buffer-normalize-specifiers-1): Fix thinko.
11944 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11946 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11947 according to comint-completion-addsuffix.
11949 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11950 (pcomplete-suffix-list): Mark as obsolete.
11951 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11952 pcomplete-seen in the closure.
11953 (pcomplete-comint-setup): Setup completion-at-point as well.
11954 (pcomplete--entries): New function.
11955 (pcomplete--env-regexp): New var.
11956 (pcomplete-entries): Rewrite to work with partial-completion and
11957 without relying on pcomplete-suffix-list.
11958 (pcomplete-pare-list): Remove, unused.
11960 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11962 * window.el (display-buffer-alist): Set pop-up-window-min-height
11963 and pop-up-window-min-width in default value. Reported by
11964 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11965 other-window-means-other-frame.
11966 (display-buffer-macro-specifiers): Comment out entry for
11967 other-window specifier.
11968 (display-buffer-other-window-means-other-frame): New function.
11969 (display-buffer-normalize-specifiers-1): New arguments
11970 buffer-name and label. Treat other-window case specially.
11971 (display-buffer-normalize-specifiers-2): Treat other-window case
11973 (display-buffer-normalize-specifiers-3): New function.
11974 (display-buffer-normalize-specifiers):
11975 Call display-buffer-normalize-specifiers-3.
11977 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11979 * window.el (same-window-p): Fix two typos introduced when
11980 adding with-no-warnings.
11981 (display-buffer-normalize-specifiers-1): Don't check
11982 pop-up-frames for 'unset initialization.
11983 (display-buffer-normalize-specifiers-2): Major rewrite using
11984 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11985 (pop-up-frames, display-buffer-reuse-frames)
11986 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11987 Suggested by David Engster <deng@randomsample.de>.
11988 (even-window-heights): Initialize to 'unset.
11989 (display-buffer-alist-set): Handle new 'unset initializations.
11990 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11993 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11995 * window.el (display-buffer-normalize-specifiers-1):
11996 Respect current value of pop-up-frames for most reasonable values of
11997 second argument of display-buffer (Bug#8865).
11998 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11999 (switch-to-buffer-other-window-same-frame)
12000 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12002 (display-buffer): Don't check noninteractive when calling
12003 display-buffer-pop-up-frame.
12004 (display-buffer-pop-up-frame): Never pop up a frame in
12005 noninteractive mode (Bug#8857).
12006 (enlarge-window, shrink-window): Don't report an error when the
12007 window can't be resized as requested (Bug#8862).
12009 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12011 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12013 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12015 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12017 2011-06-15 Alan Mackenzie <acm@muc.de>
12019 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12020 for declarators, disable knr checking to speed up for normal files.
12021 2: Refactor, replacing a sequence of nested if forms by a cond form.
12023 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12025 * net/network-stream.el (open-network-stream): Add the keyword
12026 :always-query-capabilities for the case where you want to force a
12027 `plain' network connection, but the protocol still requires the
12028 capabilitiy command (i.e., SMTP and EHLO).
12030 * subr.el (process-live-p): Rename from `process-alive-p' for
12031 consistency with other `-live-p' functions.
12033 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12035 * window.el (same-window-buffer-names, same-window-regexps)
12036 (special-display-frame-alist, special-display-popup-frame)
12037 (special-display-function, special-display-buffer-names)
12038 (special-display-regexps, pop-up-frame-alist)
12039 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12040 (pop-up-windows, split-window-preferred-function)
12041 (split-height-threshold, split-width-threshold, even-window-heights)
12042 (display-buffer-mark-dedicated): Don't encourage the use of
12043 display-buffer-alist from Elisp code.
12045 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12047 * progmodes/python.el (python-mode): Derive from prog-mode.
12048 * progmodes/ps-mode.el (ps-mode):
12049 * progmodes/mixal-mode.el (mixal-mode):
12050 * progmodes/cfengine.el (cfengine-mode):
12051 * progmodes/ld-script.el (ld-script-mode): Likewise.
12053 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12055 * window.el (display-buffer-alist): Trim default value to avoid
12056 popping up a new frame (Bug#8857) or reusing an arbitrary window
12058 (display-buffer): Do not fall back on popping up a new frame in
12059 batch mode (Bug#8857).
12061 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12063 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12064 (custom-theme-summary): New function.
12065 (customize-themes): Use it.
12067 2011-06-13 Glenn Morris <rgm@gnu.org>
12069 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12071 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12073 * help.el (help-window): Remove variable.
12074 (help-window-point-marker, temp-buffer-max-height)
12075 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12076 (help-print-return-message): Don't set help-window.
12077 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12078 (help-window-setup-finish): Remove.
12079 (help-window-display-message, help-window-setup)
12080 (with-help-window): Major rewrite based on new
12081 display-buffer-window variable.
12083 * help-mode.el (help-mode-finish): Remove help-window related
12086 * view.el (view-exits-all-viewing-windows): Remove reference to
12087 view-return-to-alist in doc-string.
12088 (view-return-to-alist): Make obsolete.
12089 (view-buffer): Call pop-to-buffer-same-window and remove
12091 (view-buffer-other-window): Call pop-to-buffer-other-window and
12092 simplify code. Ignore second argument.
12093 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12094 simplify code. Ignore second argument.
12095 (view-return-to-alist-update): Make obsolete.
12096 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12097 Rewrite using quit-restore window parameters.
12098 (view-mode-exit): Rename second argument to EXIT-ONLY.
12099 Rewrite using quit-restore-window.
12100 (View-exit, View-exit-and-edit, View-leave, View-quit)
12101 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12102 appropriate arguments.
12103 (view-end-message): Use quit-restore window parameter.
12105 * window.el (display-buffer-function): Rewrite doc-string.
12106 (display-buffer-window, display-buffer-alist): New variables.
12107 (display-buffer-split-specifiers)
12108 (display-buffer-side-specifiers)
12109 (display-buffer-macro-specifiers): New constants.
12110 (display-buffer-even-window-sizes, display-buffer-set-height)
12111 (display-buffer-set-width, display-buffer-select-window)
12112 (display-buffer-in-window, display-buffer-reuse-window)
12113 (display-buffer-split-window-1, display-buffer-split-window)
12114 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12115 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12116 (display-buffer-in-side-window, normalize-buffer-to-display)
12117 (display-buffer-normalize-specifiers-1)
12118 (display-buffer-normalize-specifiers-2)
12119 (display-buffer-normalize-specifiers, display-buffer-frame):
12121 (display-buffer): Major rewrite.
12122 (display-buffer-other-window, display-buffer-other-frame)
12123 (pop-to-buffer, switch-to-buffer-other-window)
12124 (switch-to-buffer-other-frame): Rewrite.
12125 (display-buffer-same-window, display-buffer-same-frame)
12126 (display-buffer-same-frame-other-window)
12127 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12128 (pop-to-buffer-other-window)
12129 (pop-to-buffer-same-frame-other-window)
12130 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12131 (switch-to-buffer-other-window-same-frame): New functions.
12132 (same-window-p, special-display-p): Rewrite disabling warnings.
12134 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12135 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12137 (same-window-buffer-names, same-window-regexps)
12138 (special-display-frame-alist, special-display-popup-frame)
12139 (special-display-function, special-display-buffer-names)
12140 (special-display-regexps, pop-up-frame-alist)
12141 (pop-up-frame-function, split-window-preferred-function)
12142 (split-height-threshold, split-width-threshold)
12143 (even-window-heights): Make obsolete.
12145 2011-06-12 Glenn Morris <rgm@gnu.org>
12147 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
12148 Misc simplifications.
12150 2011-06-12 Martin Rudalics <rudalics@gmx.at>
12152 * window.el (window-safely-shrinkable-p): Restore function which
12153 was inadvertently removed in change from 2011-06-11. Declare as
12156 * calendar/calendar.el (calendar-generate-window):
12157 Use window-iso-combined-p instead of combination of one-window-p and
12158 window-safely-shrinkable-p.
12160 2011-06-12 Glenn Morris <rgm@gnu.org>
12162 * progmodes/fortran.el (fortran-mode-syntax-table):
12163 * progmodes/f90.el (f90-mode-syntax-table):
12164 Set % to punctuation. (Bug#8820)
12165 (f90-find-tag-default): Remove, no longer needed.
12167 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12169 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12171 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
12173 * image.el (image-animated-p): Return animation delay in seconds.
12174 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12175 (image-animate-timeout): Remove DELAY argument. Don't assume
12176 every subimage has the same delay; get it from image-animated-p.
12177 (image-animate): Caller changed.
12179 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12181 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12182 to ignored backtrace functions.
12184 2011-06-11 Glenn Morris <rgm@gnu.org>
12186 * calendar/appt.el (appt-disp-window-function): Doc fix.
12187 (appt-check): Handle overlapping appointments. (Bug#8337)
12189 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12191 * window.el (window-tree-1, window-tree): New functions, moving
12192 the latter to window.el.
12193 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12194 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12195 (bw-refresh-edges): Remove.
12196 (balance-windows-1, balance-windows-2): New functions.
12197 (balance-windows): Rewrite in terms of window tree functions,
12198 balance-windows-1 and balance-windows-2.
12199 (bw-adjust-window): Remove.
12200 (balance-windows-area-adjust): New function with functionality of
12201 bw-adjust-window but using resize-window.
12202 (set-window-text-height): Rewrite doc-string.
12203 Use normalize-live-window and resize-window.
12204 (enlarge-window-horizontally, shrink-window-horizontally):
12205 Rename argument to DELTA.
12206 (window-buffer-height): New function.
12207 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12208 Rewrite using new window resize routines.
12209 (kill-buffer-and-window, mouse-autoselect-window-select):
12210 Use ignore-errors instead of condition-case.
12211 (quit-window): Call delete-frame instead of delete-windows-on
12212 for the only buffer on frame.
12214 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12216 * loadup.el (top-level): Load window before files for the sake
12217 of replace-buffer-in-windows.
12219 * files.el (read-buffer-to-switch)
12220 (switch-to-buffer-other-window)
12221 (switch-to-buffer-other-frame, display-buffer-other-frame):
12224 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12225 (previous-buffer): Move to window.el.
12227 * bindings.el (unbury-buffer): Move to window.el.
12229 * window.el (delete-other-windows-vertically): Move after
12230 definition of delete-other-windows.
12231 (other-window, delete-windows-on, replace-buffer-in-windows):
12232 Move here from window.c.
12233 (record-window-buffer, unrecord-window-buffer)
12234 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12235 (switch-to-next-buffer): New functions.
12236 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12237 from simple.el. Call switch-to-next-buffer.
12238 (previous-buffer): Move here from simple.el.
12239 Call switch-to-prev-buffer.
12240 (bury-buffer): Move here from buffer.c. Switch to previous
12241 buffer when window cannot be deleted.
12242 (unbury-buffer): Move here from bindings.el.
12243 (ctl-x-map): Move binding for other-window from window.c to
12245 (read-buffer-to-switch, switch-to-buffer-other-window)
12246 (switch-to-buffer-other-frame): Move here from files.el.
12247 (normalize-buffer-to-switch-to): New functions.
12248 (switch-to-buffer): Move here from buffer.c.
12249 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12251 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12253 * window.el (window-min-height, window-min-width): Move here
12254 from window.c. Add defcustoms and rewrite doc-strings.
12255 (resize-mini-window, resize-window): New functions.
12256 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12257 Move here from window.c.
12258 (maximize-window, minimize-window): New functions.
12259 (delete-window, delete-other-windows, split-window): Move here
12261 (window-split-min-size): New function.
12262 (split-window-keep-point): Mention split-window-above-each-other
12263 instead of split-window-vertically.
12264 (split-window-above-each-other, split-window-vertically):
12265 Rename split-window-vertically to split-window-above-each-other
12266 and provide defalias for old definition.
12267 (split-window-side-by-side, split-window-horizontally):
12268 Rename split-window-horizontally to split-window-side-by-side
12269 and provide defalias for the old definition.
12270 (ctl-x-map): Move bindings for delete-window,
12271 delete-other-windows and enlarge-window here from window.c.
12272 Replace bindings for split-window-vertically and
12273 split-window-horizontally by bindings for
12274 split-window-above-each-other and split-window-side-by-side.
12276 * cus-start.el (all): Remove entries for window-min-height and
12277 window-min-width. Add entries for window-splits and
12280 2011-06-09 Glenn Morris <rgm@gnu.org>
12282 * calendar/appt.el (appt-mode-line): New function.
12283 (appt-check, appt-disp-window): Use it.
12285 * files.el (hack-one-local-variable-eval-safep):
12286 Allow minor-modes with explicit +/-1 arguments.
12288 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12290 * term/xterm.el (xterm): Add defgroup.
12291 (xterm-extra-capabilities): Add defcustom to supply known xterm
12292 capabilities, skip querying them, or query them (default).
12293 (terminal-init-xterm): Use it.
12294 (terminal-init-xterm-modify-other-keys): New function to set up
12295 modifyOtherKeys support to simplify `terminal-init-xterm'.
12297 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12299 * window.el (resize-window-reset, resize-window-reset-1)
12300 (resize-subwindows-skip-p, resize-subwindows-normal)
12301 (resize-subwindows, resize-other-windows, resize-this-window)
12302 (resize-root-window, resize-root-window-vertically)
12303 (window-deletable-p, window-or-subwindow-p)
12304 (frame-root-window-p): New functions.
12306 2011-06-09 Glenn Morris <rgm@gnu.org>
12308 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12309 (ange-ftp-get-files): Use it.
12311 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12313 * mail/sendmail.el (mail-recover-1, mail-recover):
12314 * files.el (recover-file, recover-session):
12315 Handle dired-listing-switches not being just a single short option.
12317 2011-06-09 Glenn Morris <rgm@gnu.org>
12319 * calendar/appt.el (appt-display-message, appt-disp-window):
12320 Handle lists of appointments.
12322 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12324 * window.el (one-window-p): Move down in code.
12325 Rewrite doc-string.
12326 (window-current-scroll-bars): Rewrite doc-string.
12327 Normalize live window argument.
12328 (walk-windows, get-window-with-predicate, count-windows):
12329 Rewrite doc-string. Use window-list-1.
12330 (window-in-direction-2, window-in-direction, get-mru-window):
12333 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12335 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12336 Doc fix (Bug#8713).
12338 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12340 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12342 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12344 * loadhist.el (unload-feature-special-hooks):
12345 Add `comint-output-filter-functions'.
12347 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12349 * calendar/appt.el (appt-check): Move some initializations into the let.
12351 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12353 * window.el (window-height): Defalias to window-total-height.
12354 (window-width): Defalias to window-body-width.
12356 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12358 * image-mode.el (image-toggle-animation): New command.
12359 (image-mode-map): Bind it to RET.
12360 (image-mode): Update message.
12361 (image-toggle-display-image): Avoid a spurious cache flush.
12362 (image-transform-rotation): Doc fix.
12363 (image-transform-properties): Return quickly in the normal case.
12364 (image-animate-loop): Rename from image-animate-max-time.
12366 * image.el (image-animate-max-time): Move to image-mode.el.
12367 (create-animated-image): Remove unnecessary function.
12368 (image-animate): Rename from image-animate-start. New arg.
12369 (image-animate-stop): Remove; just use image-animate-timer.
12370 (image-animate-timer): Use car-safe.
12371 (image-animate-timeout): Rename argument.
12373 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12375 * window.el (get-lru-window, get-largest-window): Move here from
12376 window.c. Rename first argument to ALL-FRAMES.
12377 Rephrase doc-strings.
12378 (get-buffer-window-list): Rewrite using window-list-1.
12379 Rephrase doc-string.
12380 (window-safe-min-height, window-safe-min-width): New constants.
12381 (window-size-ignore, window-min-size, window-min-size-1)
12382 (window-sizable, window-sizable-p, window-size-fixed-1)
12383 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12384 (window-max-delta-1, window-max-delta, window-resizable)
12385 (window-resizable-p, window-total-height, window-total-width)
12386 (window-body-width): New functions.
12387 (window-full-height-p, window-full-width-p): Rewrite using
12389 (window-body-height): Rewrite using window-body-size.
12391 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12393 * window.el (window-right, window-left, window-child)
12394 (window-child-count, window-last-child, window-any-p)
12395 (normalize-live-buffer, normalize-live-frame)
12396 (normalize-any-window, normalize-live-window)
12397 (window-iso-combination-p, window-iso-combined-p)
12398 (window-iso-combinations)
12399 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12400 (windows-with-parameter, window-with-parameter)
12401 (window-atom-root, make-window-atom, window-atom-check-1)
12402 (window-atom-check, window-side-check, window-check):
12404 (ignore-window-parameters, window-sides, window-sides-vertical)
12405 (window-sides-slots): New variables.
12406 (window-size-fixed): Move down in code. Minor doc-string fix.
12408 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12410 * comint.el (comint-dynamic-complete-as-filename)
12411 (comint-dynamic-complete-filename): Correctly call
12412 completion-in-region.
12414 2011-06-05 Deniz Dogan <deniz@dogan.se>
12416 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12419 2011-06-05 Deniz Dogan <deniz@dogan.se>
12421 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12422 (rcirc): Use it to prompt for encryption.
12424 2011-06-05 Roland Winkler <winkler@gnu.org>
12426 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12427 (bibtex-search-entries): New command bound to C-c C-a.
12428 (bibtex-display-entries): New function.
12430 2011-06-05 Roland Winkler <winkler@gnu.org>
12432 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12433 (bibtex-insert-kill): After yanking insert newline if necessary.
12434 (bibtex-initialize): Call bibtex-string-files-init only once.
12435 (bibtex-mode): Do not call easy-menu-add.
12436 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12437 (bibtex-yank): Set arg properly if nil.
12439 2011-06-05 Roland Winkler <winkler@gnu.org>
12441 * textmodes/bibtex.el (bibtex-search-entry-globally):
12443 (bibtex-search-entry): Use it.
12445 2011-06-05 Roland Winkler <winkler@gnu.org>
12447 * textmodes/bibtex.el (bibtex-entry-format): New option
12449 (bibtex-format-entry, bibtex-reformat): Honor this option.
12450 (bibtex-parse-entry): Return fields in proper order.
12452 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12454 * doc-view.el (doc-view-remove-if): Move computation of result out
12455 of `dolist' to silence misleading lexical-binding warning.
12457 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12459 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12460 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12462 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12464 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12467 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12469 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12470 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12471 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12472 (tramp-parse-putty):
12473 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12474 (tramp-completion-function-alist-ssh)
12475 (tramp-completion-function-alist-telnet)
12476 (tramp-completion-function-alist-su)
12477 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12480 * net/tramp-ftp.el:
12482 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12483 load "tramp.el" `tramp-set-completion-function'.
12485 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12487 * shell.el: Require and use pcomplete.
12488 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12489 (shell-completion-vars): Set pcomplete-default-completion-function.
12491 2011-06-04 Deniz Dogan <deniz@dogan.se>
12493 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12496 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12498 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12500 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12502 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12503 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12504 * vc/log-view.el (log-view-beginning-of-defun):
12505 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12506 (smerge-refine-forward, smerge-refine-chopup-region):
12507 Silence warning for unused `dotimes' counter variables.
12509 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12511 * net/tramp.el (tramp-with-progress-reporter): Rename from
12512 with-progress-reporter. Use `declare'.
12513 * net/tramp-smb.el:
12515 * net/tramp-gvfs.el: Update all uses.
12517 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12519 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12520 buffer isn't killed before making it current.
12522 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12524 Silence various byte-compiler warnings.
12525 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12526 `access-type' and new obsolescence format.
12527 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12529 (byte-compile-check-variable): New `access-type' argument.
12530 Only warn if the access-type is obsolete.
12531 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12532 (byte-compile-variable-set): Adjust callers.
12533 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12534 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12535 setting it as obsolete.
12536 * simple.el (minibuffer-completing-symbol):
12537 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12538 access as obsolete.
12539 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12541 * international/quail.el (quail-mouse-choose-completion): Remove unused
12542 code referring to obsolete var.
12543 (quail-choose-completion-string): Remove.
12544 * server.el (server-clients-with, server-kill-buffer-query-function)
12545 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12546 * proced.el (proced-send-signal):
12547 * emacs-lisp/lisp.el (lisp-complete-symbol):
12548 Replace completion-annotate-function with completion-extra-properties.
12550 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12552 * simple.el (goto-line): Use read-number.
12553 (overriding-map-is-bound): Remove.
12554 (saved-overriding-map): Change default.
12555 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12556 Take the map as argument.
12557 (universal-argument, negative-argument, digit-argument): Use it.
12558 (restore-overriding-map): Adjust.
12559 (do-auto-fill): Use fill-forward-paragraph.
12560 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12562 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12563 (minibuffer-inactive-mode): New major mode.
12564 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12565 the *Messages* buffer" hack.
12566 (mouse-popup-menubar): Don't burp if the event is a normal key.
12568 Miscellaneous tweaks.
12569 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12570 lexical scoping as in subr.el's dolist and dotimes.
12571 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12572 Silence compiler warning.
12573 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12574 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12575 * international/ccl.el (ccl-compile): Trivial simplification.
12576 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12577 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12578 `printflag' argument.
12579 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12580 Purecopy the whole obsolescence data.
12582 2011-06-01 Leo Liu <sdl.web@gmail.com>
12584 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12585 improve doc-string as suggested by Marco Pessotto
12586 <melmothx@gmail.com>.
12587 (rcirc-print): Fix last change.
12589 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12591 * minibuffer.el (complete-with-action): Return nil for the metadata and
12592 boundaries of non-functional tables.
12593 (completion-table-dynamic): Return nil for the metadata.
12594 (completion-table-with-terminator): Add default case, using
12595 complete-with-action.
12596 (completion--metadata): New function.
12597 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12598 to try and avoid pathological performance problems.
12599 (completion--embedded-envvar-table): Return `category' metadata.
12601 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12603 * subr.el (process-alive-p): New tiny convenience function.
12605 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12607 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12608 content but also its previous major mode.
12610 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12612 * emacs-lisp/debug.el (debug): Restore the previous content of the
12613 *Backtrace* buffer when we exit with C-M-c.
12615 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12617 * minibuffer.el: Add metadata method to completion tables.
12618 (completion-category-overrides): New defcustom.
12619 (completion-metadata, completion--field-metadata)
12620 (completion-metadata-get, completion--styles)
12621 (completion--cycle-threshold): New functions.
12622 (completion-try-completion, completion-all-completions):
12623 Add `metadata' argument to choose completion-styles.
12624 (completion--do-completion): Use metadata to choose cycling.
12625 (completion-all-sorted-completions): Use metadata for sorting.
12626 Remove :completion-cycle-penalty which is not needed any more.
12627 (completion--try-word-completion): Add `metadata' argument.
12628 (minibuffer-completion-help): Check metadata for annotation function
12630 (completion-file-name-table): Return `category' metadata.
12631 (minibuffer-completing-file-name): Make obsolete.
12632 * simple.el (minibuffer-completing-symbol): Make obsolete.
12633 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12634 completion-try-completion.
12636 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12638 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12640 2011-05-30 Leo Liu <sdl.web@gmail.com>
12642 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12643 (rcirc-print): Decode all incoming messages (bug#8744).
12644 (rcirc-decode-coding-system): Allow value nil for automatic coding
12647 2011-06-01 Glenn Morris <rgm@gnu.org>
12649 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12651 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12653 * image.el (image-animate-max-time): Allow nil and t values.
12655 (create-animated-image): Doc fix.
12656 (image-animate-start): Remove second arg; just use
12657 image-animate-max-time.
12658 (image-animate-timeout): Doc fix. Args changed.
12660 * image-mode.el (image-toggle-display-image): Ensure that the
12661 image spec passed to the animate timer is the same object as in
12662 the buffer's display property (Bug#6981).
12663 (image-transform-properties): Doc fix.
12665 * image.el (image-animate-max-time): Default to nil.
12667 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12669 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12670 entire buffer list (Bug#8184).
12672 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12674 * image.el (imagemagick-types-inhibit)
12675 (imagemagick-register-types): Doc fix.
12677 2011-05-29 Deniz Dogan <deniz@dogan.se>
12679 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12682 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12684 * select.el: Don't perform clipboard-manager saving in hooks;
12685 leave the hooks empty.
12687 2011-05-28 Leo Liu <sdl.web@gmail.com>
12689 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12690 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12691 (occur-edit-mode): New major mode (Bug#8463).
12692 (occur-after-change-function): New function.
12693 (occur-engine): Give Occur tags a read-only property.
12695 2011-05-28 Kevin Ryde <user42@zip.com.au>
12697 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12699 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12701 * bindings.el (help-echo): Make the initial non-indicator dash
12702 empty on graphical terminals (Bug#7295).
12704 * files.el (auto-mode-alist): Move config rule after the
12705 in-stripping one (Bug#8547).
12707 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12709 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12710 setting (Bug#8740).
12712 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12714 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12715 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12718 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12720 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12722 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12724 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12725 (hs-hide-block-at-point, hs-find-block-beginning)
12726 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12729 2011-05-28 Glenn Morris <rgm@gnu.org>
12731 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12733 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12735 * help-fns.el (describe-function-1): If the function is a derived
12736 major mode, print the parent mode.
12738 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12739 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12741 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12743 * minibuffer.el (completion--capf-wrapper): Check applicability before
12744 returning non-nil for non-exclusive completion data.
12745 * progmodes/etags.el (tags-completion-at-point-function):
12746 * info-look.el (info-lookup-completions-at-point): Mark as
12748 (info-complete): Adjust accordingly.
12750 * info-look.el: Convert to lexical-binding and completion-at-point.
12751 (info-lookup-completions-at-point): New function.
12752 (info-complete): Use it and completion-in-region.
12754 2011-05-28 Drew Adams <drew.adams@oracle.com>
12756 * isearch.el: Let M-e start with point at the first mismatched char.
12757 (isearch-fail-pos): New function.
12758 (isearch-edit-string): Use it.
12760 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12762 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12764 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12766 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12767 traversal functions for avl-trees.
12768 (avl-tree--stack): New struct.
12769 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12770 (avl-tree-enter): Add optional `updatefun' arg.
12771 (avl-tree--do-enter): Add optional `updatefun' arg.
12772 Change return value.
12773 (avl-tree-delete): Add optional `test' and `nilflag' args.
12774 (avl-tree--do-delete): Add `test' and `nilflag' args.
12775 Change return value.
12776 (avl-tree-member): Add optional `nilflag'
12777 (avl-tree-member-p): New function.
12778 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12779 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12780 (avl-tree-stack-empty-p): New functions.
12782 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12783 avl-tree--del-balance1 and make it work both ways.
12784 (avl-tree--del-balance2): Remove.
12785 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12786 make it work both ways.
12787 (avl-tree--enter-balance2): Remove.
12788 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12790 (avl-tree--mapc, avl-tree-map): Add direction argument.
12792 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12794 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12796 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12798 * select.el: Support clipboard managers with built-in function
12799 x-clipboard-manager-save, via delete-frame-functions and
12801 (xselect-convert-to-targets): Add MULTIPLE target to list.
12802 (xselect-convert-to-save-targets): New function.
12804 2011-05-27 Kenichi Handa <handa@m17n.org>
12806 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12807 let-binding rfc2047-encode-encoded-words to nil.
12809 2011-05-27 Glenn Morris <rgm@gnu.org>
12811 * mail/emacsbug.el: Don't require url-util.
12813 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12815 * files.el (set-auto-mode):
12816 Also respect mode: entries at the end of the file. (Bug#8586)
12818 2011-05-26 Glenn Morris <rgm@gnu.org>
12820 * files.el (hack-local-variables-prop-line, hack-local-variables):
12821 Downcase mode names, as seems to be traditional.
12822 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12824 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12825 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12827 2011-05-25 Julien Danjou <julien@danjou.info>
12829 * textmodes/rst.el (rst-define-level-faces): Do not define face
12830 symbol if it is already defined.
12832 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12834 * play/5x5.el (5x5-new-game, 5x5-randomize):
12835 Reset 5x5-solver-output to nil when a new grid is cast.
12836 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12837 these debugging traces, as defmacro breaks the compiled code.
12839 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12841 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12843 2011-05-24 Leo Liu <sdl.web@gmail.com>
12845 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12846 (vc-bzr-sha1): Adapt.
12848 * sha1.el: Remove. Function `sha1' is now builtin.
12850 * bindings.el: Provide sha1 feature.
12852 2011-05-24 Kenichi Handa <handa@m17n.org>
12854 * mail/sendmail.el: Require `rfc2047'.
12855 (mail-insert-from-field): Do not perform RFC2047 encoding.
12856 (mail-encode-header): New function.
12857 (sendmail-send-it): Set buffer-file-coding-system of the work
12858 buffer to the return value of select-message-coding-system.
12859 Call mail-encode-header.
12861 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12863 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12865 * mail/supercite.el (sc-default-cite-frame):
12866 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12868 2011-05-24 Glenn Morris <rgm@gnu.org>
12870 * progmodes/python.el (brm-menu): Declare.
12872 * emulation/viper.el (viper-set-hooks): Declare.
12874 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12875 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12876 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12877 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12878 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12879 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12881 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12883 Add an :exit-function for completion-at-point.
12885 * minibuffer.el (completion--done): New fun.
12886 (completion--do-completion): Use it. New arg `expect-exact'.
12887 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12888 since completion--do-completion does it for us now.
12889 (minibuffer-force-complete): Use completion--done and
12890 completion--replace. Handle sole-completion case with more care.
12891 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12892 (completion-extra-properties): New var.
12893 (completion-annotate-function): Make obsolete.
12894 (minibuffer-completion-help): Adjust accordingly.
12895 Use completion-list-insert-choice-function.
12896 (completion-at-point, completion-help-at-point):
12897 Bind completion-extra-properties.
12898 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12899 * simple.el (completion-list-insert-choice-function): New var.
12900 (completion-setup-function): Preserve it.
12901 (choose-completion): Pay attention to it, shuffle the code a bit.
12902 (choose-completion-string): New arg `insert-function'.
12904 * textmodes/bibtex.el: Convert to lexical binding.
12905 (bibtex-mode-map): Use completion-at-point.
12906 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12907 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12908 (bibtex-complete): Define as obsolete alias.
12909 (bibtex-complete-internal): Remove.
12910 (bibtex-format-entry): Remove unused sub-group in regexp.
12911 * shell.el (shell--command-completion-data)
12912 (shell-environment-variable-completion):
12913 * pcomplete.el (pcomplete-completions-at-point):
12914 * comint.el (comint--complete-file-name-data): Use :exit-function
12915 instead of completion-table-with-terminator so it also works for
12918 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12920 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12922 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12925 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12927 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12929 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12930 customization variable and implement: If non-nil, auto-fill will
12931 be inhibited while on topic's header line.
12933 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12935 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12936 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12937 always have a solution in grid size = 5 cases.
12938 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12939 (5x5-solver-output, 5x5-log-buffer): New vars.
12940 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12941 Make these variables buffer local to achieve 5x5 multi-session-ness.
12942 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12943 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12944 (5x5-solve-suggest): New funs.
12945 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12946 randomize a grid so that we ensure that there is always a solution.
12947 (5x5-make-random-grid): Allow other movement than flipping.
12949 2011-05-23 Kevin Ryde <user42@zip.com.au>
12951 * emacs-lisp/advice.el (ad-read-advised-function):
12952 Use `function-called-at-point' as the default, if it has
12953 advice and passes PREDICATE.
12955 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12957 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12958 byte-compile-lambda if it's actually a lambda.
12960 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12961 Fix function quoting. Use backquote better.
12963 2011-05-22 Yuanle Song <sylecn@gmail.com>
12965 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12966 matching (Bug#8516).
12968 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12970 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12971 different face (Bug#8178).
12973 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12975 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12976 defface (Bug#8144).
12978 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12980 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12981 funcall as well (bug#8712). Warn when performing those conversions.
12982 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12984 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12986 2011-05-22 Glenn Morris <rgm@gnu.org>
12988 * files.el (hack-local-variables-prop-line): Small simplifications.
12989 (hack-local-variables, hack-local-variables-prop-line):
12990 If MODE-ONLY, return the mode, rather than just `t'.
12992 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12994 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12996 2011-05-21 Glenn Morris <rgm@gnu.org>
12998 * files.el (hack-local-variables-prop-line, hack-local-variables):
12999 If only interested in the mode, don't bother doing the other stuff.
13001 * image-mode.el (image-after-revert-hook):
13002 Redraw all frames on which the image is visible. (Bug#8567)
13004 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13006 * wid-edit.el (widget-checklist-match-inline):
13007 Fix 2011-04-19 change. (Bug#8649)
13009 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13011 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13012 Also allow singlespace after single-letter capitals followed by a dot.
13014 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13015 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13017 2011-05-20 Nix <nix@esperi.org.uk>
13019 * files.el (basic-save-buffer-2):
13020 Fix handling of break-hardlink-on-save with non-existent files.
13022 2011-05-19 Deniz Dogan <deniz@dogan.se>
13024 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13025 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13027 2011-05-19 Glenn Morris <rgm@gnu.org>
13029 * progmodes/f90.el (f90-type-def-re):
13030 Handle "type, bind(c)". (Bug#8691)
13032 * emacs-lisp/autoload.el (batch-update-autoloads):
13033 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13035 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13037 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13038 property for the correct connection in case of multihops.
13040 2011-05-18 Glenn Morris <rgm@gnu.org>
13042 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13043 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13045 Rationalize calendar handling of day and month abbrev-arrays.
13046 * calendar/calendar.el (calendar-customized-p): New function.
13047 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13048 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13050 (calendar-abbrev-length, calendar-day-abbrev-array)
13051 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13052 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13053 Elements may no longer be nil.
13054 (calendar-day-name, calendar-month-name):
13055 Update for changed nature of abbrev arrays.
13056 * calendar/diary-lib.el (diary-name-pattern):
13057 Update for changed nature of abbrev arrays.
13058 (diary-mark-entries-1): Update calendar-make-alist calls.
13059 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13060 * calendar/cal-html.el (cal-html-day-abbrev-array):
13061 Simply inherit from calendar-day-abbrev-array.
13063 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13065 * progmodes/grep.el (grep-mode): Disable default
13066 compilation-directory-matcher setting (bug#8684).
13068 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13070 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13071 instead of "head" and "tail". There were problems with SunOS 5.9,
13072 and it performs better.
13074 2011-05-17 Glenn Morris <rgm@gnu.org>
13076 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13078 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13079 Replace obsolete function.
13081 * shell.el (pcomplete-parse-arguments-function): Declare.
13083 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13084 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13085 (appt-check): Doc fixes.
13086 (appt-disp-window-function, appt-delete-window-function):
13087 Remove needless special case in custom :type.
13088 (appt-display-count): Default to 0, not nil.
13089 (appt-check): Reset appt-display-count to 0, not nil.
13091 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
13093 * progmodes/python.el (python-font-lock-keywords):
13094 Add the Python 3.X keyword "nonlocal" (bug#8639).
13096 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13098 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13100 2011-05-16 Kevin Ryde <user42@zip.com.au>
13102 * info-look.el (makefile-automake-mode): New setups, looking in
13103 automake manual, then makefile-mode.
13104 (makefile-mode): Remove automake manual, have it just in
13105 makefile-automake-mode since there's various things different or
13106 not relevant to plain make.
13107 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13108 believe a hypothetical automake-mode would go to makefile-mode,
13109 not the other way around.
13111 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
13113 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13114 hunk-end tags (Bug#8672).
13116 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13117 vc-annotate-show-diff-revision-at-line (Bug#8671).
13119 2011-05-14 Glenn Morris <rgm@gnu.org>
13121 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13122 in the middle of an existing one with multiple authors. (Bug#8645)
13123 (change-log-font-lock-keywords): Also handle multiple author lines
13124 with leading tabs. (Bug#8644)
13126 * calendar/appt.el (appt-check): Rename some local variables.
13127 Some simplification/reordering.
13129 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13130 (feedmail-sendmail-f-doesnt-sell-me-out)
13131 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13132 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13133 (feedmail-queue-runner-message-sender): Set :version.
13134 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13135 (bbdb-dwim-net-address, vm-mail): Declare.
13136 (feedmail-binmail-gnulinuxish-template):
13137 Rename from feedmail-binmail-linuxish-template.
13138 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13139 Use insert-buffer-substring.
13141 2011-05-14 Bill Carpenter <bill@carpenter.org>
13143 * mail/feedmail.el (feedmail-patch-level): Increase.
13144 (feedmail-debug): New custom group.
13145 (feedmail-confirm-outgoing-timeout)
13146 (feedmail-sendmail-f-doesnt-sell-me-out)
13147 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13148 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13149 (feedmail-sender-line, feedmail-from-line)
13150 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13151 (feedmail-spray-this-address)
13152 (feedmail-spray-address-fiddle-plex-list)
13153 (feedmail-queue-use-send-time-for-date)
13154 (feedmail-queue-use-send-time-for-message-id)
13155 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13156 (feedmail-buffer-eating-function):
13158 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13159 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13160 (feedmail-message-action-scroll-down): New functions.
13161 (feedmail-queue-directory, feedmail-queue-draft-directory):
13162 Use expand-file-name.
13163 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13164 Remove C-v help entry.
13165 (feedmail-queue-buffer-file-name): New variable.
13166 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13167 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13168 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13169 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13170 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13171 (feedmail-message-action-toggle-spray)
13172 (feedmail-run-the-queue-no-prompts)
13173 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13174 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13175 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13176 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13177 (feedmail-envelope-deducer, feedmail-fiddle-from)
13178 (feedmail-fiddle-sender, feedmail-default-date-generator)
13179 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13180 (feedmail-fiddle-spray-address)
13181 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13182 (feedmail-fiddle-list-of-fiddle-plexes)
13183 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13184 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13185 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13186 Change default. Doc fix.
13187 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13188 (feedmail-binmail-linuxish-template): New constant.
13189 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13190 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13191 (feedmail-send-it): Add debug call.
13192 Use feedmail-queue-buffer-file-name, and
13193 feedmail-send-it-immediately-wrapper.
13194 (feedmail-message-action-send): Add debug call.
13195 Use feedmail-send-it-immediately-wrapper.
13196 (feedmail-queue-express-to-queue): Add debug call.
13197 Run feedmail-queue-express-hook.
13198 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13199 (feedmail-message-action-help-blat):
13200 Rename from feedmail-queue-send-edit-prompt-help-first.
13201 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13202 Check line-endings. Handle errors better.
13203 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13204 Doc fix. Add debug call.
13205 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13206 Use feedmail-queue-send-edit-prompt-inner.
13207 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13208 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13209 from feedmail-queue-send-edit-prompt.
13210 (feedmail-queue-send-edit-prompt-help)
13211 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13212 (feedmail-tidy-up-slug): Add debug call.
13213 Respect feedmail-queue-slug-suspect-regexp.
13214 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13215 (feedmail-dump-message-to-queue): Add debug call.
13216 Expand queue-directory.
13217 (feedmail-dump-message-to-queue): Change message slightly.
13218 Use feedmail-say-chatter.
13219 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13220 (feedmail-send-it-immediately-wrapper): New function.
13221 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13222 Insert empty string rather than newline. Handle full-frame case.
13223 Use catch/throw. Use feedmail-say-chatter.
13224 (feedmail-fiddle-from): Try mail-host-address.
13225 (feedmail-default-message-id-generator): Doc fix.
13226 Bind system-time-locale. Handle missing end.
13227 (feedmail-fiddle-x-mailer): Add debug call.
13228 Handle feedmail-x-mailer-line being nil.
13229 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13230 Add debug call. Use buffer-substring-no-properties.
13231 (feedmail-say-debug, feedmail-say-chatter): New functions.
13232 (feedmail-find-eoh): Give an explicit error.
13234 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13236 * net/newst-treeview.el (newsticker-treeview-face): Change default
13237 family from helvetica to sans.
13238 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13239 etc/images/newsticker.
13241 * net/newst-reader.el (newsticker-feed-face): Change default
13242 family from helvetica to sans.
13244 * net/newst-plainview.el (newsticker-new-item-face)
13245 (newsticker-old-item-face, newsticker-immortal-item-face)
13246 (newsticker-obsolete-item-face, newsticker-date-face)
13247 (newsticker-statistics-face): Change default family from
13249 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13250 etc/images/newsticker.
13252 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13253 (newsticker--process-auto-mark-filter-match): Tell user about
13256 2011-05-13 Didier Verna <didier@xemacs.org>
13258 Common Lisp indentation improvements on defmethod and lambda-lists.
13259 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13261 (lisp-lambda-list-keyword-parameter-indentation)
13262 (lisp-lambda-list-keyword-parameter-alignment)
13263 (lisp-lambda-list-keyword-alignment): New customizable user options.
13264 (lisp-indent-defun-method): Improve docstring.
13265 (extended-loop-p): Fix comment.
13266 (lisp-indent-lambda-list-keywords-regexp): New variable.
13267 (lisp-indent-lambda-list): New function.
13268 (lisp-indent-259): Use it.
13269 (lisp-indent-defmethod): Support for more than one
13270 method qualifier and properly indent methods lambda-lists.
13271 (defgeneric): Provide a missing common-lisp-indent-function property.
13273 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13275 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13276 bounds for the empty string (bug#8667).
13278 2011-05-13 Glenn Morris <rgm@gnu.org>
13280 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13282 * mail/sendmail.el (sendmail-program): Try executable-find first.
13283 (sendmail-send-it): `sendmail-program' cannot be unbound.
13285 * calendar/appt.el (appt-make-list): Simplify.
13286 (appt-time-msg-list): Doc fix.
13287 (appt-check): Change mode-line message at the time of the appointment.
13289 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13291 * progmodes/ld-script.el (ld-script-keywords)
13292 (ld-script-builtins): Update keywords list.
13294 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13296 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13298 * shell.el (shell-completion-vars): New function.
13300 * simple.el (read-shell-command): Use it.
13301 (blink-matching-open): No need for " [...]" in minibuffer-message.
13303 2011-05-12 Glenn Morris <rgm@gnu.org>
13305 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13306 (appt-check): Simplify.
13308 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13310 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13311 literal "/dev/null".
13313 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13315 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13318 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13320 * progmodes/which-func.el (which-function):
13321 Use add-log-current-defun instead of add-log-current-defun-function,
13322 which might not be defined (Bug#8260).
13324 2011-05-12 Glenn Morris <rgm@gnu.org>
13326 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13327 Let byte-compile-initial-macro-environment always take precedence.
13329 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13331 * net/rcirc.el: Add support for SSL/TLS connections.
13332 (rcirc-server-alist): New field `encryption'.
13333 (rcirc): Check `encryption' settings.
13334 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13335 Merge make-local-variable into `set'.
13336 (rcirc--connection-open-p): New function.
13337 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13338 the process is not a network process (e.g. running gnutls-cli).
13339 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13340 Make rcirc-(en|de)code-coding-system local here.
13341 (rcirc-mode): Merge make-local-variable into `set'.
13342 (rcirc-parent-buffer): Make permanent buffer-local.
13343 (rcirc-multiline-minor-mode): Don't do it here.
13344 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13345 there's no server buffer.
13347 2011-05-11 Glenn Morris <rgm@gnu.org>
13349 * newcomment.el (comment-kill): Prefix "unused" local.
13351 * term/w32console.el (get-screen-color): Declare.
13353 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13354 Handle symbol elements of byte-compile-initial-macro-environment.
13356 2011-05-10 Leo Liu <sdl.web@gmail.com>
13358 * bookmark.el (bookmark-bmenu-mode-map):
13359 Bind bookmark-bmenu-search to `/'.
13361 * mail/footnote.el: Convert to utf-8 encoding.
13362 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13363 (Footnote-unicode): New function.
13364 (footnote-style-alist): Add unicode style to the list.
13365 (footnote-style): Doc fix.
13367 2011-05-10 Jim Meyering <meyering@redhat.com>
13369 Fix doubled-word typos.
13370 * international/quail.el (quail-insert-kbd-layout): and and -> and
13371 * kermit.el: and and -> and
13372 * net/ldap.el (ldap-search-internal): to to -> to
13373 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13374 * progmodes/js.el (js-mode): and and -> and
13375 * textmodes/artist.el (artist-move-to-xy): at at -> at
13376 (artist-draw-region-trim-line-endings): if if -> if
13377 And Safetyc -> Safety.
13378 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13380 2011-05-10 Glenn Morris <rgm@gnu.org>
13381 Stefan Monnier <monnier@iro.umontreal.ca>
13383 * files.el (hack-one-local-variable-eval-safep):
13384 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13386 2011-05-10 Glenn Morris <rgm@gnu.org>
13388 * calendar/diary-lib.el (diary-list-entries-hook)
13389 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13390 (diary-nongregorian-marking-hook, diary-list-entries)
13391 (diary-include-other-diary-files, diary-mark-entries)
13392 (diary-mark-included-diary-files): Doc fixes.
13394 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13396 * misc.el: Require tabulated-list.el during compilation.
13398 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13400 * progmodes/compile.el (compilation-start):
13401 Run compilation-filter-hook for the async case too.
13402 (compilation-filter-hook): Doc fix.
13404 2011-05-09 Deniz Dogan <deniz@dogan.se>
13406 * wdired.el: Remove outdated installation comment. Fix usage
13409 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13411 * misc.el: Implement new command `list-dynamic-libraries'.
13412 (list-dynamic-libraries--loaded-only-p): New variable.
13413 (list-dynamic-libraries--refresh): New function.
13414 (list-dynamic-libraries): New command.
13416 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13418 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13419 Fix the ant regexp to handle end-line and end-column info from jikes.
13420 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13421 higher priority to avoid clobbering by gnu.
13423 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13425 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13426 if the face has existing theme settings (Bug#8454).
13428 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13430 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13431 Only match variables declared via `my' or `our' (Bug#8261).
13433 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13434 special file names `.' and `..' (Bug#8259).
13436 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13438 * progmodes/grep.el (grep-mode-font-lock-keywords):
13439 Remove buffer-changing entries.
13440 (grep-filter): New function.
13441 (grep-mode): Add it to compilation-filter-hook.
13443 * progmodes/compile.el (compilation-filter-hook)
13444 (compilation-filter-start): New defvars.
13445 (compilation-filter): Call compilation-filter-hook prior to
13446 updating the process mark.
13448 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13450 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13452 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13454 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13455 mailclient-send-it even if window-system is nil. (Bug#8595)
13457 * term/w32console.el (terminal-init-w32console):
13458 Call get-screen-color and use its output to set the frame
13459 background-mode. (Bug#8597)
13461 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13463 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13464 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13466 (defgeneric, eieio--defmethod): Use them.
13467 (eieio-defgeneric): Remove.
13468 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13470 2011-05-07 Glenn Morris <rgm@gnu.org>
13472 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13473 Use let rather than let*.
13474 (timeclock-find-discrep): Remove unused local.
13476 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13478 * calendar/appt.el (appt-time-msg-list): Doc fix.
13480 2011-05-06 Noah Friedman <friedman@splode.com>
13482 * apropos.el (apropos-print-doc): Only use
13483 emacs-lisp-docstring-fill-column when it is bound to an integer,
13484 per that variable's documentation.
13486 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13488 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13489 and warnings are not silently discarded (e.g. use -d instead of -P).
13491 2011-05-06 Glenn Morris <rgm@gnu.org>
13493 * calendar/appt.el (appt-message-warning-time): Doc fix.
13494 (appt-warning-time-regexp): New option.
13495 (appt-make-list): Respect appt-message-warning-time.
13497 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13499 (diary-add-to-list): Strip comments from the displayed string.
13500 (diary-mode): Set comment-start and comment-end.
13502 * vc/diff-mode.el (smerge-refine-subst): Declare.
13503 (diff-refine-hunk): Don't require smerge-mode when compiling.
13505 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13507 * simple.el (list-processes): Return nil as the docstring says.
13509 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13511 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13513 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13514 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13515 determining of binary transfer. (Bug#7383)
13517 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13519 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13520 Fix port computation bug. (Bug#8618)
13522 2011-05-05 Glenn Morris <rgm@gnu.org>
13524 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13526 * simple.el (shell-dynamic-complete-functions)
13527 (comint-dynamic-complete-functions): Declare.
13529 * net/network-stream.el (gnutls-negotiate):
13530 * simple.el (tabulated-list-print): Fix declarations.
13532 * progmodes/gud.el (syntax-symbol, syntax-point):
13533 Remove unnecessary and incorrect declarations.
13535 * emacs-lisp/check-declare.el (check-declare-scan):
13536 Handle byte-compile-initial-macro-environment in bytecomp.el
13538 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13540 Fix earlier half-done eieio-defmethod change (bug#8338).
13541 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13542 Streamline and change calling convention.
13543 (defmethod): Adjust accordingly and simplify.
13544 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13545 new eieio--defmethod.
13546 (slot-boundp): Minor CSE simplification.
13548 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13550 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13551 (glasses-make-readable): Use glasses-separate-capital-groups.
13553 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13555 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13556 (warning-series): Doc fix.
13557 (display-warning): Don't try to create the buffer if we just found it.
13559 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13561 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13562 (autoload-find-generated-file): New function.
13563 (generate-file-autoloads): Bind generated-autoload-file to
13565 (update-file-autoloads, update-directory-autoloads):
13566 Use autoload-find-generated-file. If called interactively, prompt for
13567 output file (Bug#7989).
13568 (batch-update-autoloads): Doc fix.
13570 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13572 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13574 2011-05-04 Glenn Morris <rgm@gnu.org>
13576 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13577 function, so it follows changes in calendar-date-style.
13578 (diary-fancy-date-matcher): New function.
13579 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13580 (diary-fancy-font-lock-fontify-region-function):
13581 Use diary-fancy-date-pattern as a function.
13583 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13584 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13586 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13588 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13589 instead of positional arguments. Allow :keylist and :crlfiles
13591 (open-gnutls-stream): Call it.
13593 * net/network-stream.el (network-stream-open-starttls): Adjust to
13594 call `gnutls-negotiate' with :process and :hostname arguments.
13596 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13598 * minibuffer.el (completion--message): New function.
13599 (completion--do-completion, minibuffer-complete)
13600 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13601 (completion--do-completion): Don't ignore completion-auto-help when in
13604 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13605 internal encoding (e.g. tibetan zero is not whitespace).
13606 (global-whitespace-mode): Prefer save-current-buffer.
13607 (whitespace-trailing-regexp): Remove useless save-match-data.
13608 (whitespace-empty-at-bob-regexp): Minor simplification.
13610 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13612 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13614 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13616 * textmodes/ispell.el (ispell-add-per-file-word-list):
13617 Use `concat' to create string for insertion.
13619 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13621 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13622 Avoid open-line which runs post-self-insert-hook.
13623 (bibtex-fill-entry): Remove unused `end' var.
13625 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13627 * textmodes/ispell.el (ispell-add-per-file-word-list):
13628 Protect against `nil' value of `comment-start' (Bug#8579).
13630 2011-05-03 Leo Liu <sdl.web@gmail.com>
13632 * isearch.el (isearch-yank-pop): New command.
13633 (isearch-mode-map): Bind it to `M-y'.
13634 (isearch-forward): Mention it.
13636 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13638 * simple.el (minibuffer-complete-shell-command): Remove.
13639 (minibuffer-local-shell-command-map): Use completion-at-point.
13640 (read-shell-command): Setup completion vars here instead.
13641 (read-expression-map): Bind TAB to symbol completion.
13643 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13644 error directly rather via storing it into `results'.
13646 2011-05-02 Leo Liu <sdl.web@gmail.com>
13648 * vc/diff.el: Fix description.
13650 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13652 * server.el (server-eval-at): New function.
13654 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13656 * net/network-stream.el (open-network-stream): Take a :nowait
13657 parameter and pass it on to `make-network-process'.
13658 (network-stream-open-plain): Ditto.
13660 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13662 * faces.el (face-spec-set-match-display): Don't match toolkit
13663 options on terminal frames.
13665 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13667 * progmodes/pascal.el: Use lexical binding.
13668 (pascal-mode-map): Remove author preferences.
13670 * pcomplete.el (pcomplete-std-complete): Don't abuse
13671 completion-at-point.
13673 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13675 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13676 removing code that has been dead since 1991 or so.
13678 * startup.el (command-line): When warning about "_emacs", use a
13679 delayed warning to allow the user to filter it out.
13681 2011-04-28 Deniz Dogan <deniz@dogan.se>
13683 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13684 user has not joined.
13686 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13688 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13689 aren't any completions at point.
13691 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13693 * subr.el (display-delayed-warnings): New function.
13694 (delayed-warnings-hook): New variable.
13696 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13698 * minibuffer.el (completion-at-point, completion-help-at-point):
13699 Don't presume that a given completion-at-point-function will always
13700 use the same calling convention.
13702 * pcomplete.el (pcomplete-completions-at-point):
13703 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13704 pcomplete-seen is non-nil.
13705 (pcomplete-comint-setup): Also recognize the new comint/shell
13706 completion functions.
13707 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13708 pcomplete-seen is non-nil.
13710 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13712 * calendar/icalendar.el (diary-lib): Add require statement.
13713 (icalendar--create-uid): Read out a uid from a text-property on
13714 the first character in the entry. This allows for code to add its
13715 own uid to the entry.
13716 (icalendar--convert-float-to-ical): Add export of
13717 `diary-float'-entries save for those with the optional DAY
13720 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13722 * subr.el (shell-quote-argument): Use alternate escaping strategy
13723 when we spot a variable reference in a string.
13725 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13727 * cus-start.el (all): Define customization for debug-on-event.
13729 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13731 * subr.el (shell-quote-argument): Escape correctly under Windows.
13733 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13735 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13737 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
13739 * net/tramp.el (tramp-process-actions): Add POS argument.
13740 Delete region between POS and (pos).
13742 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13743 Use `nil' position in `tramp-process-actions' call.
13744 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13746 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13747 position in `tramp-process-actions' call.
13749 * net/trampver.el: Update release number.
13751 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13753 * custom.el (defcustom): Obey lexical-binding.
13755 Fix octave-inf completion problems reported by Alexander Klimov.
13756 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13757 Inherit from octave-mode-syntax-table.
13758 (inferior-octave-mode): Set info-lookup-mode.
13759 (inferior-octave-completion-at-point): New function.
13760 (inferior-octave-complete): Use it and completion-in-region.
13761 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13762 comint-filename-completion.
13763 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13764 symbol elements which shouldn't be word elements.
13765 (octave-font-lock-keywords, octave-beginning-of-defun)
13766 (octave-function-header-regexp): Adjust regexps accordingly.
13767 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13769 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13771 * net/gnutls.el (gnutls-errorp): Declare before first use.
13773 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13775 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13776 verify-error, and verify-hostname-error parameters. Check whether
13777 default trustfile exists before going to use it. Add missing
13778 argument to gnutls-message-maybe call. Return value.
13779 Reported by Claudio Bley <claudio.bley@gmail.com>.
13780 (open-gnutls-stream): Add usage example.
13782 * net/network-stream.el (network-stream-open-starttls): Give host
13783 parameter to `gnutls-negotiate'.
13784 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13785 * subr.el (shell-quote-argument): Escape correctly under Windows.
13787 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13789 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13790 Use correct match group (bug#8438).
13792 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13794 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13795 (package-menu--generate): New arg specifying packages to show.
13796 (package-menu-refresh, package-menu-execute, list-packages):
13798 (package-show-package-list): New function, replacing deleted
13799 package--list-packages (renamed because it is non-internal).
13801 * finder.el (finder-list-matches): Use package-show-package-list
13802 instead of deleted package--list-packages.
13804 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13805 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13806 (vc-annotate-mode-map): Bind it to RET.
13808 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13810 * progmodes/etags.el (next-file): Don't use set-buffer to change
13811 buffers (Bug#8478).
13813 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13815 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13817 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13818 (apropos-accumulator): Doc fix.
13819 (apropos-function, apropos-macro, apropos-command)
13820 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13821 (apropos-plist): Add face property.
13822 (apropos-symbols-internal): Fix indentation.
13823 (apropos-print): Simplify help, and recognize apropos-multi-type.
13824 (apropos-print-doc): Use button-type-get to extract the button's
13825 face property. Fill docstring (Bug#8352).
13827 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13829 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13831 * play/mpuz.el (mpuz-silent): Doc fix.
13832 (mpuz-mode-map): Use mapc.
13833 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13834 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13835 Fix typos in docstrings.
13837 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13838 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13840 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13842 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13844 * minibuffer.el (completion--do-completion): Avoid the "Next char
13845 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13847 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13848 mouse-2 into unread-command-events, it is interpreted correctly.
13850 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13851 (image-toggle-display): Doc fix.
13853 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13855 * textmodes/page.el (what-page): Use line-number-at-pos to
13856 calculate line number (Bug#6825).
13858 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13860 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13861 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13862 Pass argument NO-DEFAULT to `find-tag-interactive'.
13864 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13866 Lexical-binding cleanup.
13868 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13869 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13870 * progmodes/ada-prj.el (ada-prj-initialize-values)
13871 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13872 (ada-prj-show-value):
13873 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13874 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13875 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13876 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13877 * progmodes/bug-reference.el (bug-reference-push-button):
13878 * progmodes/fortran.el (fortran-line-length):
13879 * progmodes/glasses.el (glasses-change):
13880 * progmodes/octave-mod.el (octave-fill-paragraph):
13881 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13882 (python-pdbtrack-grub-for-buffer, python-sentinel):
13883 * progmodes/sql.el (sql-save-connection):
13884 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13885 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13886 Mark unused parameters.
13888 * progmodes/compile.el (compilation--flush-directory-cache)
13889 (compilation--flush-parse, compile-internal): Mark unused parameters.
13890 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13891 (compilation-next-error-function): Remove unused variable `timestamp'.
13893 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13894 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13896 * progmodes/dcl-mode.el (dcl-end-of-command):
13897 Remove unused variable `start'.
13898 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13899 (dcl-option-value-basic, dcl-option-value-offset)
13900 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13901 Mark unused parameters.
13902 (dcl-save-local-variable): Remove unused variable `val'.
13905 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13906 Mark unused parameters.
13907 (delphi-ignore-changes): Move before first use.
13908 (delphi-charset-token-at): Remove unused variable `start'.
13909 (delphi-else-start): Remove unused variable `if-count'.
13910 (delphi-comment-block-start, delphi-comment-block-end):
13911 Remove unused variable `kind'.
13912 (delphi-indent-line): Remove unused variable `new-point'.
13914 * progmodes/ebrowse.el (ebrowse-files-list)
13915 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13916 Mark unused parameters. Don't quote `lambda'.
13917 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13918 Don't quote `lambda'.
13919 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13920 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13921 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13922 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13923 Use `ignore-errors'.
13924 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13925 (ebrowse-view/find-file-and-search-pattern)
13926 (ebrowse-view/find-member-declaration/definition):
13927 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13928 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13929 Rename parameter PREFIX-ARG to PREFIX.
13930 (ebrowse-tags-read-name): Remove unused variables `start' and
13932 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13935 * progmodes/etags.el (local-find-tag-hook): Declare.
13936 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13937 Mark unused parameters.
13939 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13940 (executable-interpret): Mark unused parameter.
13942 * progmodes/flymake.el (flymake-process-sentinel)
13943 (flymake-after-change-function)
13944 (flymake-create-temp-with-folder-structure)
13945 (flymake-get-include-dirs-dot): Mark unused parameters.
13946 (flymake-safe-delete-directory): Remove unused variable `err'.
13948 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13949 (speedbar-timer-fn, speedbar-line-text)
13950 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13951 (speedbar-center-buffer-smartly): Declare functions.
13952 (gdb-find-watch-expression): Remove unused variable `array'.
13953 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13954 (gdb-starting): Mark unused parameters.
13955 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13956 (gdb-table-string): Remove unused variable `res'.
13957 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13958 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13959 (gdb-display-buffer): Remove unused variable `cur-size'.
13961 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13962 allow lexical-binding compilation.
13963 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13964 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13965 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13966 Mark unused parameters.
13967 (gud-gdb-marker-filter): Remove unused variable `match'.
13968 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13969 lambda expressions and funcall them, instead of using `fset'.
13971 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13972 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13974 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13975 variable `header-beg'; use `let'.
13977 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13978 `restart', `last-sexp' and `at-do'.
13980 * progmodes/js.el (js--debug): Mark unused parameter.
13981 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13982 (js--splice-into-items): Remove unused variable `item'.
13983 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13985 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13986 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13987 (makefile-complete): Remove unused variable `try'.
13988 (makefile-fill-paragraph, makefile-match-function-end):
13989 Mark unused parameters.
13991 * progmodes/octave-inf.el (inferior-octave-complete):
13992 Remove unused variable `proc'.
13993 (inferior-octave-output-digest): Mark unused parameter.
13995 * progmodes/perl-mode.el (perl-calculate-indent):
13996 Remove unused variable `err'.
13998 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13999 (prolog-indent-line): Mark unused parameters.
14000 (prolog-indent-line): Remove unused variable `beg'.
14002 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14003 (reporter-dont-compact-list): Declare.
14005 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14006 Remove unused variable `char'.
14007 (sh-debug): Mark unused parameter.
14008 (sh-get-indent-info): Remove unused variable `start'.
14009 (sh-calculate-indent): Remove unused variable `var'.
14011 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14012 (simula-electric-keyword): Remove unused variable `null'.
14013 (simula-search-backward, simula-search-forward): Remove unused
14014 variables `begin' and `end'.
14016 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14017 Remove unused variable `pos'.
14018 (vera-electric-tab, vera-comment-uncomment-region):
14019 Mark unused parameters.
14020 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14022 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14024 * emacs-lisp/package.el (package--builtins, package-alist)
14025 (package-load-descriptor, package-built-in-p, package-activate)
14026 (define-package, package-installed-p)
14027 (package-compute-transaction, package-buffer-info)
14028 (package--push): Doc fix. Distinguish more clearly between
14029 version strings and version lists.
14031 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14033 Lexical-binding cleanup.
14035 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14036 (5x5-make-mutate-best):
14037 * play/fortune.el (fortune-in-buffer):
14038 * play/gomoku.el (gomoku-init-display):
14039 * play/solitaire.el (solitaire, solitaire-do-check):
14040 * play/tetris.el (tetris-default-update-speed-function):
14041 Mark unused parameters.
14043 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14044 (bubbles--shift): Remove unused variable `char-org'.
14045 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14046 (bubbles--show-images): Remove unused variable `char'.
14048 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14049 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14050 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14051 (decipher-analyze-buffer): Use ?\s.
14052 (decipher-make-checkpoint): Remove unused variable `mapping'.
14054 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14056 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14057 Remove unused variable `result'; use `let'.
14059 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14060 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14061 (gametree-children-shown-p, gametree-compute-reduced-score):
14062 Use `ignore-errors'.
14064 * play/handwrite.el (ps-lpr-switches): Declare.
14065 (handwrite): Remove unused variables `pmin' and `lastp'.
14067 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14069 * play/landmark.el (landmark-init-display)
14070 (landmark-update-naught-weights): Mark unused parameters.
14071 (landmark-y): Remove unused variable `noise'. Simplify.
14072 (landmark-human-plays): Remove unused variable `score'.
14074 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14075 (mpuz-try-proposal): Remove unused variable `game'.
14077 * play/zone.el (life-patterns): Declare.
14079 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14081 * vc/vc.el (ediff-vc-internal): Declare function.
14083 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14085 * shell.el: Use lexical-binding and std completion UI.
14086 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14087 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14088 comint-preoutput-filter-functions rather than on
14089 comint-output-filter-functions.
14090 (shell-command-completion, shell--command-completion-data)
14091 (shell-filename-completion, shell-environment-variable-completion)
14092 (shell-c-a-p-replace-by-expanded-directory): New functions.
14093 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14094 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14095 (shell-dynamic-complete-environment-variable): Use them.
14096 (shell-dynamic-complete-as-environment-variable)
14097 (shell-dynamic-complete-as-command): Remove.
14098 (shell-match-partial-variable): Match past point.
14099 * comint.el: Clean up use of completion-at-point-functions.
14100 (comint-completion-at-point): New function.
14101 (comint-mode): Use it completion-at-point-functions.
14102 (comint-dynamic-complete): Make it obsolete.
14103 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14104 (comint-c-a-p-replace-by-expanded-history): New function.
14105 (comint-dynamic-complete-functions)
14106 (comint-replace-by-expanded-history): Use it.
14107 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14108 termination strings. Try harder to avoid second try-completion.
14109 (completion-in-region-mode-map): Disable bindings that don't work yet.
14111 * comint.el: Use lexical-binding. Require CL.
14112 (comint-dynamic-complete-functions): Use comint-filename-completion.
14113 (comint-completion-addsuffix): Tweak custom type.
14114 (comint-filename-completion, comint--common-suffix)
14115 (comint--common-quoted-suffix, comint--table-subvert)
14116 (comint--complete-file-name-data): New functions.
14117 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14118 (comint-dynamic-list-filename-completions): Use them.
14119 (comint-dynamic-simple-complete): Make obsolete.
14121 * minibuffer.el (completion-in-region-mode):
14122 Keep completion-in-region-mode--predicate global.
14123 (completion-in-region--postch):
14124 Assume completion-in-region-mode--predicate is not null.
14126 * progmodes/flymake.el (flymake-start-syntax-check-process):
14127 Obey `dir'. Simplify.
14129 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14130 we're in VC after all.
14132 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14134 * vc/vc.el (vc-diff-build-argument-list-internal)
14135 (vc-version-ediff, vc-ediff): New commands.
14136 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14138 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14140 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14143 * obsolete/erc-hecomplete.el: Make obsolete.
14144 * obsolete/: Standardize obsolescence info in the header.
14146 2011-04-20 Glenn Morris <rgm@gnu.org>
14148 * calendar/solar.el (solar-horizontal-coordinates):
14149 Use the longitude argument rather than `calendar-longitude'.
14150 (solar-date-next-longitude): Remove unused locals.
14152 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14154 * whitespace.el: New version 13.2.1.
14156 2011-04-20 felix <EmacsWiki> (tiny change)
14158 * whitespace.el (global-whitespace-mode): Keep highlight when
14159 switching between major modes on a file.
14161 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14163 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14164 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14165 multi-line comments as well.
14167 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
14169 Lexical-binding cleanup.
14171 * arc-mode.el (archive-mode-revert):
14172 * cmuscheme.el (scheme-interactively-start-process):
14173 * custom.el (custom-initialize-delay):
14174 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14175 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14176 * emacs-lock.el (emacs-lock-clear-sentinel):
14177 * ezimage.el (defezimage):
14178 * follow.el (follow-avoid-tail-recenter):
14179 * fringe.el (set-fringe-mode-1):
14180 * generic-x.el (bat-generic-mode-compile):
14181 * help-mode.el (help-info-variable, help-do-xref)
14182 (help-mode-revert-buffer):
14183 * help.el (view-emacs-todo):
14184 * iswitchb.el (iswitchb-completion-help):
14185 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14186 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14187 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14188 * locate.el (locate-update):
14189 * longlines.el (longlines-encode-region)
14190 (longlines-after-change-function):
14191 * outline.el (outline-isearch-open-invisible):
14192 * ps-def.el (declare-function, charset-dimension, char-width)
14194 * ps-mule.el (ps-mule-plot-string):
14195 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14196 (recentf-edit-list-select, recentf-edit-list-validate)
14197 (recentf-open-files-action):
14198 * rect.el (delete-whitespace-rectangle-line)
14199 (rectangle-number-line-callback):
14200 * register.el (window-configuration-to-register)
14201 (frame-configuration-to-register):
14202 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14203 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14204 (xselect-convert-to-targets, xselect-convert-to-delete)
14205 (xselect-convert-to-filename, xselect-convert-to-charpos)
14206 (xselect-convert-to-lineno, xselect-convert-to-colno)
14207 (xselect-convert-to-os, xselect-convert-to-host)
14208 (xselect-convert-to-user, xselect-convert-to-class)
14209 (xselect-convert-to-name, xselect-convert-to-integer)
14210 (xselect-convert-to-atom, xselect-convert-to-identity):
14211 * subr.el (declare, ignore, process-kill-without-query)
14212 (text-clone-maintain):
14213 * terminal.el (te-get-char, te-tic-sentinel):
14214 * tool-bar.el (tool-bar-make-keymap):
14215 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14216 * type-break.el (type-break-mode, type-break-noninteractive-query):
14217 * view.el (View-back-to-mark):
14218 * wid-browse.el (widget-browse-action, widget-browse-widget)
14219 (widget-browse-widgets, widget-browse-sexp):
14220 * widget.el (define-widget-keywords):
14221 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14222 Mark unused parameters.
14224 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14225 (align-areas): Remove unused variable `look'.
14226 (align-region): Remove unused variables `real-end' and `pos-list'.
14228 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14230 * bindings.el (mode-line-modified, mode-line-remote):
14231 Mark unused parameters.
14232 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14234 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14235 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14237 * comint.el (comint-history-isearch-pop-state)
14238 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14239 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14240 (comint-substitute-in-file-name): Doc fix.
14242 * completion.el (cmpl-statistics-block): Mark unused parameter.
14243 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14244 (save-completions-to-file, load-completions-from-file):
14245 Remove unused local variable `e'.
14247 * composite.el (compose-chars): Remove unused variable `len'.
14248 (lgstring-insert-glyph): Remove unused variable `g'.
14249 (compose-glyph-string): Remove unused variables `ascent',
14250 `descent', `lbearing' and `rbearing'.
14251 (compose-glyph-string-relative): Remove unused variables
14252 `lbearing', `rbearing' and `wadjust'.
14253 (compose-gstring-for-graphic): Remove unused variables `header',
14254 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14255 (compose-gstring-for-terminal): Remove unused variables `header'
14256 and `nchars'. Use `let', not `let*'.
14258 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14259 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14260 (Custom-buffer-done, custom-buffer-create-internal)
14261 (custom-browse-visibility-action, custom-browse-group-tag-action)
14262 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14263 (widget-magic-mouse-down-action, custom-toggle-parent)
14264 (custom-add-parent-links, custom-toggle-hide-variable)
14265 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14266 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14267 (custom-face-menu-create, custom-variable-menu-create, get)
14268 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14269 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14270 (customize-apropos): Remove unused variable `tests'.
14271 (custom-group-value-create): Remove unused variable `hidden-p'.
14272 (sort-fold-case): Declare.
14274 * cus-theme.el (custom-reset-standard-faces-list)
14275 (custom-reset-standard-variables-list): Declare.
14276 (customize-create-theme, custom-theme-revert, custom-theme-write)
14277 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14278 Mark unused parameters.
14280 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14282 * delim-col.el (delimit-columns-max): Move defvar before first use.
14284 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14285 (describe-char): Don't quote `lambda'. Mark unused parameter.
14287 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14288 (auto-insert): Declare.
14289 (desktop-restore-file-buffer): Rename desktop-* parameters;
14291 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14292 (desktop-buffer): Rename desktop-* parameters.
14294 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14295 (dframe-reposition-frame-xemacs, dframe-help-echo)
14296 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14297 Mark unused parameters.
14299 * dired-aux.el (backup-extract-version-start, overwrite-query)
14300 (overwrite-backup-query, rename-regexp-query)
14301 (rename-non-directory-query): Declare.
14302 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14303 (dired-add-entry): Remove unused variable `orig-file-name'.
14304 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14305 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14306 `dired-copy-preserve-time' directly.
14307 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14308 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14310 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14311 (dired-virtual-revert, dired-make-relative-symlink):
14312 Mark unused parameters.
14313 (manual-program): Declare.
14314 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14315 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14316 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14318 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14320 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14322 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14325 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14327 * electric.el (Electric-command-loop): Rename parameter
14328 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14330 * expand.el (expand-in-literal): Remove unused variable `here'.
14332 * facemenu.el (facemenu-add-new-color):
14333 Remove unused variable `docstring'.
14335 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14336 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14337 (face-attr-construct): Mark unused parameter. Doc fix.
14338 (read-color): Remove unused variable `hex-string'.
14340 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14341 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14342 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14343 (display-buffer-other-frame): Remove unused variable `old-window'.
14344 (kill-buffer-hook): Declare.
14345 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14346 Mark unused parameters.
14347 (after-find-file): Pass 1 to `auto-save-mode', not t.
14349 * files-x.el (auto-insert): Declare.
14350 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14352 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14353 variable `buf'. Mark unused parameter.
14354 (find-lisp-insert-directory): Mark unused parameter.
14356 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14357 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14358 (format-common-tail): Remove, unused.
14359 (format-deannotate-region): Remove unused variable `loc'.
14360 (format-annotate-region): Remove unused variable `p'.
14361 (format-annotate-single-property-change): Remove unused variables
14362 `default' and `tail'.
14364 * forms.el (read-file-filter): Declare.
14365 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14367 * frame.el (frame-creation-function-alist): Mark unused parameter.
14368 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14370 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14371 Remove unused parameters.
14372 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14373 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14375 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14376 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14377 (hfy-prepare-tag-map): Mark unused parameters.
14378 (htmlfontify-buffer): Use `called-interactively-p'.
14380 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14381 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14382 (ibuffer-do-occur): Mark unused parameters.
14383 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14384 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14386 * ibuffer.el: Don't quote `lambda'.
14387 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14388 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14389 Mark unused parameters.
14391 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14392 (ido-completing-read): Mark unused parameters.
14393 (ido-copy-current-word): Mark unused parameters;
14394 remove unused variable `name'.
14395 (ido-sort-merged-list): Remove unused parameter `dirs'.
14397 * ielm.el (ielm-input-sender): Mark unused parameter.
14398 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14399 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14400 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14401 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14402 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14404 * image-dired.el (image-dired-display-thumbs): Remove unused
14405 variables `curr-file' and `count'.
14406 (image-dired-remove-tag): Remove unused variable `start'.
14407 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14408 variable `curr-file'
14409 (image-dired-rotate-original): Remove unused variable `temp-file'.
14410 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14411 Remove unused variable `file'.
14412 (image-dired-gallery-generate): Remove unused variable `curr'.
14413 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14415 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14417 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14419 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14421 * isearch.el (minibuffer-history-symbol): Declare.
14422 (isearch-edit-string): Remove unused variable `err'.
14423 (isearch-message-prefix, isearch-message-suffix):
14424 Mark unused parameters.
14426 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14428 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14430 * makesum.el (double-column): Remove unused variable `cnt'.
14432 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14433 (ido-ignore-item-temp-list): Declare.
14435 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14436 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14437 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14438 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14441 * mouse-sel.el (mouse-extend-internal):
14442 Remove unused variable `orig-window-frame'.
14444 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14445 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14446 Move declarations before first use.
14447 (pcomplete-opt): Mark unused parameters; doc fix.
14449 * proced.el (proced-revert): Mark unused parameter.
14450 (proced-send-signal): Remove unused variable `err'.
14452 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14453 Rename parameter PREFIX-ARG to ARG.
14454 (ps-basic-plot-string, ps-basic-plot-whitespace):
14455 Mark unused parameters.
14457 * replace.el (replace-count): Define.
14458 (occur-revert-function): Mark unused parameters.
14459 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14460 (isearch-case-fold-search, isearch-string): Declare.
14461 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14462 bind `case-fold-search'. Remove unused variables `beg' and `end',
14464 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14465 COUNT and bind `replace-count'.
14466 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14469 * savehist.el (print-readably, print-string-length): Declare.
14471 * shadowfile.el (shadow-expand-cluster-in-file-name):
14472 Remove unused variable `cluster'.
14473 (shadow-copy-file): Remove unused variable `i'.
14474 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14475 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14476 (shadow-define-literal-group, shadow-define-regexp-group)
14477 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14479 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14480 (shell): Use `called-interactively-p'.
14481 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14483 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14484 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14485 (delete-backward-char): Remove unused variable `ocol'.
14486 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14487 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14488 (event-apply-hyper-modifier, event-apply-shift-modifier)
14489 (event-apply-control-modifier, event-apply-meta-modifier):
14490 Mark unused parameters.
14491 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14492 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14494 * speedbar.el (speedbar-ignored-directory-expressions)
14495 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14496 (speedbar-find-file, speedbar-dir-follow)
14497 (speedbar-directory-buttons-follow, speedbar-tag-find)
14498 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14499 (speedbar-buffers-line-directory, speedbar-buffer-click):
14500 Mark unused parameters.
14501 (speedbar-tag-file): Remove unused variable `mode'.
14502 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14504 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14506 * talk.el (talk): Remove unused variable `display'.
14508 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14509 (tar-write-region-annotate): Mark unused parameter.
14511 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14512 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14513 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14514 warning by another.
14516 * time-stamp.el (time-stamp-string-preprocess):
14517 Remove unused variable `require-padding'.
14519 * tree-widget.el (widget-glyph-enable): Declare.
14520 (tree-widget-action): Mark unused parameter.
14522 * w32-fns.el (x-get-selection): Mark unused parameter.
14523 (autoload-make-program, generated-autoload-file): Declare.
14525 * wdired.el (wdired-revert): Mark unused parameters.
14526 (wdired-xcase-word): Remove unused variable `err'.
14528 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14529 (whitespace-help-scroll): Remove unused variable `data-help'.
14531 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14532 (widget-image-insert, widget-after-change, default)
14533 (widget-default-format-handler, widget-default-notify)
14534 (widget-default-prompt-value, widget-info-link-action)
14535 (widget-url-link-action, widget-function-link-action)
14536 (widget-variable-link-action, widget-file-link-action)
14537 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14538 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14539 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14540 (widget-insert-button-action, widget-delete-button-action, visibility)
14541 (widget-documentation-link-action, widget-documentation-string-action)
14542 (widget-const-prompt-value, widget-regexp-match, symbol)
14543 (widget-coding-system-prompt-value)
14544 (widget-key-sequence-value-to-external, sexp)
14545 (widget-sexp-value-to-internal, character, vector, cons)
14546 (widget-choice-prompt-value, widget-boolean-prompt-value)
14547 (widget-color--choose-action): Mark unused parameters.
14548 (widget-item-match-inline, widget-choice-match-inline)
14549 (widget-checklist-match, widget-checklist-match-inline)
14550 (widget-group-match): Rename parameter VALUES to VALS.
14551 (widget-field-value-set): Remove unused variable `size'.
14552 (widget-color-action): Remove unused variables `value' and `start'.
14554 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14555 variable `dir'. Doc fix.
14556 (windmove-find-other-window): Don't pass it.
14558 * window.el (count-windows): Mark unused parameter.
14559 (bw-adjust-window): Remove unused variable `err'.
14561 * woman.el (woman-file-name): Remove unused variable `default'.
14562 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14563 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14564 (global-font-lock-mode): Declare.
14565 (woman-decode-region): Mark unused parameter.
14566 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14568 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14569 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14570 (x-dnd-handle-moz-url): Remove unused variable `title'.
14571 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14573 * xml.el (xml-parse-tag, xml-parse-attlist):
14574 Remove unused variable `pos'.
14576 2011-04-19 Glenn Morris <rgm@gnu.org>
14578 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14579 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14580 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14581 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14582 * calendar/cal-html.el (cal-html-insert-minical):
14583 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14584 (calendar-mark-date-pattern):
14585 Prefix "unused" locals.
14587 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14588 optional argument `style'.
14590 * calendar/appt.el (appt-make-list):
14591 * calendar/cal-china.el (calendar-chinese-date-string):
14592 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14593 (diary-hebrew-yahrzeit):
14594 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14595 * calendar/calendar.el (calendar-generate-window):
14596 * calendar/time-date.el (time-to-days):
14597 Remove unused local variables.
14599 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14601 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14602 glyphless-char-display table.
14603 (tabulated-list-glyphless-char-display): New var.
14605 2011-04-18 Sam Steingold <sds@gnu.org>
14607 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14608 to acknowledgments.
14610 2011-04-17 Glenn Morris <rgm@gnu.org>
14612 * calendar/diary-lib.el (diary-sexp-entry):
14613 * calendar/holidays.el (holiday-sexp):
14614 Set debug-on-error rather than the removed stack-trace-on-error.
14616 2011-04-16 Glenn Morris <rgm@gnu.org>
14618 * progmodes/f90.el: Use lexical-binding.
14619 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14621 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14623 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14624 (mail-mode): Setup mailalias completion here instead.
14625 * mail/mailalias.el: Use lexical-binding.
14626 (pattern, mailalias-done): Declare dynamic.
14627 (mail-completion-at-point-function): New function, from mail-complete.
14628 (mail-complete): Use it.
14629 (mail-completion-expand): New function.
14630 (mail-get-names): Use it.
14631 (mail-directory, mail-directory-process, mail-directory-stream):
14632 Don't use `pattern' for lexically bound arg.
14634 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14636 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14637 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14638 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14640 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14641 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14642 (byte-interactive-p): Define them again, for use when inlining
14645 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14647 * loadup.el: Use `string-to-number', not `string-to-int'.
14649 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14651 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14652 gud-gdb-complete-command.
14653 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14654 (gud-gdb-completion-at-point): New function.
14655 (gud-gdb-completions): Remove.
14657 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14659 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14660 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14661 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14662 whether `executable-find' is bound.
14664 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14666 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14668 * minibuffer.el (completion-in-region-mode-predicate)
14669 (completion-in-region-mode--predicate): New vars.
14670 (completion-in-region, completion-in-region--postch)
14671 (completion-in-region-mode): Use them.
14672 (completion--capf-wrapper): Also return the hook function.
14673 (completion-at-point, completion-help-at-point):
14674 Adjust and provide a predicate.
14676 Preserve arg names for advice of subr and lexical functions (bug#8457).
14677 * help-fns.el (help-function-arglist): Consolidate the subr and
14678 new-byte-code cases. Add argument `preserve-names' to extract names
14679 from the docstring when needed.
14680 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14681 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14682 (ad-arglist): Use help-function-arglist's new arg.
14683 (ad-definition-type): Use cond.
14685 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14687 * autorevert.el (auto-revert-handler):
14688 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14689 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14690 Don't quote lambda.
14692 * image-mode.el (image-transform-set-scale):
14693 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14695 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14697 * net/network-stream.el (network-stream-open-starttls): Only do
14698 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14699 Upgrades via gnutls-cli are too slow to be done opportunistically.
14701 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14703 * dframe.el (dframe-current-frame): Remove spurious quote.
14705 2011-04-12 Glenn Morris <rgm@gnu.org>
14707 * calendar/cal-tex.el (cal-tex-end-document):
14708 Try to automatically use latin1 input if needed.
14710 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14711 Don't try to cons a mark onto an empty element.
14713 2011-04-11 Leo Liu <sdl.web@gmail.com>
14715 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14717 (ido-kill-buffer-at-head): Support killing virtual buffers.
14719 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14721 * minibuffer.el (completion-show-inline-help): New var.
14722 (completion--do-completion, minibuffer-complete)
14723 (minibuffer-force-complete, minibuffer-complete-word):
14724 Inhibit minibuffer messages if completion-show-inline-help is nil.
14726 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14727 to avoid interference from inline help (Bug#5849).
14729 2011-04-10 Leo Liu <sdl.web@gmail.com>
14731 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14734 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
14736 * image-mode.el (image-toggle-display-image): Signal an error if
14738 (image-transform-mode, image-transform-resize)
14739 (image-transform-set-rotation): Doc fix.
14740 (image-transform-set-resize): Delete.
14741 (image-transform-set-scale, image-transform-fit-to-height)
14742 (image-transform-fit-to-width): Handle image-toggle-display-image
14743 and image-transform-resize directly.
14745 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14747 * doc-view.el (doc-view-fit-width-to-window)
14748 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14749 New functions for fitting the shown image to the Emacs window size.
14750 (doc-view-mode-map): Add bindings for the new functions.
14752 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
14754 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14755 Fix typo in docstring.
14757 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14759 * files.el (file-size-human-readable): Produce one digit after
14760 decimal, like "ls -lh" does.
14762 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14763 the file size representation.
14765 * simple.el (list-processes): If async subprocesses are not
14766 available, error out with a clear error message.
14768 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14770 * help.el (help-form-show): New function, to be called from C.
14771 Put help-form output in a buffer named differently than *Help*.
14773 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14775 * files.el (file-size-human-readable): New function.
14777 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14778 computing the representation inline. Don't require `cl'.
14780 2011-04-08 Glenn Morris <rgm@gnu.org>
14782 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14784 * net/browse-url.el (browse-url-firefox):
14785 Test system-type, not system-configuration.
14787 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14788 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14789 Use log-edit-empty-buffer-p. (Bug#7598)
14791 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14792 (rlogin-mode-map): Initialize in the defvar.
14793 (rlogin): Use ignore-errors.
14795 * replace.el (occur-mode-map): Some fixes for menu items.
14797 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14799 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14801 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14803 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14804 issuing unused warnings.
14806 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14809 * simple.el: Lisp reimplement of list-processes. Based on an
14810 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14811 (process-menu-mode): New major mode.
14812 (list-processes--refresh, list-processes):
14813 (process-menu-visit-buffer): New functions.
14815 * files.el (save-buffers-kill-emacs): Don't assume any return
14816 value of list-processes, which is undocumented anyway.
14818 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14820 * emacs-lisp/tabulated-list.el: New file.
14822 * emacs-lisp/package.el: Use Tabulated List mode.
14823 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14824 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14825 table format using Tabulated List mode variables.
14826 (package--push): New macro, replacing package-list-maybe-add.
14827 (package-menu--generate): Use package--push. Renamed from
14828 package--generate-package-list.
14829 (package-menu-refresh, list-packages): Use it.
14830 (package-menu--print-info): Rename from package-print-package.
14831 Return insertion data instead of inserting it directly.
14832 (package-menu-describe-package, package-menu-execute):
14833 Use tabulated-list-get-id.
14834 (package-menu-mark-delete, package-menu-mark-install)
14835 (package-menu-mark-unmark, package-menu-backup-unmark)
14836 (package-menu-mark-obsolete-for-deletion):
14837 Use tabulated-list-put-tag.
14838 (package--list-packages, package-menu-revert)
14839 (package-menu-get-package, package-menu-get-version)
14840 (package-menu-sort-by-column): Functions deleted.
14841 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14842 (package-menu--status-predicate, package-menu--version-predicate)
14843 (package-menu--name-predicate)
14844 (package-menu--description-predicate): Handle arguments in the
14845 Tabulated List format.
14846 (package-list-packages-no-fetch): Call list-packages.
14848 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14850 * files.el (after-find-file-from-revert-buffer): Remove variable.
14851 (after-find-file): Don't bind it.
14852 (revert-buffer-in-progress-p): New variable.
14853 (revert-buffer): Bind it.
14854 Pass nil for `after-find-file-from-revert-buffer'.
14856 * saveplace.el (save-place-find-file-hook): Use new variable
14857 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14859 2011-04-06 Glenn Morris <rgm@gnu.org>
14861 * Makefile.in (AUTOGEN_VCS): New variable.
14862 (autoloads): Use $AUTOGEN_VCS.
14864 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14865 * calendar/calendar.el (calendar-mode-map):
14866 Check for toolkit scroll bars. (Bug#8305)
14868 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14870 * minibuffer.el (completion-in-region--postch)
14871 (completion-in-region-mode): Remove unnecessary messages.
14873 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14875 * font-lock.el (font-lock-refresh-defaults):
14876 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14877 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14879 * info.el (Info-directory-list, Info-read-node-name-2)
14880 (Info-split-parameter-string): Doc fixes.
14881 (Info-virtual-nodes): Reflow docstring.
14882 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14883 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14884 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14885 Fix typos in docstrings.
14886 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14887 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14888 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14889 (Info-restore-desktop-buffer): Mark unused parameters.
14890 (Info-directory-find-file, Info-directory-find-node)
14891 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14892 (Info-virtual-index-find-node, Info-apropos-find-file)
14893 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14894 Mark unused parameters; fix typos in docstrings.
14895 (Info-virtual-index): Remove unused local variable `nodename'.
14897 2011-04-05 Deniz Dogan <deniz@dogan.se>
14899 * net/rcirc.el: Update my e-mail address.
14900 (rcirc-mode-map): Remove M-o binding.
14902 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14904 * startup.el (command-line): Save the cursor's theme-face
14905 directly, instead of using face-override-spec.
14907 * custom.el (load-theme): Minor optimization in assigning faces.
14909 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14911 * help-fns.el (describe-variable): Complete all variables having
14912 documentation, including keywords.
14913 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14915 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14917 Convert to lexical-binding.
14919 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14920 (bs--get-marked-string, bs--get-modified-string)
14921 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14922 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14923 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14925 * ehelp.el (electric-help-execute-extended)
14926 (electric-help-ctrl-x-prefix):
14927 * hexl.el (hexl-revert-buffer-function):
14928 * linum.el (linum-after-change, linum-after-scroll):
14929 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14931 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14933 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14940 * epg.el: Use lexical binding.
14942 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14944 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14946 * textmodes/flyspell.el (flyspell-word): Recognize default
14947 dictionary case for flyspell-mark-duplications-exceptions.
14948 Use regexp matching for languages.
14949 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14950 default dictionary (Bug#7926).
14952 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14954 * emacs-lisp/package.el (package--with-work-buffer):
14955 Recognize https URLs.
14957 * net/network-stream.el: Move from gnus/proto-stream.el.
14958 Change prefix to network-stream throughout.
14959 (open-protocol-stream): Merge into open-network-stream, leaving
14960 open-protocol-stream as an alias. Handle nil BUFFER args.
14962 * subr.el (open-network-stream): Move to net/network-stream.el.
14964 2011-04-02 Glenn Morris <rgm@gnu.org>
14966 * find-dired.el (find-exec-terminator): New option.
14967 (find-ls-option): Test for -ls support.
14968 (find-ls-subdir-switches): Test for -b in find-ls-option.
14969 (find-dired, find-grep-dired): Doc fixes.
14970 (find-dired): Use find-exec-terminator.
14972 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14973 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14974 (find-name-arg): Remove purecopy.
14976 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14977 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14978 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14979 accordingly. Don't add the null-device if not needed.
14981 * files.el (save-some-buffers): Doc fix.
14983 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14985 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14987 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14989 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14990 Use `dolist' rather than `mapcar'.
14992 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14994 Add lexical binding.
14996 * subr.el (apply-partially): Use new closures rather than CL.
14997 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14998 (dolist, dotimes): Use slightly different expansion for lexical code.
14999 (functionp): Move to C.
15000 (letrec): New macro.
15001 (with-wrapper-hook): Use it and apply-partially instead of CL.
15002 (eval-after-load): Preserve lexical-binding.
15003 (save-window-excursion, with-output-to-temp-buffer): Turn them
15006 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15008 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15010 (help-add-fundoc-usage): Don't add `Not documented'.
15011 (help-function-arglist): Handle closures, subroutines, and new
15012 byte-code-functions.
15013 (help-make-usage): Remove leading underscores.
15014 (describe-function-1): Handle closures.
15015 (describe-variable): Use special-variable-p for completion.
15017 * files.el (lexical-binding): Declare safe.
15019 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15020 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15021 (pcase): Add `let' pattern.
15022 Change memoization so it actually works.
15023 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15024 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15027 * emacs-lisp/macroexp.el: Use lexical binding.
15028 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15029 Don't convert ' to #' without checking that it's indeed quoting
15032 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15033 Use eval-sexp-add-defvars.
15034 (eval-sexp-add-defvars): New fun.
15036 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15038 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15040 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15041 than the internal `byte-compile-lambda'.
15042 (defmethod): Don't hide code under quotes.
15043 (eieio-defmethod): New `code' argument.
15045 * emacs-lisp/eieio-comp.el: Remove.
15047 * emacs-lisp/edebug.el (edebug-eval-defun)
15048 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15049 (edebug-toggle): Avoid `eval'.
15051 * emacs-lisp/disass.el (disassemble-internal): Handle new
15053 (disassemble-1): Handle new byte codes.
15055 * emacs-lisp/cl.el (pushnew): Silence warning.
15057 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15058 (cl-byte-compile-throw): Remove.
15059 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15061 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15064 * emacs-lisp/cconv.el: New file.
15066 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15067 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15068 (byte-compile-initial-macro-environment):
15069 Handle declare-function here.
15070 (byte-compile--lexical-environment): New var.
15071 (byte-stack-ref, byte-stack-set, byte-discardN)
15072 (byte-discardN-preserve-tos): New lap codes.
15073 (byte-interactive-p): Don't use any more.
15074 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15076 (byte-compile-lapcode): Use them and handle new lap codes.
15077 (byte-compile-obsolete): Remove.
15078 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15079 (byte-compile-arglist-warn): Check late def of inlinable funs.
15080 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15081 since they should have been expanded by now.
15082 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15083 (byte-compile-from-buffer): Remove unused second arg.
15084 (byte-compile-preprocess): New function.
15085 (byte-compile-toplevel-file-form): New function to distinguish
15086 file-form calls from outside from file-form calls from hunk-handlers.
15087 (byte-compile-file-form): Simplify.
15088 (byte-compile-file-form-defsubst): Remove.
15089 (byte-compile-file-form-defmumble): Simplify now that
15090 byte-compile-lambda always returns a byte-code-function.
15091 (byte-compile): Preprocess.
15092 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15093 Remove, not used any more.
15094 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15095 (byte-compile-make-args-desc): New funs.
15096 (byte-compile-lambda): Handle lexical functions. Always return
15097 a byte-code-function.
15098 (byte-compile-reserved-constants): New var, to make up room for
15099 closed-over variables.
15100 (byte-compile-constants-vector): Obey it.
15101 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15102 (byte-compile-macroexpand-declare-function): New function.
15103 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15104 byte-code-functions.
15105 (byte-compile-form): Check obsolescence here.
15106 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15107 (byte-compile-variable-ref): Remove.
15108 (byte-compile-dynamic-variable-op): New fun.
15109 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15110 (byte-compile-variable-set): New funs.
15111 (byte-compile-discard): Add 2 args.
15112 (byte-compile-stack-ref, byte-compile-stack-set)
15113 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15114 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15115 macroexpand-all instead.
15116 (byte-compile-quote-form): Remove.
15117 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15118 (byte-compile-bind, byte-compile-unbind): New funs.
15119 (byte-compile-let): Handle let* and lexical binding.
15120 (byte-compile-let*): Remove.
15121 (byte-compile-catch, byte-compile-unwind-protect)
15122 (byte-compile-track-mouse, byte-compile-condition-case):
15123 Handle a new :fun-body form, used for lexical scoping.
15124 (byte-compile-save-window-excursion)
15125 (byte-compile-with-output-to-temp-buffer): Remove.
15126 (byte-compile-defun): Simplify.
15127 (byte-compile-stack-adjustment): New fun.
15128 (byte-compile-out): Use it.
15129 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15131 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15134 * emacs-lisp/byte-opt.el: Use lexical binding.
15135 (byte-inline-lapcode): Remove (to bytecomp).
15136 (byte-compile-inline-expand): Pay attention to inlining to/from
15137 lexically bound code.
15138 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15140 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15141 any more and don't call compiler-macros.
15142 (byte-compile-splice-in-already-compiled-code): Remove.
15143 (byte-code): Don't inline any more.
15144 (disassemble-offset): Receive `bytes' as argument rather than via
15146 (byte-compile-tag-number): Declare before first use.
15147 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15148 `return' even if make-spliceable.
15149 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15150 obsolete interactive-p.
15151 (byte-optimize-lapcode): Optimize new lap-codes.
15152 Don't trip up on new form of `byte-constant' lap code.
15154 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15156 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15158 * custom.el (custom-initialize-default, custom-declare-variable):
15161 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15163 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15164 (COMPILE_FIRST): Add macroexp and cconv.
15165 * makefile.w32-in: Mirror changes in Makefile.in.
15167 * vc/cvs-status.el:
15171 * vc/smerge-mode.el:
15172 * textmodes/bibtex-style.el:
15173 * textmodes/css.el:
15181 * emacs-lisp/smie.el:
15184 * abbrev.el: Use lexical binding.
15186 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15188 * info.el (info-display-manual): New function.
15190 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15192 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15194 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15196 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15197 an entry for that server in rcirc-authinfo. (Bug#8385)
15199 2011-03-31 Glenn Morris <rgm@gnu.org>
15201 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15203 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15205 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15207 * progmodes/python.el (python-default-interpreter)
15208 (python-python-command-args, python-jython-command-args)
15209 (python-which-shell, python-which-args, python-which-bufname)
15210 (python-file-queue, python-comint-output-filter-function)
15211 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15212 variables and functions.
15214 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15216 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15217 (completion-in-region-mode): New minor mode.
15218 (completion-in-region): Use it.
15219 (completion-in-region--data, completion-in-region-mode-map): New vars.
15220 (completion-in-region--postch): New function.
15221 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15223 (completion--capf-wrapper): New function.
15224 (completion-at-point): Use it to track well-behavedness of
15226 (completion-help-at-point): New command.
15228 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15230 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15231 syntax class to search for whitespace on a single line
15232 (Message-ID: <4D938140.4030905@redhat.com>).
15234 2011-03-30 Leo Liu <sdl.web@gmail.com>
15236 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15238 (edit-abbrevs-map): Bind them here.
15239 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15241 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15243 * allout.el (allout-hide-by-annotation, allout-flag-region):
15244 Reduce possibility of overlay leakage by making them volatile.
15246 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15247 hash is not shared between buffers. Mode initialization is
15248 responsible for giving it a useful starting value.
15249 (allout-item-span): Reduce possibility of overlay leakage by
15250 making them volatile.
15251 (allout-widgets-count-buttons-in-region): Add diagnostic function
15252 for tracking down button overlay leaks.
15254 2011-03-29 Leo Liu <sdl.web@gmail.com>
15256 * ido.el (ido-read-internal): Use the default history var
15257 minibuffer-history if no HISTORY is specified.
15259 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15261 * net/imap.el (imap-shell-open, imap-process-connection-type):
15262 Use imap-process-connection-type for 'shell' streams as well as
15263 Kerberos, SSL, other subprocesses.
15265 2011-03-28 Leo Liu <sdl.web@gmail.com>
15267 * abbrev.el (abbrev-table-empty-p): New function.
15268 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15269 nonempty ones. (Bug#5937)
15271 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15273 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15275 2011-03-27 Leo Liu <sdl.web@gmail.com>
15277 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15278 for foreground and background colors.
15279 (ansi-color-make-color-map): Adapt.
15281 2011-03-25 Leo Liu <sdl.web@gmail.com>
15283 * midnight.el (midnight-time-float): Remove. Note it calculates
15284 the microsecond component incorrectly and seconds-to-time does the
15286 Remove redundant (require 'timer).
15288 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15289 (ido-completions): Remove unused arguments. (Bug#8329)
15291 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15293 * minibuffer.el (completion--flush-all-sorted-completions):
15294 Remove itself from hook.
15295 (completion-at-point): Let the functions perform the completion
15296 immediately and return nil or t.
15297 * comint.el (comint-dynamic-complete-functions): Now identical to
15298 completion-at-point-functions.
15299 (comint-dynamic-list-input-ring): Remove unused var `index'.
15300 (comint--match-partial-filename, comint--unquote&expand-filename):
15301 New funs, split from comint-match-partial-filename.
15302 (comint-dynamic-complete): Use completion-at-point.
15303 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15305 2011-03-24 Drew Adams <drew.adams@oracle.com>
15307 * thingatpt.el: Support `defun'.
15309 2011-03-23 Leo Liu <sdl.web@gmail.com>
15311 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15313 * help-mode.el (help-mode-finish): Tweak regexp.
15315 2011-03-23 Glenn Morris <rgm@gnu.org>
15317 * eshell/esh-opt.el (eshell-eval-using-options):
15318 Do not bind unused local variable `eshell-option-stub'.
15320 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15322 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15324 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15325 keymap variable in `with-no-warnings' to avoid a warning when the
15326 keymap has been already `defconst'ed.
15328 2011-03-22 Leo Liu <sdl.web@gmail.com>
15330 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15331 encode all chars in abbrevs; otherwise use emacs-mule or
15332 utf-8-emacs. (Bug#8308)
15334 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15336 * simple.el (backward-delete-char-untabify):
15337 Avoid warning about using `delete-backward-char'.
15339 * image.el (image-type-file-name-regexps): Make it variable.
15340 `imagemagick-register-types' modifies it, and the user may want
15341 to add new extensions for known image types.
15342 (imagemagick-register-types): Throw error if not using ImageMagick.
15344 2011-03-22 Leo Liu <sdl.web@gmail.com>
15346 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15347 located before rcirc-prompt-end-marker.
15348 (rcirc-complete): Error if point is not after rcirc prompt.
15349 Handle the case when table is nil.
15350 (rcirc-user-authenticated): Define to fix compiler warning.
15352 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15354 * custom.el (custom--inhibit-theme-enable): Make it affect only
15355 custom-theme-set-variables and custom-theme-set-faces.
15356 (provide-theme): Ignore custom--inhibit-theme-enable.
15357 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15358 (custom-enabling-themes): Delete variable.
15359 (enable-theme): Accept only loaded themes as arguments.
15360 Ignore the special custom-enabled-themes variable.
15361 (custom-enabled-themes): Forbid themes from setting this.
15362 Eliminate use of custom-enabling-themes.
15363 (custom-push-theme): Quote "changed" custom var entry.
15365 2011-03-21 Leo Liu <sdl.web@gmail.com>
15367 * ido.el (ido-read-internal): Add ido-selected to history instead
15370 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15372 * subr.el (deferred-action-list, deferred-action-function):
15375 2011-03-21 Leo Liu <sdl.web@gmail.com>
15377 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15378 change on 2011-02-13 (bug#8309).
15380 * minibuffer.el (read-file-name-function): Change default value.
15381 (read-file-name--defaults): Rename from read-file-name-defaults.
15382 (read-file-name-default): Rename from read-file-name.
15383 (read-file-name): Call read-file-name-function.
15385 2011-03-21 Glenn Morris <rgm@gnu.org>
15387 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15390 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15392 * cus-theme.el: Add missing provide statement.
15393 (customize-create-theme): Extract theme value correctly.
15394 (custom-theme-visit-theme): Autoload.
15395 (customize-create-theme): Prompt before inserting default faces.
15397 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15399 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15400 units and musical notes.
15402 2011-03-20 Leo Liu <sdl.web@gmail.com>
15404 * ido.el (ido-read-internal): Use completing-read-default.
15405 (ido-completing-read): Fix compatibility with completing-read.
15407 2011-03-20 Christian Ohler <ohler@gnu.org>
15409 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15410 (ert-delete-all-tests): Use `called-interactively-p' rather than
15412 (ert--make-xrefs-region): Respect END.
15414 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15416 * dired-aux.el (dired-create-directory): Signal an error if the
15417 directory already exists (Bug#8246).
15419 * facemenu.el (list-colors-display): Call list-faces-display
15420 inside with-help-window.
15421 (list-colors-print): Use display property to align the final
15422 column, instead of checking window-width.
15424 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15426 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15427 windows-nt systems.
15428 (emerge-protect-metachars): Quote correctly for ms-dos and
15429 windows-nt systems.
15431 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15433 * info.el (info-initialize): Replace all uses of `:' with
15434 path-separator for compatibility with non-Unix systems.
15435 Cache quoting of path-separator. (Bug#8258)
15437 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15439 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15440 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15441 (mouse-avoidance-mode): Fix typos in docstrings.
15443 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15445 * startup.el (package-subdirectory-regexp): Move from package.el.
15446 Omit \\` and \\', and let callers add them.
15448 * emacs-lisp/package.el (package-strip-version)
15449 (package-load-all-descriptors): Add \\` and \\' to
15450 package-subdirectory-regexp before using it.
15451 (package-untar-buffer): New arg DIR; ensure that file untars only
15452 into this expected directory. Remove superfluous delete-region.
15453 (package-unpack): Caller changed.
15454 (package-tar-file-info): Use package-subdirectory-regexp.
15456 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15458 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15459 diff-mode-shared-map (bug#8284).
15460 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15462 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15464 * calendar/time-date.el (format-seconds): Use assoc instead of
15465 assoc-string, since assoc-string doesn't exist in XEmacs.
15467 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15469 * custom.el (custom-known-themes): Reflow docstring.
15470 (custom-theme-load-path): Fix typo in docstring.
15471 (load-theme): Fix typo in error message.
15472 (custom-available-themes, custom-variable-theme-value):
15473 Use `let', not `let*'.
15475 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15477 * calc/README: Mention inclusion of musical notes.
15479 * calc/calc-units.el (calc-lu-quant): Rename from
15480 `calc-logunits-quantity'.
15481 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15482 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15483 (calc-db): Rename from `calc-dblevel'.
15484 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15485 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15486 (calc-np): Rename from `calc-nplevel'.
15487 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15488 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15489 (calc-lu-plus): Rename from `calc-logunits-add'.
15490 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15491 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15492 (calc-lu-minus): Rename from `calc-logunits-sub'.
15493 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15494 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15495 (calc-lu-times): Rename from `calc-logunits-mul'.
15496 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15497 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15498 (calc-lu-divide): Rename from `calc-logunits-div'.
15499 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15500 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15502 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15503 functions being autoloaded.
15505 * calc/calc.el (calc-lu-power-reference): Rename from
15506 `calc-logunits-power-reference'.
15507 (calc-lu-field-reference): Rename from
15508 `calc-logunits-field-reference'.
15510 * calc/calc-help.el (calc-l-prefix-help):
15511 Mention musical note functions.
15513 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15515 * minibuffer.el (completion-all-sorted-completions):
15516 Use :completion-cycle-penalty text property if present.
15518 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15520 * allout.el (allout-yank-processing): Adjust for new rebulleting
15521 regime so bullet being yanked is used without prompting the user
15524 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15526 * startup.el (command-line): Warn the user that _emacs is deprecated.
15528 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15530 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15531 (delphi-verbose, delphi-comment-face, delphi-string-face)
15532 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15533 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15534 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15535 (delphi-new-comment-line, delphi-font-lock-defaults)
15536 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15537 Fix typos in docstrings.
15539 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15541 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15542 Invert the roles of character and string values for INSTEAD, so a
15543 string is used for the more common case of a defaulting prompt.
15545 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15547 * progmodes/ruby-mode.el (ruby-backward-sexp):
15548 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15549 * play/gamegrid.el (gamegrid-make-face):
15550 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15551 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15552 * notifications.el (notifications-notify):
15553 * net/xesam.el (xesam-search-engines):
15554 * net/quickurl.el (quickurl-list-insert):
15555 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15557 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15559 * startup.el (command-line): Update package subdirectory regexp.
15561 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15563 * allout.el (allout-abbreviate-flattened-numbering)
15564 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15566 * subr.el (read-char-choice): Only show the cursor after the prompt,
15567 not after the answer.
15569 2011-03-15 Kevin Ryde <user42@zip.com.au>
15571 * help-fns.el (variable-at-point): Skip leading quotes, if any
15574 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15576 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15579 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15581 * shell.el (shell): When called interactively, offer to change the
15582 shell file name on remote hosts.
15584 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15586 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15587 integration for LDAP parameters. The host, base, user or binddn,
15588 and secret tokens can be specified in a netrc file, for instance.
15589 This is optional because an `auth-source' parameter must be
15590 specified in the search attributes.
15592 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15594 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15596 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15598 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15599 into declaration. Remove redundant and harmful binding.
15601 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15603 * files.el (file-ownership-preserved-p): Pass `integer' as an
15604 explicit 2nd argument to `file-attributes'. If the file's owner
15605 is the Administrators group on Windows, and the current user is
15606 Administrator, consider that a match.
15608 * server.el (server-ensure-safe-dir): Consider server directory
15609 safe on MS-Windows if its owner is the Administrators group while
15610 the current Emacs user is Administrator. Use `=' to compare
15611 numerical UIDs, since they could be integers or floats.
15613 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15615 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15617 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15619 Sync with Tramp 2.2.1.
15621 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15623 * net/trampver.el: Update release number.
15625 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15627 * progmodes/compile.el (compilation--previous-directory): Fix up
15628 various nil/dead-marker mismatches (bug#8014).
15629 (compilation-directory-properties, compilation-error-properties):
15630 Don't call it at a position past the one we're about to change.
15632 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15633 Disable obsolescence warnings in the file that declares it.
15635 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15637 * allout-widgets.el (allout-widgets-tally):
15638 Initialize allout-widgets-tally as a hash table rather than nil to
15639 prevent mode-line redisplay warnings. Also, clarify the module
15640 description and fix a comment typo.
15642 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15644 * help-fns.el (describe-variable): Don't complete keywords.
15645 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15647 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15649 * emacs-lisp/package.el (package-version-join): Impose a standard
15650 string representation for pre/alpha/beta version lists.
15651 (package-unpack-single): Standardize the directory name by passing
15652 it through package-version-join.
15653 (package-strip-rcs-id): Accept any version string that does not
15654 signal an error in version-to-list.
15656 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15658 * simple.el (delete-trailing-whitespace): Return nil for the
15659 benefit of `write-file-functions'.
15661 2011-03-10 Glenn Morris <rgm@gnu.org>
15663 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15665 * vc/vc-git.el (vc-git-program): New option.
15666 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15667 (vc-git--call): Use it.
15669 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15671 * cus-edit.el (Custom-newline): If no button at point, look
15672 for a subgroup button at start-of-line. (Bug#2298)
15674 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15676 2011-03-10 Julien Danjou <julien@danjou.info>
15678 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15679 `cursor-type' is nil.
15681 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15683 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15685 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15687 * allout.el: Change so yank of distinctive-bullet items
15688 preserves the existing header prefix, rebulleting it if necessary,
15689 rather than replacing it. This is necessary for proper operation
15690 of cooperative addons like allout-widgets.
15691 (allout-make-topic-prefix, allout-rebullet-heading):
15692 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15693 value as alternate bullet to be used, instead of prompting the user
15694 for a bullet character.
15696 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15698 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15699 Do not use `tramp-file-name-port', because this returns also
15700 `tramp-default-port'.
15702 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15704 * net/rcirc.el (rcirc-handler-001): Remove useless
15705 with-rcirc-process-buffer.
15706 (rcirc-check-auth-status): Swap arguments to string-match.
15708 2011-03-09 Glenn Morris <rgm@gnu.org>
15710 * shell.el (shell-mode):
15711 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15713 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15714 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15716 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15718 * emacs-lisp/package.el (package-refresh-contents)
15719 (package-menu-execute): Use condition-case-no-debug.
15721 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15723 * simple.el (shell-command-to-string): Use `process-file'.
15725 * emacs-lisp/package.el (package-tar-file-info): Handle also
15728 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15729 Use `equal' for upload base check.
15731 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15733 * textmodes/texinfo.el (texinfo-environments):
15734 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15736 2011-03-08 Glenn Morris <rgm@gnu.org>
15738 * cus-start.el (cursor-in-non-selected-windows):
15739 Fix :set quoting oddness. (Bug#8192)
15741 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15742 in some setf expressions. (Bug#2159)
15744 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15746 * custom.el (custom-available-themes): Return themes in
15747 alphabetical order.
15749 See ChangeLog.15 for earlier changes.
15751 ;; Local Variables:
15755 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15757 This file is part of GNU Emacs.
15759 GNU Emacs is free software: you can redistribute it and/or modify
15760 it under the terms of the GNU General Public License as published by
15761 the Free Software Foundation, either version 3 of the License, or
15762 (at your option) any later version.
15764 GNU Emacs is distributed in the hope that it will be useful,
15765 but WITHOUT ANY WARRANTY; without even the implied warranty of
15766 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15767 GNU General Public License for more details.
15769 You should have received a copy of the GNU General Public License
15770 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.