1 2012-06-19 Chong Yidong <cyd@gnu.org>
3 * subr.el (with-selected-window): Preserve the selected window's
4 terminal's top-frame (Bug#4702).
6 * window.el (save-selected-window): Likewise.
8 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10 * progmodes/python.el (python-rx-constituents): Move backquote.
11 (python-skeleton-define, python-define-auxiliary-skeleton):
14 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
16 * minibuffer.el (read-file-name-default): Revert the patch from
19 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
22 (pcase--u1, pcase--q1): Don't use apply-partially.
24 2012-06-18 Glenn Morris <rgm@gnu.org>
26 * progmodes/python.el (python-proc, python-buffer)
27 (python-send-receive, python-send-string): Fix obsolete versions.
29 2012-06-18 Martin Rudalics <rudalics@gmx.at>
31 * window.el (special-display-p): Completely remove stringp
32 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
34 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
36 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
38 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
40 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
41 * net/tramp-sh.el (tramp-maybe-open-connection):
42 Throw if `non-essential' is non-nil.
44 2012-06-17 Martin Rudalics <rudalics@gmx.at>
46 * window.el (special-display-p): Signal an error if BUFFER-NAME
47 is not a string (Bug#11713).
49 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
51 * progmodes/python.el (python-info-beginning-of-backslash):
52 Rename from python-info-beginning-of-backlash, as a spelling fix.
54 2012-06-17 Chong Yidong <cyd@gnu.org>
56 * term.el (term-emulate-terminal): If term-check-size is called,
57 move point to the process mark without resetting point (Bug#4635).
59 2012-06-17 Glenn Morris <rgm@gnu.org>
61 * international/mule-cmds.el (mule-menu-keymap)
62 (set-language-environment, set-locale-environment): Doc tweaks.
64 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
66 * cus-face.el (custom-face-attributes): Add wave-style underline
68 * faces.el (set-face-attribute): Update docstring to describe
69 wave-style underline attribute.
71 2012-06-16 Chong Yidong <cyd@gnu.org>
73 * term/xterm.el (terminal-init-xterm): Discard input before
74 querying background mode (Bug#10959).
76 2012-06-16 Stefan Merten <smerten@oekonux.de>
78 * textmodes/rst.el: Added and corrected some comments.
79 (rst-re-alist-def): Improve symbol syntax.
80 (rst-mode-syntax-table): Correct syntax entries.
81 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
82 (rst-official-version, rst-official-cvs-rev): Update version
85 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
87 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
88 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
90 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
92 * progmodes/python.el: New python.el merge.
93 (python-guess-indent): Obsolete var.
94 (python-indent-guess-indent-offset): New defcustom.
95 (python-indent): Obsolete var.
96 (python-indent-offset): New defcustom.
97 (python-python-command, python-jython-command): Delete var.
98 (python-shell-interpreter): New defcustom.
99 (python-pdbtrack-do-tracking-p): Delete var.
100 (python-pdbtrack-activate): New defcustom.
101 (python-use-skeletons): Obsolete var.
102 (python-skeleton-autoinsert): New defcustom.
103 (inferior-python-filter-regexp, python-continuation-offset)
104 (python-honour-comment-indentation, python-indent-string-contents)
105 (python-jython-packages, python-mode-hook)
106 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
107 (python-shell-prompt-alist)
108 (python-source-modes): Delete defcustoms.
109 (python-check-buffer-name, python-eldoc-setup-code)
110 (python-eldoc-string-code, python-ffap-setup-code)
111 (python-ffap-string-code, python-fill-comment-function)
112 (python-fill-decorator-function, python-fill-paren-function)
113 (python-fill-string-function, python-imenu-include-defun-type)
114 (python-imenu-make-tree, python-imenu-subtree-root-label)
115 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
116 (python-shell-compilation-regexp-alist)
117 (python-shell-completion-module-string-code)
118 (python-shell-completion-pdb-string-code)
119 (python-shell-completion-setup-code)
120 (python-shell-completion-string-code)
121 (python-shell-enable-font-lock, python-shell-exec-path)
122 (python-shell-extra-pythonpaths)
123 (python-shell-internal-buffer-name, python-shell-interpreter-args)
124 (python-shell-process-environment)
125 (python-shell-prompt-block-regexp)
126 (python-shell-prompt-output-regexp)
127 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
128 (python-shell-send-setup-max-wait, python-shell-setup-codes)
129 (python-shell-virtualenv-path): New defcustoms.
130 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
131 (inferior-python-mode-syntax-table, python--prompt-regexp)
132 (python-buffer, python-command python-python-command)
133 (python-default-template, python-imports, python-indent-index)
134 (python-indent-list, python-indent-list-length)
135 (python-mode-running, python-pdbtrack-is-tracking-p)
136 (python-preoutput-continuation, python-preoutput-leftover)
137 (python-preoutput-result, python-preoutput-skip-next-prompt)
138 (python-prev-dir/file, python-recursing)
139 (python-saved-check-command, python-version-checked)
140 (python-which-func-length-limit)
141 (view-return-to-alist): Delete vars.
142 (python-check-custom-command, python-dotty-syntax-table)
143 (python-imenu-index-alist, python-indent-current-level)
144 (python-indent-dedenters, python-indent-levels)
145 (python-nav-beginning-of-defun-regexp)
146 (python-nav-list-defun-positions-cache)
147 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
148 (python-shell-internal-buffer)
149 (python-skeleton-available): New vars.
150 (def-python-skeleton): Delete macro.
151 (python-skeleton-define): New macro.
152 (python-define-auxiliary-skeleton, python-rx): New macros.
153 (python-insert-class): Delete command.
154 (python-skeleton-class): New command.
155 (python-insert-def): Delete command.
156 (python-skeleton-def): New command.
157 (python-insert-for): Delete command.
158 (python-skeleton-for): New command.
159 (python-insert-if): Delete command.
160 (python-skeleton-if): New command.
161 (python-insert-try/except, python-insert-try/finally): Delete commands.
162 (python-skeleton-try): New command.
163 (python-insert-while): Delete command.
164 (python-skeleton-while): New command.
165 (python-backspace): Delete command.
166 (python-indent-dedent-line-backspace): New command.
167 (python-electric-colon): Delete command.
168 (python-indent-electric-colon): New command.
169 (python-guess-indent): Delete command.
170 (python-indent-guess-indent-offset): New command.
171 (python-shift-left): Delete command.
172 (python-indent-shift-left): New command.
173 (python-shift-right): Delete command.
174 (python-indent-shift-right): New command.
175 (python-find-function): Delete command.
176 (python-nav-jump-to-defun): New command.
177 (python-next-statement): Delete command.
178 (python-nav-forward-sentence): New command.
179 (python-previous-statement): Delete command.
180 (python-nav-backward-sentence): New command.
181 (python-fill-paragraph): Delete command.
182 (python-fill-paragraph-function): New command.
183 (python-send-buffer): Delete command.
184 (python-shell-send-buffer): New command.
185 (python-send-defun): Delete command.
186 (python-shell-send-defun): New command.
187 (python-send-region, python-send-region-and-go): Delete commands.
188 (python-shell-send-region)
189 (python-shell-switch-to-shell): New commands.
190 (python-send-string): Delete command.
191 (python-shell-send-string): New command.
192 (python-switch-to-python): Delete command.
193 (python-shell-switch-to-shell): New command.
194 (python-describe-symbol): Delete command.
195 (python-eldoc-at-point): New command.
196 (python--set-prompt-regexp, python-args-to-list)
197 (python-after-info-look, python-check-version)
198 (python-check-comint-prompt, python-find-imports)
199 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
200 (python-unload-function, python-expand-template)
201 (python-maybe-jython, python-preoutput-filter)
202 (python-pdbtrack-get-source-buffer)
203 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
204 (python-pdbtrack-toggle-stack-tracking)
205 (python-pdbtrack-track-stack-file, python-initial-text)
206 (python-first-word, python-comment-line-p, python-send-command)
207 (python-setup-brm, python-sentinel, python-set-proc)
208 (python-skip-out, python-input-filter, python-outdent-p)
209 (python-outline-level, python-backslash-continuation-line-p)
210 (python-end-of-block, python-end-of-statement, python-mark-block)
211 (python-beginning-of-block, python-beginning-of-statement)
212 (python-blank-line-p, python-beginning-of-string)
213 (python-open-block-statement-p): Delete functions.
214 (python-indent-line, python-indent-line-1): Delete functions.
215 (python-indent-line): New function.
216 (python-indentation-levels): Delete function.
217 (python-indent-calculate-levels): New function.
218 (python-proc): Delete function.
219 (python-shell-get-process): New function.
220 (python-send-receive): Delete function.
221 (python-shell-send-string-no-output): New function.
222 (python-module-path): Delete function.
223 (python-ffap-module-path): New function.
224 (python-completion-at-point)
225 (python-symbol-completions): Delete functions.
226 (python-completion-complete-at-point): New function.
227 (python-load-file): Delete function.
228 (python-shell-send-file): New function.
229 (python-calculate-indentation): Delete function.
230 (python-indent-calculate-indentation): New function.
231 (python-skip-comments/blanks): Delete function.
232 (python-util-forward-comment): New function.
233 (python-continuation-line-p): Delete function.
234 (python-info-continuation-line-p): New function.
235 (python-which-func, python-current-defun): Delete function.
236 (python-info-current-defun): New function.
237 (python-beginning-of-defun): Delete function.
238 (python-nav-beginning-of-defun): New function.
239 (python-close-block-statement-p)
240 (python-block-end-p): Delete function.
241 (python-info-closing-block): New function.
242 (python-comint-output-filter-function)
243 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
244 (python-fill-comment, python-fill-decorator, python-fill-paren)
245 (python-fill-string, python-imenu-make-element-tree)
246 (python-imenu-make-tree, python-imenu-tree-assoc)
247 (python-indent-context, python-indent-dedent-line)
248 (python-indent-line-function)
249 (python-indent-post-self-insert-function)
250 (python-indent-toggle-levels)
251 (python-info-assignment-continuation-line-p)
252 (python-info-beginning-of-backlash)
253 (python-info-block-continuation-line-p)
254 (python-info-closing-block-message)
255 (python-info-line-ends-backslash-p)
256 (python-info-looking-at-beginning-of-defun)
257 (python-info-ppss-context, python-info-ppss-context-type)
258 (python-nav-list-defun-positions, python-nav-read-defun)
259 (python-nav-sentence-end, python-nav-sentence-start)
260 (python-pdbtrack-comint-output-filter-function)
261 (python-pdbtrack-set-tracked-buffer)
262 (python-shell-calculate-exec-path)
263 (python-shell-calculate-process-environment)
264 (python-shell-completion--do-completion-at-point)
265 (python-shell-completion--get-completions)
266 (python-shell-completion-complete-at-point)
267 (python-shell-completion-complete-or-indent)
268 (python-shell-get-or-create-process)
269 (python-shell-get-process-name)
270 (python-shell-internal-get-or-create-process)
271 (python-shell-internal-get-process-name)
272 (python-shell-internal-send-string, python-shell-make-comint)
273 (python-shell-parse-command, python-shell-send-setup-code)
274 (python-skeleton-add-menu-items)
275 (python-util-clone-local-variables, python-util-position)
276 (run-python-internal, python-indentation-levels)
277 (python-nav-beginning-of-defun)
278 (python-completion-complete-at-point): New functions.
279 (run-python): Change arguments. New API requirements.
281 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
283 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
286 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
287 (macroexp--expand-all): Use it.
289 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
290 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
291 Use `cl-function' instead.
293 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
295 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
296 Suggested by Stefan Monnier while discussing bug#11657.
298 2012-06-14 Sam Steingold <sds@gnu.org>
300 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
302 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
304 * play/doctor.el (doctor-doc): Remove parameter and use
305 doctor-sent instead of sent.
306 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
308 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
310 * files.el: Require cl-lib.
311 (file-name-non-special): Replace case -> cl-case.
313 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
315 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
316 mapping from #' to function*.
318 2012-06-13 Chong Yidong <cyd@gnu.org>
320 * mouse.el (mouse-drag-track): Do not set the mark if the user
321 releases the mouse without selecting anything (Bug#11588).
323 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
325 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
328 * loadup.el: Count byte-code functions as well.
330 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
331 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
333 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
334 (bug#11649). Add cl-defun and cl-defmacro.
336 2012-06-13 Drew Adams <drew.adams@oracle.com>
338 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
341 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
343 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
344 Otherwise, it blocks in batch mode.
346 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
348 * help-mode.el (bookmark-make-record-default): Declare.
350 2012-06-13 Chong Yidong <cyd@gnu.org>
352 * emacs-lisp/package.el (list-packages): Compute a list of
353 packages that are newly-available since the last list-packages
355 (package-menu--new-package-list): New var.
356 (package-menu--generate, package-menu--print-info)
357 (package-menu--status-predicate, package-menu-mark-install):
358 Handle new status label "new".
360 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
362 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
363 conversion to backquotes.
365 2012-06-12 Chong Yidong <cyd@gnu.org>
367 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
368 Rename from gud-inhibit-global-bindings.
370 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
372 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
373 hook from nxml-glyph-set-hook.
375 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
378 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
380 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
381 Convert to defcustom.
383 2012-06-12 Drew Adams <drew.adams@oracle.com>
385 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
387 (help-mode): Use them.
389 2012-06-11 Glenn Morris <rgm@gnu.org>
391 * progmodes/fortran.el (fortran-font-lock-keywords-3):
392 Use preprocessor face for directives.
393 (fortran-directive-re): Doc fix.
395 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
397 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
398 conversion to backquotes (bug#11652).
400 Fix compiler-expansion of CL's cXXr functions (bug#11673).
401 * emacs-lisp/cl-lib.el (cl--defalias): New function.
402 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
403 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
404 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
405 (cl-ninth, cl-tenth): Mark them as inlinable.
406 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
407 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
408 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
409 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
410 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
411 (cl-list*, cl-adjoin): Don't put an autoload manually.
412 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
413 (cl--compiler-macro-list*): Add autoload cookie.
414 (cl--compiler-macro-cXXr): New function.
416 * help-fns.el (help-fns--compiler-macro): New function extracted from
417 describe-function-1; follow aliases and use `compiler-macro' property.
418 (describe-function-1): Use it.
420 2012-06-11 Chong Yidong <cyd@gnu.org>
422 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
423 is uninstalled, if imagemagick is installed.
425 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
427 * emacs-lisp/cl-lib.el: Use lexical-binding.
428 (cl-map-extents, cl-maclisp-member): Remove.
429 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
430 (cl--set-substring, cl--block-wrapper, cl--block-throw)
431 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
432 * emacs-lisp/cl-extra.el: Use lexical-binding.
433 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
434 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
435 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
436 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
437 * emacs-lisp/cl-seq.el: Use lexical-binding.
438 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
439 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
440 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
441 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
442 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
445 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
447 Sync with Tramp 2.2.6-pre.
449 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
450 `print-length' and `print-level' to nil, in order to avoid
451 truncation. Reported by Christopher Schmidt
452 <christopher@ristopher.com>.
454 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
456 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
458 (tramp-compat-copy-directory): Add optional argument
459 COPY-CONTENTS. It is not handled yet.
461 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
462 (tramp-ftp-file-name-p): Simplify.
464 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
465 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
468 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
469 (tramp-methods): Do not use `tramp-password-end-of-line'.
470 (tramp-completion-function-alist-putty): Handle UNIX case.
471 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
472 (tramp-do-file-attributes-with-stat)
473 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
474 gid as real numbers. They could run out of integer range on cygwin.
475 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
476 (tramp-sh-handle-expand-file-name): Handle hops.
477 (tramp-open-connection-setup-interactive-shell):
478 Use `tramp-cleanup'. Move check for busyboxes ...
479 (tramp-find-shell): ... here. Simplify implementation.
480 Set "remote-shell" property also for alternative shells.
481 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
482 If failing, a regular file would be written otherwise.
483 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
484 (tramp-find-inline-encoding): Cache the coding commands in the
485 process cache. Apply test command on the remote side, if defined.
486 (tramp-find-inline-compress): Cache the compress commands in the
488 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
489 when requested. Handle hops.
490 (tramp-current-connection): New defvar.
491 (tramp-maybe-open-connection): Use `tramp-cleanup'.
492 Throw `suppress', if there was a failed connection shortly before.
493 Handle user interrupt. (Bug#10187)
494 (tramp-get-inline-compress, tramp-get-inline-coding):
495 Read connection properties from the process cache.
497 * net/tramp-smb.el (tramp-smb-server-version)
498 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
500 (tramp-smb-prompt): Extend for powershell prompt.
501 (tramp-smb-file-name-handler-alist): Add handlers for
502 `process-file', `shell-command' and `start-file-process'.
503 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
504 (tramp-smb-winexe-shell-command-switch): New defcustoms.
505 (tramp-smb-file-name-p): Simplify.
506 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
507 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
508 (tramp-smb-shell-quote-argument): New defuns.
509 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
510 Implement using "tar". By this, time-stamps are preserved.
511 (tramp-smb-handle-copy-file): Handle also the case of directories.
512 (tramp-smb-do-file-attributes-with-stat)
513 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
514 Use `tramp-get-connection-buffer').
515 (tramp-smb-handle-rename-file): Use "rename", when source and
516 target are on the same share.
517 (tramp-smb-maybe-open-connection): Handle wrong passwords.
518 Use `tramp-smb-server-version'.
519 (tramp-smb-wait-for-output): Remove prompt.
521 * net/tramp.el (top): Require 'cl.
522 (tramp-methods, tramp-rsh-end-of-line):
523 Remove `tramp-password-end-of-line' from docstring.
524 (tramp-save-ad-hoc-proxies): New defcustom.
525 (tramp-completion-function-alist): Adapt docstring.
526 (tramp-default-password-end-of-line): Remove defcustom.
527 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
528 (tramp-user-regexp, tramp-file-name-regexp-unified)
529 (tramp-file-name-regexp-url): Extend regexp by hop separator.
530 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
531 (tramp-remote-file-name-spec-regexp): New defconst.
532 (tramp-file-name-structure): Extend structure for hops.
533 (tramp-get-method-parameter): Move up.
534 (tramp-file-name-p, tramp-dissect-file-name)
535 (with-parsed-tramp-file-name): Handle hops.
536 (tramp-file-name-hop): New defun.
537 (tramp-make-tramp-file-name): New optional arg HOP.
538 (tramp-message-show-progress-reporter-message): New defvar.
539 (tramp-with-progress-reporter): Use it. We cannot use
540 `tramp-message-show-message' here, because this suppresses also
542 (tramp-error-with-buffer): Suppress buffer view, if
543 `tramp-message-show-message' is nil.
544 Use `tramp-get-connection-buffer'.
545 (tramp-cleanup): New defun.
546 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
547 (tramp-file-name-handler): If `debug-on-error' is set, propagate
549 (tramp-completion-handle-file-name-all-completions): Handle hops.
550 Fix an error when called from ido.
551 (tramp-completion-dissect-file-name): Use better local variable
552 name. Add hop to the vector.
553 (tramp-handle-insert-file-contents): Use progress-reporter for the
555 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
557 (tramp-check-for-regexp): Simplify search.
558 (tramp-enter-password): Remove it. Move implementation ...
559 (tramp-action-password): ... here.
560 (tramp-mode-string-to-int, tramp-local-host-p)
561 (tramp-make-tramp-temp-file, tramp-read-passwd)
562 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
563 Set tramp-autoload cookie.
565 * net/trampver.el: Update release number.
567 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
568 Michael Albinus <michael.albinus@gmx.de>
570 * net/tramp.el (tramp-set-completion-function): Fix docstring.
571 (tramp-parse-group, tramp-parse-file)
572 (tramp-parse-shostkeys-sknownhosts): New defuns.
573 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
574 (tramp-parse-shosts-group, tramp-parse-sconfig)
575 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
576 (tramp-parse-sknownhosts, tramp-parse-hosts)
577 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
579 (tramp-parse-passwd-group, tramp-parse-netrc-group)
580 (tramp-parse-putty-group): Don't narrow.
581 (tramp-parse-putty): Make a loop.
582 (tramp-file-name-handler): Catch the `suppress' signal.
584 2012-06-11 Chong Yidong <cyd@gnu.org>
586 * image.el (imagemagick-register-types): Put the ImageMagick entry
587 at the end of image-type-file-name-regexps.
589 2012-06-11 Johan Bockgård <bojohan@gnu.org>
591 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
592 (pcase, pcase-let*, pcase-dolist): Use them.
594 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
596 * emacs-lisp/pcase.el (pcase--let*): New function.
597 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
598 (pcase--expand): Use macroexp-let².
600 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
602 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
603 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
604 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
605 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
606 * emacs-lisp/derived.el: Use pcase instead of `cl'.
607 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
609 2012-06-10 Glenn Morris <rgm@gnu.org>
611 * mail/rmail.el (rmail-yank-current-message): Leave point at
612 correct position. (Bug#11660)
614 2012-06-10 Chong Yidong <cyd@gnu.org>
616 * allout-widgets.el: Fix code header.
618 2012-06-10 Chong Yidong <cyd@gnu.org>
620 * cus-edit.el (customize-changed-options-previous-release):
623 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
625 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
627 2012-06-09 Chong Yidong <cyd@gnu.org>
629 * ebuff-menu.el (electric-buffer-list): Preserve header line.
631 2012-06-09 Martin Rudalics <rudalics@gmx.at>
633 * window.el (special-display-popup-frame): Don't use
634 window--display-buffer (Bug#11651).
636 2012-06-09 Eli Zaretskii <eliz@gnu.org>
638 Fix parallel builds: make sure loaddefs.el is not being written
639 while Lisp files are compiled.
640 (compile): Don't depend on 'mh-autoloads'.
641 (compile-CMD, compile-SH): Depend on 'autoloads'.
642 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
644 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
646 2012-06-09 Chong Yidong <cyd@gnu.org>
648 * face-remap.el (face-remap-add-relative, face-remap-set-base)
649 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
650 Doc fixes (Bug#11225).
652 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
654 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
655 a function if there's a clear indication that it has a compiler-macro.
656 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
657 (macro-declarations-alist): Add arglist to declaration functions.
658 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
659 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
660 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
661 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
662 Also add autoload to find the compiler macro.
663 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
664 (cl--compiler-macro-member, cl--compiler-macro-assoc)
665 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
666 (cl--compiler-macro-get): New functions, replacing calls to
667 cl-define-compiler-macro.
668 (cl-typep) [compiler-macro]: Use macroexp-let².
670 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
672 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
673 string properly, fixes Bug#11473.
675 2012-06-08 Chong Yidong <cyd@gnu.org>
677 * faces.el (set-face-attribute): Doc fix.
678 (modify-face): Don't use :bold and :italic.
679 (error, warning, success): Tweak definitions.
681 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
682 (custom-modified, custom-set, custom-changed, custom-themed)
683 (custom-saved, custom-button, custom-button-mouse)
684 (custom-button-pressed, custom-state, custom-comment-tag)
685 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
686 (custom-group-subtitle): Use new-style face specs.
687 (custom-invalid-face, custom-rogue-face, custom-modified-face)
688 (custom-set-face, custom-changed-face, custom-saved-face)
689 (custom-button-face, custom-button-pressed-face)
690 (custom-documentation-face, custom-state-face)
691 (custom-comment-face, custom-comment-tag-face)
692 (custom-variable-tag-face, custom-variable-button-face)
693 (custom-face-tag-face, custom-group-tag-face-1)
694 (custom-group-tag-face): Remove obsolete face alias.
696 * epa.el (epa-validity-high, epa-validity-medium)
697 (epa-validity-low, epa-mark, epa-field-name, epa-string)
698 (epa-field-name, epa-field-body):
699 * font-lock.el (font-lock-comment-face, font-lock-string-face)
700 (font-lock-keyword-face, font-lock-builtin-face)
701 (font-lock-function-name-face, font-lock-variable-name-face)
702 (font-lock-type-face, font-lock-constant-face):
703 * ido.el (ido-first-match, ido-only-match, ido-subdir)
704 (ido-virtual, ido-indicator, ido-incomplete-regexp):
705 * speedbar.el (speedbar-button-face, speedbar-file-face)
706 (speedbar-directory-face, speedbar-tag-face)
707 (speedbar-selected-face, speedbar-highlight-face)
708 (speedbar-separator-face):
709 * whitespace.el (whitespace-newline, whitespace-space)
710 (whitespace-hspace, whitespace-tab, whitespace-trailing)
711 (whitespace-line, whitespace-space-before-tab)
712 (whitespace-space-after-tab, whitespace-indentation)
714 * emulation/cua-base.el (cua-global-mark):
715 * eshell/em-prompt.el (eshell-prompt):
716 * net/newst-plainview.el (newsticker-new-item-face)
717 (newsticker-old-item-face, newsticker-immortal-item-face)
718 (newsticker-obsolete-item-face, newsticker-date-face)
719 (newsticker-statistics-face, newsticker-default-face):
720 * net/newst-reader.el (newsticker-feed-face)
721 (newsticker-extra-face, newsticker-enclosure-face):
722 * net/newst-treeview.el (newsticker-treeview-face)
723 (newsticker-treeview-new-face, newsticker-treeview-old-face)
724 (newsticker-treeview-immortal-face)
725 (newsticker-treeview-obsolete-face)
726 (newsticker-treeview-selection-face):
727 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
728 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
729 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
730 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
731 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
732 (nxml-outline-active-indicator, nxml-outline-ellipsis):
733 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
735 * progmodes/vera-mode.el (vera-font-lock-number)
736 (vera-font-lock-function, vera-font-lock-interface):
737 * textmodes/table.el (table-cell): Use new-style face specs, and
738 don't use the old :bold and :italic attributes.
740 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
741 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
742 (ebrowse-member-class, ebrowse-progress): Likewise.
743 (ebrowse-tree-mark-face, ebrowse-root-class-face)
744 (ebrowse-file-name-face, ebrowse-default-face)
745 (ebrowse-member-attribute-face, ebrowse-member-class-face)
746 (ebrowse-progress-face): Remove obsolete faces.
748 * progmodes/flymake.el (flymake-errline, flymake-warnline):
749 Inherit from error and warning faces respectively.
751 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
753 (flyspell-incorrect-face, flyspell-duplicate-face):
754 Remove obsolete aliases.
756 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
758 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
761 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
763 * startup.el (argv, argi): Make lexically scoped.
764 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
765 * emacs-lisp/cl-macs.el: Use lexical-binding.
766 Rename cl-bind-* to cl--bind-*.
767 * files.el: Don't require `cl' since it doesn't use it.
768 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
770 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
772 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
773 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
774 instead of calling external sort utility.
775 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
777 2012-06-08 Eli Zaretskii <eliz@gnu.org>
779 * descr-text.el (describe-char): Mention how to insert the
780 character, if the current input method doesn't support it.
781 See the discussion in this thread for the details:
782 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
784 2012-06-08 Sam Steingold <sds@gnu.org>
786 * bindings.el (global-map): Bind XF86Forward to next-buffer and
787 XF86Back to previous-buffer.
788 (minibuffer-local-map): Bind them to next-history-element and
789 previous-history-element respectively.
790 * help-mode.el (help-mode-map): Bind them to help-go-forward and
791 help-go-back respectively.
792 * info.el (Info-mode-map): Bind them to Info-history-forward and
793 Info-history-back respectively.
794 These are the keys next to Up on the ThinkPad keyboard.
796 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
798 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
799 * emacs-lisp/cl-macs.el: Provide itself.
800 (cl--labels-convert-cache): New var.
801 (cl--labels-convert): New function.
802 (cl-flet, cl-labels): New implementation with new semantics, relying on
804 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
805 (cl-closure-vars, cl--function-convert-cache)
806 (cl--function-convert): Move from cl-macs.el.
807 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
808 rename by removing the "cl-" prefix.
809 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
811 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
813 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
814 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
815 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
816 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
817 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
818 (cl-hash-table-count): Add old compatibility aliases.
820 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
821 Use macroexpand-all-environment instead.
822 (cl--old-macroexpand): New var.
823 (cl--sm-macroexpand): New function.
824 (cl-symbol-macrolet): Use it during macro expansion.
825 (cl--function-convert-cache): New var.
826 (cl--function-convert): New function, extracted from
828 (cl-lexical-let): Use it.
830 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
831 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
832 (cl-member): Remove old alias.
834 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
835 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
836 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
837 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
838 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
839 (cl-macroexpand-cmacs): Remove var.
840 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
841 Use macroexpand-all instead.
843 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
845 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
846 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
847 (macroexp-copyable-p): New functions and macros.
848 * emacs-lisp/edebug.el (edebug-unwrap):
849 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
850 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
851 (pcase--let*): Remove.
852 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
853 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
854 macroexp-const-p instead.
855 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
857 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
858 instead of "cl-" for internal definitions. Use macroexp-const-p.
859 (cl-old-bc-file-form): Remove var.
860 (cl-const-exprs-p): Remove fun.
861 (cl-labels, cl-macrolet): Use backquote.
862 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
863 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
864 (cl-define-setf-expander): Rename from cl-define-setf-method.
865 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
867 * international/mule-cmds.el: Don't require CL.
868 (view-hello-file): Don't use `letf'.
870 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
872 * tmm.el (tmm-prompt): Use string-prefix-p.
873 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
874 (tmm-add-prompt): Use minibuffer-completion-help.
875 (tmm-delete-map): Remove.
877 * subr.el (kbd): Make it its own function.
879 2012-06-07 Stefan Merten <smerten@oekonux.de>
881 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
882 Silence compiler warnings. Fix versions.
883 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
884 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
885 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
886 (rst-package-emacs-version-alist): Correct Emacs version to
887 represent major merge with upstream.
888 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
890 2012-06-06 Glenn Morris <rgm@gnu.org>
892 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
893 Only print environment variables if set.
895 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
897 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
898 (macroexp--cons): Rename from maybe-cons.
899 (macroexp--accumulate): Rename from macroexp-accumulate.
900 (macroexp--all-forms): Rename from macroexpand-all-forms.
901 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
902 (macroexp--expand-all): Rename from macroexpand-all-1.
904 2012-06-06 Sam Steingold <sds@gnu.org>
906 * calendar/calendar.el (calendar-in-read-only-buffer):
907 Call `special-mode' to enable the standard read-only keybindings.
909 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
911 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
912 with "loading" messages (bug#11635).
914 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
916 * files.el (enable-remote-dir-locals): New option.
917 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
919 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
920 Ensure, that the temp directory is local.
922 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
923 `temporary-file-directory'.
925 * progmodes/python.el (python-send-region): Ensure, that the
926 temporary file is created also in the remote case.
928 2012-06-06 Glenn Morris <rgm@gnu.org>
930 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
931 (vc-rcs-update-changelog): Use it.
933 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
935 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
936 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
937 (vc-sccs-diff): Replace use of the external vcdiff script.
939 2012-06-05 Glenn Morris <rgm@gnu.org>
941 * ledit.el: Move to obsolete/.
943 2012-06-05 Sam Steingold <sds@gnu.org>
945 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
948 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
950 * emacs-list/cust-print.el: Move to obsolete.
952 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
953 compiler-macro expansion.
955 Add native compiler-macro support.
956 * emacs-lisp/macroexp.el (macroexpand-all-1):
957 Support compiler-macros directly. Properly follow aliases and apply
958 the compiler macros more thoroughly.
959 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
960 macroexpand now properly follows aliases.
961 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
962 (cl-compiler-macroexpand): Use new prop.
963 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
965 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
967 2012-06-05 Martin Rudalics <rudalics@gmx.at>
969 * window.el (get-lru-window, get-mru-window, get-largest-window):
970 New argument NOT-SELECTED to avoid picking the selected window.
971 (window--display-buffer-1, window--display-buffer-2): Replace by
972 new function window--display-buffer
973 (display-buffer-same-window, display-buffer-reuse-window)
974 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
975 Use window--display-buffer.
976 (display-buffer-use-some-window): Remove temporary dedication
977 hack by calling get-lru-window and get-largest-window with
978 NOT-SELECTED argument non-nil. Call window--display-buffer.
980 2012-06-05 Glenn Morris <rgm@gnu.org>
982 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
983 Replace external vcdiff script.
985 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
987 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
989 2012-06-04 Chong Yidong <cyd@gnu.org>
991 * image.el (imagemagick-types-inhibit): Revert last change.
993 (imagemagick-enabled-types): Remove CIN and EPS*.
995 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
997 * emacs-lisp/cl-lib.el: Rename from cl.el.
998 * emacs-lisp/cl.el: New compatibility file.
999 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1000 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1001 to obey the "cl-" prefix.
1002 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1004 2012-06-03 Glenn Morris <rgm@gnu.org>
1006 * emacs-lisp/authors.el (authors-aliases): Addition.
1008 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1011 2012-06-03 Stefan Merten <smerten@oekonux.de>
1013 * textmodes/rst.el: Add comments.
1014 (rst-transition, rst-adornment): New faces.
1015 (rst-adornment-faces-alist): Make default safe to reevaluate.
1017 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1018 Improve customization tags.
1019 (rst-define-level-faces): Clarify meaning.
1021 2012-06-03 Chong Yidong <cyd@gnu.org>
1023 * progmodes/compile.el (compilation-mode-line-fail)
1024 (compilation-mode-line-run, compilation-mode-line-exit):
1026 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1028 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1030 * progmodes/which-func.el (which-func-update-ediff-windows):
1031 New function. Use it in ediff-select-hook (Bug#11478).
1033 2012-06-03 Chong Yidong <cyd@gnu.org>
1035 * bindings.el: Remove explicit help text from format-mode-line.
1036 It is now supplied by mode-line-default-help-echo.
1037 (mode-line-front-space, mode-line-end-spaces)
1038 (mode-line-misc-info): New variables.
1039 (mode-line-modes, mode-line-position): Move the default value to
1040 the variable definition.
1041 (mode-line-default-help-echo): New defcustom.
1042 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1043 (mode-line-modified-help-echo): New functions.
1044 (mode-line-mule-info, mode-line-modified): Use them.
1045 (mode-line-eol-desc, propertized-buffer-identification):
1046 Consistency fixes for help text.
1047 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1048 set-buffer-file-coding-system (Bug#289).
1049 (mode-line-mule-info-help-echo): Update help text.
1051 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1053 * simple.el (execute-extended-command): Set real-this-command
1056 2012-06-02 Chong Yidong <cyd@gnu.org>
1058 Remove incorrect uses of "modeline" in comments, docstrings, and
1059 function/variable names (Bug#10329).
1061 * cus-edit.el (mode-line):
1062 * dframe.el (dframe-mouse-hscroll):
1063 * emacs-lisp/re-builder.el:
1064 * emacs-lisp/easy-mmode.el (define-minor-mode):
1065 * frame.el (set-frame-name):
1066 * help.el (lookup-minor-mode-from-indicator):
1067 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1068 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1069 (c-toggle-hungry-state):
1070 * progmodes/antlr-mode.el (antlr-language-alist):
1071 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1072 * progmodes/vhdl-mode.el (vhdl-mode):
1073 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1074 * term/ns-win.el (ns-face-at-pos):
1075 * term/sup-mouse.el (sup-mouse-report):
1076 * textmodes/flyspell.el (flyspell-mode-line-string):
1077 * textmodes/ispell.el (ispell-highlight-face):
1078 * textmodes/reftex-global.el:
1079 * vc/vc-arch.el (vc-arch-mode-line-string):
1080 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1081 * vc/vc-git.el (vc-git-mode-line-string):
1082 * vc/vc-hooks.el (vc-display-status)
1083 (vc-default-mode-line-string):
1084 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1086 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1088 * dired.el (dired-sort-set-mode-line): Rename from
1089 dired-sort-set-modeline. All callers changed.
1091 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1092 eshell-status-in-modeline.
1094 * foldout.el (foldout-mode-line-string): Rename from
1095 foldout-modeline-string. All callers changed.
1096 (foldout-update-mode-line): Rename from foldout-update-modeline.
1098 * subr.el (redraw-modeline): Make into obsolete alias.
1100 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1101 timeclock-modeline-display. Make old name an alias.
1102 (timeclock-update-mode-line): Likewise. All callers changed.
1103 (timeclock-mode-line-display): No need to check before using
1105 (timeclock-relative, timeclock-day-over-hook)
1106 (timeclock-use-elapsed, timeclock-mode-string)
1107 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1109 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1110 crisp-mode-modeline-string.
1112 * play/solitaire.el (solitaire-build-mode-line): Rename from
1113 solitaire-build-modeline. All callers changed.
1115 * play/zone.el (zone-hiding-mode-line): Rename from
1116 zone-hiding-modeline. All callers changed.
1117 (zone): Remove unusued `modeline-hidden-level' property.
1119 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1120 xscheme-modeline-initialize. All callers changed.
1122 * strokes.el (strokes-lighter): Rename from
1123 strokes-modeline-string.
1125 * textmodes/sgml-mode.el (html-face-tag-alist)
1126 (html-tag-face-alist): Use mode-line face instead of obsolete
1129 2012-06-02 Stefan Merten <smerten@oekonux.de>
1131 * textmodes/rst.el: Always require `cl'.
1132 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1134 2012-06-02 Chong Yidong <cyd@gnu.org>
1136 * image.el (imagemagick-enabled-types): Rename from
1137 imagemagick-types-enable. Add many more types.
1138 (imagemagick-types-inhibit): Change default to nil.
1139 (imagemagick-filter-types): Caller changed.
1141 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1143 * emacs-lisp/cl-macs.el: Use backquotes.
1144 (cl-transform-function-property): Use eval-and-compile rather than
1146 (defstruct): Use declare-function instead of with-no-warnings.
1148 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1149 (byte-compile-output-docform): Re-add the print-circle bindings.
1150 (byte-compile-fix-header): Use #$ just because it's shorter.
1151 (byte-compile-output-file-form): Remove defun/defmacro.
1153 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1155 * simple.el (choose-completion): Remove now obsolete binding for
1158 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1160 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1161 in order to avoid "Stack overflow in regexp matcher".
1163 2012-05-31 Glenn Morris <rgm@gnu.org>
1165 * image.el: For clarity, call imagemagick-register-types at
1166 top-level, rather than relying on a custom :initialize.
1167 (imagemagick-types-enable): New option. (Bug#11557)
1168 (imagemagick-filter-types): New function. (Bug#7406)
1169 (imagemagick-register-types): Use imagemagick-filter-types.
1170 If disabling support, remove elements altogether rather
1171 than using an impossible regexp.
1172 (imagemagick-types-inhibit): Give it the default init function.
1174 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1176 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1177 Handle arbitrary file name lengths (Bug#11585).
1179 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1181 * desktop.el (desktop-read): Clear previous and next buffers for
1182 all windows and bury *Messages* buffer (bug#11556).
1184 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1186 Add `declare' for `defun'. Align `defmacro's with it.
1187 * emacs-lisp/easy-mmode.el (define-minor-mode)
1188 (define-globalized-minor-mode): Don't autoload the var definitions.
1189 * emacs-lisp/byte-run.el: Use lexical-binding.
1190 (defun-declarations-alist, macro-declarations-alist): New vars.
1191 (defmacro, defun): Use them.
1192 (make-obsolete, define-obsolete-function-alias)
1193 (make-obsolete-variable, define-obsolete-variable-alias):
1195 (macro-declaration-function): Mark obsolete.
1196 * emacs-lisp/autoload.el: Use lexical-binding.
1197 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1199 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1201 * textmodes/ispell.el (ispell-with-no-warnings):
1203 (ispell-kill-ispell, ispell-change-dictionary):
1204 Use `called-interactively-p' for Emacs instead of obsolete
1207 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1209 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1210 (macro-declaration-function): Move var from C code.
1211 (macro-declaration-function): Define function with defalias.
1212 * emacs-lisp/macroexp.el (macroexpand-all-1):
1213 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1214 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1215 defun/defmacro any more.
1216 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1217 Provide fallback for unknown arglist.
1218 (byte-compile-arglist-warn): Change calling convention.
1219 (byte-compile-output-file-form): Move print-vars binding.
1220 (byte-compile-output-docform): Simplify accordingly.
1221 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1222 (byte-compile-defmacro-declaration): Remove.
1223 (byte-compile-file-form-defmumble): Generalize to defalias.
1224 (byte-compile-output-as-comment): Return byte-positions.
1225 Simplify callers accordingly.
1226 (byte-compile-lambda): Use `assert'.
1227 (byte-compile-defun, byte-compile-defmacro): Remove.
1228 (byte-compile-file-form-defalias):
1229 Use byte-compile-file-form-defmumble.
1230 (byte-compile-defalias-warn): Remove.
1232 2012-05-29 Stefan Merten <smerten@oekonux.de>
1234 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1235 possible. Fix authors. Improve comments. Improve loading of `cl'.
1237 (rst-mode-abbrev-table): Merge definition.
1238 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1239 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1241 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1243 * calendar/icalendar.el
1244 (icalendar-export-region): Export UID properly.
1246 2012-05-29 Leo <sdl.web@gmail.com>
1247 * calendar/icalendar.el (icalendar-import-format):
1248 Add `icalendar-import-format-uid' (Bug#11525).
1249 (icalendar-import-format-uid): New.
1250 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1253 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1255 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1256 different alternative patterns.
1257 (pcase-codegen): Be more careful to preserve identity.
1258 (pcase--u1): Don't forget to mark vars as used.
1260 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1261 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1262 (byte-compile-from-buffer): ...rather than here.
1264 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1265 functions from byte-compile-function-environment.
1267 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1269 * window.el (window-deletable-p): Avoid deleting the root window
1270 of a frame with an active minibuffer.
1272 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1274 * simple.el (choose-completion): Use quit-window (Bug#11567).
1276 2012-05-29 Chong Yidong <cyd@gnu.org>
1278 * whitespace.el (whitespace-cleanup): Fix usage of
1279 whitespace-empty-at-bob-regexp (Bug#11492).
1281 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1283 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1286 2012-05-29 Juri Linkov <juri@jurta.org>
1288 * isearch.el (isearch-mode-map): Bind `M-s _' to
1289 `isearch-toggle-symbol'. Bind `M-s c' to
1290 `isearch-toggle-case-fold'.
1291 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1292 (isearch-forward): Add `M-s _' to the docstring.
1293 (isearch-forward-symbol, isearch-toggle-case-fold)
1294 (isearch-symbol-regexp): New functions. (Bug#11381)
1296 2012-05-29 Juri Linkov <juri@jurta.org>
1298 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1299 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1300 a function, call it to get the regexp.
1301 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1302 property `isearch-message-prefix' instead of the string "word ".
1303 (isearch-search-fun-default): For the case of `isearch-word',
1304 return a lambda that calls re-search-forward/re-search-backward
1305 with a regexp returned by `word-search-regexp' or by the function
1308 2012-05-29 Juri Linkov <juri@jurta.org>
1310 * isearch.el (isearch-search-fun-default): New function.
1311 (isearch-search-fun): Move default part to the new function
1312 `isearch-search-fun-default'.
1313 (isearch-search-fun-function): Set the default value to
1314 `isearch-search-fun-default'. (Bug#11381)
1316 * comint.el (comint-history-isearch-end):
1317 Use `isearch-search-fun-default'.
1318 (comint-history-isearch-search): Use `isearch-search-fun-default'
1319 and remove spacial case for `isearch-word'.
1320 (comint-history-isearch-wrap): Remove spacial case for
1323 * hexl.el (hexl-isearch-search-function):
1324 Use `isearch-search-fun-default'.
1326 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1327 Use `word-search-regexp' for `isearch-word'.
1329 * misearch.el (multi-isearch-search-fun):
1330 Use `isearch-search-fun-default'.
1332 * simple.el (minibuffer-history-isearch-search):
1333 Use `isearch-search-fun-default' and remove spacial case for
1335 (minibuffer-history-isearch-wrap): Remove spacial case for
1338 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1339 Remove spacial case for `isearch-word'.
1340 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1342 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1344 Decrease XEmacs incompatibilities.
1345 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1347 (flyspell-delete-region-overlays): Use alternative definition for
1349 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1350 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1351 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1352 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1353 `define-obsolete-face-alias' under XEmacs, but old method.
1355 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1356 `with-no-warnings' definition or Emacs alias.
1357 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1358 (ispell-word): Do not use `region-p' if XEmacs.
1360 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1362 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1363 Check for `ispell-dictionary-base-alist' instead of full
1364 `ispell-dictionary-alist'.
1365 (ispell-init-process): Show spellchecker when starting new Ispell
1368 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1370 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1371 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1373 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1375 * version.el (motif-version-string, gtk-version-string)
1376 (ns-version-string): Declare.
1378 2012-05-27 Juri Linkov <juri@jurta.org>
1380 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1381 after the `eval-defun-1' specialcaseing
1382 like in `edebug-eval-defun' (bug#10181).
1384 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1385 like in `eval-defun-1'.
1387 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1389 * mail/sendmail.el (mail-yank-region):
1390 Recognize rmail-yank-current-message in addition to insert-buffer.
1391 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1392 a *mail* buffer created through rmail-start-mail with sendmail as
1395 2012-05-27 Chong Yidong <cyd@gnu.org>
1397 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1398 Default to 256 (Bug#11267).
1400 * help.el (describe-mode): Doc fix.
1402 2012-05-26 Glenn Morris <rgm@gnu.org>
1404 * w32-fns.el (w32-init-info): Remove.
1405 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1407 * info.el (info-initialize): For self-contained NS builds, put the
1408 included info/ directory at the front. (Bug#2791)
1410 * paths.el (Info-default-directory-list): Make it a defcustom,
1411 mainly so that we can use custom-initialize-delay.
1413 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1415 * subr.el (buffer-has-markers-at): Mark obsolete.
1417 * subr.el (lambda): Use declare.
1419 * emacs-lisp/lisp-mode.el (lambda):
1420 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1422 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1424 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1426 2012-05-26 Glenn Morris <rgm@gnu.org>
1428 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1430 2012-05-25 Glenn Morris <rgm@gnu.org>
1432 * paths.el: Remove no-byte-compile.
1433 * loadup.el: No need to load paths.el uncompiled.
1435 * image.el (imagemagick-types-inhibit): Doc fix.
1437 * version.el: Remove no-byte-compile and associated formatting.
1438 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1439 is ancient code from when there was an "inc-vers.el".
1441 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1443 * progmodes/gdb-mi.el: Minor style changes.
1444 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1445 Turn into minor modes.
1446 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1447 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1448 (gdb-shell): Remove unneeded let-binding.
1449 (gdb-get-many-fields): Eliminate O(n²) behavior.
1451 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1453 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1454 platforms that don't link in fontset.c.
1456 2012-05-25 Juri Linkov <juri@jurta.org>
1458 Use the same diff color scheme as in modern VCSes (bug#10181).
1460 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1461 to avoid confusion with `diff-added' that now uses green colors.
1462 (diff-removed): Use shades of red.
1463 (diff-added): Use shades of green.
1464 (diff-changed): Leave just the yellow color.
1465 (diff-use-changed-face): New variable.
1466 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1467 how to highlight context diff changes.
1468 (diff-refine-change): Use shades of yellow.
1469 (diff-refine-removed): New face that uses shades of red.
1470 (diff-refine-added): New face that uses shades of green.
1471 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1472 `diff-refine-removed' in the call to `smerge-refine-subst'
1473 depending on the value of `diff-use-changed-face'.
1475 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1476 (smerge-other): Use shades of green.
1477 (smerge-base): Use shades of yellow.
1478 (smerge-refined-change): Empty face.
1479 (smerge-refined-removed): New face that uses shades of red.
1480 (smerge-refined-added): New face that uses shades of green.
1481 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1482 args `props-r' and `props-a', and use them. Doc fix.
1483 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1484 on its value use different faces `smerge-refined-change',
1485 `smerge-refined-removed', `smerge-refined-added' in the call to
1486 `smerge-refine-subst'.
1488 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1489 Add face condition `min-colors 88' with shades of red.
1490 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1491 `min-colors 88' with shades of green.
1492 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1493 `min-colors 88' with shades of yellow.
1495 2012-05-24 Glenn Morris <rgm@gnu.org>
1497 * paths.el (prune-directory-list, remote-shell-program): Move to...
1498 * files.el (prune-directory-list, remote-shell-program): ...here.
1499 For the latter, delay initialization, prefer ssh, just search PATH.
1501 * paths.el (term-file-prefix): Move to faces.el (the only user).
1502 * faces.el (term-file-prefix): Move here, make it a defcustom.
1504 * paths.el (news-directory, news-path, news-inews-program):
1505 Move to gnus/nnspool.el.
1507 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1509 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1510 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1511 Make the latter a defcustom, with a delayed initialization.
1513 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1514 These were deleted from Gnus itself late 2010.
1516 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1518 * progmodes/which-func.el (which-func-ff-hook):
1519 Check against user-error, not error.
1521 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1522 cl-specs.el, which no longer exists.
1524 2012-05-22 Glenn Morris <rgm@gnu.org>
1526 * info.el (info-emacs-bug): New command.
1527 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1528 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1530 2012-05-21 Glenn Morris <rgm@gnu.org>
1532 * makefile.w32-in (update-subdirs-SH):
1533 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1535 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1537 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1539 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1540 Simplify Maven regexp, and make sure the file can't start with a space
1543 2012-05-21 Glenn Morris <rgm@gnu.org>
1545 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1546 Scrap superfluous subshells.
1548 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1550 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1551 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1553 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1555 * calc/calc.el (calc-ensure-consistent-units): New variable.
1557 * calc/calc-units.el (math-consistent-units-p)
1558 (math-check-unit-consistency): New functions.
1559 (calc-quick-units, calc-convert-units):
1560 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1562 (calc-extract-units): Fix typo.
1564 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1566 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1568 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1569 (flyspell-default-deplacement-commands): Don't spell check after
1570 repeated window/frame switches (e.g. triggered by mouse-movement).
1571 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1572 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1573 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1574 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1576 (flyspell-get-casechars, flyspell-get-not-casechars):
1577 Simplify; Don't bother removing a ] just to add it back.
1578 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1580 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1582 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1584 (math-function-table): Add support for more C functions.
1586 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1588 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1589 (flyspell-debug-signal-word-checked): Protect delay handling for
1590 otherchars against empty otherchars.
1592 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1594 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1595 their respective macro declarations.
1596 * skeleton.el (define-skeleton):
1597 * progmodes/compile.el (define-compilation-mode):
1598 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1599 (define-ibuffer-filter):
1600 * emacs-lisp/generic.el (define-generic-mode):
1601 * emacs-lisp/easy-mmode.el (define-minor-mode)
1602 (define-globalized-minor-mode):
1603 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1604 * emacs-lisp/byte-run.el (defsubst):
1605 * custom.el (deftheme): Add doc-string metadata.
1607 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1609 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1611 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1613 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1615 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1616 * emacs-lisp/cl-macs.el: Idem.
1617 * emacs-lisp/cl-specs.el: Remove.
1619 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1621 Minor renaming of internal CL functions and variables.
1622 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1623 (cl--position): Rename from cl-position.
1624 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1625 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1626 (cl--random-state): Rename from *random-state*.
1628 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1630 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1631 parens around the arg list (bug#11499).
1633 2012-05-17 Juri Linkov <juri@jurta.org>
1635 * isearch.el (word-search-regexp, word-search-backward)
1636 (word-search-forward, word-search-backward-lax)
1637 (word-search-forward-lax): Move functions from search.c
1638 (bug#10145, bug#11381).
1640 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1642 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1643 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1644 normal word components.
1646 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * minibuffer.el (completion--sifn-requote): Fix last change.
1649 (minibuffer-local-must-match-filename-map):
1650 Move define-obsolete-variable-alias before its var.
1652 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1654 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1656 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1658 (completion--string-equal-p): New function.
1659 (completion--twq-all): Use it to get better assertion failure data.
1661 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1662 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1663 (shell--requote-argument): New functions.
1664 (shell-completion-vars): Use them.
1665 (shell--parse-pcomplete-arguments): Rename from
1666 shell-parse-pcomplete-arguments.
1667 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1668 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1669 Obey comint-file-name-quote-list.
1671 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1672 (smie-indent-keyword): Use it.
1674 2012-05-14 Stefan Merten <smerten@oekonux.de>
1676 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1678 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1680 * net/rlogin.el (rlogin-mode-map): Fix last change.
1682 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1684 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1685 the following \r\n using a single `process-send-string', since the
1686 Lotus SMTP server refuses to accept any commands if they are sent
1687 with two `process-send-string's (Bug#11444).
1689 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * shell.el (shell-parse-pcomplete-arguments):
1692 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1694 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1696 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1697 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1698 (image-transform-width, image-transform-fit-width): New functions.
1699 (image-transform-properties): Use them.
1700 (image-transform-check-size): New function.
1701 (image-toggle-display-image): Use it (for testing).
1702 (image-transform-set-rotation): Reduce angle mod 360.
1703 Delete obsolete comment.
1705 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1707 * image-mode.el: Fix scaling (bug#11399).
1708 (image-transform-resize): Doc fix.
1709 (image-transform-properties): Default scale is 1 and height should
1712 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1714 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1715 than hard-coding `car', to fix misbehavior when moving forward.
1717 2012-05-13 Chong Yidong <cyd@gnu.org>
1719 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1720 (tabulated-list-entries, tabulated-list-padding)
1721 (tabulated-list-sort-key): Make permanent-local.
1723 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1724 (electric-buffer-list): Put electric buffer menu
1725 command descriptions in this docstring, instead of the docstring
1726 of electric-buffer-menu-mode. Code cleanups.
1727 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1728 Electric-buffer-menu-mode.
1729 (electric-buffer-update-highlight): Minor code cleanup.
1731 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1733 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1736 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1738 Move define-obsolete-variable-alias before the var's definition.
1739 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1740 * tooltip.el (tooltip-hook):
1741 * textmodes/reftex-toc.el (reftex-toc-map):
1742 * textmodes/reftex-sel.el (reftex-select-label-map)
1743 (reftex-select-bib-map):
1744 * textmodes/reftex-index.el (reftex-index-map)
1745 (reftex-index-phrases-map):
1746 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1747 * progmodes/meta-mode.el (meta-mode-map):
1748 * novice.el (disabled-command-hook):
1749 * loadhist.el (unload-hook-features-list):
1750 * frame.el (blink-cursor):
1751 * files.el (find-file-not-found-hooks, write-file-hooks)
1752 (write-contents-hooks):
1753 * emulation/tpu-edt.el (GOLD-map):
1754 * emacs-lock.el (emacs-lock-from-exiting):
1755 * emacs-lisp/generic.el (generic-font-lock-defaults):
1756 * emacs-lisp/chart.el (chart-map):
1757 * dos-fns.el (register-name-alist):
1758 * dired-x.el (dired-omit-files-p):
1759 * desktop.el (desktop-enable):
1760 * cus-edit.el (custom-mode-hook):
1761 * buff-menu.el (buffer-menu-mode-hook):
1762 * bookmark.el (bookmark-read-annotation-text-func)
1763 (bookmark-exit-hooks):
1764 * allout.el (allout-mode-deactivate-hook)
1765 (allout-exposure-change-hook, allout-structure-added-hook)
1766 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1767 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1768 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1769 comes before the corresponding variable's definition.
1771 2012-05-12 Chong Yidong <cyd@gnu.org>
1773 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1774 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1775 (Buffer-menu-mode-map): Bind it.
1776 (Buffer-menu--pretty-name): Add a mouse-face property.
1778 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1781 (prolog-upper-case-string, prolog-lower-case-string)
1782 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1783 (prolog-use-smie, prolog-smie-grammar): New vars.
1784 (prolog-smie-forward-token, prolog-smie-backward-token)
1785 (prolog-smie-rules): New funs.
1786 (prolog-comment-indent): Remove.
1787 (prolog-mode-variables): Use default comment indentation instead.
1789 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1790 (prolog-mode): Don't call them any more.
1791 (prolog-electric-colon, prolog-electric-dash)
1792 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1794 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1796 * minibuffer.el (completion--twq-all): Again, allow case differences.
1798 * term.el: Move keymap initialization code to be more idiomatic.
1799 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1800 (term-terminal-menu): Move initialization into declaration.
1801 (term-escape-char): Let the user set it in her .emacs.
1803 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1804 Provide SMIE-based indentation (not enabled by default yet).
1805 (sh-mode-map): Don't bind electric keys.
1806 Use electric-pair-mode instead of skeleton-pair.
1807 (sh-assignment-regexp): Fit within 80 columns.
1808 (sh-indent-supported): Specify actual shell name instead of boolean.
1809 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1810 (sh-maybe-here-document): Use it. Make obsolete.
1811 (sh-electric-here-document-mode) New minor mode.
1812 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1813 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1814 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1815 (sh-smie-rc-grammar, sh-use-smie): New vars.
1816 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1817 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1818 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1819 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1820 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1821 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1822 (sh-set-shell): Use smie-setup if requested.
1824 * term.el (term-set-escape-char): Properly set term-escape-char.
1825 See http://stackoverflow.com/questions/10524656.
1827 2012-05-10 Chong Yidong <cyd@gnu.org>
1829 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1830 Use url-generic-parse-url, and handle host names and Windows
1832 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1833 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1834 URL schemes to work on.
1835 (ffap--toggle-read-only): New function.
1836 (ffap-read-only, ffap-read-only-other-window)
1837 (ffap-read-only-other-frame): Use it.
1838 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1839 necessary for ffap-url-unwrap-remote.
1841 2012-05-10 Dave Abrahams <dave@boostpro.com>
1843 * cus-start.el (create-lockfiles): Add it.
1845 2012-05-09 Chong Yidong <cyd@gnu.org>
1847 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1848 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1850 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1852 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1854 2012-05-09 Chong Yidong <cyd@gnu.org>
1856 * ansi-color.el (ansi-color-process-output): Check for validity of
1857 comint-last-output-start before using it. This avoids a bad
1858 interaction with gdb-mi's input/output buffer.
1860 2012-05-09 Glenn Morris <rgm@gnu.org>
1862 * files.el (dir-locals-read-from-file):
1863 Mention dir-locals in any error message.
1865 2012-05-09 Chong Yidong <cyd@gnu.org>
1867 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1868 package (Bug#11410).
1870 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1871 variables into description.
1873 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1875 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1876 shell-delimiter-argument-list (bug#11348).
1877 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1879 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1881 * textmodes/rst.el: Silence byte-compiler warnings.
1882 (rst-re-alist, rst-reset-section-caches): Move around.
1883 (rst-re): Use `characterp', not `char-valid-p'.
1884 (font-lock-beg, font-lock-end): Declare.
1886 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1887 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1889 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1891 2012-05-08 Glenn Morris <rgm@gnu.org>
1893 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1895 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1897 * vc/log-edit.el: Add GNU coding standards highlighting.
1898 (log-edit-font-lock-gnu-style)
1899 (log-edit-font-lock-gnu-keywords): New vars.
1900 (log-edit-font-lock-keywords): New fun.
1901 (log-edit-mode): Don't fold case in font-lock.
1902 (log-edit-font-lock-keywords): Do not assume case-folding.
1904 * imenu.el: Misc cleanup. Make docstrings out of comments.
1905 Use lexical-binding.
1906 (imenu--index-alist, imenu--last-menubar-index-alist)
1907 (imenu-menubar-modified-tick): Use defvar-local.
1908 (imenu--split-menu): Remove unused var.
1909 (imenu--cleanup-seen): Declare as global.
1910 (imenu--cleanup): Use dolist.
1912 * subr.el (defvar-local): Add debug spec and doc-string position.
1914 2012-05-08 Glenn Morris <rgm@gnu.org>
1916 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1917 * language/english.el, language/georgian.el, language/greek.el:
1918 * language/japanese.el, language/khmer.el, language/korean.el:
1919 * language/lao.el, language/misc-lang.el, language/romanian.el:
1920 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1921 * language/thai.el, language/utf-8-lang.el:
1922 Remove no-byte-compile setting.
1924 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1926 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1928 * progmodes/make-mode.el (makefile-browse):
1929 Remove unnecessary interactive. (Bug#11324)
1931 2012-05-07 Glenn Morris <rgm@gnu.org>
1933 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1935 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1937 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * loadup.el: Preload newcomment.el.
1940 * newcomment.el: Move autoload-only code to toplevel.
1942 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1943 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1944 Handle new :right-align column property.
1945 (tabulated-list-print-col): Idem, plus use `display' text-property to
1946 try and preserve alignment for variable pitch fonts.
1948 2012-05-07 Chong Yidong <cyd@gnu.org>
1950 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1951 (tabulated-list-use-header-line): New var.
1952 (tabulated-list-init-header): Use it.
1953 (tabulated-list-print-fake-header): New function.
1954 (tabulated-list-print): Use it.
1955 (tabulated-list-sort-button-map): Add non-header-line commands.
1956 (tabulated-list-init-header): Add column name property to basic
1958 (tabulated-list-col-sort): Handle non-header-line button case.
1959 (tabulated-list--sort-by-column-name): Fix a corner case.
1961 * buff-menu.el (list-buffers--refresh):
1962 Handle Buffer-menu-use-header-line.
1964 2012-05-06 Chong Yidong <cyd@gnu.org>
1966 * buff-menu.el: Convert to Tabulated List mode.
1967 (Buffer-menu-buffer+size-width): Make obsolete.
1968 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1969 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1970 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1971 documentation into docstring of buffer-menu.
1972 (Buffer-menu-toggle-files-only): Add an informative message.
1973 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1974 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1975 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1976 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1977 (Buffer-menu-execute, Buffer-menu-select)
1978 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1979 (Buffer-menu-bury): Use Tabulated List machinery.
1980 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1981 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1983 (list-buffers--refresh): New function.
1984 (list-buffers-noselect): Use it.
1985 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1986 (Buffer-menu--pretty-file-name): New helper functions.
1988 * loadup.el: Preload tabulated-list.
1990 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1991 tabulated-list-sort-column.
1992 (tabulated-list-init-header): Add the initial aligning space even
1993 if tabulated-list-padding is zero.
1995 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1997 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1998 whose cdr is not a cons cell correctly (bug#11038).
2000 2012-05-06 Chong Yidong <cyd@gnu.org>
2002 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2003 Accept additional plist in column descriptors.
2004 (tabulated-list-init-header): Obey it.
2005 (tabulated-list-get-entry): New function.
2006 (tabulated-list-put-tag): Use it. Use string-width instead of
2008 (tabulated-list--column-number): New function.
2009 (tabulated-list-print): Use it.
2010 (tabulated-list-print-col): New function.
2011 Set `tabulated-list-column-name' property on each column's text.
2012 (tabulated-list-print-entry): Use it.
2013 (tabulated-list-delete-entry, tabulated-list-set-col):
2015 (tabulated-list-sort-column): New command (Bug#11337).
2017 * buff-menu.el (list-buffers): Move C-x C-b binding from
2018 buff-menu.el to bindings.el.
2020 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2021 :advertised-binding feature.
2023 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2025 * progmodes/compile.el (compilation-internal-error-properties):
2026 Calculate start position correctly when end-col is set but
2027 end-line is not (Bug#11382).
2029 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2031 * man.el (Man-unindent): Use text-property-default-nonsticky to
2032 prevent untabify from inheriting face properties (Bug#11408).
2034 2012-05-05 Stefan Merten <smerten@oekonux.de>
2036 * textmodes/rst.el: Major merge with upstream development up to
2037 Docutils SVN r7399 / rst.el V1.2.1.
2039 Clarify maintainership and authors.
2041 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2042 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2043 (rst-official-version, rst-official-cvs-rev, rst-version)
2044 (rst-package-emacs-version-alist): New functions and variables
2045 for version information.
2047 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2048 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2049 (rst-mode-syntax-table, rst-mode): New and corrected functions
2050 and variables representing reStructuredText features.
2052 (rst-re): New function for reStructuredText regexes. Use in
2055 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2056 (rst-mode-map): Rebind keys.
2058 (rst-mode-lazy, rst-font-lock-keywords)
2059 (rst-font-lock-extend-region)
2060 (rst-font-lock-extend-region-internal)
2061 (rst-font-lock-extend-region-extend)
2062 (rst-font-lock-find-unindented-line-limit)
2063 (rst-font-lock-find-unindented-line-match)
2064 (rst-adornment-level, rst-font-lock-adornment-level)
2065 (rst-font-lock-adornment-match)
2066 (rst-font-lock-handle-adornment-pre-match-form)
2067 (rst-font-lock-handle-adornment-matcher): Major revision of
2068 font-locking. Integrate with other code. Use `jit-lock-mode'.
2070 (rst-preferred-adornments, rst-adjust-hook)
2071 (rst-new-adornment-down, rst-preferred-bullets)
2072 (rst-preferred-bullets, rst-indent, rst-indent-width)
2073 (rst-indent-field, rst-indent-literal-normal)
2074 (rst-indent-literal-minimized, rst-indent-comment): Change,
2075 extend and improve customization.
2077 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2078 (rst-normalize-cursor-position, rst-get-decoration)
2079 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2080 (rst-rstrip, rst-toc-insert-find-delete-contents)
2081 (rst-shift-fill-region, rst-compute-bullet-tabs)
2082 (rst-debug-print-tabs, rst-debug-mark-found)
2083 (rst-shift-region-guts, rst-shift-region-right)
2084 (rst-shift-region-left, rst-use-char-classes)
2085 (rst-font-lock-keywords-function)
2086 (rst-font-lock-indentation-point)
2087 (rst-font-lock-find-unindented-line-begin)
2088 (rst-font-lock-find-unindented-line-end)
2089 (rst-font-lock-find-unindented-line)
2090 (rst-font-lock-adornment-point, rst-font-lock-level)
2091 (rst-adornment-level-alist): Remove functions and variables.
2093 (rst-compare-adornments, rst-get-adornment-match)
2094 (rst-suggest-new-adornment, rst-get-adornments-around)
2095 (rst-adornment-complete-p, rst-get-next-adornment)
2096 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2097 (rst-straighten-adornments): Standardize function names to
2098 use "adornment" instead of "decoration". Correct callers.
2099 Similar standardizing in many places.
2101 (rst-update-section, rst-adjust, rst-promote-region)
2102 (rst-enumerate-region, rst-bullet-list-region)
2103 (rst-repeat-last-character): Correct use of `interactive'.
2105 (rst-classify-adornment, rst-find-all-adornments)
2106 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2107 (rst-find-leftmost-column, rst-repeat-last-character):
2110 (rst-find-title-line, rst-reset-section-caches)
2111 (rst-get-adornments-around, rst-adjust-adornment-work)
2112 (rst-arabic-to-roman, rst-roman-to-arabic)
2113 (rst-insert-list-pos, rst-insert-list-new-item)
2114 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2117 (rst-all-sections, rst-section-hierarchy)
2118 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2121 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2122 configuration instead of only buffer. Change where necessary.
2124 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2125 (rst-shift-region, rst-adaptive-fill): New functions for
2126 indentation and filling.
2128 (rst-comment-line-break, rst-comment-indent)
2129 (rst-comment-insert-comment, rst-comment-region)
2130 (rst-uncomment-region): New functions for handling comments.
2132 (rst-compile): Quote shell arguments.
2134 (rst-compile-pdf-preview, rst-compile-slides-preview):
2135 Delete temporary files after use.
2137 2012-05-05 Glenn Morris <rgm@gnu.org>
2139 * calendar/cal-html.el: Optionally include holidays in the output.
2140 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2141 (cal-html-holidays): New option.
2142 (cal-html-css-default): Add holiday entry.
2143 (holiday-in-range): Autoload it.
2144 (cal-html-htmlify-entry): Add optional class argument.
2145 (cal-html-htmlify-list): Add optional holidays argument.
2146 (cal-html-insert-agenda-days): Include holidays in the output.
2147 (cal-html-one-month): Maybe include holidays.
2149 * calendar/holidays.el (holiday-in-range):
2150 Move here from cal-tex-list-holidays.
2151 * calendar/cal-tex.el (cal-tex-list-holidays):
2152 Make it an obsolete alias for holiday-in-range. Update all callers.
2154 2012-05-05 Chong Yidong <cyd@gnu.org>
2156 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2159 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2161 * files.el (file-auto-mode-skip): New var.
2162 (set-auto-mode-1): Use it.
2164 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2166 * repeat.el: Use lexical-binding.
2167 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2168 (repeat-undo-count): Remove.
2170 * progmodes/octave-mod.el (octave-abbrev-start):
2171 * progmodes/f90.el (f90-abbrev-start):
2172 * face-remap.el (text-scale-adjust):
2173 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2175 * emacs-lisp/pcase.el (pcase--let*): New function.
2176 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2178 (pcase--split-pred): Be more clever about ruling out overlap between
2179 a predicate and some constant pattern.
2180 (pcase--q1): Use `null' instead of (eq foo nil).
2182 * subr.el (setq-local, defvar-local): New macros.
2183 (kbd): Redefine as an alias.
2184 (with-selected-window): Leave unrelated frames alone.
2185 (set-temporary-overlay-map): New function.
2187 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2189 * subr.el (user-error): New function.
2190 * window.el (switch-to-buffer):
2191 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2192 (smerge-match-conflict):
2193 * simple.el (previous-matching-history-element)
2194 (next-matching-history-element, goto-history-element, undo-more)
2196 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2197 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2198 (next-file, tags-loop-scan, list-tags, complete-tag):
2199 * progmodes/compile.el (compilation-loop):
2200 * mouse.el (mouse-minibuffer-check):
2201 * man.el (Man-bgproc-sentinel, Man-goto-page):
2202 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2203 (Info-history-forward, Info-follow-reference, Info-menu)
2204 (Info-extract-menu-item, Info-extract-menu-counting)
2205 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2206 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2207 (Info-next-reference, Info-prev-reference, Info-index)
2208 (Info-index-next, Info-follow-nearest-node)
2209 (Info-copy-current-node-name):
2210 * imenu.el (imenu--make-index-alist)
2211 (imenu-default-create-index-function, imenu-add-to-menubar):
2212 * files.el (basic-save-buffer, recover-file):
2213 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2214 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2215 (checkdoc-message-text, checkdoc-defun):
2216 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2217 * cus-edit.el (customize-changed-options, customize-rogue)
2218 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2219 (custom-variable-mark-to-reset-standard)
2220 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2222 * completion.el (check-completion-length):
2223 * comint.el (comint-search-arg)
2224 (comint-previous-matching-input-string-position)
2225 (comint-previous-matching-input)
2226 (comint-replace-by-expanded-history-before-point, comint-send-input)
2227 (comint-copy-old-input, comint-backward-matching-input)
2228 (comint-goto-process-mark, comint-set-process-mark):
2229 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2230 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2232 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2234 * dabbrev.el (dabbrev--ignore-case-p): New function.
2235 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2238 * files.el (automount-dir-prefix): Mark as obsolete.
2240 2012-05-04 Glenn Morris <rgm@gnu.org>
2242 * patcomp.el, play/bruce.el: Move to obsolete/.
2244 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2246 Fix minor Y10k bugs.
2247 * arc-mode.el (archive-unixdate):
2248 * autoinsert.el (auto-insert-alist):
2249 * calc/calc-forms.el (math-this-year):
2250 * emacs-lisp/copyright.el (copyright-current-year)
2251 (copyright-update-year, copyright):
2252 * tar-mode.el (tar-clip-time-string):
2253 * time.el (display-time-update):
2254 Don't assume years have 4 digits.
2256 2012-05-04 Chong Yidong <cyd@gnu.org>
2258 * dos-w32.el (file-name-buffer-file-type-alist)
2259 (direct-print-region-use-command-dot-com):
2260 * ffap.el (ffap-menu-regexp):
2261 * find-file.el (ff-special-constructs):
2262 * follow.el (follow-debug):
2263 * forms.el (forms--debug):
2264 * iswitchb.el (iswitchb-all-frames):
2265 * ido.el (ido-all-frames):
2266 * emacs-lisp/timer.el (timer-max-repeats):
2267 * mail/feedmail.el (feedmail-mail-send-hook)
2268 (feedmail-mail-send-hook-queued):
2269 * mail/footnote.el (footnote-signature-separator):
2270 * mail/mailabbrev.el (mail-alias-separator-string)
2271 (mail-abbrev-mode-regexp):
2272 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2273 * progmodes/idlwave.el (idlwave-libinfo-file)
2274 (idlwave-default-completion-case-is-down)
2275 (idlwave-library-routines): Convert defvars to defcustoms.
2277 * mail/rmail.el (rmail-decode-mime-charset):
2278 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2279 (idlwave-shell-fix-inserted-breaks)
2280 (idlwave-shell-activate-alt-keybindings)
2281 (idlwave-shell-use-breakpoint-glyph):
2282 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2284 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2286 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2288 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2290 * progmodes/verilog-mode.el (font-lock-keywords):
2291 Fix mis-highligting auto. Reported by Craig Barner.
2292 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2293 defines from global name space. Reported by Dan Dever.
2294 (verilog-auto-reset, verilog-auto-reset-widths)
2295 (verilog-auto-tieoff): Support using unbased numbers for
2296 AUTORESET and AUTOTIEOFF.
2297 (verilog-submit-bug-report): Update variable list.
2298 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2299 parenthesis from not matching. Reported by Michael Rytting.
2300 (verilog-auto-template-lint): Fix hash error when linting modules
2301 with no used templates.
2302 (verilog-warn, verilog-warn-error)
2303 (verilog-warn-fatal): When non-interactive report multiple
2304 warnings before exiting. Suggested by Brad Dobbie.
2305 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2306 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2307 to report unused template errors. Reported by Brad Dobbie.
2308 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2309 nets, bug438. Reported by Vns Blore.
2310 (verilog-auto-inout-module, verilog-auto-reg)
2311 (verilog-read-decls, verilog-read-sub-decls-sig)
2312 (verilog-signals-edit-wire-reg, verilog-signals-with):
2313 Fix passing of Verilog data types in ANSI input/output ports
2314 such as "output logic" into the AUTOs. Special case "wire" and
2315 "reg" for backwards compatibility presuming Verilog 2001.
2316 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2317 (verilog-preprocess): Fix replication of preprocess output.
2318 Reported by Brad Dobbie.
2319 (verilog-auto-inst-interfaced-ports):
2320 Create verilog-auto-inst-interfaced-ports, bug429.
2321 Reported by Julian Gorfajn.
2322 (verilog-after-save-font-hook)
2323 (verilog-before-save-font-hook): New variable.
2324 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2325 (verilog-save-font-mods): Wrap disabling fontification, reported
2327 (verilog-do-indent, verilog-pretty-declarations-auto)
2328 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2329 Reported by Pierre-David Pfister.
2330 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2331 of class declarations, bug292. Reported by Kevin Heilman.
2332 (verilog-read-decls): Fix 'parameter type' not appearing in
2333 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2334 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2335 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2336 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2337 Reported by David Kravitz.
2339 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2341 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2342 assignment with tests in ifs and for loops.
2343 (verilog-extended-complete-re, verilog-complete-reg): Change so
2344 that DPI inport functions don't look like fuction declarations.
2345 (verilog-pretty-expr): Don't line up assignment
2346 operations to the test and increment in if and for loops
2347 (verilog-extended-complete-re, verilog-complete-reg): Change so
2348 that DPI inport functions don't look like fuction declarations
2350 2012-05-03 Kenichi Handa <handa@m17n.org>
2352 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2353 decoding, and show a warning message without signaling an error
2356 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * emacs-lisp/bytecomp.el
2359 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2360 since cconv.el might have introduced :fun-body, internal-make-closure,
2361 and friends for bytecomp to handle (bug#11391).
2362 * custom.el (defcustom): Avoid ((λ ..) ..).
2364 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2366 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2368 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2370 * notifications.el (dbus-debug):
2371 * term/linux.el (gpm-mouse-enable):
2372 * term/screen.el (xterm-register-default-colors): Declare.
2374 2012-05-02 Chong Yidong <cyd@gnu.org>
2376 * cus-start.el (gc-cons-percentage, exec-suffixes)
2377 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2378 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2379 (make-cursor-line-fully-visible, void-text-area-pointer)
2380 (font-list-limit): Add customization data.
2382 * allout.el (allout-exposure-change-functions)
2383 (allout-structure-added-functions)
2384 (allout-structure-deleted-functions)
2385 (allout-structure-shifted-functions): Rename abnormal hooks from
2386 *-hook, and convert to defcustoms.
2387 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2388 Convert to defcustoms.
2389 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2391 * allout-widgets.el: Hook callers changed.
2393 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2395 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2396 the yanked message in preference to the default value of
2397 buffer-file-coding-system.
2399 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2401 * window.el (display-buffer--action-function-custom-type):
2404 2012-05-02 Alan Mackenzie <acm@muc.de>
2406 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2408 2012-05-01 Glenn Morris <rgm@gnu.org>
2410 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2412 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2414 * cus-edit.el (custom-variable-documentation): Simplify with format.
2416 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2417 Stefan Monnier <monnier@iro.umontreal.ca>
2419 * simple.el (suggest-key-bindings, execute-extended-command):
2420 Move from keyboard.c.
2422 2012-05-01 Chong Yidong <cyd@gnu.org>
2424 * follow.el: Eliminate advice.
2425 (set-process-filter, process-filter, sit-for): Advice deleted.
2426 (follow-mode-off-hook): Obsolete hook removed.
2427 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2429 (follow-auto): Use a :set function.
2430 (follow-mode): Rewritten. Don't advise process filters.
2431 (follow-switch-to-current-buffer-all, follow-scroll-up)
2432 (follow-scroll-down): Assume follow-mode is bound.
2433 (follow-comint-scroll-to-bottom)
2434 (follow-align-compilation-windows): New functions.
2435 (follow--window-sorter): New function.
2436 (follow-all-followers): Use it to explicitly sort windows by their
2437 positions; don't make assumptions about next-window order.
2438 (follow-windows-start-end, follow-delete-other-windows-and-split)
2439 (follow-calc-win-start): Doc fix.
2440 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2441 vertical-motion unnecessarily.
2442 (follow-adjust-window): New function.
2443 (follow-post-command-hook): Use it.
2444 (follow-call-set-process-filter, follow-call-process-filter)
2445 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2446 (follow-stop-intercept-process-output, follow-generic-filter):
2448 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2449 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2450 New functions, replacing advice on scroll-bar-* commands.
2451 (follow-mwheel-scroll): New function (Bug#4112).
2453 * comint.el (comint-adjust-point): New function.
2454 (comint-postoutput-scroll-to-bottom): Use it.
2455 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2457 2012-05-01 Glenn Morris <rgm@gnu.org>
2459 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2460 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2461 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2462 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2463 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2464 Remove no-byte-compile setting.
2466 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2468 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2469 all-completions code to not return a number in the last cdr.
2471 2012-04-30 Leo Liu <sdl.web@gmail.com>
2473 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2476 2012-04-29 Chong Yidong <cyd@gnu.org>
2478 * follow.el (follow-calc-win-end): Rewrite to handle partial
2479 screen lines correctly (Bug#8390).
2480 (follow-avoid-tail-recenter): Minor cleanup.
2482 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2484 Avoid the obsolete `assoc' package.
2485 * speedbar.el (speedbar-refresh): Avoid adelete.
2486 (speedbar-file-lists): Simplify and avoid aput.
2487 * man.el (Man--sections, Man--refpages): New vars, replacing
2488 Man-sections-alist and Man-refpages-alist.
2489 (Man-build-section-alist, Man-build-references-alist):
2490 Use them; avoid aput.
2491 (Man--last-section, Man--last-refpage): New vars.
2492 (Man-follow-manual-reference): Use them.
2493 Use the `default' arg of completing-read.
2494 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2496 2012-04-27 Chong Yidong <cyd@gnu.org>
2498 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2500 * startup.el (x-apply-session-resources): New function.
2502 * term/ns-win.el (ns-initialize-window-system):
2503 * term/w32-win.el (w32-initialize-window-system):
2504 * term/x-win.el (x-initialize-window-system): Use it to properly
2505 set menu-bar-mode and other vars from X resources, even if the
2506 initial frame is not a window-system frame (Bug#2299).
2508 * subr.el (read-key): Avoid running filter function when setting
2509 up temporary tool bar entries (Bug#9922).
2511 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2513 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2516 2012-04-27 Chong Yidong <cyd@gnu.org>
2518 * select.el (xselect--encode-string): New function, split from
2519 xselect-convert-to-string.
2520 (xselect-convert-to-string): Use it.
2521 (xselect-convert-to-filename, xselect-convert-to-os)
2522 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2523 returned strings are properly encoded (Bug#11315).
2525 2012-04-27 Chong Yidong <cyd@gnu.org>
2527 * simple.el (delete-active-region): Move to killing custom group.
2529 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2531 * progmodes/which-func.el (which-func-current): Quote %
2532 characters for mode-line processing.
2534 2012-04-27 Chong Yidong <cyd@gnu.org>
2536 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2537 reaching eob (Bug#11286).
2539 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2541 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2542 (gdb): Make it buffer-local and init to zero.
2543 (gdb-control-commands-regexp): New variable.
2544 (gdb-send): Don't wrap in "-interpreter-exec console" if
2545 gdb-control-level is positive. Increment gdb-control-level
2546 whenever the command matches gdb-control-commands-regexp, and
2547 decrement it each time the command is "end". (Bug#11279)
2549 2012-04-27 Martin Rudalics <rudalics@gmx.at>
2551 * window.el (adjust-window-trailing-edge, enlarge-window)
2552 (shrink-window, window-resize):
2553 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2554 windows (Bug#11276).
2556 2012-04-27 Chong Yidong <cyd@gnu.org>
2558 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2559 fix "missing prefix" warning. All callers changed.
2561 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * emacs-lisp/assoc.el: Move to obsolete/.
2565 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2567 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2569 * term/ns-win.el (ns-define-service):
2570 * progmodes/pascal.el (pascal-goto-defun):
2571 * progmodes/js.el (js--read-tab):
2572 * progmodes/etags.el (tags-lazy-completion-table):
2573 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2574 * emacs-lisp/ewoc.el (ewoc--wrap):
2575 * emacs-lisp/assoc.el (aput, adelete, amake):
2576 * doc-view.el (doc-view-convert-current-doc):
2577 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2579 2012-04-26 Chong Yidong <cyd@gnu.org>
2581 * image.el (image-type-from-buffer): Only return supported image
2584 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2585 value, for symmetry with diff-end-of-hunk.
2586 (diff-split-hunk, diff-find-source-location)
2587 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2588 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2589 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2590 compute the relevant hunk or file properly (Bug#6005).
2591 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2593 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2602 * vc/vc.el: Replace lexical-let by lexical-binding.
2603 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2604 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2605 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2607 2012-04-26 Chong Yidong <cyd@gnu.org>
2609 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2610 (diff-mode-shared-map): Bind it to / and [remap undo].
2612 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2613 (ediff-window-setup-function): Use it as the default, to set up
2614 windows based on whether the current frame is graphical (Bug#2138).
2615 (ediff-choose-window-setup-function-automatically): Make obsolete.
2617 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2619 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2621 * ffap.el: Remove old code for obsolete package.
2622 (ffap-complete-as-file-p): Remove.
2624 Use completion-table-with-quoting for comint and pcomplete.
2625 * comint.el (comint--unquote&requote-argument)
2626 (comint--unquote-argument, comint--requote-argument): New functions.
2627 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2628 (comint-quote-filename): Use regexp-opt-charset.
2629 (comint--common-suffix, comint--common-quoted-suffix)
2630 (comint--table-subvert): Remove.
2631 (comint-unquote-function, comint-requote-function): New vars.
2632 (comint--complete-file-name-data): Use them with
2633 completion-table-with-quoting.
2634 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2635 * pcomplete.el (pcomplete-arg-quote-list)
2636 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2637 (pcomplete-unquote-argument-function): Default to non-nil.
2638 (pcomplete-unquote-argument): Simplify.
2639 (pcomplete--common-quoted-suffix): Remove.
2640 (pcomplete-requote-argument-function): New var.
2641 (pcomplete--common-suffix): New function.
2642 (pcomplete-completions-at-point): Use completion-table-with-quoting
2643 and completion-table-subvert.
2645 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2646 (minibuffer--double-dollars): Preserve properties.
2647 (completion--sifn-requote): New function.
2648 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2650 * minibuffer.el: Add support for completion of quoted/escaped data.
2651 (completion-table-with-quoting, completion-table-subvert): New funs.
2652 (completion--twq-try, completion--twq-all): New functions.
2653 (completion--nth-completion): New function.
2654 (completion-try-completion, completion-all-completions): Use it.
2656 2012-04-25 Leo Liu <sdl.web@gmail.com>
2658 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2659 Use compilation-message if available to find real filename.
2661 2012-04-25 Chong Yidong <cyd@gnu.org>
2663 * vc/diff-mode.el (diff-setup-whitespace): New function.
2664 (diff-mode): Use it.
2666 * vc/diff.el (diff-sentinel):
2667 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2668 Whitespace mode variables based on diff style (Bug#8612).
2670 2012-04-25 Leo Liu <sdl.web@gmail.com>
2672 * progmodes/python.el (python-send-region): Add suffix .py to the
2675 * files.el (auto-mode-alist): Use javascript-mode instead.
2677 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2679 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2681 * soap-client.el (soap-resolve-references-for-sequence-type)
2682 (soap-resolve-references-for-array-type): Hack to prevent self
2683 references, see Bug#9.
2684 (soap-parse-envelope): Report the contents of the 'detail' node
2685 when receiving a fault reply.
2686 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2688 * soap-inspect.el (soap-sample-value-for-simple-type)
2689 (soap-inspect-simple-type): New function.
2691 * soap-client.el (soap-simple-type): New struct.
2692 (soap-default-xsd-types, soap-default-soapenc-types)
2693 (soap-decode-basic-type, soap-encode-basic-type):
2694 support unsignedInt and double basic types.
2695 (soap-resolve-references-for-simple-type)
2696 (soap-parse-simple-type, soap-encode-simple-type): New function.
2697 (soap-parse-schema): Parse xsd:simpleType declarations.
2699 * soap-client.el (soap-default-xsd-types)
2700 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2701 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2702 the local name of "soapenc:Array".
2703 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2704 decoding integer, byte and anyURI xsd types.
2706 2012-04-25 Chong Yidong <cyd@gnu.org>
2708 * cus-edit.el (custom-buffer-create-internal): Update header text.
2710 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2712 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2713 settings on 'system-type', not on 'window-system'. On MS-Windows,
2714 set interactive-mode on in GDB.
2716 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2718 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2719 (ruby-syntax-propertize-regexp): Remove.
2720 (ruby-syntax-propertize-function): Split regexp into chunks.
2721 Match following code directly.
2723 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2725 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2726 (ruby-syntax-propertize-regexp): New function.
2727 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2728 by a special keyword.
2730 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2731 (ruby-syntax-general-delimiters-goto-beg)
2732 (ruby-syntax-propertize-general-delimiters): New functions.
2733 (ruby-syntax-propertize-function): Use them to handle GDL.
2734 (ruby-font-lock-keywords): Move old handling of GDL...
2735 (ruby-font-lock-syntactic-keywords): .. to here.
2736 (ruby-calculate-indent): Adjust indentation for GDL.
2738 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2740 * notifications.el (top): Remove unneeded declarations.
2741 (notifications-specification-version): Change to "1.2".
2742 (notifications-interface, notifications-notify-method)
2743 (notifications-close-notification-method): Fix docstring.
2744 (notifications-get-capabilities-method): New defconst.
2745 (notifications-notify): Add :action-items, :resident and
2746 :transient hints. Change "image_data" to "image-data" and
2747 "image_path" to "image-path".
2748 (notifications-get-capabilities): New defun.
2750 2012-04-24 Leo Liu <sdl.web@gmail.com>
2752 * progmodes/python.el: Move hideshow setup to the end.
2754 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2756 * window.el (handle-select-window): Clear echo area since this is
2757 no more done by read_char (Bug#11304).
2759 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2761 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2762 and `/ M' to filter-derived-mode.
2763 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2764 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2765 (ibuffer-mark-by-mode): Use default rather than initial-input.
2766 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2768 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2770 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2771 (ibuffer-filter-by-derived-mode): New filter.
2772 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2774 2012-04-23 Andreas Politz <politza@fh-trier.de>
2776 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2778 2012-04-23 Chong Yidong <cyd@gnu.org>
2780 * cus-edit.el (customize-apropos, customize-apropos-options):
2781 Disable matching of non-option variables (Bug#11176).
2782 (customize-option, customize-option-other-window)
2783 (customize-changed-options): Doc fix.
2784 (customize-apropos-options, customize-apropos-faces)
2785 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2787 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2788 Fix word list splitting (Bug#11132).
2789 (apropos-symbol, apropos-keybinding, apropos-label)
2790 (apropos-property, apropos-function-button)
2791 (apropos-variable-button, apropos-misc-button): New faces.
2792 (apropos-symbol-face, apropos-keybinding-face)
2793 (apropos-label-face, apropos-property-face, apropos-match-face):
2794 Variables removed (Bug#8396).
2795 (apropos-library-button, apropos-format-plist, apropos-print)
2796 (apropos-print-doc, apropos-describe-plist): Callers changed.
2798 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2800 * net/xesam.el (xesam-mode-map): Use let-bound map in
2801 initialization. (Bug#11292)
2803 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2805 Preserve ispell session localwords when switching back to
2808 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2809 variable to hold buffer session localwords.
2810 (ispell-kill-ispell): add option 'clear to delete session
2812 (ispell-command-loop, ispell-change-dictionary)
2813 (ispell-buffer-local-words): Preserve session localwords when
2816 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2817 Preserve session localwords when needed.
2819 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2821 * ispell.el (ispell-insert-word) Remove unneeded function using
2822 obsolete `translation-table-for-input'.
2823 (ispell-word, ispell-process-line, ispell-complete-word):
2824 Use plain `insert' instead of removed `ispell-insert-word'.
2826 2012-04-22 Chong Yidong <cyd@gnu.org>
2828 * cus-edit.el (custom-variable-menu)
2829 (custom-variable-reset-saved, custom-face-menu)
2830 (custom-face-reset-saved): If there is no saved value, make the
2831 "reset-saved" operation bring back the default (Bug#9509).
2832 (custom-face-state): Properly detect themed faces.
2834 * faces.el (face-spec-set): Stop supporting deprecated form of
2837 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2839 Move functions from C to Lisp. Make non-blocking method calls
2840 the default. Implement further D-Bus standard interfaces.
2842 * net/dbus.el (dbus-message-internal): Declare function.
2843 Remove unneeded function declarations.
2844 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2845 (dbus-message-type-method-return, dbus-message-type-error)
2846 (dbus-message-type-signal): Declare variables. Remove local
2848 (dbus-interface-dbus, dbus-interface-peer)
2849 (dbus-interface-introspectable, dbus-interface-properties)
2850 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2852 (dbus-interface-objectmanager): New defconst.
2853 (dbus-call-method, dbus-call-method-asynchronously)
2854 (dbus-send-signal, dbus-method-return-internal)
2855 (dbus-method-error-internal, dbus-register-service)
2856 (dbus-register-signal, dbus-register-method): New defuns, moved
2858 (dbus-call-method-handler, dbus-setenv)
2859 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2861 (dbus-call-method-non-blocking): Make it an obsolete function.
2862 (dbus-unregister-object, dbus-unregister-service)
2863 (dbus-handle-event, dbus-register-property)
2864 (dbus-property-handler): Obey the new structure of
2865 `bus-registered-objects'.
2866 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2867 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2868 Use `dbus-call-method'.
2870 2012-04-22 Chong Yidong <cyd@gnu.org>
2872 * cus-edit.el (custom-commands, custom-reset-menu)
2873 (Custom-reset-standard): Tweak labels.
2874 (custom-reset-button-menu): Change default to t.
2875 (custom-buffer-create-internal): For the custom-reset-button-menu
2876 case, put the revert button first.
2877 (custom-group-subtitle): New face.
2878 (custom-group-value-create): Align docstring to a specific column.
2880 * wid-edit.el (widget-documentation-link-add): Don't handle
2881 indentation in this function.
2882 (widget-documentation-string-indent-to): New function.
2883 (widget-documentation-string-value-create): Use it.
2885 * autorevert.el (auto-revert):
2886 * epg-config.el (epg):
2887 * ibuffer.el (ibuffer):
2890 * eshell/eshell.el (eshell):
2891 * net/ange-ftp.el (ange-ftp):
2892 * progmodes/ebnf2ps.el (postscript):
2893 * progmodes/flymake.el (flymake):
2894 * progmodes/prolog.el (prolog):
2895 * progmodes/verilog-mode.el (verilog-mode):
2896 * progmodes/which-func.el (which-func):
2897 * term/xterm.el (xterm):
2898 * textmodes/picture.el (picture):
2899 * textmodes/tildify.el (tildify):
2900 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2901 customization buffers.
2903 2012-04-22 Alan Mackenzie <acm@muc.de>
2905 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2906 Adding a ) can hide the resulting (..) from searches. Fix it.
2907 Bound the backward search to the position of the existing (.
2909 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2911 * progmodes/verilog-mode.el (verilog-mode): Check whether
2912 which-func-modes is t before adding verilog-mode.
2913 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2915 2012-04-21 Leo Liu <sdl.web@gmail.com>
2917 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2919 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2921 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2922 filling of the last column of a table (Bug#5635).
2923 (woman-find-next-control-line): New arg, specifying an additional
2924 regexp component for the control line.
2925 (woman2-roff-buffer): Use it.
2926 (woman-break-table): New function.
2927 (woman2-TS): Use it.
2929 2012-04-21 Chong Yidong <cyd@gnu.org>
2931 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2932 (woman-horizontal-escapes, woman-negative-vertical-space)
2933 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2934 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2936 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2938 * minibuffer.el (completion-file-name-table): Complete user names.
2940 2012-04-20 Leo Liu <sdl.web@gmail.com>
2942 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2945 2012-04-20 Chong Yidong <cyd@gnu.org>
2947 * server.el (server-execute): Respect initial-buffer-choice if it
2948 is a string and there are no files to open (Bug#2825).
2949 (server-create-window-system-frame, server-create-tty-frame):
2950 Don't switch buffers here.
2951 (server-process-filter): Only try to open a window system frame if
2952 compiled with graphical support (Bug#8314).
2954 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2956 * battery.el (battery-echo-area-format): Display remaining time
2957 for sysfs backend too (Bug#11269).
2958 (battery-linux-sysfs): Fix conditional for the charge.
2960 2012-04-20 Chong Yidong <cyd@gnu.org>
2962 * progmodes/gdb-mi.el (gdb): Revert previous change.
2963 (gdb-inferior-io--init-proc): New function.
2964 (gdb-init-1): Use it.
2965 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2966 responsible for allocating a new pty and hooking it to gdb when
2967 the old pty gets an EIO due to process exit.
2968 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2969 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2970 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2972 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2974 * window.el (window-min-size, window-sizable, window-min-delta)
2975 (window-max-delta, window--resizable, window-resizable)
2976 (window-total-size, window-full-height-p, window-full-width-p)
2977 (window-in-direction, window--resize-mini-window, window-resize)
2978 (window--resize-child-windows-normal)
2979 (window--resize-child-windows, window--resize-siblings)
2980 (window--resize-this-window, adjust-window-trailing-edge)
2981 (enlarge-window, shrink-window): Doc fixes.
2983 2012-04-20 Chong Yidong <cyd@gnu.org>
2985 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2986 New function to call delete-process on the gdb-inferior buffer's pty.
2987 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2988 pty process (Bug#11273).
2989 (gdb-update): New arg to suppress talking to the gdb process.
2990 (gdb-done-or-error): Use it.
2991 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2992 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2993 sentinel not being called.
2995 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2997 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2999 2012-04-20 Glenn Morris <rgm@gnu.org>
3001 * net/network-stream.el (open-network-stream): Doc fix.
3003 2012-04-20 Chong Yidong <cyd@gnu.org>
3005 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3007 2012-04-20 Alan Mackenzie <acm@muc.de>
3009 Ensure searching for keywords is case sensitive.
3011 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3012 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3013 (c-defun-name, c-mark-function, c-cpp-define-name)
3014 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3015 (c-context-line-break): Bind case-fold-search to nil.
3017 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3018 Bind case-fold-search to nil.
3020 2012-04-20 Chong Yidong <cyd@gnu.org>
3022 * mail/sendmail.el (mail-bury): Call return action with the right
3023 Rmail buffer (Bug#11242).
3025 * server.el (server-process-filter): Handle corner case where both
3026 tty and nowait options are present (Bug#11102).
3028 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3030 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3031 (top level): Put into the executable the ident-style '$Id:' tag on
3034 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3036 * electric.el (electric-indent-post-self-insert-function): Check that
3037 electric-indent-mode is enabled in current buffer.
3039 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3041 * imenu.el (imenu-progress-message): Restore; it is "used" in
3042 erc/erc-imenu.el and net/snmp-mode.el.
3044 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3046 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3047 (mouse-avoidance-nudge-mouse): Remove unused binding.
3049 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3051 * descr-text.el (describe-char):
3052 * progmodes/python.el (python-describe-symbol):
3053 Don't call `toggle-read-only', set `buffer-read-only'.
3055 * imenu.el (imenu-default-goto-function): Mark unused args.
3056 (imenu-progress-message): Remove obsolete macro; all callers changed.
3058 * subr.el (keymap-canonicalize): Remove unused binding.
3059 (read-passwd): Mark unused arg.
3061 * tutorial.el (tutorial--display-changes): Remove unused binding.
3062 (tutorial--save-tutorial-to): Remove unused variable.
3064 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3065 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3066 (package-generate-autoloads, package-menu--generate)
3067 (package-menu--find-upgrades): Remove unused bindings.
3069 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3070 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3071 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3072 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3073 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3074 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3075 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3076 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3077 (cua-delete-char-rectangle): Mark unused args.
3078 (cua-align-rectangle): Remove unused binding.
3080 * mail/rmail.el (compilation--message->loc)
3081 (epa--find-coding-system-for-mime-charset): Declare.
3083 * net/dbus.el (dbus-register-service): Declare.
3084 (dbus-name-owner-changed-handler): Remove unused binding.
3086 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3087 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3088 (nxml-scan-backward-within): Mark unused arg.
3089 (nxml-dynamic-markup-word): Remove unused binding.
3091 * mouse.el (mouse-menu-major-mode-map):
3092 * emacs-lisp/authors.el (authors-scan-change-log)
3093 (authors-add-to-author-list):
3094 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3095 * emacs-lisp/smie.el (smie-auto-fill):
3096 * mail/sendmail.el (mail-bury):
3097 * mail/unrmail.el (unrmail):
3098 * net/tls.el (open-tls-stream):
3099 * textmodes/picture.el (picture-mouse-set-point):
3100 Remove unused bindings.
3102 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3104 * net/tramp.el (tramp-action-password): Let-bind
3105 `enable-recursive-minibuffers' to t.
3107 2012-04-18 Sam Steingold <sds@gnu.org>
3109 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3110 instead of 'string to accommodate values like [f11].
3111 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3112 * progmodes/gdb-mi.el: Likewise.
3114 2012-04-18 Leo Liu <sdl.web@gmail.com>
3116 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3118 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3121 2012-04-18 Chong Yidong <cyd@gnu.org>
3123 * simple.el (line-move): Use forward-line if in batch mode
3126 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3128 * files.el (after-find-file): Do not try to add a final newline if
3129 the buffer is read-only (Bug#11156).
3131 2012-04-17 Richard Stallman <rms@gnu.org>
3133 * mail/rmail.el (rmail-start-mail):
3134 Pass (rmail-mail-return...) for the return-action.
3135 Pass (rmail-yank-current-message...) for the yank-action.
3136 (rmail-yank-current-message): New function.
3137 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3138 (rmail-reply): Likewise.
3139 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3141 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3142 buffer, not the last. Reject temp buffers. Use the rmail-mode
3145 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3147 * server.el (server-ensure-safe-dir): Simplify.
3149 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3151 * emacs-lisp/smie.el: Provide smarter auto-filling.
3152 (smie-auto-fill): New function.
3153 (smie-setup): Use it.
3155 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3157 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3159 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3160 (comment-indent): Use it.
3162 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3164 * ses.el: The overall change is to add cell renaming, that is
3165 setting fancy names for cell symbols other than name matching
3166 "\\`[A-Z]+[0-9]+\\'" regexp .
3167 (ses-localvars): Add ses--renamed-cell-symb-list.
3168 (ses-create-cell-variable): New defun.
3169 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3170 (ses-relocate-formula): Relocate formulas only for cells the
3171 symbols of which are not renamed, i.e. symbols whose names do not
3172 match regexp "\\`[A-Z]+[0-9]+\\'".
3173 (ses-relocate-all): Relocate values only for cells the symbols of
3174 which are not renamed.
3175 (ses-load): Create cells variables as the (ses-cell ...) are read,
3176 in order to check row col consistency with cell symbol name only
3177 for cells that are not renamed.
3178 (ses-replace-name-in-formula): New defun.
3179 (ses-rename-cell): New defun.
3181 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3183 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3184 New option (bug#11118).
3185 (perl-calculate-indent): Respect it.
3187 2012-04-17 Glenn Morris <rgm@gnu.org>
3189 * dired-aux.el (dired-mark-read-string): Doc fix.
3191 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3193 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3194 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3196 2012-04-17 Glenn Morris <rgm@gnu.org>
3198 * mouse.el (mouse-drag-track):
3199 * speedbar.el (speedbar-frame-mode):
3200 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3202 2012-04-16 Leo Liu <sdl.web@gmail.com>
3204 * progmodes/python.el: Trivial cleanup.
3206 2012-04-16 Glenn Morris <rgm@gnu.org>
3208 * vc/vc.el (vc-string-prefix-p):
3209 * vc/pcvs-util.el (cvs-string-prefix-p):
3210 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3211 * mpc.el (mpc-string-prefix-p):
3212 Make all of these into obsolete aliases for string-prefix-p.
3214 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3216 * textmodes/two-column.el: Move custom options to the start.
3217 (frame-width): Remove compat definition.
3218 (2C-associate-buffer, 2C-dissociate):
3219 Use with-current-buffer rather than save-excursion.
3220 (2C-dissociate): Force a mode-line update.
3221 (2C-autoscroll): Use ignore-errors.
3223 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3226 * emacs-lisp/cl-extra.el (*random-state*):
3227 Remove unnecessary declaration.
3229 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3231 * play/cookie1.el (cookie-snarf):
3232 Give an explicit error if input file cannot be read.
3234 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3236 * progmodes/perl-mode.el (c-macro-expand):
3237 Remove unnecessary autoload (it is in loaddefs.el).
3239 * textmodes/picture.el (picture-desired-column)
3240 (picture-update-desired-column): Convert comments to doc-strings.
3241 (picture-substitute): Remove function.
3242 (picture-mode-map): Initialize in the defvar.
3244 * woman.el: Remove eval-after-load for tar-mode.
3245 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3246 (woman-tar-extract-file): Autoload it.
3248 * frame.el (automatic-hscrolling): Make this alias obsolete.
3250 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3252 * ispell.el (ispell-set-spellchecker-params): Post-process
3253 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3254 (ispell-dictionary-base-alist): Revert to original XEmacs
3255 friendly version for default. [:alpha:] will be added in
3256 `ispell-set-spellchecker-params' if needed
3258 2012-04-16 Chong Yidong <cyd@gnu.org>
3260 * image.el (imagemagick--extension-regexp): New variable.
3261 (imagemagick-register-types): Use it.
3262 (imagemagick-types-inhibit): Add :set function. Allow new value
3263 of t to inhibit all types.
3265 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3266 so we can preload it.
3268 * loadup.el (fboundp): Preload regexp-opt, needed by
3269 imagemagick-register-types.
3271 2012-04-15 Chong Yidong <cyd@gnu.org>
3273 * frame.el (scrolling): Remove nearly unused customization group.
3275 * scroll-all.el (scroll-all-mode): Move to windows group.
3277 2012-04-15 Chong Yidong <cyd@gnu.org>
3279 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3281 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3283 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3284 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3286 2012-04-15 Glenn Morris <rgm@gnu.org>
3288 * simple.el (process-file-side-effects): Doc fix.
3290 2012-04-15 Glenn Morris <rgm@gnu.org>
3292 * international/mule-cmds.el (set-language-environment): Doc fix.
3294 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3296 * server.el (server-auth-key, server-generate-key): Doc fixes.
3297 (server-get-auth-key): Doc fix. Use `string-match-p'.
3298 (server-start): Reflow docstring.
3300 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3302 * server.el (server-generate-key): `called-interactively-p'
3303 requires a parameter.
3305 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3307 * server.el (server-auth-key): New variable.
3308 (server-generate-key, server-get-auth-key): New function.
3309 (server-start): Use the new variable and functions to allow
3310 setting a permanent server key (bug#9423).
3312 2012-04-14 Leo Liu <sdl.web@gmail.com>
3314 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3316 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3319 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3320 Emacs uses American spelling.
3322 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3324 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3325 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3326 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3327 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3329 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * progmodes/which-func.el (which-func-modes): Change default.
3333 2012-04-14 Kim F. Storm <storm@cua.dk>
3335 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3336 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3338 2012-04-14 Chong Yidong <cyd@gnu.org>
3340 * custom.el (custom-theme-set-variables): Doc fix.
3342 2012-04-14 Glenn Morris <rgm@gnu.org>
3344 * international/mule.el (set-auto-coding-for-load): Doc fix.
3346 2012-04-14 Alan Mackenzie <acm@muc.de>
3348 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3349 imenu work again for Objective C Mode. Correct the *-index values,
3350 these having been disturbed by a previous change in 2011-08.
3352 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3353 Correct two search limits.
3355 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3357 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3359 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3361 * international/characters.el: Fix sorting.
3363 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3365 * international/characters.el: Add more missing Latin case pairs.
3367 2012-04-14 Glenn Morris <rgm@gnu.org>
3369 * files.el (dir-locals-set-class-variables): Doc fix.
3371 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3373 * international/characters.el: Add set-case-syntax-pair call for
3374 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3375 counterpart. (Bug#11209)
3377 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3379 2012-04-14 Glenn Morris <rgm@gnu.org>
3381 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3383 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3385 * textmodes/ispell.el (ispell-dictionary-base-alist):
3386 Add data for Hebrew.
3388 2012-04-14 Chong Yidong <cyd@gnu.org>
3390 * net/rcirc.el (rcirc-cmd-quit):
3391 Revert 2012-03-18 change (Bug#11192).
3393 2012-04-14 Glenn Morris <rgm@gnu.org>
3395 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3397 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3399 * minibuffer.el (completion-in-region-mode-map):
3400 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3402 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3404 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3406 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3408 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3409 to allow `C-M-f' and `C-M-b' to move to the nearest path
3410 separator (bug#9511).
3412 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3414 * avoid.el: Require cl when compiling. And also move the
3415 `provide' to the end.
3417 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3419 * avoid.el (mouse-avoidance-banish-position): New variable.
3420 (mouse-avoidance-banish-destination): Use it (bug#10165).
3422 2012-04-13 Leo Liu <sdl.web@gmail.com>
3424 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3426 2012-04-13 Ken Brown <kbrown@cornell.edu>
3428 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3429 this is no longer needed now that cygstart understands file:// URLs.
3430 (browse-url-filename-alist): For the same reason, don't modify
3431 file:// URLs on Cygwin.
3433 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3435 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3436 the region on shift if the binding is already shifted (bug#11221).
3438 2012-04-12 Glenn Morris <rgm@gnu.org>
3440 * mail/mailpost.el: Move to obsolete/.
3442 2012-04-12 Drew Adams <drew.adams@oracle.com>
3444 * imenu.el (imenu--generic-function): Ignore invisible definitions
3447 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3449 * hexl.el (hexl-bits): New variable.
3450 (hexl-options): Mention the variable in the doc string.
3451 (hexl-rulerise, hexl-line-displen): New functions.
3452 (hexl-mode): Mention the new variable.
3453 (hexl-mode, hexl-current-address, hexl-current-address):
3455 (hexl-ascii-start-column): New function.
3456 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3457 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3459 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3461 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3462 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3463 the encoding, as expected by hunspell.
3465 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3467 * battery.el (battery--linux-sysfs-regexp): New const.
3468 (battery-status-function): Use it. Remove yeeloong special case.
3469 (battery-yeeloong-sysfs): Remove.
3470 (battery-echo-area-format): Remove yeeloong special case.
3472 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3474 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3475 Reported by Noah Friedman.
3477 * subr.el (read-passwd): Use read-string.
3479 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3481 * vcursor.el (vcursor-move): Increase the priority of the overlay
3484 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3486 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3487 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3489 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3491 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3492 define-minor-mode (bug#10760).
3494 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3496 * progmodes/grep.el (rgrep): Tweak the find command line so
3497 that directories matching `grep-find-ignored-files' won't be
3500 2012-04-11 Chong Yidong <cyd@gnu.org>
3502 * startup.el (command-line): Remove support for long-obsolete
3503 variable font-lock-face-attributes.
3505 2012-04-11 Glenn Morris <rgm@gnu.org>
3507 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3509 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3511 * window.el (window--state-get-1): Obey window-point-insertion-type.
3513 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3515 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3516 to previous function when point is on the first character of a
3517 function. Take care of that in `narrow-to-defun' (bug#6157).
3519 2012-04-11 Glenn Morris <rgm@gnu.org>
3521 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3522 not just file-errors.
3524 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3525 (vc-bzr-sha1): Use internal sha1.
3527 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3531 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3533 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3534 that start in the middle of the line (bug#10496).
3536 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3538 * battery.el (battery-linux-proc-acpi): Only one battery is
3539 discharged at a time, but that seems to confuse battery.el when
3540 computing `rate-type' for the battery not being discharged
3543 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3545 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3547 * international/quail.el: Use dolist and simplify.
3548 (quail-define-package, quail-update-keyboard-layout)
3549 (quail-define-rules): Use dolist.
3550 (quail-insert-kbd-layout, quail-get-translation): CSE.
3552 * tmm.el: Use dolist, remove left over hook.
3553 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3555 (calendar-load-hook): Don't mess with it.
3557 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3558 Use derived-mode-p. Run the diff asynchronously.
3560 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3562 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3564 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
3566 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3567 (list-dynamic-libraries--loaded): New function.
3568 (list-dynamic-libraries--refresh): Use it.
3570 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
3572 * progmodes/python.el (python-fill-paragraph):
3573 Make python-fill-region in a multiline string work when font-lock is
3574 disabled (bug#7018).
3576 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3578 * language/european.el (cp775): Add oem/legacy (en)coding on
3579 DOS/MS Windows for the Baltic languages. There are still plenty
3580 of texts written in this encoding/codepage (bug#6519).
3582 2012-04-10 Glenn Morris <rgm@gnu.org>
3584 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3585 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3587 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3589 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3590 next-line "n" and previous-line "p" in order to make recentf more
3591 consistent with ibuffer, dired or org-mode (bug#9387).
3593 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3595 * image.el (put-image): Return the overlay created instead of the
3596 optional input string (bug#7834). Note that this may break code
3597 that is (for some reason or other) depending on `put-image'
3598 returning the string.
3600 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3602 * simple.el (zap-to-char): Allow zapping using input methods
3605 * textmodes/fill.el (fill-region): Leave point and mark where they
3606 were before filling (bug#5399).
3608 2012-04-09 Glenn Morris <rgm@gnu.org>
3610 * version.el (emacs-bzr-get-version):
3611 Handle lightweight checkouts of local branches.
3613 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3615 * international/characters.el: Recover lost case pairs. (Bug#11209)
3617 2012-04-09 Chong Yidong <cyd@gnu.org>
3619 * custom.el (custom-variable-p): Return nil for non-symbol
3620 arguments instead of signaling an error.
3621 (user-variable-p): Obsolete alias for custom-variable-p.
3623 * apropos.el (apropos-variable):
3624 * files-x.el (read-file-local-variable):
3625 * simple.el (set-variable):
3626 * woman.el (woman-mini-help):
3627 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3629 2012-04-09 Glenn Morris <rgm@gnu.org>
3631 * startup.el (normal-top-level): Don't look for leim-list.el
3632 in places where it will not be found. (Bug#910)
3634 * international/mule-cmds.el (set-default-coding-systems):
3635 * files.el (normal-mode):
3636 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3637 This function was removed with ucs-tables.el in 2008.
3639 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3641 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3642 ispell-encoding8-command to "-i", without a trailing space.
3643 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3644 separate command-line arguments, to specify the encoding, since
3645 that's how hunspell expects it.
3647 2012-04-08 Glenn Morris <rgm@gnu.org>
3649 * loadup.el: Load bindings before cus-start.
3650 This reduces somewhat the number of "rogue" settings in emacs -Q.
3652 2012-04-07 Glenn Morris <rgm@gnu.org>
3654 * version.el (emacs-bzr-get-version): New function.
3655 (emacs-bzr-version): New variable.
3656 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3657 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3659 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3661 * international/uni-bidi.el, international/uni-category.el:
3662 * international/uni-combining.el, international/uni-decimal.el:
3663 * international/uni-decomposition.el, international/uni-digit.el:
3664 * international/uni-lowercase.el, international/uni-mirrored.el:
3665 * international/uni-name.el, international/uni-numeric.el:
3666 * international/uni-titlecase.el, international/uni-uppercase.el:
3667 Update for Unicode 6.1.
3669 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3671 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3673 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3675 * window.el (shrink-window): Mention the `window-min-height'
3676 variable in the doc string.
3678 2012-04-05 Bastien Guerry <bzg@altern.org>
3680 * color.el (color-lighten-name): Fix typo.
3682 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3684 * server.el (server--on-display-p): New function.
3685 (server--on-display-p): Use it.
3687 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3689 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3692 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3694 * comint.el (comint--common-quoted-suffix): Check string boundary
3695 before comparing (bug#11158).
3696 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3698 2012-04-04 Chong Yidong <cyd@gnu.org>
3700 * minibuffer.el (completion-extra-properties): Doc fix.
3702 * subr.el (delayed-warnings-hook): Doc fix.
3704 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3706 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3707 selection (Bug#11159).
3708 (epa-insert-keys): Inform that the default public key will be
3709 exported if no key is selected.
3711 2012-04-04 Richard Stallman <rms@gnu.org>
3713 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3715 2012-04-03 Chong Yidong <cyd@gnu.org>
3717 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3718 mail-insert-file, not its obsolete alias mail-attach-file.
3720 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3722 * notifications.el (notifications-notify): Fix docstring.
3724 2012-04-02 Glenn Morris <rgm@gnu.org>
3726 * emacs-lisp/authors.el (authors-aliases): Another addition.
3728 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3730 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3731 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3732 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3734 2012-04-01 Chong Yidong <cyd@gnu.org>
3736 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3737 Handle root directory properly.
3738 (copy-directory): Caller changed.
3740 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3741 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3743 2012-03-31 Glenn Morris <rgm@gnu.org>
3745 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3747 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3749 * calendar/calendar.el (calendar-window-list)
3750 (calendar-hide-window): Restore. (Bug#11140)
3751 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3753 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3755 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3757 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3758 Check if file is a symlink (Bug#10489).
3760 * files.el (copy-directory): Likewise.
3762 2012-03-30 Chong Yidong <cyd@gnu.org>
3764 * image.el (imagemagick-types-inhibit)
3765 (imagemagick-register-types): Doc fix.
3767 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3769 * ispell.el (ispell-get-extended-character-mode):
3770 Disable extended-char-mode for hunspell. hunspell does not support it
3771 and treats ~word as ordinary words in pipe mode.
3773 2012-03-30 Glenn Morris <rgm@gnu.org>
3775 * tutorial.el (help-with-tutorial): Ensure local variables don't
3776 happen to make the buffer read-only. (Bug#11127)
3778 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3780 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3781 (perl-calculate-indent): Return `noindent' in strings.
3783 2012-03-28 Sam Steingold <sds@gnu.org>
3785 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3786 instead of the broken adhockery which does not prevent calendar
3787 buffers from being displayed at random after exit.
3788 (calendar-window-list, calendar-hide-window): Remove the broken
3791 2012-03-28 Glenn Morris <rgm@gnu.org>
3793 * replace.el (query-replace-map): Doc fix.
3795 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3797 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3798 contents. (Bug#11109)
3800 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3804 (avl-tree--check, avl-tree--check-node): New funs.
3806 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3808 * window.el (switch-to-visible-buffer): New option.
3809 (switch-to-prev-buffer, switch-to-next-buffer):
3810 Observe switch-to-visible-buffer. Make sure that checking for a window
3811 showing a buffer already is done on the same frame.
3813 2012-03-27 Glenn Morris <rgm@gnu.org>
3815 * startup.el (mail-host-address): Doc fix.
3817 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3819 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3822 2012-03-26 Ami Fischman <ami@fischman.org>
3824 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3826 2012-03-26 Glenn Morris <rgm@gnu.org>
3828 * files.el (save-buffers-kill-emacs): Doc fix.
3830 * startup.el (normal-top-level, command-line, command-line-1):
3831 Give them doc strings.
3833 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3835 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3836 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3838 2012-03-25 Chong Yidong <cyd@gnu.org>
3840 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3841 theme if it was previously enabled before (Bug#11031).
3843 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3844 spec with custom-face-get-current-spec if its :shown-value is not
3845 determined yet (Bug#9337).
3846 (customize-create-theme, custom-theme-revert): Doc fixes.
3848 * button.el (button-at): Minor addition to docstring.
3850 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3852 * vc/vc.el (vc-merge): Fix a prompt.
3854 2012-03-24 Chong Yidong <cyd@gnu.org>
3856 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3859 * button.el (button-at): Minor addition to docstring.
3861 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3863 * newcomment.el (comment-choose-indent): No space after BOL.
3865 2012-03-22 Sam Steingold <sds@gnu.org>
3867 * window.el (switch-to-prev-buffer): Revert last patch because the
3868 bug turned out to be an advertised feature (Elisp manual 28.14).
3870 2012-03-22 Glenn Morris <rgm@gnu.org>
3872 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3873 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3875 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3877 * net/network-stream.el (network-stream-open-starttls): Make error
3878 message under Windows be less misleading.
3880 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3882 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3883 understands (bug#9942).
3885 2012-03-22 Chong Yidong <cyd@gnu.org>
3887 * simple.el (end-of-visible-line): Handle return value of
3888 next-single-property-change properly (Bug#9371).
3890 2012-03-22 Kenichi Handa <handa@m17n.org>
3892 * international/quail.el (quail-insert-kbd-layout): Fix previous
3893 change. To avoid unwanted bidi reordering, use
3894 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3896 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3898 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3899 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3900 (ruby-beginning-of-indent): Be more careful with the difference
3901 between word-boundary and symbol boundary.
3902 (ruby-mode-syntax-table): Make : a symbol constituent.
3904 2012-03-21 Andreas Politz <politza@fh-trier.de>
3906 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3908 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * progmodes/etags.el (tags-completion-at-point-function):
3913 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3915 2012-03-21 Sam Steingold <sds@gnu.org>
3917 * progmodes/etags.el (tags-completion-at-point-function):
3918 Avoid the error when point is inside the pattern.
3920 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3922 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3925 2012-03-21 Drew Adams <drew.adams@oracle.com>
3927 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3929 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3931 * ido.el (ido-set-current-directory, ido-read-internal)
3932 (ido-choose-completion-string, ido-completion-help): Handle nil
3933 value of ido-completion-buffer (Bug#11008).
3935 2012-03-21 Sam Steingold <sds@gnu.org>
3937 * window.el (switch-to-prev-buffer): Do not switch to a visible
3938 window previous buffer, just like with the frame previous buffers.
3940 2012-03-21 Chong Yidong <cyd@gnu.org>
3942 * faces.el (make-face, make-empty-face, copy-face):
3943 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3946 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3949 (widget-complete): Remove broken use of it.
3951 2012-03-20 Chong Yidong <cyd@gnu.org>
3953 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3954 Use string-width and truncate-string-width to handle arbitrary
3957 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3959 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3960 to draw rectangles, not squares. (Regression introduced by revno
3961 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3963 2012-03-18 Chong Yidong <cyd@gnu.org>
3965 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3966 it is not yet defined (for temacs).
3968 2012-03-18 Leo Liu <sdl.web@gmail.com>
3970 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3972 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3974 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3975 (ispell-choices-win-default-height, ispell-silently-savep)
3976 (ispell-dictionary-alist, ispell-encoding8-command)
3977 (ispell-check-version, ispell-aspell-find-dictionary)
3978 (ispell-valid-dictionary-list, ispell-words-keyword)
3979 (ispell-get-word, ispell-internal-change-dictionary)
3980 (ispell-region, ispell-skip-region-list)
3981 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3982 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3983 (ispell-message-text-end, ispell-message)
3984 (ispell-buffer-local-parsing): Doc fix.
3986 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3988 * htmlfontify.el: Add support for code block fontification for ODT
3990 (hfy-optimisations): Define new option
3992 (hfy-fontify-buffer): Honor above setting.
3993 (hfy-begin-span, hfy-end-span): New routines factored out form
3994 `hfy-fontify-buffer'.
3995 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3996 that permit insertion of custom tags.
3997 (hfy-fontify-buffer): Use above handlers.
3998 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3999 (hfy-face-to-css): Re-defined to be a variable.
4000 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4001 over multiple runs. This is made possible by having the caller let
4002 bind a special variable `hfy-user-sheet-assoc'.
4003 (htmlfontify-string): New defun.
4004 (hfy-compile-face-map): Make sure that the last char in the
4005 buffer is correctly fontified.
4006 (hfy-face-resolve-face): Whitespace only change.
4008 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4010 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4013 2012-03-16 Leo Liu <sdl.web@gmail.com>
4015 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4017 2012-03-16 Alan Mackenzie <acm@muc.de>
4019 Further optimise the handling of large macros.
4021 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4022 limit to a call of `c-literal-limits'.
4023 (c-determine-+ve-limit): New function.
4024 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4025 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4026 In CASE 5B, restrict a search limit to 500.
4027 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4029 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4030 Restrict macro bounds to +-500 from after-change's BEG END.
4032 2012-03-16 Leo Liu <sdl.web@gmail.com>
4034 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4036 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4038 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4039 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4041 2012-03-16 Glenn Morris <rgm@gnu.org>
4043 * view.el (view-buffer, view-buffer-other-window)
4044 (view-buffer-other-frame): Doc fixes re special mode-class.
4046 * subr.el (eval-after-load): If named feature is provided not from
4047 a file, run after-load forms. (Bug#10946)
4049 * calendar/calendar.el (calendar-insert-at-column):
4050 Handle non-unit-width characters a bit better. (Bug#10978)
4052 2012-03-15 Chong Yidong <cyd@gnu.org>
4054 * emacs-lisp/ring.el (ring-extend): New function.
4055 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4057 * comint.el (comint-read-input-ring)
4058 (comint-add-to-input-history): Grow comint-input-ring lazily.
4060 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4062 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4063 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4065 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4066 (imenu-add-to-menubar): Don't add a redundant index.
4067 (imenu-update-menubar): Handle a dynamically composed keymap.
4069 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4071 * mail/sendmail.el (mail-encode-header):
4072 Bind rfc2047-encode-encoded-words to nil.
4074 2012-03-13 Glenn Morris <rgm@gnu.org>
4076 * calendar/calendar.el (calendar-string-spread):
4077 Handle non-unit-width characters a bit better. (Bug#10978)
4079 2012-03-13 Leo Liu <sdl.web@gmail.com>
4081 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4082 directory and file as argument (Bug#10822).
4084 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4086 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4087 For dynamically generated code, follow $PC.
4088 (gdb-disassembly-handler-custom): Handle no function name case.
4090 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4092 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4093 * emulation/ws-mode.el (ws-query-replace):
4094 * sort.el (sort-regexp-fields):
4095 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4097 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4099 * dabbrev.el: Fix cycle completion order (bug#10963).
4100 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4101 (dabbrev-completion): Don't use an obarray; provide
4102 a cycle-sort-function.
4104 2012-03-12 Leo Liu <sdl.web@gmail.com>
4106 * simple.el (kill-new): Use equal-including-properties for comparison.
4107 (kill-do-not-save-duplicates): Doc fix.
4109 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4111 * dabbrev.el: Fix cycle completion (bug#10963).
4112 Use lexical binding and wrap to 80 columns.
4113 (dabbrev-completion): Delay computing the list of completions.
4115 2012-03-12 Kenichi Handa <handa@m17n.org>
4117 * international/quail.el (quail-insert-kbd-layout): Surround each
4118 row by LRO and PDF instead of inserting many LRMs. Pad the left
4119 and right of each non-spacing marks. Insert invisible space
4120 between lower and upper characters to prevent composition.
4122 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4124 * minibuffer.el (minibuffer-complete): Don't get confused when the
4125 function is run twice via different commands (bug#10958).
4126 (complete-with-action): Fix docstring.
4128 2012-03-12 Chong Yidong <cyd@gnu.org>
4130 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4131 (nxml-completion-at-point-function): New function.
4132 (nxml-mode): Use it.
4133 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4135 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4136 Load generated autoloads file before byte compiling (Bug#10970).
4137 (package--make-autoloads-and-compile): New helper fun.
4139 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4141 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4143 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4145 * autorevert.el (auto-revert-handler): Ensure, that
4146 file-readable-p is applied only for local files or in
4147 auto-revert-tail-mode.
4149 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4151 * server.el (server-eval-at): Handle non-tcp connections.
4152 Decode result string.
4154 * server.el (server-msg-size): New constant.
4155 (server-reply-print): New function.
4156 (server-eval-and-print): Use it.
4157 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4160 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4162 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4165 2012-03-11 Chong Yidong <cyd@gnu.org>
4167 * simple.el (goto-line): Doc fix (Bug#9938).
4169 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4171 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4172 when finished (Bug#10963).
4174 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4176 * window.el (split-window-below): Fix bug in case where
4177 split-window-keep-point is nil (Bug#10971).
4179 2012-03-11 Juri Linkov <juri@jurta.org>
4181 * replace.el (replace-highlight): Set isearch-word to nil
4182 unconditionally. (Bug#10887)
4184 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4186 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4187 mairix-replace-illegal-chars; all callers changed. Don't remove
4188 ^, ~, and = characters: they are meaningful in mairix search specs.
4189 (mairix-widget-create-query): Add usage information about mairix
4190 search forms: negating words, searching for substrings, etc.
4192 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4194 * international/fontset.el (font-encoding-alist): Add an entry for
4197 2012-03-10 Richard Stallman <rms@gnu.org>
4199 * mail/sendmail.el (mail-encode-header):
4200 Set rfc2047-encode-encoded-words.
4202 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4204 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4205 view buffer means not swapped.
4206 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4207 (rmail-write-region-annotate): Error if real text has disappeared.
4209 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4211 2012-03-10 Chong Yidong <cyd@gnu.org>
4213 * emulation/cua-rect.el (cua--init-rectangles):
4214 * emulation/cua-base.el (cua--init-keymaps):
4215 Add delete-forward-char to remappings (Bug#9666).
4217 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4219 * speedbar.el (speedbar-unhighlight-one-tag-line):
4220 Avoid unhighlighting due to frame switching (Bug#10275).
4222 2012-03-10 Chong Yidong <cyd@gnu.org>
4224 * minibuffer.el (completion-in-region, completion-help-at-point):
4225 Give the completion field overlay a high priority (Bug#6830).
4227 * dired.el (dired-goto-file): Recognize absolute file name
4228 listings (Bug#7126).
4229 (dired-goto-file-1): New helper function.
4230 (dired-toggle-read-only): Inhibit warnings.
4232 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4234 * net/dbus.el (dbus-property-handler): Return empty array if
4235 there are no properties.
4237 2012-03-09 Leo Liu <sdl.web@gmail.com>
4239 * savehist.el (savehist-printable): Stricter check for string
4242 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4244 * mail/smtpmail.el (smtpmail-send-it):
4245 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4248 2012-03-09 Glenn Morris <rgm@gnu.org>
4250 * files.el (dir-locals-find-file):
4251 Don't check result is regular, readable.
4252 (dir-locals-read-from-file): Demote errors.
4254 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4256 * international/quail.el (quail-insert-kbd-layout):
4257 Insert invisible LRM characters before each character in a keyboard
4258 layout cell, to prevent their reordering by bidi display engine.
4259 For details, see the discussion in
4260 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4262 2012-03-08 Alan Mackenzie <acm@muc.de>
4264 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4265 the starting position; make it extend the marked region when
4266 invoked repeatedly - all under appropriate circumstances.
4267 Fixes bugs #5525, #10906.
4269 2012-03-08 Glenn Morris <rgm@gnu.org>
4271 * files.el (locate-dominating-file, dir-locals-find-file):
4272 Undo 2012-03-06 change.
4274 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4276 * international/quail.el (quail-help):
4277 Force bidi-paragraph-direction be left-to-right. See discussion in
4278 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4281 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4283 Avoid superfluous registering of signals. (Bug#10807)
4285 * notifications.el (notifications-on-action-object)
4286 (notifications-on-close-object): New defvars.
4287 (notifications-on-action-signal, notifications-on-closed-signal):
4288 Unregister the signal if not needed any longer.
4289 (notifications-notify): Register `notifications-action-signal' or
4290 `notifications-closed-signal', if :on-action or :on-close has been
4293 2012-03-07 Chong Yidong <cyd@gnu.org>
4295 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4298 2012-03-06 Glenn Morris <rgm@gnu.org>
4300 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4301 (x-disown-selection-internal, x-get-selection-internal):
4302 Doc fix (add arglist signatures). (Bug#10783)
4304 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4306 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4307 Handle breakpoints with no "type".
4309 2012-03-06 Glenn Morris <rgm@gnu.org>
4311 * files.el (locate-dominating-file): Add optional predicate argument.
4312 (dir-locals-find-file): Make use of above change.
4314 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4316 * info.el (Info-insert-dir): Also try "dir.gz".
4318 2012-03-06 Glenn Morris <rgm@gnu.org>
4320 * files.el (dir-locals-find-file):
4321 Ignore non-readable or non-regular files. (Bug#10928)
4323 * files.el (locate-dominating-file): Doc fix.
4325 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4327 * calendar/calendar.el (calendar-set-mode-line):
4328 `getenv' returns a string. (Bug#10951)
4330 2012-03-05 Leo Liu <sdl.web@gmail.com>
4332 * simple.el (backward-delete-char-untabify): Constrain point to
4335 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4337 2012-03-05 Chong Yidong <cyd@gnu.org>
4339 * simple.el (count-words): If called from Lisp, return the word
4340 count, for symmetry with `count-lines'. Arglist changed.
4341 (count-words--message): Args changed. Consolidate counting code
4342 from count-words and count-words-region.
4343 (count-words-region): Caller changed.
4344 (count-lines-region): Make it an obsolete alias.
4346 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4348 * saveplace.el (save-place-to-alist)
4349 (save-place-ignore-files-regexp): Allow value nil to disable this
4352 2012-03-04 Chong Yidong <cyd@gnu.org>
4354 * faces.el (face-spec-reset-face): For the default face, reset the
4355 attributes to default values (Bug#10748).
4357 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4359 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4360 previous patch: Check `message-send-mail-function', and not the
4361 default function (bug#10897).
4363 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4365 * notifications.el (notifications-on-action-signal)
4366 (notifications-on-closed-signal): Check for unique service name of
4367 incoming event. Fix error in removing entry.
4368 (top): Register for signals with wildcard service name.
4369 (notifications-notify): Use daemon unique service name for map entries.
4371 2012-03-04 Chong Yidong <cyd@gnu.org>
4373 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4375 2012-03-04 Glenn Morris <rgm@gnu.org>
4377 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4378 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4379 (expand-abbrev, define-abbrev-table): Doc fixes.
4381 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4383 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4384 `message-default-send-mail-function' and not `send-mail-function'
4385 when doing the prompting for `sendmail-query-once' before sending
4386 in Message buffers (bug#10897).
4388 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4389 This is inconsistent with all the other stream functions, which leave
4390 the setting up to the higher levels (if so wanted) (bug#10931).
4392 2012-03-02 Alan Mackenzie <acm@muc.de>
4394 Depessimize the handling of very large macros.
4396 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4397 (c-macro-cache-syntactic): New variables to implement a one
4398 element macro cache.
4399 (c-invalidate-macro-cache): New function.
4400 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4401 Adapt to use the new cache.
4402 (c-state-safe-place): Use better the cache of safe positions.
4403 (c-state-semi-nonlit-pos-cache)
4404 (c-state-semi-nonlit-pos-cache-limit):
4405 New variables for...
4406 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4407 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4408 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4409 Use c-state-semi-safe-place.
4411 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4412 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4414 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4416 * jka-compr.el (jka-compr-call-process):
4417 Apply `file-accessible-directory-p' only when the default directory is
4420 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4422 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4423 access of FILE2, if FILE1 does not exist.
4425 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4426 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4428 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4429 Add "PAGER=" to `process-environment'.
4431 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4433 * progmodes/sql.el: Bug fix
4434 (sql-get-login-ext): Save login values in globals.
4435 (sql-get-login): Use new version of `sql-get-login-ext'.
4436 (sql-interactive-mode): Set global `sql-connection' to nil.
4437 (sql-connect): Set global values for connection.
4438 (sql-product-interactive): Save global values as buffer local.
4440 2012-02-29 Leo Liu <sdl.web@gmail.com>
4442 * abbrev.el (define-abbrevs): Reset sys to nil.
4444 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4446 * files.el (file-equal-p): Rename from `files-equal-p'.
4447 Return nil when one or both files don't exist.
4448 (file-subdir-of-p): Now only top directory must exists,
4449 return nil if it doesn't.
4450 (copy-directory): No need to test with `file-subdir-of-p' after
4452 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4455 2012-02-28 Glenn Morris <rgm@gnu.org>
4457 * shell.el (shell-mode):
4458 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4459 * play/landmark.el (landmark-font-lock-face-O):
4460 * play/handwrite.el (handwrite):
4461 * play/gomoku.el (gomoku-O):
4462 * net/browse-url.el (browse-url-browser-display):
4463 * international/mule.el (define-charset):
4464 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4465 * filesets.el (filesets-find-file-delay):
4466 * eshell/em-xtra.el (eshell-xtra):
4467 * eshell/em-unix.el (eshell-grep):
4468 * emulation/viper.el (viper-mode):
4469 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4470 * emacs-lisp/easymenu.el (easy-menu-define):
4471 * calendar/timeclock.el (timeclock-use-display-time):
4473 * bookmark.el (bookmark-save-flag):
4474 Doc fix (standardize possessive apostrophe usage).
4476 2012-02-27 Chong Yidong <cyd@gnu.org>
4478 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4479 Fix key-binding lookup for ESC key (Bug#9146).
4481 * font-lock.el (font-lock-specified-p): Rename from
4482 font-lock-spec-present. Callers changed.
4484 2012-02-27 Daniel Hackney <dan@haxney.org>
4486 * emacs-lisp/package.el (package-compute-transaction):
4487 Handle holding a package version to t in package-load-list.
4489 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4491 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4492 (tramp-get-inode, tramp-get-device): Use cached values.
4494 2012-02-26 Alan Mackenzie <acm@muc.de>
4496 Check there is a font-lock specification before doing initial
4499 * font-core.el (font-lock-mode): Move the conditional from
4500 :after-hook to font-lock-initial-fontify.
4501 (font-lock-default-function): Move the check for a specification
4502 to font-lock-spec-present.
4504 * font-lock.el (font-lock-initial-fontify): Call ...
4505 (font-lock-spec-present): New function.
4507 2012-02-26 Jim Blandy <jimb@red-bean.com>
4509 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4510 (gdb-send): Apply it to the operand of the '-interpreter-exec
4511 console' command, so that we can pass arguments with (say) quotes
4512 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4514 2012-02-26 Chong Yidong <cyd@gnu.org>
4516 * help-fns.el (describe-function-1): Clarify description of
4517 remapping (Bug#10844).
4519 * files.el (files-equal-p): Doc fix.
4520 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4521 and quit the loop once a mismatch is found.
4523 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4525 * bs.el (bs--show-with-configuration): Don't throw an error
4526 if the window cannot be split; otherwise, subsequent calls to
4527 bs-show fail, restoring a stale window config. (Bug#10882)
4529 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4531 * term/ns-win.el (global-map): Bind ns-drag-file to
4532 ns-find-file (Bug#5855, Bug#10050).
4534 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4536 * calendar/parse-time.el (parse-time-string): Allow extractor to
4539 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4541 * net/tramp.el (tramp-file-name-for-operation):
4542 Add `files-equal-p' and `file-subdir-of-p'.
4544 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4545 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4546 Add COPY-CONTENTS argument.
4548 2012-02-25 Chong Yidong <cyd@gnu.org>
4550 Add custom groups for VC backends, for consistency with vc-bzr.
4552 * vc/vc-arch.el (vc-arch):
4553 * vc/vc-cvs.el (vc-cvs):
4554 * vc/vc-git.el (vc-git):
4555 * vc/vc-hg.el (vc-hg):
4556 * vc/vc-mtn.el (vc-mtn):
4557 * vc/vc-rcs.el (vc-rcs):
4558 * vc/vc-sccs.el (vc-sccs):
4559 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4560 All relevant defcustoms reassigned.
4562 2012-02-25 Chong Yidong <cyd@gnu.org>
4564 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4566 * term/x-win.el (x-initialize-window-system): Reduce default for
4567 x-selection-timeout to 5 seconds (Bug#8869).
4569 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4571 * files.el (files-equal-p, file-subdir-of-p): New functions.
4572 (copy-directory): Error when trying to copy a directory on itself.
4573 Add missing copy-contents arg to tramp handler.
4574 * dired-aux.el (dired-copy-file-recursive): Same.
4575 (dired-create-files): Modify destination when source is equal to
4576 dest when copying files.
4577 Return also when dest is a subdir of source. (Bug#10489)
4579 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
4581 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4584 2012-02-23 Alan Mackenzie <acm@muc.de>
4586 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4587 parameter "after-hook:" to allow the expansion to run code after
4588 the execution of the mode hooks.
4590 * font-lock.el (font-lock-initial-fontify): New function extracted
4591 from font-lock-mode-internal.
4593 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4596 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4598 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4599 (completion--cache-all-sorted-completions): New function.
4600 (completion-all-sorted-completions): Use it.
4601 (completion--do-completion, minibuffer-force-complete):
4602 Use it to re-instate the flush hook.
4604 * icomplete.el (icomplete-completions): Replace last fix with a better
4607 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4609 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4610 when it might call us back infinitely (bug#10797).
4612 2012-02-23 Glenn Morris <rgm@gnu.org>
4614 * minibuffer.el (completion-category-overrides): Doc fix.
4616 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4619 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4621 2012-02-23 Glenn Morris <rgm@gnu.org>
4623 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4624 (authors-obsolete-files-regexps, authors-ignored-files)
4625 (authors-ambiguous-files, authors-renamed-files-alist):
4628 2012-02-23 Juri Linkov <juri@jurta.org>
4630 * isearch.el (isearch-occur): Sync interactive spec with occur's
4631 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4633 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4635 2012-02-22 Juri Linkov <juri@jurta.org>
4637 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4638 (ucs-insert): Doc fix. Check for hex digits in the string.
4639 Don't display `nil' in the error message. (Bug#10857)
4641 2012-02-22 Alan Mackenzie <acm@muc.de>
4643 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4645 2012-02-22 Glenn Morris <rgm@gnu.org>
4647 * ffap.el (ffap-c-path):
4648 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4650 2012-02-22 Chong Yidong <cyd@gnu.org>
4652 * custom.el (load-theme): Doc fix.
4654 2012-02-22 Glenn Morris <rgm@gnu.org>
4656 * dired-x.el (dired-guess-shell-alist-default):
4657 Remove escape sequences from nroff output. (Bug#172)
4659 2012-02-21 Glenn Morris <rgm@gnu.org>
4661 * vc/emerge.el (emerge-defvar-local):
4662 Set `permanent-local' property rather than unused `preserved'.
4664 * textmodes/picture.el (picture-delete-char): New alias.
4665 (picture-mode-map): Use it. (Bug#10860)
4666 (picture-mode): Doc fix.
4668 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4670 * newcomment.el (uncomment-region-default): Remove unused binding.
4672 2012-02-21 Glenn Morris <rgm@gnu.org>
4674 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4675 (picture-self-insert, picture-tab-chars): Doc fix.
4676 (picture-mode-map): Fix C-a, C-e.
4678 2012-02-20 Glenn Morris <rgm@gnu.org>
4680 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4682 2012-02-20 Leo Liu <sdl.web@gmail.com>
4684 * icomplete.el (icomplete-completions): Check FROM arg before
4685 passing to substring (Bug#10850).
4687 2012-02-19 Chong Yidong <cyd@gnu.org>
4689 * comint.el: Require ansi-color.
4690 (comint-output-filter-functions): Add ansi-color-process-output.
4692 * ansi-color.el: Don't set comint-output-filter-functions; it is
4693 now in the initial value defined in comint.el.
4694 (ansi-color-apply-face-function): New variable.
4695 (ansi-color-apply-on-region): Use it.
4696 (ansi-color-apply-overlay-face): New function.
4698 * shell.el (shell): No need to require ansi-color.
4699 (shell-mode): Use ansi-color-apply-face-function to highlight
4700 color escapes using font-lock-face property (Bug#10835).
4702 2012-02-19 Chong Yidong <cyd@gnu.org>
4704 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4705 mode-line formats (Bug#10839).
4707 2012-02-18 Glenn Morris <rgm@gnu.org>
4709 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4711 * mail/undigest.el (unforward-rmail-message): Doc fix.
4713 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4715 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4717 * international/characters.el (script-list): Sync with the latest
4718 Unicode Character Database.
4720 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4722 * international/titdic-cnv.el: Remove duplicate coding tag.
4723 * language/cham.el: Likewise.
4724 * language/tai-viet.el: Likewise.
4726 2012-02-18 Glenn Morris <rgm@gnu.org>
4728 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4729 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4730 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4731 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4732 * calendar/holidays.el (holiday-bahai-holidays)
4733 (calendar-holidays, list-holidays):
4734 Use utf-8 Bahá'í in doc-strings, menus, etc.
4736 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4738 * saveplace.el (save-place-ignore-files-regexp): New variable
4739 allowing for excluding files from saving their location of point.
4740 The default value matches the temporary commit message editing
4741 files from Git, SVN, Bazaar, and Mercurial.
4742 (save-place-to-alist): Use it.
4744 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4745 Stefan Monnier <monnier@iro.umontreal.ca>
4747 * newcomment.el (uncomment-region-default): Don't leave extra space
4748 when an arg is provided (bug#8150).
4750 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4752 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4754 2012-02-17 Glenn Morris <rgm@gnu.org>
4756 * net/socks.el: Require network-stream. (Bug#10599)
4758 2012-02-17 Kenichi Handa <handa@m17n.org>
4760 * international/charprop.el:
4761 * international/uni-name.el:
4762 * international/uni-old-name.el:
4763 * international/uni-comment.el: Regenerate.
4765 2012-02-16 Glenn Morris <rgm@gnu.org>
4767 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4768 Interactively in calendar buffer, give an error if not on a date.
4770 2012-02-15 Glenn Morris <rgm@gnu.org>
4772 * shell.el (shell-delimiter-argument-list):
4773 Revert 2011-02-17 change. (Bug#8027)
4775 2012-02-15 Chong Yidong <cyd@gnu.org>
4777 * minibuffer.el (completion-at-point-functions): Doc fix.
4779 * custom.el (defcustom): Doc fix; note use of defvar.
4781 2012-02-15 Glenn Morris <rgm@gnu.org>
4783 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4786 2012-02-14 Glenn Morris <rgm@gnu.org>
4788 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4790 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4792 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4793 way the ports list is computed.
4794 (smtpmail-query-smtp-server): Prompt the user for a port number if
4795 we can't connect to any of the standard ports (bug#10810).
4797 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4799 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4801 2012-02-13 Glenn Morris <rgm@gnu.org>
4803 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4805 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4807 * net/gnutls.el (gnutls-trustfiles): New variable.
4808 (gnutls-negotiate): Use it.
4810 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4812 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4813 does its stuff if Gnus is running.
4815 2012-02-13 Alan Mackenzie <acm@muc.de>
4817 Fix a loop in c-set-fl-decl-start.
4819 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4820 c-backward-syntactic-ws actually moves backwards.
4822 2012-02-13 Leo Liu <sdl.web@gmail.com>
4824 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4825 beginning so that all \C-o chars are removed.
4827 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4829 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4831 2012-02-12 Alan Mackenzie <acm@muc.de>
4833 Fix infinite loop with long macros.
4834 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4836 2012-02-12 Chong Yidong <cyd@gnu.org>
4838 * window.el (display-buffer): Doc fix (Bug#10785).
4840 2012-02-12 Glenn Morris <rgm@gnu.org>
4842 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4843 (x-disown-selection-internal, x-get-selection-internal):
4844 Sync docs with the xselect.c versions.
4846 * allout-widgets.el: Add missing license notice.
4848 2012-02-11 Glenn Morris <rgm@gnu.org>
4850 * select.el (x-get-selection-internal, x-own-selection-internal)
4851 (x-disown-selection-internal):
4852 * x-dnd.el (x-get-selection-internal): Update declarations.
4854 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4856 * window.el (window-sides-slots):
4857 * tool-bar.el (tool-bar-position):
4858 * term/xterm.el (xterm-extra-capabilities):
4859 * ses.el (ses-self-reference-early-detection):
4860 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4861 (verilog-auto-wire-type)
4862 (verilog-auto-delete-trailing-whitespace)
4863 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4864 (verilog-auto-tieoff-declaration):
4865 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4866 (sql-oracle-statement-starters, sql-oracle-scan-on):
4867 * progmodes/prolog.el (prolog-align-comments-flag)
4868 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4869 (prolog-left-indent-regexp, prolog-paren-indent-p)
4870 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4871 (prolog-types, prolog-mode-specificators)
4872 (prolog-determinism-specificators, prolog-directives)
4873 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4874 (prolog-electric-dot-flag)
4875 (prolog-electric-dot-full-predicate-template)
4876 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4877 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4878 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4879 (prolog-program-switches, prolog-prompt-regexp)
4880 (prolog-debug-on-string, prolog-debug-off-string)
4881 (prolog-trace-on-string, prolog-trace-off-string)
4882 (prolog-zip-on-string, prolog-zip-off-string)
4883 (prolog-use-standard-consult-compile-method-flag)
4884 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4885 (prolog-imenu-max-lines, prolog-info-predicate-index)
4886 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4887 (prolog-char-quote-workaround):
4888 * progmodes/cc-vars.el (c-defun-tactic):
4889 * net/tramp.el (tramp-encoding-command-interactive)
4890 (tramp-local-end-of-line):
4891 * net/soap-client.el (soap-client):
4892 * net/netrc.el (netrc-file):
4893 * net/gnutls.el (gnutls):
4894 * minibuffer.el (completion-category-overrides)
4895 (completion-cycle-threshold)
4896 (completion-pcm-complete-word-inserts-delimiters):
4897 * man.el (Man-name-local-regexp):
4898 * mail/feedmail.el (feedmail-display-full-frame):
4899 * international/characters.el (glyphless-char-display-control):
4900 * eshell/em-ls.el (eshell-ls-date-format):
4901 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4902 (lisp-lambda-list-keyword-parameter-indentation)
4903 (lisp-lambda-list-keyword-parameter-alignment):
4904 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4905 * dired-x.el (dired-omit-verbose):
4906 * cus-theme.el (custom-theme-allow-multiple-selections):
4907 * calc/calc.el (calc-highlight-selections-with-faces)
4908 (calc-lu-field-reference, calc-lu-power-reference)
4909 (calc-note-threshold):
4910 * battery.el (battery-mode-line-limit):
4911 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4912 (archive-7z-update):
4913 * allout.el (allout-prefixed-keybindings)
4914 (allout-unprefixed-keybindings)
4915 (allout-inhibit-auto-fill-on-headline)
4916 (allout-flattened-numbering-abbreviation):
4917 * allout-widgets.el (allout-widgets-auto-activation)
4918 (allout-widgets-icons-dark-subdir)
4919 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4920 (allout-widgets-theme-dark-background)
4921 (allout-widgets-theme-light-background)
4922 (allout-widgets-item-image-properties-emacs)
4923 (allout-widgets-item-image-properties-xemacs)
4924 (allout-widgets-run-unit-tests-on-load)
4925 (allout-widgets-time-decoration-activity)
4926 (allout-widgets-hook-error-post-time)
4927 (allout-widgets-track-decoration):
4928 Add missing :version tags to new defcustoms and defgroups.
4930 * progmodes/sql.el (sql-ansi-statement-starters)
4931 (sql-oracle-statement-starters): Add custom type.
4933 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4934 (prolog-system-version): Give it a type.
4936 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4938 * term/pc-win.el (x-select-text, x-selection-owner-p)
4939 (x-own-selection-internal, x-disown-selection-internal)
4940 (x-get-selection-internal): Sync doc strings and argument lists
4941 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4943 2012-02-11 Leo Liu <sdl.web@gmail.com>
4945 * progmodes/python.el (python-end-of-statement): Fix infinite
4948 2012-02-10 Glenn Morris <rgm@gnu.org>
4950 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4951 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4953 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4955 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4956 about SMTP before checking the From header.
4958 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4959 into own function for reuse by emacsbug.el.
4961 2012-02-10 Leo Liu <sdl.web@gmail.com>
4963 * subr.el (condition-case-unless-debug): Rename from
4964 condition-case-no-debug. All callers changed.
4965 (with-demoted-errors): Fix caller.
4967 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4968 * nxml/rng-valid.el (rng-do-some-validation):
4969 * emacs-lisp/package.el (package-refresh-contents)
4970 (package-menu-execute):
4971 * desktop.el (desktop-create-buffer):
4972 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4974 2012-02-10 Glenn Morris <rgm@gnu.org>
4976 * textmodes/bibtex.el:
4977 Add missing :version tags for new/changed defcustoms.
4979 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4981 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4983 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4984 (smtpmail-via-smtp): Use it, or fall back on the From address.
4985 (smtpmail-send-it): Ditto.
4987 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4989 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4990 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4991 (byte-compile-tmp-var): New const.
4992 (byte-compile-defvar): Use it to minimize .elc size.
4993 Just use `defvar' rather than simulate it (bug#10761).
4995 2012-02-09 Glenn Morris <rgm@gnu.org>
4997 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4999 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5002 * progmodes/compile.el (compilation-error-screen-columns)
5003 (compilation-first-column, compilation-filter-start): Doc fixes.
5005 * vc/log-view.el (log-view-toggle-entry-display):
5006 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5008 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5009 (report-emacs-bug-can-use-xdg-email):
5010 (report-emacs-bug-insert-to-mailer): Doc fixes.
5011 (report-emacs-bug): Message fix.
5013 * net/browse-url.el (browse-url-can-use-xdg-open)
5014 (browse-url-xdg-open): Doc fixes.
5016 * electric.el (electric-indent-mode, electric-pair-mode)
5017 (electric-layout-rules, electric-layout-mode): Doc fixes.
5018 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5020 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5022 * server.el (server-unselect-display): Don't inadvertently kill
5023 the current buffer. (Bug#10729)
5025 2012-02-08 Glenn Morris <rgm@gnu.org>
5027 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5028 (sql-list-table): Doc fixes.
5030 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5031 Comment out (does nothing).
5033 * completion.el (dynamic-completion-mode):
5034 * dirtrack.el (dirtrack-debug-mode):
5035 * electric.el (electric-layout-mode):
5036 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5037 * face-remap.el (text-scale-mode, buffer-face-mode):
5038 * iimage.el (iimage-mode):
5039 * image-mode.el (image-transform-mode):
5040 * minibuffer.el (completion-in-region-mode):
5041 * scroll-lock.el (scroll-lock-mode):
5042 * simple.el (next-error-follow-minor-mode):
5043 * tar-mode.el (tar-subfile-mode):
5044 * tooltip.el (tooltip-mode):
5045 * vcursor.el (vcursor-use-vcursor-map):
5046 * wid-browse.el (widget-minor-mode):
5047 * emulation/tpu-edt.el (tpu-edt-mode):
5048 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5049 * international/iso-ascii.el (iso-ascii-mode):
5050 * language/thai-util.el (thai-word-mode):
5051 * mail/supercite.el (sc-minor-mode):
5052 * net/goto-addr.el (goto-address-mode):
5053 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5054 * progmodes/cwarn.el (cwarn-mode):
5055 * progmodes/flymake.el (flymake-mode):
5056 * progmodes/glasses.el (glasses-mode):
5057 * progmodes/hideshow.el (hs-minor-mode):
5058 * progmodes/pascal.el (pascal-outline-mode):
5059 * textmodes/enriched.el (enriched-mode):
5060 * vc/smerge-mode.el (smerge-mode):
5061 Doc fixes (minor mode argument).
5063 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5065 * ls-lisp.el (ls-lisp-sanitize): New function.
5066 (ls-lisp-insert-directory): Use it to fix or remove any elements
5067 in file-alist with missing attributes. (Bug#4673)
5069 2012-02-07 Alan Mackenzie <acm@muc.de>
5071 Fix spurious recognition of c-in-knr-argdecl.
5073 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5074 putative K&R region.
5076 2012-02-07 Alan Mackenzie <acm@muc.de>
5078 * progmodes/cc-engine.el (c-forward-objc-directive):
5079 Prevent looping in "#pragma mark @implementation".
5081 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5083 * notifications.el (notifications-on-closed-signal): Make `reason'
5084 optional. (Bug#10744)
5086 2012-02-07 Glenn Morris <rgm@gnu.org>
5088 * emacs-lisp/easy-mmode.el (define-minor-mode):
5089 Doc fixes for the macro and the mode it defines.
5091 * image.el (imagemagick-types-inhibit): Doc fix.
5093 * cus-start.el (imagemagick-render-type): Add it.
5095 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5097 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5098 Set the default at load time, too, so that `font-lock-fontify-buffer'
5099 can be called without setting up the entire mode first. This fixes
5100 a bug in `mm-inline-text' with C MIME parts.
5102 2012-02-06 Chong Yidong <cyd@gnu.org>
5104 * simple.el (list-processes--refresh): Delete exited processes
5107 * comint.el (comint-next-prompt): next-single-char-property-change
5108 and prev-single-char-property-change never return nil (Bug#8657).
5110 * custom.el (defcustom): Doc fix (Bug#9711).
5112 2012-02-05 Chong Yidong <cyd@gnu.org>
5114 * cus-edit.el (custom-variable-reset-backup): Quote the value
5115 before storing it in the customized-value property (Bug#6712).
5116 (custom-display): Add a customization type tag.
5117 (custom-buffer-create-internal): Improve tooltip message.
5119 * wid-edit.el (widget-field-value-get): New optional arg to
5120 suppress trailing whitespace truncation.
5121 (character): Use it (Bug#2689).
5123 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5125 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5126 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5128 2012-02-05 Chong Yidong <cyd@gnu.org>
5130 * cus-edit.el (custom-variable-value-create): For mismatched
5131 types, show the current value (Bug#7600).
5133 * custom.el (defcustom): Doc fix.
5135 2012-02-05 Glenn Morris <rgm@gnu.org>
5137 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5139 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5141 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5142 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5143 (pp-last-sexp): Use `looking-at-p'.
5145 2012-02-04 Glenn Morris <rgm@gnu.org>
5147 * files.el (revert-buffer):
5148 Doc fix (mention revert-buffer-in-progress-p).
5150 * emacs-lisp/ert-x.el (ert-simulate-command):
5151 Check deferred-action-list (which is obsolete) is bound.
5153 * subr.el (with-wrapper-hook): Doc fixes.
5155 * simple.el (filter-buffer-substring-functions)
5156 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5158 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5160 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5161 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5163 2012-02-04 Leo Liu <sdl.web@gmail.com>
5165 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5167 2012-02-04 Glenn Morris <rgm@gnu.org>
5169 * image.el (image-extension-data): Add obsolete alias.
5171 * isearch.el (isearch-update): Doc fix.
5173 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5175 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5177 2012-02-03 Glenn Morris <rgm@gnu.org>
5179 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5180 (image-animate-timeout): Doc fix.
5182 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5184 2012-02-02 Glenn Morris <rgm@gnu.org>
5186 * server.el (server-auth-dir): Doc fix.
5187 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5189 * subr.el (run-mode-hooks): Doc fix.
5191 2012-02-02 Juri Linkov <juri@jurta.org>
5193 * image-mode.el (image-toggle-display-image): Remove tautological
5194 `major-mode' from the `derived-mode-p' test.
5196 2012-02-02 Kenichi Handa <handa@m17n.org>
5198 * composite.el (compose-region): Cancel previous change.
5200 2012-02-02 Kenichi Handa <handa@m17n.org>
5202 * composite.el (compose-region, compose-string): Signal error for
5203 a null string component (Bug#6988).
5205 2012-02-01 Chong Yidong <cyd@gnu.org>
5207 * view.el (view-buffer-other-window, view-buffer-other-frame):
5208 Handle special modes like view-buffer (Bug#10650).
5209 (view-buffer): Simplify.
5211 * frame.el (set-frame-font): Tweak meaning of third argument.
5213 * dynamic-setting.el (font-setting-change-default-font):
5214 Use set-frame-font (Bug#9982).
5216 2012-02-01 Glenn Morris <rgm@gnu.org>
5218 * progmodes/compile.el (compilation-internal-error-properties):
5219 Respect compilation-first-column in the "*compilation*" buffer.
5221 * emacs-lisp/easy-mmode.el (define-minor-mode):
5222 Relax :variable's test for a named function.
5224 2012-01-31 Alan Mackenzie <acm@muc.de>
5226 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5229 2012-01-31 Chong Yidong <cyd@gnu.org>
5231 * frame.el (set-frame-font): New arg ALL-FRAMES.
5233 * menu-bar.el (menu-set-font): Use set-frame-font.
5235 * faces.el (face-spec-reset-face): Don't apply unspecified
5236 attribute values to the default face.
5238 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5240 * progmodes/cwarn.el (cwarn): Remove dead link.
5241 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5242 Remove * from defcustom docstrings.
5243 (turn-on-cwarn-mode): Make obsolete.
5244 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5245 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5247 2012-01-31 Glenn Morris <rgm@gnu.org>
5249 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5250 Fix :variable handling of mode a symbol not equal to modefun.
5251 Allow named functions to be used as the cdr of :variable.
5253 2012-01-30 Glenn Morris <rgm@gnu.org>
5255 * emacs-lisp/authors.el (authors-fixed-entries):
5256 Remove reference to deleted file rnewspost.el.
5258 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5260 * window.el (window-with-parameter): Remove unused variable `windows'.
5261 (window--side-check): Remove unused variable `code'.
5262 (window--resize-siblings): Remove unused variable `first'.
5263 (adjust-window-trailing-edge): Remove unused variable `failed'.
5264 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5265 Use `let', not `let*'.
5266 (balance-windows-2): Remove unused variable `found'.
5267 (window--state-put-2): Remove unused variable `splits'.
5268 (window-state-put): Remove unused variable `selected'.
5269 (same-window-p): Use `string-match-p'.
5270 (display-buffer-assq-regexp): Remove unused variable `value'.
5271 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5272 Mark argument ALIST as ignored.
5273 (pop-to-buffer): Remove unused variable `old-window'.
5275 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5277 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5278 and .lzma compressed files.
5280 2012-01-29 Chong Yidong <cyd@gnu.org>
5282 * frame.el (window-system-default-frame-alist): Doc fix.
5284 * dynamic-setting.el (font-setting-change-default-font): Don't
5285 change the default face if SET-FONT argument is non-nil (Bug#9982).
5287 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5289 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5291 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5293 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5294 breakpoints in files outside current directory (Bug#6098).
5296 2012-01-29 Chong Yidong <cyd@gnu.org>
5298 * progmodes/python.el: Require ansi-color at top-level.
5300 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5301 Define and use in Emacs Lisp mode (Bug#9360).
5302 (lisp-mode-abbrev-table): Add doc.
5303 (lisp-mode-variables): Don't set local-abbrev-table.
5304 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5306 2012-01-28 Roland Winkler <winkler@gnu.org>
5308 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5310 2012-01-28 Roland Winkler <winkler@gnu.org>
5312 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5313 (bibtex-set-dialect): Use it. Either set global values of
5314 dialect-dependent variables or bind these variables buffer-locally
5316 (bibtex-mode): Call bibtex-set-dialect via
5317 hack-local-variables-hook.
5318 (bibtex-dialect): Update docstring.
5319 Add safe-local-variable predicate.
5320 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5322 (bibtex-mode-map): Define menu for each dialect.
5323 (bibtex-entry): Fix docstring.
5325 2012-01-28 Chong Yidong <cyd@gnu.org>
5327 * eshell/esh-arg.el (eshell-quote-argument): New function.
5329 * eshell/esh-ext.el (eshell-invoke-batch-file):
5330 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5331 first arg to eshell-parse-command (Bug#10523).
5333 2012-01-28 Drew Adams <drew.adams@oracle.com>
5335 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5336 `default-directory' is non-nil.
5338 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5340 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5341 line that displays system-configuration-options. (Bug#9924)
5343 2012-01-28 Drew Adams <drew.adams@oracle.com>
5345 * descr-text.el (describe-char): Show information about POS, in
5346 addition to information about the character at POS. Improve and
5347 update the doc string. Change "code point" to "code point in
5348 charset", to avoid confusion with the character's Unicode code
5349 point shown above that. (Bug#10129)
5351 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5353 * descr-text.el (describe-char): Show the raw character, not only
5354 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5355 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5358 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5360 * emacs-lisp/package.el (package-install):
5361 Run package-refresh-contents if there is no archive yet (Bug#9798).
5363 2012-01-28 Chong Yidong <cyd@gnu.org>
5365 * emacs-lisp/package.el (package-maybe-load-descriptor):
5366 New function, split from package-maybe-load-descriptor.
5367 (package-maybe-load-descriptor): Use it.
5368 (package-download-transaction): Fully load required packages
5369 inside the loop, so that `require' calls work (Bug#10593).
5370 (package-install): No need to call package-initialize now.
5372 2012-01-28 Chong Yidong <cyd@gnu.org>
5374 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5376 * tooltip.el (tooltip-mode): Doc fix.
5377 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5379 * frame.el (set-cursor-color): Doc fix (Bug#352).
5381 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5382 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5384 * cus-edit.el (custom-buffer-create-internal): Fix search button
5386 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5388 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5390 * dired.el (dired-mark-files-regexp):
5391 Include any subdirectory components. (Bug#10445)
5393 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5395 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5396 Handle [host]:port syntax. (Bug#10533)
5398 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5400 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5402 2012-01-26 Glenn Morris <rgm@gnu.org>
5404 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5405 * term.el (term-raw-escape-map): Use Control-X-prefix.
5406 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5408 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5410 * window.el (window-state-get, window--state-get-1): Don't deal
5411 with fixed-sizeness of windows. Simplify code.
5413 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5415 * window.el (window--state-get-1, window--state-put-2):
5416 Don't save and restore the mark.
5418 2012-01-25 Chong Yidong <cyd@gnu.org>
5420 * custom.el (custom-variable-p): Doc fix.
5422 2012-01-25 Glenn Morris <rgm@gnu.org>
5424 * dired.el (dired-goto-file): Handle some of the more common
5425 characters that `ls -b' escapes. (Bug#10596)
5427 * progmodes/compile.el (compilation-next-error-function):
5428 Respect compilation-first-column in the "*compilation*" buffer.
5429 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5431 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5433 2012-01-24 Glenn Morris <rgm@gnu.org>
5435 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5437 2012-01-24 Julien Danjou <julien@danjou.info>
5439 * color.el (color-rgb-to-hsl): Fix value computing.
5440 (color-hue-to-rgb): New function.
5441 (color-hsl-to-rgb): New function.
5442 (color-clamp, color-saturate-hsl, color-saturate-name)
5443 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5444 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5446 2012-01-24 Glenn Morris <rgm@gnu.org>
5448 * vc/vc-rcs.el (vc-rcs-create-tag):
5449 * vc/vc-sccs.el (vc-sccs-create-tag):
5450 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5452 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5454 * eshell/esh-util.el (eshell-read-hosts-file):
5455 Skip comment lines. (Bug#10549)
5457 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5459 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5461 * subr.el (display-delayed-warnings): Doc fix.
5462 (collapse-delayed-warnings): New function to collapse identical
5464 (delayed-warnings-hook): Add it.
5466 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5468 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5470 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5471 (tramp-default-user-alist): Don't add "pscp".
5472 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5473 property "login-as", if set. (Bug#10530)
5475 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5477 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5478 "plink1" and "psftp". (Bug#10530)
5480 2012-01-21 Kenichi Handa <handa@m17n.org>
5482 * international/mule-cmds.el (prefer-coding-system): Show a
5483 warning message if the default value of file-name-coding-system
5486 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5488 * windmove.el (windmove-reference-loc):
5489 Fix windmove-reference-loc miscalculation.
5491 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5493 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5496 2012-01-21 Glenn Morris <rgm@gnu.org>
5498 * international/mule.el (auto-coding-alist): Add .tbz.
5500 * files.el (local-enable-local-variables): Doc fix.
5501 (inhibit-local-variables-regexps): Rename from
5502 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5503 Doc fix. Add some extensions from auto-coding-alist.
5504 (inhibit-local-variables-suffixes):
5505 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5506 (inhibit-local-variables-p):
5507 New function, extracted from set-auto-mode-1.
5508 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5509 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5510 (hack-local-variables): Doc fix. Make the mode-only case
5511 respect enable-local-variables and friends.
5512 Respect inhibit-local-variables-regexps for file-locals, but
5513 not for directory-locals.
5514 (set-visited-file-name):
5515 Take account of inhibit-local-variables-regexps.
5516 Whether it applies may change as the file name is changed.
5517 * jka-cmpr-hook.el (jka-compr-install):
5518 * jka-compr.el (jka-compr-uninstall):
5519 Update for inhibit-first-line-modes-suffixes name change.
5521 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5523 * help-macro.el (make-help-screen): Temporarily restore original
5524 binding for minor-mode-map-alist (Bug#10454).
5526 2012-01-19 Julien Danjou <julien@danjou.info>
5528 * color.el (color-name-to-rgb): Use the white color to find the max
5529 color component value and return correctly computed values.
5530 (color-name-to-rgb): Add missing float conversion for max value.
5532 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5534 * window.el (window--state-get-1, window-state-get): Do not use
5535 special state value for window-persistent-parameters.
5536 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5537 (window--state-put-2): Reset all window parameters to nil before
5538 assigning values of persistent parameters.
5540 2012-01-18 Alan Mackenzie <acm@muc.de>
5542 Eliminate sluggishness and hangs in fontification of "semicolon
5545 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5546 Change value 10000 -> 3000.
5547 (c-state-safe-place): Reformulate so it doesn't stack up an
5548 infinite number of wrong entries in c-state-nonlit-pos-cache.
5549 (c-determine-limit-get-base, c-determine-limit): New functions to
5550 determine backward search limits disregarding literals.
5551 (c-find-decl-spots): Amend commenting.
5552 (c-cheap-inside-bracelist-p): New function which detects "={".
5554 * progmodes/cc-fonts.el
5555 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5557 (c-font-lock-declarations): Fix an occurrence of point being
5558 undefined. Check additionally for point being in a bracelist or
5559 near a macro invocation without a semicolon so as to avoid a
5560 fruitless time consuming search for a declarator. Give a more
5561 precise search limit for declarators using the new
5564 2012-01-18 Glenn Morris <rgm@gnu.org>
5566 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5567 (set-auto-mode): Doc fixes.
5569 2012-01-17 Glenn Morris <rgm@gnu.org>
5571 * isearch.el (search-nonincremental-instead): Fix doc typo.
5573 * dired.el (dired-insert-directory): Handle newlines in directory name.
5574 (dired-build-subdir-alist): Unescape newlines in directory name.
5576 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
5578 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5579 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5580 (tramp-action-terminal): Use it. (Bug#10530)
5582 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5584 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5586 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5588 * window.el (window-state-ignored-parameters): Remove variable.
5589 (window--state-get-1): Rename argument MARKERS to IGNORE.
5590 Handle persistent window parameters. Make copy of clone-of
5591 parameter only if requested. (Bug#10348)
5592 (window--state-put-2): Install a window parameter only if it has
5593 a non-nil value or an existing parameter shall be overwritten.
5595 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5597 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5599 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5601 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5602 don't pass the (nil) value of `upnode' to string-match.
5604 2012-01-14 Chong Yidong <cyd@gnu.org>
5606 * startup.el (command-line): Fix X resource class for cursorColor.
5607 Fix values recognized by the cursorBlink resource.
5609 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5611 * epg.el (epg--make-temp-file): Avoid permission race condition
5612 when running on old Emacs versions (bug#10403).
5614 2012-01-14 Glenn Morris <rgm@gnu.org>
5616 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5618 2012-01-13 Alan Mackenzie <acm@muc.de>
5620 Fix filling for when filladapt mode is enabled.
5622 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5623 c-mask-paragraph, pass in `fill-paragraph' rather than
5624 `fill-region-as-paragraph'. (This is a reversion of a previous
5626 * progmodes/cc-mode.el (c-basic-common-init):
5627 Make fill-paragraph-handle-comment buffer local and set it to nil.
5629 2012-01-13 Glenn Morris <rgm@gnu.org>
5631 * dired.el (dired-switches-escape-p): New function.
5632 (dired-insert-directory): Use dired-switches-escape-p.
5633 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5635 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5637 2012-01-12 Glenn Morris <rgm@gnu.org>
5639 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5640 changes in adaptive-fill-regexp. (Bug#10276)
5642 2012-01-11 Alan Mackenzie <acm@muc.de>
5644 Fix Emacs bug #10463 - put `widen's around the critical spots.
5646 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5647 widen around each invocation of c-state-pp-to-literal. Remove an
5648 unused let variable.
5650 2012-01-11 Glenn Morris <rgm@gnu.org>
5652 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5655 2012-01-10 Chong Yidong <cyd@gnu.org>
5657 * net/network-stream.el (network-stream-open-starttls):
5658 Avoid emitting a confusing error message when the server gives a bad
5659 response to the capability command.
5661 2012-01-10 Glenn Morris <rgm@gnu.org>
5663 * mail/unrmail.el (unrmail): Tweak previous change.
5665 2012-01-09 Chong Yidong <cyd@gnu.org>
5667 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5669 2012-01-08 Alan Mackenzie <acm@muc.de>
5671 Optimise font locking in long enum definitions.
5673 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5674 arm to a cond form to handle enums.
5675 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5676 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5678 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5680 * files.el (move-file-to-trash): Preserve default file modes on error.
5683 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5685 * faces.el (set-face-attribute): Clarify the meaning of the nil
5688 * subr.el (with-selected-frame): Mention that the selected frame
5689 is restored (bug#9980).
5691 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5694 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5695 (password-read): Don't autoload unused function.
5697 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5699 * progmodes/which-func.el (which-func-mode): Turn into a
5700 non-interactive function and mark as obsolete (bug#10428).
5702 2012-01-06 Chong Yidong <cyd@gnu.org>
5704 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5705 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5706 functions, along with 1 and -1.
5708 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5710 * time.el (display-time-load-average)
5711 (display-time-default-load-average): Doc fixes. See the thread
5713 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5716 2012-01-06 Glenn Morris <rgm@gnu.org>
5718 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5719 has no messages. (Bug#10377)
5721 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5722 than Info-edit. (Bug#10385)
5724 * time.el (display-time-load-average, display-time-next-load-average):
5727 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5728 local setting of buffer-read-only to the input buffer. (Bug#10419)
5730 * calendar/calendar.el (calendar-mode):
5731 Locally set scroll-margin to 0. (Bug#10379)
5733 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5735 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5737 2012-01-05 Glenn Morris <rgm@gnu.org>
5739 * eshell/em-unix.el (diff-no-select): Autoload it.
5740 (eshell/diff): Use diff-no-select. (Bug#10420)
5742 2012-01-05 Chong Yidong <cyd@gnu.org>
5744 * shell.el (shell-dynamic-complete-functions): Revert last change.
5745 (shell-command-completion-function): New function.
5746 (shell-completion-vars): Use it to implement
5747 shell-completion-execonly (Bug#10417).
5749 * custom.el (enable-theme): Don't set custom-safe-themes.
5751 * cus-theme.el (custom-theme-merge-theme):
5752 Ignore custom-enabled-themes and custom-safe-themes.
5754 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5756 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5757 first prompt in `sql-interacive-mode'.
5758 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5760 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5761 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5762 context of original buffer. Invoke `sql-login-hook'.
5764 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5766 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5767 letters in cite-prefix.
5769 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5771 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5773 2012-01-03 Chong Yidong <cyd@gnu.org>
5775 * shell.el (shell-dynamic-complete-functions):
5776 Put pcomplete-completions-at-point, so as to try
5777 comint-filename-completion first (Bug#10417).
5779 2012-01-02 Richard Stallman <rms@gnu.org>
5781 * battery.el (battery-status-function):
5782 Detect when to use battery-yeeloong-sysfs.
5783 (battery-echo-area-format): Add string for Yeeloong.
5784 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5785 (battery-yeeloong-sysfs): New function.
5787 2012-01-02 Chong Yidong <cyd@gnu.org>
5789 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5790 (dirtrack): Merge code for handling relative filenames in prompt
5791 from shell-dir-cookie-watcher.
5792 (dirtrack-debug-message): New arg to avoid excess format calls.
5794 * shell.el (shell-dir-cookie-re): Variable deleted.
5795 (shell-dir-cookie-watcher): Function deleted.
5796 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5799 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5801 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5802 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5805 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5807 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5809 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5811 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5812 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5814 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5816 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5817 also for alternative shells.
5818 (tramp-open-connection-setup-interactive-shell): Check, whether
5819 the shell is a busybox.
5820 (tramp-send-command): Don't suppress multiple prompts for
5821 busyboxes, it hurts.
5823 2011-12-28 Chong Yidong <cyd@gnu.org>
5825 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5826 (gdb-get-source-file): Move mode line update to
5827 gdb-get-source-file (Bug#10087).
5829 2011-12-25 Chong Yidong <cyd@gnu.org>
5831 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5832 gud-gdb-marker-filter without taking it as an argument.
5833 (gud-gdb-run-command-fetch-lines): Caller changed.
5834 (gud-gdb-completion-function): New variable.
5835 (gud-gdb-completion-at-point): Use it.
5836 (gud-gdb-completions-1): Split from gud-gdb-completions.
5838 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5839 function as separate arguments.
5840 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5841 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5842 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5843 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5844 (gdb-stopped, def-gdb-auto-update-trigger)
5845 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5846 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5848 (gud-gdbmi-completions): New function.
5849 (gdb): Use it for generating the completion table.
5851 2011-12-24 Alan Mackenzie <acm@muc.de>
5853 Introduce a mechanism to widen the region used in context font
5854 locking. Use this to protect declarations from losing their contexts.
5856 * progmodes/cc-langs.el (c-before-font-lock-functions):
5857 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5858 (c-before-context-fontification-functions): New defvar, a list of
5859 functions to be run just before context (etc.) font locking.
5861 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5862 New, functionality extracted from
5863 c-neutralize-syntax-in-and-mark-CPP.
5864 (c-in-after-change-fontification): New variable.
5865 (c-after-change): Set c-in-after-change-fontification.
5866 (c-set-fl-decl-start): Rejig its interface, so it can be called
5867 from both after-change and context fontifying.
5868 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5870 (c-standard-font-lock-fontify-region-function): New variable.
5871 (c-font-lock-fontify-region): New function.
5873 2011-12-24 Juri Linkov <juri@jurta.org>
5875 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5878 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5880 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5881 existence of source file. (Bug#10325)
5883 2011-12-23 Alan Mackenzie <acm@muc.de>
5885 Fix unstable fontification inside templates.
5887 * progmodes/cc-langs.el (c-before-font-lock-functions):
5888 Newly created from the singular version. The (c c++ objc) entry now
5889 additionally has c-set-fl-decl-start. The other languages (apart
5890 from AWK) have that as a single entry.
5892 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5893 The functionality for "local" declarations has been extracted to
5894 c-set-fl-decl-start.
5896 * progmodes/cc-mode.el (c-common-init, c-after-change):
5897 Changes due to pluralisation of c-before-font-lock-functions.
5898 (c-set-fl-decl-start): New function, extracted from
5899 c-font-lock-enclosing-decls and enhanced.
5901 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5903 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5905 2011-12-22 Juri Linkov <juri@jurta.org>
5907 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5909 2011-12-22 Chong Yidong <cyd@gnu.org>
5911 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5913 2011-12-21 Drew Adams <drew.adams@oracle.com>
5915 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5917 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5919 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5921 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5923 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5924 highlighting and support. Fix up comments for capitalization.
5925 (cfengine-mode-debug): New var.
5926 (cfengine3-mode): Change the modeline indicator to "CFE3".
5927 (cfengine3-font-lock-keywords): Improve defun highlighting.
5928 (cfengine2-actions): Rename from `cfengine-actions'.
5929 (cfengine2-font-lock-keywords): Rename from
5930 `cfengine-font-lock-keywords'.
5931 (cfengine2-imenu-expression): Rename from
5932 `cfengine-imenu-expression'.
5933 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5934 (cfengine2-beginning-of-defun): Rename from
5935 `cfengine-beginning-of-defun'.
5936 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5937 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5938 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5939 modeline indicator to "CFE2".
5940 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5941 (cfengine-mode-abbrevs): Mark obsolete.
5943 2011-12-21 Chong Yidong <cyd@gnu.org>
5945 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5948 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5950 * window.el (window-normalize-buffer-to-display): Remove.
5951 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5953 2011-12-19 Chong Yidong <cyd@gnu.org>
5955 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5956 Don't signal an error in a predicate function; return non-nil.
5957 (vc-dir-mark-file): Move the error here.
5958 (vc-dir-mark-unmark): If acting on the region, keep going if one
5959 of the entries cannot be marked/unmarked.
5960 (vc-dir-mark-all-files): If current entry is a directory, mark
5961 only child files, as documented.
5963 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5965 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5966 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5969 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5971 * term/ns-win.el (ns-get-selection-internal)
5972 (ns-store-selection-internal): Declare.
5973 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5974 Declare as obsolete.
5975 (ns-get-pasteboard, ns-paste-secondary):
5976 Use ns-get-selection-internal.
5977 (ns-set-pasteboard, ns-copy-including-secondary):
5978 Use ns-store-selection-internal.
5980 2011-12-17 Chong Yidong <cyd@gnu.org>
5982 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5983 (vc-deduce-fileset): Doc fix.
5985 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5987 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5989 2011-12-13 Sam Steingold <sds@gnu.org>
5991 * man.el (Man-getpage-in-background): When running under a
5992 window-system, ignore $MANWIDTH and $COLUMNS.
5994 2011-12-15 Kenichi Handa <handa@m17n.org>
5996 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5997 (setup-ethiopic-environment-internal): Comment out key-binding for
5998 ethio-toggle-punctuation.
6000 2011-12-13 Alan Mackenzie <acm@muc.de>
6002 Add the switch statement to AWK Mode.
6004 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6005 "default" to the keywords regexp.
6007 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6008 expression as the rest.
6009 (c-nonlabel-token-key): Allow string literals for AWK.
6010 Refactor for the other modes.
6012 Large brace-block initialisation makes CC Mode slow: Fix.
6013 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6014 routines. Limit backward searching in c-font-lock-enclosing.decl.
6016 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6017 pp-state and literal type in addition to the limits.
6018 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6019 (c-state-literal-at): Use the above new defun.
6020 (c-slow-in-literal, c-fast-in-literal): Remove.
6021 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6023 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6024 being in a literal. Add a limit for backward searching.
6026 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6029 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6031 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6033 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6035 * window.el (delete-other-windows): Use correct frame in call to
6036 window-with-parameter.
6038 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6040 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6041 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6042 (makefile-gmake-statements, makefile-makepp-statements):
6043 Use it and add new makepp keywords.
6044 (makefile-makepp-font-lock-keywords): Add new patterns.
6045 (makefile-match-function-end): Match new [...] and [[...]].
6047 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6049 * ses.el (ses-call-printer-return, ses-cell-property-get)
6050 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6051 (ses-create-cell-variable, ses-reset-header-string)
6052 (ses-cell-set-formula, ses-repair-cell-reference-all)
6053 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6054 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6055 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6056 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6057 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6058 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6059 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6060 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6061 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6062 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6063 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6064 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6066 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6068 * ses.el: The overall change is to add cell renaming, that is
6069 setting fancy names for cell symbols other than name matching
6070 "\\`[A-Z]+[0-9]+\\'" regexp .
6071 (ses-create-cell-variable): New defun.
6072 (ses-relocate-formula): Relocate formulas only for cells the
6073 symbols of which are not renamed, i.e. symbols whose names do not
6074 match regexp "\\`[A-Z]+[0-9]+\\'".
6075 (ses-relocate-all): Relocate values only for cells the symbols of
6076 which are not renamed.
6077 (ses-load): Create cells variables as the (ses-cell ...) are read,
6078 in order to check row col consistency with cell symbol name only
6079 for cells that are not renamed.
6080 (ses-replace-name-in-formula): New defun.
6081 (ses-rename-cell): New defun.
6083 2011-12-11 Chong Yidong <cyd@gnu.org>
6085 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6086 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6088 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6090 * window.el (other-window): Fix docstring.
6092 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6094 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6095 `from' or `to' address before taking its substring.
6096 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6097 encoded name is chopped in the middle of the encoded string, and
6098 thus displayed encoded.
6100 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6102 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6104 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6106 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6107 to use texinfo-update-node and commands that call it if the
6108 Texinfo file uses @node lines without next/prev/up pointers.
6109 Correct outdated description about texinfo-master-menu.
6110 (texinfo-all-menus-update, texinfo-master-menu)
6111 (texinfo-update-node, texinfo-every-node-update)
6112 (texinfo-multiple-files-update): Doc fix. Warn against updating
6113 all the @node lines.
6114 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6115 argument is numeric. Explain better in the doc string what the
6116 function really does.
6117 (texinfo-insert-master-menu-list): Improve the error message
6118 displayed if there's no menu in the Top node.
6119 (Bug#2975) See also this thread:
6120 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6122 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6124 * speedbar.el (speedbar-supported-extension-expressions):
6125 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6127 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6129 * printing.el (pr-mode-alist):
6130 * simple.el (filter-buffer-substring-functions)
6131 (completion-list-insert-choice-function):
6132 * window.el (window-with-parameter, window-atom-root)
6133 (window-sides-slots, window-size-fixed, window-min-delta)
6134 (window-max-delta, window--resize-mini-window)
6135 (window--resize-child-windows-normal, window-tree)
6136 (delete-other-windows, quit-window, split-window)
6137 (display-buffer-record-window, special-display-buffer-names)
6138 (special-display-regexps, special-display-popup-frame)
6139 (same-window-p, split-window-sensibly)
6140 (display-buffer-overriding-action, display-buffer-alist)
6141 (display-buffer-base-action, display-buffer, switch-to-buffer)
6142 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6143 (fit-window-to-buffer, recenter-positions)
6144 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6145 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6146 and remove unneeded backslashes in docstrings.
6148 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6150 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6152 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6153 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6155 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6156 when reading the makefile (bug#10116).
6158 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6160 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6163 2011-12-06 Glenn Morris <rgm@gnu.org>
6165 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6167 2011-12-06 Chong Yidong <cyd@gnu.org>
6169 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6171 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6173 * textmodes/table.el (table-shorten-cell): Fix typo.
6175 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6177 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6179 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6181 * descr-text.el (describe-char): Fix display of strong
6182 right-to-left characters and directional embeddings and overrides.
6184 * simple.el (what-cursor-position): Fix display of codepoints of
6185 strong right-to-left characters.
6187 2011-12-05 Chong Yidong <cyd@gnu.org>
6189 * faces.el (read-color): Doc fix.
6191 2011-12-05 Glenn Morris <rgm@gnu.org>
6193 * align.el (align--set-marker): Add doc-string.
6194 Don't try to move something that is not a marker. (Bug#10216)
6196 2011-12-04 Glenn Morris <rgm@gnu.org>
6198 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6199 overly zealous deletion of trailing whitespace.
6201 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6203 * server.el (server-delete-client): On Windows, do not try to delete
6205 (server-process-filter): On Windows, treat requests for a tty frame as
6206 if they were for a GUI frame if the running server is in GUI mode.
6208 2011-12-03 Glenn Morris <rgm@gnu.org>
6210 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6212 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6214 * electric.el: Streamline electric-indent's hook.
6215 (electric-indent-chars): Revert to simple list.
6216 (electric-indent-functions): New var.
6217 (electric-indent-post-self-insert-function): Use it.
6219 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6220 there's no inferior buffer (bug#10196).
6221 (prolog-consult-compile): Don't use toggle-read-only.
6223 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6225 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6226 interrupt. (Bug#10187)
6228 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6233 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6236 2011-12-02 Juri Linkov <juri@jurta.org>
6238 * info.el (Info-search): Display "end of manual" when Isearch
6239 reaches the end of single-file Info manual. (Bug#9918)
6241 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6243 * isearch.el (isearch-message-prefix): Run the input method part
6244 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6246 2011-12-02 Juri Linkov <juri@jurta.org>
6248 * isearch.el (isearch-occur): Use `word-search-regexp' for
6250 (isearch-search-and-update): Add condition for `isearch-word' and
6251 call `word-search-regexp'. (Bug#10145)
6253 2011-12-01 Glenn Morris <rgm@gnu.org>
6255 * eshell/em-hist.el (eshell-hist-initialize):
6256 Handle eshell-history-size nil and HISTSIZE set or unset.
6257 (eshell-history-file-name, eshell-history-size): Fix custom type.
6259 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6261 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6263 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6265 * progmodes/verilog-mode.el (verilog-pretty-expr):
6266 Rework verilog-pretty-expr to handle new assignment operators in system
6267 verilog, such as += *= and the like.
6268 (verilog-assignment-operator-re): Regular expression to find the
6269 assigment operator in a verilog assignment.
6270 (verilog-assignment-operation-re): Regular expression to find an
6271 assignment statement for pretty-expr.
6272 (verilog-in-attribute-p): Query returns true if point is in an
6273 attribute context; used to skip these for expression line up from
6275 (verilog-in-parameter-p): Query returns true if point is in an
6276 parameter definition context; used to skip these for expression
6277 line up from pretty-expr.
6278 (verilog-in-parenthesis-p): Query returns true if point is in a
6279 parenthetical expression, specifically ( ) but not [ ] or { };
6280 used by pretty-expr.
6281 (verilog-just-one-space): If there is no space, don't add one.
6282 (verilog-get-lineup-indent-2): Specifically skip just attribute
6283 contexts for expression lineup, rather than skipping all
6284 parenthetical expressions.
6285 (verilog-calculate-indent): Fix comment, and fix indent.
6286 (verilog-do-indent): Indent declarations in lists (suggested by
6288 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6290 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6293 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6295 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6296 parameters with embedded comments. Reported by Ray Stevens.
6297 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6298 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6299 Reported by Tim Holt.
6300 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6301 instantiated by upper module causing wrong expansion until AUTOed a
6302 second time. Reported by K C Buckenmaier.
6303 (verilog-diff-auto): Fix showing .* as a difference when
6304 `verilog-auto-star-save' off. Reported by Dan Dever.
6305 (verilog-auto-reset, verilog-read-always-signals)
6306 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6307 temporary signals in reset list if
6308 verilog-auto-reset-blocking-in-non is nil, and match assignment
6309 style to each signal's assignment type, bug381.
6310 Reported by Thomas Esposito.
6311 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6312 (verilog-uvm-statement-re): Support UVM indentation and
6313 highlighting, with old OVM keywords only.
6314 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6315 Support AUTOTIEOFF creating non-wire data types.
6316 Suggested by Jonathan Greenlaw.
6317 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6318 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6319 (verilog-inject-sense, verilog-read-inst-pins)
6320 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6321 Fix mismatching parenthesis inside commented out code when deleting
6322 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6323 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6324 non-numeric vector width. Reported by Alex Reed.
6325 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6326 detecting signals with parameter widths. Reported by Alex Reed.
6327 (verilog-auto-delete-trailing-whitespace):
6328 With `verilog-auto-delete-trailing-whitespace' remove trailing
6329 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6330 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6331 Fix verilog-scan-cache corruption when running user AUTO expansion
6332 hooks that call indentation routines.
6333 (verilog-simplify-range-expression): Fix typo ignoring lower case
6335 (verilog-delete-auto): Fix delete-autos to also remove user created
6336 automatics, as long as they start with AUTO.
6337 (verilog-batch-diff-auto, verilog-diff-auto)
6338 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6339 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6340 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6341 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6342 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6343 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6344 is disabled and its cache will get corrupt, causing AUTOS not to
6345 expand. Instead use only -quick functions.
6346 (verilog-scan-region): Fix scanning over escaped quotes.
6347 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6348 (verilog-re-search-backward-quick)
6349 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6350 related functions now ignore strings, to fix misparsing of strings
6351 with magic comments embedded in them.
6352 (verilog-read-auto-template):
6353 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6354 Reported by Brad Dobbie.
6355 (verilog-read-auto-template):
6356 Fix 'verilog-auto-inst-template-numbers' with comments.
6357 Reported by Brad Dobbie.
6358 (verilog-auto-inst, verilog-auto-inst-param)
6359 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6360 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6361 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6362 debugging templates without merge conflicts, bug357.
6363 Reported by Brad Dobbie.
6364 (verilog-read-auto-template):
6365 Fix verilog-auto-inst-template-numbers with multiple templates.
6366 Reported by Brad Dobbie.
6367 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6368 abbrevs so user won't be asked to save.
6369 (verilog-read-auto-lisp-present): Fix to start at beginning of
6370 buffer in case called outside of verilog-auto.
6371 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6372 to "X-2". Reported by Matthew Myers.
6373 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6374 all inputs from module templates. Reported by Leith Johnson.
6375 (verilog-module-inside-filename-p): Fix locating programs as with
6377 (verilog-auto-inst-port): Fix vl-width expressions when using
6378 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6379 (verilog-decls-get-regs, verilog-decls-get-signals,
6380 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6381 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6382 verilog-read-decls): Combine reg and wire structures into one var
6383 structure to represent SystemVerilog concepts.
6384 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6385 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6386 (verilog-auto-wire-type, verilog-insert-definition):
6387 Add verilog-auto-wire-type and AUTOLOGIC to support using
6388 SystemVerilog "logic" keyword instead of "wire"/"reg".
6389 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6390 to declares outputs that also have assignments (presumably in an
6391 ifdef or generate if so there's not a driver conflict).
6392 Reported by Matthew Myers.
6393 (verilog-auto-declare-nettype, verilog-insert-definition):
6394 Add verilog-auto-declare-nettype to fix declarations using
6395 `default_nettype none. Reported by Julian Gorfajn.
6396 (verilog-read-always-signals-recurse, verilog-read-decls)
6397 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6398 malformed end statement, bug325. Reported by Joshua Wise and
6400 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6401 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6402 when expanding .* in interfaces, bug320.
6403 Reported by Pierre-David Pfister.
6404 (verilog-read-module-name): Fix import statements between module
6405 name and open parenthesis, bug317.
6406 Reported by Pierre-David Pfister.
6407 (verilog-simplify-range-expression): Fix simplification of
6408 multiplications inside AUTOWIRE connections, bug303.
6409 (verilog-auto-inst-port): Support parameter expansion in
6410 multidimensional arrays.
6411 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6412 after "assert property". Reported by Julian Gorfajn.
6413 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6414 with multiplication, bug303.
6415 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6416 Reported by Jan Frode Lonnum.
6418 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6420 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6421 (hfy-shell-file-name, hfy-shell):
6422 * international/fontset.el (x-decompose-font-name): Fix typos.
6424 2011-11-29 Ken Brown <kbrown@cornell.edu>
6426 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6427 (gdb-version): Remove defvar.
6428 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6429 (gdb-gud-context-command, gdb-non-stop-handler)
6430 (gdb-current-context-command, gdb-stopped): Use it.
6431 (gdb-init-1): Enable pretty printing here.
6432 (gdb-non-stop-handler): Don't enable pretty-printing here.
6433 Check to see if the target supports non-stop mode; if not, turn off
6434 non-stop mode. Use the following.
6435 (gdb-check-target-async): New defun.
6436 (gud-watch, gdb-stopped): Fix whitespace.
6437 (gdb-get-source-file): Don't try to display the source file if
6438 `gdb-main-file' is nil.
6440 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6442 * align.el: Try to generate fewer markers (bug#10047).
6443 (align--set-marker): New macro.
6444 (align-region): Use it.
6446 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6448 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6450 2011-11-29 Chong Yidong <cyd@gnu.org>
6452 * indent.el (indent-for-tab-command, indent-according-to-mode):
6454 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6456 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6458 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6459 aware of remote file names. (Bug#10124)
6461 2011-11-29 Chong Yidong <cyd@gnu.org>
6463 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6465 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * files.el (find-file): Don't use force-same-window (bug#10144).
6468 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6469 use pop-to-buffer if the selected window can't be used.
6470 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6472 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6474 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6477 2011-11-28 Chong Yidong <cyd@gnu.org>
6479 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6481 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6483 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6484 gdb-get-source-file-list on gdb-create-source-file-list.
6486 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6488 * whitespace.el (whitespace-newline): Use a different foreground
6489 color for 16-color light-background displays.
6491 2011-11-24 Chong Yidong <cyd@gnu.org>
6493 * window.el (display-buffer--special-action): Doc fix.
6495 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6497 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6498 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6499 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6500 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6501 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6502 (avl-tree-stack-first):
6503 * emacs-lisp/cconv.el (cconv--analyse-use):
6504 * net/gnutls.el (gnutls-negotiate): Fix typos.
6506 2011-11-24 Glenn Morris <rgm@gnu.org>
6508 * lpr.el (lpr-windows-system, lpr-lp-system):
6509 * mail/binhex.el (binhex-begin-line):
6510 * progmodes/grep.el (grep-history, grep-find-history):
6511 * textmodes/flyspell.el:
6512 * vc/pcvs-defs.el (cvs-global-menu):
6513 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6514 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6515 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6517 * net/tls.el: Fix case of "GnuTLS".
6519 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6521 * version.el (emacs-build-system): Give it a doc-string.
6523 2011-11-24 Juri Linkov <juri@jurta.org>
6525 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6527 2011-11-24 Glenn Morris <rgm@gnu.org>
6529 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6530 if called on a non-mime message just toggle the headers. (Bug#8006)
6532 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6534 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6535 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6536 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6537 (allout-rebullet-heading, allout-open-sibtopic)
6538 (allout-toggle-current-subtree-encryption)
6539 (allout-toggle-subtree-encryption, allout-encrypt-string)
6540 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6541 (allout-distinctive-bullets-string, allout-auto-activation):
6542 * window.el (window-normalize-buffer-to-display):
6543 * progmodes/verilog-mode.el (verilog-batch-indent):
6544 * textmodes/bibtex.el (bibtex-field-braces-opt)
6545 (bibtex-field-strings-opt):
6546 * vc/cvs-status.el (cvs-tree-merge):
6549 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
6551 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6552 `non-essential' to t, in order to avoid remote connections.
6554 2011-11-23 Eli Zaretskii <eliz@gnu.org>
6556 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6557 On MS-DOS and MS-Windows, compare with loaddefs.el
6560 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6562 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6564 2011-11-23 Glenn Morris <rgm@gnu.org>
6566 * paths.el (rmail-file-name): Reformat the doc-string so that it
6569 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6570 (rmail-auto-file): Ignore case in the "special" field names,
6571 as mail-fetch-field does for all others.
6573 * mail/rmail.el (rmail-forward):
6574 * mail/rmailkwd.el (rmail-set-label):
6575 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6576 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6578 * mail/rmail.el (rmail-current-message): Doc fix.
6580 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6582 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6584 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6586 2011-11-22 Glenn Morris <rgm@gnu.org>
6588 * mail/rmailmm.el (test-rmail-mime-handler)
6589 (test-rmail-mime-bulk-handler)
6590 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6592 2011-11-21 Juri Linkov <juri@jurta.org>
6594 * calc/calc.el (calc-read-key-sequence):
6595 Let-bind `input-method-function' to nil. (Bug#10018)
6597 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6599 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6600 Tell the caller that the next line needs recomputation, even
6601 though it doesn't start a sexp (bug#10094).
6603 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6605 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6607 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6609 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6610 Use force-same-window.
6612 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6614 * descr-text.el (describe-char-unicode-data):
6615 * json.el (json-string-escape):
6616 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6617 (Footnote-unicode, Footnote-style-p):
6618 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6620 2011-11-20 Chong Yidong <cyd@gnu.org>
6622 * window.el (replace-buffer-in-windows): Restore interactive spec.
6624 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6626 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6628 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6629 (byte-compile-global-not-obsolete-vars): New var.
6630 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6632 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6634 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6636 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6637 * progmodes/pascal.el (electric-pascal-equal):
6638 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6639 * xml.el (xml-substitute-special): Fix typos.
6641 2011-11-20 Glenn Morris <rgm@gnu.org>
6643 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6644 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6646 (rmail-decode-mime-charset): Mark as obsolete.
6648 * mail/rmailsum.el (rmail-message-regexp-p-1):
6649 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6650 Before using mime functions, check they are set. (Bug#10077)
6652 2011-11-19 Juri Linkov <juri@jurta.org>
6654 * info.el (Info-finder-find-node): Use `package--builtins' instead
6655 of `package-alist'. Use node names formed by the pattern "Keyword "
6656 and the keyword name.
6658 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6660 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6662 2011-11-19 Juri Linkov <juri@jurta.org>
6664 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6665 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6666 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6667 `old-history', `old-history-forward'. Add let-binding
6668 `window-selected'. Remove calls to `kill-buffer',
6669 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6670 before calling `Info-find-node', so `Info-find-node-2' will reread
6671 the Info file. Restore window positions only when `window-selected'
6674 2011-11-19 Juri Linkov <juri@jurta.org>
6676 * isearch.el (isearch-lazy-highlight-new-loop):
6677 Remove condition `(not isearch-error)'. (Bug#9918)
6679 * misearch.el (multi-isearch-search-fun): Add condition
6680 `(not bound)' to ignore lazy-highlighting search.
6681 Add the search-failed message "end of multi" when the end of
6682 multi-sequence is reached. Uncapitalize the search-failed
6683 message "Repeat for next buffer".
6685 * info.el (Info-search): Add the search-failed message
6686 "end of the manual" when the end of the manual is reached
6689 2011-11-19 Juri Linkov <juri@jurta.org>
6691 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6692 Use non-destructive `remove' instead of `delete' because
6693 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6694 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6696 2011-11-19 Juri Linkov <juri@jurta.org>
6698 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6699 to nil instead of binding `search-ring' and `regexp-search-ring'.
6702 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6704 * simple.el (line-move): Force movement by logical lines for any
6705 hscrolled window, not only when auto-hscroll-mode is on.
6706 (line-move-visual): Update doc string to that effect. (Bug#10076)
6708 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6710 * language/european.el (macintosh): Define as alias for mac-roman.
6712 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6714 * mail/rmailmm.el (rmail-mime-display-header)
6715 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6716 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6717 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6718 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6719 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6721 (rmail-mime-entity-segment): To get past the tagline, move forward
6722 2 more lines, to account for the 2 empty lines that precede and
6723 follow the line with the buttons.
6724 (rmail-mime-update-tagline): Move one more line, to get past the
6725 empty line that follows the buttons in the tagline. (Bug#9520)
6727 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6729 * window.el (window-max-delta-1, window-min-delta-1)
6730 (window-min-size-1, window-state-get-1, window-state-put-1)
6731 (window-state-put-2): Use "window--" prefix.
6733 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6735 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6736 (smie-warning-count): New var.
6737 (smie-set-prec2tab): Use it.
6738 (smie-bnf->prec2): Improve warnings. Add docstring.
6739 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6740 (smie-bnf--set-class): New function.
6741 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6744 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6745 (compilation-error-properties, compilation-move-to-column):
6746 Handle compilation-first-column while in the target buffer.
6748 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6749 Don't hardcode point-min==1.
6751 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6752 (eshell-rewrite-for-command): Remove workaround.
6753 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6754 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6755 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6757 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6759 2011-11-17 Glenn Morris <rgm@gnu.org>
6761 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6762 Ignore buffer-local generated-autoload-file if it is the same
6763 as the global value. (Bug#10049)
6765 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6767 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6768 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6769 (reftex-toc-previous-heading, reftex-toc-max-level)
6770 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6771 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6772 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6773 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6774 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6775 (reftex-toc-rename-label, reftex-toc-visit-location)
6776 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6777 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6778 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6779 leaving "*toc*" only for references to the buffer.
6781 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6783 * window.el (window-resize, delete-window, split-window):
6784 Replace window-splits by window-combination-resize.
6785 * cus-start.el (window-splits): Replace by window-combination-resize.
6787 2011-11-17 Glenn Morris <rgm@gnu.org>
6789 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6790 Make bash entry derive from sh entry, not shell entry.
6792 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6794 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6797 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6799 * menu-bar.el (menu-bar-file-menu):
6800 * printing.el (pr-ps-utility):
6801 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6802 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6803 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6804 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6805 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6806 (icalendar--convert-cyclic-to-ical)
6807 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6808 (icalendar--convert-ical-to-diary)
6809 (icalendar--convert-recurring-to-diary)
6810 (icalendar--convert-non-recurring-all-day-to-diary)
6811 (icalendar-import-format-sample):
6812 * progmodes/idlw-shell.el (idlwave-shell-mode):
6813 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6814 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6815 (vhdl-ps-print-init): Fix typos.
6817 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6819 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6820 FSF and collapse date sequence, obscure author/maintainer email address
6821 better, remove extra version line, track relocation of author's webpage.
6823 * progmodes/python.el (python-pdbtrack-input-prompt)
6824 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6825 regular python pdb prompts. Adjustments shamelessly taken exactly as
6826 suggested in EmacsWiki page (tiny change):
6827 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6829 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6831 * expand.el (expand-pos, expand-index, expand-point):
6832 Remove redundant info from docstring.
6833 (expand-add-abbrevs): Doc fix.
6834 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6835 (expand-sample-perl-mode-expand-list): Fix typos.
6837 * net/dbus.el (dbus-event-member-name):
6838 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6839 * term/pc-win.el (msdos-create-frame-with-faces):
6840 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6842 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6844 * window.el (split-window, window-state-get-1)
6845 (window-state-put-1, window-state-put-2): Rename occurrences of
6846 window-nest to window-combination-limit.
6847 * cus-start.el (window-nest): Rename to window-combination-limit.
6849 2011-11-16 Chong Yidong <cyd@gnu.org>
6851 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6854 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6856 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6857 `completing-read' will remove *Completions* and will preserve
6858 current-buffer for us.
6859 (tmm-add-prompt): Users of *Completions* will always (re)set its
6861 (tmm-old-comp-map): Remove.
6863 2011-11-16 Glenn Morris <rgm@gnu.org>
6865 * mail/rmailedit.el: Require rmailmm when compiling.
6866 (rmail-old-mime-state): New declaration.
6867 (rmail-edit-current-message): If editing a mime message,
6868 edit the "raw" message from the mbox buffer.
6869 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6871 2011-11-15 Glenn Morris <rgm@gnu.org>
6873 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6874 which wasn't being used. Add optional arg to force given state.
6875 (rmail-mime): Add optional arg to force given state.
6877 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6879 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6880 * frame.el (display-mm-dimensions-alist):
6881 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6882 (outline-move-subtree-down):
6883 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6884 (newsticker--treeview-do-get-node):
6885 * net/quickurl.el (quickurl-list-buffer-name):
6886 * progmodes/dcl-mode.el (dcl-mode):
6887 * progmodes/gdb-mi.el (gdb-mapcar*):
6888 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6890 2011-11-15 Glenn Morris <rgm@gnu.org>
6892 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6893 in a boolean sense, so just make it a boolean, and fix the doc.
6894 (rmail-show-mime-function, rmail-mime-feature)
6895 (rmail-require-mime-maybe): Doc fixes.
6896 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6898 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6900 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6902 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6903 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6904 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6905 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6907 2011-11-15 Glenn Morris <rgm@gnu.org>
6909 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6910 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6911 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6912 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6913 (rmail-mime, rmail-show-mime): Doc fixes.
6915 * term/ns-win.el (mode-line-frame-identification):
6916 Leave it alone. (Bug#10051)
6918 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6920 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6921 Handle empty buffers. (Bug#9978)
6923 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6925 * international/mule.el (define-charset):
6926 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6927 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6928 * progmodes/verilog-mode.el (verilog-backward-token):
6929 * textmodes/ispell.el (lookup-words):
6930 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6932 2011-11-14 Glenn Morris <rgm@gnu.org>
6934 * progmodes/executable.el
6935 (executable-make-buffer-file-executable-if-script-p):
6936 Handle file-modes returning nil.
6938 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6939 message - not necessary, and causes problems. (Bug#9831)
6941 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6943 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6945 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6946 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6947 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6949 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6951 * window.el (window-resize, delete-window): Use window-splits
6952 variable instead of function.
6953 (window-state-get-1, window-state-put-2, window-state-put):
6954 Don't deal with windows' splits status.
6956 2011-11-12 Glenn Morris <rgm@gnu.org>
6958 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6959 (apropos-documentation): Doc fixes.
6961 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6963 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6964 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6966 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * electric.el (electric-indent-post-self-insert-function): Make it
6969 possible for a char to only indent in some circumstances.
6970 (electric-indent-mode): Simplify.
6972 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6974 * window.el (windows-with-parameter): Remove unused function.
6975 (windows-at-side): Rename to window-at-side-list.
6976 (window-check, window-atom-check, window-atom-check-1)
6977 (window-side-check, window-size-ignore, window-size-fixed-1)
6978 (window-in-direction-2): Prefix with "window--".
6979 (window-tree-1): Rename to window--subtree, fix doc-string.
6981 2011-11-11 Glenn Morris <rgm@gnu.org>
6983 * subr.el (eval-after-load): If FILE is already loaded,
6984 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6986 2011-11-10 Glenn Morris <rgm@gnu.org>
6988 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6989 Call svn via vc-svn-command rather than vc-do-command.
6990 (vc-svn-command): Add --non-interactive. (Bug#9993)
6991 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6993 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6994 Add toggle-read-only. (Bug#7292)
6995 * files.el (toggle-read-only): Mention that it should only
6996 be used interactively. (Bug#10006)
6998 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7000 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7001 Adjust regexp for OCaml warnings.
7003 * electric.el (electric-pair-post-self-insert-function): Let user
7004 turn it off buffer-locally (bug#9932).
7006 * progmodes/python.el (python-beginning-of-statement):
7009 * progmodes/compile.el: Better handle TABs (bug#9749).
7010 (compilation-internal-error-properties)
7011 (compilation-next-error-function): Obey the target buffer's
7012 compilation-error-screen-columns.
7014 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7016 * progmodes/meta-mode.el: Remove obsolete comments.
7017 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7018 Fix typos in docstrings.
7020 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7022 * window.el (window-size-fixed-p): Rewrite doc-string.
7023 (window-resizable-p): Rename to window--resizable-p. Update callers.
7024 (window--resizable): New function. Make all callers of
7025 window-resizable call window--resizable instead.
7026 (window-resizable): Rewrite in terms of window--resizable.
7028 2011-11-08 Glenn Morris <rgm@gnu.org>
7030 * progmodes/delphi.el (delphi-mode-syntax-table):
7031 Let define-derived-mode define a proper syntax table. (Bug#9994)
7033 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7035 * window.el: Stay away from defsubst.
7036 (window-list-no-nils): Remove.
7037 (window-state-get-1, window-state-get): Use backquote instead.
7039 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7041 * emacs-lisp/find-func.el (find-function-read):
7042 Fix incorrect use of default argument in `completing-read'.
7044 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7046 * window.el (display-buffer-function, special-display-function):
7047 Mention display-buffer-record-window but do not mention
7048 help-setup parameter in doc-strings.
7049 (window-min-delta): Fix doc-string typo.
7051 2011-11-08 Chong Yidong <cyd@gnu.org>
7053 * window.el (window-total-height, window-total-width): Doc fix.
7054 (window-body-size): Move from C.
7055 (window-body-height, window-body-width): Move to C.
7057 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7059 * window.el: Make special-display like display-buffer-alist (bug#9532).
7060 (display-buffer--special-action): New function, morphed
7061 from display-buffer--special.
7062 (display-buffer): Use it to handle special-display-buffers at higher
7063 priority (just after display-buffer-alist).
7064 (display-buffer-fallback-action, display-buffer--other-frame-action)
7065 (pop-to-buffer-same-window): Remove display-buffer--special.
7067 2011-11-07 Glenn Morris <rgm@gnu.org>
7069 * calendar/cal-menu.el (cal-menu-set-date-title):
7070 Do nothing if not in a calendar. (Bug#9976)
7072 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7074 * files.el (find-file): Always use selected-window.
7076 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7078 * window.el (window-combinations): Make WINDOW argument
7079 mandatory. Rewrite doc-string.
7080 (walk-window-subtree, window-atom-check, window-min-delta)
7081 (window-max-delta, window--resize-this-window)
7082 (window--resize-root-window-vertically, window-tree)
7083 (balance-windows, window-state-put): Rewrite doc-strings as to
7084 not mention the term "subwindow".
7085 (window--resize-subwindows-skip-p): Rename to
7086 window--resize-child-windows-skip-p.
7087 (window--resize-subwindows-normal): Rename to
7088 window--resize-child-windows-normal.
7089 (window--resize-subwindows): Rename to
7090 window--resize-child-windows.
7091 (window-or-subwindow-p): Rename to window--in-subtree-p.
7093 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7095 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7096 Ensure that mbox format messages end in two newlines (Bug#9974).
7098 2011-11-06 Chong Yidong <cyd@gnu.org>
7100 * window.el (window-combination-p): Function deleted; its
7101 side-effect is not used in any existing code.
7102 (window-combinations, window-combined-p): Call window-*-child
7105 2011-11-05 Chong Yidong <cyd@gnu.org>
7107 * window.el (window-valid-p): Rename from window-any-p.
7108 (window-size-ignore, window-state-get): Callers changed.
7109 (window-normalize-window): Rename from window-normalize-any-window.
7110 New arg LIVE-ONLY, replacing window-normalize-live-window.
7111 (window-normalize-live-window): Delete.
7112 (window-combination-p, window-combined-p, window-combinations)
7113 (walk-window-subtree, window-atom-root, window-min-size)
7114 (window-sizable, window-sizable-p, window-size-fixed-p)
7115 (window-min-delta, window-max-delta, window-resizable)
7116 (window-resizable-p, window-full-height-p, window-full-width-p)
7117 (window-current-scroll-bars, window-point-1, set-window-point-1)
7118 (window-at-side-p, window-in-direction, window-resize)
7119 (adjust-window-trailing-edge, maximize-window, minimize-window)
7120 (window-deletable-p, delete-window, delete-other-windows)
7121 (record-window-buffer, unrecord-window-buffer)
7122 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7123 (quit-window, split-window, window-state-put)
7124 (set-window-text-height, fit-window-to-buffer)
7125 (shrink-window-if-larger-than-buffer): Callers changed.
7127 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7129 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7130 rfc2047-decode-string.
7131 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7134 * window.el (window-body-height, window-body-width): Mention in
7135 the doc string that the return values are in frame's canonical
7138 2011-11-03 Alan Mackenzie <acm@muc.de>
7140 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7141 change in cc-engine.el.
7143 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7145 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7147 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7149 * window.el (quit-window): Call unrecord-window-buffer after
7150 showing another buffer in the window. (Bug#9937)
7151 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7153 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7155 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7156 Accept status with more than 9 shelves. (Bug#9935)
7157 Reported by Colin D Bennett <colin@gibibit.com>.
7159 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7161 * help.el (with-help-window): Don't reference
7162 temp-buffer-show-specifiers in doc-string.
7164 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7166 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7169 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7171 * whitespace.el: New version 13.2.2.
7172 (whitespace-newline-mode): Disable properly. Reported by Sarah
7175 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7177 * net/newst-treeview.el: Remove "Time-stamp".
7178 (newsticker--group-manage-orphan-feeds): Do not call
7179 newsticker--treeview-tree-update.
7180 (newsticker-treeview-update, newsticker-treeview):
7181 Call newsticker--treeview-tree-update if necessary.
7183 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7185 * window.el (window-iso-combination-p, window-iso-combined-p)
7186 (window-iso-combinations): Remove "iso-" infix.
7187 Suggested by Chong Yidong.
7188 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7189 (window-max-delta-1, window-resize, window--resize-siblings)
7190 (window--resize-this-window, adjust-window-trailing-edge)
7191 (split-window, balance-windows-1)
7192 (shrink-window-if-larger-than-buffer):
7193 * calendar/calendar.el (calendar-generate-window):
7194 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7196 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7198 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7199 in place (bug#9907).
7200 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7201 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7202 (eshell-structure-basic-command, eshell-rewrite-while-command)
7203 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7204 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7205 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7206 (eshell-do-pipelines-synchronously, eshell-eval-command):
7207 Use backquotes and prefer setq to set.
7208 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7209 (eshell-macrop): Use functionp.
7210 (eshell-do-eval): Handle multiple expressions in `while' body.
7212 2011-10-30 Chong Yidong <cyd@gnu.org>
7214 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7215 instead of set-mark (Bug#9810).
7217 2011-10-30 Chong Yidong <cyd@gnu.org>
7219 * window.el (split-window-below, split-window-right): Rename from
7220 split-window-above-each-other and split-window-side-by-side
7221 respectively. All callers changed.
7222 (split-window-sensibly, split-window-sensibly): Use them.
7223 (split-window-keep-point): Doc fix.
7225 * isearch.el: Add isearch-scroll property to split-window-below
7226 and split-window-right.
7228 * follow.el (follow-mode):
7229 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7230 * progmodes/ada-xref.el (ada-gdb-application):
7231 * emulation/vip.el (vip-buffer-in-two-windows):
7232 * image-dired.el (image-dired-dired-with-window-configuration):
7233 * dired-x.el (dired-do-find-marked-files):
7234 * dired.el (dired-pop-to-buffer):
7235 * bs.el (bs--show-with-configuration):
7236 * vc/emerge.el (emerge-setup-windows):
7237 * textmodes/two-column.el (2C-two-columns):
7238 * textmodes/reftex-toc.el (reftex-toc):
7239 * progmodes/gdb-mi.el (gdb-setup-windows):
7240 * progmodes/fortran.el (fortran-window-create):
7241 * net/newst-treeview.el (newsticker--treeview-window-init):
7242 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7243 * emulation/tpu-edt.el (tpu-gold-map):
7244 * emulation/crisp.el (crisp-mode-map):
7245 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7247 2011-10-29 Chong Yidong <cyd@gnu.org>
7249 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7251 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7253 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7254 forged Ispell output (Bug#7904).
7256 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7258 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7260 * doc-view.el: Avoid ugly errors about not finding nil.
7261 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7262 (doc-view-dvipdf-program, doc-view-unoconv-program)
7263 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7264 Avoid nil or absolute file name as default value.
7265 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7267 2011-10-28 Alan Mackenzie <acm@muc.de>
7269 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7271 2011-10-28 Alan Mackenzie <acm@muc.de>
7273 Amend the handling of c-beginning/end-of-defun in nested declaration
7276 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7277 cc-langs.el. Change it to a defcustom.
7279 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7282 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7283 Prevent "class foo : bar" being spuriously recognized as a label.
7285 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7286 Add parameter `inclusive' (to include enclosing braces in the region).
7287 (c-widen-to-enclosing-decl-scope): New function.
7288 (c-while-widening-to-decl-block): New macro.
7289 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7290 outward for defun boundaries, and correspondingly change symbol
7291 `respect-enclosure' to `go-outward'.
7292 (c-declaration-limits): Change algorithm to report only the "innermost"
7295 2011-10-28 Deniz Dogan <deniz@dogan.se>
7297 * net/rcirc.el (rcirc-mode): Use hard newlines.
7299 2011-10-28 Alan Mackenzie <acm@muc.de>
7301 Amend to indent and fontify macros "which include their own semicolon"
7302 correctly, using the "virtual semicolon" mechanism.
7304 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7306 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7307 Recode to scan one line at a time rather than having \n and \r
7308 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7309 (c-forward-label): Amend for virtual semicolons.
7310 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7312 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7313 of the new C macros.
7315 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7316 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7317 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7318 (c-opt-cpp-macro-define): Make into a full language variable.
7319 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7320 AWK Mode (including \n, \r) removed, no longer needed.
7322 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7323 Invoke c-make-macro-with-semi-re.
7325 * progmodes/cc-vars.el (c-macro-with-semi-re):
7326 (c-macro-names-with-semicolon): New variables.
7327 (c-make-macro-with-semi-re): New function.
7329 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7331 * vc/log-edit.el: Fill empty field rather than adding new one.
7332 (log-edit-add-field): New function.
7333 (log-edit-insert-changelog): Use it.
7335 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7337 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7339 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7341 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7342 (gdb--check-interpreter): New function.
7345 2011-10-27 Glenn Morris <rgm@gnu.org>
7347 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7348 (least-positive-float, least-negative-float)
7349 (least-positive-normalized-float, least-negative-normalized-float)
7350 (float-epsilon, float-negative-epsilon):
7351 Remove unnecessary declarations.
7353 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7354 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7355 (least-positive-float, least-negative-float)
7356 (least-positive-normalized-float, least-negative-normalized-float)
7357 (float-epsilon, float-negative-epsilon): Add doc-strings,
7358 based on those in cl.texi.
7360 * files.el (set-visited-file-name): If the major-mode changed,
7361 reload the local variables. (Bug#9796)
7363 2011-10-27 Chong Yidong <cyd@gnu.org>
7365 * subr.el (change-major-mode-after-body-hook): New hook.
7366 (run-mode-hooks): Run it.
7368 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7369 Use change-major-mode-before-body-hook.
7371 * simple.el (fundamental-mode):
7372 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7373 change introducing fundamental-mode-hook.
7375 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7377 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7379 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7381 * ido.el (ido-file-name-all-completions-1): Do not require
7382 tramp.el explicitly. (Bug#7583)
7384 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7386 * progmodes/octave-mod.el:
7387 * progmodes/octave-inf.el: Update maintainer.
7389 2011-10-26 Chong Yidong <cyd@gnu.org>
7391 * subr.el (with-wrapper-hook): Rewrite doc.
7393 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7395 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7396 filenames "/method:foo:". (Bug#9793)
7398 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7400 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7403 2011-10-24 Glenn Morris <rgm@gnu.org>
7405 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7407 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7409 * notifications.el: Add the requirement of a running D-Bus session
7410 bus to the Commentary.
7412 2011-10-24 Juri Linkov <juri@jurta.org>
7414 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7415 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7418 2011-10-24 Juri Linkov <juri@jurta.org>
7420 * info.el (Info-following-node-name-re): Add newline to the list
7421 of allowed characters for leading space. (Bug#9824)
7423 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7425 * progmodes/octave-inf.el (inferior-octave-mode-map):
7426 Fix C-c C-h binding.
7427 * progmodes/octave-mod.el (octave-help): Remove.
7429 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7431 Sync with Tramp 2.2.3.
7433 * net/tramp-cache.el (top): Pacify byte-compiler using
7434 `init-file-user' and `site-run-file'.
7436 * net/trampver.el: Update release number.
7438 2011-10-23 Chong Yidong <cyd@gnu.org>
7440 * files.el (toggle-read-only): Remove obsolete comment about
7443 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7444 for toggle-read-only. Note that this hasn't called vc-next-action
7445 since 2008-05-02, though it wasn't documented at the time.
7447 * vc/ediff-init.el (ediff-toggle-read-only-function):
7448 Use toggle-read-only.
7450 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7452 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7455 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7456 correct faulty logical expression.
7457 (c-parse-state-state, c-record-parse-state-state):
7458 (c-replay-parse-state-state): New defvar/defuns.
7459 (c-debug-parse-state): Use new functions.
7461 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7463 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7464 last fix. Use window-in-direction correctly.
7466 2011-10-21 Chong Yidong <cyd@gnu.org>
7468 * progmodes/idlwave.el (idlwave-mode):
7469 * progmodes/vera-mode.el (vera-mode): No need to set
7470 require-final-newline; that's done in prog-mode.
7471 Suggested by Stefan Monnier.
7473 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7475 * mouse.el (mouse-drag-window-above)
7476 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7477 (mouse-drag-mode-line-1, mouse-drag-header-line)
7478 (mouse-drag-vertical-line-rightward-window): Remove.
7479 (mouse-drag-line): New function.
7480 (mouse-drag-mode-line, mouse-drag-header-line)
7481 (mouse-drag-vertical-line): Call mouse-drag-line.
7482 * window.el (window-at-side-p, windows-at-side): New functions.
7484 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7486 * tar-mode.el (tar-grind-file-mode):
7487 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7489 2011-10-21 Chong Yidong <cyd@gnu.org>
7491 * progmodes/idlwave.el (idlwave-mode):
7492 * progmodes/vera-mode.el (vera-mode):
7493 Use mode-require-final-newline.
7495 2011-10-20 Glenn Morris <rgm@gnu.org>
7497 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7499 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7501 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7503 2011-10-20 Chong Yidong <cyd@gnu.org>
7505 * emulation/cua-base.el (cua-mode):
7506 * mail/footnote.el (footnote-mode):
7507 * mail/mailabbrev.el (mail-abbrevs-mode):
7508 * net/xesam.el (xesam-minor-mode):
7509 * progmodes/bug-reference.el (bug-reference-mode):
7510 * progmodes/cap-words.el (capitalized-words-mode):
7511 * progmodes/compile.el (compilation-minor-mode)
7512 (compilation-shell-minor-mode):
7513 * progmodes/gud.el (gud-tooltip-mode):
7514 * progmodes/hideif.el (hide-ifdef-mode):
7515 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7516 * progmodes/subword.el (subword-mode):
7517 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7518 * progmodes/which-func.el (which-function-mode):
7519 * term/tvi970.el (tvi970-set-keypad-mode):
7520 * term/vt100.el (vt100-wide-mode):
7521 * textmodes/flyspell.el (flyspell-mode):
7522 * textmodes/ispell.el (ispell-minor-mode):
7523 * textmodes/nroff-mode.el (nroff-electric-mode):
7524 * textmodes/paragraphs.el (use-hard-newlines):
7525 * textmodes/refill.el (refill-mode):
7526 * textmodes/reftex.el (reftex-mode):
7527 * textmodes/rst.el (rst-minor-mode):
7528 * textmodes/sgml-mode.el (html-autoview-mode)
7529 (sgml-electric-tag-pair-mode):
7530 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7531 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7532 * emulation/crisp.el (crisp-mode):
7533 * emacs-lisp/eldoc.el (eldoc-mode):
7534 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7535 minor mode behavior.
7537 2011-10-19 Juri Linkov <juri@jurta.org>
7539 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7540 the list of hard-coded chars with escape-glyph face.
7542 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7544 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7546 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
7548 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7551 2011-10-19 Glenn Morris <rgm@gnu.org>
7553 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7554 Ignore ignored files. (Bug#9726)
7556 2011-10-19 Chong Yidong <cyd@gnu.org>
7558 Doc fix for minor modes, stating that an omitted argument enables
7559 the mode unconditionally when called from Lisp.
7561 * abbrev.el (abbrev-mode):
7562 * allout.el (allout-mode):
7563 * autoinsert.el (auto-insert-mode):
7564 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7565 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7566 (global-auto-revert-mode):
7567 * battery.el (display-battery-mode):
7568 * composite.el (global-auto-composition-mode)
7569 (auto-composition-mode):
7570 * delsel.el (delete-selection-mode):
7571 * desktop.el (desktop-save-mode):
7572 * dired-x.el (dired-omit-mode):
7573 * dirtrack.el (dirtrack-mode):
7574 * doc-view.el (doc-view-minor-mode):
7575 * double.el (double-mode):
7576 * electric.el (electric-indent-mode, electric-pair-mode):
7577 * emacs-lock.el (emacs-lock-mode):
7578 * epa-hook.el (auto-encryption-mode):
7579 * follow.el (follow-mode):
7580 * font-core.el (font-lock-mode):
7581 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7582 * help.el (temp-buffer-resize-mode):
7583 * hilit-chg.el (highlight-changes-mode)
7584 (highlight-changes-visible-mode):
7585 * hi-lock.el (hi-lock-mode):
7586 * hl-line.el (hl-line-mode, global-hl-line-mode):
7587 * icomplete.el (icomplete-mode):
7588 * ido.el (ido-everywhere):
7589 * image-file.el (auto-image-file-mode):
7590 * image-mode.el (image-minor-mode):
7591 * iswitchb.el (iswitchb-mode):
7592 * jka-cmpr-hook.el (auto-compression-mode):
7593 * linum.el (linum-mode):
7594 * longlines.el (longlines-mode):
7595 * master.el (master-mode):
7596 * mb-depth.el (minibuffer-depth-indicate-mode):
7597 * menu-bar.el (menu-bar-mode):
7598 * minibuf-eldef.el (minibuffer-electric-default-mode):
7599 * mouse-sel.el (mouse-sel-mode):
7600 * msb.el (msb-mode):
7601 * mwheel.el (mouse-wheel-mode):
7602 * outline.el (outline-minor-mode):
7603 * paren.el (show-paren-mode):
7604 * recentf.el (recentf-mode):
7605 * reveal.el (reveal-mode, global-reveal-mode):
7606 * rfn-eshadow.el (file-name-shadow-mode):
7607 * ruler-mode.el (ruler-mode):
7608 * savehist.el (savehist-mode):
7609 * scroll-all.el (scroll-all-mode):
7610 * scroll-bar.el (scroll-bar-mode):
7611 * server.el (server-mode):
7612 * shell.el (shell-dirtrack-mode):
7613 * simple.el (auto-fill-mode, transient-mark-mode)
7614 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7615 (line-number-mode, column-number-mode, size-indication-mode)
7616 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7617 * strokes.el (strokes-mode):
7618 * time.el (display-time-mode):
7619 * t-mouse.el (gpm-mouse-mode):
7620 * tool-bar.el (tool-bar-mode):
7621 * tooltip.el (tooltip-mode):
7622 * type-break.el (type-break-mode-line-message-mode)
7623 (type-break-query-mode):
7624 * view.el (view-mode):
7625 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7626 (global-whitespace-mode, global-whitespace-newline-mode):
7627 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7629 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7630 Fix autogenerated docstring.
7632 2011-10-19 Juri Linkov <juri@jurta.org>
7634 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7635 by checking environment variables "DESKTOP_SESSION" and
7636 "XDG_CURRENT_DESKTOP". (Bug#9779)
7638 2011-10-19 Juri Linkov <juri@jurta.org>
7640 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7641 (browse-url-chromium-program, browse-url-chromium-arguments):
7643 (browse-url-default-browser): Check for `browse-url-chromium' and
7644 call `browse-url-chromium-program'.
7645 (browse-url-chromium): New command. (Bug#9779)
7647 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7649 * facemenu.el (list-colors-duplicates): On Windows, detect more
7650 duplicates by assuming that only colors matching "^System" are
7651 special "system colors". (Bug#9722)
7653 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7655 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7656 to distinguish the author from the committer.
7658 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7660 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7662 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7664 * international/mule.el (sgml-html-meta-auto-coding-function):
7665 Add support for detecting encoding in HTML5 specified only as
7666 <meta charset="UTF-8">. Implementation just makes http-equiv and
7667 content-type parts from HTML4 encoding string optional. (Bug#9716)
7669 2011-10-18 Glenn Morris <rgm@gnu.org>
7671 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7673 2011-10-18 Chong Yidong <cyd@gnu.org>
7675 * faces.el (cursor): Doc fix.
7677 2011-10-17 Chong Yidong <cyd@gnu.org>
7679 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7681 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7683 * dirtrack.el (dirtrack): Support shell buffers with path
7684 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7686 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7688 * json.el: Bump version to 1.3 and note change in History.
7689 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7691 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * comint.el (comint-insert-input, comint-send-input)
7694 (comint-get-old-input-default, comint-backward-matching-input)
7695 (comint-next-prompt): Use nil instead of `input' for field property of
7696 past user input (bug#114).
7698 * minibuffer.el (completion--replace): Inherit surrounding properties
7700 (minibuffer-complete-and-exit): Use it.
7702 * comint.el (comint--table-subvert): Quote the all-completions output
7705 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7707 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7709 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7710 window on right of selected. (Bug#9350) Reword other window
7711 entries and separate them from frame entries.
7713 2011-10-15 Glenn Morris <rgm@gnu.org>
7715 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7718 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7720 * net/network-stream.el (network-stream-open-starttls):
7721 Improve detection of failure due to lack of TLS support.
7723 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7724 putting the input text in front and in bold.
7726 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7728 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7730 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7733 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7734 unread-command-events rather than pushing yet-another event.
7736 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7738 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7739 the explanation of the possible choices. Make the options passed
7740 to completing-read shorter.
7742 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7744 * textmodes/flyspell.el (flyspell-large-region): Make sure
7745 extended character mode is used if defined (Bug#1339).
7747 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7749 * simple.el (what-cursor-position): Fix the display of the
7750 character info for LRE, LRO, RLE, and RLO characters by appending
7753 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7755 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7756 even in case of error; add debug spec; simplify data flow.
7757 (with-timeout-handler): Remove.
7759 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7761 Fix Bug#6019, Bug#9315.
7763 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7764 complete `buffer-file-name', the local file name part could look
7765 remotely (for example on VMS).
7767 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7768 `tramp-run-real-handler'.
7769 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7770 already quoted by '"'.
7772 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7773 Let `file-name-handler-alist' be nil, the local file name part
7774 could look remotely (for example on VMS).
7776 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7778 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7780 (flyspell-post-command-hook): ...to here.
7782 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7784 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7786 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7787 using completion. Protect against "slow" callers.
7788 Remove the "message hack".
7790 2011-10-11 Juri Linkov <juri@jurta.org>
7792 * isearch.el (isearch-lazy-highlight-word): New variable.
7793 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7796 2011-10-11 Glenn Morris <rgm@gnu.org>
7798 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7799 like f90-previous-statement does.
7801 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7803 * eshell/eshell.el (eshell-command): History should be saved
7804 only in interactive use, to avoid error.
7806 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7808 * minibuffer.el (completion-file-name-table): Fix last change,
7809 i.e. ignore normal errors but not the other ones.
7811 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7813 * window.el (special-display-buffer-names)
7814 (special-display-regexps): Remove some remnants of earlier
7815 changes from doc-strings.
7816 (quit-windows-on): New function.
7818 * vc/vc.el (vc-revert, vc-rollback):
7819 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7820 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7821 (Bug#6183) (Bug#7074) (Bug#7447)
7823 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7825 * window.el (frame-auto-hide-function): Add version tag.
7828 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7830 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7833 2011-10-09 Leo Liu <sdl.web@gmail.com>
7835 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7838 2011-10-08 Glenn Morris <rgm@gnu.org>
7840 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7841 before the first code statement zero indent. (Bug#9690)
7843 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7845 * simple.el (count-words-region): Always count in the region.
7846 Report the number of lines and characters too.
7847 (count-words): New command, which counts in the buffer if the
7848 region is inactive, as count-words-region used to.
7849 (count-words--message): New function. Handle plurals.
7850 (count-lines-region): Make it an alias for count-words-region.
7852 * bindings.el (esc-map): Replace count-lines-region with
7855 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7857 * window.el (window--delete): Delete dedicated frame
7858 unconditionally when argument KILL is non-nil. (Bug#9699)
7859 (switch-to-buffer): Fix doc-string typo.
7861 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7863 * eshell/eshell.el (eshell-command): Avoid using hooks.
7865 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7867 * bindings.el ([M-left],[M-right]): Bind to left-word and
7868 right-word respectively.
7870 2011-10-07 Glenn Morris <rgm@gnu.org>
7872 * cus-start.el (debug-on-quit): Fix custom type.
7874 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7876 * subr.el (define-key-after): Clarify that the function is not
7877 useful for non-menu keymaps.
7879 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7881 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7883 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7884 in current minibuffer (Fix bug with recursive minibuffers).
7886 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7888 * progmodes/gdb-mi.el (gdb): Doc fix.
7890 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7892 * window.el (frame-auto-hide-function): New option replacing
7893 frame-auto-delete. Suggested by Stefan Monnier.
7894 (window--delete): Call frame-auto-hide-function instead of
7895 investigating frame-auto-delete.
7896 (window-point-1, set-window-point-1): New functions.
7897 (window-in-direction, record-window-buffer, window-state-get-1)
7898 (display-buffer-record-window): Use window-point-1 instead of
7900 (set-window-buffer-start-and-point): Use set-window-point-1.
7902 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7904 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7906 2011-10-05 Glenn Morris <rgm@gnu.org>
7908 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7909 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7911 2011-10-05 Leo Liu <sdl.web@gmail.com>
7913 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7914 works with buffer object.
7916 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7918 * mpc.el (mpc-tool-bar-map): Add labels.
7920 2011-10-04 Glenn Morris <rgm@gnu.org>
7922 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7924 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7926 * window.el (window--delete): New function.
7927 (frame-auto-delete): Resuscitate option.
7928 (bury-buffer, replace-buffer-in-windows)
7929 (quit-window): Rewrite using window--delete.
7930 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7931 Pass display-buffer-mark-dedicated to window--display-buffer-2
7934 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7936 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7937 returns a list (bug#9554). Add remote file name completion.
7938 * comint.el (comint--table-subvert): Curry and get quote&unquote
7939 functions as arguments.
7940 (comint--complete-file-name-data): Adjust call accordingly.
7941 * pcomplete.el (pcomplete--table-subvert): Remove.
7942 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7944 * minibuffer.el (completion-table-case-fold): Use currying.
7945 (completion--styles-type, completion--cycling-threshold-type):
7947 (completion-styles, completion-category-overrides)
7948 (completion-cycle-threshold): Use them.
7949 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7950 completion-table-case-fold.
7952 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7954 * minibuffer.el (completion-category-overrides): Fix type of styles
7955 and add more user friendly tags (bug#9660).
7957 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7959 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7960 (mule-input-method-string): New widget.
7961 (default-input-method, language-info-custom-alist): Use it.
7963 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7965 * pcomplete.el: Require comint.
7966 (pcomplete--common-suffix): Remove.
7967 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7968 (pcomplete--table-subvert): Sync with comint--table-subvert.
7969 (pcomplete--entries): Use comint-completion-file-name-table.
7970 * comint.el (comint-unquote-filename): Simplify.
7971 (comint-completion-file-name-table): New function (bug#9616).
7972 (comint--complete-file-name-data): Use it.
7974 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7975 (pcmpl-gnu-tar-buffer): Remove.
7976 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7977 around. Make sure pcomplete-suffix-list is only changed temporarily.
7978 Don't look inside the tar's file if it's too large.
7980 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7982 * cus-edit.el (custom-mode-map):
7983 * epa.el (epa-key-list-mode-map):
7984 * man.el (Man-mode-map):
7985 * startup.el (splash-screen-keymap):
7986 * simple.el (special-mode-map): Use scroll-up-command and
7987 scroll-down-command.
7989 * progmodes/idlw-help.el (idlwave-help-mode-map):
7990 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7991 * net/newst-plainview.el (newsticker-mode-map):
7992 * emulation/ws-mode.el (wordstar-mode-map):
7993 * emulation/vi.el (vi-com-map):
7994 * calc/calc-graph.el (calc-graph-show-dumb):
7995 * term/sun.el (terminal-init-sun):
7996 * term/ns-win.el (global-map):
7997 * progmodes/grep.el (grep-mode-map):
7998 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7999 * mail/rmail.el (rmail-mode-map):
8000 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8002 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8003 custom-safe-themes as special.
8005 2011-10-01 Julien Danjou <julien@danjou.info>
8007 * notifications.el (notifications-notify): Fix docstring.
8009 2011-10-01 Per Starbäck <per@starback.se>
8011 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8013 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8015 * startup.el (command-line-1): Fix last fix by inserting
8016 initial-scratch-message into *scratch* before displaying it.
8017 (Bug#9605) and (Bug#9636)
8019 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8021 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8022 window is hscrolled, move by logical lines. (Bug#9607)
8023 (line-move-visual): Update the doc string to the above effect.
8025 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8027 * window.el (display-buffer-record-window): When WINDOW is the
8028 selected window use `point' instead of `window-point'. (Bug#9626)
8030 * startup.el (command-line-1): Use insert-before-markers when
8031 inserting initial-scratch-message. (Bug#9605)
8033 * help.el (help-window): Remove variable.
8035 2011-09-29 Glenn Morris <rgm@gnu.org>
8037 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8039 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8041 * descr-text.el (describe-char-categories): Accept category
8042 descriptions more than one line long.
8044 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8046 * simple.el (delete-trailing-whitespace): Fix last change.
8048 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8049 Don't confuse "y => 3" as the beginning of a `y' operation.
8051 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8052 object has more than 4 slots (bug#9613).
8054 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8056 * subr.el (with-output-to-temp-buffer):
8057 * net/quickurl.el (quickurl, quickurl-browse-url):
8058 Fix typos in docstrings.
8060 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8062 * minibuffer.el (completion-styles)
8063 (completion-category-overrides): Cross reference each other in doc
8066 2011-09-27 Glenn Morris <rgm@gnu.org>
8068 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8069 to split-string. (Bug#9606)
8071 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8073 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8076 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8078 * emacs-lisp/package.el (list-packages): Fix echo area message.
8080 2011-09-27 Leo Liu <sdl.web@gmail.com>
8082 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8084 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8086 * net/dbus.el (dbus-unregister-object): Don't release services for
8087 registered signals. (Bug#9581)
8089 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8091 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8092 function that picks between cfengine 2 and 3 support
8093 automatically. Update docs accordingly.
8095 2011-09-22 Kenichi Handa <handa@m17n.org>
8097 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8099 (indian-itrans-v5-table-for-tamil): New variable.
8100 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8102 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8104 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8105 that's true if the current command involved collapsing of text.
8106 It's reset to false at the beginning of the next command.
8107 (allout-post-command-business): Move the cursor to the beginning
8108 of entry if the cursor is hidden and collapsing activity just
8111 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8113 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8114 tracking (Bug#9541).
8116 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8118 * net/newst-reader.el (newsticker-html-renderer)
8119 (newsticker-show-news): Automatically load html rendering package
8120 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8121 because w3m-fill-column is let-bound" and the error "Symbol's value
8122 as variable is void: w3m-fill-column".
8124 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8126 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8127 Release services only if they are defined. (Bug#9581)
8129 2011-09-23 Richard Stallman <rms@gnu.org>
8131 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8132 distinguish start of paragraph from start of its text.
8134 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8136 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8137 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8138 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8140 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8142 * international/mule-diag.el (mule-diag): Insert a newline after
8143 each fontset description.
8145 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8147 * simple.el (delete-trailing-whitespace):
8148 Document last change; simplify.
8150 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8152 * simple.el (delete-trailing-whitespace): Also delete
8153 extra newlines at the end of the buffer.
8155 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8156 (picture-newline): Use forward-line so as to ignore fields.
8158 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8160 * subr.el (with-wrapper-hook): Fix edebug spec.
8162 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8164 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8167 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8169 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8170 Fix nasty bug using wrong cached values.
8172 2011-09-23 Alan Mackenzie <acm@muc.de>
8174 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8176 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8178 * window.el (pop-to-buffer): Ensure right window is selected if we
8179 chose another frame.
8181 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8183 * simple.el (what-cursor-position): Use get-char-property-change
8184 and next-single-char-property-change, to be able to show display
8185 properties that come from overlays as well as text properties.
8187 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8189 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8191 * cmuscheme.el (run-scheme, switch-to-scheme):
8192 * cus-edit.el (customize-group, custom-buffer-create)
8196 * mail/sendmail.el (mail):
8197 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8199 2011-09-22 Richard Stallman <rms@gnu.org>
8201 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8202 move back only to line beg, don't move back over blank lines.
8204 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8206 * files.el (copy-directory): Set directory attributes only in case
8207 they could be retrieved from the source directory. (Bug#9565)
8209 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8211 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8212 (hs-find-block-beginning, hs-hide-level-recursive):
8213 Ignore strings as well as comments. (Bug#9502)
8215 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8217 * progmodes/sql.el (sql-comint-postgres):
8218 Convert port number to a string. (Bug#9566)
8220 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8222 * window.el (quit-window): Undedicate window when switching to
8223 previous buffer. Reported by Thierry Volpiatto
8224 <thierry.volpiatto@gmail.com>.
8225 (special-display-popup-frame): When popping up a new frame reset
8226 its previous buffers to nil. Simplify code.
8228 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8230 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8231 and process filter, as done also in `shell-command'.
8233 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8235 * window.el (set-window-buffer-start-and-point):
8236 Call set-window-start with NOFORCE argument t.
8237 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8238 (quit-window): Reword doc-string. Handle new format of
8239 quit-restore parameter. Don't delete window if it has a
8240 previous buffer we can show instead of the present one.
8241 (display-buffer-record-window): Rewrite using a new format for
8242 the quit-restore window parameter
8243 (special-display-popup-frame, display-buffer-same-window)
8244 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8245 (display-buffer-pop-up-window, display-buffer-use-some-window):
8246 Adapt symbol passed to display-buffer-record-window.
8247 * help.el (help-window-setup): Handle new format of quit-restore
8250 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8252 * faces.el (face-list): Fix docstring (bug#9564).
8254 * window.el (display-buffer--action-function-custom-type):
8255 Don't include internal functions in the Custom interface.
8257 2011-09-20 Juri Linkov <juri@jurta.org>
8259 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8260 (Info-forward-node, Info-backward-node, Info-next-preorder)
8261 (Info-last-preorder): Use it. (Bug#9528)
8263 2011-09-20 Juri Linkov <juri@jurta.org>
8265 * info.el (Info-last-preorder): Visit last menu item only when
8266 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8268 2011-09-20 Julien Danjou <julien@danjou.info>
8270 * password-cache.el (password-cache-remove): Remove entries even if the
8271 value is nil, so that password with a nil value (negative caching) is
8272 possible to invalidate.
8274 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8276 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8277 all whitespace around breakpoint. (Bug#9553)
8278 (f90-find-breakpoint): Only break at whitespace inside a comment.
8280 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8282 * minibuffer.el (completion-file-name-table): Keep track of errors.
8283 (completion-table-with-predicate): Handle the case where pred1 is nil.
8284 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8286 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8288 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8289 (debugger-return-value): Signal an error if the debugging context does
8290 not await any return value.
8292 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8293 * image-mode.el (image-toggle-display-text)
8294 (image-toggle-display-image): Stay away from evil `intangible'.
8296 2011-09-19 Leo Liu <sdl.web@gmail.com>
8298 * replace.el (occur-revert-arguments): Make it permanent-local.
8299 (occur-mode): Don't call font-lock-defontify.
8301 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8303 * net/ldap.el (ldap-search-internal): Don't push empty search
8306 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8308 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8310 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8312 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8313 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8315 2011-09-18 Juri Linkov <juri@jurta.org>
8317 * buff-menu.el (Buffer-menu-mode-map):
8318 * dired.el (dired-mode-map):
8319 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8320 (lisp-interaction-mode-map):
8321 * emacs-lisp/package.el (package-menu-mode-map):
8322 * epa.el (epa-key-list-mode-map):
8323 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8324 (menu-bar-options-menu):
8325 * outline.el (outline-mode-menu-bar-map):
8326 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8327 * vc/vc-dir.el (vc-dir-menu-map):
8328 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8329 Capitalize non-function content words in menu item strings.
8331 * dired.el (dired-mode-map): Add menu item for
8332 `image-dired-dired-toggle-marked-thumbs'.
8334 2011-09-18 Juri Linkov <juri@jurta.org>
8336 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8337 to `isearch-case-fold-search' and restore its original value
8338 after the `isearch-mode' call.
8340 2011-09-18 Juri Linkov <juri@jurta.org>
8342 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8343 because `zgrep' returns 1 for successful matches (bug#9226).
8345 2011-09-18 Juri Linkov <juri@jurta.org>
8347 * info.el (Info-extract-menu-node-name): Check the second match
8348 for empty string (second test-case of bug#9528).
8349 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8350 intermediate nodes to the history (first test-case of bug#9528).
8352 2011-09-18 Juri Linkov <juri@jurta.org>
8354 * info.el (Info-mode-syntax-table): New variable.
8355 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8357 2011-09-18 Juri Linkov <juri@jurta.org>
8359 * info.el (Info-file-supports-index-cookies):
8360 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8361 outputs one more line for long file names (bug#4142).
8363 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8365 * newcomment.el (comment-normalize-vars): If prompting for
8366 comment-start, set comment-start-skip too (Bug#8424).
8368 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8370 * icomplete.el: Fix previous fix of Bug#5849.
8371 (icomplete-mode): Don't set completion-show-inline-help.
8372 (icomplete-minibuffer-setup): Set completion-show-inline-help
8373 locally during icompletion.
8375 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8377 * woman.el (woman2-process-escapes): Don't delete unrecognized
8380 * files.el (inhibit-first-line-modes-regexps): Add image files.
8381 (hack-local-variables-prop-line): Return nil for malformed
8382 prop-lines (Bug#9044).
8384 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8386 * net/tramp.el (top): Don't require 'shell.
8387 (tramp-methods): Fix docstring.
8388 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8389 Return complete remote file name. Handle "smb" case.
8390 Use `tramp-tmpdir', if defined for the respective method.
8391 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8393 * net/tramp-compat.el (top): Require 'shell.
8395 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8396 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8397 `tramp-current-host'.
8398 (tramp-get-remote-tmpdir): Remove.
8400 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8401 `tramp-tmpdir' entries.
8402 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8403 (tramp-smb-handle-file-attributes): Ignore errors.
8404 (tramp-smb-wait-for-output): Check also for process end.
8406 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8408 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8409 when sending QUIT (bug#9312).
8411 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8413 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8414 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8415 occur-mode-display-occurrence.
8416 (occur-edit-mode): Add usage message.
8417 (occur-cease-edit): New command.
8418 (occur-after-change-function): Use text properties to find the
8419 position of the prefix text.
8420 (occur-engine): Set stickiness of prefix text properties.
8422 2011-09-17 Glenn Morris <rgm@gnu.org>
8424 * progmodes/etags.el (complete-tag):
8425 Fix call to completion-in-region. (Bug#9526)
8427 2011-09-17 Juri Linkov <juri@jurta.org>
8429 * textmodes/ispell.el (ispell-word): Add to the error message
8430 the word, ispell program name and current dictionary (bug#9121).
8431 (ispell-tex-arg-end): Capitalize "error" in the error message.
8433 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8435 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8438 2011-09-17 Juri Linkov <juri@jurta.org>
8440 * window.el (window-safe-min-height, window-safe-min-width):
8441 Fix typos (followup to bug#9522).
8443 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8445 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8447 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8449 * simple.el (line-move): If goal-column is set, move by logical
8450 lines, not by display lines. (Bug#971)
8451 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8452 to reflect the above change.
8454 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8456 * image.el (imagemagick-register-types): Use regexp-opt.
8458 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8460 * window.el (display-buffer-base-action): Rename from
8461 display-buffer-default-action. Make default value empty.
8462 (display-buffer-overriding-action): Convert to defvar.
8463 (display-buffer-fallback-action): New var.
8465 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8467 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8469 (package--add-to-archive-contents): If there is a duplicate entry
8470 with an older version, remove it.
8471 (package-menu-mark-delete, package-menu-mark-install)
8472 (package-menu-mark-unmark): Make unused args optional.
8473 (package-menu-mark-obsolete-for-deletion):
8474 Use package-menu-get-status instead of a regexp search.
8475 (package-menu-get-status): Use tabulated-list-entry.
8476 (package-menu-mark-upgrades): New command.
8477 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8478 (package-menu-execute): Do installation before deletion.
8479 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8480 instead of checking major-mode.
8481 (package-menu--find-upgrades): New function.
8483 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8485 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8486 passwords in the log buffer.
8487 (smtpmail-process-filter): Update the process marker so that the
8488 "broken by peer" status message is inserted in the right place.
8490 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8492 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8493 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8494 bibtex-completion-at-point-function.
8495 (bibtex-completion-at-point-function): Use them.
8497 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8499 * mpc.el (mpc-constraints-tag-lookup): New function.
8500 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8501 also to browser "album|playlist".
8503 2011-09-14 Juri Linkov <juri@jurta.org>
8505 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8506 (isearch-edit-string): Use length of `isearch-string' when
8507 `isearch-fail-pos' returns nil.
8508 (isearch-message): Remove duplicate code and call
8509 `isearch-fail-pos' with arg `t'.
8511 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8513 * replace.el (occur-mode-goto-occurrence): Don't force using other
8516 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8518 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8520 * window.el (display-buffer-window): Remove.
8521 (display-buffer-record-window): Use help-setup window parameter
8522 instead of variable display-buffer-window.
8523 (display-buffer-function, special-display-buffer-names)
8524 (special-display-function): Mention help-setup parameter instead
8525 of display-buffer-window in doc-string.
8526 * help.el (help-window-setup): New argument help-window.
8527 Use help-window-setup parameter instead of display-buffer-window.
8528 Reword some messages.
8529 (with-help-window): Pass window used for displaying the buffer
8530 to help-window-setup. Don't set display-buffer-window.
8532 2011-09-13 Glenn Morris <rgm@gnu.org>
8534 * emacs-lisp/debug.el (debugger-make-xrefs):
8535 Preserve point. (Bug#9462)
8537 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8539 * window.el (window-deletable-p): Use next-frame.
8541 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8543 * window.el (window-auto-delete): Remove.
8544 (window-deletable-p): Remove argument FORCE. Don't deal with
8545 dedication and previous buffers.
8546 (switch-to-prev-buffer): Don't delete window.
8547 (delete-windows-on): Delete a window's frame if and only if the
8548 window is dedicated.
8549 (replace-buffer-in-windows): Delete buffer's window or frame if
8550 and only if window is dedicated.
8551 (quit-window): Handle quit-restore as before last change.
8552 (bury-buffer): Delete window only if window-deletable-p returns t.
8554 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8556 * window.el (window-deletable-p): Never delete the last frame on a
8559 2011-09-13 Glenn Morris <rgm@gnu.org>
8561 * help.el (describe-key-briefly): Copy previous standard-output change.
8563 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8565 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8567 2011-09-13 Glenn Morris <rgm@gnu.org>
8569 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8570 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8572 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
8574 * dired-aux.el (dired-mark-read-string): Don't return default
8575 value on empty input (Bug#9361).
8576 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8577 Omit initial minibuffer contents.
8578 (dired-do-chmod): Signal an error on empty input.
8579 (dired-mark-read-string): Don't return default on empty input.
8581 * files.el (file-modes-symbolic-to-number): Doc fix.
8583 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8585 * international/mule-cmds.el (ucs-completions): Remove.
8586 (read-char-by-name): Use complete-with-action instead; add metadata.
8588 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8590 * window.el (display-buffer--action-function-custom-type)
8591 (display-buffer--action-custom-type): New vars.
8592 (display-buffer-alist, display-buffer-default-action)
8593 (display-buffer-overriding-action): Add defcustom types.
8595 * frame.el (delete-other-frames): Doc fix (Bug#276).
8597 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8599 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8601 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8603 Change modes that used same-window-* vars to use switch-to-buffer.
8605 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8606 Use switch-to-buffer.
8608 * cus-edit.el (customize-group, custom-buffer-create)
8609 (customize-browse, custom-buffer-create-other-window):
8610 Use switch-to-buffer or switch-to-buffer-other-window.
8612 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8613 (Info-prev, Info-up, Info-speedbar-goto-node)
8614 (info-display-manual): Use switch-to-buffer.
8615 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8617 * mail/sendmail.el (mail): Use switch-to-buffer.
8618 (mail-recover): Use switch-to-buffer-other-window.
8620 * cmuscheme.el (run-scheme, switch-to-scheme):
8623 * net/rlogin.el (rlogin):
8624 * net/telnet.el (telnet, rsh):
8625 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8627 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8629 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8631 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8633 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8634 so don't mention it (bug#9301).
8635 (dired-sort-toggle-or-edit): Clarify string further.
8637 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8638 match `x', `w32' and `ns', like the manual says (bug#9029).
8640 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8641 (process-kill-buffer-query-function): Mention the buffer name in
8644 * image-mode.el (image-next-line): The line parameter is mandatory
8647 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8648 which can be useful (bug#9301).
8650 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8652 * subr.el (match-string): Mention that the current buffer should
8653 be the same as the search was done in (bug#9282).
8655 * facemenu.el: Disable the remove-* commands if the mark isn't
8658 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8660 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8662 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8664 * replace.el (occur-mode-goto-occurrence)
8665 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8668 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8671 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8672 special-display and same-window variables.
8673 (mail-other-window): Use switch-to-buffer-other-window.
8674 (mail-other-frame): USe switch-to-buffer-other-frame.
8676 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8677 Use display-buffer-other-frame.
8678 (gdb-display-gdb-buffer): Use pop-to-buffer.
8680 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8682 * progmodes/python.el: Don't set same-window-buffer-names.
8684 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8686 * window.el (display-buffer-alist): Add *Python*.
8688 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8690 * window.el (display-buffer-alist): Add entry for buffers
8691 previously handled same-window-*.
8692 (display-buffer-alist, display-buffer-default-action)
8693 (display-buffer-overriding-action): Mark as risky.
8694 (display-buffer-alist): Document action function changes.
8695 (display-buffer--same-window-action)
8696 (display-buffer--other-frame-action): New variables.
8697 (switch-to-buffer, display-buffer-other-frame): Use them.
8698 (display-buffer): Rename reuse-frame entry to reusable-frames.
8699 (display-buffer-reuse-selected-window): Function deleted.
8700 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8701 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8702 (display-buffer-special): New function.
8703 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8704 display-buffer-reuse-or-pop-window. Split off special-display
8705 part into display-buffer-special.
8706 (display-buffer-use-some-window): Don't perform any special
8707 pop-up-frames handling.
8708 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8709 (display-buffer--maybe-same-window): Rename from
8710 display-buffer-maybe-same-window.
8712 * info.el: Don't set same-window-regexps.
8713 (info-setup): New function.
8714 (info-other-window, info): Call it.
8716 * cus-edit.el: Don't set same-window-regexps.
8717 (customize-group): New argument.
8718 (customize-group-other-window): Use it.
8719 (customize-face, customize-face-other-window): Likewise.
8720 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8724 * progmodes/gud.el: Don't set same-window-regexps.
8730 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8732 2011-09-10 Juri Linkov <juri@jurta.org>
8734 * isearch.el (isearch-edit-string): Remove obsolete mention of
8735 `C-w' (`isearch-yank-word-or-char') from docstring.
8736 (isearch-query-replace): Fix typo in docstring (bug#9466).
8738 2011-09-10 Juri Linkov <juri@jurta.org>
8740 * paren.el (show-paren-function): Don't show escaped parens.
8741 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8743 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8745 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8746 (mm-default-file-encoding): Remove autoload forms, they are
8747 replaced with autoload cookies in mml.el and mm-encode.el.
8748 (mail-add-attachment): New command.
8749 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8750 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8752 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8754 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8756 * simple.el (count-words-region): Use buffer if there's no region
8759 2011-09-09 Juri Linkov <juri@jurta.org>
8761 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8762 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8763 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8765 2011-09-09 Alan Mackenzie <acm@muc.de>
8767 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8768 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8770 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8772 Fix for Savannah bug#9392.
8773 * simple.el (mail-encode-mml): New defvar.
8775 * mail/rmail.el (mail-encode-mml): Add a defvar.
8776 (rmail-enable-mime-composing): Default to t.
8777 (rmail-forward): Use MIME method of forwarding only if both
8778 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8779 Set mail-encode-mml non-nil if the MIME method was used.
8781 * mail/sendmail.el (mml-to-mime): Add autoload form.
8782 (mail-encode-mml): Add a defvar.
8783 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8785 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8786 message through mml-to-mime, and reset mail-encode-mml to nil.
8788 2011-09-09 Glenn Morris <rgm@gnu.org>
8790 * woman.el (woman-if-body): When processing an .el block,
8791 do not delete the next .el block as well. (Bug#9447)
8792 (woman-special-characters): Add oq, cq, and hy characters.
8794 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8796 * window.el (window-deletable-p): Make sure window is live before
8797 invoking window-prev-buffers.
8799 2011-09-08 Leo Liu <sdl.web@gmail.com>
8801 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8803 2011-09-08 Juri Linkov <juri@jurta.org>
8805 * progmodes/compile.el (compilation-environment): Make it
8806 a defcustom (bug#8340).
8808 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8810 * window.el (frame-auto-delete): Rename to window-auto-delete.
8811 Make it control auto-deletion of windows and/or frames.
8812 (window-deletable-p): New argument FORCE. Rewrite conditions
8813 for deleting window/frame. (Bug#9419)
8814 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8815 Rewrite handling of case when window/frame can be deleted.
8816 (delete-windows-on): Call window-deletable-p with new FORCE
8817 argument t. (Bug#9456)
8819 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8821 * help-mode.el (help-mode): Restore autoload.
8823 2011-09-07 Juri Linkov <juri@jurta.org>
8825 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8826 `compilation-environment'. Set buffer-local
8827 `compilation-environment' to `thisenv' later after (funcall mode).
8830 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8831 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8832 instead of replacing its value. (Bug#8340)
8834 2011-09-07 Juri Linkov <juri@jurta.org>
8836 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8837 based on text properties put by `grep-filter' instead of matching
8839 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8840 to the value of `grep-error-screen-columns' (bug#9438).
8842 2011-09-07 Juri Linkov <juri@jurta.org>
8844 * simple.el (next-error-highlight, next-error-highlight-no-select):
8847 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8849 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8850 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8852 2011-09-07 Leo Liu <sdl.web@gmail.com>
8854 * net/rcirc.el (rcirc-mode): Conditionally initialize
8857 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8859 * emacs-lisp/find-func.el (find-function-C-source): Only set
8860 find-function-C-source-directory after checking that we found a source
8861 file there (bug#9440).
8863 2011-09-06 Alan Mackenzie <acm@muc.de>
8865 * isearch.el (isearch-other-meta-char): Wherever a key list is
8866 unread, "unread" the prefix arg, too. This fixes bug #8901.
8868 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8870 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8872 2011-09-05 Juri Linkov <juri@jurta.org>
8874 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8876 2011-09-05 Juri Linkov <juri@jurta.org>
8878 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8879 keeping point where processing of grep matches begins, and
8880 continue to delete remaining escape sequences from the same point.
8881 (grep-filter): Make leading zero optional in "0?1;31m" because
8882 git-grep emits "\033[1;31m" escape sequences unlike expected
8883 "\033[01;31m" as GNU Grep does (bug#9408).
8884 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8886 2011-09-05 Juri Linkov <juri@jurta.org>
8888 * subr.el (y-or-n-p): Capitalize "yes".
8890 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8892 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8893 `tramp-cache-unload-hook' where appropriate.
8894 (tramp-methods): Rename `tramp-remote-sh' to
8895 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8896 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8898 * net/tramp-sh.el (top): Don't require 'shell.
8899 (tramp-methods): Add `tramp-remote-shell' and
8900 `tramp-remote-shell-args' entries.
8901 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8902 (tramp-sh-handle-shell-command): Remove.
8903 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8904 Use `tramp-remote-shell'.
8906 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8908 * mail/sendmail.el (sendmail-query-once-function): Delete.
8909 (sendmail-query-once): Save directly to send-mail-function.
8910 Update message-send-mail-function too.
8912 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8914 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8916 * progmodes/python.el (python-mode-map): Use correct function to
8917 start python interpreter from menu-bar (as reported by Geert
8919 (inferior-python-mode-map): Fix typo.
8920 (python-shell-map): Remove.
8922 2011-09-03 Deniz Dogan <deniz@dogan.se>
8924 * net/rcirc.el (rcirc-print): Simplify code for
8925 rcirc-scroll-show-maximum-output. There is no need to walk
8926 through all windows to find the right one.
8928 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8930 * help.el (help-return-method): Doc fix.
8932 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8934 * window.el (window-deletable-p): Don't return a non-nil value
8935 when there's a buffer that was shown in the window before.
8937 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8938 Set window's previous buffers to nil.
8940 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8942 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8943 newline before and after the tag line, so it doesn't interfere
8944 with determining the paragraph direction of bidirectional text.
8946 2011-09-03 Leo Liu <sdl.web@gmail.com>
8948 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8950 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8952 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8953 (pop-to-buffer): Change interactive spec. Pass second argument
8954 directly to display-buffer.
8955 (display-buffer): Fix interactive spec. Use functionp to
8956 distinguish between a function and a list of functions.
8958 * abbrev.el (edit-abbrevs):
8959 * arc-mode.el (archive-extract):
8960 * autoinsert.el (auto-insert):
8961 * bookmark.el (bookmark-bmenu-list):
8962 * files.el (find-file):
8963 * view.el (view-buffer):
8964 * progmodes/compile.el (compilation-goto-locus):
8965 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8967 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8969 * window.el (display-buffer-alist): Doc fix.
8970 (display-buffer): Add docstring. Don't treat
8971 display-buffer-default specially.
8972 (display-buffer-reuse-selected-window)
8973 (display-buffer-same-window, display-buffer-maybe-same-window)
8974 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8975 (display-buffer-pop-up-window)
8976 (display-buffer-reuse-or-pop-window)
8977 (display-buffer-use-some-window): New functions.
8978 (display-buffer-default-action): Use them.
8979 (display-buffer-default): Delete.
8980 (pop-to-buffer-1): Fix choice of actions.
8982 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8984 * minibuffer.el (completion--insert-strings): Don't get confused by
8985 completion entries that end with an LF char.
8987 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8989 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8991 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8993 * window.el (display-buffer): Restore interactive spec.
8994 (display-buffer-same-window, display-buffer-other-window):
8996 (pop-to-buffer-1): New function. Use the above.
8997 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8998 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9000 * view.el (view-buffer-other-window, view-buffer-other-frame):
9001 Just use pop-to-buffer.
9003 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9005 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9007 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9009 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9011 2011-08-31 Richard Stallman <rms@gnu.org>
9013 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9014 of the separation of rmail-view-buffer from rmail-buffer.
9015 If you say no to "replace original", the decrypt is in the
9016 view buffer. If you say yes, the decrypt goes into the
9019 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9021 * window.el (display-buffer-window): Rewrite doc-string.
9022 (display-buffer-record-window): New function.
9023 (display-buffer-macro-specifiers)
9024 (display-buffer-even-window-sizes, display-buffer-set-height)
9025 (display-buffer-set-width, display-buffer-in-window)
9026 (display-buffer-reuse-window, display-buffer-split-specifiers)
9027 (display-buffer-side-specifiers, display-buffer-split-window-1)
9028 (display-buffer-split-window, display-buffer-split-atom-window)
9029 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9030 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9031 (display-buffer-other-window-means-other-frame)
9032 (display-buffer-normalize-special)
9033 (display-buffer-normalize-default)
9034 (display-buffer-normalize-argument)
9035 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9036 (display-buffer-normalize-specifiers, display-buffer-frame)
9037 (display-buffer-same-window, display-buffer-same-frame)
9038 (display-buffer-other-window)
9039 (display-buffer-same-frame-other-window)
9040 (display-buffer-other-frame, pop-to-buffer-same-window)
9041 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9042 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9043 (switch-to-buffer-same-frame)
9044 (switch-to-buffer-other-window-same-frame)
9045 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9046 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9047 (display-buffer-alist-set): Remove.
9048 (display-buffer-function, special-display-buffer-names)
9049 (special-display-regexps, special-display-function):
9050 In doc-string refer to display-buffer-window and quit-restore
9052 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9053 (special-display-frame-alist, special-display-popup-frame)
9054 (same-window-buffer-names, same-window-regexps, same-window-p)
9055 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9056 (split-window-preferred-function, split-height-threshold)
9057 (split-width-threshold, window-splittable-p)
9058 (split-window-sensibly, window--try-to-split-window)
9059 (window--frame-usable-p, even-window-heights)
9060 (window--even-window-heights, window--display-buffer-1)
9061 (window--display-buffer-2, display-buffer-other-frame):
9062 Restore old Emacs 23 code, order and doc-strings where applicable.
9063 (display-buffer-default, display-buffer-assq-regexp): New functions.
9064 (display-buffer-alist): Rewrite doc-string.
9065 (display-buffer-default-action)
9066 (display-buffer-overriding-action): New variables.
9067 (display-buffer, switch-to-buffer): Rewrite.
9068 (pop-to-buffer): Restore Emacs 23 behavior but use
9069 window-normalize-buffer-to-display.
9070 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9071 Restore Emacs 23 behavior but use
9072 window-normalize-buffer-to-switch-to.
9073 (pop-to-buffer-same-window): Rewrite.
9074 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9075 Rewrite using Emacs 23 options.
9077 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9079 * net/tramp.el (tramp-root-regexp): Remove.
9080 (tramp-completion-file-name-regexp-unified)
9081 (tramp-completion-file-name-regexp-separate)
9082 (tramp-completion-file-name-regexp-url): Don't use leading volume
9083 letter on win32 systems. (Bug#5303, Bug#9311)
9084 (tramp-drop-volume-letter): Simplify definition.
9085 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9087 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9089 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9092 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9094 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9096 2011-08-29 Juri Linkov <juri@jurta.org>
9098 * isearch.el (isearch-done): Don't display message "Mark saved"
9099 when arg `edit' is non-nil to prevent its flicker in the echo area.
9101 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9103 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9104 obsolete packages for deletion.
9106 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9108 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9109 (help-mode): Derive help-mode from special-mode. Don't invoke
9110 view-mode from help-mode.
9111 (help-xref-override-view-map): Remove.
9112 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9113 view-mode is not used anymore.
9115 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9117 * server.el (server-port): Doc fix.
9119 * cus-theme.el (custom-theme-choose-mode): Inherit from
9120 special-mode (Bug#9124).
9121 (custom-theme-choose-mode-map): Add special-mode to parent.
9123 2011-08-28 Alan Mackenzie <acm@muc.de>
9125 * progmodes/cc-fonts.el
9126 (c-make-font-lock-BO-decl-search-function): New function.
9127 (c-basic-matchers-after - "Fontify the clauses after various
9128 keywords"): Extract the three keyword lists for the 3 erroneous
9129 constructs from the list of four, and use the new function above
9130 in place of an old one.
9132 2011-08-28 Deniz Dogan <deniz@dogan.se>
9134 * net/rcirc.el (rcirc-insert-prev-input)
9135 (rcirc-insert-next-input): Remove unused argument.
9137 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9139 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9141 2011-08-27 Alan Mackenzie <acm@muc.de>
9143 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9144 handle function pointer parameters properly.
9146 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9148 * window.el (display-buffer-reuse-window): Fix case where
9149 selected window was reused with non-nil OTHER-WINDOW argument.
9152 2011-08-27 Deniz Dogan <deniz@dogan.se>
9154 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9155 oftc's NickServ messages.
9157 2011-08-27 Glenn Morris <rgm@gnu.org>
9159 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9161 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9163 * emacs-lisp/package.el (package-install): Call package-initialize
9164 if called interactively.
9166 2011-08-26 Leo Liu <sdl.web@gmail.com>
9168 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9170 2011-08-25 Juri Linkov <juri@jurta.org>
9172 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9173 `search-whitespace-regexp' (bug#9364).
9175 2011-08-25 Juri Linkov <juri@jurta.org>
9177 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9178 `regexp-search-ring' to their global values to protect from
9179 updating by `read-from-minibuffer' (bug#9185).
9181 2011-08-25 Juri Linkov <juri@jurta.org>
9183 * textmodes/ispell.el (ispell-command-loop): Add newline
9184 at the end of the "Use option `i'..." line.
9186 2011-08-25 Juri Linkov <juri@jurta.org>
9188 * battery.el (display-battery-mode): If `battery-status-function'
9189 or `battery-mode-line-format' is nil, display the message and set
9190 `display-battery-mode' to nil (bug#9363).
9192 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9194 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9195 bidi-string-mark-left-to-right; they are unnecessary now.
9197 2011-08-25 Deniz Dogan <deniz@dogan.se>
9199 * net/quickurl.el: Documentation typo fixes.
9201 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9203 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9205 2011-08-25 Glenn Morris <rgm@gnu.org>
9207 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9209 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9210 (smtpmail-via-smtp): Handle nil response from smtp.
9212 2011-08-24 Juri Linkov <juri@jurta.org>
9214 * proced.el (proced-marked): Inherit from `error' instead of
9215 `font-lock-warning-face'.
9217 * ibuffer.el (ibuffer-marked-face): Change default face from
9218 `font-lock-warning-face' to `warning'.
9219 (ibuffer-deletion-face): Change default face from
9220 `font-lock-type-face' to `error'.
9222 * battery.el (battery-update): Use the face `error' instead of
9223 `font-lock-warning-face' (bug#6117).
9225 2011-08-24 Juri Linkov <juri@jurta.org>
9227 * faces.el (success): Change face color from "Green3" to
9228 "ForestGreen" on light background (bug#9353).
9230 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9232 * window.el (quit-window): Rename from quit-restore-window.
9233 Use same arglist as old quit-window.
9234 (frame-auto-delete): Doc fix.
9236 * view.el (view-mode-exit): Use quit-window.
9238 2011-08-24 Juri Linkov <juri@jurta.org>
9240 * isearch.el (isearch-ring-adjust1): Start visiting previous
9241 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9242 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9243 for empty search string (when the last search string is reused
9244 automatically) to adjust the isearch ring to the last element and
9245 prepare the correct index for further M-p commands (bug#9185).
9247 2011-08-24 Kenichi Handa <handa@m17n.org>
9249 * international/ucs-normalize.el: If decomposition property of
9250 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9252 (nfd, nfkd): Likewise.
9254 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9256 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9257 from process filters aren't reliably transmitted to the surrounding
9258 accept-process-output.
9259 (mpc-proc-check): New function.
9260 (mpc-proc-sync): Use it (bug#8293)
9262 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9264 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9265 Add compatibility functions (bug#9313).
9267 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9269 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9271 * international/uni-bidi.el: Regenerate.
9273 2011-08-23 Kenichi Handa <handa@m17n.org>
9275 * international/charprop.el:
9276 * international/uni-bidi.el:
9277 * international/uni-category.el:
9278 * international/uni-combining.el:
9279 * international/uni-comment.el:
9280 * international/uni-decimal.el:
9281 * international/uni-decomposition.el:
9282 * international/uni-digit.el:
9283 * international/uni-lowercase.el:
9284 * international/uni-mirrored.el:
9285 * international/uni-name.el:
9286 * international/uni-numeric.el:
9287 * international/uni-old-name.el:
9288 * international/uni-titlecase.el:
9289 * international/uni-uppercase.el: Regenerate.
9291 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9293 * help.el (help-window-setup): Fix message displayed when other
9294 window is reused. (Bug#9341)
9296 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9298 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9299 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9301 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9303 * shell.el (shell-parse-pcomplete-arguments): New function.
9304 (shell-completion-vars): Use it instead (bug#9160).
9306 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9308 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9309 strings and comments (bug#9333).
9311 * emacs-lisp/debug.el (debug-arglist): New function.
9312 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9313 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9315 2011-08-22 Juri Linkov <juri@jurta.org>
9317 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9318 Revert regexp that highlights output switches to its old
9319 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9321 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9322 to check for empty output (bug#9226).
9324 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9326 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9327 symbol-constituent as the default, as that stops font-lock from
9328 working properly (Bug#8843).
9330 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9332 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9333 `coding-system-for-*' around the process open call to avoid
9334 auth-source side effects.
9335 (smtpmail-try-auth-methods): Expand the secret password.
9336 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9339 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9341 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9343 * emacs-lisp/find-func.el (find-function-noselect): New arg
9346 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9347 signal an error for built-in functions (Bug#6664).
9349 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9351 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9352 (smtpmail-try-auth-methods): Use it.
9354 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9356 * font-lock.el (font-lock-fontify-region)
9357 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9358 (font-lock-default-unfontify-buffer)
9359 (font-lock-default-fontify-region)
9360 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9362 * progmodes/compile.el (compilation-error-properties):
9363 Fix confusion between file struct and message struct (Bug#9319).
9364 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9367 * net/browse-url.el (browse-url-firefox): Don't call
9368 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9370 2011-08-20 Glenn Morris <rgm@gnu.org>
9372 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9374 * tutorial.el (tutorial--default-keys): Update some default bindings.
9376 * files.el (hack-local-variables): Fully ignore case for "mode:".
9378 2011-08-20 Alan Mackenzie <acm@muc.de>
9380 Resolve invalid use of a regexp in regexp-opt.
9382 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9383 detection for a java annotation.
9385 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9386 detection for a java annotation.
9388 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9390 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9392 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9394 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9397 2011-08-20 Alan Mackenzie <acm@muc.de>
9399 Fontify CPP expressions correctly when starting in the middle of
9400 such a construct. Mainly for when jit-lock etc. starts a chunk
9403 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9405 (c-make-font-lock-search-form): New function, extracted from
9406 c-make-font-lock-search-function.
9407 (c-make-font-lock-search-function): Use the above function.
9408 (c-make-font-lock-context-search-function): New function.
9409 (c-cpp-matchers): Enhance the preprocessor expression case with
9411 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9412 which takes an expression.
9414 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9416 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9418 * window.el (display-buffer-reuse-window)
9419 (display-buffer-pop-up-window): Don't reuse or split a side
9422 2011-08-19 Glenn Morris <rgm@gnu.org>
9424 * files.el (hack-local-variables-prop-line, hack-local-variables):
9425 Downcase "Mode:". (Bug#9331)
9427 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9429 * international/characters.el: Add L and R categories.
9431 * subr.el (bidi-string-mark-left-to-right): Rename from
9432 string-mark-left-to-right. Use category search.
9434 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9436 2011-08-18 Juri Linkov <juri@jurta.org>
9438 * faces.el (error, warning, success): New faces with definitions
9439 copied from old default values of `font-lock-warning-face',
9440 `compilation-warning', `compilation-info' (bug#6117).
9442 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9444 * progmodes/compile.el (compilation-error): Inherit from `error'.
9445 (compilation-warning): Inherit from `warning'.
9446 (compilation-info): Inherit from `success'.
9448 * dired.el (dired-marked): Inherit from `warning'.
9449 (dired-flagged): Inherit from `error'.
9451 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9453 * mail/smtpmail.el (auth-source): Require to avoid problems with
9454 binding variables (bug#9298). Also clean up some unused
9457 * net/network-stream.el (network-stream-open-starttls):
9458 Support using starttls.el without using gnutls-cli.
9460 2011-08-17 Juri Linkov <juri@jurta.org>
9462 * progmodes/grep.el (rgrep): Handle the case when
9463 `grep-find-command' is a cons cell (bug#9278).
9465 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9467 * window.el (display-buffer-pop-up-frame): Run frame creation
9468 function with BUFFER current (as special-display-popup-frame
9469 does). Reported by Drew Adams.
9471 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9473 * epa-mail.el: Simplify GnuPG group expansion using
9475 (epa-mail-group-alist, epa-mail-group-modtime)
9476 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9477 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9478 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9481 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9483 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9485 2011-08-16 Alan Mackenzie <acm@muc.de>
9487 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9488 Correct, to avoid the inside of macros.
9490 2011-08-16 Richard Stallman <rms@gnu.org>
9492 * epa-mail.el: Handle GnuPG group definitions.
9493 (epa-mail-group-alist, epa-mail-group-modtime)
9494 (epa-mail-gnupg-conf-file): New variables.
9495 (epa-mail-parse-groups, epa-mail-sync-groups)
9496 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9497 (epa-mail-expand-recipients): New functions.
9498 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9500 * mail/rmail.el (rmail-epa-decrypt): New command.
9502 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9503 Don't bind buffer-read-only, just inhibit-read-only.
9504 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9505 (epa-decrypt-armor-in-region): Make error message clearer.
9507 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9509 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9510 and "a2b" to "ab" for `prefix'.
9512 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9514 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9516 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9517 Fourquet (Bug#8804).
9519 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9521 * startup.el (argi): Declare as global variable (bug#9275).
9523 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9525 * subr.el (string-mark-left-to-right): Search the entire string
9526 for RTL script, not just the terminating character. Doc fix.
9528 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9530 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9532 (js--regexp-literal, js-syntax-propertize-function): Remove.
9533 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9534 (js-mode-map): Don't rebind electric keys.
9535 (js-insert-and-indent): Remove.
9536 (js-mode): Setup electric-layout and electric-indent instead.
9538 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9540 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9542 * epa.el (epa-progress-callback-function): Fix the logic of
9543 displaying progress.
9544 * epa-file.el (epa-file-insert-file-contents): Make progress
9545 display more user-friendly.
9546 (epa-file-write-region): Ditto.
9548 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
9550 * subr.el (string-mark-left-to-right): New function.
9552 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9553 Use string-mark-left-to-right.
9554 (list-buffers-noselect): Caller changed.
9556 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9557 Use string-mark-left-to-right.
9558 (tabulated-list-print): Recenter after moving point.
9560 2011-08-10 Juri Linkov <juri@jurta.org>
9562 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9563 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9564 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9566 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9568 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9571 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9573 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9574 character. (Bug#6594)
9576 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9578 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9579 (image-dired--with-db-file): New macro.
9580 (image-dired-write-tags, image-dired-remove-tag)
9581 (image-dired-create-gallery-lists, image-dired-write-comments)
9582 (image-dired-get-comment, image-dired-mark-tagged-files)
9583 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9584 (image-dired-gallery-generate): Use insert-file-contents.
9586 * time.el (display-time-world-list, display-time-world-display):
9587 * time-stamp.el (time-stamp-string):
9588 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9589 set-time-zone-rule (Bug#7337).
9591 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9593 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9594 (epg-error-to-string, epg-errors-to-string): New function.
9595 (epg-wait-for-completion): Reverse errors list.
9596 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9597 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9598 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9599 (epg-sign-keys, epg-generate-key-from-file)
9600 (epg-generate-key-from-string): Format errors by using
9601 epg-errors-to-string (bug#9255).
9602 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9604 2011-08-07 Juri Linkov <juri@jurta.org>
9606 * faces.el (list-faces-display): Remove extra angle bracket
9607 from `help-mode-map'.
9609 * info.el (Info-history-toc-nodes): Doc fix.
9611 * longlines.el (longlines-mode): Doc fix.
9613 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9615 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9616 of statements and in a few more cases (bug#9183).
9618 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9620 (cl-transform-lambda): Use them (bug#9239).
9622 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9624 * window.el (display-buffer-same-window)
9625 (display-buffer-same-frame, display-buffer-other-window)
9626 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9627 (pop-to-buffer-other-window)
9628 (pop-to-buffer-same-frame-other-window)
9629 (pop-to-buffer-other-frame): Make them defuns.
9630 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9632 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9634 * subr.el (make-composed-keymap): Move from C. Change calling
9635 convention, and improve docstring to bring attention to a subtle point.
9636 * minibuffer.el (completing-read-default): Adjust accordingly.
9638 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9640 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9641 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9643 * net/trampver.el: Update release number.
9645 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9647 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9650 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9652 * mail/sendmail.el (sendmail-query-once): Restore the current
9653 buffer after querying (bug#9074).
9655 * dired.el (dired-flagged): Use different faces for marked and
9656 flagged files (bug#6117).
9658 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9661 * ido.el (ido-mode): Switch off the message if called
9664 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9665 before 587, since it appears that that's more likely to work for
9668 * cus-edit.el (custom-file): When running under emacs -q, always
9669 refuse to save the customizations, even if the .emacs file doesn't
9672 * info.el: Remove the `Info-beginning-of-buffer' function
9675 * net/network-stream.el (network-stream-open-starttls):
9676 Use `starttls-available-p' to see whether starttls.el can be used.
9678 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9680 * window.el (display-buffer-in-window): Don't set dedicated status
9681 of window here (Bug#9215).
9682 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9683 (display-buffer-pop-up-side-window)
9684 (display-buffer-in-side-window): Set dedicated status of window here.
9686 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9688 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9689 before binding generated-autoload-file.
9691 2011-08-01 Deniz Dogan <deniz@dogan.se>
9693 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9695 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9697 Sync with Tramp 2.2.2.
9699 * net/trampver.el: Update release number.
9701 2011-07-30 Juri Linkov <juri@jurta.org>
9703 * dired-aux.el (dired-touch-initial): Remove function.
9704 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9705 current time, and `default' to the last modification time of the
9706 current marked file (bug#6887).
9708 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9710 * simple.el (goto-line): Use string-to-number to provide a
9711 numeric argument to read-number (bug#9163).
9713 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9715 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9716 connection process, it could be nil.
9718 2011-07-27 Leo Liu <sdl.web@gmail.com>
9720 Simplify url handling in rcirc-mode.
9722 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9723 (rcirc-browse-url-at-mouse): Remove.
9724 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9726 2011-07-26 Alan Mackenzie <acm@muc.de>
9728 Fontify bitfield declarations properly.
9730 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9731 (c-symbol-chars): Now exported as a lang variable.
9732 (c-not-primitive-type-keywords): New lang variable.
9734 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9735 QT keyword "more" to prevent "more slots: ...." being spuriously
9736 parsed as a bitfield declaration.
9738 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9739 Refactor and enhance to handle bitfield declarations.
9740 (c-punctuation-in): New function.
9741 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9742 declarations properly.
9744 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9746 * calendar/icalendar.el (icalendar--all-events): Take care of
9747 multiple vcalendars in a single file.
9748 (icalendar--convert-float-to-ical): Checkdoc fixes.
9750 2011-07-25 Deniz Dogan <deniz@dogan.se>
9752 * image.el (insert-image): Clarifying docstring.
9754 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9756 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9757 `tramp-send-command-and-check' if there is no error.
9758 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9760 2011-07-22 Alan Mackenzie <acm@muc.de>
9762 Prevent cc-langs.elc being loaded at run time.
9764 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9767 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9768 "(require 'cc-langs)". Quote a form so it will evaluate at
9769 (cc-mode's) compilation time.
9771 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9773 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9776 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9778 * window.el (display-buffer-pop-up-window)
9779 (display-buffer-pop-up-side-window)
9780 (display-buffer-in-side-window): Call display-buffer-set-height
9781 and display-buffer-set-width after setting the new window's
9782 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9784 2011-07-20 Sam Steingold <sds@gnu.org>
9786 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9787 (etags-tags-included-tables): Call `convert-standard-filename' on
9788 the file names contained in TAGS so that windows Emacs can handle
9789 TAGS files created by cygwin ctags.
9791 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9793 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9794 which apparently didn't work.
9796 2011-07-19 Roland Winkler <winkler@gnu.org>
9798 * proced.el (proced-send-signal): For *Marked Processes* buffer
9799 put point at beginning of buffer.
9801 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9803 * proced.el (proced-format): Make header lines align with the text
9806 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9808 * view.el (view-buffer): Allow running in `special' modes if we're
9809 visiting a file (bug#8615).
9811 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9813 * window.el (display-buffer-alist-of-strings-p)
9814 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9816 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9819 2011-07-18 Alan Mackenzie <acm@muc.de>
9821 Fontify declarators properly when, e.g., a jit-lock chunk begins
9822 inside a declaration.
9824 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9826 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9828 (c-complex-decl-matchers): Insert reference to
9829 c-font-lock-enclosing-decls.
9831 * progmodes/cc-engine.el (c-backward-single-comment):
9832 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9833 to nil around calls to (forward-comment -1).
9835 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9837 * image.el (put-image): Doc typo fix.
9839 * progmodes/etags.el (tags-search): Doc typo fix.
9841 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9842 password if we get errors 550 to 554.
9844 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9846 * net/gnutls.el (gnutls-log-level): Remove.
9848 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9849 indentation character (bug#6380).
9851 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9853 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9854 to clarify what the problem is (bug#4291).
9856 * simple.el (current-kill): Clarify what
9857 `interprogram-paste-function' does (bug#7500).
9858 (auto-fill-mode): Document `auto-fill-function' in relation to
9859 `auto-fill-mode' (bug#2470).
9861 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9863 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9864 method if slot is read-only (bug#9035).
9866 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9868 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9869 * window.el (pop-to-buffer): Select window used even if it was
9870 selected before, see discussion of (Bug#8615), (Bug#6954).
9871 Pass argument NORECORD on to select-frame-set-input-focus.
9873 2011-07-15 Glenn Morris <rgm@gnu.org>
9875 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9878 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9880 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9881 (gnutls-negotiate): Use it.
9883 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9885 * net/gnutls.el (gnutls-negotiate):
9886 Upcase `gnutls-algorithm-priority'.
9888 2011-07-15 Glenn Morris <rgm@gnu.org>
9890 * jka-compr.el (jka-compr-verbose): Move from here...
9891 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9892 Add missing :version tag.
9893 * info.el: No need to require jka-compr when compiling.
9895 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9897 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9898 (gnutls-negotiate): Use it.
9900 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9902 * info.el (Info-beginning-of-buffer): New command.
9903 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9904 announcing `b' as the key (bug#8325).
9905 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9907 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9909 * international/mule-cmds.el
9910 (describe-specified-language-support): Make the error message
9913 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9915 * isearch.el (isearch-barrier): Add a doc string, since it's
9916 mentioned in a function doc string (bug#8678).
9918 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9920 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9921 buffer argument (Bug#9083) and self-identifying label argument.
9923 2011-07-15 Glenn Morris <rgm@gnu.org>
9925 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9927 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9929 * man.el (Man-fontify-manpage): Fix message when formatting the
9930 man page (bug#7929).
9932 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9934 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9935 argument LRM; if non-nil, append an invisible LRM character to the
9937 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9938 last argument non-nil, when formatting buffer names.
9939 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9940 paragraph direction.
9942 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9944 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9945 the man page name (bug#7929).
9947 * image.el (put-image): Mention the `put-image' overlay property
9950 * scroll-bar.el (set-scroll-bar-mode): Mention that
9951 `scroll-bar-mode' lists the values (bug#7772).
9953 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9956 * rect.el (apply-on-rectangle): Return the point after the last
9958 (string-rectangle): Go to the point after the last operation
9961 * printing.el (pr-toggle-region): Clarify the documentation
9962 slightly (bug#7493).
9964 * time.el (display-time-update):
9965 Allow `display-time-mail-function' to return nil (bug#7158).
9966 Fix suggested by Detlev Zundel.
9968 * vc/diff.el (diff): Clarify the order the file names are read
9971 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9972 the doc string (bug#7015).
9974 * font-lock.el (font-lock-maximum-decoration): Mention what
9975 numeric levels mean (bug#6935).
9977 * startup.el (initial-buffer-choice): Don't mention the `none'
9978 selection, which is against policy.
9980 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9982 * window.el (display-buffer-normalize-special):
9983 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9985 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9987 * subr.el (version<, version<=, version=): Mention "-CVS" and
9988 "-12345" alpha version numbers.
9990 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9992 * bindings.el: Add advertised binding for set-mark-command
9995 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9997 * bindings.el (mode-line-other-buffer):
9998 * bookmark.el (bookmark-bmenu-2-window):
9999 * bs.el (bs-cycle-next, bs-cycle-previous):
10000 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10003 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10006 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10008 * follow.el (follow-debug-message, follow-redisplay):
10009 * jka-cmpr-hook.el (with-auto-compression-mode):
10010 Fix typos in docstrings.
10012 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10014 * subr.el (with-silent-modifications): Clarify somewhat what the
10015 macro inhibits (bug#6525).
10017 * simple.el (eval-expression): Note what it does if called
10018 interactively (bug#6495).
10020 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10022 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10023 Use pop-to-buffer buffer-or-name if it is nil.
10025 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10026 Remove switch-to-buffer.
10028 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10030 * files.el (make-directory): Clarify that an error will be raised
10031 if there's an error (bug#6397).
10033 * startup.el (initial-buffer-choice): Add `none' as a choice
10036 * subr.el (add-hook): Clarify section about buffer-local hooks
10039 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10041 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10043 * tabify.el (untabify): Preserve the current column so that point
10044 doesn't move (bug#6032).
10046 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10048 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10049 Rewrite to avoid awkward possessive "s" (bug#5986).
10051 2011-07-13 Glenn Morris <rgm@gnu.org>
10053 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10054 (dired-insert-directory): Give a message the first time
10055 if ls is found not to support --dired.
10057 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10059 * simple.el (toggle-truncate-lines): Clarify what is toggled
10060 (bug#5580). Text by Drew Adams.
10062 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10064 * simple.el (blink-matching-open): Make the error message from the
10065 last change less verbose.
10067 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10069 * font-lock.el (font-lock-comment-face): Use the high contrast
10070 "yellow" color for font-lock-comment-face on low color terminals
10071 using a dark background color (bug#4221).
10073 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10075 * dired.el (dired-insert-set-properties): Make the doc string
10076 reflect what it does now (bug#5325).
10078 * simple.el (blink-matching-open): Say that we were unable to find
10079 the match within the limit, if we're limited (bug#5122).
10081 * international/mule-cmds.el (prefer-coding-system): Add an
10082 example (bug#4869).
10084 * progmodes/etags.el (tags-search): Document `file-list-form'
10087 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10089 * net/browse-url.el (browse-url-default-browser)
10090 (browse-url-browser-function): Make the default browser choice a
10091 bit more logical (bug#4300). Also clean up the doc string.
10093 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10095 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10096 binary endings (bug#4440).
10098 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10100 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10101 which can be pretty annoying (bug#8971).
10103 * jka-compr.el (jka-compr-verbose): New variable, and use
10104 throughout (bug#8971).
10106 * info.el (Info-find-file): Fall back on the installation
10107 directory if we can't find the info node anywhere else.
10109 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10111 * vc/vc.el (vc-revert-file):
10112 Don't set file time-stamp in the past. (Bug#5181)
10114 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10116 * files.el (after-find-file): Give a better error message when
10117 trying to find a symlink that points to a file that doesn't exist
10120 * progmodes/cc-vars.el: Remove (probably) misleading comment
10123 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10125 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10127 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10129 * mouse-sel.el: Hack restoring functionality, while keeping
10130 compatibility with 2010-07-03 changes to mouse selection.
10131 (mouse-sel-primary-overlay): New var.
10132 (mouse-sel-selection-alist): Use it.
10133 (mouse-sel-mode): Doc fix; remove points that are default features
10136 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10138 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10139 Fix previous fix (bug#2490).
10141 2011-07-12 Roland Winkler <winkler@gnu.org>
10143 * textmodes/bibtex.el (bibtex-initialize):
10144 Use pop-to-buffer-same-window.
10145 (bibtex-search-entries): Fix interactive call.
10147 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10149 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10150 Fontise bytecomp Error lines more correctly (bug#2490).
10151 Fix suggested by Johan Bockgård.
10153 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10155 * dired-x.el (dired-guess-default): Use `delete-dups'.
10157 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10159 * dired.el (dired-mark-prompt):
10160 * dired-aux.el (dired-read-shell-command): Doc fix.
10162 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10164 * mail/sendmail.el (sendmail-query-once):
10165 Use `customize-save-variable' unconditionally, now that it works under
10168 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10170 * cus-edit.el (custom-file): Take an optional no-error variable.
10171 (customize-save-variable): Set the variable, and give a warning if
10172 running under "emacs -q".
10174 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10176 * loadhist.el (unload-feature-special-hooks):
10177 Add `auto-coding-functions', `fill-nobreak-predicate' and
10178 `find-directory-functions' (bug#5327).
10180 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10182 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10184 * cus-edit.el (custom-guess-name-alist): -alist variables should
10185 use the `alist' type (bug#3120). Suggested by Drew Adams.
10187 * printing.el: Add documentation to all the `pr-toggle-' commands.
10189 2011-07-11 Leo Liu <sdl.web@gmail.com>
10191 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10192 backends where it makes sense (bug#2623).
10194 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10196 * dired-x.el (dired-guess-default): Remove duplicate shell command
10197 entries (bug#2028).
10198 (dired-guess-default): Fix grammar in doc string (bug#2028).
10199 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10201 * subr.el (remove-duplicates): New conveniency function.
10203 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10205 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10208 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10210 * window.el (display-buffer-normalize-default): Don't invert
10211 meaning of even-window-heights. Reported by Eli Zaretskii
10214 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10216 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10218 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10220 * window.el (display-buffer): Fix arguments to
10221 display-buffer-reuse-window in last change.
10223 * faces.el (link): Use a less saturated blue on light backgrounds.
10225 * startup.el (fancy-startup-text, fancy-about-text)
10226 (fancy-startup-tail): Use font-lock faces, for background safety.
10228 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10230 * emulation/viper-cmd.el (viper-change-state-to-vi):
10231 Limit triggering of abbrev expansion (Bug#9038).
10233 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10235 * window.el (display-buffer-default-specifiers): Remove.
10236 (display-buffer-macro-specifiers): Remove default specifiers.
10237 (display-buffer-alist): Default to nil.
10238 (display-buffer-reuse-window): New optional argument other-window.
10239 (display-buffer-pop-up-window): Allow splitting internal
10240 windows. Check whether a live window was created.
10241 (display-buffer-other-window-means-other-frame)
10242 (display-buffer-normalize-arguments): Rename to
10243 display-buffer-normalize-argument and rewrite. Set the
10244 other-window specifier.
10245 (display-buffer-normalize-special): New function.
10246 (display-buffer-normalize-options): Rename to
10247 display-buffer-normalize-default and rewrite.
10248 (display-buffer-normalize-options-inhibit): Remove.
10249 (display-buffer-normalize-specifiers): Rewrite.
10250 (display-buffer): Process other-window specifier and call
10251 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10253 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10254 (display-buffer-alist-set): Don't handle 'unset default values.
10255 (display-buffer-in-window, display-buffer-alist-set):
10256 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10257 <tassilo@member.fsf.org>.
10259 2011-07-09 Leo Liu <sdl.web@gmail.com>
10261 * register.el (insert-register): Restore accidental change on
10262 2011-06-26. (Bug#9028)
10264 2011-07-09 Glenn Morris <rgm@gnu.org>
10266 * subr.el (remq): Handle the empty list. (Bug#9024)
10268 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10270 * mail/sendmail.el (send-mail-function): No longer delay custom
10272 * custom.el (custom-initialize-delay): Doc fix.
10274 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10276 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10278 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10280 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10281 human-friendly prompt.
10283 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10285 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10286 provided by a particular plugin.
10288 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10290 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10291 save customizations (with "emacs -Q"), just set the variable
10292 instead of erroring out.
10294 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10296 2011-07-08 Juri Linkov <juri@jurta.org>
10298 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10299 (archive-zip-update-case): Use 7z if found by `executable-find'.
10300 The order of searching the available programs is the same as in
10301 `archive-zip-extract' (bug#8968).
10303 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10305 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10306 (menu-bar-options-menu): Tweak descriptions.
10308 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10310 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10311 menu items into verb phrases (bug#1421). Also refill to fit under
10314 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10316 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10317 (Info-read-node-name): Doc fix (Bug#1084).
10319 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10320 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10321 (end-of-sexp, beginning-of-sexp)
10322 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10323 (forward-symbol, forward-same-syntax, word-at-point)
10324 (sentence-at-point): Doc fix (Bug#1144).
10326 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10328 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10329 should cover it (bug#1281).
10331 * cus-edit.el (custom-show): Mark as obsolete.
10333 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10334 negotiation fails, then possibly try again with a non-encrypted
10335 connection (bug#9017).
10337 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10340 2011-07-07 Richard Stallman <rms@gnu.org>
10342 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10343 property, and handle its changed format.
10344 Look for the correct line number.
10345 Use file's line contents (but not past first =) to find
10346 correct line in message.
10348 2011-07-07 Kenichi Handa <handa@m17n.org>
10350 * international/characters.el (build-unicode-category-table):
10352 (unicode-category-table): Set it by unicode-property-table-internal.
10354 * international/mule-cmds.el (char-code-property-alist): Move to
10356 (get-char-code-property): Call unicode-property-table-internal to
10357 load a file. Call get-unicode-property-internal where necessary.
10358 (put-char-code-property): Call unicode-property-table-internal to
10359 load a file. Call put-unicode-property-internal where necessary.
10360 put-unicode-property-internal where necessary.
10361 (char-code-property-description):
10362 Call unicode-property-table-internal to load a file.
10364 * international/charprop.el:
10365 * international/uni-bidi.el:
10366 * international/uni-category.el:
10367 * international/uni-combining.el:
10368 * international/uni-comment.el:
10369 * international/uni-decimal.el:
10370 * international/uni-decomposition.el:
10371 * international/uni-digit.el:
10372 * international/uni-lowercase.el:
10373 * international/uni-mirrored.el:
10374 * international/uni-name.el:
10375 * international/uni-numeric.el:
10376 * international/uni-old-name.el:
10377 * international/uni-titlecase.el:
10378 * international/uni-uppercase.el: Regenerate.
10380 * loadup.el: Load international/charprop.el before
10381 international/characters.
10383 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10385 * window.el (next-buffer, previous-buffer): Signal an error if
10386 called from a minibuffer window.
10388 * bindings.el: Revert 2011-07-04 change.
10390 2011-07-06 Richard Stallman <rms@gnu.org>
10392 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10393 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10394 Treat markers like ints.
10395 (rmail-mime-entity): Doc fix.
10397 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10399 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10400 defcustom again for backwards compatibility.
10402 * simple.el (shell-command-on-region): Fill.
10404 * dired-aux.el (dired-kill-line): Add a doc string.
10406 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10407 to "\\sw\\|\\s_" (bug#358).
10409 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10410 (dired-unmark-backward): Ditto.
10411 (dired-flag-backup-files): Ditto.
10413 * dired-x.el (dired-mark-sexp): Ditto.
10415 2011-07-06 Richard Stallman <rms@gnu.org>
10417 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10418 (rmail-mime-entity): New arg TRUNCATED.
10419 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10421 (rmail-mime-save): Warn if entity is truncated.
10422 (rmail-mime-toggle-hidden): Likewise, for showing.
10423 (rmail-mime-process-multipart): Record when an entity is truncated.
10425 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10426 if ENTITY is a string.
10428 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10430 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10431 of faces when `M-C-x'-ing their definitions (bug#8378).
10432 Also clean up the code slightly.
10434 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10435 because that makes the colors go away.
10437 * mail/sendmail.el (send-mail-function): Change the default to
10438 `sendmail-query-once'.
10439 (sendmail-query-once): Add an autoload cookie.
10441 * net/network-stream.el (network-stream-open-starttls): Try using
10442 a plain connection even if the server offered STARTTLS, and we
10443 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10444 capability. This should make smtpmail.el work in slightly more
10447 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10449 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10451 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10453 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10455 * progmodes/sql.el: Version 3.0
10456 (sql-product-alist): Add product :completion-object,
10457 :completion-column, and :statement attributes.
10458 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10459 (sql-mode-syntax-table): Mark all punctuation.
10460 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10462 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10463 (sql-mode-oracle-font-lock-keywords): Improve.
10464 (sql-oracle-show-reserved-words): New function for development.
10465 (sql-product-font-lock): Simplify for source code buffers.
10466 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10468 (sql-highlight-product): Set product specific syntax table.
10469 (sql-mode-map): Add statement movement functions.
10470 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10472 (sql-statement-regexp, sql-beginning-of-statement)
10473 (sql-end-of-statement, sql-signum): New functions.
10474 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10475 (sql-show-sqli-buffer): Bug fix.
10476 (sql-interactive-mode): Store connection data as buffer local.
10477 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10478 with sql-interactive-mode.
10479 (sql-save-connection): Save buffer local settings.
10480 (sql-connection-menu-filter): Change menu entry name.
10481 (sql-product-interactive): Bug fix.
10482 (sql-preoutput-hold): New variable.
10483 (sql-interactive-remove-continuation-prompt): Bug fixes.
10484 (sql-debug-redirect): New variable.
10485 (sql-str-literal): New function.
10486 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10488 (sql-oracle-save-settings, sql-oracle-restore-settings)
10489 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10490 (sql-completion-object, sql-completion-column)
10491 (sql-completion-sqlbuf): New variables.
10492 (sql-build-completions-1, sql-build-completions)
10493 (sql-try-completion): New functions.
10494 (sql-read-table-name): Use them.
10495 (sql-contains-names): New buffer local variable.
10496 (sql-list-all, sql-list-table): Use it.
10497 (sql-oracle-completion-types): New variable.
10498 (sql-oracle-completion-object, sql-sqlite-completion-object)
10499 (sql-postgres-completion-object): New functions.
10501 2011-07-06 Glenn Morris <rgm@gnu.org>
10503 * window.el (pop-to-buffer): Doc fix.
10505 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10507 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10509 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10511 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10513 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10515 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10517 * button.el (button): Inherit from link face. Suggested by Dan
10520 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10522 * progmodes/gdb-mi.el: Fit in 80 columns.
10523 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10526 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10527 if imenu is simply not configured (bug#8941).
10529 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10531 * allout.el (allout-post-undo-hook): New allout outline-change
10532 event hook to signal undo activity.
10533 (allout-post-command-business): Run allout-post-undo-hook if an
10534 undo just occurred.
10535 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10536 * allout-widgets.el (allout-widgets-after-undo-function):
10537 Ensure the integrity of the current item's decoration after it has been
10538 in the vicinity of an undo.
10539 (allout-widgets-mode): Include allout-widgets-after-undo-function
10540 on the new allout-post-undo-hook.
10542 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10544 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10545 Let define-derived-mode define it.
10546 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10547 cycles of abbrev-table inheritance (bug#8998).
10549 2011-07-05 Roland Winkler <winkler@gnu.org>
10551 * textmodes/bibtex.el: Add support for biblatex.
10552 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10553 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10554 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10555 (bibtex-entry-alist, bibtex-field-alist): New variables.
10556 (bibtex-entry-field-alist): Obsolete alias for
10557 bibtex-BibTeX-entry-alist.
10558 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10559 (bibtex-set-dialect): New command.
10560 (bibtex-entry-type, bibtex-entry-head)
10561 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10562 Bind via bibtex-set-dialect.
10563 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10564 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10565 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10566 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10567 Define via bibtex-set-dialect.
10568 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10569 Obey bibtex-no-opt-remove-re.
10570 (bibtex-vec-push, bibtex-vec-incr): New functions.
10571 (bibtex-format-entry, bibtex-field-list)
10572 (bibtex-print-help-message, bibtex-validate)
10573 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10575 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10577 * progmodes/compile.el (compilation-goto-locus):
10578 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10579 * bs.el (bs-cycle-next, bs-cycle-previous):
10580 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10581 * bindings.el (mode-line-other-buffer):
10582 * autoinsert.el (auto-insert):
10583 * arc-mode.el (archive-extract):
10584 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10586 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10588 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10589 Fix check of `emacs-lock-unlockable-modes'.
10590 Coerce true values of `emacs-lock--try-unlocking' to t.
10592 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10594 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10595 * emacs-lock.el: New file.
10597 2011-07-05 Julien Danjou <julien@danjou.info>
10599 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10600 than `boundp' to check if face is set.
10602 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10604 * register.el (registerv-make):
10605 * window.el (window-min-height): Fix typos in docstrings.
10607 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10609 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10612 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10614 * server.el (server-execute): Catch quit and call
10615 `server-return-error' to pass the error back to emacsclient and
10616 close the connection (bug#8942).
10618 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10620 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10621 insecure exception for current topic. Also note that auto-saves
10622 are handled differently.
10624 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10625 State variables for tracking auto-save inhibition situation.
10627 (allout-write-contents-hook-handler): Rename from
10628 'allout-write-file-hook-handler', and describe how it depends on
10629 write-contents-functions sensitivity to non-nil value to prevent
10632 (allout-auto-save-hook-handler): Remove. auto-save does not check
10633 this in individual buffers, only in the starting buffer, so this
10634 is not the right way for us to inhibit auto-save in a buffer
10635 according to its condition.
10637 (allout-mode): Use new allout-write-contents-hook-handler, and
10638 only with write-contents-functions. Remove auto-save provisions -
10639 they're implemented elsewhere.
10641 (allout-before-change-handler): If undo is in progress, note that
10642 for attention of allout-post-command-business.
10644 (allout-post-command-business): If the command we're following was
10645 an undo, check for change in the status of encrypted items and
10646 adjust auto-save inhibitions accordingly.
10648 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10649 according to whether there are or aren't any plain-text topics
10650 pending encryption.
10652 (allout-inhibit-auto-save-info-for-decryption):
10653 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10654 if there are plain-text topics pending encryption.
10656 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10657 buffer-saved-size and some allout state to not inhibit auto-saves
10658 if there are no longer any plain-text topics pending encryption.
10660 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10661 No longer provide for exemption of the current topic.
10663 2011-07-04 Juri Linkov <juri@jurta.org>
10665 Add 7z operations to delete and save changed members (bug#8968).
10666 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10668 (archive-7z-write-file-member): New function.
10669 (archive-7z-summarize): Fix the number of dashes in the
10672 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10674 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10677 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10679 * bindings.el: Ignore next-buffer and previous-buffer in
10680 minibuffer-local-map.
10682 * font-lock.el (font-lock-builtin-face): Change light background
10683 color to dark slate blue (Bug#6693).
10685 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10687 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10689 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10691 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10692 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10693 Add switch-to-buffer.
10695 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10697 * isearch.el (isearch-search-fun-function): Clarify further the
10698 meaning of the function returned.
10700 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10702 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10704 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10705 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10707 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10708 `tramp-default-remote-path' does not exist.
10709 (tramp-send-command-and-read): New optional argument NOERROR.
10710 (tramp-open-connection-setup-interactive-shell)
10711 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10712 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10713 (tramp-process-sentinel): Flush also process' connection property.
10714 (tramp-sh-handle-start-file-process): Do not set process
10715 sentinel. It is done now ...
10716 (tramp-maybe-open-connection): ... here. (Bug#8929)
10718 2011-07-04 MON KEY <monkey@sandpframing.com>
10720 * play/animate.el (animate-string): Doc fixes and allow changing
10721 the buffer name (bug#5417).
10723 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10725 * play/animate.el (animation-buffer-name): Rename from *animate*.
10727 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10729 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10730 This is simpler and helps future-proof the code.
10731 (timer-until): Use time-subtract and float-time.
10732 (timer--time-less-p): Use time-less-p.
10734 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10736 * type-break.el (timep): Use the value of `float-time' to avoid a
10737 byte-compiler warning.
10739 * server.el (server-eval-and-print): Return any result, even nil.
10741 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10743 * type-break.el: Accept time formats that the builtins accept.
10744 (timep, type-break-time-difference): Accept any format that
10745 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10746 This is simpler and helps future-proof the code.
10747 (type-break-time-difference): Round rather than ignoring
10748 subseconds components.
10750 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10752 * info.el (Info-apropos-matches): Make non-interactive, since it
10753 doesn't seem to do anything useful as a command (bug#8829).
10755 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10757 * frame.el (frame-background-mode, frame-set-background-mode):
10758 Move from faces.el.
10759 (frame-default-terminal-background): New function.
10761 * custom.el (custom-push-theme): Don't record faces in `changed'
10762 theme; this doesn't work correctly for per-frame face settings.
10763 (disable-theme): Use face-set-after-frame-default to reset faces.
10764 (custom--frame-color-default): New function.
10766 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10768 * dired.el (dired-flagging-regexp): Remove unused variable
10771 2011-03-29 Kevin Ryde <user42@zip.com.au>
10773 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10774 `perl-Test2' extend to match possible "fail #N" rep count
10777 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10779 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10780 `smtpmail-via-smtp' now returns the error instead of nil.
10782 * isearch.el (isearch-search-fun-function): Clarify the doc string
10785 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10787 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10788 unnecessary spaces (bug#8987).
10790 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10792 * net/network-stream.el (open-network-stream): Use the
10793 :end-of-capability command thoughout.
10795 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10797 * net/network-stream.el (open-network-stream): Add the
10798 :end-of-capability command parameter, used by pop3.el.
10800 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10802 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10804 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10805 for list)" (bug#6475).
10807 * files.el (file-expand-wildcards): Ignore non-readable
10808 sub-directories while trying to find matches instead of signaling
10809 an error (bug#6297).
10811 * man.el (Man-reference-regexp): Allow matching possible
10812 word-wrapped references (bug#6289).
10814 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10815 for consistency with the other vc buffers (bug#6197).
10816 (vc-checkin): Ditto.
10818 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10820 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10822 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10824 * custom.el (defcustom): Clarify that :set is only used in the
10825 Customize user interface (bug#6089).
10827 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10828 associated with a file, refuse to run instead of erroring out
10831 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10832 the doc string, since it appears that using `fill-column' always
10833 controls the width (bug#7845).
10835 * simple.el (shell-command-on-region): Say where the error output
10836 went if `shell-command-default-error-buffer' is set (bug#6857).
10838 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10840 * allout.el (allout-yank-processing): Adjust cursor position for
10841 backwards-deleted space.
10843 (allout-rebullet-heading): Register changes with
10844 allout-exposure-changed-hook, so the modified topic is properly
10847 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10849 * minibuffer.el (completion-in-region): Document PREDICATE
10852 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10853 of keyword/argument pairs (bug#6904).
10855 * replace.el (multi-occur):
10856 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10858 2011-07-02 Drew Adams <drew.adams@oracle.com>
10860 * dired.el (dired-mark-if): Make the message about whether it's
10861 marking or unmarking clearer (bug#8523).
10863 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10865 * disp-table.el (display-table-print-array): New function.
10866 (describe-display-table): Use it to print the vectors more pretty
10869 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10871 * window.el (window-state-get-1): Don't assign clone numbers.
10872 Add clone-of item to list of window parameters.
10873 (window-state-put-2): Don't process clone numbers.
10874 (display-buffer-alist): Fix doc-string.
10876 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10878 * subr.el (remq): Don't allocate if it's not needed.
10879 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10880 (keymap--merge-bindings): New functions.
10881 (keymap-canonicalize): Use them to refine the canonicalization.
10882 * minibuffer.el (minibuffer-local-completion-map)
10883 (minibuffer-local-must-match-map): Move initialization from C.
10884 (minibuffer-local-filename-completion-map): Move initialization from C;
10885 don't inherit from anything here.
10886 (minibuffer-local-filename-must-match-map): Make obsolete.
10887 (completing-read-default): Use make-composed-keymap to combine
10888 minibuffer-local-filename-completion-map with either
10889 minibuffer-local-must-match-map or
10890 minibuffer-local-filename-completion-map.
10892 2011-07-01 Glenn Morris <rgm@gnu.org>
10894 * type-break.el (type-break-time-sum): Use dolist.
10896 * textmodes/flyspell.el (flyspell-word-search-backward):
10897 Replace CL function.
10899 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10901 * mouse.el (mouse--strip-first-event): New function.
10902 (function-key-map): Use it to map fringe clicks to normal clicks
10905 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10906 (vc-bzr-revision-completion-table): Add support for annotate and date.
10908 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10909 inherit from parent.
10911 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10913 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10914 (dired-show-file-type): Doc fixup (bug#8818).
10916 * dired.el (dired-mode): Fix up the doc string as suggested by
10917 Drew Adams (bug#8817).
10919 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10920 cookie, since the manual says that it should be possible to add
10921 this function to `find-file-hook' (bug#8709).
10923 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10925 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10926 here. Noted Ted Zlatanov as the maintainer.
10927 (cfengine-common-settings, cfengine-common-syntax): New functions
10928 to set up common things between `cfengine-mode' and
10930 (cfengine3-mode): New mode.
10931 (cfengine3-defuns cfengine3-defuns-regex
10932 (cfengine3-class-selector-regex cfengine3-category-regex)
10933 (cfengine3-vartypes cfengine3-font-lock-keywords)
10934 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10935 (cfengine3-indent-line): Add from cfengine3.el.
10937 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10939 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10941 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10943 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10945 * window.el (same-window-buffer-names, same-window-regexps)
10946 (same-window-p, special-display-frame-alist)
10947 (special-display-popup-frame, special-display-function)
10948 (special-display-buffer-names, special-display-regexps)
10949 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10950 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10951 (split-window-preferred-function, split-height-threshold)
10952 (split-width-threshold, even-window-heights)
10953 (display-buffer-mark-dedicated, window-splittable-p)
10954 (split-window-sensibly, window-safely-shrinkable-p):
10956 (display-buffer): Don't spread args with function specifier
10957 because special-display-popup-frame won't like it.
10959 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10961 Time-stamp simplifications and fixes.
10962 These improve accuracy slightly, and future-proof the code
10963 against some potential changes to current-time format.
10965 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10966 by using time-since and float-time.
10968 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10969 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10970 + NNN microseconds".
10972 * type-break.el (type-break-time-sum): Rewrite using time-add.
10974 * play/hanoi.el (hanoi-current-time-float): Remove.
10975 All uses replaced by float-time.
10977 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10978 This yields a more-accurate answer.
10979 (rng-time-to-float): Remove; no longer needed.
10981 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10983 * calendar/timeclock.el (timeclock-seconds-to-time):
10984 Defalias to seconds-to-time, since they're the same thing.
10986 * emacs-lisp/elp.el (elp-elapsed-time):
10987 * emacs-lisp/benchmark.el (benchmark-elapse):
10988 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10990 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10992 * window.el (bury-buffer): Don't iconify the only frame.
10993 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10994 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10996 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10998 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10999 Add mouse-yank-primary.
11001 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11003 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11005 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11007 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11008 (find-library-name): Use it to find relative load names when provided
11009 absolute file name (bug#8803).
11011 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11013 * textmodes/flyspell.el (flyspell-word): Consider words that
11014 differ only in case as potential doublons (bug#5687).
11016 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11017 Remove two rather uninteresting debugging-like messages to make
11018 debbugs.el more silent.
11020 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11021 a password-like phrase.
11023 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11025 * progmodes/cc-guess.el: New file.
11027 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11029 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11030 derived from `c-basic-common-init'.
11032 * progmodes/cc-mode.el (top-level): Require cc-guess.
11033 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11035 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11037 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11039 2011-06-30 Alan Mackenzie <acm@muc.de>
11041 * progmodes/cc-engine.el (c-guess-continued-construct):
11042 Correct the handling of template-args-cont, particularly for when font
11043 lock is disabled. Name this case as "CASE G".
11045 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11047 * allout.el (allout-yank-processing): Fix injection of extra space
11048 between bullet and non-whitespace character in first topic when
11049 pasting, ensuring that the actual spacing in the pasted topic
11050 following the bullet char is preserved. This extra space was
11051 causing pasted encrypted topics to get a decrypted status even
11052 when the content was actually still encrypted. Now the decryption
11053 status from before the paste is preserved.
11055 (allout-flag-region): Set all allout overlays so they evaporate
11056 when reduced to zero length (evanescent), to prevent overlay
11059 2011-06-30 Glenn Morris <rgm@gnu.org>
11061 * w32-fns.el (w32-charset-info-alist): Declare.
11063 * find-dired.el (find-grep-options): Simplify.
11065 * term/ns-win.el (ns-set-resource): Declare.
11067 * ses.el (row, col): Declare dynamic variables honestly.
11069 * textmodes/reftex-parse.el (index-tags): Declare.
11071 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11073 * cus-edit.el (customize-push-and-save): New function.
11075 * files.el (hack-local-variables-confirm): Use it.
11077 * custom.el (load-theme): New arg NO-CONFIRM.
11078 Use customize-push-and-save (Bug#8720).
11079 (custom-enabled-themes): Doc fix.
11081 * cus-theme.el (customize-create-theme)
11082 (custom-theme-merge-theme): Callers to load-theme changed.
11084 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11086 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11087 short URLs have at least one dot in them (bug #7614).
11089 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11090 nil, because using a pty is apparently too slow (bug #895).
11092 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11094 * mail/sendmail.el (sendmail-query-once): New function.
11095 (sendmail-query-once-function): New variable.
11097 2011-06-29 Glenn Morris <rgm@gnu.org>
11099 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11101 * ses.el (top-level): Require cl when compiling.
11102 (ses-set-localvars): Fix error statement.
11103 Call it at compile time to silence a storm of warnings.
11105 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11107 * window.el (normalize-live-buffer): Rename to
11108 window-normalize-buffer.
11109 (normalize-live-frame): Rename to window-normalize-frame.
11110 (normalize-any-window): Rename to window-normalize-any-window.
11111 (normalize-live-window): Rename to window-normalize-live-window.
11112 (make-window-atom): Rename to window-make-atom.
11113 (window-resize-reset): Rename to window--resize-reset.
11114 (window-resize-reset-1): Rename to window--resize-reset-1.
11115 (resize-mini-window): Rename to window--resize-mini-window.
11116 (resize-subwindows-skip-p): Rename to
11117 window--resize-subwindows-skip-p.
11118 (resize-subwindows-normal): Rename to
11119 window--resize-subwindows-normal.
11120 (resize-subwindows): Rename to window--resize-subwindows.
11121 (resize-other-windows): Rename to window--resize-siblings.
11122 (resize-this-window): Rename to window--resize-this-window.
11123 (resize-root-window): Rename to window--resize-root-window.
11124 (resize-root-window-vertically): Rename to
11125 window--resize-root-window-vertically.
11126 (normalize-buffer-to-display): Rename to
11127 window-normalize-buffer-to-display.
11128 (normalize-buffer-to-switch-to): Rename to
11129 window-normalize-buffer-to-switch-to.
11130 Correspondingly update all callers of the functions listed
11132 (display-buffer-alist, display-buffer-normalize-arguments)
11133 (display-buffer-normalize-options, display-buffer)
11134 (display-buffer-alist-set): Use "function" instead of
11137 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11139 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11140 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11141 debbugs.gnu.org. Mention acknowledgment email.
11143 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11145 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11146 buffer multibyteness, since it shouldn't matter.
11148 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11150 * window.el (display-buffer-in-side-window): Handle dedicated
11151 windows as in display-buffer-reuse-window.
11152 (display-buffer-normalize-alist): Use value of override
11154 (display-buffer-normalize-specifiers): Use value of
11155 other-window-means-other-frame specifier.
11156 (display-buffer-alist): Rewrite some texts in widgets.
11157 (display-buffer): Spread arguments when calling function
11158 specified by fun-with-args.
11160 2011-06-28 Deniz Dogan <deniz@dogan.se>
11162 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11165 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11166 selectors (Bug#5732).
11167 (css-proprietary-nmstart-re): Use `regexp-opt'.
11169 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11171 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11172 (eshell-ls-date-format): New defcustom.
11173 (eshell-ls-file): Use it.
11175 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11177 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11179 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11181 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11182 (ange-ftp-make-tmp-name): New arg.
11183 (ange-ftp-file-local-copy): Use it.
11185 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11187 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11188 no-conversion (Bug#8870).
11190 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11192 * window.el (window-right, window-left, window-child)
11193 (window-child-count, window-last-child)
11194 (window-iso-combination-p, walk-window-tree-1)
11195 (window-atom-check-1, window-tree-1, delete-window)
11196 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11197 new naming conventions - window-vchild, window-hchild,
11198 window-next and window-prev are now called window-top-child,
11199 window-left-child, window-next-sibling and window-prev-sibling
11201 (resize-window-reset): Rename to window-resize-reset.
11202 (resize-window-reset-1): Rename to window-resize-reset-1.
11203 (resize-window): Rename to window-resize.
11204 (window-min-height, window-min-width)
11205 (resize-mini-window, resize-this-window, resize-root-window)
11206 (resize-root-window-vertically, adjust-window-trailing-edge)
11207 (enlarge-window, shrink-window, maximize-window)
11208 (minimize-window, delete-window, quit-restore-window)
11209 (split-window, balance-windows, balance-windows-area-adjust)
11210 (balance-windows-area, window-state-put-2)
11211 (display-buffer-even-window-sizes, display-buffer-set-height)
11212 (display-buffer-set-width, set-window-text-height)
11213 (fit-window-to-buffer): Rename all "resize-window" prefixed
11214 calls to use the "window-resize" prefix convention.
11215 (display-buffer-alist): Fix symbol for label specifier.
11216 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11217 corresponding specifier.
11218 Reported by Juanma Barranquero <lekktu@gmail.com>.
11220 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11222 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11224 (ses-call-printer): Does not pass an empty string to formatter when the
11225 cell is empty to keep from barking printer Calc math-format-value.
11227 2011-06-27 Richard Stallman <rms@gnu.org>
11229 * battery.el (battery-mode-line-limit): New variable.
11230 (battery-update): Handle it.
11232 * mail/rmailmm.el (rmail-mime-process-multipart):
11233 Handle truncated messages.
11235 2011-06-27 Glenn Morris <rgm@gnu.org>
11237 * progmodes/flymake.el (flymake-err-line-patterns):
11238 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11240 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11242 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11243 (ses--clean-!, ses--clean-_): New functions.
11244 (ses-range): Add configurability of readout order, and conversion
11247 * ses.el (ses-repair-cell-reference-all): New function.
11248 (ses-cell-symbol): Set macro as safe, so that it can be used in
11251 * ses.el: Update cycle detection algorithm.
11252 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11253 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11254 (ses-set-localvars): New function.
11255 (ses-make-cell): Add property-list as a cell element.
11256 (ses-cell-property-get-fun, ses-cell-property-get)
11257 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11258 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11260 (ses-cell-property-set, ses-cell-property-pop)
11261 (ses-cell-property-get-handle): New macro.
11262 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11263 New aliases, used for code readability.
11264 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11266 (ses-self-reference-early-detection): New defcustom.
11267 (ses-formula-references): Robustify against self-referring cells.
11268 (ses-mode): Use ses-set-localvars.
11269 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11270 before lauching the update processing.
11271 (ses-initialize-Dijkstra-attempt): New function.
11272 (ses-recalculate-cell): Update for cycle detection based on
11273 Dijkstra algorithm.
11275 * ses.el: Fix commenting and indenting convention.
11277 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11279 * bs.el (bs-cycle-next): Complete last change.
11281 2011-06-27 Drew Adams <drew.adams@oracle.com>
11283 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11285 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11287 * net/network-stream.el (network-stream-open-starttls):
11288 Don't re-get capabilities unless we've reestablished connection.
11289 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11291 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11292 to binary to possibly avoid line encoding issues on Windows (among
11295 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11297 * net/network-stream.el (open-network-stream): Return an :error
11298 saying what the problem was, if possible.
11300 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11303 * net/network-stream.el (network-stream-open-starttls): If we
11304 wanted to use STARTTLS, and the server offered it, but we weren't
11305 able to because we had no STARTTLS support, then close the connection.
11306 (open-network-stream): Return an :error element, if present.
11308 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11310 * hl-line.el (hl-line-sticky-flag): Doc fix.
11311 (global-hl-line-sticky-flag): New option (Bug#8323).
11312 (global-hl-line-highlight): Obey it.
11314 * vc/vc.el (vc-revert-show-diff): Default to t.
11316 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11318 * allout-widgets.el (allout-widgets-post-command-business):
11319 Stop decorating intermediate isearch matches. They're not being
11320 undecorated when an isearch is continued past, and isearch
11321 automatically collapses them. This leads to "widget leaks", where
11322 decorated items accumulate in collapsed areas. Lines with lots of
11323 hidden widgets can slow down cursor travel, substantially.
11324 Too much complicated machinery would be needed to ensure undecoration,
11325 so we're doing without this nicety.
11327 (allout-widgets-tally-string): Don't try to do a hash-table-count
11328 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11329 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11330 *Messages* when allout-widgets-maintain-tally is t.
11332 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11334 * window.el (display-buffer-normalize-argument): Rename to
11335 display-buffer-normalize-arguments. Handle special meaning of
11336 LABEL argument. Respect special-display-function when popping up
11337 a new frame. Fix code searching for a window showing the buffer
11339 (display-buffer-normalize-specifiers):
11340 Call display-buffer-normalize-arguments.
11341 (display-buffer-in-window): Don't undedicate the window if its
11342 buffer remains the same.
11343 Reported by Drew Adams <drew.adams@oracle.com>.
11344 (display-buffer-alist): Add choice for same-window macro
11346 (display-buffer): Mention special meaning of LABEL argument in
11347 doc-string. Fix quoting. Don't pop up a new frame even as
11350 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11352 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11353 avoid deleting the current window in some cases (bug#8911).
11355 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11357 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11360 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11362 * net/network-stream.el (network-stream-open-starttls):
11363 Use built-in TLS support if `gnutls-available-p' is true.
11364 (network-stream-open-tls): Ditto.
11366 2011-06-26 Leo Liu <sdl.web@gmail.com>
11368 * register.el (registerv): New struct.
11369 (registerv-make): New function.
11370 (jump-to-register, describe-register-1, insert-register):
11371 Support the jump-func, print-func and insert-func slot of a registerv
11374 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11376 * vc/vc.el (vc-revert-show-diff): New defcustom.
11377 (vc-diff-internal): New arg specifying diff buffer.
11378 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11379 reuse an existing *vc-diff* buffer (Bug#8927).
11381 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11383 2011-06-26 Glenn Morris <rgm@gnu.org>
11385 * progmodes/f90.el (f90-critical-indent): New option.
11386 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11387 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11388 (f90-mode): Doc fix.
11389 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11390 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11391 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11392 (f90-match-end): Handle block, critical.
11394 2011-06-25 Glenn Morris <rgm@gnu.org>
11396 * calendar/diary-lib.el (diary-included-files): Doc fix.
11397 (diary-include-files): New function, extracted from
11398 diary-include-other-diary-files and diary-mark-included-diary-files.
11399 (diary-include-other-diary-files, diary-mark-included-diary-files):
11400 Just call diary-include-files.
11401 (diary-mark-entries): Reset diary-included-files on first call.
11403 * calendar/diary-lib.el (diary-mark-entries)
11404 (diary-mark-included-diary-files):
11405 Visit included diary-files in temp buffers.
11407 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11408 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11409 (f90-start-block-re, f90-imenu-generic-expression)
11410 (f90-looking-at-program-block-start, f90-no-block-limit):
11411 Add support for submodules.
11413 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11414 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11416 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11418 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11419 buffer-file-type before setting its value, to avoid disastrous
11420 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11422 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11424 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11426 * ses.el (ses-unload-function):
11427 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11429 * proced.el (proced-unload-function):
11430 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11432 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11434 * server.el (server-create-window-system-frame): Add parameters arg.
11435 (server-process-filter): Doc fix. Handle frame-parameters.
11437 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11439 Fix bug#8730, bug#8781.
11441 * loadhist.el (unload--set-major-mode): New function.
11442 (unload-feature): Use it.
11444 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11445 (python-unload-function): New function.
11447 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11449 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11451 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11453 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11454 the candidates list.
11456 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11458 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11460 2011-06-23 Richard Stallman <rms@gnu.org>
11462 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11463 (rmail-variables): Set next-error-move-function.
11464 (rmail-what-message): Take argument POS.
11465 (rmail-next-error-move): New function.
11467 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11469 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11470 messages for adjacent non-terminals.
11472 2011-06-23 Richard Stallman <rms@gnu.org>
11474 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11475 (rmail-show-message-1): Preserve buffer modified flag.
11476 (rmail-start-mail): Don't specify use of rmail-mail-return;
11477 that's done by mail-bury now.
11478 (rmail-mail-return): Handle arg NEWBUF.
11480 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11482 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11485 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11487 * window.el (get-lru-window, get-mru-window)
11488 (get-largest-window): Never return a minibuffer window.
11489 (display-buffer-pop-up-window): Fix a bug that could lead to
11490 reusing the minibuffer window.
11491 (display-buffer): Pass original specifier argument to
11492 display-buffer-function instead of the normalized one.
11493 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11495 2011-06-22 Leo Liu <sdl.web@gmail.com>
11497 * minibuffer.el (completing-read-function)
11498 (completing-read-default): Move from minibuf.c
11500 2011-06-22 Richard Stallman <rms@gnu.org>
11502 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11503 to Rmail even if not started by a special Rmail command.
11505 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11506 Copy the buffer currently showing just one message.
11508 2011-06-22 Roland Winkler <winkler@gnu.org>
11510 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11511 (bibtex-clean-entry): First delete the old key so that a
11512 customized algorithm for generating the new key does not get
11513 confused by the old key.
11514 (bibtex-url): Obey regexp of first step.
11515 (bibtex-search-entries): Do not use add-to-list with local
11518 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11520 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11521 stored a user name, then query for the password first, instead of
11522 waiting for SMTP to give an error message and the trying again.
11524 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11526 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11527 BUFFER in call-process.
11529 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11531 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11533 (smtpmail-try-auth-methods): Require user name and password from
11536 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11538 * window.el (display-buffer-default-specifiers)
11539 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11540 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11541 (split-window): Normalize SIDE argument (Bug#8916).
11543 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11544 (special-display-frame-alist, special-display-popup-frame):
11545 Remove duplicate declarations. These are now in window.el.
11547 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11549 * mail/smtpmail.el (smtpmail-via-smtp):
11550 Set :use-starttls-if-possible so that we always use STARTTLS if the
11551 server supports it. SMTP servers that support STARTTLS commonly
11554 * net/network-stream.el (network-stream-open-starttls): Support
11555 upgrading to STARTTLS always, even if we don't have built-in support.
11556 (open-network-stream): Add the :always-query-capabilities keyword.
11558 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11559 upgrades with `open-network-stream', and rely solely on
11560 auth-source for all credentials. Big changes throughout the file,
11562 (smtpmail-auth-credentials): Remove.
11563 (smtpmail-starttls-credentials): Remove.
11564 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11567 * net/network-stream.el (network-stream-open-starttls):
11568 Provide support for client certificates both for external and built-in
11570 (auth-source): Require.
11571 (open-network-stream): Document the :client-certificate keyword.
11572 (network-stream-certificate): Change cert-cert to cert and
11575 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
11577 * net/tramp-cache.el (top): Don't load the persistency file when
11578 "emacs -Q" has been called.
11580 2011-06-21 Tim Harper <timcharper@gmail.com>
11582 * term/ns-win.el (ns-initialize-window-system):
11583 Set application-specific `ApplePressAndHoldEnabled' system
11584 resource to NO as it is not yet supported by the NS port.
11586 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11588 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11589 (list-dynamic-libraries): ...not here.
11591 2011-06-21 Leo Liu <sdl.web@gmail.com>
11593 * subr.el (sha1): Implement sha1 using secure-hash.
11595 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11597 * window.el (display-buffer-alist): In default value do not
11598 enforce searching a window on any but the selected frame.
11599 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11600 (display-buffer-select-window): Remove function.
11601 (display-buffer-in-window): When a window on another frame gets
11602 reused, do not select it any more but just raise its frame if
11603 necessary (Bug#8851) and (Bug#8856).
11604 (display-buffer-normalize-options): Handle pop-up-frames related
11605 options more faithfully.
11606 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11607 window if it is on another frame.
11608 (display-buffer-alist, display-buffer-default-specifiers):
11609 Don't make new frame unsplittable by default.
11610 (display-buffer-normalize-argument): Fix doc-string typo and use
11611 'same-frame-other-window instead of 'other-window when associating
11612 with display-buffer-macro-specifiers.
11614 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11616 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11618 (5x5-mode-map, 5x5-mode-menu): Bind them.
11619 (5x5-draw-grid): Tweak the solver's rendering.
11621 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11623 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11624 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11626 2011-06-21 Drew Adams <drew.adams@oracle.com>
11628 * menu-bar.el: Use function variable instead of switch-to-buffer.
11629 (menu-bar-select-buffer-function): New variable.
11630 (menu-bar-update-buffers): Use it (bug#8876).
11632 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11634 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11637 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11639 * x-dnd.el (x-dnd-version-from-flags)
11640 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11641 and long as number (Bug#8899).
11642 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11644 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11646 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11647 (completion-try-completion, completion-all-completions): Compute the
11648 metadata argument if it's missing; make it optional (bug#8795).
11650 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11651 (widget-complete): Use new :completion-function property.
11652 (widget-completions-at-point): New function.
11653 (default): Use :completion-function instead of :complete.
11654 (widget-default-completions): Rename from widget-default-complete;
11656 (widget-string-complete, widget-file-complete, widget-color-complete):
11658 (file, symbol, function, variable, coding-system, color):
11659 * international/mule-cmds.el (default-input-method, charset)
11660 (language-info-custom-alist):
11661 * cus-edit.el (face): Use new property :completions.
11663 * progmodes/pascal.el (pascal-completions-at-point): New function.
11664 (pascal-mode): Use it.
11665 (pascal-mode-map): Use completion-at-point.
11666 (pascal-toggle-completions): Make obsolete.
11667 (pascal-complete-word, pascal-show-completions):
11668 * progmodes/octave-mod.el (octave-complete-symbol):
11669 Redefine as obsolete alias.
11670 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11671 Signal absence of completion info for old Octave,
11672 (inferior-octave-complete): Redefine as obsolete alias.
11673 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11674 (meta-completions-at-point): Rename from meta-complete-symbol and
11675 adapt it for use on completion-at-point-functions.
11676 (meta-common-mode): Use it.
11677 (meta-looking-at-backward, meta-match-buffer): Remove.
11678 (meta-complete-symbol): Redefine as obsolete alias.
11679 (meta-common-mode-map): Use completion-at-point.
11680 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11681 (makefile-mode-map): Use completion-at-point.
11682 (makefile-completions-at-point): Rename from makefile-complete and
11683 adapt it for use on completion-at-point-functions.
11684 (makefile-mode): Use it.
11685 (makefile-complete): Redefine as obsolete alias.
11687 2011-06-20 Deniz Dogan <deniz@dogan.se>
11689 * net/rcirc.el: Delete trailing whitespaces once and for all.
11691 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11693 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11695 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11697 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11699 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11701 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11703 * window.el (display-buffer-other-window-means-other-frame):
11704 Call display-buffer-normalize-alist.
11705 (display-buffer-normalize-specifiers-1): Rename to
11706 display-buffer-normalize-argument. New argument other-frame.
11708 (display-buffer-normalize-specifiers-2): Rename to
11709 display-buffer-normalize-options.
11710 (display-buffer-normalize-alist-1): New function.
11711 (display-buffer-normalize-specifiers-3): Rename to
11712 display-buffer-normalize-alist.
11713 Call display-buffer-normalize-alist-1.
11714 (display-buffer-normalize-options-inhibit): New variable.
11715 (display-buffer-normalize-specifiers): Rewrite calling
11716 display-buffer-normalize-alist,
11717 display-buffer-normalize-argument, and
11718 display-buffer-normalize-options. Don't call the latter if
11719 display-buffer-normalize-options-inhibit is non-nil.
11720 (frame-auto-delete): New option.
11721 (window-deletable-p): Use frame-auto-delete.
11722 (window-list-no-nils, window-state-ignored-parameters)
11723 (window-state-get-1, window-state-get, window-state-put-list)
11724 (window-state-put-1, window-state-put-2, window-state-put):
11726 (display-buffer-normalize-options): Move special-display-p group
11727 after pop-up-frame group (Bug#8851) and (Bug#8856).
11729 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11731 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11733 (rx-submatch-n): New function.
11736 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11739 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11741 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11743 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11744 anytime existing face settings are present (Bug#8889).
11746 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11747 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11748 Remove unused argument.
11750 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11752 * window.el (display-buffer-default-specifiers):
11753 Remove pop-up-frame. Add pop-up-window-min-height,
11754 pop-up-window-min-width, and another reuse-window specifier
11755 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11756 (display-buffer-normalize-specifiers-2):
11757 Handle split-height-threshold and split-width-threshold also when
11758 pop-up-windows is unset. Add a reuse-window specifier for the
11759 case popping up a new window fails.
11760 (special-display-popup-frame): Remove double quoting.
11761 (display-buffer-normalize-specifiers-1): Fix thinko.
11763 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11765 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11766 according to comint-completion-addsuffix.
11768 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11769 (pcomplete-suffix-list): Mark as obsolete.
11770 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11771 pcomplete-seen in the closure.
11772 (pcomplete-comint-setup): Setup completion-at-point as well.
11773 (pcomplete--entries): New function.
11774 (pcomplete--env-regexp): New var.
11775 (pcomplete-entries): Rewrite to work with partial-completion and
11776 without relying on pcomplete-suffix-list.
11777 (pcomplete-pare-list): Remove, unused.
11779 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11781 * window.el (display-buffer-alist): Set pop-up-window-min-height
11782 and pop-up-window-min-width in default value. Reported by
11783 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11784 other-window-means-other-frame.
11785 (display-buffer-macro-specifiers): Comment out entry for
11786 other-window specifier.
11787 (display-buffer-other-window-means-other-frame): New function.
11788 (display-buffer-normalize-specifiers-1): New arguments
11789 buffer-name and label. Treat other-window case specially.
11790 (display-buffer-normalize-specifiers-2): Treat other-window case
11792 (display-buffer-normalize-specifiers-3): New function.
11793 (display-buffer-normalize-specifiers):
11794 Call display-buffer-normalize-specifiers-3.
11796 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11798 * window.el (same-window-p): Fix two typos introduced when
11799 adding with-no-warnings.
11800 (display-buffer-normalize-specifiers-1): Don't check
11801 pop-up-frames for 'unset initialization.
11802 (display-buffer-normalize-specifiers-2): Major rewrite using
11803 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11804 (pop-up-frames, display-buffer-reuse-frames)
11805 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11806 Suggested by David Engster <deng@randomsample.de>.
11807 (even-window-heights): Initialize to 'unset.
11808 (display-buffer-alist-set): Handle new 'unset initializations.
11809 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11812 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11814 * window.el (display-buffer-normalize-specifiers-1):
11815 Respect current value of pop-up-frames for most reasonable values of
11816 second argument of display-buffer (Bug#8865).
11817 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11818 (switch-to-buffer-other-window-same-frame)
11819 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11821 (display-buffer): Don't check noninteractive when calling
11822 display-buffer-pop-up-frame.
11823 (display-buffer-pop-up-frame): Never pop up a frame in
11824 noninteractive mode (Bug#8857).
11825 (enlarge-window, shrink-window): Don't report an error when the
11826 window can't be resized as requested (Bug#8862).
11828 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11830 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11832 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11834 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11836 2011-06-15 Alan Mackenzie <acm@muc.de>
11838 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11839 for declarators, disable knr checking to speed up for normal files.
11840 2: Refactor, replacing a sequence of nested if forms by a cond form.
11842 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11844 * net/network-stream.el (open-network-stream): Add the keyword
11845 :always-query-capabilities for the case where you want to force a
11846 `plain' network connection, but the protocol still requires the
11847 capabilitiy command (i.e., SMTP and EHLO).
11849 * subr.el (process-live-p): Rename from `process-alive-p' for
11850 consistency with other `-live-p' functions.
11852 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11854 * window.el (same-window-buffer-names, same-window-regexps)
11855 (special-display-frame-alist, special-display-popup-frame)
11856 (special-display-function, special-display-buffer-names)
11857 (special-display-regexps, pop-up-frame-alist)
11858 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11859 (pop-up-windows, split-window-preferred-function)
11860 (split-height-threshold, split-width-threshold, even-window-heights)
11861 (display-buffer-mark-dedicated): Don't encourage the use of
11862 display-buffer-alist from Elisp code.
11864 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11866 * progmodes/python.el (python-mode): Derive from prog-mode.
11867 * progmodes/ps-mode.el (ps-mode):
11868 * progmodes/mixal-mode.el (mixal-mode):
11869 * progmodes/cfengine.el (cfengine-mode):
11870 * progmodes/ld-script.el (ld-script-mode): Likewise.
11872 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11874 * window.el (display-buffer-alist): Trim default value to avoid
11875 popping up a new frame (Bug#8857) or reusing an arbitrary window
11877 (display-buffer): Do not fall back on popping up a new frame in
11878 batch mode (Bug#8857).
11880 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11882 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11883 (custom-theme-summary): New function.
11884 (customize-themes): Use it.
11886 2011-06-13 Glenn Morris <rgm@gnu.org>
11888 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11890 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11892 * help.el (help-window): Remove variable.
11893 (help-window-point-marker, temp-buffer-max-height)
11894 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11895 (help-print-return-message): Don't set help-window.
11896 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11897 (help-window-setup-finish): Remove.
11898 (help-window-display-message, help-window-setup)
11899 (with-help-window): Major rewrite based on new
11900 display-buffer-window variable.
11902 * help-mode.el (help-mode-finish): Remove help-window related
11905 * view.el (view-exits-all-viewing-windows): Remove reference to
11906 view-return-to-alist in doc-string.
11907 (view-return-to-alist): Make obsolete.
11908 (view-buffer): Call pop-to-buffer-same-window and remove
11910 (view-buffer-other-window): Call pop-to-buffer-other-window and
11911 simplify code. Ignore second argument.
11912 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11913 simplify code. Ignore second argument.
11914 (view-return-to-alist-update): Make obsolete.
11915 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11916 Rewrite using quit-restore window parameters.
11917 (view-mode-exit): Rename second argument to EXIT-ONLY.
11918 Rewrite using quit-restore-window.
11919 (View-exit, View-exit-and-edit, View-leave, View-quit)
11920 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11921 appropriate arguments.
11922 (view-end-message): Use quit-restore window parameter.
11924 * window.el (display-buffer-function): Rewrite doc-string.
11925 (display-buffer-window, display-buffer-alist): New variables.
11926 (display-buffer-split-specifiers)
11927 (display-buffer-side-specifiers)
11928 (display-buffer-macro-specifiers): New constants.
11929 (display-buffer-even-window-sizes, display-buffer-set-height)
11930 (display-buffer-set-width, display-buffer-select-window)
11931 (display-buffer-in-window, display-buffer-reuse-window)
11932 (display-buffer-split-window-1, display-buffer-split-window)
11933 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11934 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11935 (display-buffer-in-side-window, normalize-buffer-to-display)
11936 (display-buffer-normalize-specifiers-1)
11937 (display-buffer-normalize-specifiers-2)
11938 (display-buffer-normalize-specifiers, display-buffer-frame):
11940 (display-buffer): Major rewrite.
11941 (display-buffer-other-window, display-buffer-other-frame)
11942 (pop-to-buffer, switch-to-buffer-other-window)
11943 (switch-to-buffer-other-frame): Rewrite.
11944 (display-buffer-same-window, display-buffer-same-frame)
11945 (display-buffer-same-frame-other-window)
11946 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11947 (pop-to-buffer-other-window)
11948 (pop-to-buffer-same-frame-other-window)
11949 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11950 (switch-to-buffer-other-window-same-frame): New functions.
11951 (same-window-p, special-display-p): Rewrite disabling warnings.
11953 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11954 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11956 (same-window-buffer-names, same-window-regexps)
11957 (special-display-frame-alist, special-display-popup-frame)
11958 (special-display-function, special-display-buffer-names)
11959 (special-display-regexps, pop-up-frame-alist)
11960 (pop-up-frame-function, split-window-preferred-function)
11961 (split-height-threshold, split-width-threshold)
11962 (even-window-heights): Make obsolete.
11964 2011-06-12 Glenn Morris <rgm@gnu.org>
11966 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11967 Misc simplifications.
11969 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11971 * window.el (window-safely-shrinkable-p): Restore function which
11972 was inadvertently removed in change from 2011-06-11. Declare as
11975 * calendar/calendar.el (calendar-generate-window):
11976 Use window-iso-combined-p instead of combination of one-window-p and
11977 window-safely-shrinkable-p.
11979 2011-06-12 Glenn Morris <rgm@gnu.org>
11981 * progmodes/fortran.el (fortran-mode-syntax-table):
11982 * progmodes/f90.el (f90-mode-syntax-table):
11983 Set % to punctuation. (Bug#8820)
11984 (f90-find-tag-default): Remove, no longer needed.
11986 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11988 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11990 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11992 * image.el (image-animated-p): Return animation delay in seconds.
11993 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11994 (image-animate-timeout): Remove DELAY argument. Don't assume
11995 every subimage has the same delay; get it from image-animated-p.
11996 (image-animate): Caller changed.
11998 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12000 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12001 to ignored backtrace functions.
12003 2011-06-11 Glenn Morris <rgm@gnu.org>
12005 * calendar/appt.el (appt-disp-window-function): Doc fix.
12006 (appt-check): Handle overlapping appointments. (Bug#8337)
12008 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12010 * window.el (window-tree-1, window-tree): New functions, moving
12011 the latter to window.el.
12012 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12013 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12014 (bw-refresh-edges): Remove.
12015 (balance-windows-1, balance-windows-2): New functions.
12016 (balance-windows): Rewrite in terms of window tree functions,
12017 balance-windows-1 and balance-windows-2.
12018 (bw-adjust-window): Remove.
12019 (balance-windows-area-adjust): New function with functionality of
12020 bw-adjust-window but using resize-window.
12021 (set-window-text-height): Rewrite doc-string.
12022 Use normalize-live-window and resize-window.
12023 (enlarge-window-horizontally, shrink-window-horizontally):
12024 Rename argument to DELTA.
12025 (window-buffer-height): New function.
12026 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12027 Rewrite using new window resize routines.
12028 (kill-buffer-and-window, mouse-autoselect-window-select):
12029 Use ignore-errors instead of condition-case.
12030 (quit-window): Call delete-frame instead of delete-windows-on
12031 for the only buffer on frame.
12033 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12035 * loadup.el (top-level): Load window before files for the sake
12036 of replace-buffer-in-windows.
12038 * files.el (read-buffer-to-switch)
12039 (switch-to-buffer-other-window)
12040 (switch-to-buffer-other-frame, display-buffer-other-frame):
12043 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12044 (previous-buffer): Move to window.el.
12046 * bindings.el (unbury-buffer): Move to window.el.
12048 * window.el (delete-other-windows-vertically): Move after
12049 definition of delete-other-windows.
12050 (other-window, delete-windows-on, replace-buffer-in-windows):
12051 Move here from window.c.
12052 (record-window-buffer, unrecord-window-buffer)
12053 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12054 (switch-to-next-buffer): New functions.
12055 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12056 from simple.el. Call switch-to-next-buffer.
12057 (previous-buffer): Move here from simple.el.
12058 Call switch-to-prev-buffer.
12059 (bury-buffer): Move here from buffer.c. Switch to previous
12060 buffer when window cannot be deleted.
12061 (unbury-buffer): Move here from bindings.el.
12062 (ctl-x-map): Move binding for other-window from window.c to
12064 (read-buffer-to-switch, switch-to-buffer-other-window)
12065 (switch-to-buffer-other-frame): Move here from files.el.
12066 (normalize-buffer-to-switch-to): New functions.
12067 (switch-to-buffer): Move here from buffer.c.
12068 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12070 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12072 * window.el (window-min-height, window-min-width): Move here
12073 from window.c. Add defcustoms and rewrite doc-strings.
12074 (resize-mini-window, resize-window): New functions.
12075 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12076 Move here from window.c.
12077 (maximize-window, minimize-window): New functions.
12078 (delete-window, delete-other-windows, split-window): Move here
12080 (window-split-min-size): New function.
12081 (split-window-keep-point): Mention split-window-above-each-other
12082 instead of split-window-vertically.
12083 (split-window-above-each-other, split-window-vertically):
12084 Rename split-window-vertically to split-window-above-each-other
12085 and provide defalias for old definition.
12086 (split-window-side-by-side, split-window-horizontally):
12087 Rename split-window-horizontally to split-window-side-by-side
12088 and provide defalias for the old definition.
12089 (ctl-x-map): Move bindings for delete-window,
12090 delete-other-windows and enlarge-window here from window.c.
12091 Replace bindings for split-window-vertically and
12092 split-window-horizontally by bindings for
12093 split-window-above-each-other and split-window-side-by-side.
12095 * cus-start.el (all): Remove entries for window-min-height and
12096 window-min-width. Add entries for window-splits and
12099 2011-06-09 Glenn Morris <rgm@gnu.org>
12101 * calendar/appt.el (appt-mode-line): New function.
12102 (appt-check, appt-disp-window): Use it.
12104 * files.el (hack-one-local-variable-eval-safep):
12105 Allow minor-modes with explicit +/-1 arguments.
12107 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12109 * term/xterm.el (xterm): Add defgroup.
12110 (xterm-extra-capabilities): Add defcustom to supply known xterm
12111 capabilities, skip querying them, or query them (default).
12112 (terminal-init-xterm): Use it.
12113 (terminal-init-xterm-modify-other-keys): New function to set up
12114 modifyOtherKeys support to simplify `terminal-init-xterm'.
12116 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12118 * window.el (resize-window-reset, resize-window-reset-1)
12119 (resize-subwindows-skip-p, resize-subwindows-normal)
12120 (resize-subwindows, resize-other-windows, resize-this-window)
12121 (resize-root-window, resize-root-window-vertically)
12122 (window-deletable-p, window-or-subwindow-p)
12123 (frame-root-window-p): New functions.
12125 2011-06-09 Glenn Morris <rgm@gnu.org>
12127 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12128 (ange-ftp-get-files): Use it.
12130 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12132 * mail/sendmail.el (mail-recover-1, mail-recover):
12133 * files.el (recover-file, recover-session):
12134 Handle dired-listing-switches not being just a single short option.
12136 2011-06-09 Glenn Morris <rgm@gnu.org>
12138 * calendar/appt.el (appt-display-message, appt-disp-window):
12139 Handle lists of appointments.
12141 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12143 * window.el (one-window-p): Move down in code.
12144 Rewrite doc-string.
12145 (window-current-scroll-bars): Rewrite doc-string.
12146 Normalize live window argument.
12147 (walk-windows, get-window-with-predicate, count-windows):
12148 Rewrite doc-string. Use window-list-1.
12149 (window-in-direction-2, window-in-direction, get-mru-window):
12152 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12154 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12155 Doc fix (Bug#8713).
12157 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12159 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12161 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12163 * loadhist.el (unload-feature-special-hooks):
12164 Add `comint-output-filter-functions'.
12166 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12168 * calendar/appt.el (appt-check): Move some initializations into the let.
12170 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12172 * window.el (window-height): Defalias to window-total-height.
12173 (window-width): Defalias to window-body-width.
12175 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12177 * image-mode.el (image-toggle-animation): New command.
12178 (image-mode-map): Bind it to RET.
12179 (image-mode): Update message.
12180 (image-toggle-display-image): Avoid a spurious cache flush.
12181 (image-transform-rotation): Doc fix.
12182 (image-transform-properties): Return quickly in the normal case.
12183 (image-animate-loop): Rename from image-animate-max-time.
12185 * image.el (image-animate-max-time): Move to image-mode.el.
12186 (create-animated-image): Remove unnecessary function.
12187 (image-animate): Rename from image-animate-start. New arg.
12188 (image-animate-stop): Remove; just use image-animate-timer.
12189 (image-animate-timer): Use car-safe.
12190 (image-animate-timeout): Rename argument.
12192 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12194 * window.el (get-lru-window, get-largest-window): Move here from
12195 window.c. Rename first argument to ALL-FRAMES.
12196 Rephrase doc-strings.
12197 (get-buffer-window-list): Rewrite using window-list-1.
12198 Rephrase doc-string.
12199 (window-safe-min-height, window-safe-min-width): New constants.
12200 (window-size-ignore, window-min-size, window-min-size-1)
12201 (window-sizable, window-sizable-p, window-size-fixed-1)
12202 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12203 (window-max-delta-1, window-max-delta, window-resizable)
12204 (window-resizable-p, window-total-height, window-total-width)
12205 (window-body-width): New functions.
12206 (window-full-height-p, window-full-width-p): Rewrite using
12208 (window-body-height): Rewrite using window-body-size.
12210 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12212 * window.el (window-right, window-left, window-child)
12213 (window-child-count, window-last-child, window-any-p)
12214 (normalize-live-buffer, normalize-live-frame)
12215 (normalize-any-window, normalize-live-window)
12216 (window-iso-combination-p, window-iso-combined-p)
12217 (window-iso-combinations)
12218 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12219 (windows-with-parameter, window-with-parameter)
12220 (window-atom-root, make-window-atom, window-atom-check-1)
12221 (window-atom-check, window-side-check, window-check):
12223 (ignore-window-parameters, window-sides, window-sides-vertical)
12224 (window-sides-slots): New variables.
12225 (window-size-fixed): Move down in code. Minor doc-string fix.
12227 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12229 * comint.el (comint-dynamic-complete-as-filename)
12230 (comint-dynamic-complete-filename): Correctly call
12231 completion-in-region.
12233 2011-06-05 Deniz Dogan <deniz@dogan.se>
12235 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12238 2011-06-05 Deniz Dogan <deniz@dogan.se>
12240 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12241 (rcirc): Use it to prompt for encryption.
12243 2011-06-05 Roland Winkler <winkler@gnu.org>
12245 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12246 (bibtex-search-entries): New command bound to C-c C-a.
12247 (bibtex-display-entries): New function.
12249 2011-06-05 Roland Winkler <winkler@gnu.org>
12251 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12252 (bibtex-insert-kill): After yanking insert newline if necessary.
12253 (bibtex-initialize): Call bibtex-string-files-init only once.
12254 (bibtex-mode): Do not call easy-menu-add.
12255 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12256 (bibtex-yank): Set arg properly if nil.
12258 2011-06-05 Roland Winkler <winkler@gnu.org>
12260 * textmodes/bibtex.el (bibtex-search-entry-globally):
12262 (bibtex-search-entry): Use it.
12264 2011-06-05 Roland Winkler <winkler@gnu.org>
12266 * textmodes/bibtex.el (bibtex-entry-format): New option
12268 (bibtex-format-entry, bibtex-reformat): Honor this option.
12269 (bibtex-parse-entry): Return fields in proper order.
12271 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12273 * doc-view.el (doc-view-remove-if): Move computation of result out
12274 of `dolist' to silence misleading lexical-binding warning.
12276 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12278 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12279 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12281 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12283 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12286 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12288 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12289 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12290 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12291 (tramp-parse-putty):
12292 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12293 (tramp-completion-function-alist-ssh)
12294 (tramp-completion-function-alist-telnet)
12295 (tramp-completion-function-alist-su)
12296 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12299 * net/tramp-ftp.el:
12301 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12302 load "tramp.el" `tramp-set-completion-function'.
12304 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12306 * shell.el: Require and use pcomplete.
12307 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12308 (shell-completion-vars): Set pcomplete-default-completion-function.
12310 2011-06-04 Deniz Dogan <deniz@dogan.se>
12312 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12315 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12317 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12319 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12321 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12322 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12323 * vc/log-view.el (log-view-beginning-of-defun):
12324 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12325 (smerge-refine-forward, smerge-refine-chopup-region):
12326 Silence warning for unused `dotimes' counter variables.
12328 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12330 * net/tramp.el (tramp-with-progress-reporter): Rename from
12331 with-progress-reporter. Use `declare'.
12332 * net/tramp-smb.el:
12334 * net/tramp-gvfs.el: Update all uses.
12336 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12338 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12339 buffer isn't killed before making it current.
12341 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12343 Silence various byte-compiler warnings.
12344 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12345 `access-type' and new obsolescence format.
12346 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12348 (byte-compile-check-variable): New `access-type' argument.
12349 Only warn if the access-type is obsolete.
12350 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12351 (byte-compile-variable-set): Adjust callers.
12352 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12353 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12354 setting it as obsolete.
12355 * simple.el (minibuffer-completing-symbol):
12356 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12357 access as obsolete.
12358 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12360 * international/quail.el (quail-mouse-choose-completion): Remove unused
12361 code referring to obsolete var.
12362 (quail-choose-completion-string): Remove.
12363 * server.el (server-clients-with, server-kill-buffer-query-function)
12364 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12365 * proced.el (proced-send-signal):
12366 * emacs-lisp/lisp.el (lisp-complete-symbol):
12367 Replace completion-annotate-function with completion-extra-properties.
12369 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12371 * simple.el (goto-line): Use read-number.
12372 (overriding-map-is-bound): Remove.
12373 (saved-overriding-map): Change default.
12374 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12375 Take the map as argument.
12376 (universal-argument, negative-argument, digit-argument): Use it.
12377 (restore-overriding-map): Adjust.
12378 (do-auto-fill): Use fill-forward-paragraph.
12379 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12381 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12382 (minibuffer-inactive-mode): New major mode.
12383 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12384 the *Messages* buffer" hack.
12385 (mouse-popup-menubar): Don't burp if the event is a normal key.
12387 Miscellaneous tweaks.
12388 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12389 lexical scoping as in subr.el's dolist and dotimes.
12390 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12391 Silence compiler warning.
12392 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12393 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12394 * international/ccl.el (ccl-compile): Trivial simplification.
12395 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12396 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12397 `printflag' argument.
12398 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12399 Purecopy the whole obsolescence data.
12401 2011-06-01 Leo Liu <sdl.web@gmail.com>
12403 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12404 improve doc-string as suggested by Marco Pessotto
12405 <melmothx@gmail.com>.
12406 (rcirc-print): Fix last change.
12408 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12410 * minibuffer.el (complete-with-action): Return nil for the metadata and
12411 boundaries of non-functional tables.
12412 (completion-table-dynamic): Return nil for the metadata.
12413 (completion-table-with-terminator): Add default case, using
12414 complete-with-action.
12415 (completion--metadata): New function.
12416 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12417 to try and avoid pathological performance problems.
12418 (completion--embedded-envvar-table): Return `category' metadata.
12420 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12422 * subr.el (process-alive-p): New tiny convenience function.
12424 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12426 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12427 content but also its previous major mode.
12429 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12431 * emacs-lisp/debug.el (debug): Restore the previous content of the
12432 *Backtrace* buffer when we exit with C-M-c.
12434 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12436 * minibuffer.el: Add metadata method to completion tables.
12437 (completion-category-overrides): New defcustom.
12438 (completion-metadata, completion--field-metadata)
12439 (completion-metadata-get, completion--styles)
12440 (completion--cycle-threshold): New functions.
12441 (completion-try-completion, completion-all-completions):
12442 Add `metadata' argument to choose completion-styles.
12443 (completion--do-completion): Use metadata to choose cycling.
12444 (completion-all-sorted-completions): Use metadata for sorting.
12445 Remove :completion-cycle-penalty which is not needed any more.
12446 (completion--try-word-completion): Add `metadata' argument.
12447 (minibuffer-completion-help): Check metadata for annotation function
12449 (completion-file-name-table): Return `category' metadata.
12450 (minibuffer-completing-file-name): Make obsolete.
12451 * simple.el (minibuffer-completing-symbol): Make obsolete.
12452 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12453 completion-try-completion.
12455 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12457 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12459 2011-05-30 Leo Liu <sdl.web@gmail.com>
12461 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12462 (rcirc-print): Decode all incoming messages (bug#8744).
12463 (rcirc-decode-coding-system): Allow value nil for automatic coding
12466 2011-06-01 Glenn Morris <rgm@gnu.org>
12468 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12470 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12472 * image.el (image-animate-max-time): Allow nil and t values.
12474 (create-animated-image): Doc fix.
12475 (image-animate-start): Remove second arg; just use
12476 image-animate-max-time.
12477 (image-animate-timeout): Doc fix. Args changed.
12479 * image-mode.el (image-toggle-display-image): Ensure that the
12480 image spec passed to the animate timer is the same object as in
12481 the buffer's display property (Bug#6981).
12482 (image-transform-properties): Doc fix.
12484 * image.el (image-animate-max-time): Default to nil.
12486 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12488 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12489 entire buffer list (Bug#8184).
12491 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12493 * image.el (imagemagick-types-inhibit)
12494 (imagemagick-register-types): Doc fix.
12496 2011-05-29 Deniz Dogan <deniz@dogan.se>
12498 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12501 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12503 * select.el: Don't perform clipboard-manager saving in hooks;
12504 leave the hooks empty.
12506 2011-05-28 Leo Liu <sdl.web@gmail.com>
12508 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12509 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12510 (occur-edit-mode): New major mode (Bug#8463).
12511 (occur-after-change-function): New function.
12512 (occur-engine): Give Occur tags a read-only property.
12514 2011-05-28 Kevin Ryde <user42@zip.com.au>
12516 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12518 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12520 * bindings.el (help-echo): Make the initial non-indicator dash
12521 empty on graphical terminals (Bug#7295).
12523 * files.el (auto-mode-alist): Move config rule after the
12524 in-stripping one (Bug#8547).
12526 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12528 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12529 setting (Bug#8740).
12531 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12533 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12534 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12537 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12539 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12541 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12543 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12544 (hs-hide-block-at-point, hs-find-block-beginning)
12545 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12548 2011-05-28 Glenn Morris <rgm@gnu.org>
12550 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12552 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12554 * help-fns.el (describe-function-1): If the function is a derived
12555 major mode, print the parent mode.
12557 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12558 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12560 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12562 * minibuffer.el (completion--capf-wrapper): Check applicability before
12563 returning non-nil for non-exclusive completion data.
12564 * progmodes/etags.el (tags-completion-at-point-function):
12565 * info-look.el (info-lookup-completions-at-point): Mark as
12567 (info-complete): Adjust accordingly.
12569 * info-look.el: Convert to lexical-binding and completion-at-point.
12570 (info-lookup-completions-at-point): New function.
12571 (info-complete): Use it and completion-in-region.
12573 2011-05-28 Drew Adams <drew.adams@oracle.com>
12575 * isearch.el: Let M-e start with point at the first mismatched char.
12576 (isearch-fail-pos): New function.
12577 (isearch-edit-string): Use it.
12579 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12581 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12583 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12585 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12586 traversal functions for avl-trees.
12587 (avl-tree--stack): New struct.
12588 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12589 (avl-tree-enter): Add optional `updatefun' arg.
12590 (avl-tree--do-enter): Add optional `updatefun' arg.
12591 Change return value.
12592 (avl-tree-delete): Add optional `test' and `nilflag' args.
12593 (avl-tree--do-delete): Add `test' and `nilflag' args.
12594 Change return value.
12595 (avl-tree-member): Add optional `nilflag'
12596 (avl-tree-member-p): New function.
12597 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12598 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12599 (avl-tree-stack-empty-p): New functions.
12601 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12602 avl-tree--del-balance1 and make it work both ways.
12603 (avl-tree--del-balance2): Remove.
12604 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12605 make it work both ways.
12606 (avl-tree--enter-balance2): Remove.
12607 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12609 (avl-tree--mapc, avl-tree-map): Add direction argument.
12611 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12613 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12615 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12617 * select.el: Support clipboard managers with built-in function
12618 x-clipboard-manager-save, via delete-frame-functions and
12620 (xselect-convert-to-targets): Add MULTIPLE target to list.
12621 (xselect-convert-to-save-targets): New function.
12623 2011-05-27 Kenichi Handa <handa@m17n.org>
12625 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12626 let-binding rfc2047-encode-encoded-words to nil.
12628 2011-05-27 Glenn Morris <rgm@gnu.org>
12630 * mail/emacsbug.el: Don't require url-util.
12632 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12634 * files.el (set-auto-mode):
12635 Also respect mode: entries at the end of the file. (Bug#8586)
12637 2011-05-26 Glenn Morris <rgm@gnu.org>
12639 * files.el (hack-local-variables-prop-line, hack-local-variables):
12640 Downcase mode names, as seems to be traditional.
12641 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12643 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12644 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12646 2011-05-25 Julien Danjou <julien@danjou.info>
12648 * textmodes/rst.el (rst-define-level-faces): Do not define face
12649 symbol if it is already defined.
12651 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12653 * play/5x5.el (5x5-new-game, 5x5-randomize):
12654 Reset 5x5-solver-output to nil when a new grid is cast.
12655 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12656 these debugging traces, as defmacro breaks the compiled code.
12658 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12660 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12662 2011-05-24 Leo Liu <sdl.web@gmail.com>
12664 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12665 (vc-bzr-sha1): Adapt.
12667 * sha1.el: Remove. Function `sha1' is now builtin.
12669 * bindings.el: Provide sha1 feature.
12671 2011-05-24 Kenichi Handa <handa@m17n.org>
12673 * mail/sendmail.el: Require `rfc2047'.
12674 (mail-insert-from-field): Do not perform RFC2047 encoding.
12675 (mail-encode-header): New function.
12676 (sendmail-send-it): Set buffer-file-coding-system of the work
12677 buffer to the return value of select-message-coding-system.
12678 Call mail-encode-header.
12680 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12682 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12684 * mail/supercite.el (sc-default-cite-frame):
12685 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12687 2011-05-24 Glenn Morris <rgm@gnu.org>
12689 * progmodes/python.el (brm-menu): Declare.
12691 * emulation/viper.el (viper-set-hooks): Declare.
12693 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12694 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12695 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12696 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12697 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12698 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12700 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12702 Add an :exit-function for completion-at-point.
12704 * minibuffer.el (completion--done): New fun.
12705 (completion--do-completion): Use it. New arg `expect-exact'.
12706 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12707 since completion--do-completion does it for us now.
12708 (minibuffer-force-complete): Use completion--done and
12709 completion--replace. Handle sole-completion case with more care.
12710 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12711 (completion-extra-properties): New var.
12712 (completion-annotate-function): Make obsolete.
12713 (minibuffer-completion-help): Adjust accordingly.
12714 Use completion-list-insert-choice-function.
12715 (completion-at-point, completion-help-at-point):
12716 Bind completion-extra-properties.
12717 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12718 * simple.el (completion-list-insert-choice-function): New var.
12719 (completion-setup-function): Preserve it.
12720 (choose-completion): Pay attention to it, shuffle the code a bit.
12721 (choose-completion-string): New arg `insert-function'.
12723 * textmodes/bibtex.el: Convert to lexical binding.
12724 (bibtex-mode-map): Use completion-at-point.
12725 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12726 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12727 (bibtex-complete): Define as obsolete alias.
12728 (bibtex-complete-internal): Remove.
12729 (bibtex-format-entry): Remove unused sub-group in regexp.
12730 * shell.el (shell--command-completion-data)
12731 (shell-environment-variable-completion):
12732 * pcomplete.el (pcomplete-completions-at-point):
12733 * comint.el (comint--complete-file-name-data): Use :exit-function
12734 instead of completion-table-with-terminator so it also works for
12737 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12739 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12741 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12744 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12746 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12748 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12749 customization variable and implement: If non-nil, auto-fill will
12750 be inhibited while on topic's header line.
12752 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12754 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12755 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12756 always have a solution in grid size = 5 cases.
12757 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12758 (5x5-solver-output, 5x5-log-buffer): New vars.
12759 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12760 Make these variables buffer local to achieve 5x5 multi-session-ness.
12761 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12762 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12763 (5x5-solve-suggest): New funs.
12764 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12765 randomize a grid so that we ensure that there is always a solution.
12766 (5x5-make-random-grid): Allow other movement than flipping.
12768 2011-05-23 Kevin Ryde <user42@zip.com.au>
12770 * emacs-lisp/advice.el (ad-read-advised-function):
12771 Use `function-called-at-point' as the default, if it has
12772 advice and passes PREDICATE.
12774 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12776 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12777 byte-compile-lambda if it's actually a lambda.
12779 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12780 Fix function quoting. Use backquote better.
12782 2011-05-22 Yuanle Song <sylecn@gmail.com>
12784 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12785 matching (Bug#8516).
12787 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12789 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12790 different face (Bug#8178).
12792 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12794 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12795 defface (Bug#8144).
12797 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12799 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12800 funcall as well (bug#8712). Warn when performing those conversions.
12801 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12803 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12805 2011-05-22 Glenn Morris <rgm@gnu.org>
12807 * files.el (hack-local-variables-prop-line): Small simplifications.
12808 (hack-local-variables, hack-local-variables-prop-line):
12809 If MODE-ONLY, return the mode, rather than just `t'.
12811 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12813 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12815 2011-05-21 Glenn Morris <rgm@gnu.org>
12817 * files.el (hack-local-variables-prop-line, hack-local-variables):
12818 If only interested in the mode, don't bother doing the other stuff.
12820 * image-mode.el (image-after-revert-hook):
12821 Redraw all frames on which the image is visible. (Bug#8567)
12823 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12825 * wid-edit.el (widget-checklist-match-inline):
12826 Fix 2011-04-19 change. (Bug#8649)
12828 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12830 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12831 Also allow singlespace after single-letter capitals followed by a dot.
12833 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12834 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12836 2011-05-20 Nix <nix@esperi.org.uk>
12838 * files.el (basic-save-buffer-2):
12839 Fix handling of break-hardlink-on-save with non-existent files.
12841 2011-05-19 Deniz Dogan <deniz@dogan.se>
12843 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12844 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12846 2011-05-19 Glenn Morris <rgm@gnu.org>
12848 * progmodes/f90.el (f90-type-def-re):
12849 Handle "type, bind(c)". (Bug#8691)
12851 * emacs-lisp/autoload.el (batch-update-autoloads):
12852 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12854 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12856 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12857 property for the correct connection in case of multihops.
12859 2011-05-18 Glenn Morris <rgm@gnu.org>
12861 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12862 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12864 Rationalize calendar handling of day and month abbrev-arrays.
12865 * calendar/calendar.el (calendar-customized-p): New function.
12866 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12867 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12869 (calendar-abbrev-length, calendar-day-abbrev-array)
12870 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12871 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12872 Elements may no longer be nil.
12873 (calendar-day-name, calendar-month-name):
12874 Update for changed nature of abbrev arrays.
12875 * calendar/diary-lib.el (diary-name-pattern):
12876 Update for changed nature of abbrev arrays.
12877 (diary-mark-entries-1): Update calendar-make-alist calls.
12878 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12879 * calendar/cal-html.el (cal-html-day-abbrev-array):
12880 Simply inherit from calendar-day-abbrev-array.
12882 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12884 * progmodes/grep.el (grep-mode): Disable default
12885 compilation-directory-matcher setting (bug#8684).
12887 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12889 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12890 instead of "head" and "tail". There were problems with SunOS 5.9,
12891 and it performs better.
12893 2011-05-17 Glenn Morris <rgm@gnu.org>
12895 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12897 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12898 Replace obsolete function.
12900 * shell.el (pcomplete-parse-arguments-function): Declare.
12902 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12903 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12904 (appt-check): Doc fixes.
12905 (appt-disp-window-function, appt-delete-window-function):
12906 Remove needless special case in custom :type.
12907 (appt-display-count): Default to 0, not nil.
12908 (appt-check): Reset appt-display-count to 0, not nil.
12910 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12912 * progmodes/python.el (python-font-lock-keywords):
12913 Add the Python 3.X keyword "nonlocal" (bug#8639).
12915 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12917 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12919 2011-05-16 Kevin Ryde <user42@zip.com.au>
12921 * info-look.el (makefile-automake-mode): New setups, looking in
12922 automake manual, then makefile-mode.
12923 (makefile-mode): Remove automake manual, have it just in
12924 makefile-automake-mode since there's various things different or
12925 not relevant to plain make.
12926 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12927 believe a hypothetical automake-mode would go to makefile-mode,
12928 not the other way around.
12930 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12932 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12933 hunk-end tags (Bug#8672).
12935 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12936 vc-annotate-show-diff-revision-at-line (Bug#8671).
12938 2011-05-14 Glenn Morris <rgm@gnu.org>
12940 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12941 in the middle of an existing one with multiple authors. (Bug#8645)
12942 (change-log-font-lock-keywords): Also handle multiple author lines
12943 with leading tabs. (Bug#8644)
12945 * calendar/appt.el (appt-check): Rename some local variables.
12946 Some simplification/reordering.
12948 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12949 (feedmail-sendmail-f-doesnt-sell-me-out)
12950 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12951 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12952 (feedmail-queue-runner-message-sender): Set :version.
12953 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12954 (bbdb-dwim-net-address, vm-mail): Declare.
12955 (feedmail-binmail-gnulinuxish-template):
12956 Rename from feedmail-binmail-linuxish-template.
12957 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12958 Use insert-buffer-substring.
12960 2011-05-14 Bill Carpenter <bill@carpenter.org>
12962 * mail/feedmail.el (feedmail-patch-level): Increase.
12963 (feedmail-debug): New custom group.
12964 (feedmail-confirm-outgoing-timeout)
12965 (feedmail-sendmail-f-doesnt-sell-me-out)
12966 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12967 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12968 (feedmail-sender-line, feedmail-from-line)
12969 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12970 (feedmail-spray-this-address)
12971 (feedmail-spray-address-fiddle-plex-list)
12972 (feedmail-queue-use-send-time-for-date)
12973 (feedmail-queue-use-send-time-for-message-id)
12974 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12975 (feedmail-buffer-eating-function):
12977 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12978 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12979 (feedmail-message-action-scroll-down): New functions.
12980 (feedmail-queue-directory, feedmail-queue-draft-directory):
12981 Use expand-file-name.
12982 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12983 Remove C-v help entry.
12984 (feedmail-queue-buffer-file-name): New variable.
12985 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12986 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12987 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12988 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12989 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12990 (feedmail-message-action-toggle-spray)
12991 (feedmail-run-the-queue-no-prompts)
12992 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12993 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12994 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12995 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12996 (feedmail-envelope-deducer, feedmail-fiddle-from)
12997 (feedmail-fiddle-sender, feedmail-default-date-generator)
12998 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12999 (feedmail-fiddle-spray-address)
13000 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13001 (feedmail-fiddle-list-of-fiddle-plexes)
13002 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13003 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13004 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13005 Change default. Doc fix.
13006 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13007 (feedmail-binmail-linuxish-template): New constant.
13008 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13009 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13010 (feedmail-send-it): Add debug call.
13011 Use feedmail-queue-buffer-file-name, and
13012 feedmail-send-it-immediately-wrapper.
13013 (feedmail-message-action-send): Add debug call.
13014 Use feedmail-send-it-immediately-wrapper.
13015 (feedmail-queue-express-to-queue): Add debug call.
13016 Run feedmail-queue-express-hook.
13017 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13018 (feedmail-message-action-help-blat):
13019 Rename from feedmail-queue-send-edit-prompt-help-first.
13020 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13021 Check line-endings. Handle errors better.
13022 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13023 Doc fix. Add debug call.
13024 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13025 Use feedmail-queue-send-edit-prompt-inner.
13026 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13027 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13028 from feedmail-queue-send-edit-prompt.
13029 (feedmail-queue-send-edit-prompt-help)
13030 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13031 (feedmail-tidy-up-slug): Add debug call.
13032 Respect feedmail-queue-slug-suspect-regexp.
13033 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13034 (feedmail-dump-message-to-queue): Add debug call.
13035 Expand queue-directory.
13036 (feedmail-dump-message-to-queue): Change message slightly.
13037 Use feedmail-say-chatter.
13038 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13039 (feedmail-send-it-immediately-wrapper): New function.
13040 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13041 Insert empty string rather than newline. Handle full-frame case.
13042 Use catch/throw. Use feedmail-say-chatter.
13043 (feedmail-fiddle-from): Try mail-host-address.
13044 (feedmail-default-message-id-generator): Doc fix.
13045 Bind system-time-locale. Handle missing end.
13046 (feedmail-fiddle-x-mailer): Add debug call.
13047 Handle feedmail-x-mailer-line being nil.
13048 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13049 Add debug call. Use buffer-substring-no-properties.
13050 (feedmail-say-debug, feedmail-say-chatter): New functions.
13051 (feedmail-find-eoh): Give an explicit error.
13053 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13055 * net/newst-treeview.el (newsticker-treeview-face): Change default
13056 family from helvetica to sans.
13057 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13058 etc/images/newsticker.
13060 * net/newst-reader.el (newsticker-feed-face): Change default
13061 family from helvetica to sans.
13063 * net/newst-plainview.el (newsticker-new-item-face)
13064 (newsticker-old-item-face, newsticker-immortal-item-face)
13065 (newsticker-obsolete-item-face, newsticker-date-face)
13066 (newsticker-statistics-face): Change default family from
13068 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13069 etc/images/newsticker.
13071 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13072 (newsticker--process-auto-mark-filter-match): Tell user about
13075 2011-05-13 Didier Verna <didier@xemacs.org>
13077 Common Lisp indentation improvements on defmethod and lambda-lists.
13078 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13080 (lisp-lambda-list-keyword-parameter-indentation)
13081 (lisp-lambda-list-keyword-parameter-alignment)
13082 (lisp-lambda-list-keyword-alignment): New customizable user options.
13083 (lisp-indent-defun-method): Improve docstring.
13084 (extended-loop-p): Fix comment.
13085 (lisp-indent-lambda-list-keywords-regexp): New variable.
13086 (lisp-indent-lambda-list): New function.
13087 (lisp-indent-259): Use it.
13088 (lisp-indent-defmethod): Support for more than one
13089 method qualifier and properly indent methods lambda-lists.
13090 (defgeneric): Provide a missing common-lisp-indent-function property.
13092 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13094 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13095 bounds for the empty string (bug#8667).
13097 2011-05-13 Glenn Morris <rgm@gnu.org>
13099 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13101 * mail/sendmail.el (sendmail-program): Try executable-find first.
13102 (sendmail-send-it): `sendmail-program' cannot be unbound.
13104 * calendar/appt.el (appt-make-list): Simplify.
13105 (appt-time-msg-list): Doc fix.
13106 (appt-check): Change mode-line message at the time of the appointment.
13108 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13110 * progmodes/ld-script.el (ld-script-keywords)
13111 (ld-script-builtins): Update keywords list.
13113 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13115 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13117 * shell.el (shell-completion-vars): New function.
13119 * simple.el (read-shell-command): Use it.
13120 (blink-matching-open): No need for " [...]" in minibuffer-message.
13122 2011-05-12 Glenn Morris <rgm@gnu.org>
13124 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13125 (appt-check): Simplify.
13127 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13129 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13130 literal "/dev/null".
13132 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13134 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13137 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13139 * progmodes/which-func.el (which-function):
13140 Use add-log-current-defun instead of add-log-current-defun-function,
13141 which might not be defined (Bug#8260).
13143 2011-05-12 Glenn Morris <rgm@gnu.org>
13145 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13146 Let byte-compile-initial-macro-environment always take precedence.
13148 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13150 * net/rcirc.el: Add support for SSL/TLS connections.
13151 (rcirc-server-alist): New field `encryption'.
13152 (rcirc): Check `encryption' settings.
13153 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13154 Merge make-local-variable into `set'.
13155 (rcirc--connection-open-p): New function.
13156 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13157 the process is not a network process (e.g. running gnutls-cli).
13158 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13159 Make rcirc-(en|de)code-coding-system local here.
13160 (rcirc-mode): Merge make-local-variable into `set'.
13161 (rcirc-parent-buffer): Make permanent buffer-local.
13162 (rcirc-multiline-minor-mode): Don't do it here.
13163 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13164 there's no server buffer.
13166 2011-05-11 Glenn Morris <rgm@gnu.org>
13168 * newcomment.el (comment-kill): Prefix "unused" local.
13170 * term/w32console.el (get-screen-color): Declare.
13172 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13173 Handle symbol elements of byte-compile-initial-macro-environment.
13175 2011-05-10 Leo Liu <sdl.web@gmail.com>
13177 * bookmark.el (bookmark-bmenu-mode-map):
13178 Bind bookmark-bmenu-search to `/'.
13180 * mail/footnote.el: Convert to utf-8 encoding.
13181 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13182 (Footnote-unicode): New function.
13183 (footnote-style-alist): Add unicode style to the list.
13184 (footnote-style): Doc fix.
13186 2011-05-10 Jim Meyering <meyering@redhat.com>
13188 Fix doubled-word typos.
13189 * international/quail.el (quail-insert-kbd-layout): and and -> and
13190 * kermit.el: and and -> and
13191 * net/ldap.el (ldap-search-internal): to to -> to
13192 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13193 * progmodes/js.el (js-mode): and and -> and
13194 * textmodes/artist.el (artist-move-to-xy): at at -> at
13195 (artist-draw-region-trim-line-endings): if if -> if
13196 And Safetyc -> Safety.
13197 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13199 2011-05-10 Glenn Morris <rgm@gnu.org>
13200 Stefan Monnier <monnier@iro.umontreal.ca>
13202 * files.el (hack-one-local-variable-eval-safep):
13203 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13205 2011-05-10 Glenn Morris <rgm@gnu.org>
13207 * calendar/diary-lib.el (diary-list-entries-hook)
13208 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13209 (diary-nongregorian-marking-hook, diary-list-entries)
13210 (diary-include-other-diary-files, diary-mark-entries)
13211 (diary-mark-included-diary-files): Doc fixes.
13213 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13215 * misc.el: Require tabulated-list.el during compilation.
13217 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13219 * progmodes/compile.el (compilation-start):
13220 Run compilation-filter-hook for the async case too.
13221 (compilation-filter-hook): Doc fix.
13223 2011-05-09 Deniz Dogan <deniz@dogan.se>
13225 * wdired.el: Remove outdated installation comment. Fix usage
13228 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13230 * misc.el: Implement new command `list-dynamic-libraries'.
13231 (list-dynamic-libraries--loaded-only-p): New variable.
13232 (list-dynamic-libraries--refresh): New function.
13233 (list-dynamic-libraries): New command.
13235 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13237 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13238 Fix the ant regexp to handle end-line and end-column info from jikes.
13239 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13240 higher priority to avoid clobbering by gnu.
13242 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13244 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13245 if the face has existing theme settings (Bug#8454).
13247 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13249 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13250 Only match variables declared via `my' or `our' (Bug#8261).
13252 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13253 special file names `.' and `..' (Bug#8259).
13255 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13257 * progmodes/grep.el (grep-mode-font-lock-keywords):
13258 Remove buffer-changing entries.
13259 (grep-filter): New function.
13260 (grep-mode): Add it to compilation-filter-hook.
13262 * progmodes/compile.el (compilation-filter-hook)
13263 (compilation-filter-start): New defvars.
13264 (compilation-filter): Call compilation-filter-hook prior to
13265 updating the process mark.
13267 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13269 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13271 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13273 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13274 mailclient-send-it even if window-system is nil. (Bug#8595)
13276 * term/w32console.el (terminal-init-w32console):
13277 Call get-screen-color and use its output to set the frame
13278 background-mode. (Bug#8597)
13280 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13282 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13283 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13285 (defgeneric, eieio--defmethod): Use them.
13286 (eieio-defgeneric): Remove.
13287 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13289 2011-05-07 Glenn Morris <rgm@gnu.org>
13291 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13292 Use let rather than let*.
13293 (timeclock-find-discrep): Remove unused local.
13295 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13297 * calendar/appt.el (appt-time-msg-list): Doc fix.
13299 2011-05-06 Noah Friedman <friedman@splode.com>
13301 * apropos.el (apropos-print-doc): Only use
13302 emacs-lisp-docstring-fill-column when it is bound to an integer,
13303 per that variable's documentation.
13305 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13307 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13308 and warnings are not silently discarded (e.g. use -d instead of -P).
13310 2011-05-06 Glenn Morris <rgm@gnu.org>
13312 * calendar/appt.el (appt-message-warning-time): Doc fix.
13313 (appt-warning-time-regexp): New option.
13314 (appt-make-list): Respect appt-message-warning-time.
13316 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13318 (diary-add-to-list): Strip comments from the displayed string.
13319 (diary-mode): Set comment-start and comment-end.
13321 * vc/diff-mode.el (smerge-refine-subst): Declare.
13322 (diff-refine-hunk): Don't require smerge-mode when compiling.
13324 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13326 * simple.el (list-processes): Return nil as the docstring says.
13328 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13330 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13332 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13333 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13334 determining of binary transfer. (Bug#7383)
13336 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13338 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13339 Fix port computation bug. (Bug#8618)
13341 2011-05-05 Glenn Morris <rgm@gnu.org>
13343 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13345 * simple.el (shell-dynamic-complete-functions)
13346 (comint-dynamic-complete-functions): Declare.
13348 * net/network-stream.el (gnutls-negotiate):
13349 * simple.el (tabulated-list-print): Fix declarations.
13351 * progmodes/gud.el (syntax-symbol, syntax-point):
13352 Remove unnecessary and incorrect declarations.
13354 * emacs-lisp/check-declare.el (check-declare-scan):
13355 Handle byte-compile-initial-macro-environment in bytecomp.el
13357 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13359 Fix earlier half-done eieio-defmethod change (bug#8338).
13360 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13361 Streamline and change calling convention.
13362 (defmethod): Adjust accordingly and simplify.
13363 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13364 new eieio--defmethod.
13365 (slot-boundp): Minor CSE simplification.
13367 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13369 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13370 (glasses-make-readable): Use glasses-separate-capital-groups.
13372 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13374 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13375 (warning-series): Doc fix.
13376 (display-warning): Don't try to create the buffer if we just found it.
13378 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13380 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13381 (autoload-find-generated-file): New function.
13382 (generate-file-autoloads): Bind generated-autoload-file to
13384 (update-file-autoloads, update-directory-autoloads):
13385 Use autoload-find-generated-file. If called interactively, prompt for
13386 output file (Bug#7989).
13387 (batch-update-autoloads): Doc fix.
13389 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13391 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13393 2011-05-04 Glenn Morris <rgm@gnu.org>
13395 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13396 function, so it follows changes in calendar-date-style.
13397 (diary-fancy-date-matcher): New function.
13398 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13399 (diary-fancy-font-lock-fontify-region-function):
13400 Use diary-fancy-date-pattern as a function.
13402 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13403 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13405 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13407 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13408 instead of positional arguments. Allow :keylist and :crlfiles
13410 (open-gnutls-stream): Call it.
13412 * net/network-stream.el (network-stream-open-starttls): Adjust to
13413 call `gnutls-negotiate' with :process and :hostname arguments.
13415 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13417 * minibuffer.el (completion--message): New function.
13418 (completion--do-completion, minibuffer-complete)
13419 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13420 (completion--do-completion): Don't ignore completion-auto-help when in
13423 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13424 internal encoding (e.g. tibetan zero is not whitespace).
13425 (global-whitespace-mode): Prefer save-current-buffer.
13426 (whitespace-trailing-regexp): Remove useless save-match-data.
13427 (whitespace-empty-at-bob-regexp): Minor simplification.
13429 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13431 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13433 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13435 * textmodes/ispell.el (ispell-add-per-file-word-list):
13436 Use `concat' to create string for insertion.
13438 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13440 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13441 Avoid open-line which runs post-self-insert-hook.
13442 (bibtex-fill-entry): Remove unused `end' var.
13444 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13446 * textmodes/ispell.el (ispell-add-per-file-word-list):
13447 Protect against `nil' value of `comment-start' (Bug#8579).
13449 2011-05-03 Leo Liu <sdl.web@gmail.com>
13451 * isearch.el (isearch-yank-pop): New command.
13452 (isearch-mode-map): Bind it to `M-y'.
13453 (isearch-forward): Mention it.
13455 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13457 * simple.el (minibuffer-complete-shell-command): Remove.
13458 (minibuffer-local-shell-command-map): Use completion-at-point.
13459 (read-shell-command): Setup completion vars here instead.
13460 (read-expression-map): Bind TAB to symbol completion.
13462 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13463 error directly rather via storing it into `results'.
13465 2011-05-02 Leo Liu <sdl.web@gmail.com>
13467 * vc/diff.el: Fix description.
13469 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13471 * server.el (server-eval-at): New function.
13473 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13475 * net/network-stream.el (open-network-stream): Take a :nowait
13476 parameter and pass it on to `make-network-process'.
13477 (network-stream-open-plain): Ditto.
13479 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13481 * faces.el (face-spec-set-match-display): Don't match toolkit
13482 options on terminal frames.
13484 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13486 * progmodes/pascal.el: Use lexical binding.
13487 (pascal-mode-map): Remove author preferences.
13489 * pcomplete.el (pcomplete-std-complete): Don't abuse
13490 completion-at-point.
13492 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13494 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13495 removing code that has been dead since 1991 or so.
13497 * startup.el (command-line): When warning about "_emacs", use a
13498 delayed warning to allow the user to filter it out.
13500 2011-04-28 Deniz Dogan <deniz@dogan.se>
13502 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13503 user has not joined.
13505 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13507 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13508 aren't any completions at point.
13510 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13512 * subr.el (display-delayed-warnings): New function.
13513 (delayed-warnings-hook): New variable.
13515 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13517 * minibuffer.el (completion-at-point, completion-help-at-point):
13518 Don't presume that a given completion-at-point-function will always
13519 use the same calling convention.
13521 * pcomplete.el (pcomplete-completions-at-point):
13522 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13523 pcomplete-seen is non-nil.
13524 (pcomplete-comint-setup): Also recognize the new comint/shell
13525 completion functions.
13526 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13527 pcomplete-seen is non-nil.
13529 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13531 * calendar/icalendar.el (diary-lib): Add require statement.
13532 (icalendar--create-uid): Read out a uid from a text-property on
13533 the first character in the entry. This allows for code to add its
13534 own uid to the entry.
13535 (icalendar--convert-float-to-ical): Add export of
13536 `diary-float'-entries save for those with the optional DAY
13539 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13541 * subr.el (shell-quote-argument): Use alternate escaping strategy
13542 when we spot a variable reference in a string.
13544 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13546 * cus-start.el (all): Define customization for debug-on-event.
13548 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13550 * subr.el (shell-quote-argument): Escape correctly under Windows.
13552 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13554 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13556 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
13558 * net/tramp.el (tramp-process-actions): Add POS argument.
13559 Delete region between POS and (pos).
13561 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13562 Use `nil' position in `tramp-process-actions' call.
13563 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13565 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13566 position in `tramp-process-actions' call.
13568 * net/trampver.el: Update release number.
13570 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13572 * custom.el (defcustom): Obey lexical-binding.
13574 Fix octave-inf completion problems reported by Alexander Klimov.
13575 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13576 Inherit from octave-mode-syntax-table.
13577 (inferior-octave-mode): Set info-lookup-mode.
13578 (inferior-octave-completion-at-point): New function.
13579 (inferior-octave-complete): Use it and completion-in-region.
13580 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13581 comint-filename-completion.
13582 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13583 symbol elements which shouldn't be word elements.
13584 (octave-font-lock-keywords, octave-beginning-of-defun)
13585 (octave-function-header-regexp): Adjust regexps accordingly.
13586 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13588 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13590 * net/gnutls.el (gnutls-errorp): Declare before first use.
13592 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13594 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13595 verify-error, and verify-hostname-error parameters. Check whether
13596 default trustfile exists before going to use it. Add missing
13597 argument to gnutls-message-maybe call. Return value.
13598 Reported by Claudio Bley <claudio.bley@gmail.com>.
13599 (open-gnutls-stream): Add usage example.
13601 * net/network-stream.el (network-stream-open-starttls): Give host
13602 parameter to `gnutls-negotiate'.
13603 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13604 * subr.el (shell-quote-argument): Escape correctly under Windows.
13606 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13608 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13609 Use correct match group (bug#8438).
13611 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13613 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13614 (package-menu--generate): New arg specifying packages to show.
13615 (package-menu-refresh, package-menu-execute, list-packages):
13617 (package-show-package-list): New function, replacing deleted
13618 package--list-packages (renamed because it is non-internal).
13620 * finder.el (finder-list-matches): Use package-show-package-list
13621 instead of deleted package--list-packages.
13623 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13624 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13625 (vc-annotate-mode-map): Bind it to RET.
13627 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13629 * progmodes/etags.el (next-file): Don't use set-buffer to change
13630 buffers (Bug#8478).
13632 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13634 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13636 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13637 (apropos-accumulator): Doc fix.
13638 (apropos-function, apropos-macro, apropos-command)
13639 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13640 (apropos-plist): Add face property.
13641 (apropos-symbols-internal): Fix indentation.
13642 (apropos-print): Simplify help, and recognize apropos-multi-type.
13643 (apropos-print-doc): Use button-type-get to extract the button's
13644 face property. Fill docstring (Bug#8352).
13646 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13648 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13650 * play/mpuz.el (mpuz-silent): Doc fix.
13651 (mpuz-mode-map): Use mapc.
13652 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13653 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13654 Fix typos in docstrings.
13656 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13657 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13659 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13661 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13663 * minibuffer.el (completion--do-completion): Avoid the "Next char
13664 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13666 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13667 mouse-2 into unread-command-events, it is interpreted correctly.
13669 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13670 (image-toggle-display): Doc fix.
13672 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13674 * textmodes/page.el (what-page): Use line-number-at-pos to
13675 calculate line number (Bug#6825).
13677 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13679 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13680 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13681 Pass argument NO-DEFAULT to `find-tag-interactive'.
13683 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13685 Lexical-binding cleanup.
13687 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13688 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13689 * progmodes/ada-prj.el (ada-prj-initialize-values)
13690 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13691 (ada-prj-show-value):
13692 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13693 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13694 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13695 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13696 * progmodes/bug-reference.el (bug-reference-push-button):
13697 * progmodes/fortran.el (fortran-line-length):
13698 * progmodes/glasses.el (glasses-change):
13699 * progmodes/octave-mod.el (octave-fill-paragraph):
13700 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13701 (python-pdbtrack-grub-for-buffer, python-sentinel):
13702 * progmodes/sql.el (sql-save-connection):
13703 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13704 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13705 Mark unused parameters.
13707 * progmodes/compile.el (compilation--flush-directory-cache)
13708 (compilation--flush-parse, compile-internal): Mark unused parameters.
13709 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13710 (compilation-next-error-function): Remove unused variable `timestamp'.
13712 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13713 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13715 * progmodes/dcl-mode.el (dcl-end-of-command):
13716 Remove unused variable `start'.
13717 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13718 (dcl-option-value-basic, dcl-option-value-offset)
13719 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13720 Mark unused parameters.
13721 (dcl-save-local-variable): Remove unused variable `val'.
13724 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13725 Mark unused parameters.
13726 (delphi-ignore-changes): Move before first use.
13727 (delphi-charset-token-at): Remove unused variable `start'.
13728 (delphi-else-start): Remove unused variable `if-count'.
13729 (delphi-comment-block-start, delphi-comment-block-end):
13730 Remove unused variable `kind'.
13731 (delphi-indent-line): Remove unused variable `new-point'.
13733 * progmodes/ebrowse.el (ebrowse-files-list)
13734 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13735 Mark unused parameters. Don't quote `lambda'.
13736 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13737 Don't quote `lambda'.
13738 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13739 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13740 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13741 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13742 Use `ignore-errors'.
13743 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13744 (ebrowse-view/find-file-and-search-pattern)
13745 (ebrowse-view/find-member-declaration/definition):
13746 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13747 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13748 Rename parameter PREFIX-ARG to PREFIX.
13749 (ebrowse-tags-read-name): Remove unused variables `start' and
13751 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13754 * progmodes/etags.el (local-find-tag-hook): Declare.
13755 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13756 Mark unused parameters.
13758 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13759 (executable-interpret): Mark unused parameter.
13761 * progmodes/flymake.el (flymake-process-sentinel)
13762 (flymake-after-change-function)
13763 (flymake-create-temp-with-folder-structure)
13764 (flymake-get-include-dirs-dot): Mark unused parameters.
13765 (flymake-safe-delete-directory): Remove unused variable `err'.
13767 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13768 (speedbar-timer-fn, speedbar-line-text)
13769 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13770 (speedbar-center-buffer-smartly): Declare functions.
13771 (gdb-find-watch-expression): Remove unused variable `array'.
13772 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13773 (gdb-starting): Mark unused parameters.
13774 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13775 (gdb-table-string): Remove unused variable `res'.
13776 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13777 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13778 (gdb-display-buffer): Remove unused variable `cur-size'.
13780 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13781 allow lexical-binding compilation.
13782 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13783 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13784 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13785 Mark unused parameters.
13786 (gud-gdb-marker-filter): Remove unused variable `match'.
13787 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13788 lambda expressions and funcall them, instead of using `fset'.
13790 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13791 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13793 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13794 variable `header-beg'; use `let'.
13796 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13797 `restart', `last-sexp' and `at-do'.
13799 * progmodes/js.el (js--debug): Mark unused parameter.
13800 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13801 (js--splice-into-items): Remove unused variable `item'.
13802 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13804 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13805 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13806 (makefile-complete): Remove unused variable `try'.
13807 (makefile-fill-paragraph, makefile-match-function-end):
13808 Mark unused parameters.
13810 * progmodes/octave-inf.el (inferior-octave-complete):
13811 Remove unused variable `proc'.
13812 (inferior-octave-output-digest): Mark unused parameter.
13814 * progmodes/perl-mode.el (perl-calculate-indent):
13815 Remove unused variable `err'.
13817 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13818 (prolog-indent-line): Mark unused parameters.
13819 (prolog-indent-line): Remove unused variable `beg'.
13821 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13822 (reporter-dont-compact-list): Declare.
13824 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13825 Remove unused variable `char'.
13826 (sh-debug): Mark unused parameter.
13827 (sh-get-indent-info): Remove unused variable `start'.
13828 (sh-calculate-indent): Remove unused variable `var'.
13830 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13831 (simula-electric-keyword): Remove unused variable `null'.
13832 (simula-search-backward, simula-search-forward): Remove unused
13833 variables `begin' and `end'.
13835 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13836 Remove unused variable `pos'.
13837 (vera-electric-tab, vera-comment-uncomment-region):
13838 Mark unused parameters.
13839 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13841 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13843 * emacs-lisp/package.el (package--builtins, package-alist)
13844 (package-load-descriptor, package-built-in-p, package-activate)
13845 (define-package, package-installed-p)
13846 (package-compute-transaction, package-buffer-info)
13847 (package--push): Doc fix. Distinguish more clearly between
13848 version strings and version lists.
13850 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13852 Lexical-binding cleanup.
13854 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13855 (5x5-make-mutate-best):
13856 * play/fortune.el (fortune-in-buffer):
13857 * play/gomoku.el (gomoku-init-display):
13858 * play/solitaire.el (solitaire, solitaire-do-check):
13859 * play/tetris.el (tetris-default-update-speed-function):
13860 Mark unused parameters.
13862 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13863 (bubbles--shift): Remove unused variable `char-org'.
13864 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13865 (bubbles--show-images): Remove unused variable `char'.
13867 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13868 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13869 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13870 (decipher-analyze-buffer): Use ?\s.
13871 (decipher-make-checkpoint): Remove unused variable `mapping'.
13873 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13875 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13876 Remove unused variable `result'; use `let'.
13878 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13879 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13880 (gametree-children-shown-p, gametree-compute-reduced-score):
13881 Use `ignore-errors'.
13883 * play/handwrite.el (ps-lpr-switches): Declare.
13884 (handwrite): Remove unused variables `pmin' and `lastp'.
13886 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13888 * play/landmark.el (landmark-init-display)
13889 (landmark-update-naught-weights): Mark unused parameters.
13890 (landmark-y): Remove unused variable `noise'. Simplify.
13891 (landmark-human-plays): Remove unused variable `score'.
13893 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13894 (mpuz-try-proposal): Remove unused variable `game'.
13896 * play/zone.el (life-patterns): Declare.
13898 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13900 * vc/vc.el (ediff-vc-internal): Declare function.
13902 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13904 * shell.el: Use lexical-binding and std completion UI.
13905 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13906 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13907 comint-preoutput-filter-functions rather than on
13908 comint-output-filter-functions.
13909 (shell-command-completion, shell--command-completion-data)
13910 (shell-filename-completion, shell-environment-variable-completion)
13911 (shell-c-a-p-replace-by-expanded-directory): New functions.
13912 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13913 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13914 (shell-dynamic-complete-environment-variable): Use them.
13915 (shell-dynamic-complete-as-environment-variable)
13916 (shell-dynamic-complete-as-command): Remove.
13917 (shell-match-partial-variable): Match past point.
13918 * comint.el: Clean up use of completion-at-point-functions.
13919 (comint-completion-at-point): New function.
13920 (comint-mode): Use it completion-at-point-functions.
13921 (comint-dynamic-complete): Make it obsolete.
13922 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13923 (comint-c-a-p-replace-by-expanded-history): New function.
13924 (comint-dynamic-complete-functions)
13925 (comint-replace-by-expanded-history): Use it.
13926 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13927 termination strings. Try harder to avoid second try-completion.
13928 (completion-in-region-mode-map): Disable bindings that don't work yet.
13930 * comint.el: Use lexical-binding. Require CL.
13931 (comint-dynamic-complete-functions): Use comint-filename-completion.
13932 (comint-completion-addsuffix): Tweak custom type.
13933 (comint-filename-completion, comint--common-suffix)
13934 (comint--common-quoted-suffix, comint--table-subvert)
13935 (comint--complete-file-name-data): New functions.
13936 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13937 (comint-dynamic-list-filename-completions): Use them.
13938 (comint-dynamic-simple-complete): Make obsolete.
13940 * minibuffer.el (completion-in-region-mode):
13941 Keep completion-in-region-mode--predicate global.
13942 (completion-in-region--postch):
13943 Assume completion-in-region-mode--predicate is not null.
13945 * progmodes/flymake.el (flymake-start-syntax-check-process):
13946 Obey `dir'. Simplify.
13948 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13949 we're in VC after all.
13951 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13953 * vc/vc.el (vc-diff-build-argument-list-internal)
13954 (vc-version-ediff, vc-ediff): New commands.
13955 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13957 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13959 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13962 * obsolete/erc-hecomplete.el: Make obsolete.
13963 * obsolete/: Standardize obsolescence info in the header.
13965 2011-04-20 Glenn Morris <rgm@gnu.org>
13967 * calendar/solar.el (solar-horizontal-coordinates):
13968 Use the longitude argument rather than `calendar-longitude'.
13969 (solar-date-next-longitude): Remove unused locals.
13971 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13973 * whitespace.el: New version 13.2.1.
13975 2011-04-20 felix <EmacsWiki> (tiny change)
13977 * whitespace.el (global-whitespace-mode): Keep highlight when
13978 switching between major modes on a file.
13980 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13982 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13983 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13984 multi-line comments as well.
13986 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13988 Lexical-binding cleanup.
13990 * arc-mode.el (archive-mode-revert):
13991 * cmuscheme.el (scheme-interactively-start-process):
13992 * custom.el (custom-initialize-delay):
13993 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13994 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13995 * emacs-lock.el (emacs-lock-clear-sentinel):
13996 * ezimage.el (defezimage):
13997 * follow.el (follow-avoid-tail-recenter):
13998 * fringe.el (set-fringe-mode-1):
13999 * generic-x.el (bat-generic-mode-compile):
14000 * help-mode.el (help-info-variable, help-do-xref)
14001 (help-mode-revert-buffer):
14002 * help.el (view-emacs-todo):
14003 * iswitchb.el (iswitchb-completion-help):
14004 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14005 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14006 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14007 * locate.el (locate-update):
14008 * longlines.el (longlines-encode-region)
14009 (longlines-after-change-function):
14010 * outline.el (outline-isearch-open-invisible):
14011 * ps-def.el (declare-function, charset-dimension, char-width)
14013 * ps-mule.el (ps-mule-plot-string):
14014 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14015 (recentf-edit-list-select, recentf-edit-list-validate)
14016 (recentf-open-files-action):
14017 * rect.el (delete-whitespace-rectangle-line)
14018 (rectangle-number-line-callback):
14019 * register.el (window-configuration-to-register)
14020 (frame-configuration-to-register):
14021 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14022 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14023 (xselect-convert-to-targets, xselect-convert-to-delete)
14024 (xselect-convert-to-filename, xselect-convert-to-charpos)
14025 (xselect-convert-to-lineno, xselect-convert-to-colno)
14026 (xselect-convert-to-os, xselect-convert-to-host)
14027 (xselect-convert-to-user, xselect-convert-to-class)
14028 (xselect-convert-to-name, xselect-convert-to-integer)
14029 (xselect-convert-to-atom, xselect-convert-to-identity):
14030 * subr.el (declare, ignore, process-kill-without-query)
14031 (text-clone-maintain):
14032 * terminal.el (te-get-char, te-tic-sentinel):
14033 * tool-bar.el (tool-bar-make-keymap):
14034 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14035 * type-break.el (type-break-mode, type-break-noninteractive-query):
14036 * view.el (View-back-to-mark):
14037 * wid-browse.el (widget-browse-action, widget-browse-widget)
14038 (widget-browse-widgets, widget-browse-sexp):
14039 * widget.el (define-widget-keywords):
14040 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14041 Mark unused parameters.
14043 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14044 (align-areas): Remove unused variable `look'.
14045 (align-region): Remove unused variables `real-end' and `pos-list'.
14047 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14049 * bindings.el (mode-line-modified, mode-line-remote):
14050 Mark unused parameters.
14051 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14053 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14054 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14056 * comint.el (comint-history-isearch-pop-state)
14057 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14058 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14059 (comint-substitute-in-file-name): Doc fix.
14061 * completion.el (cmpl-statistics-block): Mark unused parameter.
14062 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14063 (save-completions-to-file, load-completions-from-file):
14064 Remove unused local variable `e'.
14066 * composite.el (compose-chars): Remove unused variable `len'.
14067 (lgstring-insert-glyph): Remove unused variable `g'.
14068 (compose-glyph-string): Remove unused variables `ascent',
14069 `descent', `lbearing' and `rbearing'.
14070 (compose-glyph-string-relative): Remove unused variables
14071 `lbearing', `rbearing' and `wadjust'.
14072 (compose-gstring-for-graphic): Remove unused variables `header',
14073 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14074 (compose-gstring-for-terminal): Remove unused variables `header'
14075 and `nchars'. Use `let', not `let*'.
14077 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14078 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14079 (Custom-buffer-done, custom-buffer-create-internal)
14080 (custom-browse-visibility-action, custom-browse-group-tag-action)
14081 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14082 (widget-magic-mouse-down-action, custom-toggle-parent)
14083 (custom-add-parent-links, custom-toggle-hide-variable)
14084 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14085 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14086 (custom-face-menu-create, custom-variable-menu-create, get)
14087 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14088 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14089 (customize-apropos): Remove unused variable `tests'.
14090 (custom-group-value-create): Remove unused variable `hidden-p'.
14091 (sort-fold-case): Declare.
14093 * cus-theme.el (custom-reset-standard-faces-list)
14094 (custom-reset-standard-variables-list): Declare.
14095 (customize-create-theme, custom-theme-revert, custom-theme-write)
14096 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14097 Mark unused parameters.
14099 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14101 * delim-col.el (delimit-columns-max): Move defvar before first use.
14103 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14104 (describe-char): Don't quote `lambda'. Mark unused parameter.
14106 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14107 (auto-insert): Declare.
14108 (desktop-restore-file-buffer): Rename desktop-* parameters;
14110 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14111 (desktop-buffer): Rename desktop-* parameters.
14113 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14114 (dframe-reposition-frame-xemacs, dframe-help-echo)
14115 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14116 Mark unused parameters.
14118 * dired-aux.el (backup-extract-version-start, overwrite-query)
14119 (overwrite-backup-query, rename-regexp-query)
14120 (rename-non-directory-query): Declare.
14121 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14122 (dired-add-entry): Remove unused variable `orig-file-name'.
14123 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14124 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14125 `dired-copy-preserve-time' directly.
14126 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14127 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14129 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14130 (dired-virtual-revert, dired-make-relative-symlink):
14131 Mark unused parameters.
14132 (manual-program): Declare.
14133 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14134 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14135 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14137 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14139 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14141 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14144 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14146 * electric.el (Electric-command-loop): Rename parameter
14147 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14149 * expand.el (expand-in-literal): Remove unused variable `here'.
14151 * facemenu.el (facemenu-add-new-color):
14152 Remove unused variable `docstring'.
14154 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14155 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14156 (face-attr-construct): Mark unused parameter. Doc fix.
14157 (read-color): Remove unused variable `hex-string'.
14159 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14160 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14161 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14162 (display-buffer-other-frame): Remove unused variable `old-window'.
14163 (kill-buffer-hook): Declare.
14164 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14165 Mark unused parameters.
14166 (after-find-file): Pass 1 to `auto-save-mode', not t.
14168 * files-x.el (auto-insert): Declare.
14169 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14171 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14172 variable `buf'. Mark unused parameter.
14173 (find-lisp-insert-directory): Mark unused parameter.
14175 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14176 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14177 (format-common-tail): Remove, unused.
14178 (format-deannotate-region): Remove unused variable `loc'.
14179 (format-annotate-region): Remove unused variable `p'.
14180 (format-annotate-single-property-change): Remove unused variables
14181 `default' and `tail'.
14183 * forms.el (read-file-filter): Declare.
14184 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14186 * frame.el (frame-creation-function-alist): Mark unused parameter.
14187 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14189 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14190 Remove unused parameters.
14191 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14192 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14194 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14195 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14196 (hfy-prepare-tag-map): Mark unused parameters.
14197 (htmlfontify-buffer): Use `called-interactively-p'.
14199 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14200 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14201 (ibuffer-do-occur): Mark unused parameters.
14202 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14203 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14205 * ibuffer.el: Don't quote `lambda'.
14206 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14207 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14208 Mark unused parameters.
14210 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14211 (ido-completing-read): Mark unused parameters.
14212 (ido-copy-current-word): Mark unused parameters;
14213 remove unused variable `name'.
14214 (ido-sort-merged-list): Remove unused parameter `dirs'.
14216 * ielm.el (ielm-input-sender): Mark unused parameter.
14217 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14218 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14219 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14220 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14221 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14223 * image-dired.el (image-dired-display-thumbs): Remove unused
14224 variables `curr-file' and `count'.
14225 (image-dired-remove-tag): Remove unused variable `start'.
14226 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14227 variable `curr-file'
14228 (image-dired-rotate-original): Remove unused variable `temp-file'.
14229 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14230 Remove unused variable `file'.
14231 (image-dired-gallery-generate): Remove unused variable `curr'.
14232 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14234 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14236 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14238 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14240 * isearch.el (minibuffer-history-symbol): Declare.
14241 (isearch-edit-string): Remove unused variable `err'.
14242 (isearch-message-prefix, isearch-message-suffix):
14243 Mark unused parameters.
14245 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14247 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14249 * makesum.el (double-column): Remove unused variable `cnt'.
14251 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14252 (ido-ignore-item-temp-list): Declare.
14254 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14255 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14256 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14257 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14260 * mouse-sel.el (mouse-extend-internal):
14261 Remove unused variable `orig-window-frame'.
14263 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14264 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14265 Move declarations before first use.
14266 (pcomplete-opt): Mark unused parameters; doc fix.
14268 * proced.el (proced-revert): Mark unused parameter.
14269 (proced-send-signal): Remove unused variable `err'.
14271 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14272 Rename parameter PREFIX-ARG to ARG.
14273 (ps-basic-plot-string, ps-basic-plot-whitespace):
14274 Mark unused parameters.
14276 * replace.el (replace-count): Define.
14277 (occur-revert-function): Mark unused parameters.
14278 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14279 (isearch-case-fold-search, isearch-string): Declare.
14280 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14281 bind `case-fold-search'. Remove unused variables `beg' and `end',
14283 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14284 COUNT and bind `replace-count'.
14285 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14288 * savehist.el (print-readably, print-string-length): Declare.
14290 * shadowfile.el (shadow-expand-cluster-in-file-name):
14291 Remove unused variable `cluster'.
14292 (shadow-copy-file): Remove unused variable `i'.
14293 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14294 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14295 (shadow-define-literal-group, shadow-define-regexp-group)
14296 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14298 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14299 (shell): Use `called-interactively-p'.
14300 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14302 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14303 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14304 (delete-backward-char): Remove unused variable `ocol'.
14305 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14306 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14307 (event-apply-hyper-modifier, event-apply-shift-modifier)
14308 (event-apply-control-modifier, event-apply-meta-modifier):
14309 Mark unused parameters.
14310 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14311 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14313 * speedbar.el (speedbar-ignored-directory-expressions)
14314 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14315 (speedbar-find-file, speedbar-dir-follow)
14316 (speedbar-directory-buttons-follow, speedbar-tag-find)
14317 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14318 (speedbar-buffers-line-directory, speedbar-buffer-click):
14319 Mark unused parameters.
14320 (speedbar-tag-file): Remove unused variable `mode'.
14321 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14323 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14325 * talk.el (talk): Remove unused variable `display'.
14327 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14328 (tar-write-region-annotate): Mark unused parameter.
14330 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14331 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14332 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14333 warning by another.
14335 * time-stamp.el (time-stamp-string-preprocess):
14336 Remove unused variable `require-padding'.
14338 * tree-widget.el (widget-glyph-enable): Declare.
14339 (tree-widget-action): Mark unused parameter.
14341 * w32-fns.el (x-get-selection): Mark unused parameter.
14342 (autoload-make-program, generated-autoload-file): Declare.
14344 * wdired.el (wdired-revert): Mark unused parameters.
14345 (wdired-xcase-word): Remove unused variable `err'.
14347 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14348 (whitespace-help-scroll): Remove unused variable `data-help'.
14350 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14351 (widget-image-insert, widget-after-change, default)
14352 (widget-default-format-handler, widget-default-notify)
14353 (widget-default-prompt-value, widget-info-link-action)
14354 (widget-url-link-action, widget-function-link-action)
14355 (widget-variable-link-action, widget-file-link-action)
14356 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14357 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14358 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14359 (widget-insert-button-action, widget-delete-button-action, visibility)
14360 (widget-documentation-link-action, widget-documentation-string-action)
14361 (widget-const-prompt-value, widget-regexp-match, symbol)
14362 (widget-coding-system-prompt-value)
14363 (widget-key-sequence-value-to-external, sexp)
14364 (widget-sexp-value-to-internal, character, vector, cons)
14365 (widget-choice-prompt-value, widget-boolean-prompt-value)
14366 (widget-color--choose-action): Mark unused parameters.
14367 (widget-item-match-inline, widget-choice-match-inline)
14368 (widget-checklist-match, widget-checklist-match-inline)
14369 (widget-group-match): Rename parameter VALUES to VALS.
14370 (widget-field-value-set): Remove unused variable `size'.
14371 (widget-color-action): Remove unused variables `value' and `start'.
14373 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14374 variable `dir'. Doc fix.
14375 (windmove-find-other-window): Don't pass it.
14377 * window.el (count-windows): Mark unused parameter.
14378 (bw-adjust-window): Remove unused variable `err'.
14380 * woman.el (woman-file-name): Remove unused variable `default'.
14381 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14382 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14383 (global-font-lock-mode): Declare.
14384 (woman-decode-region): Mark unused parameter.
14385 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14387 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14388 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14389 (x-dnd-handle-moz-url): Remove unused variable `title'.
14390 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14392 * xml.el (xml-parse-tag, xml-parse-attlist):
14393 Remove unused variable `pos'.
14395 2011-04-19 Glenn Morris <rgm@gnu.org>
14397 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14398 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14399 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14400 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14401 * calendar/cal-html.el (cal-html-insert-minical):
14402 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14403 (calendar-mark-date-pattern):
14404 Prefix "unused" locals.
14406 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14407 optional argument `style'.
14409 * calendar/appt.el (appt-make-list):
14410 * calendar/cal-china.el (calendar-chinese-date-string):
14411 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14412 (diary-hebrew-yahrzeit):
14413 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14414 * calendar/calendar.el (calendar-generate-window):
14415 * calendar/time-date.el (time-to-days):
14416 Remove unused local variables.
14418 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14420 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14421 glyphless-char-display table.
14422 (tabulated-list-glyphless-char-display): New var.
14424 2011-04-18 Sam Steingold <sds@gnu.org>
14426 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14427 to acknowledgments.
14429 2011-04-17 Glenn Morris <rgm@gnu.org>
14431 * calendar/diary-lib.el (diary-sexp-entry):
14432 * calendar/holidays.el (holiday-sexp):
14433 Set debug-on-error rather than the removed stack-trace-on-error.
14435 2011-04-16 Glenn Morris <rgm@gnu.org>
14437 * progmodes/f90.el: Use lexical-binding.
14438 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14440 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14442 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14443 (mail-mode): Setup mailalias completion here instead.
14444 * mail/mailalias.el: Use lexical-binding.
14445 (pattern, mailalias-done): Declare dynamic.
14446 (mail-completion-at-point-function): New function, from mail-complete.
14447 (mail-complete): Use it.
14448 (mail-completion-expand): New function.
14449 (mail-get-names): Use it.
14450 (mail-directory, mail-directory-process, mail-directory-stream):
14451 Don't use `pattern' for lexically bound arg.
14453 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14455 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14456 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14457 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14459 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14460 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14461 (byte-interactive-p): Define them again, for use when inlining
14464 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14466 * loadup.el: Use `string-to-number', not `string-to-int'.
14468 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14470 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14471 gud-gdb-complete-command.
14472 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14473 (gud-gdb-completion-at-point): New function.
14474 (gud-gdb-completions): Remove.
14476 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14478 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14479 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14480 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14481 whether `executable-find' is bound.
14483 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14485 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14487 * minibuffer.el (completion-in-region-mode-predicate)
14488 (completion-in-region-mode--predicate): New vars.
14489 (completion-in-region, completion-in-region--postch)
14490 (completion-in-region-mode): Use them.
14491 (completion--capf-wrapper): Also return the hook function.
14492 (completion-at-point, completion-help-at-point):
14493 Adjust and provide a predicate.
14495 Preserve arg names for advice of subr and lexical functions (bug#8457).
14496 * help-fns.el (help-function-arglist): Consolidate the subr and
14497 new-byte-code cases. Add argument `preserve-names' to extract names
14498 from the docstring when needed.
14499 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14500 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14501 (ad-arglist): Use help-function-arglist's new arg.
14502 (ad-definition-type): Use cond.
14504 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14506 * autorevert.el (auto-revert-handler):
14507 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14508 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14509 Don't quote lambda.
14511 * image-mode.el (image-transform-set-scale):
14512 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14514 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14516 * net/network-stream.el (network-stream-open-starttls): Only do
14517 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14518 Upgrades via gnutls-cli are too slow to be done opportunistically.
14520 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14522 * dframe.el (dframe-current-frame): Remove spurious quote.
14524 2011-04-12 Glenn Morris <rgm@gnu.org>
14526 * calendar/cal-tex.el (cal-tex-end-document):
14527 Try to automatically use latin1 input if needed.
14529 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14530 Don't try to cons a mark onto an empty element.
14532 2011-04-11 Leo Liu <sdl.web@gmail.com>
14534 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14536 (ido-kill-buffer-at-head): Support killing virtual buffers.
14538 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14540 * minibuffer.el (completion-show-inline-help): New var.
14541 (completion--do-completion, minibuffer-complete)
14542 (minibuffer-force-complete, minibuffer-complete-word):
14543 Inhibit minibuffer messages if completion-show-inline-help is nil.
14545 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14546 to avoid interference from inline help (Bug#5849).
14548 2011-04-10 Leo Liu <sdl.web@gmail.com>
14550 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14553 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
14555 * image-mode.el (image-toggle-display-image): Signal an error if
14557 (image-transform-mode, image-transform-resize)
14558 (image-transform-set-rotation): Doc fix.
14559 (image-transform-set-resize): Delete.
14560 (image-transform-set-scale, image-transform-fit-to-height)
14561 (image-transform-fit-to-width): Handle image-toggle-display-image
14562 and image-transform-resize directly.
14564 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14566 * doc-view.el (doc-view-fit-width-to-window)
14567 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14568 New functions for fitting the shown image to the Emacs window size.
14569 (doc-view-mode-map): Add bindings for the new functions.
14571 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
14573 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14574 Fix typo in docstring.
14576 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14578 * files.el (file-size-human-readable): Produce one digit after
14579 decimal, like "ls -lh" does.
14581 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14582 the file size representation.
14584 * simple.el (list-processes): If async subprocesses are not
14585 available, error out with a clear error message.
14587 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14589 * help.el (help-form-show): New function, to be called from C.
14590 Put help-form output in a buffer named differently than *Help*.
14592 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14594 * files.el (file-size-human-readable): New function.
14596 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14597 computing the representation inline. Don't require `cl'.
14599 2011-04-08 Glenn Morris <rgm@gnu.org>
14601 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14603 * net/browse-url.el (browse-url-firefox):
14604 Test system-type, not system-configuration.
14606 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14607 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14608 Use log-edit-empty-buffer-p. (Bug#7598)
14610 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14611 (rlogin-mode-map): Initialize in the defvar.
14612 (rlogin): Use ignore-errors.
14614 * replace.el (occur-mode-map): Some fixes for menu items.
14616 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14618 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14620 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14622 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14623 issuing unused warnings.
14625 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14628 * simple.el: Lisp reimplement of list-processes. Based on an
14629 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14630 (process-menu-mode): New major mode.
14631 (list-processes--refresh, list-processes):
14632 (process-menu-visit-buffer): New functions.
14634 * files.el (save-buffers-kill-emacs): Don't assume any return
14635 value of list-processes, which is undocumented anyway.
14637 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14639 * emacs-lisp/tabulated-list.el: New file.
14641 * emacs-lisp/package.el: Use Tabulated List mode.
14642 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14643 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14644 table format using Tabulated List mode variables.
14645 (package--push): New macro, replacing package-list-maybe-add.
14646 (package-menu--generate): Use package--push. Renamed from
14647 package--generate-package-list.
14648 (package-menu-refresh, list-packages): Use it.
14649 (package-menu--print-info): Rename from package-print-package.
14650 Return insertion data instead of inserting it directly.
14651 (package-menu-describe-package, package-menu-execute):
14652 Use tabulated-list-get-id.
14653 (package-menu-mark-delete, package-menu-mark-install)
14654 (package-menu-mark-unmark, package-menu-backup-unmark)
14655 (package-menu-mark-obsolete-for-deletion):
14656 Use tabulated-list-put-tag.
14657 (package--list-packages, package-menu-revert)
14658 (package-menu-get-package, package-menu-get-version)
14659 (package-menu-sort-by-column): Functions deleted.
14660 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14661 (package-menu--status-predicate, package-menu--version-predicate)
14662 (package-menu--name-predicate)
14663 (package-menu--description-predicate): Handle arguments in the
14664 Tabulated List format.
14665 (package-list-packages-no-fetch): Call list-packages.
14667 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14669 * files.el (after-find-file-from-revert-buffer): Remove variable.
14670 (after-find-file): Don't bind it.
14671 (revert-buffer-in-progress-p): New variable.
14672 (revert-buffer): Bind it.
14673 Pass nil for `after-find-file-from-revert-buffer'.
14675 * saveplace.el (save-place-find-file-hook): Use new variable
14676 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14678 2011-04-06 Glenn Morris <rgm@gnu.org>
14680 * Makefile.in (AUTOGEN_VCS): New variable.
14681 (autoloads): Use $AUTOGEN_VCS.
14683 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14684 * calendar/calendar.el (calendar-mode-map):
14685 Check for toolkit scroll bars. (Bug#8305)
14687 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14689 * minibuffer.el (completion-in-region--postch)
14690 (completion-in-region-mode): Remove unnecessary messages.
14692 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14694 * font-lock.el (font-lock-refresh-defaults):
14695 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14696 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14698 * info.el (Info-directory-list, Info-read-node-name-2)
14699 (Info-split-parameter-string): Doc fixes.
14700 (Info-virtual-nodes): Reflow docstring.
14701 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14702 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14703 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14704 Fix typos in docstrings.
14705 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14706 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14707 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14708 (Info-restore-desktop-buffer): Mark unused parameters.
14709 (Info-directory-find-file, Info-directory-find-node)
14710 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14711 (Info-virtual-index-find-node, Info-apropos-find-file)
14712 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14713 Mark unused parameters; fix typos in docstrings.
14714 (Info-virtual-index): Remove unused local variable `nodename'.
14716 2011-04-05 Deniz Dogan <deniz@dogan.se>
14718 * net/rcirc.el: Update my e-mail address.
14719 (rcirc-mode-map): Remove M-o binding.
14721 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14723 * startup.el (command-line): Save the cursor's theme-face
14724 directly, instead of using face-override-spec.
14726 * custom.el (load-theme): Minor optimization in assigning faces.
14728 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14730 * help-fns.el (describe-variable): Complete all variables having
14731 documentation, including keywords.
14732 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14734 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14736 Convert to lexical-binding.
14738 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14739 (bs--get-marked-string, bs--get-modified-string)
14740 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14741 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14742 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14744 * ehelp.el (electric-help-execute-extended)
14745 (electric-help-ctrl-x-prefix):
14746 * hexl.el (hexl-revert-buffer-function):
14747 * linum.el (linum-after-change, linum-after-scroll):
14748 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14750 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14752 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14759 * epg.el: Use lexical binding.
14761 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14763 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14765 * textmodes/flyspell.el (flyspell-word): Recognize default
14766 dictionary case for flyspell-mark-duplications-exceptions.
14767 Use regexp matching for languages.
14768 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14769 default dictionary (Bug#7926).
14771 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14773 * emacs-lisp/package.el (package--with-work-buffer):
14774 Recognize https URLs.
14776 * net/network-stream.el: Move from gnus/proto-stream.el.
14777 Change prefix to network-stream throughout.
14778 (open-protocol-stream): Merge into open-network-stream, leaving
14779 open-protocol-stream as an alias. Handle nil BUFFER args.
14781 * subr.el (open-network-stream): Move to net/network-stream.el.
14783 2011-04-02 Glenn Morris <rgm@gnu.org>
14785 * find-dired.el (find-exec-terminator): New option.
14786 (find-ls-option): Test for -ls support.
14787 (find-ls-subdir-switches): Test for -b in find-ls-option.
14788 (find-dired, find-grep-dired): Doc fixes.
14789 (find-dired): Use find-exec-terminator.
14791 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14792 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14793 (find-name-arg): Remove purecopy.
14795 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14796 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14797 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14798 accordingly. Don't add the null-device if not needed.
14800 * files.el (save-some-buffers): Doc fix.
14802 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14804 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14806 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14808 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14809 Use `dolist' rather than `mapcar'.
14811 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14813 Add lexical binding.
14815 * subr.el (apply-partially): Use new closures rather than CL.
14816 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14817 (dolist, dotimes): Use slightly different expansion for lexical code.
14818 (functionp): Move to C.
14819 (letrec): New macro.
14820 (with-wrapper-hook): Use it and apply-partially instead of CL.
14821 (eval-after-load): Preserve lexical-binding.
14822 (save-window-excursion, with-output-to-temp-buffer): Turn them
14825 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14827 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14829 (help-add-fundoc-usage): Don't add `Not documented'.
14830 (help-function-arglist): Handle closures, subroutines, and new
14831 byte-code-functions.
14832 (help-make-usage): Remove leading underscores.
14833 (describe-function-1): Handle closures.
14834 (describe-variable): Use special-variable-p for completion.
14836 * files.el (lexical-binding): Declare safe.
14838 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14839 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14840 (pcase): Add `let' pattern.
14841 Change memoization so it actually works.
14842 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14843 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14846 * emacs-lisp/macroexp.el: Use lexical binding.
14847 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14848 Don't convert ' to #' without checking that it's indeed quoting
14851 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14852 Use eval-sexp-add-defvars.
14853 (eval-sexp-add-defvars): New fun.
14855 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14857 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14859 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14860 than the internal `byte-compile-lambda'.
14861 (defmethod): Don't hide code under quotes.
14862 (eieio-defmethod): New `code' argument.
14864 * emacs-lisp/eieio-comp.el: Remove.
14866 * emacs-lisp/edebug.el (edebug-eval-defun)
14867 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14868 (edebug-toggle): Avoid `eval'.
14870 * emacs-lisp/disass.el (disassemble-internal): Handle new
14872 (disassemble-1): Handle new byte codes.
14874 * emacs-lisp/cl.el (pushnew): Silence warning.
14876 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14877 (cl-byte-compile-throw): Remove.
14878 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14880 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14883 * emacs-lisp/cconv.el: New file.
14885 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14886 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14887 (byte-compile-initial-macro-environment):
14888 Handle declare-function here.
14889 (byte-compile--lexical-environment): New var.
14890 (byte-stack-ref, byte-stack-set, byte-discardN)
14891 (byte-discardN-preserve-tos): New lap codes.
14892 (byte-interactive-p): Don't use any more.
14893 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14895 (byte-compile-lapcode): Use them and handle new lap codes.
14896 (byte-compile-obsolete): Remove.
14897 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14898 (byte-compile-arglist-warn): Check late def of inlinable funs.
14899 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14900 since they should have been expanded by now.
14901 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14902 (byte-compile-from-buffer): Remove unused second arg.
14903 (byte-compile-preprocess): New function.
14904 (byte-compile-toplevel-file-form): New function to distinguish
14905 file-form calls from outside from file-form calls from hunk-handlers.
14906 (byte-compile-file-form): Simplify.
14907 (byte-compile-file-form-defsubst): Remove.
14908 (byte-compile-file-form-defmumble): Simplify now that
14909 byte-compile-lambda always returns a byte-code-function.
14910 (byte-compile): Preprocess.
14911 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14912 Remove, not used any more.
14913 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14914 (byte-compile-make-args-desc): New funs.
14915 (byte-compile-lambda): Handle lexical functions. Always return
14916 a byte-code-function.
14917 (byte-compile-reserved-constants): New var, to make up room for
14918 closed-over variables.
14919 (byte-compile-constants-vector): Obey it.
14920 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14921 (byte-compile-macroexpand-declare-function): New function.
14922 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14923 byte-code-functions.
14924 (byte-compile-form): Check obsolescence here.
14925 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14926 (byte-compile-variable-ref): Remove.
14927 (byte-compile-dynamic-variable-op): New fun.
14928 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14929 (byte-compile-variable-set): New funs.
14930 (byte-compile-discard): Add 2 args.
14931 (byte-compile-stack-ref, byte-compile-stack-set)
14932 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14933 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14934 macroexpand-all instead.
14935 (byte-compile-quote-form): Remove.
14936 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14937 (byte-compile-bind, byte-compile-unbind): New funs.
14938 (byte-compile-let): Handle let* and lexical binding.
14939 (byte-compile-let*): Remove.
14940 (byte-compile-catch, byte-compile-unwind-protect)
14941 (byte-compile-track-mouse, byte-compile-condition-case):
14942 Handle a new :fun-body form, used for lexical scoping.
14943 (byte-compile-save-window-excursion)
14944 (byte-compile-with-output-to-temp-buffer): Remove.
14945 (byte-compile-defun): Simplify.
14946 (byte-compile-stack-adjustment): New fun.
14947 (byte-compile-out): Use it.
14948 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14950 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14953 * emacs-lisp/byte-opt.el: Use lexical binding.
14954 (byte-inline-lapcode): Remove (to bytecomp).
14955 (byte-compile-inline-expand): Pay attention to inlining to/from
14956 lexically bound code.
14957 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14959 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14960 any more and don't call compiler-macros.
14961 (byte-compile-splice-in-already-compiled-code): Remove.
14962 (byte-code): Don't inline any more.
14963 (disassemble-offset): Receive `bytes' as argument rather than via
14965 (byte-compile-tag-number): Declare before first use.
14966 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14967 `return' even if make-spliceable.
14968 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14969 obsolete interactive-p.
14970 (byte-optimize-lapcode): Optimize new lap-codes.
14971 Don't trip up on new form of `byte-constant' lap code.
14973 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14975 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14977 * custom.el (custom-initialize-default, custom-declare-variable):
14980 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14982 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14983 (COMPILE_FIRST): Add macroexp and cconv.
14984 * makefile.w32-in: Mirror changes in Makefile.in.
14986 * vc/cvs-status.el:
14990 * vc/smerge-mode.el:
14991 * textmodes/bibtex-style.el:
14992 * textmodes/css.el:
15000 * emacs-lisp/smie.el:
15003 * abbrev.el: Use lexical binding.
15005 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15007 * info.el (info-display-manual): New function.
15009 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15011 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15013 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15015 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15016 an entry for that server in rcirc-authinfo. (Bug#8385)
15018 2011-03-31 Glenn Morris <rgm@gnu.org>
15020 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15022 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15024 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15026 * progmodes/python.el (python-default-interpreter)
15027 (python-python-command-args, python-jython-command-args)
15028 (python-which-shell, python-which-args, python-which-bufname)
15029 (python-file-queue, python-comint-output-filter-function)
15030 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15031 variables and functions.
15033 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15035 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15036 (completion-in-region-mode): New minor mode.
15037 (completion-in-region): Use it.
15038 (completion-in-region--data, completion-in-region-mode-map): New vars.
15039 (completion-in-region--postch): New function.
15040 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15042 (completion--capf-wrapper): New function.
15043 (completion-at-point): Use it to track well-behavedness of
15045 (completion-help-at-point): New command.
15047 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15049 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15050 syntax class to search for whitespace on a single line
15051 (Message-ID: <4D938140.4030905@redhat.com>).
15053 2011-03-30 Leo Liu <sdl.web@gmail.com>
15055 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15057 (edit-abbrevs-map): Bind them here.
15058 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15060 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15062 * allout.el (allout-hide-by-annotation, allout-flag-region):
15063 Reduce possibility of overlay leakage by making them volatile.
15065 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15066 hash is not shared between buffers. Mode initialization is
15067 responsible for giving it a useful starting value.
15068 (allout-item-span): Reduce possibility of overlay leakage by
15069 making them volatile.
15070 (allout-widgets-count-buttons-in-region): Add diagnostic function
15071 for tracking down button overlay leaks.
15073 2011-03-29 Leo Liu <sdl.web@gmail.com>
15075 * ido.el (ido-read-internal): Use the default history var
15076 minibuffer-history if no HISTORY is specified.
15078 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15080 * net/imap.el (imap-shell-open, imap-process-connection-type):
15081 Use imap-process-connection-type for 'shell' streams as well as
15082 Kerberos, SSL, other subprocesses.
15084 2011-03-28 Leo Liu <sdl.web@gmail.com>
15086 * abbrev.el (abbrev-table-empty-p): New function.
15087 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15088 nonempty ones. (Bug#5937)
15090 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15092 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15094 2011-03-27 Leo Liu <sdl.web@gmail.com>
15096 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15097 for foreground and background colors.
15098 (ansi-color-make-color-map): Adapt.
15100 2011-03-25 Leo Liu <sdl.web@gmail.com>
15102 * midnight.el (midnight-time-float): Remove. Note it calculates
15103 the microsecond component incorrectly and seconds-to-time does the
15105 Remove redundant (require 'timer).
15107 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15108 (ido-completions): Remove unused arguments. (Bug#8329)
15110 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15112 * minibuffer.el (completion--flush-all-sorted-completions):
15113 Remove itself from hook.
15114 (completion-at-point): Let the functions perform the completion
15115 immediately and return nil or t.
15116 * comint.el (comint-dynamic-complete-functions): Now identical to
15117 completion-at-point-functions.
15118 (comint-dynamic-list-input-ring): Remove unused var `index'.
15119 (comint--match-partial-filename, comint--unquote&expand-filename):
15120 New funs, split from comint-match-partial-filename.
15121 (comint-dynamic-complete): Use completion-at-point.
15122 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15124 2011-03-24 Drew Adams <drew.adams@oracle.com>
15126 * thingatpt.el: Support `defun'.
15128 2011-03-23 Leo Liu <sdl.web@gmail.com>
15130 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15132 * help-mode.el (help-mode-finish): Tweak regexp.
15134 2011-03-23 Glenn Morris <rgm@gnu.org>
15136 * eshell/esh-opt.el (eshell-eval-using-options):
15137 Do not bind unused local variable `eshell-option-stub'.
15139 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15141 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15143 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15144 keymap variable in `with-no-warnings' to avoid a warning when the
15145 keymap has been already `defconst'ed.
15147 2011-03-22 Leo Liu <sdl.web@gmail.com>
15149 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15150 encode all chars in abbrevs; otherwise use emacs-mule or
15151 utf-8-emacs. (Bug#8308)
15153 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15155 * simple.el (backward-delete-char-untabify):
15156 Avoid warning about using `delete-backward-char'.
15158 * image.el (image-type-file-name-regexps): Make it variable.
15159 `imagemagick-register-types' modifies it, and the user may want
15160 to add new extensions for known image types.
15161 (imagemagick-register-types): Throw error if not using ImageMagick.
15163 2011-03-22 Leo Liu <sdl.web@gmail.com>
15165 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15166 located before rcirc-prompt-end-marker.
15167 (rcirc-complete): Error if point is not after rcirc prompt.
15168 Handle the case when table is nil.
15169 (rcirc-user-authenticated): Define to fix compiler warning.
15171 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15173 * custom.el (custom--inhibit-theme-enable): Make it affect only
15174 custom-theme-set-variables and custom-theme-set-faces.
15175 (provide-theme): Ignore custom--inhibit-theme-enable.
15176 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15177 (custom-enabling-themes): Delete variable.
15178 (enable-theme): Accept only loaded themes as arguments.
15179 Ignore the special custom-enabled-themes variable.
15180 (custom-enabled-themes): Forbid themes from setting this.
15181 Eliminate use of custom-enabling-themes.
15182 (custom-push-theme): Quote "changed" custom var entry.
15184 2011-03-21 Leo Liu <sdl.web@gmail.com>
15186 * ido.el (ido-read-internal): Add ido-selected to history instead
15189 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15191 * subr.el (deferred-action-list, deferred-action-function):
15194 2011-03-21 Leo Liu <sdl.web@gmail.com>
15196 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15197 change on 2011-02-13 (bug#8309).
15199 * minibuffer.el (read-file-name-function): Change default value.
15200 (read-file-name--defaults): Rename from read-file-name-defaults.
15201 (read-file-name-default): Rename from read-file-name.
15202 (read-file-name): Call read-file-name-function.
15204 2011-03-21 Glenn Morris <rgm@gnu.org>
15206 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15209 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15211 * cus-theme.el: Add missing provide statement.
15212 (customize-create-theme): Extract theme value correctly.
15213 (custom-theme-visit-theme): Autoload.
15214 (customize-create-theme): Prompt before inserting default faces.
15216 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15218 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15219 units and musical notes.
15221 2011-03-20 Leo Liu <sdl.web@gmail.com>
15223 * ido.el (ido-read-internal): Use completing-read-default.
15224 (ido-completing-read): Fix compatibility with completing-read.
15226 2011-03-20 Christian Ohler <ohler@gnu.org>
15228 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15229 (ert-delete-all-tests): Use `called-interactively-p' rather than
15231 (ert--make-xrefs-region): Respect END.
15233 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15235 * dired-aux.el (dired-create-directory): Signal an error if the
15236 directory already exists (Bug#8246).
15238 * facemenu.el (list-colors-display): Call list-faces-display
15239 inside with-help-window.
15240 (list-colors-print): Use display property to align the final
15241 column, instead of checking window-width.
15243 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15245 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15246 windows-nt systems.
15247 (emerge-protect-metachars): Quote correctly for ms-dos and
15248 windows-nt systems.
15250 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15252 * info.el (info-initialize): Replace all uses of `:' with
15253 path-separator for compatibility with non-Unix systems.
15254 Cache quoting of path-separator. (Bug#8258)
15256 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15258 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15259 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15260 (mouse-avoidance-mode): Fix typos in docstrings.
15262 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15264 * startup.el (package-subdirectory-regexp): Move from package.el.
15265 Omit \\` and \\', and let callers add them.
15267 * emacs-lisp/package.el (package-strip-version)
15268 (package-load-all-descriptors): Add \\` and \\' to
15269 package-subdirectory-regexp before using it.
15270 (package-untar-buffer): New arg DIR; ensure that file untars only
15271 into this expected directory. Remove superfluous delete-region.
15272 (package-unpack): Caller changed.
15273 (package-tar-file-info): Use package-subdirectory-regexp.
15275 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15277 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15278 diff-mode-shared-map (bug#8284).
15279 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15281 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15283 * calendar/time-date.el (format-seconds): Use assoc instead of
15284 assoc-string, since assoc-string doesn't exist in XEmacs.
15286 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15288 * custom.el (custom-known-themes): Reflow docstring.
15289 (custom-theme-load-path): Fix typo in docstring.
15290 (load-theme): Fix typo in error message.
15291 (custom-available-themes, custom-variable-theme-value):
15292 Use `let', not `let*'.
15294 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15296 * calc/README: Mention inclusion of musical notes.
15298 * calc/calc-units.el (calc-lu-quant): Rename from
15299 `calc-logunits-quantity'.
15300 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15301 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15302 (calc-db): Rename from `calc-dblevel'.
15303 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15304 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15305 (calc-np): Rename from `calc-nplevel'.
15306 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15307 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15308 (calc-lu-plus): Rename from `calc-logunits-add'.
15309 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15310 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15311 (calc-lu-minus): Rename from `calc-logunits-sub'.
15312 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15313 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15314 (calc-lu-times): Rename from `calc-logunits-mul'.
15315 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15316 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15317 (calc-lu-divide): Rename from `calc-logunits-div'.
15318 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15319 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15321 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15322 functions being autoloaded.
15324 * calc/calc.el (calc-lu-power-reference): Rename from
15325 `calc-logunits-power-reference'.
15326 (calc-lu-field-reference): Rename from
15327 `calc-logunits-field-reference'.
15329 * calc/calc-help.el (calc-l-prefix-help):
15330 Mention musical note functions.
15332 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15334 * minibuffer.el (completion-all-sorted-completions):
15335 Use :completion-cycle-penalty text property if present.
15337 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15339 * allout.el (allout-yank-processing): Adjust for new rebulleting
15340 regime so bullet being yanked is used without prompting the user
15343 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15345 * startup.el (command-line): Warn the user that _emacs is deprecated.
15347 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15349 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15350 (delphi-verbose, delphi-comment-face, delphi-string-face)
15351 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15352 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15353 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15354 (delphi-new-comment-line, delphi-font-lock-defaults)
15355 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15356 Fix typos in docstrings.
15358 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15360 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15361 Invert the roles of character and string values for INSTEAD, so a
15362 string is used for the more common case of a defaulting prompt.
15364 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15366 * progmodes/ruby-mode.el (ruby-backward-sexp):
15367 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15368 * play/gamegrid.el (gamegrid-make-face):
15369 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15370 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15371 * notifications.el (notifications-notify):
15372 * net/xesam.el (xesam-search-engines):
15373 * net/quickurl.el (quickurl-list-insert):
15374 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15376 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15378 * startup.el (command-line): Update package subdirectory regexp.
15380 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15382 * allout.el (allout-abbreviate-flattened-numbering)
15383 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15385 * subr.el (read-char-choice): Only show the cursor after the prompt,
15386 not after the answer.
15388 2011-03-15 Kevin Ryde <user42@zip.com.au>
15390 * help-fns.el (variable-at-point): Skip leading quotes, if any
15393 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15395 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15398 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15400 * shell.el (shell): When called interactively, offer to change the
15401 shell file name on remote hosts.
15403 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15405 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15406 integration for LDAP parameters. The host, base, user or binddn,
15407 and secret tokens can be specified in a netrc file, for instance.
15408 This is optional because an `auth-source' parameter must be
15409 specified in the search attributes.
15411 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15413 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15415 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15417 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15418 into declaration. Remove redundant and harmful binding.
15420 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15422 * files.el (file-ownership-preserved-p): Pass `integer' as an
15423 explicit 2nd argument to `file-attributes'. If the file's owner
15424 is the Administrators group on Windows, and the current user is
15425 Administrator, consider that a match.
15427 * server.el (server-ensure-safe-dir): Consider server directory
15428 safe on MS-Windows if its owner is the Administrators group while
15429 the current Emacs user is Administrator. Use `=' to compare
15430 numerical UIDs, since they could be integers or floats.
15432 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15434 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15436 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15438 Sync with Tramp 2.2.1.
15440 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15442 * net/trampver.el: Update release number.
15444 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15446 * progmodes/compile.el (compilation--previous-directory): Fix up
15447 various nil/dead-marker mismatches (bug#8014).
15448 (compilation-directory-properties, compilation-error-properties):
15449 Don't call it at a position past the one we're about to change.
15451 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15452 Disable obsolescence warnings in the file that declares it.
15454 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15456 * allout-widgets.el (allout-widgets-tally):
15457 Initialize allout-widgets-tally as a hash table rather than nil to
15458 prevent mode-line redisplay warnings. Also, clarify the module
15459 description and fix a comment typo.
15461 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15463 * help-fns.el (describe-variable): Don't complete keywords.
15464 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15466 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15468 * emacs-lisp/package.el (package-version-join): Impose a standard
15469 string representation for pre/alpha/beta version lists.
15470 (package-unpack-single): Standardize the directory name by passing
15471 it through package-version-join.
15472 (package-strip-rcs-id): Accept any version string that does not
15473 signal an error in version-to-list.
15475 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15477 * simple.el (delete-trailing-whitespace): Return nil for the
15478 benefit of `write-file-functions'.
15480 2011-03-10 Glenn Morris <rgm@gnu.org>
15482 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15484 * vc/vc-git.el (vc-git-program): New option.
15485 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15486 (vc-git--call): Use it.
15488 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15490 * cus-edit.el (Custom-newline): If no button at point, look
15491 for a subgroup button at start-of-line. (Bug#2298)
15493 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15495 2011-03-10 Julien Danjou <julien@danjou.info>
15497 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15498 `cursor-type' is nil.
15500 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15502 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15504 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15506 * allout.el: Change so yank of distinctive-bullet items
15507 preserves the existing header prefix, rebulleting it if necessary,
15508 rather than replacing it. This is necessary for proper operation
15509 of cooperative addons like allout-widgets.
15510 (allout-make-topic-prefix, allout-rebullet-heading):
15511 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15512 value as alternate bullet to be used, instead of prompting the user
15513 for a bullet character.
15515 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15517 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15518 Do not use `tramp-file-name-port', because this returns also
15519 `tramp-default-port'.
15521 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15523 * net/rcirc.el (rcirc-handler-001): Remove useless
15524 with-rcirc-process-buffer.
15525 (rcirc-check-auth-status): Swap arguments to string-match.
15527 2011-03-09 Glenn Morris <rgm@gnu.org>
15529 * shell.el (shell-mode):
15530 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15532 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15533 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15535 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15537 * emacs-lisp/package.el (package-refresh-contents)
15538 (package-menu-execute): Use condition-case-no-debug.
15540 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15542 * simple.el (shell-command-to-string): Use `process-file'.
15544 * emacs-lisp/package.el (package-tar-file-info): Handle also
15547 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15548 Use `equal' for upload base check.
15550 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15552 * textmodes/texinfo.el (texinfo-environments):
15553 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15555 2011-03-08 Glenn Morris <rgm@gnu.org>
15557 * cus-start.el (cursor-in-non-selected-windows):
15558 Fix :set quoting oddness. (Bug#8192)
15560 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15561 in some setf expressions. (Bug#2159)
15563 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15565 * custom.el (custom-available-themes): Return themes in
15566 alphabetical order.
15568 See ChangeLog.15 for earlier changes.
15570 ;; Local Variables:
15574 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15576 This file is part of GNU Emacs.
15578 GNU Emacs is free software: you can redistribute it and/or modify
15579 it under the terms of the GNU General Public License as published by
15580 the Free Software Foundation, either version 3 of the License, or
15581 (at your option) any later version.
15583 GNU Emacs is distributed in the hope that it will be useful,
15584 but WITHOUT ANY WARRANTY; without even the implied warranty of
15585 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15586 GNU General Public License for more details.
15588 You should have received a copy of the GNU General Public License
15589 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.