1 2012-06-13 Glenn Morris <rgm@gnu.org>
3 * international/mule-cmds.el (mule-menu-keymap)
4 (set-language-environment, set-locale-environment): Doc tweaks.
6 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8 * cus-face.el (custom-face-attributes): Add wave-style underline
10 * faces.el (set-face-attribute): Update docstring to describe
11 wave-style underline attribute.
13 2012-06-16 Chong Yidong <cyd@gnu.org>
15 * term/xterm.el (terminal-init-xterm): Discard input before
16 querying background mode (Bug#10959).
18 2012-06-16 Stefan Merten <smerten@oekonux.de>
20 * textmodes/rst.el: Added and corrected some comments.
21 (rst-re-alist-def): Improve symbol syntax.
22 (rst-mode-syntax-table): Correct syntax entries.
23 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
24 (rst-official-version, rst-official-cvs-rev): Update version
27 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
29 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
30 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
32 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
34 * progmodes/python.el: New python.el merge.
35 (python-guess-indent): Obsolete var.
36 (python-indent-guess-indent-offset): New defcustom.
37 (python-indent): Obsolete var.
38 (python-indent-offset): New defcustom.
39 (python-python-command, python-jython-command): Delete var.
40 (python-shell-interpreter): New defcustom.
41 (python-pdbtrack-do-tracking-p): Delete var.
42 (python-pdbtrack-activate): New defcustom.
43 (python-use-skeletons): Obsolete var.
44 (python-skeleton-autoinsert): New defcustom.
45 (inferior-python-filter-regexp, python-continuation-offset)
46 (python-honour-comment-indentation, python-indent-string-contents)
47 (python-jython-packages, python-mode-hook)
48 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
49 (python-shell-prompt-alist)
50 (python-source-modes): Delete defcustoms.
51 (python-check-buffer-name, python-eldoc-setup-code)
52 (python-eldoc-string-code, python-ffap-setup-code)
53 (python-ffap-string-code, python-fill-comment-function)
54 (python-fill-decorator-function, python-fill-paren-function)
55 (python-fill-string-function, python-imenu-include-defun-type)
56 (python-imenu-make-tree, python-imenu-subtree-root-label)
57 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
58 (python-shell-compilation-regexp-alist)
59 (python-shell-completion-module-string-code)
60 (python-shell-completion-pdb-string-code)
61 (python-shell-completion-setup-code)
62 (python-shell-completion-string-code)
63 (python-shell-enable-font-lock, python-shell-exec-path)
64 (python-shell-extra-pythonpaths)
65 (python-shell-internal-buffer-name, python-shell-interpreter-args)
66 (python-shell-process-environment)
67 (python-shell-prompt-block-regexp)
68 (python-shell-prompt-output-regexp)
69 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
70 (python-shell-send-setup-max-wait, python-shell-setup-codes)
71 (python-shell-virtualenv-path): New defcustoms.
72 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
73 (inferior-python-mode-syntax-table, python--prompt-regexp)
74 (python-buffer, python-command python-python-command)
75 (python-default-template, python-imports, python-indent-index)
76 (python-indent-list, python-indent-list-length)
77 (python-mode-running, python-pdbtrack-is-tracking-p)
78 (python-preoutput-continuation, python-preoutput-leftover)
79 (python-preoutput-result, python-preoutput-skip-next-prompt)
80 (python-prev-dir/file, python-recursing)
81 (python-saved-check-command, python-version-checked)
82 (python-which-func-length-limit)
83 (view-return-to-alist): Delete vars.
84 (python-check-custom-command, python-dotty-syntax-table)
85 (python-imenu-index-alist, python-indent-current-level)
86 (python-indent-dedenters, python-indent-levels)
87 (python-nav-beginning-of-defun-regexp)
88 (python-nav-list-defun-positions-cache)
89 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
90 (python-shell-internal-buffer)
91 (python-skeleton-available): New vars.
92 (def-python-skeleton): Delete macro.
93 (python-skeleton-define): New macro.
94 (python-define-auxiliary-skeleton, python-rx): New macros.
95 (python-insert-class): Delete command.
96 (python-skeleton-class): New command.
97 (python-insert-def): Delete command.
98 (python-skeleton-def): New command.
99 (python-insert-for): Delete command.
100 (python-skeleton-for): New command.
101 (python-insert-if): Delete command.
102 (python-skeleton-if): New command.
103 (python-insert-try/except, python-insert-try/finally): Delete commands.
104 (python-skeleton-try): New command.
105 (python-insert-while): Delete command.
106 (python-skeleton-while): New command.
107 (python-backspace): Delete command.
108 (python-indent-dedent-line-backspace): New command.
109 (python-electric-colon): Delete command.
110 (python-indent-electric-colon): New command.
111 (python-guess-indent): Delete command.
112 (python-indent-guess-indent-offset): New command.
113 (python-shift-left): Delete command.
114 (python-indent-shift-left): New command.
115 (python-shift-right): Delete command.
116 (python-indent-shift-right): New command.
117 (python-find-function): Delete command.
118 (python-nav-jump-to-defun): New command.
119 (python-next-statement): Delete command.
120 (python-nav-forward-sentence): New command.
121 (python-previous-statement): Delete command.
122 (python-nav-backward-sentence): New command.
123 (python-fill-paragraph): Delete command.
124 (python-fill-paragraph-function): New command.
125 (python-send-buffer): Delete command.
126 (python-shell-send-buffer): New command.
127 (python-send-defun): Delete command.
128 (python-shell-send-defun): New command.
129 (python-send-region, python-send-region-and-go): Delete commands.
130 (python-shell-send-region)
131 (python-shell-switch-to-shell): New commands.
132 (python-send-string): Delete command.
133 (python-shell-send-string): New command.
134 (python-switch-to-python): Delete command.
135 (python-shell-switch-to-shell): New command.
136 (python-describe-symbol): Delete command.
137 (python-eldoc-at-point): New command.
138 (python--set-prompt-regexp, python-args-to-list)
139 (python-after-info-look, python-check-version)
140 (python-check-comint-prompt, python-find-imports)
141 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
142 (python-unload-function, python-expand-template)
143 (python-maybe-jython, python-preoutput-filter)
144 (python-pdbtrack-get-source-buffer)
145 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
146 (python-pdbtrack-toggle-stack-tracking)
147 (python-pdbtrack-track-stack-file, python-initial-text)
148 (python-first-word, python-comment-line-p, python-send-command)
149 (python-setup-brm, python-sentinel, python-set-proc)
150 (python-skip-out, python-input-filter, python-outdent-p)
151 (python-outline-level, python-backslash-continuation-line-p)
152 (python-end-of-block, python-end-of-statement, python-mark-block)
153 (python-beginning-of-block, python-beginning-of-statement)
154 (python-blank-line-p, python-beginning-of-string)
155 (python-open-block-statement-p): Delete functions.
156 (python-indent-line, python-indent-line-1): Delete functions.
157 (python-indent-line): New function.
158 (python-indentation-levels): Delete function.
159 (python-indent-calculate-levels): New function.
160 (python-proc): Delete function.
161 (python-shell-get-process): New function.
162 (python-send-receive): Delete function.
163 (python-shell-send-string-no-output): New function.
164 (python-module-path): Delete function.
165 (python-ffap-module-path): New function.
166 (python-completion-at-point)
167 (python-symbol-completions): Delete functions.
168 (python-completion-complete-at-point): New function.
169 (python-load-file): Delete function.
170 (python-shell-send-file): New function.
171 (python-calculate-indentation): Delete function.
172 (python-indent-calculate-indentation): New function.
173 (python-skip-comments/blanks): Delete function.
174 (python-util-forward-comment): New function.
175 (python-continuation-line-p): Delete function.
176 (python-info-continuation-line-p): New function.
177 (python-which-func, python-current-defun): Delete function.
178 (python-info-current-defun): New function.
179 (python-beginning-of-defun): Delete function.
180 (python-nav-beginning-of-defun): New function.
181 (python-close-block-statement-p)
182 (python-block-end-p): Delete function.
183 (python-info-closing-block): New function.
184 (python-comint-output-filter-function)
185 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
186 (python-fill-comment, python-fill-decorator, python-fill-paren)
187 (python-fill-string, python-imenu-make-element-tree)
188 (python-imenu-make-tree, python-imenu-tree-assoc)
189 (python-indent-context, python-indent-dedent-line)
190 (python-indent-line-function)
191 (python-indent-post-self-insert-function)
192 (python-indent-toggle-levels)
193 (python-info-assignment-continuation-line-p)
194 (python-info-beginning-of-backlash)
195 (python-info-block-continuation-line-p)
196 (python-info-closing-block-message)
197 (python-info-line-ends-backslash-p)
198 (python-info-looking-at-beginning-of-defun)
199 (python-info-ppss-context, python-info-ppss-context-type)
200 (python-nav-list-defun-positions, python-nav-read-defun)
201 (python-nav-sentence-end, python-nav-sentence-start)
202 (python-pdbtrack-comint-output-filter-function)
203 (python-pdbtrack-set-tracked-buffer)
204 (python-shell-calculate-exec-path)
205 (python-shell-calculate-process-environment)
206 (python-shell-completion--do-completion-at-point)
207 (python-shell-completion--get-completions)
208 (python-shell-completion-complete-at-point)
209 (python-shell-completion-complete-or-indent)
210 (python-shell-get-or-create-process)
211 (python-shell-get-process-name)
212 (python-shell-internal-get-or-create-process)
213 (python-shell-internal-get-process-name)
214 (python-shell-internal-send-string, python-shell-make-comint)
215 (python-shell-parse-command, python-shell-send-setup-code)
216 (python-skeleton-add-menu-items)
217 (python-util-clone-local-variables, python-util-position)
218 (run-python-internal, python-indentation-levels)
219 (python-nav-beginning-of-defun)
220 (python-completion-complete-at-point): New functions.
221 (run-python): Change arguments. New API requirements.
223 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
225 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
228 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
229 (macroexp--expand-all): Use it.
231 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
232 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
233 Use `cl-function' instead.
235 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
237 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
238 Suggested by Stefan Monnier while discussing bug#11657.
240 2012-06-14 Sam Steingold <sds@gnu.org>
242 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
244 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
246 * play/doctor.el (doctor-doc): Remove parameter and use
247 doctor-sent instead of sent.
248 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
250 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
252 * files.el: Require cl-lib.
253 (file-name-non-special): Replace case -> cl-case.
255 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
257 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
258 mapping from #' to function*.
260 2012-06-13 Chong Yidong <cyd@gnu.org>
262 * mouse.el (mouse-drag-track): Do not set the mark if the user
263 releases the mouse without selecting anything (Bug#11588).
265 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
267 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
270 * loadup.el: Count byte-code functions as well.
272 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
273 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
275 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
276 (bug#11649). Add cl-defun and cl-defmacro.
278 2012-06-13 Drew Adams <drew.adams@oracle.com>
280 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
283 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
285 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
286 Otherwise, it blocks in batch mode.
288 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
290 * help-mode.el (bookmark-make-record-default): Declare.
292 2012-06-13 Chong Yidong <cyd@gnu.org>
294 * emacs-lisp/package.el (list-packages): Compute a list of
295 packages that are newly-available since the last list-packages
297 (package-menu--new-package-list): New var.
298 (package-menu--generate, package-menu--print-info)
299 (package-menu--status-predicate, package-menu-mark-install):
300 Handle new status label "new".
302 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
304 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
305 conversion to backquotes.
307 2012-06-12 Chong Yidong <cyd@gnu.org>
309 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
310 Rename from gud-inhibit-global-bindings.
312 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
314 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
315 hook from nxml-glyph-set-hook.
317 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
320 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
322 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
323 Convert to defcustom.
325 2012-06-12 Drew Adams <drew.adams@oracle.com>
327 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
329 (help-mode): Use them.
331 2012-06-11 Glenn Morris <rgm@gnu.org>
333 * progmodes/fortran.el (fortran-font-lock-keywords-3):
334 Use preprocessor face for directives.
335 (fortran-directive-re): Doc fix.
337 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
339 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
340 conversion to backquotes (bug#11652).
342 Fix compiler-expansion of CL's cXXr functions (bug#11673).
343 * emacs-lisp/cl-lib.el (cl--defalias): New function.
344 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
345 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
346 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
347 (cl-ninth, cl-tenth): Mark them as inlinable.
348 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
349 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
350 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
351 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
352 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
353 (cl-list*, cl-adjoin): Don't put an autoload manually.
354 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
355 (cl--compiler-macro-list*): Add autoload cookie.
356 (cl--compiler-macro-cXXr): New function.
358 * help-fns.el (help-fns--compiler-macro): New function extracted from
359 describe-function-1; follow aliases and use `compiler-macro' property.
360 (describe-function-1): Use it.
362 2012-06-11 Chong Yidong <cyd@gnu.org>
364 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
365 is uninstalled, if imagemagick is installed.
367 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
369 * emacs-lisp/cl-lib.el: Use lexical-binding.
370 (cl-map-extents, cl-maclisp-member): Remove.
371 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
372 (cl--set-substring, cl--block-wrapper, cl--block-throw)
373 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
374 * emacs-lisp/cl-extra.el: Use lexical-binding.
375 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
376 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
377 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
378 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
379 * emacs-lisp/cl-seq.el: Use lexical-binding.
380 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
381 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
382 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
383 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
384 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
387 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
389 Sync with Tramp 2.2.6-pre.
391 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
392 `print-length' and `print-level' to nil, in order to avoid
393 truncation. Reported by Christopher Schmidt
394 <christopher@ristopher.com>.
396 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
398 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
400 (tramp-compat-copy-directory): Add optional argument
401 COPY-CONTENTS. It is not handled yet.
403 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
404 (tramp-ftp-file-name-p): Simplify.
406 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
407 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
410 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
411 (tramp-methods): Do not use `tramp-password-end-of-line'.
412 (tramp-completion-function-alist-putty): Handle UNIX case.
413 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
414 (tramp-do-file-attributes-with-stat)
415 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
416 gid as real numbers. They could run out of integer range on cygwin.
417 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
418 (tramp-sh-handle-expand-file-name): Handle hops.
419 (tramp-open-connection-setup-interactive-shell):
420 Use `tramp-cleanup'. Move check for busyboxes ...
421 (tramp-find-shell): ... here. Simplify implementation.
422 Set "remote-shell" property also for alternative shells.
423 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
424 If failing, a regular file would be written otherwise.
425 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
426 (tramp-find-inline-encoding): Cache the coding commands in the
427 process cache. Apply test command on the remote side, if defined.
428 (tramp-find-inline-compress): Cache the compress commands in the
430 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
431 when requested. Handle hops.
432 (tramp-current-connection): New defvar.
433 (tramp-maybe-open-connection): Use `tramp-cleanup'.
434 Throw `suppress', if there was a failed connection shortly before.
435 Handle user interrupt. (Bug#10187)
436 (tramp-get-inline-compress, tramp-get-inline-coding):
437 Read connection properties from the process cache.
439 * net/tramp-smb.el (tramp-smb-server-version)
440 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
442 (tramp-smb-prompt): Extend for powershell prompt.
443 (tramp-smb-file-name-handler-alist): Add handlers for
444 `process-file', `shell-command' and `start-file-process'.
445 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
446 (tramp-smb-winexe-shell-command-switch): New defcustoms.
447 (tramp-smb-file-name-p): Simplify.
448 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
449 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
450 (tramp-smb-shell-quote-argument): New defuns.
451 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
452 Implement using "tar". By this, time-stamps are preserved.
453 (tramp-smb-handle-copy-file): Handle also the case of directories.
454 (tramp-smb-do-file-attributes-with-stat)
455 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
456 Use `tramp-get-connection-buffer').
457 (tramp-smb-handle-rename-file): Use "rename", when source and
458 target are on the same share.
459 (tramp-smb-maybe-open-connection): Handle wrong passwords.
460 Use `tramp-smb-server-version'.
461 (tramp-smb-wait-for-output): Remove prompt.
463 * net/tramp.el (top): Require 'cl.
464 (tramp-methods, tramp-rsh-end-of-line):
465 Remove `tramp-password-end-of-line' from docstring.
466 (tramp-save-ad-hoc-proxies): New defcustom.
467 (tramp-completion-function-alist): Adapt docstring.
468 (tramp-default-password-end-of-line): Remove defcustom.
469 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
470 (tramp-user-regexp, tramp-file-name-regexp-unified)
471 (tramp-file-name-regexp-url): Extend regexp by hop separator.
472 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
473 (tramp-remote-file-name-spec-regexp): New defconst.
474 (tramp-file-name-structure): Extend structure for hops.
475 (tramp-get-method-parameter): Move up.
476 (tramp-file-name-p, tramp-dissect-file-name)
477 (with-parsed-tramp-file-name): Handle hops.
478 (tramp-file-name-hop): New defun.
479 (tramp-make-tramp-file-name): New optional arg HOP.
480 (tramp-message-show-progress-reporter-message): New defvar.
481 (tramp-with-progress-reporter): Use it. We cannot use
482 `tramp-message-show-message' here, because this suppresses also
484 (tramp-error-with-buffer): Suppress buffer view, if
485 `tramp-message-show-message' is nil.
486 Use `tramp-get-connection-buffer'.
487 (tramp-cleanup): New defun.
488 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
489 (tramp-file-name-handler): If `debug-on-error' is set, propagate
491 (tramp-completion-handle-file-name-all-completions): Handle hops.
492 Fix an error when called from ido.
493 (tramp-completion-dissect-file-name): Use better local variable
494 name. Add hop to the vector.
495 (tramp-handle-insert-file-contents): Use progress-reporter for the
497 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
499 (tramp-check-for-regexp): Simplify search.
500 (tramp-enter-password): Remove it. Move implementation ...
501 (tramp-action-password): ... here.
502 (tramp-mode-string-to-int, tramp-local-host-p)
503 (tramp-make-tramp-temp-file, tramp-read-passwd)
504 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
505 Set tramp-autoload cookie.
507 * net/trampver.el: Update release number.
509 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
510 Michael Albinus <michael.albinus@gmx.de>
512 * net/tramp.el (tramp-set-completion-function): Fix docstring.
513 (tramp-parse-group, tramp-parse-file)
514 (tramp-parse-shostkeys-sknownhosts): New defuns.
515 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
516 (tramp-parse-shosts-group, tramp-parse-sconfig)
517 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
518 (tramp-parse-sknownhosts, tramp-parse-hosts)
519 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
521 (tramp-parse-passwd-group, tramp-parse-netrc-group)
522 (tramp-parse-putty-group): Don't narrow.
523 (tramp-parse-putty): Make a loop.
524 (tramp-file-name-handler): Catch the `suppress' signal.
526 2012-06-11 Chong Yidong <cyd@gnu.org>
528 * image.el (imagemagick-register-types): Put the ImageMagick entry
529 at the end of image-type-file-name-regexps.
531 2012-06-11 Johan Bockgård <bojohan@gnu.org>
533 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
534 (pcase, pcase-let*, pcase-dolist): Use them.
536 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
538 * emacs-lisp/pcase.el (pcase--let*): New function.
539 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
540 (pcase--expand): Use macroexp-let².
542 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
544 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
545 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
546 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
547 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
548 * emacs-lisp/derived.el: Use pcase instead of `cl'.
549 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
551 2012-06-10 Glenn Morris <rgm@gnu.org>
553 * mail/rmail.el (rmail-yank-current-message): Leave point at
554 correct position. (Bug#11660)
556 2012-06-10 Chong Yidong <cyd@gnu.org>
558 * allout-widgets.el: Fix code header.
560 2012-06-10 Chong Yidong <cyd@gnu.org>
562 * cus-edit.el (customize-changed-options-previous-release):
565 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
567 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
569 2012-06-09 Chong Yidong <cyd@gnu.org>
571 * ebuff-menu.el (electric-buffer-list): Preserve header line.
573 2012-06-09 Martin Rudalics <rudalics@gmx.at>
575 * window.el (special-display-popup-frame): Don't use
576 window--display-buffer (Bug#11651).
578 2012-06-09 Eli Zaretskii <eliz@gnu.org>
580 Fix parallel builds: make sure loaddefs.el is not being written
581 while Lisp files are compiled.
582 (compile): Don't depend on 'mh-autoloads'.
583 (compile-CMD, compile-SH): Depend on 'autoloads'.
584 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
586 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
588 2012-06-09 Chong Yidong <cyd@gnu.org>
590 * face-remap.el (face-remap-add-relative, face-remap-set-base)
591 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
592 Doc fixes (Bug#11225).
594 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
596 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
597 a function if there's a clear indication that it has a compiler-macro.
598 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
599 (macro-declarations-alist): Add arglist to declaration functions.
600 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
601 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
602 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
603 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
604 Also add autoload to find the compiler macro.
605 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
606 (cl--compiler-macro-member, cl--compiler-macro-assoc)
607 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
608 (cl--compiler-macro-get): New functions, replacing calls to
609 cl-define-compiler-macro.
610 (cl-typep) [compiler-macro]: Use macroexp-let².
612 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
614 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
615 string properly, fixes Bug#11473.
617 2012-06-08 Chong Yidong <cyd@gnu.org>
619 * faces.el (set-face-attribute): Doc fix.
620 (modify-face): Don't use :bold and :italic.
621 (error, warning, success): Tweak definitions.
623 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
624 (custom-modified, custom-set, custom-changed, custom-themed)
625 (custom-saved, custom-button, custom-button-mouse)
626 (custom-button-pressed, custom-state, custom-comment-tag)
627 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
628 (custom-group-subtitle): Use new-style face specs.
629 (custom-invalid-face, custom-rogue-face, custom-modified-face)
630 (custom-set-face, custom-changed-face, custom-saved-face)
631 (custom-button-face, custom-button-pressed-face)
632 (custom-documentation-face, custom-state-face)
633 (custom-comment-face, custom-comment-tag-face)
634 (custom-variable-tag-face, custom-variable-button-face)
635 (custom-face-tag-face, custom-group-tag-face-1)
636 (custom-group-tag-face): Remove obsolete face alias.
638 * epa.el (epa-validity-high, epa-validity-medium)
639 (epa-validity-low, epa-mark, epa-field-name, epa-string)
640 (epa-field-name, epa-field-body):
641 * font-lock.el (font-lock-comment-face, font-lock-string-face)
642 (font-lock-keyword-face, font-lock-builtin-face)
643 (font-lock-function-name-face, font-lock-variable-name-face)
644 (font-lock-type-face, font-lock-constant-face):
645 * ido.el (ido-first-match, ido-only-match, ido-subdir)
646 (ido-virtual, ido-indicator, ido-incomplete-regexp):
647 * speedbar.el (speedbar-button-face, speedbar-file-face)
648 (speedbar-directory-face, speedbar-tag-face)
649 (speedbar-selected-face, speedbar-highlight-face)
650 (speedbar-separator-face):
651 * whitespace.el (whitespace-newline, whitespace-space)
652 (whitespace-hspace, whitespace-tab, whitespace-trailing)
653 (whitespace-line, whitespace-space-before-tab)
654 (whitespace-space-after-tab, whitespace-indentation)
656 * emulation/cua-base.el (cua-global-mark):
657 * eshell/em-prompt.el (eshell-prompt):
658 * net/newst-plainview.el (newsticker-new-item-face)
659 (newsticker-old-item-face, newsticker-immortal-item-face)
660 (newsticker-obsolete-item-face, newsticker-date-face)
661 (newsticker-statistics-face, newsticker-default-face):
662 * net/newst-reader.el (newsticker-feed-face)
663 (newsticker-extra-face, newsticker-enclosure-face):
664 * net/newst-treeview.el (newsticker-treeview-face)
665 (newsticker-treeview-new-face, newsticker-treeview-old-face)
666 (newsticker-treeview-immortal-face)
667 (newsticker-treeview-obsolete-face)
668 (newsticker-treeview-selection-face):
669 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
670 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
671 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
672 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
673 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
674 (nxml-outline-active-indicator, nxml-outline-ellipsis):
675 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
677 * progmodes/vera-mode.el (vera-font-lock-number)
678 (vera-font-lock-function, vera-font-lock-interface):
679 * textmodes/table.el (table-cell): Use new-style face specs, and
680 don't use the old :bold and :italic attributes.
682 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
683 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
684 (ebrowse-member-class, ebrowse-progress): Likewise.
685 (ebrowse-tree-mark-face, ebrowse-root-class-face)
686 (ebrowse-file-name-face, ebrowse-default-face)
687 (ebrowse-member-attribute-face, ebrowse-member-class-face)
688 (ebrowse-progress-face): Remove obsolete faces.
690 * progmodes/flymake.el (flymake-errline, flymake-warnline):
691 Inherit from error and warning faces respectively.
693 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
695 (flyspell-incorrect-face, flyspell-duplicate-face):
696 Remove obsolete aliases.
698 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
700 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
703 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
705 * startup.el (argv, argi): Make lexically scoped.
706 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
707 * emacs-lisp/cl-macs.el: Use lexical-binding.
708 Rename cl-bind-* to cl--bind-*.
709 * files.el: Don't require `cl' since it doesn't use it.
710 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
712 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
714 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
715 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
716 instead of calling external sort utility.
717 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
719 2012-06-08 Eli Zaretskii <eliz@gnu.org>
721 * descr-text.el (describe-char): Mention how to insert the
722 character, if the current input method doesn't support it.
723 See the discussion in this thread for the details:
724 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
726 2012-06-08 Sam Steingold <sds@gnu.org>
728 * bindings.el (global-map): Bind XF86Forward to next-buffer and
729 XF86Back to previous-buffer.
730 (minibuffer-local-map): Bind them to next-history-element and
731 previous-history-element respectively.
732 * help-mode.el (help-mode-map): Bind them to help-go-forward and
733 help-go-back respectively.
734 * info.el (Info-mode-map): Bind them to Info-history-forward and
735 Info-history-back respectively.
736 These are the keys next to Up on the ThinkPad keyboard.
738 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
740 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
741 * emacs-lisp/cl-macs.el: Provide itself.
742 (cl--labels-convert-cache): New var.
743 (cl--labels-convert): New function.
744 (cl-flet, cl-labels): New implementation with new semantics, relying on
746 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
747 (cl-closure-vars, cl--function-convert-cache)
748 (cl--function-convert): Move from cl-macs.el.
749 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
750 rename by removing the "cl-" prefix.
751 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
753 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
755 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
756 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
757 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
758 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
759 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
760 (cl-hash-table-count): Add old compatibility aliases.
762 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
763 Use macroexpand-all-environment instead.
764 (cl--old-macroexpand): New var.
765 (cl--sm-macroexpand): New function.
766 (cl-symbol-macrolet): Use it during macro expansion.
767 (cl--function-convert-cache): New var.
768 (cl--function-convert): New function, extracted from
770 (cl-lexical-let): Use it.
772 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
773 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
774 (cl-member): Remove old alias.
776 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
777 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
778 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
779 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
780 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
781 (cl-macroexpand-cmacs): Remove var.
782 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
783 Use macroexpand-all instead.
785 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
787 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
788 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
789 (macroexp-copyable-p): New functions and macros.
790 * emacs-lisp/edebug.el (edebug-unwrap):
791 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
792 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
793 (pcase--let*): Remove.
794 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
795 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
796 macroexp-const-p instead.
797 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
799 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
800 instead of "cl-" for internal definitions. Use macroexp-const-p.
801 (cl-old-bc-file-form): Remove var.
802 (cl-const-exprs-p): Remove fun.
803 (cl-labels, cl-macrolet): Use backquote.
804 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
805 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
806 (cl-define-setf-expander): Rename from cl-define-setf-method.
807 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
809 * international/mule-cmds.el: Don't require CL.
810 (view-hello-file): Don't use `letf'.
812 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
814 * tmm.el (tmm-prompt): Use string-prefix-p.
815 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
816 (tmm-add-prompt): Use minibuffer-completion-help.
817 (tmm-delete-map): Remove.
819 * subr.el (kbd): Make it its own function.
821 2012-06-07 Stefan Merten <smerten@oekonux.de>
823 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
824 Silence compiler warnings. Fix versions.
825 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
826 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
827 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
828 (rst-package-emacs-version-alist): Correct Emacs version to
829 represent major merge with upstream.
830 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
832 2012-06-06 Glenn Morris <rgm@gnu.org>
834 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
835 Only print environment variables if set.
837 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
839 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
840 (macroexp--cons): Rename from maybe-cons.
841 (macroexp--accumulate): Rename from macroexp-accumulate.
842 (macroexp--all-forms): Rename from macroexpand-all-forms.
843 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
844 (macroexp--expand-all): Rename from macroexpand-all-1.
846 2012-06-06 Sam Steingold <sds@gnu.org>
848 * calendar/calendar.el (calendar-in-read-only-buffer):
849 Call `special-mode' to enable the standard read-only keybindings.
851 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
853 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
854 with "loading" messages (bug#11635).
856 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
858 * files.el (enable-remote-dir-locals): New option.
859 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
861 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
862 Ensure, that the temp directory is local.
864 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
865 `temporary-file-directory'.
867 * progmodes/python.el (python-send-region): Ensure, that the
868 temporary file is created also in the remote case.
870 2012-06-06 Glenn Morris <rgm@gnu.org>
872 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
873 (vc-rcs-update-changelog): Use it.
875 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
877 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
878 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
879 (vc-sccs-diff): Replace use of the external vcdiff script.
881 2012-06-05 Glenn Morris <rgm@gnu.org>
883 * ledit.el: Move to obsolete/.
885 2012-06-05 Sam Steingold <sds@gnu.org>
887 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
890 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
892 * emacs-list/cust-print.el: Move to obsolete.
894 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
895 compiler-macro expansion.
897 Add native compiler-macro support.
898 * emacs-lisp/macroexp.el (macroexpand-all-1):
899 Support compiler-macros directly. Properly follow aliases and apply
900 the compiler macros more thoroughly.
901 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
902 macroexpand now properly follows aliases.
903 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
904 (cl-compiler-macroexpand): Use new prop.
905 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
907 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
909 2012-06-05 Martin Rudalics <rudalics@gmx.at>
911 * window.el (get-lru-window, get-mru-window, get-largest-window):
912 New argument NOT-SELECTED to avoid picking the selected window.
913 (window--display-buffer-1, window--display-buffer-2): Replace by
914 new function window--display-buffer
915 (display-buffer-same-window, display-buffer-reuse-window)
916 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
917 Use window--display-buffer.
918 (display-buffer-use-some-window): Remove temporary dedication
919 hack by calling get-lru-window and get-largest-window with
920 NOT-SELECTED argument non-nil. Call window--display-buffer.
922 2012-06-05 Glenn Morris <rgm@gnu.org>
924 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
925 Replace external vcdiff script.
927 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
929 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
931 2012-06-04 Chong Yidong <cyd@gnu.org>
933 * image.el (imagemagick-types-inhibit): Revert last change.
935 (imagemagick-enabled-types): Remove CIN and EPS*.
937 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
939 * emacs-lisp/cl-lib.el: Rename from cl.el.
940 * emacs-lisp/cl.el: New compatibility file.
941 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
942 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
943 to obey the "cl-" prefix.
944 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
946 2012-06-03 Glenn Morris <rgm@gnu.org>
948 * emacs-lisp/authors.el (authors-aliases): Addition.
950 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
953 2012-06-03 Stefan Merten <smerten@oekonux.de>
955 * textmodes/rst.el: Add comments.
956 (rst-transition, rst-adornment): New faces.
957 (rst-adornment-faces-alist): Make default safe to reevaluate.
959 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
960 Improve customization tags.
961 (rst-define-level-faces): Clarify meaning.
963 2012-06-03 Chong Yidong <cyd@gnu.org>
965 * progmodes/compile.el (compilation-mode-line-fail)
966 (compilation-mode-line-run, compilation-mode-line-exit):
968 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
970 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
972 * progmodes/which-func.el (which-func-update-ediff-windows):
973 New function. Use it in ediff-select-hook (Bug#11478).
975 2012-06-03 Chong Yidong <cyd@gnu.org>
977 * bindings.el: Remove explicit help text from format-mode-line.
978 It is now supplied by mode-line-default-help-echo.
979 (mode-line-front-space, mode-line-end-spaces)
980 (mode-line-misc-info): New variables.
981 (mode-line-modes, mode-line-position): Move the default value to
982 the variable definition.
983 (mode-line-default-help-echo): New defcustom.
984 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
985 (mode-line-modified-help-echo): New functions.
986 (mode-line-mule-info, mode-line-modified): Use them.
987 (mode-line-eol-desc, propertized-buffer-identification):
988 Consistency fixes for help text.
989 (mode-line-coding-system-map): Allow using mouse-3 to invoke
990 set-buffer-file-coding-system (Bug#289).
991 (mode-line-mule-info-help-echo): Update help text.
993 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
995 * simple.el (execute-extended-command): Set real-this-command
998 2012-06-02 Chong Yidong <cyd@gnu.org>
1000 Remove incorrect uses of "modeline" in comments, docstrings, and
1001 function/variable names (Bug#10329).
1003 * cus-edit.el (mode-line):
1004 * dframe.el (dframe-mouse-hscroll):
1005 * emacs-lisp/re-builder.el:
1006 * emacs-lisp/easy-mmode.el (define-minor-mode):
1007 * frame.el (set-frame-name):
1008 * help.el (lookup-minor-mode-from-indicator):
1009 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1010 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1011 (c-toggle-hungry-state):
1012 * progmodes/antlr-mode.el (antlr-language-alist):
1013 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1014 * progmodes/vhdl-mode.el (vhdl-mode):
1015 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1016 * term/ns-win.el (ns-face-at-pos):
1017 * term/sup-mouse.el (sup-mouse-report):
1018 * textmodes/flyspell.el (flyspell-mode-line-string):
1019 * textmodes/ispell.el (ispell-highlight-face):
1020 * textmodes/reftex-global.el:
1021 * vc/vc-arch.el (vc-arch-mode-line-string):
1022 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1023 * vc/vc-git.el (vc-git-mode-line-string):
1024 * vc/vc-hooks.el (vc-display-status)
1025 (vc-default-mode-line-string):
1026 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1028 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1030 * dired.el (dired-sort-set-mode-line): Rename from
1031 dired-sort-set-modeline. All callers changed.
1033 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1034 eshell-status-in-modeline.
1036 * foldout.el (foldout-mode-line-string): Rename from
1037 foldout-modeline-string. All callers changed.
1038 (foldout-update-mode-line): Rename from foldout-update-modeline.
1040 * subr.el (redraw-modeline): Make into obsolete alias.
1042 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1043 timeclock-modeline-display. Make old name an alias.
1044 (timeclock-update-mode-line): Likewise. All callers changed.
1045 (timeclock-mode-line-display): No need to check before using
1047 (timeclock-relative, timeclock-day-over-hook)
1048 (timeclock-use-elapsed, timeclock-mode-string)
1049 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1051 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1052 crisp-mode-modeline-string.
1054 * play/solitaire.el (solitaire-build-mode-line): Rename from
1055 solitaire-build-modeline. All callers changed.
1057 * play/zone.el (zone-hiding-mode-line): Rename from
1058 zone-hiding-modeline. All callers changed.
1059 (zone): Remove unusued `modeline-hidden-level' property.
1061 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1062 xscheme-modeline-initialize. All callers changed.
1064 * strokes.el (strokes-lighter): Rename from
1065 strokes-modeline-string.
1067 * textmodes/sgml-mode.el (html-face-tag-alist)
1068 (html-tag-face-alist): Use mode-line face instead of obsolete
1071 2012-06-02 Stefan Merten <smerten@oekonux.de>
1073 * textmodes/rst.el: Always require `cl'.
1074 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1076 2012-06-02 Chong Yidong <cyd@gnu.org>
1078 * image.el (imagemagick-enabled-types): Rename from
1079 imagemagick-types-enable. Add many more types.
1080 (imagemagick-types-inhibit): Change default to nil.
1081 (imagemagick-filter-types): Caller changed.
1083 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1085 * emacs-lisp/cl-macs.el: Use backquotes.
1086 (cl-transform-function-property): Use eval-and-compile rather than
1088 (defstruct): Use declare-function instead of with-no-warnings.
1090 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1091 (byte-compile-output-docform): Re-add the print-circle bindings.
1092 (byte-compile-fix-header): Use #$ just because it's shorter.
1093 (byte-compile-output-file-form): Remove defun/defmacro.
1095 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1097 * simple.el (choose-completion): Remove now obsolete binding for
1100 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1102 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1103 in order to avoid "Stack overflow in regexp matcher".
1105 2012-05-31 Glenn Morris <rgm@gnu.org>
1107 * image.el: For clarity, call imagemagick-register-types at
1108 top-level, rather than relying on a custom :initialize.
1109 (imagemagick-types-enable): New option. (Bug#11557)
1110 (imagemagick-filter-types): New function. (Bug#7406)
1111 (imagemagick-register-types): Use imagemagick-filter-types.
1112 If disabling support, remove elements altogether rather
1113 than using an impossible regexp.
1114 (imagemagick-types-inhibit): Give it the default init function.
1116 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1118 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1119 Handle arbitrary file name lengths (Bug#11585).
1121 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1123 * desktop.el (desktop-read): Clear previous and next buffers for
1124 all windows and bury *Messages* buffer (bug#11556).
1126 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1128 Add `declare' for `defun'. Align `defmacro's with it.
1129 * emacs-lisp/easy-mmode.el (define-minor-mode)
1130 (define-globalized-minor-mode): Don't autoload the var definitions.
1131 * emacs-lisp/byte-run.el: Use lexical-binding.
1132 (defun-declarations-alist, macro-declarations-alist): New vars.
1133 (defmacro, defun): Use them.
1134 (make-obsolete, define-obsolete-function-alias)
1135 (make-obsolete-variable, define-obsolete-variable-alias):
1137 (macro-declaration-function): Mark obsolete.
1138 * emacs-lisp/autoload.el: Use lexical-binding.
1139 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1141 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1143 * textmodes/ispell.el (ispell-with-no-warnings):
1145 (ispell-kill-ispell, ispell-change-dictionary):
1146 Use `called-interactively-p' for Emacs instead of obsolete
1149 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1151 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1152 (macro-declaration-function): Move var from C code.
1153 (macro-declaration-function): Define function with defalias.
1154 * emacs-lisp/macroexp.el (macroexpand-all-1):
1155 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1156 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1157 defun/defmacro any more.
1158 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1159 Provide fallback for unknown arglist.
1160 (byte-compile-arglist-warn): Change calling convention.
1161 (byte-compile-output-file-form): Move print-vars binding.
1162 (byte-compile-output-docform): Simplify accordingly.
1163 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1164 (byte-compile-defmacro-declaration): Remove.
1165 (byte-compile-file-form-defmumble): Generalize to defalias.
1166 (byte-compile-output-as-comment): Return byte-positions.
1167 Simplify callers accordingly.
1168 (byte-compile-lambda): Use `assert'.
1169 (byte-compile-defun, byte-compile-defmacro): Remove.
1170 (byte-compile-file-form-defalias):
1171 Use byte-compile-file-form-defmumble.
1172 (byte-compile-defalias-warn): Remove.
1174 2012-05-29 Stefan Merten <smerten@oekonux.de>
1176 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1177 possible. Fix authors. Improve comments. Improve loading of `cl'.
1179 (rst-mode-abbrev-table): Merge definition.
1180 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1181 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1183 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1185 * calendar/icalendar.el
1186 (icalendar-export-region): Export UID properly.
1188 2012-05-29 Leo <sdl.web@gmail.com>
1189 * calendar/icalendar.el (icalendar-import-format):
1190 Add `icalendar-import-format-uid' (Bug#11525).
1191 (icalendar-import-format-uid): New.
1192 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1195 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1197 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1198 different alternative patterns.
1199 (pcase-codegen): Be more careful to preserve identity.
1200 (pcase--u1): Don't forget to mark vars as used.
1202 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1203 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1204 (byte-compile-from-buffer): ...rather than here.
1206 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1207 functions from byte-compile-function-environment.
1209 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1211 * window.el (window-deletable-p): Avoid deleting the root window
1212 of a frame with an active minibuffer.
1214 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1216 * simple.el (choose-completion): Use quit-window (Bug#11567).
1218 2012-05-29 Chong Yidong <cyd@gnu.org>
1220 * whitespace.el (whitespace-cleanup): Fix usage of
1221 whitespace-empty-at-bob-regexp (Bug#11492).
1223 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1225 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1228 2012-05-29 Juri Linkov <juri@jurta.org>
1230 * isearch.el (isearch-mode-map): Bind `M-s _' to
1231 `isearch-toggle-symbol'. Bind `M-s c' to
1232 `isearch-toggle-case-fold'.
1233 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1234 (isearch-forward): Add `M-s _' to the docstring.
1235 (isearch-forward-symbol, isearch-toggle-case-fold)
1236 (isearch-symbol-regexp): New functions. (Bug#11381)
1238 2012-05-29 Juri Linkov <juri@jurta.org>
1240 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1241 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1242 a function, call it to get the regexp.
1243 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1244 property `isearch-message-prefix' instead of the string "word ".
1245 (isearch-search-fun-default): For the case of `isearch-word',
1246 return a lambda that calls re-search-forward/re-search-backward
1247 with a regexp returned by `word-search-regexp' or by the function
1250 2012-05-29 Juri Linkov <juri@jurta.org>
1252 * isearch.el (isearch-search-fun-default): New function.
1253 (isearch-search-fun): Move default part to the new function
1254 `isearch-search-fun-default'.
1255 (isearch-search-fun-function): Set the default value to
1256 `isearch-search-fun-default'. (Bug#11381)
1258 * comint.el (comint-history-isearch-end):
1259 Use `isearch-search-fun-default'.
1260 (comint-history-isearch-search): Use `isearch-search-fun-default'
1261 and remove spacial case for `isearch-word'.
1262 (comint-history-isearch-wrap): Remove spacial case for
1265 * hexl.el (hexl-isearch-search-function):
1266 Use `isearch-search-fun-default'.
1268 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1269 Use `word-search-regexp' for `isearch-word'.
1271 * misearch.el (multi-isearch-search-fun):
1272 Use `isearch-search-fun-default'.
1274 * simple.el (minibuffer-history-isearch-search):
1275 Use `isearch-search-fun-default' and remove spacial case for
1277 (minibuffer-history-isearch-wrap): Remove spacial case for
1280 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1281 Remove spacial case for `isearch-word'.
1282 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1284 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1286 Decrease XEmacs incompatibilities.
1287 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1289 (flyspell-delete-region-overlays): Use alternative definition for
1291 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1292 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1293 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1294 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1295 `define-obsolete-face-alias' under XEmacs, but old method.
1297 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1298 `with-no-warnings' definition or Emacs alias.
1299 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1300 (ispell-word): Do not use `region-p' if XEmacs.
1302 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1304 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1305 Check for `ispell-dictionary-base-alist' instead of full
1306 `ispell-dictionary-alist'.
1307 (ispell-init-process): Show spellchecker when starting new Ispell
1310 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1312 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1313 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1315 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1317 * version.el (motif-version-string, gtk-version-string)
1318 (ns-version-string): Declare.
1320 2012-05-27 Juri Linkov <juri@jurta.org>
1322 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1323 after the `eval-defun-1' specialcaseing
1324 like in `edebug-eval-defun' (bug#10181).
1326 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1327 like in `eval-defun-1'.
1329 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1331 * mail/sendmail.el (mail-yank-region):
1332 Recognize rmail-yank-current-message in addition to insert-buffer.
1333 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1334 a *mail* buffer created through rmail-start-mail with sendmail as
1337 2012-05-27 Chong Yidong <cyd@gnu.org>
1339 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1340 Default to 256 (Bug#11267).
1342 * help.el (describe-mode): Doc fix.
1344 2012-05-26 Glenn Morris <rgm@gnu.org>
1346 * w32-fns.el (w32-init-info): Remove.
1347 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1349 * info.el (info-initialize): For self-contained NS builds, put the
1350 included info/ directory at the front. (Bug#2791)
1352 * paths.el (Info-default-directory-list): Make it a defcustom,
1353 mainly so that we can use custom-initialize-delay.
1355 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * subr.el (buffer-has-markers-at): Mark obsolete.
1359 * subr.el (lambda): Use declare.
1361 * emacs-lisp/lisp-mode.el (lambda):
1362 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1364 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1366 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1368 2012-05-26 Glenn Morris <rgm@gnu.org>
1370 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1372 2012-05-25 Glenn Morris <rgm@gnu.org>
1374 * paths.el: Remove no-byte-compile.
1375 * loadup.el: No need to load paths.el uncompiled.
1377 * image.el (imagemagick-types-inhibit): Doc fix.
1379 * version.el: Remove no-byte-compile and associated formatting.
1380 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1381 is ancient code from when there was an "inc-vers.el".
1383 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1385 * progmodes/gdb-mi.el: Minor style changes.
1386 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1387 Turn into minor modes.
1388 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1389 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1390 (gdb-shell): Remove unneeded let-binding.
1391 (gdb-get-many-fields): Eliminate O(n²) behavior.
1393 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1395 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1396 platforms that don't link in fontset.c.
1398 2012-05-25 Juri Linkov <juri@jurta.org>
1400 Use the same diff color scheme as in modern VCSes (bug#10181).
1402 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1403 to avoid confusion with `diff-added' that now uses green colors.
1404 (diff-removed): Use shades of red.
1405 (diff-added): Use shades of green.
1406 (diff-changed): Leave just the yellow color.
1407 (diff-use-changed-face): New variable.
1408 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1409 how to highlight context diff changes.
1410 (diff-refine-change): Use shades of yellow.
1411 (diff-refine-removed): New face that uses shades of red.
1412 (diff-refine-added): New face that uses shades of green.
1413 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1414 `diff-refine-removed' in the call to `smerge-refine-subst'
1415 depending on the value of `diff-use-changed-face'.
1417 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1418 (smerge-other): Use shades of green.
1419 (smerge-base): Use shades of yellow.
1420 (smerge-refined-change): Empty face.
1421 (smerge-refined-removed): New face that uses shades of red.
1422 (smerge-refined-added): New face that uses shades of green.
1423 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1424 args `props-r' and `props-a', and use them. Doc fix.
1425 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1426 on its value use different faces `smerge-refined-change',
1427 `smerge-refined-removed', `smerge-refined-added' in the call to
1428 `smerge-refine-subst'.
1430 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1431 Add face condition `min-colors 88' with shades of red.
1432 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1433 `min-colors 88' with shades of green.
1434 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1435 `min-colors 88' with shades of yellow.
1437 2012-05-24 Glenn Morris <rgm@gnu.org>
1439 * paths.el (prune-directory-list, remote-shell-program): Move to...
1440 * files.el (prune-directory-list, remote-shell-program): ...here.
1441 For the latter, delay initialization, prefer ssh, just search PATH.
1443 * paths.el (term-file-prefix): Move to faces.el (the only user).
1444 * faces.el (term-file-prefix): Move here, make it a defcustom.
1446 * paths.el (news-directory, news-path, news-inews-program):
1447 Move to gnus/nnspool.el.
1449 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1451 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1452 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1453 Make the latter a defcustom, with a delayed initialization.
1455 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1456 These were deleted from Gnus itself late 2010.
1458 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1460 * progmodes/which-func.el (which-func-ff-hook):
1461 Check against user-error, not error.
1463 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1464 cl-specs.el, which no longer exists.
1466 2012-05-22 Glenn Morris <rgm@gnu.org>
1468 * info.el (info-emacs-bug): New command.
1469 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1470 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1472 2012-05-21 Glenn Morris <rgm@gnu.org>
1474 * makefile.w32-in (update-subdirs-SH):
1475 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1477 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1479 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1481 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1482 Simplify Maven regexp, and make sure the file can't start with a space
1485 2012-05-21 Glenn Morris <rgm@gnu.org>
1487 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1488 Scrap superfluous subshells.
1490 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1492 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1493 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1495 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1497 * calc/calc.el (calc-ensure-consistent-units): New variable.
1499 * calc/calc-units.el (math-consistent-units-p)
1500 (math-check-unit-consistency): New functions.
1501 (calc-quick-units, calc-convert-units):
1502 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1504 (calc-extract-units): Fix typo.
1506 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1508 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1510 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1511 (flyspell-default-deplacement-commands): Don't spell check after
1512 repeated window/frame switches (e.g. triggered by mouse-movement).
1513 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1514 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1515 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1516 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1518 (flyspell-get-casechars, flyspell-get-not-casechars):
1519 Simplify; Don't bother removing a ] just to add it back.
1520 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1522 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1524 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1526 (math-function-table): Add support for more C functions.
1528 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1530 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1531 (flyspell-debug-signal-word-checked): Protect delay handling for
1532 otherchars against empty otherchars.
1534 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1536 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1537 their respective macro declarations.
1538 * skeleton.el (define-skeleton):
1539 * progmodes/compile.el (define-compilation-mode):
1540 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1541 (define-ibuffer-filter):
1542 * emacs-lisp/generic.el (define-generic-mode):
1543 * emacs-lisp/easy-mmode.el (define-minor-mode)
1544 (define-globalized-minor-mode):
1545 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1546 * emacs-lisp/byte-run.el (defsubst):
1547 * custom.el (deftheme): Add doc-string metadata.
1549 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1551 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1553 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1557 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1558 * emacs-lisp/cl-macs.el: Idem.
1559 * emacs-lisp/cl-specs.el: Remove.
1561 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1563 Minor renaming of internal CL functions and variables.
1564 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1565 (cl--position): Rename from cl-position.
1566 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1567 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1568 (cl--random-state): Rename from *random-state*.
1570 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1573 parens around the arg list (bug#11499).
1575 2012-05-17 Juri Linkov <juri@jurta.org>
1577 * isearch.el (word-search-regexp, word-search-backward)
1578 (word-search-forward, word-search-backward-lax)
1579 (word-search-forward-lax): Move functions from search.c
1580 (bug#10145, bug#11381).
1582 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1584 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1585 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1586 normal word components.
1588 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1590 * minibuffer.el (completion--sifn-requote): Fix last change.
1591 (minibuffer-local-must-match-filename-map):
1592 Move define-obsolete-variable-alias before its var.
1594 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1596 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1598 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1600 (completion--string-equal-p): New function.
1601 (completion--twq-all): Use it to get better assertion failure data.
1603 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1604 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1605 (shell--requote-argument): New functions.
1606 (shell-completion-vars): Use them.
1607 (shell--parse-pcomplete-arguments): Rename from
1608 shell-parse-pcomplete-arguments.
1609 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1610 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1611 Obey comint-file-name-quote-list.
1613 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1614 (smie-indent-keyword): Use it.
1616 2012-05-14 Stefan Merten <smerten@oekonux.de>
1618 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1620 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1622 * net/rlogin.el (rlogin-mode-map): Fix last change.
1624 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1626 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1627 the following \r\n using a single `process-send-string', since the
1628 Lotus SMTP server refuses to accept any commands if they are sent
1629 with two `process-send-string's (Bug#11444).
1631 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1633 * shell.el (shell-parse-pcomplete-arguments):
1634 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1636 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1638 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1639 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1640 (image-transform-width, image-transform-fit-width): New functions.
1641 (image-transform-properties): Use them.
1642 (image-transform-check-size): New function.
1643 (image-toggle-display-image): Use it (for testing).
1644 (image-transform-set-rotation): Reduce angle mod 360.
1645 Delete obsolete comment.
1647 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1649 * image-mode.el: Fix scaling (bug#11399).
1650 (image-transform-resize): Doc fix.
1651 (image-transform-properties): Default scale is 1 and height should
1654 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1656 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1657 than hard-coding `car', to fix misbehavior when moving forward.
1659 2012-05-13 Chong Yidong <cyd@gnu.org>
1661 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1662 (tabulated-list-entries, tabulated-list-padding)
1663 (tabulated-list-sort-key): Make permanent-local.
1665 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1666 (electric-buffer-list): Put electric buffer menu
1667 command descriptions in this docstring, instead of the docstring
1668 of electric-buffer-menu-mode. Code cleanups.
1669 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1670 Electric-buffer-menu-mode.
1671 (electric-buffer-update-highlight): Minor code cleanup.
1673 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1675 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1678 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1680 Move define-obsolete-variable-alias before the var's definition.
1681 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1682 * tooltip.el (tooltip-hook):
1683 * textmodes/reftex-toc.el (reftex-toc-map):
1684 * textmodes/reftex-sel.el (reftex-select-label-map)
1685 (reftex-select-bib-map):
1686 * textmodes/reftex-index.el (reftex-index-map)
1687 (reftex-index-phrases-map):
1688 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1689 * progmodes/meta-mode.el (meta-mode-map):
1690 * novice.el (disabled-command-hook):
1691 * loadhist.el (unload-hook-features-list):
1692 * frame.el (blink-cursor):
1693 * files.el (find-file-not-found-hooks, write-file-hooks)
1694 (write-contents-hooks):
1695 * emulation/tpu-edt.el (GOLD-map):
1696 * emacs-lock.el (emacs-lock-from-exiting):
1697 * emacs-lisp/generic.el (generic-font-lock-defaults):
1698 * emacs-lisp/chart.el (chart-map):
1699 * dos-fns.el (register-name-alist):
1700 * dired-x.el (dired-omit-files-p):
1701 * desktop.el (desktop-enable):
1702 * cus-edit.el (custom-mode-hook):
1703 * buff-menu.el (buffer-menu-mode-hook):
1704 * bookmark.el (bookmark-read-annotation-text-func)
1705 (bookmark-exit-hooks):
1706 * allout.el (allout-mode-deactivate-hook)
1707 (allout-exposure-change-hook, allout-structure-added-hook)
1708 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1709 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1710 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1711 comes before the corresponding variable's definition.
1713 2012-05-12 Chong Yidong <cyd@gnu.org>
1715 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1716 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1717 (Buffer-menu-mode-map): Bind it.
1718 (Buffer-menu--pretty-name): Add a mouse-face property.
1720 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1722 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1723 (prolog-upper-case-string, prolog-lower-case-string)
1724 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1725 (prolog-use-smie, prolog-smie-grammar): New vars.
1726 (prolog-smie-forward-token, prolog-smie-backward-token)
1727 (prolog-smie-rules): New funs.
1728 (prolog-comment-indent): Remove.
1729 (prolog-mode-variables): Use default comment indentation instead.
1731 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1732 (prolog-mode): Don't call them any more.
1733 (prolog-electric-colon, prolog-electric-dash)
1734 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1736 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1738 * minibuffer.el (completion--twq-all): Again, allow case differences.
1740 * term.el: Move keymap initialization code to be more idiomatic.
1741 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1742 (term-terminal-menu): Move initialization into declaration.
1743 (term-escape-char): Let the user set it in her .emacs.
1745 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1746 Provide SMIE-based indentation (not enabled by default yet).
1747 (sh-mode-map): Don't bind electric keys.
1748 Use electric-pair-mode instead of skeleton-pair.
1749 (sh-assignment-regexp): Fit within 80 columns.
1750 (sh-indent-supported): Specify actual shell name instead of boolean.
1751 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1752 (sh-maybe-here-document): Use it. Make obsolete.
1753 (sh-electric-here-document-mode) New minor mode.
1754 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1755 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1756 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1757 (sh-smie-rc-grammar, sh-use-smie): New vars.
1758 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1759 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1760 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1761 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1762 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1763 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1764 (sh-set-shell): Use smie-setup if requested.
1766 * term.el (term-set-escape-char): Properly set term-escape-char.
1767 See http://stackoverflow.com/questions/10524656.
1769 2012-05-10 Chong Yidong <cyd@gnu.org>
1771 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1772 Use url-generic-parse-url, and handle host names and Windows
1774 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1775 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1776 URL schemes to work on.
1777 (ffap--toggle-read-only): New function.
1778 (ffap-read-only, ffap-read-only-other-window)
1779 (ffap-read-only-other-frame): Use it.
1780 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1781 necessary for ffap-url-unwrap-remote.
1783 2012-05-10 Dave Abrahams <dave@boostpro.com>
1785 * cus-start.el (create-lockfiles): Add it.
1787 2012-05-09 Chong Yidong <cyd@gnu.org>
1789 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1790 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1792 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1794 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1796 2012-05-09 Chong Yidong <cyd@gnu.org>
1798 * ansi-color.el (ansi-color-process-output): Check for validity of
1799 comint-last-output-start before using it. This avoids a bad
1800 interaction with gdb-mi's input/output buffer.
1802 2012-05-09 Glenn Morris <rgm@gnu.org>
1804 * files.el (dir-locals-read-from-file):
1805 Mention dir-locals in any error message.
1807 2012-05-09 Chong Yidong <cyd@gnu.org>
1809 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1810 package (Bug#11410).
1812 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1813 variables into description.
1815 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1817 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1818 shell-delimiter-argument-list (bug#11348).
1819 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1821 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1823 * textmodes/rst.el: Silence byte-compiler warnings.
1824 (rst-re-alist, rst-reset-section-caches): Move around.
1825 (rst-re): Use `characterp', not `char-valid-p'.
1826 (font-lock-beg, font-lock-end): Declare.
1828 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1829 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1831 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1833 2012-05-08 Glenn Morris <rgm@gnu.org>
1835 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1837 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1839 * vc/log-edit.el: Add GNU coding standards highlighting.
1840 (log-edit-font-lock-gnu-style)
1841 (log-edit-font-lock-gnu-keywords): New vars.
1842 (log-edit-font-lock-keywords): New fun.
1843 (log-edit-mode): Don't fold case in font-lock.
1844 (log-edit-font-lock-keywords): Do not assume case-folding.
1846 * imenu.el: Misc cleanup. Make docstrings out of comments.
1847 Use lexical-binding.
1848 (imenu--index-alist, imenu--last-menubar-index-alist)
1849 (imenu-menubar-modified-tick): Use defvar-local.
1850 (imenu--split-menu): Remove unused var.
1851 (imenu--cleanup-seen): Declare as global.
1852 (imenu--cleanup): Use dolist.
1854 * subr.el (defvar-local): Add debug spec and doc-string position.
1856 2012-05-08 Glenn Morris <rgm@gnu.org>
1858 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1859 * language/english.el, language/georgian.el, language/greek.el:
1860 * language/japanese.el, language/khmer.el, language/korean.el:
1861 * language/lao.el, language/misc-lang.el, language/romanian.el:
1862 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1863 * language/thai.el, language/utf-8-lang.el:
1864 Remove no-byte-compile setting.
1866 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1868 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1870 * progmodes/make-mode.el (makefile-browse):
1871 Remove unnecessary interactive. (Bug#11324)
1873 2012-05-07 Glenn Morris <rgm@gnu.org>
1875 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1877 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1879 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1881 * loadup.el: Preload newcomment.el.
1882 * newcomment.el: Move autoload-only code to toplevel.
1884 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1885 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1886 Handle new :right-align column property.
1887 (tabulated-list-print-col): Idem, plus use `display' text-property to
1888 try and preserve alignment for variable pitch fonts.
1890 2012-05-07 Chong Yidong <cyd@gnu.org>
1892 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1893 (tabulated-list-use-header-line): New var.
1894 (tabulated-list-init-header): Use it.
1895 (tabulated-list-print-fake-header): New function.
1896 (tabulated-list-print): Use it.
1897 (tabulated-list-sort-button-map): Add non-header-line commands.
1898 (tabulated-list-init-header): Add column name property to basic
1900 (tabulated-list-col-sort): Handle non-header-line button case.
1901 (tabulated-list--sort-by-column-name): Fix a corner case.
1903 * buff-menu.el (list-buffers--refresh):
1904 Handle Buffer-menu-use-header-line.
1906 2012-05-06 Chong Yidong <cyd@gnu.org>
1908 * buff-menu.el: Convert to Tabulated List mode.
1909 (Buffer-menu-buffer+size-width): Make obsolete.
1910 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1911 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1912 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1913 documentation into docstring of buffer-menu.
1914 (Buffer-menu-toggle-files-only): Add an informative message.
1915 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1916 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1917 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1918 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1919 (Buffer-menu-execute, Buffer-menu-select)
1920 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1921 (Buffer-menu-bury): Use Tabulated List machinery.
1922 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1923 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1925 (list-buffers--refresh): New function.
1926 (list-buffers-noselect): Use it.
1927 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1928 (Buffer-menu--pretty-file-name): New helper functions.
1930 * loadup.el: Preload tabulated-list.
1932 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1933 tabulated-list-sort-column.
1934 (tabulated-list-init-header): Add the initial aligning space even
1935 if tabulated-list-padding is zero.
1937 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1939 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1940 whose cdr is not a cons cell correctly (bug#11038).
1942 2012-05-06 Chong Yidong <cyd@gnu.org>
1944 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1945 Accept additional plist in column descriptors.
1946 (tabulated-list-init-header): Obey it.
1947 (tabulated-list-get-entry): New function.
1948 (tabulated-list-put-tag): Use it. Use string-width instead of
1950 (tabulated-list--column-number): New function.
1951 (tabulated-list-print): Use it.
1952 (tabulated-list-print-col): New function.
1953 Set `tabulated-list-column-name' property on each column's text.
1954 (tabulated-list-print-entry): Use it.
1955 (tabulated-list-delete-entry, tabulated-list-set-col):
1957 (tabulated-list-sort-column): New command (Bug#11337).
1959 * buff-menu.el (list-buffers): Move C-x C-b binding from
1960 buff-menu.el to bindings.el.
1962 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1963 :advertised-binding feature.
1965 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1967 * progmodes/compile.el (compilation-internal-error-properties):
1968 Calculate start position correctly when end-col is set but
1969 end-line is not (Bug#11382).
1971 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1973 * man.el (Man-unindent): Use text-property-default-nonsticky to
1974 prevent untabify from inheriting face properties (Bug#11408).
1976 2012-05-05 Stefan Merten <smerten@oekonux.de>
1978 * textmodes/rst.el: Major merge with upstream development up to
1979 Docutils SVN r7399 / rst.el V1.2.1.
1981 Clarify maintainership and authors.
1983 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1984 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1985 (rst-official-version, rst-official-cvs-rev, rst-version)
1986 (rst-package-emacs-version-alist): New functions and variables
1987 for version information.
1989 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1990 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1991 (rst-mode-syntax-table, rst-mode): New and corrected functions
1992 and variables representing reStructuredText features.
1994 (rst-re): New function for reStructuredText regexes. Use in
1997 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1998 (rst-mode-map): Rebind keys.
2000 (rst-mode-lazy, rst-font-lock-keywords)
2001 (rst-font-lock-extend-region)
2002 (rst-font-lock-extend-region-internal)
2003 (rst-font-lock-extend-region-extend)
2004 (rst-font-lock-find-unindented-line-limit)
2005 (rst-font-lock-find-unindented-line-match)
2006 (rst-adornment-level, rst-font-lock-adornment-level)
2007 (rst-font-lock-adornment-match)
2008 (rst-font-lock-handle-adornment-pre-match-form)
2009 (rst-font-lock-handle-adornment-matcher): Major revision of
2010 font-locking. Integrate with other code. Use `jit-lock-mode'.
2012 (rst-preferred-adornments, rst-adjust-hook)
2013 (rst-new-adornment-down, rst-preferred-bullets)
2014 (rst-preferred-bullets, rst-indent, rst-indent-width)
2015 (rst-indent-field, rst-indent-literal-normal)
2016 (rst-indent-literal-minimized, rst-indent-comment): Change,
2017 extend and improve customization.
2019 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2020 (rst-normalize-cursor-position, rst-get-decoration)
2021 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2022 (rst-rstrip, rst-toc-insert-find-delete-contents)
2023 (rst-shift-fill-region, rst-compute-bullet-tabs)
2024 (rst-debug-print-tabs, rst-debug-mark-found)
2025 (rst-shift-region-guts, rst-shift-region-right)
2026 (rst-shift-region-left, rst-use-char-classes)
2027 (rst-font-lock-keywords-function)
2028 (rst-font-lock-indentation-point)
2029 (rst-font-lock-find-unindented-line-begin)
2030 (rst-font-lock-find-unindented-line-end)
2031 (rst-font-lock-find-unindented-line)
2032 (rst-font-lock-adornment-point, rst-font-lock-level)
2033 (rst-adornment-level-alist): Remove functions and variables.
2035 (rst-compare-adornments, rst-get-adornment-match)
2036 (rst-suggest-new-adornment, rst-get-adornments-around)
2037 (rst-adornment-complete-p, rst-get-next-adornment)
2038 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2039 (rst-straighten-adornments): Standardize function names to
2040 use "adornment" instead of "decoration". Correct callers.
2041 Similar standardizing in many places.
2043 (rst-update-section, rst-adjust, rst-promote-region)
2044 (rst-enumerate-region, rst-bullet-list-region)
2045 (rst-repeat-last-character): Correct use of `interactive'.
2047 (rst-classify-adornment, rst-find-all-adornments)
2048 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2049 (rst-find-leftmost-column, rst-repeat-last-character):
2052 (rst-find-title-line, rst-reset-section-caches)
2053 (rst-get-adornments-around, rst-adjust-adornment-work)
2054 (rst-arabic-to-roman, rst-roman-to-arabic)
2055 (rst-insert-list-pos, rst-insert-list-new-item)
2056 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2059 (rst-all-sections, rst-section-hierarchy)
2060 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2063 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2064 configuration instead of only buffer. Change where necessary.
2066 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2067 (rst-shift-region, rst-adaptive-fill): New functions for
2068 indentation and filling.
2070 (rst-comment-line-break, rst-comment-indent)
2071 (rst-comment-insert-comment, rst-comment-region)
2072 (rst-uncomment-region): New functions for handling comments.
2074 (rst-compile): Quote shell arguments.
2076 (rst-compile-pdf-preview, rst-compile-slides-preview):
2077 Delete temporary files after use.
2079 2012-05-05 Glenn Morris <rgm@gnu.org>
2081 * calendar/cal-html.el: Optionally include holidays in the output.
2082 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2083 (cal-html-holidays): New option.
2084 (cal-html-css-default): Add holiday entry.
2085 (holiday-in-range): Autoload it.
2086 (cal-html-htmlify-entry): Add optional class argument.
2087 (cal-html-htmlify-list): Add optional holidays argument.
2088 (cal-html-insert-agenda-days): Include holidays in the output.
2089 (cal-html-one-month): Maybe include holidays.
2091 * calendar/holidays.el (holiday-in-range):
2092 Move here from cal-tex-list-holidays.
2093 * calendar/cal-tex.el (cal-tex-list-holidays):
2094 Make it an obsolete alias for holiday-in-range. Update all callers.
2096 2012-05-05 Chong Yidong <cyd@gnu.org>
2098 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2101 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2103 * files.el (file-auto-mode-skip): New var.
2104 (set-auto-mode-1): Use it.
2106 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2108 * repeat.el: Use lexical-binding.
2109 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2110 (repeat-undo-count): Remove.
2112 * progmodes/octave-mod.el (octave-abbrev-start):
2113 * progmodes/f90.el (f90-abbrev-start):
2114 * face-remap.el (text-scale-adjust):
2115 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2117 * emacs-lisp/pcase.el (pcase--let*): New function.
2118 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2120 (pcase--split-pred): Be more clever about ruling out overlap between
2121 a predicate and some constant pattern.
2122 (pcase--q1): Use `null' instead of (eq foo nil).
2124 * subr.el (setq-local, defvar-local): New macros.
2125 (kbd): Redefine as an alias.
2126 (with-selected-window): Leave unrelated frames alone.
2127 (set-temporary-overlay-map): New function.
2129 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2131 * subr.el (user-error): New function.
2132 * window.el (switch-to-buffer):
2133 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2134 (smerge-match-conflict):
2135 * simple.el (previous-matching-history-element)
2136 (next-matching-history-element, goto-history-element, undo-more)
2138 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2139 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2140 (next-file, tags-loop-scan, list-tags, complete-tag):
2141 * progmodes/compile.el (compilation-loop):
2142 * mouse.el (mouse-minibuffer-check):
2143 * man.el (Man-bgproc-sentinel, Man-goto-page):
2144 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2145 (Info-history-forward, Info-follow-reference, Info-menu)
2146 (Info-extract-menu-item, Info-extract-menu-counting)
2147 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2148 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2149 (Info-next-reference, Info-prev-reference, Info-index)
2150 (Info-index-next, Info-follow-nearest-node)
2151 (Info-copy-current-node-name):
2152 * imenu.el (imenu--make-index-alist)
2153 (imenu-default-create-index-function, imenu-add-to-menubar):
2154 * files.el (basic-save-buffer, recover-file):
2155 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2156 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2157 (checkdoc-message-text, checkdoc-defun):
2158 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2159 * cus-edit.el (customize-changed-options, customize-rogue)
2160 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2161 (custom-variable-mark-to-reset-standard)
2162 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2164 * completion.el (check-completion-length):
2165 * comint.el (comint-search-arg)
2166 (comint-previous-matching-input-string-position)
2167 (comint-previous-matching-input)
2168 (comint-replace-by-expanded-history-before-point, comint-send-input)
2169 (comint-copy-old-input, comint-backward-matching-input)
2170 (comint-goto-process-mark, comint-set-process-mark):
2171 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2172 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2174 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2176 * dabbrev.el (dabbrev--ignore-case-p): New function.
2177 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2180 * files.el (automount-dir-prefix): Mark as obsolete.
2182 2012-05-04 Glenn Morris <rgm@gnu.org>
2184 * patcomp.el, play/bruce.el: Move to obsolete/.
2186 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2188 Fix minor Y10k bugs.
2189 * arc-mode.el (archive-unixdate):
2190 * autoinsert.el (auto-insert-alist):
2191 * calc/calc-forms.el (math-this-year):
2192 * emacs-lisp/copyright.el (copyright-current-year)
2193 (copyright-update-year, copyright):
2194 * tar-mode.el (tar-clip-time-string):
2195 * time.el (display-time-update):
2196 Don't assume years have 4 digits.
2198 2012-05-04 Chong Yidong <cyd@gnu.org>
2200 * dos-w32.el (file-name-buffer-file-type-alist)
2201 (direct-print-region-use-command-dot-com):
2202 * ffap.el (ffap-menu-regexp):
2203 * find-file.el (ff-special-constructs):
2204 * follow.el (follow-debug):
2205 * forms.el (forms--debug):
2206 * iswitchb.el (iswitchb-all-frames):
2207 * ido.el (ido-all-frames):
2208 * emacs-lisp/timer.el (timer-max-repeats):
2209 * mail/feedmail.el (feedmail-mail-send-hook)
2210 (feedmail-mail-send-hook-queued):
2211 * mail/footnote.el (footnote-signature-separator):
2212 * mail/mailabbrev.el (mail-alias-separator-string)
2213 (mail-abbrev-mode-regexp):
2214 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2215 * progmodes/idlwave.el (idlwave-libinfo-file)
2216 (idlwave-default-completion-case-is-down)
2217 (idlwave-library-routines): Convert defvars to defcustoms.
2219 * mail/rmail.el (rmail-decode-mime-charset):
2220 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2221 (idlwave-shell-fix-inserted-breaks)
2222 (idlwave-shell-activate-alt-keybindings)
2223 (idlwave-shell-use-breakpoint-glyph):
2224 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2226 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2228 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2230 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2232 * progmodes/verilog-mode.el (font-lock-keywords):
2233 Fix mis-highligting auto. Reported by Craig Barner.
2234 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2235 defines from global name space. Reported by Dan Dever.
2236 (verilog-auto-reset, verilog-auto-reset-widths)
2237 (verilog-auto-tieoff): Support using unbased numbers for
2238 AUTORESET and AUTOTIEOFF.
2239 (verilog-submit-bug-report): Update variable list.
2240 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2241 parenthesis from not matching. Reported by Michael Rytting.
2242 (verilog-auto-template-lint): Fix hash error when linting modules
2243 with no used templates.
2244 (verilog-warn, verilog-warn-error)
2245 (verilog-warn-fatal): When non-interactive report multiple
2246 warnings before exiting. Suggested by Brad Dobbie.
2247 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2248 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2249 to report unused template errors. Reported by Brad Dobbie.
2250 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2251 nets, bug438. Reported by Vns Blore.
2252 (verilog-auto-inout-module, verilog-auto-reg)
2253 (verilog-read-decls, verilog-read-sub-decls-sig)
2254 (verilog-signals-edit-wire-reg, verilog-signals-with):
2255 Fix passing of Verilog data types in ANSI input/output ports
2256 such as "output logic" into the AUTOs. Special case "wire" and
2257 "reg" for backwards compatibility presuming Verilog 2001.
2258 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2259 (verilog-preprocess): Fix replication of preprocess output.
2260 Reported by Brad Dobbie.
2261 (verilog-auto-inst-interfaced-ports):
2262 Create verilog-auto-inst-interfaced-ports, bug429.
2263 Reported by Julian Gorfajn.
2264 (verilog-after-save-font-hook)
2265 (verilog-before-save-font-hook): New variable.
2266 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2267 (verilog-save-font-mods): Wrap disabling fontification, reported
2269 (verilog-do-indent, verilog-pretty-declarations-auto)
2270 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2271 Reported by Pierre-David Pfister.
2272 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2273 of class declarations, bug292. Reported by Kevin Heilman.
2274 (verilog-read-decls): Fix 'parameter type' not appearing in
2275 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2276 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2277 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2278 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2279 Reported by David Kravitz.
2281 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2283 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2284 assignment with tests in ifs and for loops.
2285 (verilog-extended-complete-re, verilog-complete-reg): Change so
2286 that DPI inport functions don't look like fuction declarations.
2287 (verilog-pretty-expr): Don't line up assignment
2288 operations to the test and increment in if and for loops
2289 (verilog-extended-complete-re, verilog-complete-reg): Change so
2290 that DPI inport functions don't look like fuction declarations
2292 2012-05-03 Kenichi Handa <handa@m17n.org>
2294 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2295 decoding, and show a warning message without signaling an error
2298 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2300 * emacs-lisp/bytecomp.el
2301 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2302 since cconv.el might have introduced :fun-body, internal-make-closure,
2303 and friends for bytecomp to handle (bug#11391).
2304 * custom.el (defcustom): Avoid ((λ ..) ..).
2306 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2308 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2310 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2312 * notifications.el (dbus-debug):
2313 * term/linux.el (gpm-mouse-enable):
2314 * term/screen.el (xterm-register-default-colors): Declare.
2316 2012-05-02 Chong Yidong <cyd@gnu.org>
2318 * cus-start.el (gc-cons-percentage, exec-suffixes)
2319 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2320 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2321 (make-cursor-line-fully-visible, void-text-area-pointer)
2322 (font-list-limit): Add customization data.
2324 * allout.el (allout-exposure-change-functions)
2325 (allout-structure-added-functions)
2326 (allout-structure-deleted-functions)
2327 (allout-structure-shifted-functions): Rename abnormal hooks from
2328 *-hook, and convert to defcustoms.
2329 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2330 Convert to defcustoms.
2331 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2333 * allout-widgets.el: Hook callers changed.
2335 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2337 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2338 the yanked message in preference to the default value of
2339 buffer-file-coding-system.
2341 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2343 * window.el (display-buffer--action-function-custom-type):
2346 2012-05-02 Alan Mackenzie <acm@muc.de>
2348 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2350 2012-05-01 Glenn Morris <rgm@gnu.org>
2352 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2354 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2356 * cus-edit.el (custom-variable-documentation): Simplify with format.
2358 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2359 Stefan Monnier <monnier@iro.umontreal.ca>
2361 * simple.el (suggest-key-bindings, execute-extended-command):
2362 Move from keyboard.c.
2364 2012-05-01 Chong Yidong <cyd@gnu.org>
2366 * follow.el: Eliminate advice.
2367 (set-process-filter, process-filter, sit-for): Advice deleted.
2368 (follow-mode-off-hook): Obsolete hook removed.
2369 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2371 (follow-auto): Use a :set function.
2372 (follow-mode): Rewritten. Don't advise process filters.
2373 (follow-switch-to-current-buffer-all, follow-scroll-up)
2374 (follow-scroll-down): Assume follow-mode is bound.
2375 (follow-comint-scroll-to-bottom)
2376 (follow-align-compilation-windows): New functions.
2377 (follow--window-sorter): New function.
2378 (follow-all-followers): Use it to explicitly sort windows by their
2379 positions; don't make assumptions about next-window order.
2380 (follow-windows-start-end, follow-delete-other-windows-and-split)
2381 (follow-calc-win-start): Doc fix.
2382 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2383 vertical-motion unnecessarily.
2384 (follow-adjust-window): New function.
2385 (follow-post-command-hook): Use it.
2386 (follow-call-set-process-filter, follow-call-process-filter)
2387 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2388 (follow-stop-intercept-process-output, follow-generic-filter):
2390 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2391 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2392 New functions, replacing advice on scroll-bar-* commands.
2393 (follow-mwheel-scroll): New function (Bug#4112).
2395 * comint.el (comint-adjust-point): New function.
2396 (comint-postoutput-scroll-to-bottom): Use it.
2397 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2399 2012-05-01 Glenn Morris <rgm@gnu.org>
2401 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2402 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2403 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2404 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2405 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2406 Remove no-byte-compile setting.
2408 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2410 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2411 all-completions code to not return a number in the last cdr.
2413 2012-04-30 Leo Liu <sdl.web@gmail.com>
2415 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2418 2012-04-29 Chong Yidong <cyd@gnu.org>
2420 * follow.el (follow-calc-win-end): Rewrite to handle partial
2421 screen lines correctly (Bug#8390).
2422 (follow-avoid-tail-recenter): Minor cleanup.
2424 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2426 Avoid the obsolete `assoc' package.
2427 * speedbar.el (speedbar-refresh): Avoid adelete.
2428 (speedbar-file-lists): Simplify and avoid aput.
2429 * man.el (Man--sections, Man--refpages): New vars, replacing
2430 Man-sections-alist and Man-refpages-alist.
2431 (Man-build-section-alist, Man-build-references-alist):
2432 Use them; avoid aput.
2433 (Man--last-section, Man--last-refpage): New vars.
2434 (Man-follow-manual-reference): Use them.
2435 Use the `default' arg of completing-read.
2436 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2438 2012-04-27 Chong Yidong <cyd@gnu.org>
2440 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2442 * startup.el (x-apply-session-resources): New function.
2444 * term/ns-win.el (ns-initialize-window-system):
2445 * term/w32-win.el (w32-initialize-window-system):
2446 * term/x-win.el (x-initialize-window-system): Use it to properly
2447 set menu-bar-mode and other vars from X resources, even if the
2448 initial frame is not a window-system frame (Bug#2299).
2450 * subr.el (read-key): Avoid running filter function when setting
2451 up temporary tool bar entries (Bug#9922).
2453 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2455 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2458 2012-04-27 Chong Yidong <cyd@gnu.org>
2460 * select.el (xselect--encode-string): New function, split from
2461 xselect-convert-to-string.
2462 (xselect-convert-to-string): Use it.
2463 (xselect-convert-to-filename, xselect-convert-to-os)
2464 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2465 returned strings are properly encoded (Bug#11315).
2467 2012-04-27 Chong Yidong <cyd@gnu.org>
2469 * simple.el (delete-active-region): Move to killing custom group.
2471 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2473 * progmodes/which-func.el (which-func-current): Quote %
2474 characters for mode-line processing.
2476 2012-04-27 Chong Yidong <cyd@gnu.org>
2478 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2479 reaching eob (Bug#11286).
2481 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2483 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2484 (gdb): Make it buffer-local and init to zero.
2485 (gdb-control-commands-regexp): New variable.
2486 (gdb-send): Don't wrap in "-interpreter-exec console" if
2487 gdb-control-level is positive. Increment gdb-control-level
2488 whenever the command matches gdb-control-commands-regexp, and
2489 decrement it each time the command is "end". (Bug#11279)
2491 2012-04-27 Martin Rudalics <rudalics@gmx.at>
2493 * window.el (adjust-window-trailing-edge, enlarge-window)
2494 (shrink-window, window-resize):
2495 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2496 windows (Bug#11276).
2498 2012-04-27 Chong Yidong <cyd@gnu.org>
2500 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2501 fix "missing prefix" warning. All callers changed.
2503 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2505 * emacs-lisp/assoc.el: Move to obsolete/.
2507 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2509 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2511 * term/ns-win.el (ns-define-service):
2512 * progmodes/pascal.el (pascal-goto-defun):
2513 * progmodes/js.el (js--read-tab):
2514 * progmodes/etags.el (tags-lazy-completion-table):
2515 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2516 * emacs-lisp/ewoc.el (ewoc--wrap):
2517 * emacs-lisp/assoc.el (aput, adelete, amake):
2518 * doc-view.el (doc-view-convert-current-doc):
2519 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2521 2012-04-26 Chong Yidong <cyd@gnu.org>
2523 * image.el (image-type-from-buffer): Only return supported image
2526 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2527 value, for symmetry with diff-end-of-hunk.
2528 (diff-split-hunk, diff-find-source-location)
2529 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2530 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2531 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2532 compute the relevant hunk or file properly (Bug#6005).
2533 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2535 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2544 * vc/vc.el: Replace lexical-let by lexical-binding.
2545 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2546 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2547 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2549 2012-04-26 Chong Yidong <cyd@gnu.org>
2551 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2552 (diff-mode-shared-map): Bind it to / and [remap undo].
2554 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2555 (ediff-window-setup-function): Use it as the default, to set up
2556 windows based on whether the current frame is graphical (Bug#2138).
2557 (ediff-choose-window-setup-function-automatically): Make obsolete.
2559 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2561 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * ffap.el: Remove old code for obsolete package.
2564 (ffap-complete-as-file-p): Remove.
2566 Use completion-table-with-quoting for comint and pcomplete.
2567 * comint.el (comint--unquote&requote-argument)
2568 (comint--unquote-argument, comint--requote-argument): New functions.
2569 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2570 (comint-quote-filename): Use regexp-opt-charset.
2571 (comint--common-suffix, comint--common-quoted-suffix)
2572 (comint--table-subvert): Remove.
2573 (comint-unquote-function, comint-requote-function): New vars.
2574 (comint--complete-file-name-data): Use them with
2575 completion-table-with-quoting.
2576 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2577 * pcomplete.el (pcomplete-arg-quote-list)
2578 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2579 (pcomplete-unquote-argument-function): Default to non-nil.
2580 (pcomplete-unquote-argument): Simplify.
2581 (pcomplete--common-quoted-suffix): Remove.
2582 (pcomplete-requote-argument-function): New var.
2583 (pcomplete--common-suffix): New function.
2584 (pcomplete-completions-at-point): Use completion-table-with-quoting
2585 and completion-table-subvert.
2587 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2588 (minibuffer--double-dollars): Preserve properties.
2589 (completion--sifn-requote): New function.
2590 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2592 * minibuffer.el: Add support for completion of quoted/escaped data.
2593 (completion-table-with-quoting, completion-table-subvert): New funs.
2594 (completion--twq-try, completion--twq-all): New functions.
2595 (completion--nth-completion): New function.
2596 (completion-try-completion, completion-all-completions): Use it.
2598 2012-04-25 Leo Liu <sdl.web@gmail.com>
2600 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2601 Use compilation-message if available to find real filename.
2603 2012-04-25 Chong Yidong <cyd@gnu.org>
2605 * vc/diff-mode.el (diff-setup-whitespace): New function.
2606 (diff-mode): Use it.
2608 * vc/diff.el (diff-sentinel):
2609 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2610 Whitespace mode variables based on diff style (Bug#8612).
2612 2012-04-25 Leo Liu <sdl.web@gmail.com>
2614 * progmodes/python.el (python-send-region): Add suffix .py to the
2617 * files.el (auto-mode-alist): Use javascript-mode instead.
2619 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2621 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2623 * soap-client.el (soap-resolve-references-for-sequence-type)
2624 (soap-resolve-references-for-array-type): Hack to prevent self
2625 references, see Bug#9.
2626 (soap-parse-envelope): Report the contents of the 'detail' node
2627 when receiving a fault reply.
2628 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2630 * soap-inspect.el (soap-sample-value-for-simple-type)
2631 (soap-inspect-simple-type): New function.
2633 * soap-client.el (soap-simple-type): New struct.
2634 (soap-default-xsd-types, soap-default-soapenc-types)
2635 (soap-decode-basic-type, soap-encode-basic-type):
2636 support unsignedInt and double basic types.
2637 (soap-resolve-references-for-simple-type)
2638 (soap-parse-simple-type, soap-encode-simple-type): New function.
2639 (soap-parse-schema): Parse xsd:simpleType declarations.
2641 * soap-client.el (soap-default-xsd-types)
2642 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2643 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2644 the local name of "soapenc:Array".
2645 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2646 decoding integer, byte and anyURI xsd types.
2648 2012-04-25 Chong Yidong <cyd@gnu.org>
2650 * cus-edit.el (custom-buffer-create-internal): Update header text.
2652 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2654 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2655 settings on 'system-type', not on 'window-system'. On MS-Windows,
2656 set interactive-mode on in GDB.
2658 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2660 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2661 (ruby-syntax-propertize-regexp): Remove.
2662 (ruby-syntax-propertize-function): Split regexp into chunks.
2663 Match following code directly.
2665 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2667 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2668 (ruby-syntax-propertize-regexp): New function.
2669 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2670 by a special keyword.
2672 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2673 (ruby-syntax-general-delimiters-goto-beg)
2674 (ruby-syntax-propertize-general-delimiters): New functions.
2675 (ruby-syntax-propertize-function): Use them to handle GDL.
2676 (ruby-font-lock-keywords): Move old handling of GDL...
2677 (ruby-font-lock-syntactic-keywords): .. to here.
2678 (ruby-calculate-indent): Adjust indentation for GDL.
2680 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2682 * notifications.el (top): Remove unneeded declarations.
2683 (notifications-specification-version): Change to "1.2".
2684 (notifications-interface, notifications-notify-method)
2685 (notifications-close-notification-method): Fix docstring.
2686 (notifications-get-capabilities-method): New defconst.
2687 (notifications-notify): Add :action-items, :resident and
2688 :transient hints. Change "image_data" to "image-data" and
2689 "image_path" to "image-path".
2690 (notifications-get-capabilities): New defun.
2692 2012-04-24 Leo Liu <sdl.web@gmail.com>
2694 * progmodes/python.el: Move hideshow setup to the end.
2696 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2698 * window.el (handle-select-window): Clear echo area since this is
2699 no more done by read_char (Bug#11304).
2701 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2703 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2704 and `/ M' to filter-derived-mode.
2705 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2706 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2707 (ibuffer-mark-by-mode): Use default rather than initial-input.
2708 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2710 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2712 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2713 (ibuffer-filter-by-derived-mode): New filter.
2714 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2716 2012-04-23 Andreas Politz <politza@fh-trier.de>
2718 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2720 2012-04-23 Chong Yidong <cyd@gnu.org>
2722 * cus-edit.el (customize-apropos, customize-apropos-options):
2723 Disable matching of non-option variables (Bug#11176).
2724 (customize-option, customize-option-other-window)
2725 (customize-changed-options): Doc fix.
2726 (customize-apropos-options, customize-apropos-faces)
2727 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2729 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2730 Fix word list splitting (Bug#11132).
2731 (apropos-symbol, apropos-keybinding, apropos-label)
2732 (apropos-property, apropos-function-button)
2733 (apropos-variable-button, apropos-misc-button): New faces.
2734 (apropos-symbol-face, apropos-keybinding-face)
2735 (apropos-label-face, apropos-property-face, apropos-match-face):
2736 Variables removed (Bug#8396).
2737 (apropos-library-button, apropos-format-plist, apropos-print)
2738 (apropos-print-doc, apropos-describe-plist): Callers changed.
2740 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2742 * net/xesam.el (xesam-mode-map): Use let-bound map in
2743 initialization. (Bug#11292)
2745 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2747 Preserve ispell session localwords when switching back to
2750 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2751 variable to hold buffer session localwords.
2752 (ispell-kill-ispell): add option 'clear to delete session
2754 (ispell-command-loop, ispell-change-dictionary)
2755 (ispell-buffer-local-words): Preserve session localwords when
2758 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2759 Preserve session localwords when needed.
2761 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2763 * ispell.el (ispell-insert-word) Remove unneeded function using
2764 obsolete `translation-table-for-input'.
2765 (ispell-word, ispell-process-line, ispell-complete-word):
2766 Use plain `insert' instead of removed `ispell-insert-word'.
2768 2012-04-22 Chong Yidong <cyd@gnu.org>
2770 * cus-edit.el (custom-variable-menu)
2771 (custom-variable-reset-saved, custom-face-menu)
2772 (custom-face-reset-saved): If there is no saved value, make the
2773 "reset-saved" operation bring back the default (Bug#9509).
2774 (custom-face-state): Properly detect themed faces.
2776 * faces.el (face-spec-set): Stop supporting deprecated form of
2779 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2781 Move functions from C to Lisp. Make non-blocking method calls
2782 the default. Implement further D-Bus standard interfaces.
2784 * net/dbus.el (dbus-message-internal): Declare function.
2785 Remove unneeded function declarations.
2786 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2787 (dbus-message-type-method-return, dbus-message-type-error)
2788 (dbus-message-type-signal): Declare variables. Remove local
2790 (dbus-interface-dbus, dbus-interface-peer)
2791 (dbus-interface-introspectable, dbus-interface-properties)
2792 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2794 (dbus-interface-objectmanager): New defconst.
2795 (dbus-call-method, dbus-call-method-asynchronously)
2796 (dbus-send-signal, dbus-method-return-internal)
2797 (dbus-method-error-internal, dbus-register-service)
2798 (dbus-register-signal, dbus-register-method): New defuns, moved
2800 (dbus-call-method-handler, dbus-setenv)
2801 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2803 (dbus-call-method-non-blocking): Make it an obsolete function.
2804 (dbus-unregister-object, dbus-unregister-service)
2805 (dbus-handle-event, dbus-register-property)
2806 (dbus-property-handler): Obey the new structure of
2807 `bus-registered-objects'.
2808 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2809 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2810 Use `dbus-call-method'.
2812 2012-04-22 Chong Yidong <cyd@gnu.org>
2814 * cus-edit.el (custom-commands, custom-reset-menu)
2815 (Custom-reset-standard): Tweak labels.
2816 (custom-reset-button-menu): Change default to t.
2817 (custom-buffer-create-internal): For the custom-reset-button-menu
2818 case, put the revert button first.
2819 (custom-group-subtitle): New face.
2820 (custom-group-value-create): Align docstring to a specific column.
2822 * wid-edit.el (widget-documentation-link-add): Don't handle
2823 indentation in this function.
2824 (widget-documentation-string-indent-to): New function.
2825 (widget-documentation-string-value-create): Use it.
2827 * autorevert.el (auto-revert):
2828 * epg-config.el (epg):
2829 * ibuffer.el (ibuffer):
2832 * eshell/eshell.el (eshell):
2833 * net/ange-ftp.el (ange-ftp):
2834 * progmodes/ebnf2ps.el (postscript):
2835 * progmodes/flymake.el (flymake):
2836 * progmodes/prolog.el (prolog):
2837 * progmodes/verilog-mode.el (verilog-mode):
2838 * progmodes/which-func.el (which-func):
2839 * term/xterm.el (xterm):
2840 * textmodes/picture.el (picture):
2841 * textmodes/tildify.el (tildify):
2842 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2843 customization buffers.
2845 2012-04-22 Alan Mackenzie <acm@muc.de>
2847 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2848 Adding a ) can hide the resulting (..) from searches. Fix it.
2849 Bound the backward search to the position of the existing (.
2851 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2853 * progmodes/verilog-mode.el (verilog-mode): Check whether
2854 which-func-modes is t before adding verilog-mode.
2855 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2857 2012-04-21 Leo Liu <sdl.web@gmail.com>
2859 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2861 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2863 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2864 filling of the last column of a table (Bug#5635).
2865 (woman-find-next-control-line): New arg, specifying an additional
2866 regexp component for the control line.
2867 (woman2-roff-buffer): Use it.
2868 (woman-break-table): New function.
2869 (woman2-TS): Use it.
2871 2012-04-21 Chong Yidong <cyd@gnu.org>
2873 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2874 (woman-horizontal-escapes, woman-negative-vertical-space)
2875 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2876 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2878 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2880 * minibuffer.el (completion-file-name-table): Complete user names.
2882 2012-04-20 Leo Liu <sdl.web@gmail.com>
2884 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2887 2012-04-20 Chong Yidong <cyd@gnu.org>
2889 * server.el (server-execute): Respect initial-buffer-choice if it
2890 is a string and there are no files to open (Bug#2825).
2891 (server-create-window-system-frame, server-create-tty-frame):
2892 Don't switch buffers here.
2893 (server-process-filter): Only try to open a window system frame if
2894 compiled with graphical support (Bug#8314).
2896 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2898 * battery.el (battery-echo-area-format): Display remaining time
2899 for sysfs backend too (Bug#11269).
2900 (battery-linux-sysfs): Fix conditional for the charge.
2902 2012-04-20 Chong Yidong <cyd@gnu.org>
2904 * progmodes/gdb-mi.el (gdb): Revert previous change.
2905 (gdb-inferior-io--init-proc): New function.
2906 (gdb-init-1): Use it.
2907 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2908 responsible for allocating a new pty and hooking it to gdb when
2909 the old pty gets an EIO due to process exit.
2910 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2911 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2912 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2914 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2916 * window.el (window-min-size, window-sizable, window-min-delta)
2917 (window-max-delta, window--resizable, window-resizable)
2918 (window-total-size, window-full-height-p, window-full-width-p)
2919 (window-in-direction, window--resize-mini-window, window-resize)
2920 (window--resize-child-windows-normal)
2921 (window--resize-child-windows, window--resize-siblings)
2922 (window--resize-this-window, adjust-window-trailing-edge)
2923 (enlarge-window, shrink-window): Doc fixes.
2925 2012-04-20 Chong Yidong <cyd@gnu.org>
2927 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2928 New function to call delete-process on the gdb-inferior buffer's pty.
2929 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2930 pty process (Bug#11273).
2931 (gdb-update): New arg to suppress talking to the gdb process.
2932 (gdb-done-or-error): Use it.
2933 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2934 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2935 sentinel not being called.
2937 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2939 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2941 2012-04-20 Glenn Morris <rgm@gnu.org>
2943 * net/network-stream.el (open-network-stream): Doc fix.
2945 2012-04-20 Chong Yidong <cyd@gnu.org>
2947 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2949 2012-04-20 Alan Mackenzie <acm@muc.de>
2951 Ensure searching for keywords is case sensitive.
2953 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2954 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2955 (c-defun-name, c-mark-function, c-cpp-define-name)
2956 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2957 (c-context-line-break): Bind case-fold-search to nil.
2959 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2960 Bind case-fold-search to nil.
2962 2012-04-20 Chong Yidong <cyd@gnu.org>
2964 * mail/sendmail.el (mail-bury): Call return action with the right
2965 Rmail buffer (Bug#11242).
2967 * server.el (server-process-filter): Handle corner case where both
2968 tty and nowait options are present (Bug#11102).
2970 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2972 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2973 (top level): Put into the executable the ident-style '$Id:' tag on
2976 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2978 * electric.el (electric-indent-post-self-insert-function): Check that
2979 electric-indent-mode is enabled in current buffer.
2981 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2983 * imenu.el (imenu-progress-message): Restore; it is "used" in
2984 erc/erc-imenu.el and net/snmp-mode.el.
2986 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2988 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2989 (mouse-avoidance-nudge-mouse): Remove unused binding.
2991 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2993 * descr-text.el (describe-char):
2994 * progmodes/python.el (python-describe-symbol):
2995 Don't call `toggle-read-only', set `buffer-read-only'.
2997 * imenu.el (imenu-default-goto-function): Mark unused args.
2998 (imenu-progress-message): Remove obsolete macro; all callers changed.
3000 * subr.el (keymap-canonicalize): Remove unused binding.
3001 (read-passwd): Mark unused arg.
3003 * tutorial.el (tutorial--display-changes): Remove unused binding.
3004 (tutorial--save-tutorial-to): Remove unused variable.
3006 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3007 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3008 (package-generate-autoloads, package-menu--generate)
3009 (package-menu--find-upgrades): Remove unused bindings.
3011 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3012 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3013 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3014 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3015 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3016 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3017 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3018 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3019 (cua-delete-char-rectangle): Mark unused args.
3020 (cua-align-rectangle): Remove unused binding.
3022 * mail/rmail.el (compilation--message->loc)
3023 (epa--find-coding-system-for-mime-charset): Declare.
3025 * net/dbus.el (dbus-register-service): Declare.
3026 (dbus-name-owner-changed-handler): Remove unused binding.
3028 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3029 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3030 (nxml-scan-backward-within): Mark unused arg.
3031 (nxml-dynamic-markup-word): Remove unused binding.
3033 * mouse.el (mouse-menu-major-mode-map):
3034 * emacs-lisp/authors.el (authors-scan-change-log)
3035 (authors-add-to-author-list):
3036 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3037 * emacs-lisp/smie.el (smie-auto-fill):
3038 * mail/sendmail.el (mail-bury):
3039 * mail/unrmail.el (unrmail):
3040 * net/tls.el (open-tls-stream):
3041 * textmodes/picture.el (picture-mouse-set-point):
3042 Remove unused bindings.
3044 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3046 * net/tramp.el (tramp-action-password): Let-bind
3047 `enable-recursive-minibuffers' to t.
3049 2012-04-18 Sam Steingold <sds@gnu.org>
3051 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3052 instead of 'string to accommodate values like [f11].
3053 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3054 * progmodes/gdb-mi.el: Likewise.
3056 2012-04-18 Leo Liu <sdl.web@gmail.com>
3058 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3060 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3063 2012-04-18 Chong Yidong <cyd@gnu.org>
3065 * simple.el (line-move): Use forward-line if in batch mode
3068 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3070 * files.el (after-find-file): Do not try to add a final newline if
3071 the buffer is read-only (Bug#11156).
3073 2012-04-17 Richard Stallman <rms@gnu.org>
3075 * mail/rmail.el (rmail-start-mail):
3076 Pass (rmail-mail-return...) for the return-action.
3077 Pass (rmail-yank-current-message...) for the yank-action.
3078 (rmail-yank-current-message): New function.
3079 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3080 (rmail-reply): Likewise.
3081 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3083 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3084 buffer, not the last. Reject temp buffers. Use the rmail-mode
3087 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3089 * server.el (server-ensure-safe-dir): Simplify.
3091 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3093 * emacs-lisp/smie.el: Provide smarter auto-filling.
3094 (smie-auto-fill): New function.
3095 (smie-setup): Use it.
3097 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3099 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3101 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3102 (comment-indent): Use it.
3104 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3106 * ses.el: The overall change is to add cell renaming, that is
3107 setting fancy names for cell symbols other than name matching
3108 "\\`[A-Z]+[0-9]+\\'" regexp .
3109 (ses-localvars): Add ses--renamed-cell-symb-list.
3110 (ses-create-cell-variable): New defun.
3111 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3112 (ses-relocate-formula): Relocate formulas only for cells the
3113 symbols of which are not renamed, i.e. symbols whose names do not
3114 match regexp "\\`[A-Z]+[0-9]+\\'".
3115 (ses-relocate-all): Relocate values only for cells the symbols of
3116 which are not renamed.
3117 (ses-load): Create cells variables as the (ses-cell ...) are read,
3118 in order to check row col consistency with cell symbol name only
3119 for cells that are not renamed.
3120 (ses-replace-name-in-formula): New defun.
3121 (ses-rename-cell): New defun.
3123 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3125 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3126 New option (bug#11118).
3127 (perl-calculate-indent): Respect it.
3129 2012-04-17 Glenn Morris <rgm@gnu.org>
3131 * dired-aux.el (dired-mark-read-string): Doc fix.
3133 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3135 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3136 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3138 2012-04-17 Glenn Morris <rgm@gnu.org>
3140 * mouse.el (mouse-drag-track):
3141 * speedbar.el (speedbar-frame-mode):
3142 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3144 2012-04-16 Leo Liu <sdl.web@gmail.com>
3146 * progmodes/python.el: Trivial cleanup.
3148 2012-04-16 Glenn Morris <rgm@gnu.org>
3150 * vc/vc.el (vc-string-prefix-p):
3151 * vc/pcvs-util.el (cvs-string-prefix-p):
3152 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3153 * mpc.el (mpc-string-prefix-p):
3154 Make all of these into obsolete aliases for string-prefix-p.
3156 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3158 * textmodes/two-column.el: Move custom options to the start.
3159 (frame-width): Remove compat definition.
3160 (2C-associate-buffer, 2C-dissociate):
3161 Use with-current-buffer rather than save-excursion.
3162 (2C-dissociate): Force a mode-line update.
3163 (2C-autoscroll): Use ignore-errors.
3165 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3168 * emacs-lisp/cl-extra.el (*random-state*):
3169 Remove unnecessary declaration.
3171 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3173 * play/cookie1.el (cookie-snarf):
3174 Give an explicit error if input file cannot be read.
3176 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3178 * progmodes/perl-mode.el (c-macro-expand):
3179 Remove unnecessary autoload (it is in loaddefs.el).
3181 * textmodes/picture.el (picture-desired-column)
3182 (picture-update-desired-column): Convert comments to doc-strings.
3183 (picture-substitute): Remove function.
3184 (picture-mode-map): Initialize in the defvar.
3186 * woman.el: Remove eval-after-load for tar-mode.
3187 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3188 (woman-tar-extract-file): Autoload it.
3190 * frame.el (automatic-hscrolling): Make this alias obsolete.
3192 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3194 * ispell.el (ispell-set-spellchecker-params): Post-process
3195 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3196 (ispell-dictionary-base-alist): Revert to original XEmacs
3197 friendly version for default. [:alpha:] will be added in
3198 `ispell-set-spellchecker-params' if needed
3200 2012-04-16 Chong Yidong <cyd@gnu.org>
3202 * image.el (imagemagick--extension-regexp): New variable.
3203 (imagemagick-register-types): Use it.
3204 (imagemagick-types-inhibit): Add :set function. Allow new value
3205 of t to inhibit all types.
3207 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3208 so we can preload it.
3210 * loadup.el (fboundp): Preload regexp-opt, needed by
3211 imagemagick-register-types.
3213 2012-04-15 Chong Yidong <cyd@gnu.org>
3215 * frame.el (scrolling): Remove nearly unused customization group.
3217 * scroll-all.el (scroll-all-mode): Move to windows group.
3219 2012-04-15 Chong Yidong <cyd@gnu.org>
3221 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3223 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3225 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3226 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3228 2012-04-15 Glenn Morris <rgm@gnu.org>
3230 * simple.el (process-file-side-effects): Doc fix.
3232 2012-04-15 Glenn Morris <rgm@gnu.org>
3234 * international/mule-cmds.el (set-language-environment): Doc fix.
3236 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3238 * server.el (server-auth-key, server-generate-key): Doc fixes.
3239 (server-get-auth-key): Doc fix. Use `string-match-p'.
3240 (server-start): Reflow docstring.
3242 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3244 * server.el (server-generate-key): `called-interactively-p'
3245 requires a parameter.
3247 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3249 * server.el (server-auth-key): New variable.
3250 (server-generate-key, server-get-auth-key): New function.
3251 (server-start): Use the new variable and functions to allow
3252 setting a permanent server key (bug#9423).
3254 2012-04-14 Leo Liu <sdl.web@gmail.com>
3256 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3258 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3261 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3262 Emacs uses American spelling.
3264 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3266 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3267 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3268 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3269 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3271 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3273 * progmodes/which-func.el (which-func-modes): Change default.
3275 2012-04-14 Kim F. Storm <storm@cua.dk>
3277 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3278 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3280 2012-04-14 Chong Yidong <cyd@gnu.org>
3282 * custom.el (custom-theme-set-variables): Doc fix.
3284 2012-04-14 Glenn Morris <rgm@gnu.org>
3286 * international/mule.el (set-auto-coding-for-load): Doc fix.
3288 2012-04-14 Alan Mackenzie <acm@muc.de>
3290 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3291 imenu work again for Objective C Mode. Correct the *-index values,
3292 these having been disturbed by a previous change in 2011-08.
3294 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3295 Correct two search limits.
3297 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3301 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3303 * international/characters.el: Fix sorting.
3305 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3307 * international/characters.el: Add more missing Latin case pairs.
3309 2012-04-14 Glenn Morris <rgm@gnu.org>
3311 * files.el (dir-locals-set-class-variables): Doc fix.
3313 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3315 * international/characters.el: Add set-case-syntax-pair call for
3316 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3317 counterpart. (Bug#11209)
3319 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3321 2012-04-14 Glenn Morris <rgm@gnu.org>
3323 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3325 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3327 * textmodes/ispell.el (ispell-dictionary-base-alist):
3328 Add data for Hebrew.
3330 2012-04-14 Chong Yidong <cyd@gnu.org>
3332 * net/rcirc.el (rcirc-cmd-quit):
3333 Revert 2012-03-18 change (Bug#11192).
3335 2012-04-14 Glenn Morris <rgm@gnu.org>
3337 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3339 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3341 * minibuffer.el (completion-in-region-mode-map):
3342 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3344 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3346 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3348 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3350 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3351 to allow `C-M-f' and `C-M-b' to move to the nearest path
3352 separator (bug#9511).
3354 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3356 * avoid.el: Require cl when compiling. And also move the
3357 `provide' to the end.
3359 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3361 * avoid.el (mouse-avoidance-banish-position): New variable.
3362 (mouse-avoidance-banish-destination): Use it (bug#10165).
3364 2012-04-13 Leo Liu <sdl.web@gmail.com>
3366 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3368 2012-04-13 Ken Brown <kbrown@cornell.edu>
3370 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3371 this is no longer needed now that cygstart understands file:// URLs.
3372 (browse-url-filename-alist): For the same reason, don't modify
3373 file:// URLs on Cygwin.
3375 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3377 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3378 the region on shift if the binding is already shifted (bug#11221).
3380 2012-04-12 Glenn Morris <rgm@gnu.org>
3382 * mail/mailpost.el: Move to obsolete/.
3384 2012-04-12 Drew Adams <drew.adams@oracle.com>
3386 * imenu.el (imenu--generic-function): Ignore invisible definitions
3389 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3391 * hexl.el (hexl-bits): New variable.
3392 (hexl-options): Mention the variable in the doc string.
3393 (hexl-rulerise, hexl-line-displen): New functions.
3394 (hexl-mode): Mention the new variable.
3395 (hexl-mode, hexl-current-address, hexl-current-address):
3397 (hexl-ascii-start-column): New function.
3398 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3399 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3401 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3403 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3404 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3405 the encoding, as expected by hunspell.
3407 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3409 * battery.el (battery--linux-sysfs-regexp): New const.
3410 (battery-status-function): Use it. Remove yeeloong special case.
3411 (battery-yeeloong-sysfs): Remove.
3412 (battery-echo-area-format): Remove yeeloong special case.
3414 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3416 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3417 Reported by Noah Friedman.
3419 * subr.el (read-passwd): Use read-string.
3421 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3423 * vcursor.el (vcursor-move): Increase the priority of the overlay
3426 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3428 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3429 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3431 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3433 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3434 define-minor-mode (bug#10760).
3436 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3438 * progmodes/grep.el (rgrep): Tweak the find command line so
3439 that directories matching `grep-find-ignored-files' won't be
3442 2012-04-11 Chong Yidong <cyd@gnu.org>
3444 * startup.el (command-line): Remove support for long-obsolete
3445 variable font-lock-face-attributes.
3447 2012-04-11 Glenn Morris <rgm@gnu.org>
3449 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3451 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3453 * window.el (window--state-get-1): Obey window-point-insertion-type.
3455 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3457 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3458 to previous function when point is on the first character of a
3459 function. Take care of that in `narrow-to-defun' (bug#6157).
3461 2012-04-11 Glenn Morris <rgm@gnu.org>
3463 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3464 not just file-errors.
3466 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3467 (vc-bzr-sha1): Use internal sha1.
3469 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3471 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3473 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3475 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3476 that start in the middle of the line (bug#10496).
3478 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3480 * battery.el (battery-linux-proc-acpi): Only one battery is
3481 discharged at a time, but that seems to confuse battery.el when
3482 computing `rate-type' for the battery not being discharged
3485 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3487 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3489 * international/quail.el: Use dolist and simplify.
3490 (quail-define-package, quail-update-keyboard-layout)
3491 (quail-define-rules): Use dolist.
3492 (quail-insert-kbd-layout, quail-get-translation): CSE.
3494 * tmm.el: Use dolist, remove left over hook.
3495 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3497 (calendar-load-hook): Don't mess with it.
3499 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3500 Use derived-mode-p. Run the diff asynchronously.
3502 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3504 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3506 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
3508 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3509 (list-dynamic-libraries--loaded): New function.
3510 (list-dynamic-libraries--refresh): Use it.
3512 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
3514 * progmodes/python.el (python-fill-paragraph):
3515 Make python-fill-region in a multiline string work when font-lock is
3516 disabled (bug#7018).
3518 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3520 * language/european.el (cp775): Add oem/legacy (en)coding on
3521 DOS/MS Windows for the Baltic languages. There are still plenty
3522 of texts written in this encoding/codepage (bug#6519).
3524 2012-04-10 Glenn Morris <rgm@gnu.org>
3526 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3527 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3529 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3531 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3532 next-line "n" and previous-line "p" in order to make recentf more
3533 consistent with ibuffer, dired or org-mode (bug#9387).
3535 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3537 * image.el (put-image): Return the overlay created instead of the
3538 optional input string (bug#7834). Note that this may break code
3539 that is (for some reason or other) depending on `put-image'
3540 returning the string.
3542 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3544 * simple.el (zap-to-char): Allow zapping using input methods
3547 * textmodes/fill.el (fill-region): Leave point and mark where they
3548 were before filling (bug#5399).
3550 2012-04-09 Glenn Morris <rgm@gnu.org>
3552 * version.el (emacs-bzr-get-version):
3553 Handle lightweight checkouts of local branches.
3555 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3557 * international/characters.el: Recover lost case pairs. (Bug#11209)
3559 2012-04-09 Chong Yidong <cyd@gnu.org>
3561 * custom.el (custom-variable-p): Return nil for non-symbol
3562 arguments instead of signaling an error.
3563 (user-variable-p): Obsolete alias for custom-variable-p.
3565 * apropos.el (apropos-variable):
3566 * files-x.el (read-file-local-variable):
3567 * simple.el (set-variable):
3568 * woman.el (woman-mini-help):
3569 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3571 2012-04-09 Glenn Morris <rgm@gnu.org>
3573 * startup.el (normal-top-level): Don't look for leim-list.el
3574 in places where it will not be found. (Bug#910)
3576 * international/mule-cmds.el (set-default-coding-systems):
3577 * files.el (normal-mode):
3578 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3579 This function was removed with ucs-tables.el in 2008.
3581 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3583 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3584 ispell-encoding8-command to "-i", without a trailing space.
3585 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3586 separate command-line arguments, to specify the encoding, since
3587 that's how hunspell expects it.
3589 2012-04-08 Glenn Morris <rgm@gnu.org>
3591 * loadup.el: Load bindings before cus-start.
3592 This reduces somewhat the number of "rogue" settings in emacs -Q.
3594 2012-04-07 Glenn Morris <rgm@gnu.org>
3596 * version.el (emacs-bzr-get-version): New function.
3597 (emacs-bzr-version): New variable.
3598 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3599 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3601 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3603 * international/uni-bidi.el, international/uni-category.el:
3604 * international/uni-combining.el, international/uni-decimal.el:
3605 * international/uni-decomposition.el, international/uni-digit.el:
3606 * international/uni-lowercase.el, international/uni-mirrored.el:
3607 * international/uni-name.el, international/uni-numeric.el:
3608 * international/uni-titlecase.el, international/uni-uppercase.el:
3609 Update for Unicode 6.1.
3611 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3613 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3615 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3617 * window.el (shrink-window): Mention the `window-min-height'
3618 variable in the doc string.
3620 2012-04-05 Bastien Guerry <bzg@altern.org>
3622 * color.el (color-lighten-name): Fix typo.
3624 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3626 * server.el (server--on-display-p): New function.
3627 (server--on-display-p): Use it.
3629 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3631 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3634 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3636 * comint.el (comint--common-quoted-suffix): Check string boundary
3637 before comparing (bug#11158).
3638 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3640 2012-04-04 Chong Yidong <cyd@gnu.org>
3642 * minibuffer.el (completion-extra-properties): Doc fix.
3644 * subr.el (delayed-warnings-hook): Doc fix.
3646 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3648 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3649 selection (Bug#11159).
3650 (epa-insert-keys): Inform that the default public key will be
3651 exported if no key is selected.
3653 2012-04-04 Richard Stallman <rms@gnu.org>
3655 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3657 2012-04-03 Chong Yidong <cyd@gnu.org>
3659 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3660 mail-insert-file, not its obsolete alias mail-attach-file.
3662 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3664 * notifications.el (notifications-notify): Fix docstring.
3666 2012-04-02 Glenn Morris <rgm@gnu.org>
3668 * emacs-lisp/authors.el (authors-aliases): Another addition.
3670 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3672 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3673 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3674 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3676 2012-04-01 Chong Yidong <cyd@gnu.org>
3678 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3679 Handle root directory properly.
3680 (copy-directory): Caller changed.
3682 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3683 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3685 2012-03-31 Glenn Morris <rgm@gnu.org>
3687 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3689 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3691 * calendar/calendar.el (calendar-window-list)
3692 (calendar-hide-window): Restore. (Bug#11140)
3693 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3695 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3697 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3699 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3700 Check if file is a symlink (Bug#10489).
3702 * files.el (copy-directory): Likewise.
3704 2012-03-30 Chong Yidong <cyd@gnu.org>
3706 * image.el (imagemagick-types-inhibit)
3707 (imagemagick-register-types): Doc fix.
3709 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3711 * ispell.el (ispell-get-extended-character-mode):
3712 Disable extended-char-mode for hunspell. hunspell does not support it
3713 and treats ~word as ordinary words in pipe mode.
3715 2012-03-30 Glenn Morris <rgm@gnu.org>
3717 * tutorial.el (help-with-tutorial): Ensure local variables don't
3718 happen to make the buffer read-only. (Bug#11127)
3720 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3722 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3723 (perl-calculate-indent): Return `noindent' in strings.
3725 2012-03-28 Sam Steingold <sds@gnu.org>
3727 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3728 instead of the broken adhockery which does not prevent calendar
3729 buffers from being displayed at random after exit.
3730 (calendar-window-list, calendar-hide-window): Remove the broken
3733 2012-03-28 Glenn Morris <rgm@gnu.org>
3735 * replace.el (query-replace-map): Doc fix.
3737 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3739 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3740 contents. (Bug#11109)
3742 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3744 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3746 (avl-tree--check, avl-tree--check-node): New funs.
3748 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3750 * window.el (switch-to-visible-buffer): New option.
3751 (switch-to-prev-buffer, switch-to-next-buffer):
3752 Observe switch-to-visible-buffer. Make sure that checking for a window
3753 showing a buffer already is done on the same frame.
3755 2012-03-27 Glenn Morris <rgm@gnu.org>
3757 * startup.el (mail-host-address): Doc fix.
3759 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3761 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3764 2012-03-26 Ami Fischman <ami@fischman.org>
3766 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3768 2012-03-26 Glenn Morris <rgm@gnu.org>
3770 * files.el (save-buffers-kill-emacs): Doc fix.
3772 * startup.el (normal-top-level, command-line, command-line-1):
3773 Give them doc strings.
3775 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3777 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3778 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3780 2012-03-25 Chong Yidong <cyd@gnu.org>
3782 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3783 theme if it was previously enabled before (Bug#11031).
3785 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3786 spec with custom-face-get-current-spec if its :shown-value is not
3787 determined yet (Bug#9337).
3788 (customize-create-theme, custom-theme-revert): Doc fixes.
3790 * button.el (button-at): Minor addition to docstring.
3792 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3794 * vc/vc.el (vc-merge): Fix a prompt.
3796 2012-03-24 Chong Yidong <cyd@gnu.org>
3798 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3801 * button.el (button-at): Minor addition to docstring.
3803 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3805 * newcomment.el (comment-choose-indent): No space after BOL.
3807 2012-03-22 Sam Steingold <sds@gnu.org>
3809 * window.el (switch-to-prev-buffer): Revert last patch because the
3810 bug turned out to be an advertised feature (Elisp manual 28.14).
3812 2012-03-22 Glenn Morris <rgm@gnu.org>
3814 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3815 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3817 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3819 * net/network-stream.el (network-stream-open-starttls): Make error
3820 message under Windows be less misleading.
3822 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3824 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3825 understands (bug#9942).
3827 2012-03-22 Chong Yidong <cyd@gnu.org>
3829 * simple.el (end-of-visible-line): Handle return value of
3830 next-single-property-change properly (Bug#9371).
3832 2012-03-22 Kenichi Handa <handa@m17n.org>
3834 * international/quail.el (quail-insert-kbd-layout): Fix previous
3835 change. To avoid unwanted bidi reordering, use
3836 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3838 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3840 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3841 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3842 (ruby-beginning-of-indent): Be more careful with the difference
3843 between word-boundary and symbol boundary.
3844 (ruby-mode-syntax-table): Make : a symbol constituent.
3846 2012-03-21 Andreas Politz <politza@fh-trier.de>
3848 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3850 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * progmodes/etags.el (tags-completion-at-point-function):
3855 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3857 2012-03-21 Sam Steingold <sds@gnu.org>
3859 * progmodes/etags.el (tags-completion-at-point-function):
3860 Avoid the error when point is inside the pattern.
3862 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3864 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3867 2012-03-21 Drew Adams <drew.adams@oracle.com>
3869 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3871 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3873 * ido.el (ido-set-current-directory, ido-read-internal)
3874 (ido-choose-completion-string, ido-completion-help): Handle nil
3875 value of ido-completion-buffer (Bug#11008).
3877 2012-03-21 Sam Steingold <sds@gnu.org>
3879 * window.el (switch-to-prev-buffer): Do not switch to a visible
3880 window previous buffer, just like with the frame previous buffers.
3882 2012-03-21 Chong Yidong <cyd@gnu.org>
3884 * faces.el (make-face, make-empty-face, copy-face):
3885 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3888 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3890 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3891 (widget-complete): Remove broken use of it.
3893 2012-03-20 Chong Yidong <cyd@gnu.org>
3895 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3896 Use string-width and truncate-string-width to handle arbitrary
3899 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3901 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3902 to draw rectangles, not squares. (Regression introduced by revno
3903 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3905 2012-03-18 Chong Yidong <cyd@gnu.org>
3907 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3908 it is not yet defined (for temacs).
3910 2012-03-18 Leo Liu <sdl.web@gmail.com>
3912 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3914 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3916 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3917 (ispell-choices-win-default-height, ispell-silently-savep)
3918 (ispell-dictionary-alist, ispell-encoding8-command)
3919 (ispell-check-version, ispell-aspell-find-dictionary)
3920 (ispell-valid-dictionary-list, ispell-words-keyword)
3921 (ispell-get-word, ispell-internal-change-dictionary)
3922 (ispell-region, ispell-skip-region-list)
3923 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3924 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3925 (ispell-message-text-end, ispell-message)
3926 (ispell-buffer-local-parsing): Doc fix.
3928 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3930 * htmlfontify.el: Add support for code block fontification for ODT
3932 (hfy-optimisations): Define new option
3934 (hfy-fontify-buffer): Honor above setting.
3935 (hfy-begin-span, hfy-end-span): New routines factored out form
3936 `hfy-fontify-buffer'.
3937 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3938 that permit insertion of custom tags.
3939 (hfy-fontify-buffer): Use above handlers.
3940 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3941 (hfy-face-to-css): Re-defined to be a variable.
3942 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3943 over multiple runs. This is made possible by having the caller let
3944 bind a special variable `hfy-user-sheet-assoc'.
3945 (htmlfontify-string): New defun.
3946 (hfy-compile-face-map): Make sure that the last char in the
3947 buffer is correctly fontified.
3948 (hfy-face-resolve-face): Whitespace only change.
3950 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3952 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3955 2012-03-16 Leo Liu <sdl.web@gmail.com>
3957 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3959 2012-03-16 Alan Mackenzie <acm@muc.de>
3961 Further optimise the handling of large macros.
3963 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3964 limit to a call of `c-literal-limits'.
3965 (c-determine-+ve-limit): New function.
3966 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3967 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3968 In CASE 5B, restrict a search limit to 500.
3969 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3971 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3972 Restrict macro bounds to +-500 from after-change's BEG END.
3974 2012-03-16 Leo Liu <sdl.web@gmail.com>
3976 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3978 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3980 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3981 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3983 2012-03-16 Glenn Morris <rgm@gnu.org>
3985 * view.el (view-buffer, view-buffer-other-window)
3986 (view-buffer-other-frame): Doc fixes re special mode-class.
3988 * subr.el (eval-after-load): If named feature is provided not from
3989 a file, run after-load forms. (Bug#10946)
3991 * calendar/calendar.el (calendar-insert-at-column):
3992 Handle non-unit-width characters a bit better. (Bug#10978)
3994 2012-03-15 Chong Yidong <cyd@gnu.org>
3996 * emacs-lisp/ring.el (ring-extend): New function.
3997 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3999 * comint.el (comint-read-input-ring)
4000 (comint-add-to-input-history): Grow comint-input-ring lazily.
4002 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4004 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4005 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4007 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4008 (imenu-add-to-menubar): Don't add a redundant index.
4009 (imenu-update-menubar): Handle a dynamically composed keymap.
4011 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4013 * mail/sendmail.el (mail-encode-header):
4014 Bind rfc2047-encode-encoded-words to nil.
4016 2012-03-13 Glenn Morris <rgm@gnu.org>
4018 * calendar/calendar.el (calendar-string-spread):
4019 Handle non-unit-width characters a bit better. (Bug#10978)
4021 2012-03-13 Leo Liu <sdl.web@gmail.com>
4023 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4024 directory and file as argument (Bug#10822).
4026 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4028 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4029 For dynamically generated code, follow $PC.
4030 (gdb-disassembly-handler-custom): Handle no function name case.
4032 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4034 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4035 * emulation/ws-mode.el (ws-query-replace):
4036 * sort.el (sort-regexp-fields):
4037 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4039 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4041 * dabbrev.el: Fix cycle completion order (bug#10963).
4042 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4043 (dabbrev-completion): Don't use an obarray; provide
4044 a cycle-sort-function.
4046 2012-03-12 Leo Liu <sdl.web@gmail.com>
4048 * simple.el (kill-new): Use equal-including-properties for comparison.
4049 (kill-do-not-save-duplicates): Doc fix.
4051 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4053 * dabbrev.el: Fix cycle completion (bug#10963).
4054 Use lexical binding and wrap to 80 columns.
4055 (dabbrev-completion): Delay computing the list of completions.
4057 2012-03-12 Kenichi Handa <handa@m17n.org>
4059 * international/quail.el (quail-insert-kbd-layout): Surround each
4060 row by LRO and PDF instead of inserting many LRMs. Pad the left
4061 and right of each non-spacing marks. Insert invisible space
4062 between lower and upper characters to prevent composition.
4064 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * minibuffer.el (minibuffer-complete): Don't get confused when the
4067 function is run twice via different commands (bug#10958).
4068 (complete-with-action): Fix docstring.
4070 2012-03-12 Chong Yidong <cyd@gnu.org>
4072 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4073 (nxml-completion-at-point-function): New function.
4074 (nxml-mode): Use it.
4075 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4077 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4078 Load generated autoloads file before byte compiling (Bug#10970).
4079 (package--make-autoloads-and-compile): New helper fun.
4081 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4083 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4085 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4087 * autorevert.el (auto-revert-handler): Ensure, that
4088 file-readable-p is applied only for local files or in
4089 auto-revert-tail-mode.
4091 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4093 * server.el (server-eval-at): Handle non-tcp connections.
4094 Decode result string.
4096 * server.el (server-msg-size): New constant.
4097 (server-reply-print): New function.
4098 (server-eval-and-print): Use it.
4099 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4102 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4104 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4107 2012-03-11 Chong Yidong <cyd@gnu.org>
4109 * simple.el (goto-line): Doc fix (Bug#9938).
4111 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4113 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4114 when finished (Bug#10963).
4116 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4118 * window.el (split-window-below): Fix bug in case where
4119 split-window-keep-point is nil (Bug#10971).
4121 2012-03-11 Juri Linkov <juri@jurta.org>
4123 * replace.el (replace-highlight): Set isearch-word to nil
4124 unconditionally. (Bug#10887)
4126 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4128 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4129 mairix-replace-illegal-chars; all callers changed. Don't remove
4130 ^, ~, and = characters: they are meaningful in mairix search specs.
4131 (mairix-widget-create-query): Add usage information about mairix
4132 search forms: negating words, searching for substrings, etc.
4134 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4136 * international/fontset.el (font-encoding-alist): Add an entry for
4139 2012-03-10 Richard Stallman <rms@gnu.org>
4141 * mail/sendmail.el (mail-encode-header):
4142 Set rfc2047-encode-encoded-words.
4144 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4146 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4147 view buffer means not swapped.
4148 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4149 (rmail-write-region-annotate): Error if real text has disappeared.
4151 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4153 2012-03-10 Chong Yidong <cyd@gnu.org>
4155 * emulation/cua-rect.el (cua--init-rectangles):
4156 * emulation/cua-base.el (cua--init-keymaps):
4157 Add delete-forward-char to remappings (Bug#9666).
4159 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4161 * speedbar.el (speedbar-unhighlight-one-tag-line):
4162 Avoid unhighlighting due to frame switching (Bug#10275).
4164 2012-03-10 Chong Yidong <cyd@gnu.org>
4166 * minibuffer.el (completion-in-region, completion-help-at-point):
4167 Give the completion field overlay a high priority (Bug#6830).
4169 * dired.el (dired-goto-file): Recognize absolute file name
4170 listings (Bug#7126).
4171 (dired-goto-file-1): New helper function.
4172 (dired-toggle-read-only): Inhibit warnings.
4174 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4176 * net/dbus.el (dbus-property-handler): Return empty array if
4177 there are no properties.
4179 2012-03-09 Leo Liu <sdl.web@gmail.com>
4181 * savehist.el (savehist-printable): Stricter check for string
4184 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4186 * mail/smtpmail.el (smtpmail-send-it):
4187 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4190 2012-03-09 Glenn Morris <rgm@gnu.org>
4192 * files.el (dir-locals-find-file):
4193 Don't check result is regular, readable.
4194 (dir-locals-read-from-file): Demote errors.
4196 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4198 * international/quail.el (quail-insert-kbd-layout):
4199 Insert invisible LRM characters before each character in a keyboard
4200 layout cell, to prevent their reordering by bidi display engine.
4201 For details, see the discussion in
4202 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4204 2012-03-08 Alan Mackenzie <acm@muc.de>
4206 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4207 the starting position; make it extend the marked region when
4208 invoked repeatedly - all under appropriate circumstances.
4209 Fixes bugs #5525, #10906.
4211 2012-03-08 Glenn Morris <rgm@gnu.org>
4213 * files.el (locate-dominating-file, dir-locals-find-file):
4214 Undo 2012-03-06 change.
4216 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4218 * international/quail.el (quail-help):
4219 Force bidi-paragraph-direction be left-to-right. See discussion in
4220 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4223 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4225 Avoid superfluous registering of signals. (Bug#10807)
4227 * notifications.el (notifications-on-action-object)
4228 (notifications-on-close-object): New defvars.
4229 (notifications-on-action-signal, notifications-on-closed-signal):
4230 Unregister the signal if not needed any longer.
4231 (notifications-notify): Register `notifications-action-signal' or
4232 `notifications-closed-signal', if :on-action or :on-close has been
4235 2012-03-07 Chong Yidong <cyd@gnu.org>
4237 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4240 2012-03-06 Glenn Morris <rgm@gnu.org>
4242 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4243 (x-disown-selection-internal, x-get-selection-internal):
4244 Doc fix (add arglist signatures). (Bug#10783)
4246 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4248 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4249 Handle breakpoints with no "type".
4251 2012-03-06 Glenn Morris <rgm@gnu.org>
4253 * files.el (locate-dominating-file): Add optional predicate argument.
4254 (dir-locals-find-file): Make use of above change.
4256 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4258 * info.el (Info-insert-dir): Also try "dir.gz".
4260 2012-03-06 Glenn Morris <rgm@gnu.org>
4262 * files.el (dir-locals-find-file):
4263 Ignore non-readable or non-regular files. (Bug#10928)
4265 * files.el (locate-dominating-file): Doc fix.
4267 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4269 * calendar/calendar.el (calendar-set-mode-line):
4270 `getenv' returns a string. (Bug#10951)
4272 2012-03-05 Leo Liu <sdl.web@gmail.com>
4274 * simple.el (backward-delete-char-untabify): Constrain point to
4277 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4279 2012-03-05 Chong Yidong <cyd@gnu.org>
4281 * simple.el (count-words): If called from Lisp, return the word
4282 count, for symmetry with `count-lines'. Arglist changed.
4283 (count-words--message): Args changed. Consolidate counting code
4284 from count-words and count-words-region.
4285 (count-words-region): Caller changed.
4286 (count-lines-region): Make it an obsolete alias.
4288 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4290 * saveplace.el (save-place-to-alist)
4291 (save-place-ignore-files-regexp): Allow value nil to disable this
4294 2012-03-04 Chong Yidong <cyd@gnu.org>
4296 * faces.el (face-spec-reset-face): For the default face, reset the
4297 attributes to default values (Bug#10748).
4299 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4301 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4302 previous patch: Check `message-send-mail-function', and not the
4303 default function (bug#10897).
4305 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4307 * notifications.el (notifications-on-action-signal)
4308 (notifications-on-closed-signal): Check for unique service name of
4309 incoming event. Fix error in removing entry.
4310 (top): Register for signals with wildcard service name.
4311 (notifications-notify): Use daemon unique service name for map entries.
4313 2012-03-04 Chong Yidong <cyd@gnu.org>
4315 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4317 2012-03-04 Glenn Morris <rgm@gnu.org>
4319 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4320 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4321 (expand-abbrev, define-abbrev-table): Doc fixes.
4323 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4325 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4326 `message-default-send-mail-function' and not `send-mail-function'
4327 when doing the prompting for `sendmail-query-once' before sending
4328 in Message buffers (bug#10897).
4330 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4331 This is inconsistent with all the other stream functions, which leave
4332 the setting up to the higher levels (if so wanted) (bug#10931).
4334 2012-03-02 Alan Mackenzie <acm@muc.de>
4336 Depessimize the handling of very large macros.
4338 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4339 (c-macro-cache-syntactic): New variables to implement a one
4340 element macro cache.
4341 (c-invalidate-macro-cache): New function.
4342 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4343 Adapt to use the new cache.
4344 (c-state-safe-place): Use better the cache of safe positions.
4345 (c-state-semi-nonlit-pos-cache)
4346 (c-state-semi-nonlit-pos-cache-limit):
4347 New variables for...
4348 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4349 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4350 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4351 Use c-state-semi-safe-place.
4353 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4354 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4356 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4358 * jka-compr.el (jka-compr-call-process):
4359 Apply `file-accessible-directory-p' only when the default directory is
4362 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4364 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4365 access of FILE2, if FILE1 does not exist.
4367 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4368 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4370 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4371 Add "PAGER=" to `process-environment'.
4373 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4375 * progmodes/sql.el: Bug fix
4376 (sql-get-login-ext): Save login values in globals.
4377 (sql-get-login): Use new version of `sql-get-login-ext'.
4378 (sql-interactive-mode): Set global `sql-connection' to nil.
4379 (sql-connect): Set global values for connection.
4380 (sql-product-interactive): Save global values as buffer local.
4382 2012-02-29 Leo Liu <sdl.web@gmail.com>
4384 * abbrev.el (define-abbrevs): Reset sys to nil.
4386 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4388 * files.el (file-equal-p): Rename from `files-equal-p'.
4389 Return nil when one or both files don't exist.
4390 (file-subdir-of-p): Now only top directory must exists,
4391 return nil if it doesn't.
4392 (copy-directory): No need to test with `file-subdir-of-p' after
4394 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4397 2012-02-28 Glenn Morris <rgm@gnu.org>
4399 * shell.el (shell-mode):
4400 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4401 * play/landmark.el (landmark-font-lock-face-O):
4402 * play/handwrite.el (handwrite):
4403 * play/gomoku.el (gomoku-O):
4404 * net/browse-url.el (browse-url-browser-display):
4405 * international/mule.el (define-charset):
4406 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4407 * filesets.el (filesets-find-file-delay):
4408 * eshell/em-xtra.el (eshell-xtra):
4409 * eshell/em-unix.el (eshell-grep):
4410 * emulation/viper.el (viper-mode):
4411 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4412 * emacs-lisp/easymenu.el (easy-menu-define):
4413 * calendar/timeclock.el (timeclock-use-display-time):
4415 * bookmark.el (bookmark-save-flag):
4416 Doc fix (standardize possessive apostrophe usage).
4418 2012-02-27 Chong Yidong <cyd@gnu.org>
4420 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4421 Fix key-binding lookup for ESC key (Bug#9146).
4423 * font-lock.el (font-lock-specified-p): Rename from
4424 font-lock-spec-present. Callers changed.
4426 2012-02-27 Daniel Hackney <dan@haxney.org>
4428 * emacs-lisp/package.el (package-compute-transaction):
4429 Handle holding a package version to t in package-load-list.
4431 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4433 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4434 (tramp-get-inode, tramp-get-device): Use cached values.
4436 2012-02-26 Alan Mackenzie <acm@muc.de>
4438 Check there is a font-lock specification before doing initial
4441 * font-core.el (font-lock-mode): Move the conditional from
4442 :after-hook to font-lock-initial-fontify.
4443 (font-lock-default-function): Move the check for a specification
4444 to font-lock-spec-present.
4446 * font-lock.el (font-lock-initial-fontify): Call ...
4447 (font-lock-spec-present): New function.
4449 2012-02-26 Jim Blandy <jimb@red-bean.com>
4451 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4452 (gdb-send): Apply it to the operand of the '-interpreter-exec
4453 console' command, so that we can pass arguments with (say) quotes
4454 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4456 2012-02-26 Chong Yidong <cyd@gnu.org>
4458 * help-fns.el (describe-function-1): Clarify description of
4459 remapping (Bug#10844).
4461 * files.el (files-equal-p): Doc fix.
4462 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4463 and quit the loop once a mismatch is found.
4465 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4467 * bs.el (bs--show-with-configuration): Don't throw an error
4468 if the window cannot be split; otherwise, subsequent calls to
4469 bs-show fail, restoring a stale window config. (Bug#10882)
4471 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4473 * term/ns-win.el (global-map): Bind ns-drag-file to
4474 ns-find-file (Bug#5855, Bug#10050).
4476 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4478 * calendar/parse-time.el (parse-time-string): Allow extractor to
4481 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4483 * net/tramp.el (tramp-file-name-for-operation):
4484 Add `files-equal-p' and `file-subdir-of-p'.
4486 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4487 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4488 Add COPY-CONTENTS argument.
4490 2012-02-25 Chong Yidong <cyd@gnu.org>
4492 Add custom groups for VC backends, for consistency with vc-bzr.
4494 * vc/vc-arch.el (vc-arch):
4495 * vc/vc-cvs.el (vc-cvs):
4496 * vc/vc-git.el (vc-git):
4497 * vc/vc-hg.el (vc-hg):
4498 * vc/vc-mtn.el (vc-mtn):
4499 * vc/vc-rcs.el (vc-rcs):
4500 * vc/vc-sccs.el (vc-sccs):
4501 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4502 All relevant defcustoms reassigned.
4504 2012-02-25 Chong Yidong <cyd@gnu.org>
4506 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4508 * term/x-win.el (x-initialize-window-system): Reduce default for
4509 x-selection-timeout to 5 seconds (Bug#8869).
4511 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4513 * files.el (files-equal-p, file-subdir-of-p): New functions.
4514 (copy-directory): Error when trying to copy a directory on itself.
4515 Add missing copy-contents arg to tramp handler.
4516 * dired-aux.el (dired-copy-file-recursive): Same.
4517 (dired-create-files): Modify destination when source is equal to
4518 dest when copying files.
4519 Return also when dest is a subdir of source. (Bug#10489)
4521 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
4523 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4526 2012-02-23 Alan Mackenzie <acm@muc.de>
4528 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4529 parameter "after-hook:" to allow the expansion to run code after
4530 the execution of the mode hooks.
4532 * font-lock.el (font-lock-initial-fontify): New function extracted
4533 from font-lock-mode-internal.
4535 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4538 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4540 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4541 (completion--cache-all-sorted-completions): New function.
4542 (completion-all-sorted-completions): Use it.
4543 (completion--do-completion, minibuffer-force-complete):
4544 Use it to re-instate the flush hook.
4546 * icomplete.el (icomplete-completions): Replace last fix with a better
4549 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4551 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4552 when it might call us back infinitely (bug#10797).
4554 2012-02-23 Glenn Morris <rgm@gnu.org>
4556 * minibuffer.el (completion-category-overrides): Doc fix.
4558 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4560 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4561 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4563 2012-02-23 Glenn Morris <rgm@gnu.org>
4565 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4566 (authors-obsolete-files-regexps, authors-ignored-files)
4567 (authors-ambiguous-files, authors-renamed-files-alist):
4570 2012-02-23 Juri Linkov <juri@jurta.org>
4572 * isearch.el (isearch-occur): Sync interactive spec with occur's
4573 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4575 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4577 2012-02-22 Juri Linkov <juri@jurta.org>
4579 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4580 (ucs-insert): Doc fix. Check for hex digits in the string.
4581 Don't display `nil' in the error message. (Bug#10857)
4583 2012-02-22 Alan Mackenzie <acm@muc.de>
4585 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4587 2012-02-22 Glenn Morris <rgm@gnu.org>
4589 * ffap.el (ffap-c-path):
4590 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4592 2012-02-22 Chong Yidong <cyd@gnu.org>
4594 * custom.el (load-theme): Doc fix.
4596 2012-02-22 Glenn Morris <rgm@gnu.org>
4598 * dired-x.el (dired-guess-shell-alist-default):
4599 Remove escape sequences from nroff output. (Bug#172)
4601 2012-02-21 Glenn Morris <rgm@gnu.org>
4603 * vc/emerge.el (emerge-defvar-local):
4604 Set `permanent-local' property rather than unused `preserved'.
4606 * textmodes/picture.el (picture-delete-char): New alias.
4607 (picture-mode-map): Use it. (Bug#10860)
4608 (picture-mode): Doc fix.
4610 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4612 * newcomment.el (uncomment-region-default): Remove unused binding.
4614 2012-02-21 Glenn Morris <rgm@gnu.org>
4616 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4617 (picture-self-insert, picture-tab-chars): Doc fix.
4618 (picture-mode-map): Fix C-a, C-e.
4620 2012-02-20 Glenn Morris <rgm@gnu.org>
4622 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4624 2012-02-20 Leo Liu <sdl.web@gmail.com>
4626 * icomplete.el (icomplete-completions): Check FROM arg before
4627 passing to substring (Bug#10850).
4629 2012-02-19 Chong Yidong <cyd@gnu.org>
4631 * comint.el: Require ansi-color.
4632 (comint-output-filter-functions): Add ansi-color-process-output.
4634 * ansi-color.el: Don't set comint-output-filter-functions; it is
4635 now in the initial value defined in comint.el.
4636 (ansi-color-apply-face-function): New variable.
4637 (ansi-color-apply-on-region): Use it.
4638 (ansi-color-apply-overlay-face): New function.
4640 * shell.el (shell): No need to require ansi-color.
4641 (shell-mode): Use ansi-color-apply-face-function to highlight
4642 color escapes using font-lock-face property (Bug#10835).
4644 2012-02-19 Chong Yidong <cyd@gnu.org>
4646 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4647 mode-line formats (Bug#10839).
4649 2012-02-18 Glenn Morris <rgm@gnu.org>
4651 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4653 * mail/undigest.el (unforward-rmail-message): Doc fix.
4655 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4657 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4659 * international/characters.el (script-list): Sync with the latest
4660 Unicode Character Database.
4662 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4664 * international/titdic-cnv.el: Remove duplicate coding tag.
4665 * language/cham.el: Likewise.
4666 * language/tai-viet.el: Likewise.
4668 2012-02-18 Glenn Morris <rgm@gnu.org>
4670 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4671 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4672 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4673 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4674 * calendar/holidays.el (holiday-bahai-holidays)
4675 (calendar-holidays, list-holidays):
4676 Use utf-8 Bahá'í in doc-strings, menus, etc.
4678 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4680 * saveplace.el (save-place-ignore-files-regexp): New variable
4681 allowing for excluding files from saving their location of point.
4682 The default value matches the temporary commit message editing
4683 files from Git, SVN, Bazaar, and Mercurial.
4684 (save-place-to-alist): Use it.
4686 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4687 Stefan Monnier <monnier@iro.umontreal.ca>
4689 * newcomment.el (uncomment-region-default): Don't leave extra space
4690 when an arg is provided (bug#8150).
4692 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4694 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4696 2012-02-17 Glenn Morris <rgm@gnu.org>
4698 * net/socks.el: Require network-stream. (Bug#10599)
4700 2012-02-17 Kenichi Handa <handa@m17n.org>
4702 * international/charprop.el:
4703 * international/uni-name.el:
4704 * international/uni-old-name.el:
4705 * international/uni-comment.el: Regenerate.
4707 2012-02-16 Glenn Morris <rgm@gnu.org>
4709 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4710 Interactively in calendar buffer, give an error if not on a date.
4712 2012-02-15 Glenn Morris <rgm@gnu.org>
4714 * shell.el (shell-delimiter-argument-list):
4715 Revert 2011-02-17 change. (Bug#8027)
4717 2012-02-15 Chong Yidong <cyd@gnu.org>
4719 * minibuffer.el (completion-at-point-functions): Doc fix.
4721 * custom.el (defcustom): Doc fix; note use of defvar.
4723 2012-02-15 Glenn Morris <rgm@gnu.org>
4725 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4728 2012-02-14 Glenn Morris <rgm@gnu.org>
4730 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4732 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4734 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4735 way the ports list is computed.
4736 (smtpmail-query-smtp-server): Prompt the user for a port number if
4737 we can't connect to any of the standard ports (bug#10810).
4739 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4741 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4743 2012-02-13 Glenn Morris <rgm@gnu.org>
4745 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4747 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4749 * net/gnutls.el (gnutls-trustfiles): New variable.
4750 (gnutls-negotiate): Use it.
4752 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4754 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4755 does its stuff if Gnus is running.
4757 2012-02-13 Alan Mackenzie <acm@muc.de>
4759 Fix a loop in c-set-fl-decl-start.
4761 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4762 c-backward-syntactic-ws actually moves backwards.
4764 2012-02-13 Leo Liu <sdl.web@gmail.com>
4766 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4767 beginning so that all \C-o chars are removed.
4769 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4771 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4773 2012-02-12 Alan Mackenzie <acm@muc.de>
4775 Fix infinite loop with long macros.
4776 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4778 2012-02-12 Chong Yidong <cyd@gnu.org>
4780 * window.el (display-buffer): Doc fix (Bug#10785).
4782 2012-02-12 Glenn Morris <rgm@gnu.org>
4784 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4785 (x-disown-selection-internal, x-get-selection-internal):
4786 Sync docs with the xselect.c versions.
4788 * allout-widgets.el: Add missing license notice.
4790 2012-02-11 Glenn Morris <rgm@gnu.org>
4792 * select.el (x-get-selection-internal, x-own-selection-internal)
4793 (x-disown-selection-internal):
4794 * x-dnd.el (x-get-selection-internal): Update declarations.
4796 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4798 * window.el (window-sides-slots):
4799 * tool-bar.el (tool-bar-position):
4800 * term/xterm.el (xterm-extra-capabilities):
4801 * ses.el (ses-self-reference-early-detection):
4802 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4803 (verilog-auto-wire-type)
4804 (verilog-auto-delete-trailing-whitespace)
4805 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4806 (verilog-auto-tieoff-declaration):
4807 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4808 (sql-oracle-statement-starters, sql-oracle-scan-on):
4809 * progmodes/prolog.el (prolog-align-comments-flag)
4810 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4811 (prolog-left-indent-regexp, prolog-paren-indent-p)
4812 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4813 (prolog-types, prolog-mode-specificators)
4814 (prolog-determinism-specificators, prolog-directives)
4815 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4816 (prolog-electric-dot-flag)
4817 (prolog-electric-dot-full-predicate-template)
4818 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4819 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4820 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4821 (prolog-program-switches, prolog-prompt-regexp)
4822 (prolog-debug-on-string, prolog-debug-off-string)
4823 (prolog-trace-on-string, prolog-trace-off-string)
4824 (prolog-zip-on-string, prolog-zip-off-string)
4825 (prolog-use-standard-consult-compile-method-flag)
4826 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4827 (prolog-imenu-max-lines, prolog-info-predicate-index)
4828 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4829 (prolog-char-quote-workaround):
4830 * progmodes/cc-vars.el (c-defun-tactic):
4831 * net/tramp.el (tramp-encoding-command-interactive)
4832 (tramp-local-end-of-line):
4833 * net/soap-client.el (soap-client):
4834 * net/netrc.el (netrc-file):
4835 * net/gnutls.el (gnutls):
4836 * minibuffer.el (completion-category-overrides)
4837 (completion-cycle-threshold)
4838 (completion-pcm-complete-word-inserts-delimiters):
4839 * man.el (Man-name-local-regexp):
4840 * mail/feedmail.el (feedmail-display-full-frame):
4841 * international/characters.el (glyphless-char-display-control):
4842 * eshell/em-ls.el (eshell-ls-date-format):
4843 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4844 (lisp-lambda-list-keyword-parameter-indentation)
4845 (lisp-lambda-list-keyword-parameter-alignment):
4846 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4847 * dired-x.el (dired-omit-verbose):
4848 * cus-theme.el (custom-theme-allow-multiple-selections):
4849 * calc/calc.el (calc-highlight-selections-with-faces)
4850 (calc-lu-field-reference, calc-lu-power-reference)
4851 (calc-note-threshold):
4852 * battery.el (battery-mode-line-limit):
4853 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4854 (archive-7z-update):
4855 * allout.el (allout-prefixed-keybindings)
4856 (allout-unprefixed-keybindings)
4857 (allout-inhibit-auto-fill-on-headline)
4858 (allout-flattened-numbering-abbreviation):
4859 * allout-widgets.el (allout-widgets-auto-activation)
4860 (allout-widgets-icons-dark-subdir)
4861 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4862 (allout-widgets-theme-dark-background)
4863 (allout-widgets-theme-light-background)
4864 (allout-widgets-item-image-properties-emacs)
4865 (allout-widgets-item-image-properties-xemacs)
4866 (allout-widgets-run-unit-tests-on-load)
4867 (allout-widgets-time-decoration-activity)
4868 (allout-widgets-hook-error-post-time)
4869 (allout-widgets-track-decoration):
4870 Add missing :version tags to new defcustoms and defgroups.
4872 * progmodes/sql.el (sql-ansi-statement-starters)
4873 (sql-oracle-statement-starters): Add custom type.
4875 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4876 (prolog-system-version): Give it a type.
4878 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4880 * term/pc-win.el (x-select-text, x-selection-owner-p)
4881 (x-own-selection-internal, x-disown-selection-internal)
4882 (x-get-selection-internal): Sync doc strings and argument lists
4883 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4885 2012-02-11 Leo Liu <sdl.web@gmail.com>
4887 * progmodes/python.el (python-end-of-statement): Fix infinite
4890 2012-02-10 Glenn Morris <rgm@gnu.org>
4892 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4893 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4895 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4897 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4898 about SMTP before checking the From header.
4900 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4901 into own function for reuse by emacsbug.el.
4903 2012-02-10 Leo Liu <sdl.web@gmail.com>
4905 * subr.el (condition-case-unless-debug): Rename from
4906 condition-case-no-debug. All callers changed.
4907 (with-demoted-errors): Fix caller.
4909 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4910 * nxml/rng-valid.el (rng-do-some-validation):
4911 * emacs-lisp/package.el (package-refresh-contents)
4912 (package-menu-execute):
4913 * desktop.el (desktop-create-buffer):
4914 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4916 2012-02-10 Glenn Morris <rgm@gnu.org>
4918 * textmodes/bibtex.el:
4919 Add missing :version tags for new/changed defcustoms.
4921 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4923 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4925 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4926 (smtpmail-via-smtp): Use it, or fall back on the From address.
4927 (smtpmail-send-it): Ditto.
4929 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4931 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4932 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4933 (byte-compile-tmp-var): New const.
4934 (byte-compile-defvar): Use it to minimize .elc size.
4935 Just use `defvar' rather than simulate it (bug#10761).
4937 2012-02-09 Glenn Morris <rgm@gnu.org>
4939 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4941 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4944 * progmodes/compile.el (compilation-error-screen-columns)
4945 (compilation-first-column, compilation-filter-start): Doc fixes.
4947 * vc/log-view.el (log-view-toggle-entry-display):
4948 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4950 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4951 (report-emacs-bug-can-use-xdg-email):
4952 (report-emacs-bug-insert-to-mailer): Doc fixes.
4953 (report-emacs-bug): Message fix.
4955 * net/browse-url.el (browse-url-can-use-xdg-open)
4956 (browse-url-xdg-open): Doc fixes.
4958 * electric.el (electric-indent-mode, electric-pair-mode)
4959 (electric-layout-rules, electric-layout-mode): Doc fixes.
4960 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4962 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4964 * server.el (server-unselect-display): Don't inadvertently kill
4965 the current buffer. (Bug#10729)
4967 2012-02-08 Glenn Morris <rgm@gnu.org>
4969 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4970 (sql-list-table): Doc fixes.
4972 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4973 Comment out (does nothing).
4975 * completion.el (dynamic-completion-mode):
4976 * dirtrack.el (dirtrack-debug-mode):
4977 * electric.el (electric-layout-mode):
4978 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4979 * face-remap.el (text-scale-mode, buffer-face-mode):
4980 * iimage.el (iimage-mode):
4981 * image-mode.el (image-transform-mode):
4982 * minibuffer.el (completion-in-region-mode):
4983 * scroll-lock.el (scroll-lock-mode):
4984 * simple.el (next-error-follow-minor-mode):
4985 * tar-mode.el (tar-subfile-mode):
4986 * tooltip.el (tooltip-mode):
4987 * vcursor.el (vcursor-use-vcursor-map):
4988 * wid-browse.el (widget-minor-mode):
4989 * emulation/tpu-edt.el (tpu-edt-mode):
4990 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4991 * international/iso-ascii.el (iso-ascii-mode):
4992 * language/thai-util.el (thai-word-mode):
4993 * mail/supercite.el (sc-minor-mode):
4994 * net/goto-addr.el (goto-address-mode):
4995 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4996 * progmodes/cwarn.el (cwarn-mode):
4997 * progmodes/flymake.el (flymake-mode):
4998 * progmodes/glasses.el (glasses-mode):
4999 * progmodes/hideshow.el (hs-minor-mode):
5000 * progmodes/pascal.el (pascal-outline-mode):
5001 * textmodes/enriched.el (enriched-mode):
5002 * vc/smerge-mode.el (smerge-mode):
5003 Doc fixes (minor mode argument).
5005 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5007 * ls-lisp.el (ls-lisp-sanitize): New function.
5008 (ls-lisp-insert-directory): Use it to fix or remove any elements
5009 in file-alist with missing attributes. (Bug#4673)
5011 2012-02-07 Alan Mackenzie <acm@muc.de>
5013 Fix spurious recognition of c-in-knr-argdecl.
5015 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5016 putative K&R region.
5018 2012-02-07 Alan Mackenzie <acm@muc.de>
5020 * progmodes/cc-engine.el (c-forward-objc-directive):
5021 Prevent looping in "#pragma mark @implementation".
5023 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5025 * notifications.el (notifications-on-closed-signal): Make `reason'
5026 optional. (Bug#10744)
5028 2012-02-07 Glenn Morris <rgm@gnu.org>
5030 * emacs-lisp/easy-mmode.el (define-minor-mode):
5031 Doc fixes for the macro and the mode it defines.
5033 * image.el (imagemagick-types-inhibit): Doc fix.
5035 * cus-start.el (imagemagick-render-type): Add it.
5037 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5039 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5040 Set the default at load time, too, so that `font-lock-fontify-buffer'
5041 can be called without setting up the entire mode first. This fixes
5042 a bug in `mm-inline-text' with C MIME parts.
5044 2012-02-06 Chong Yidong <cyd@gnu.org>
5046 * simple.el (list-processes--refresh): Delete exited processes
5049 * comint.el (comint-next-prompt): next-single-char-property-change
5050 and prev-single-char-property-change never return nil (Bug#8657).
5052 * custom.el (defcustom): Doc fix (Bug#9711).
5054 2012-02-05 Chong Yidong <cyd@gnu.org>
5056 * cus-edit.el (custom-variable-reset-backup): Quote the value
5057 before storing it in the customized-value property (Bug#6712).
5058 (custom-display): Add a customization type tag.
5059 (custom-buffer-create-internal): Improve tooltip message.
5061 * wid-edit.el (widget-field-value-get): New optional arg to
5062 suppress trailing whitespace truncation.
5063 (character): Use it (Bug#2689).
5065 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5067 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5068 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5070 2012-02-05 Chong Yidong <cyd@gnu.org>
5072 * cus-edit.el (custom-variable-value-create): For mismatched
5073 types, show the current value (Bug#7600).
5075 * custom.el (defcustom): Doc fix.
5077 2012-02-05 Glenn Morris <rgm@gnu.org>
5079 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5081 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5083 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5084 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5085 (pp-last-sexp): Use `looking-at-p'.
5087 2012-02-04 Glenn Morris <rgm@gnu.org>
5089 * files.el (revert-buffer):
5090 Doc fix (mention revert-buffer-in-progress-p).
5092 * emacs-lisp/ert-x.el (ert-simulate-command):
5093 Check deferred-action-list (which is obsolete) is bound.
5095 * subr.el (with-wrapper-hook): Doc fixes.
5097 * simple.el (filter-buffer-substring-functions)
5098 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5100 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5102 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5103 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5105 2012-02-04 Leo Liu <sdl.web@gmail.com>
5107 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5109 2012-02-04 Glenn Morris <rgm@gnu.org>
5111 * image.el (image-extension-data): Add obsolete alias.
5113 * isearch.el (isearch-update): Doc fix.
5115 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5117 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5119 2012-02-03 Glenn Morris <rgm@gnu.org>
5121 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5122 (image-animate-timeout): Doc fix.
5124 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5126 2012-02-02 Glenn Morris <rgm@gnu.org>
5128 * server.el (server-auth-dir): Doc fix.
5129 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5131 * subr.el (run-mode-hooks): Doc fix.
5133 2012-02-02 Juri Linkov <juri@jurta.org>
5135 * image-mode.el (image-toggle-display-image): Remove tautological
5136 `major-mode' from the `derived-mode-p' test.
5138 2012-02-02 Kenichi Handa <handa@m17n.org>
5140 * composite.el (compose-region): Cancel previous change.
5142 2012-02-02 Kenichi Handa <handa@m17n.org>
5144 * composite.el (compose-region, compose-string): Signal error for
5145 a null string component (Bug#6988).
5147 2012-02-01 Chong Yidong <cyd@gnu.org>
5149 * view.el (view-buffer-other-window, view-buffer-other-frame):
5150 Handle special modes like view-buffer (Bug#10650).
5151 (view-buffer): Simplify.
5153 * frame.el (set-frame-font): Tweak meaning of third argument.
5155 * dynamic-setting.el (font-setting-change-default-font):
5156 Use set-frame-font (Bug#9982).
5158 2012-02-01 Glenn Morris <rgm@gnu.org>
5160 * progmodes/compile.el (compilation-internal-error-properties):
5161 Respect compilation-first-column in the "*compilation*" buffer.
5163 * emacs-lisp/easy-mmode.el (define-minor-mode):
5164 Relax :variable's test for a named function.
5166 2012-01-31 Alan Mackenzie <acm@muc.de>
5168 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5171 2012-01-31 Chong Yidong <cyd@gnu.org>
5173 * frame.el (set-frame-font): New arg ALL-FRAMES.
5175 * menu-bar.el (menu-set-font): Use set-frame-font.
5177 * faces.el (face-spec-reset-face): Don't apply unspecified
5178 attribute values to the default face.
5180 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5182 * progmodes/cwarn.el (cwarn): Remove dead link.
5183 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5184 Remove * from defcustom docstrings.
5185 (turn-on-cwarn-mode): Make obsolete.
5186 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5187 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5189 2012-01-31 Glenn Morris <rgm@gnu.org>
5191 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5192 Fix :variable handling of mode a symbol not equal to modefun.
5193 Allow named functions to be used as the cdr of :variable.
5195 2012-01-30 Glenn Morris <rgm@gnu.org>
5197 * emacs-lisp/authors.el (authors-fixed-entries):
5198 Remove reference to deleted file rnewspost.el.
5200 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5202 * window.el (window-with-parameter): Remove unused variable `windows'.
5203 (window--side-check): Remove unused variable `code'.
5204 (window--resize-siblings): Remove unused variable `first'.
5205 (adjust-window-trailing-edge): Remove unused variable `failed'.
5206 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5207 Use `let', not `let*'.
5208 (balance-windows-2): Remove unused variable `found'.
5209 (window--state-put-2): Remove unused variable `splits'.
5210 (window-state-put): Remove unused variable `selected'.
5211 (same-window-p): Use `string-match-p'.
5212 (display-buffer-assq-regexp): Remove unused variable `value'.
5213 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5214 Mark argument ALIST as ignored.
5215 (pop-to-buffer): Remove unused variable `old-window'.
5217 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5219 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5220 and .lzma compressed files.
5222 2012-01-29 Chong Yidong <cyd@gnu.org>
5224 * frame.el (window-system-default-frame-alist): Doc fix.
5226 * dynamic-setting.el (font-setting-change-default-font): Don't
5227 change the default face if SET-FONT argument is non-nil (Bug#9982).
5229 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5231 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5233 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5235 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5236 breakpoints in files outside current directory (Bug#6098).
5238 2012-01-29 Chong Yidong <cyd@gnu.org>
5240 * progmodes/python.el: Require ansi-color at top-level.
5242 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5243 Define and use in Emacs Lisp mode (Bug#9360).
5244 (lisp-mode-abbrev-table): Add doc.
5245 (lisp-mode-variables): Don't set local-abbrev-table.
5246 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5248 2012-01-28 Roland Winkler <winkler@gnu.org>
5250 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5252 2012-01-28 Roland Winkler <winkler@gnu.org>
5254 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5255 (bibtex-set-dialect): Use it. Either set global values of
5256 dialect-dependent variables or bind these variables buffer-locally
5258 (bibtex-mode): Call bibtex-set-dialect via
5259 hack-local-variables-hook.
5260 (bibtex-dialect): Update docstring.
5261 Add safe-local-variable predicate.
5262 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5264 (bibtex-mode-map): Define menu for each dialect.
5265 (bibtex-entry): Fix docstring.
5267 2012-01-28 Chong Yidong <cyd@gnu.org>
5269 * eshell/esh-arg.el (eshell-quote-argument): New function.
5271 * eshell/esh-ext.el (eshell-invoke-batch-file):
5272 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5273 first arg to eshell-parse-command (Bug#10523).
5275 2012-01-28 Drew Adams <drew.adams@oracle.com>
5277 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5278 `default-directory' is non-nil.
5280 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5282 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5283 line that displays system-configuration-options. (Bug#9924)
5285 2012-01-28 Drew Adams <drew.adams@oracle.com>
5287 * descr-text.el (describe-char): Show information about POS, in
5288 addition to information about the character at POS. Improve and
5289 update the doc string. Change "code point" to "code point in
5290 charset", to avoid confusion with the character's Unicode code
5291 point shown above that. (Bug#10129)
5293 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5295 * descr-text.el (describe-char): Show the raw character, not only
5296 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5297 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5300 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5302 * emacs-lisp/package.el (package-install):
5303 Run package-refresh-contents if there is no archive yet (Bug#9798).
5305 2012-01-28 Chong Yidong <cyd@gnu.org>
5307 * emacs-lisp/package.el (package-maybe-load-descriptor):
5308 New function, split from package-maybe-load-descriptor.
5309 (package-maybe-load-descriptor): Use it.
5310 (package-download-transaction): Fully load required packages
5311 inside the loop, so that `require' calls work (Bug#10593).
5312 (package-install): No need to call package-initialize now.
5314 2012-01-28 Chong Yidong <cyd@gnu.org>
5316 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5318 * tooltip.el (tooltip-mode): Doc fix.
5319 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5321 * frame.el (set-cursor-color): Doc fix (Bug#352).
5323 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5324 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5326 * cus-edit.el (custom-buffer-create-internal): Fix search button
5328 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5330 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5332 * dired.el (dired-mark-files-regexp):
5333 Include any subdirectory components. (Bug#10445)
5335 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5337 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5338 Handle [host]:port syntax. (Bug#10533)
5340 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5342 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5344 2012-01-26 Glenn Morris <rgm@gnu.org>
5346 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5347 * term.el (term-raw-escape-map): Use Control-X-prefix.
5348 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5350 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5352 * window.el (window-state-get, window--state-get-1): Don't deal
5353 with fixed-sizeness of windows. Simplify code.
5355 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5357 * window.el (window--state-get-1, window--state-put-2):
5358 Don't save and restore the mark.
5360 2012-01-25 Chong Yidong <cyd@gnu.org>
5362 * custom.el (custom-variable-p): Doc fix.
5364 2012-01-25 Glenn Morris <rgm@gnu.org>
5366 * dired.el (dired-goto-file): Handle some of the more common
5367 characters that `ls -b' escapes. (Bug#10596)
5369 * progmodes/compile.el (compilation-next-error-function):
5370 Respect compilation-first-column in the "*compilation*" buffer.
5371 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5373 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5375 2012-01-24 Glenn Morris <rgm@gnu.org>
5377 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5379 2012-01-24 Julien Danjou <julien@danjou.info>
5381 * color.el (color-rgb-to-hsl): Fix value computing.
5382 (color-hue-to-rgb): New function.
5383 (color-hsl-to-rgb): New function.
5384 (color-clamp, color-saturate-hsl, color-saturate-name)
5385 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5386 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5388 2012-01-24 Glenn Morris <rgm@gnu.org>
5390 * vc/vc-rcs.el (vc-rcs-create-tag):
5391 * vc/vc-sccs.el (vc-sccs-create-tag):
5392 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5394 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5396 * eshell/esh-util.el (eshell-read-hosts-file):
5397 Skip comment lines. (Bug#10549)
5399 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5401 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5403 * subr.el (display-delayed-warnings): Doc fix.
5404 (collapse-delayed-warnings): New function to collapse identical
5406 (delayed-warnings-hook): Add it.
5408 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5410 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5412 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5413 (tramp-default-user-alist): Don't add "pscp".
5414 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5415 property "login-as", if set. (Bug#10530)
5417 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5419 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5420 "plink1" and "psftp". (Bug#10530)
5422 2012-01-21 Kenichi Handa <handa@m17n.org>
5424 * international/mule-cmds.el (prefer-coding-system): Show a
5425 warning message if the default value of file-name-coding-system
5428 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5430 * windmove.el (windmove-reference-loc):
5431 Fix windmove-reference-loc miscalculation.
5433 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5435 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5438 2012-01-21 Glenn Morris <rgm@gnu.org>
5440 * international/mule.el (auto-coding-alist): Add .tbz.
5442 * files.el (local-enable-local-variables): Doc fix.
5443 (inhibit-local-variables-regexps): Rename from
5444 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5445 Doc fix. Add some extensions from auto-coding-alist.
5446 (inhibit-local-variables-suffixes):
5447 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5448 (inhibit-local-variables-p):
5449 New function, extracted from set-auto-mode-1.
5450 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5451 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5452 (hack-local-variables): Doc fix. Make the mode-only case
5453 respect enable-local-variables and friends.
5454 Respect inhibit-local-variables-regexps for file-locals, but
5455 not for directory-locals.
5456 (set-visited-file-name):
5457 Take account of inhibit-local-variables-regexps.
5458 Whether it applies may change as the file name is changed.
5459 * jka-cmpr-hook.el (jka-compr-install):
5460 * jka-compr.el (jka-compr-uninstall):
5461 Update for inhibit-first-line-modes-suffixes name change.
5463 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5465 * help-macro.el (make-help-screen): Temporarily restore original
5466 binding for minor-mode-map-alist (Bug#10454).
5468 2012-01-19 Julien Danjou <julien@danjou.info>
5470 * color.el (color-name-to-rgb): Use the white color to find the max
5471 color component value and return correctly computed values.
5472 (color-name-to-rgb): Add missing float conversion for max value.
5474 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5476 * window.el (window--state-get-1, window-state-get): Do not use
5477 special state value for window-persistent-parameters.
5478 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5479 (window--state-put-2): Reset all window parameters to nil before
5480 assigning values of persistent parameters.
5482 2012-01-18 Alan Mackenzie <acm@muc.de>
5484 Eliminate sluggishness and hangs in fontification of "semicolon
5487 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5488 Change value 10000 -> 3000.
5489 (c-state-safe-place): Reformulate so it doesn't stack up an
5490 infinite number of wrong entries in c-state-nonlit-pos-cache.
5491 (c-determine-limit-get-base, c-determine-limit): New functions to
5492 determine backward search limits disregarding literals.
5493 (c-find-decl-spots): Amend commenting.
5494 (c-cheap-inside-bracelist-p): New function which detects "={".
5496 * progmodes/cc-fonts.el
5497 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5499 (c-font-lock-declarations): Fix an occurrence of point being
5500 undefined. Check additionally for point being in a bracelist or
5501 near a macro invocation without a semicolon so as to avoid a
5502 fruitless time consuming search for a declarator. Give a more
5503 precise search limit for declarators using the new
5506 2012-01-18 Glenn Morris <rgm@gnu.org>
5508 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5509 (set-auto-mode): Doc fixes.
5511 2012-01-17 Glenn Morris <rgm@gnu.org>
5513 * isearch.el (search-nonincremental-instead): Fix doc typo.
5515 * dired.el (dired-insert-directory): Handle newlines in directory name.
5516 (dired-build-subdir-alist): Unescape newlines in directory name.
5518 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
5520 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5521 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5522 (tramp-action-terminal): Use it. (Bug#10530)
5524 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5526 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5528 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5530 * window.el (window-state-ignored-parameters): Remove variable.
5531 (window--state-get-1): Rename argument MARKERS to IGNORE.
5532 Handle persistent window parameters. Make copy of clone-of
5533 parameter only if requested. (Bug#10348)
5534 (window--state-put-2): Install a window parameter only if it has
5535 a non-nil value or an existing parameter shall be overwritten.
5537 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5539 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5541 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5543 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5544 don't pass the (nil) value of `upnode' to string-match.
5546 2012-01-14 Chong Yidong <cyd@gnu.org>
5548 * startup.el (command-line): Fix X resource class for cursorColor.
5549 Fix values recognized by the cursorBlink resource.
5551 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5553 * epg.el (epg--make-temp-file): Avoid permission race condition
5554 when running on old Emacs versions (bug#10403).
5556 2012-01-14 Glenn Morris <rgm@gnu.org>
5558 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5560 2012-01-13 Alan Mackenzie <acm@muc.de>
5562 Fix filling for when filladapt mode is enabled.
5564 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5565 c-mask-paragraph, pass in `fill-paragraph' rather than
5566 `fill-region-as-paragraph'. (This is a reversion of a previous
5568 * progmodes/cc-mode.el (c-basic-common-init):
5569 Make fill-paragraph-handle-comment buffer local and set it to nil.
5571 2012-01-13 Glenn Morris <rgm@gnu.org>
5573 * dired.el (dired-switches-escape-p): New function.
5574 (dired-insert-directory): Use dired-switches-escape-p.
5575 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5577 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5579 2012-01-12 Glenn Morris <rgm@gnu.org>
5581 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5582 changes in adaptive-fill-regexp. (Bug#10276)
5584 2012-01-11 Alan Mackenzie <acm@muc.de>
5586 Fix Emacs bug #10463 - put `widen's around the critical spots.
5588 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5589 widen around each invocation of c-state-pp-to-literal. Remove an
5590 unused let variable.
5592 2012-01-11 Glenn Morris <rgm@gnu.org>
5594 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5597 2012-01-10 Chong Yidong <cyd@gnu.org>
5599 * net/network-stream.el (network-stream-open-starttls):
5600 Avoid emitting a confusing error message when the server gives a bad
5601 response to the capability command.
5603 2012-01-10 Glenn Morris <rgm@gnu.org>
5605 * mail/unrmail.el (unrmail): Tweak previous change.
5607 2012-01-09 Chong Yidong <cyd@gnu.org>
5609 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5611 2012-01-08 Alan Mackenzie <acm@muc.de>
5613 Optimise font locking in long enum definitions.
5615 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5616 arm to a cond form to handle enums.
5617 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5618 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5620 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5622 * files.el (move-file-to-trash): Preserve default file modes on error.
5625 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5627 * faces.el (set-face-attribute): Clarify the meaning of the nil
5630 * subr.el (with-selected-frame): Mention that the selected frame
5631 is restored (bug#9980).
5633 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5636 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5637 (password-read): Don't autoload unused function.
5639 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5641 * progmodes/which-func.el (which-func-mode): Turn into a
5642 non-interactive function and mark as obsolete (bug#10428).
5644 2012-01-06 Chong Yidong <cyd@gnu.org>
5646 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5647 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5648 functions, along with 1 and -1.
5650 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5652 * time.el (display-time-load-average)
5653 (display-time-default-load-average): Doc fixes. See the thread
5655 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5658 2012-01-06 Glenn Morris <rgm@gnu.org>
5660 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5661 has no messages. (Bug#10377)
5663 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5664 than Info-edit. (Bug#10385)
5666 * time.el (display-time-load-average, display-time-next-load-average):
5669 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5670 local setting of buffer-read-only to the input buffer. (Bug#10419)
5672 * calendar/calendar.el (calendar-mode):
5673 Locally set scroll-margin to 0. (Bug#10379)
5675 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5677 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5679 2012-01-05 Glenn Morris <rgm@gnu.org>
5681 * eshell/em-unix.el (diff-no-select): Autoload it.
5682 (eshell/diff): Use diff-no-select. (Bug#10420)
5684 2012-01-05 Chong Yidong <cyd@gnu.org>
5686 * shell.el (shell-dynamic-complete-functions): Revert last change.
5687 (shell-command-completion-function): New function.
5688 (shell-completion-vars): Use it to implement
5689 shell-completion-execonly (Bug#10417).
5691 * custom.el (enable-theme): Don't set custom-safe-themes.
5693 * cus-theme.el (custom-theme-merge-theme):
5694 Ignore custom-enabled-themes and custom-safe-themes.
5696 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5698 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5699 first prompt in `sql-interacive-mode'.
5700 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5702 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5703 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5704 context of original buffer. Invoke `sql-login-hook'.
5706 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5708 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5709 letters in cite-prefix.
5711 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5713 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5715 2012-01-03 Chong Yidong <cyd@gnu.org>
5717 * shell.el (shell-dynamic-complete-functions):
5718 Put pcomplete-completions-at-point, so as to try
5719 comint-filename-completion first (Bug#10417).
5721 2012-01-02 Richard Stallman <rms@gnu.org>
5723 * battery.el (battery-status-function):
5724 Detect when to use battery-yeeloong-sysfs.
5725 (battery-echo-area-format): Add string for Yeeloong.
5726 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5727 (battery-yeeloong-sysfs): New function.
5729 2012-01-02 Chong Yidong <cyd@gnu.org>
5731 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5732 (dirtrack): Merge code for handling relative filenames in prompt
5733 from shell-dir-cookie-watcher.
5734 (dirtrack-debug-message): New arg to avoid excess format calls.
5736 * shell.el (shell-dir-cookie-re): Variable deleted.
5737 (shell-dir-cookie-watcher): Function deleted.
5738 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5741 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5743 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5744 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5747 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5749 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5751 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5753 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5754 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5756 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5758 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5759 also for alternative shells.
5760 (tramp-open-connection-setup-interactive-shell): Check, whether
5761 the shell is a busybox.
5762 (tramp-send-command): Don't suppress multiple prompts for
5763 busyboxes, it hurts.
5765 2011-12-28 Chong Yidong <cyd@gnu.org>
5767 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5768 (gdb-get-source-file): Move mode line update to
5769 gdb-get-source-file (Bug#10087).
5771 2011-12-25 Chong Yidong <cyd@gnu.org>
5773 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5774 gud-gdb-marker-filter without taking it as an argument.
5775 (gud-gdb-run-command-fetch-lines): Caller changed.
5776 (gud-gdb-completion-function): New variable.
5777 (gud-gdb-completion-at-point): Use it.
5778 (gud-gdb-completions-1): Split from gud-gdb-completions.
5780 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5781 function as separate arguments.
5782 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5783 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5784 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5785 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5786 (gdb-stopped, def-gdb-auto-update-trigger)
5787 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5788 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5790 (gud-gdbmi-completions): New function.
5791 (gdb): Use it for generating the completion table.
5793 2011-12-24 Alan Mackenzie <acm@muc.de>
5795 Introduce a mechanism to widen the region used in context font
5796 locking. Use this to protect declarations from losing their contexts.
5798 * progmodes/cc-langs.el (c-before-font-lock-functions):
5799 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5800 (c-before-context-fontification-functions): New defvar, a list of
5801 functions to be run just before context (etc.) font locking.
5803 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5804 New, functionality extracted from
5805 c-neutralize-syntax-in-and-mark-CPP.
5806 (c-in-after-change-fontification): New variable.
5807 (c-after-change): Set c-in-after-change-fontification.
5808 (c-set-fl-decl-start): Rejig its interface, so it can be called
5809 from both after-change and context fontifying.
5810 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5812 (c-standard-font-lock-fontify-region-function): New variable.
5813 (c-font-lock-fontify-region): New function.
5815 2011-12-24 Juri Linkov <juri@jurta.org>
5817 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5820 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5822 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5823 existence of source file. (Bug#10325)
5825 2011-12-23 Alan Mackenzie <acm@muc.de>
5827 Fix unstable fontification inside templates.
5829 * progmodes/cc-langs.el (c-before-font-lock-functions):
5830 Newly created from the singular version. The (c c++ objc) entry now
5831 additionally has c-set-fl-decl-start. The other languages (apart
5832 from AWK) have that as a single entry.
5834 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5835 The functionality for "local" declarations has been extracted to
5836 c-set-fl-decl-start.
5838 * progmodes/cc-mode.el (c-common-init, c-after-change):
5839 Changes due to pluralisation of c-before-font-lock-functions.
5840 (c-set-fl-decl-start): New function, extracted from
5841 c-font-lock-enclosing-decls and enhanced.
5843 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5845 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5847 2011-12-22 Juri Linkov <juri@jurta.org>
5849 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5851 2011-12-22 Chong Yidong <cyd@gnu.org>
5853 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5855 2011-12-21 Drew Adams <drew.adams@oracle.com>
5857 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5859 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5861 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5863 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5865 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5866 highlighting and support. Fix up comments for capitalization.
5867 (cfengine-mode-debug): New var.
5868 (cfengine3-mode): Change the modeline indicator to "CFE3".
5869 (cfengine3-font-lock-keywords): Improve defun highlighting.
5870 (cfengine2-actions): Rename from `cfengine-actions'.
5871 (cfengine2-font-lock-keywords): Rename from
5872 `cfengine-font-lock-keywords'.
5873 (cfengine2-imenu-expression): Rename from
5874 `cfengine-imenu-expression'.
5875 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5876 (cfengine2-beginning-of-defun): Rename from
5877 `cfengine-beginning-of-defun'.
5878 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5879 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5880 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5881 modeline indicator to "CFE2".
5882 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5883 (cfengine-mode-abbrevs): Mark obsolete.
5885 2011-12-21 Chong Yidong <cyd@gnu.org>
5887 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5890 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5892 * window.el (window-normalize-buffer-to-display): Remove.
5893 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5895 2011-12-19 Chong Yidong <cyd@gnu.org>
5897 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5898 Don't signal an error in a predicate function; return non-nil.
5899 (vc-dir-mark-file): Move the error here.
5900 (vc-dir-mark-unmark): If acting on the region, keep going if one
5901 of the entries cannot be marked/unmarked.
5902 (vc-dir-mark-all-files): If current entry is a directory, mark
5903 only child files, as documented.
5905 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5907 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5908 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5911 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5913 * term/ns-win.el (ns-get-selection-internal)
5914 (ns-store-selection-internal): Declare.
5915 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5916 Declare as obsolete.
5917 (ns-get-pasteboard, ns-paste-secondary):
5918 Use ns-get-selection-internal.
5919 (ns-set-pasteboard, ns-copy-including-secondary):
5920 Use ns-store-selection-internal.
5922 2011-12-17 Chong Yidong <cyd@gnu.org>
5924 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5925 (vc-deduce-fileset): Doc fix.
5927 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5929 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5931 2011-12-13 Sam Steingold <sds@gnu.org>
5933 * man.el (Man-getpage-in-background): When running under a
5934 window-system, ignore $MANWIDTH and $COLUMNS.
5936 2011-12-15 Kenichi Handa <handa@m17n.org>
5938 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5939 (setup-ethiopic-environment-internal): Comment out key-binding for
5940 ethio-toggle-punctuation.
5942 2011-12-13 Alan Mackenzie <acm@muc.de>
5944 Add the switch statement to AWK Mode.
5946 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5947 "default" to the keywords regexp.
5949 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5950 expression as the rest.
5951 (c-nonlabel-token-key): Allow string literals for AWK.
5952 Refactor for the other modes.
5954 Large brace-block initialisation makes CC Mode slow: Fix.
5955 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5956 routines. Limit backward searching in c-font-lock-enclosing.decl.
5958 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5959 pp-state and literal type in addition to the limits.
5960 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5961 (c-state-literal-at): Use the above new defun.
5962 (c-slow-in-literal, c-fast-in-literal): Remove.
5963 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5965 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5966 being in a literal. Add a limit for backward searching.
5968 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5971 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5973 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5975 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5977 * window.el (delete-other-windows): Use correct frame in call to
5978 window-with-parameter.
5980 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5982 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5983 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5984 (makefile-gmake-statements, makefile-makepp-statements):
5985 Use it and add new makepp keywords.
5986 (makefile-makepp-font-lock-keywords): Add new patterns.
5987 (makefile-match-function-end): Match new [...] and [[...]].
5989 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5991 * ses.el (ses-call-printer-return, ses-cell-property-get)
5992 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5993 (ses-create-cell-variable, ses-reset-header-string)
5994 (ses-cell-set-formula, ses-repair-cell-reference-all)
5995 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5996 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5997 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5998 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5999 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6000 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6001 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6002 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6003 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6004 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6005 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6006 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6008 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6010 * ses.el: The overall change is to add cell renaming, that is
6011 setting fancy names for cell symbols other than name matching
6012 "\\`[A-Z]+[0-9]+\\'" regexp .
6013 (ses-create-cell-variable): New defun.
6014 (ses-relocate-formula): Relocate formulas only for cells the
6015 symbols of which are not renamed, i.e. symbols whose names do not
6016 match regexp "\\`[A-Z]+[0-9]+\\'".
6017 (ses-relocate-all): Relocate values only for cells the symbols of
6018 which are not renamed.
6019 (ses-load): Create cells variables as the (ses-cell ...) are read,
6020 in order to check row col consistency with cell symbol name only
6021 for cells that are not renamed.
6022 (ses-replace-name-in-formula): New defun.
6023 (ses-rename-cell): New defun.
6025 2011-12-11 Chong Yidong <cyd@gnu.org>
6027 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6028 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6030 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6032 * window.el (other-window): Fix docstring.
6034 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6036 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6037 `from' or `to' address before taking its substring.
6038 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6039 encoded name is chopped in the middle of the encoded string, and
6040 thus displayed encoded.
6042 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6044 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6046 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6048 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6049 to use texinfo-update-node and commands that call it if the
6050 Texinfo file uses @node lines without next/prev/up pointers.
6051 Correct outdated description about texinfo-master-menu.
6052 (texinfo-all-menus-update, texinfo-master-menu)
6053 (texinfo-update-node, texinfo-every-node-update)
6054 (texinfo-multiple-files-update): Doc fix. Warn against updating
6055 all the @node lines.
6056 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6057 argument is numeric. Explain better in the doc string what the
6058 function really does.
6059 (texinfo-insert-master-menu-list): Improve the error message
6060 displayed if there's no menu in the Top node.
6061 (Bug#2975) See also this thread:
6062 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6064 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6066 * speedbar.el (speedbar-supported-extension-expressions):
6067 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6069 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6071 * printing.el (pr-mode-alist):
6072 * simple.el (filter-buffer-substring-functions)
6073 (completion-list-insert-choice-function):
6074 * window.el (window-with-parameter, window-atom-root)
6075 (window-sides-slots, window-size-fixed, window-min-delta)
6076 (window-max-delta, window--resize-mini-window)
6077 (window--resize-child-windows-normal, window-tree)
6078 (delete-other-windows, quit-window, split-window)
6079 (display-buffer-record-window, special-display-buffer-names)
6080 (special-display-regexps, special-display-popup-frame)
6081 (same-window-p, split-window-sensibly)
6082 (display-buffer-overriding-action, display-buffer-alist)
6083 (display-buffer-base-action, display-buffer, switch-to-buffer)
6084 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6085 (fit-window-to-buffer, recenter-positions)
6086 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6087 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6088 and remove unneeded backslashes in docstrings.
6090 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6092 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6094 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6095 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6097 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6098 when reading the makefile (bug#10116).
6100 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6102 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6105 2011-12-06 Glenn Morris <rgm@gnu.org>
6107 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6109 2011-12-06 Chong Yidong <cyd@gnu.org>
6111 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6113 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6115 * textmodes/table.el (table-shorten-cell): Fix typo.
6117 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6119 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6121 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6123 * descr-text.el (describe-char): Fix display of strong
6124 right-to-left characters and directional embeddings and overrides.
6126 * simple.el (what-cursor-position): Fix display of codepoints of
6127 strong right-to-left characters.
6129 2011-12-05 Chong Yidong <cyd@gnu.org>
6131 * faces.el (read-color): Doc fix.
6133 2011-12-05 Glenn Morris <rgm@gnu.org>
6135 * align.el (align--set-marker): Add doc-string.
6136 Don't try to move something that is not a marker. (Bug#10216)
6138 2011-12-04 Glenn Morris <rgm@gnu.org>
6140 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6141 overly zealous deletion of trailing whitespace.
6143 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6145 * server.el (server-delete-client): On Windows, do not try to delete
6147 (server-process-filter): On Windows, treat requests for a tty frame as
6148 if they were for a GUI frame if the running server is in GUI mode.
6150 2011-12-03 Glenn Morris <rgm@gnu.org>
6152 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6154 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6156 * electric.el: Streamline electric-indent's hook.
6157 (electric-indent-chars): Revert to simple list.
6158 (electric-indent-functions): New var.
6159 (electric-indent-post-self-insert-function): Use it.
6161 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6162 there's no inferior buffer (bug#10196).
6163 (prolog-consult-compile): Don't use toggle-read-only.
6165 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6167 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6168 interrupt. (Bug#10187)
6170 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6172 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6175 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6178 2011-12-02 Juri Linkov <juri@jurta.org>
6180 * info.el (Info-search): Display "end of manual" when Isearch
6181 reaches the end of single-file Info manual. (Bug#9918)
6183 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6185 * isearch.el (isearch-message-prefix): Run the input method part
6186 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6188 2011-12-02 Juri Linkov <juri@jurta.org>
6190 * isearch.el (isearch-occur): Use `word-search-regexp' for
6192 (isearch-search-and-update): Add condition for `isearch-word' and
6193 call `word-search-regexp'. (Bug#10145)
6195 2011-12-01 Glenn Morris <rgm@gnu.org>
6197 * eshell/em-hist.el (eshell-hist-initialize):
6198 Handle eshell-history-size nil and HISTSIZE set or unset.
6199 (eshell-history-file-name, eshell-history-size): Fix custom type.
6201 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6203 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6205 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6207 * progmodes/verilog-mode.el (verilog-pretty-expr):
6208 Rework verilog-pretty-expr to handle new assignment operators in system
6209 verilog, such as += *= and the like.
6210 (verilog-assignment-operator-re): Regular expression to find the
6211 assigment operator in a verilog assignment.
6212 (verilog-assignment-operation-re): Regular expression to find an
6213 assignment statement for pretty-expr.
6214 (verilog-in-attribute-p): Query returns true if point is in an
6215 attribute context; used to skip these for expression line up from
6217 (verilog-in-parameter-p): Query returns true if point is in an
6218 parameter definition context; used to skip these for expression
6219 line up from pretty-expr.
6220 (verilog-in-parenthesis-p): Query returns true if point is in a
6221 parenthetical expression, specifically ( ) but not [ ] or { };
6222 used by pretty-expr.
6223 (verilog-just-one-space): If there is no space, don't add one.
6224 (verilog-get-lineup-indent-2): Specifically skip just attribute
6225 contexts for expression lineup, rather than skipping all
6226 parenthetical expressions.
6227 (verilog-calculate-indent): Fix comment, and fix indent.
6228 (verilog-do-indent): Indent declarations in lists (suggested by
6230 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6232 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6235 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6237 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6238 parameters with embedded comments. Reported by Ray Stevens.
6239 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6240 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6241 Reported by Tim Holt.
6242 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6243 instantiated by upper module causing wrong expansion until AUTOed a
6244 second time. Reported by K C Buckenmaier.
6245 (verilog-diff-auto): Fix showing .* as a difference when
6246 `verilog-auto-star-save' off. Reported by Dan Dever.
6247 (verilog-auto-reset, verilog-read-always-signals)
6248 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6249 temporary signals in reset list if
6250 verilog-auto-reset-blocking-in-non is nil, and match assignment
6251 style to each signal's assignment type, bug381.
6252 Reported by Thomas Esposito.
6253 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6254 (verilog-uvm-statement-re): Support UVM indentation and
6255 highlighting, with old OVM keywords only.
6256 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6257 Support AUTOTIEOFF creating non-wire data types.
6258 Suggested by Jonathan Greenlaw.
6259 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6260 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6261 (verilog-inject-sense, verilog-read-inst-pins)
6262 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6263 Fix mismatching parenthesis inside commented out code when deleting
6264 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6265 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6266 non-numeric vector width. Reported by Alex Reed.
6267 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6268 detecting signals with parameter widths. Reported by Alex Reed.
6269 (verilog-auto-delete-trailing-whitespace):
6270 With `verilog-auto-delete-trailing-whitespace' remove trailing
6271 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6272 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6273 Fix verilog-scan-cache corruption when running user AUTO expansion
6274 hooks that call indentation routines.
6275 (verilog-simplify-range-expression): Fix typo ignoring lower case
6277 (verilog-delete-auto): Fix delete-autos to also remove user created
6278 automatics, as long as they start with AUTO.
6279 (verilog-batch-diff-auto, verilog-diff-auto)
6280 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6281 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6282 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6283 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6284 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6285 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6286 is disabled and its cache will get corrupt, causing AUTOS not to
6287 expand. Instead use only -quick functions.
6288 (verilog-scan-region): Fix scanning over escaped quotes.
6289 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6290 (verilog-re-search-backward-quick)
6291 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6292 related functions now ignore strings, to fix misparsing of strings
6293 with magic comments embedded in them.
6294 (verilog-read-auto-template):
6295 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6296 Reported by Brad Dobbie.
6297 (verilog-read-auto-template):
6298 Fix 'verilog-auto-inst-template-numbers' with comments.
6299 Reported by Brad Dobbie.
6300 (verilog-auto-inst, verilog-auto-inst-param)
6301 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6302 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6303 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6304 debugging templates without merge conflicts, bug357.
6305 Reported by Brad Dobbie.
6306 (verilog-read-auto-template):
6307 Fix verilog-auto-inst-template-numbers with multiple templates.
6308 Reported by Brad Dobbie.
6309 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6310 abbrevs so user won't be asked to save.
6311 (verilog-read-auto-lisp-present): Fix to start at beginning of
6312 buffer in case called outside of verilog-auto.
6313 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6314 to "X-2". Reported by Matthew Myers.
6315 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6316 all inputs from module templates. Reported by Leith Johnson.
6317 (verilog-module-inside-filename-p): Fix locating programs as with
6319 (verilog-auto-inst-port): Fix vl-width expressions when using
6320 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6321 (verilog-decls-get-regs, verilog-decls-get-signals,
6322 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6323 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6324 verilog-read-decls): Combine reg and wire structures into one var
6325 structure to represent SystemVerilog concepts.
6326 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6327 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6328 (verilog-auto-wire-type, verilog-insert-definition):
6329 Add verilog-auto-wire-type and AUTOLOGIC to support using
6330 SystemVerilog "logic" keyword instead of "wire"/"reg".
6331 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6332 to declares outputs that also have assignments (presumably in an
6333 ifdef or generate if so there's not a driver conflict).
6334 Reported by Matthew Myers.
6335 (verilog-auto-declare-nettype, verilog-insert-definition):
6336 Add verilog-auto-declare-nettype to fix declarations using
6337 `default_nettype none. Reported by Julian Gorfajn.
6338 (verilog-read-always-signals-recurse, verilog-read-decls)
6339 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6340 malformed end statement, bug325. Reported by Joshua Wise and
6342 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6343 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6344 when expanding .* in interfaces, bug320.
6345 Reported by Pierre-David Pfister.
6346 (verilog-read-module-name): Fix import statements between module
6347 name and open parenthesis, bug317.
6348 Reported by Pierre-David Pfister.
6349 (verilog-simplify-range-expression): Fix simplification of
6350 multiplications inside AUTOWIRE connections, bug303.
6351 (verilog-auto-inst-port): Support parameter expansion in
6352 multidimensional arrays.
6353 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6354 after "assert property". Reported by Julian Gorfajn.
6355 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6356 with multiplication, bug303.
6357 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6358 Reported by Jan Frode Lonnum.
6360 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6362 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6363 (hfy-shell-file-name, hfy-shell):
6364 * international/fontset.el (x-decompose-font-name): Fix typos.
6366 2011-11-29 Ken Brown <kbrown@cornell.edu>
6368 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6369 (gdb-version): Remove defvar.
6370 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6371 (gdb-gud-context-command, gdb-non-stop-handler)
6372 (gdb-current-context-command, gdb-stopped): Use it.
6373 (gdb-init-1): Enable pretty printing here.
6374 (gdb-non-stop-handler): Don't enable pretty-printing here.
6375 Check to see if the target supports non-stop mode; if not, turn off
6376 non-stop mode. Use the following.
6377 (gdb-check-target-async): New defun.
6378 (gud-watch, gdb-stopped): Fix whitespace.
6379 (gdb-get-source-file): Don't try to display the source file if
6380 `gdb-main-file' is nil.
6382 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6384 * align.el: Try to generate fewer markers (bug#10047).
6385 (align--set-marker): New macro.
6386 (align-region): Use it.
6388 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6390 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6392 2011-11-29 Chong Yidong <cyd@gnu.org>
6394 * indent.el (indent-for-tab-command, indent-according-to-mode):
6396 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6398 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6400 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6401 aware of remote file names. (Bug#10124)
6403 2011-11-29 Chong Yidong <cyd@gnu.org>
6405 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6407 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6409 * files.el (find-file): Don't use force-same-window (bug#10144).
6410 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6411 use pop-to-buffer if the selected window can't be used.
6412 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6414 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6416 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6419 2011-11-28 Chong Yidong <cyd@gnu.org>
6421 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6423 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6425 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6426 gdb-get-source-file-list on gdb-create-source-file-list.
6428 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6430 * whitespace.el (whitespace-newline): Use a different foreground
6431 color for 16-color light-background displays.
6433 2011-11-24 Chong Yidong <cyd@gnu.org>
6435 * window.el (display-buffer--special-action): Doc fix.
6437 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6439 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6440 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6441 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6442 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6443 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6444 (avl-tree-stack-first):
6445 * emacs-lisp/cconv.el (cconv--analyse-use):
6446 * net/gnutls.el (gnutls-negotiate): Fix typos.
6448 2011-11-24 Glenn Morris <rgm@gnu.org>
6450 * lpr.el (lpr-windows-system, lpr-lp-system):
6451 * mail/binhex.el (binhex-begin-line):
6452 * progmodes/grep.el (grep-history, grep-find-history):
6453 * textmodes/flyspell.el:
6454 * vc/pcvs-defs.el (cvs-global-menu):
6455 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6456 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6457 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6459 * net/tls.el: Fix case of "GnuTLS".
6461 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6463 * version.el (emacs-build-system): Give it a doc-string.
6465 2011-11-24 Juri Linkov <juri@jurta.org>
6467 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6469 2011-11-24 Glenn Morris <rgm@gnu.org>
6471 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6472 if called on a non-mime message just toggle the headers. (Bug#8006)
6474 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6476 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6477 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6478 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6479 (allout-rebullet-heading, allout-open-sibtopic)
6480 (allout-toggle-current-subtree-encryption)
6481 (allout-toggle-subtree-encryption, allout-encrypt-string)
6482 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6483 (allout-distinctive-bullets-string, allout-auto-activation):
6484 * window.el (window-normalize-buffer-to-display):
6485 * progmodes/verilog-mode.el (verilog-batch-indent):
6486 * textmodes/bibtex.el (bibtex-field-braces-opt)
6487 (bibtex-field-strings-opt):
6488 * vc/cvs-status.el (cvs-tree-merge):
6491 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
6493 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6494 `non-essential' to t, in order to avoid remote connections.
6496 2011-11-23 Eli Zaretskii <eliz@gnu.org>
6498 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6499 On MS-DOS and MS-Windows, compare with loaddefs.el
6502 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6504 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6506 2011-11-23 Glenn Morris <rgm@gnu.org>
6508 * paths.el (rmail-file-name): Reformat the doc-string so that it
6511 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6512 (rmail-auto-file): Ignore case in the "special" field names,
6513 as mail-fetch-field does for all others.
6515 * mail/rmail.el (rmail-forward):
6516 * mail/rmailkwd.el (rmail-set-label):
6517 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6518 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6520 * mail/rmail.el (rmail-current-message): Doc fix.
6522 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6524 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6526 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6528 2011-11-22 Glenn Morris <rgm@gnu.org>
6530 * mail/rmailmm.el (test-rmail-mime-handler)
6531 (test-rmail-mime-bulk-handler)
6532 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6534 2011-11-21 Juri Linkov <juri@jurta.org>
6536 * calc/calc.el (calc-read-key-sequence):
6537 Let-bind `input-method-function' to nil. (Bug#10018)
6539 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6541 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6542 Tell the caller that the next line needs recomputation, even
6543 though it doesn't start a sexp (bug#10094).
6545 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6547 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6549 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6551 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6552 Use force-same-window.
6554 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6556 * descr-text.el (describe-char-unicode-data):
6557 * json.el (json-string-escape):
6558 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6559 (Footnote-unicode, Footnote-style-p):
6560 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6562 2011-11-20 Chong Yidong <cyd@gnu.org>
6564 * window.el (replace-buffer-in-windows): Restore interactive spec.
6566 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6568 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6570 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6571 (byte-compile-global-not-obsolete-vars): New var.
6572 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6574 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6576 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6578 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6579 * progmodes/pascal.el (electric-pascal-equal):
6580 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6581 * xml.el (xml-substitute-special): Fix typos.
6583 2011-11-20 Glenn Morris <rgm@gnu.org>
6585 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6586 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6588 (rmail-decode-mime-charset): Mark as obsolete.
6590 * mail/rmailsum.el (rmail-message-regexp-p-1):
6591 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6592 Before using mime functions, check they are set. (Bug#10077)
6594 2011-11-19 Juri Linkov <juri@jurta.org>
6596 * info.el (Info-finder-find-node): Use `package--builtins' instead
6597 of `package-alist'. Use node names formed by the pattern "Keyword "
6598 and the keyword name.
6600 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6602 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6604 2011-11-19 Juri Linkov <juri@jurta.org>
6606 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6607 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6608 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6609 `old-history', `old-history-forward'. Add let-binding
6610 `window-selected'. Remove calls to `kill-buffer',
6611 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6612 before calling `Info-find-node', so `Info-find-node-2' will reread
6613 the Info file. Restore window positions only when `window-selected'
6616 2011-11-19 Juri Linkov <juri@jurta.org>
6618 * isearch.el (isearch-lazy-highlight-new-loop):
6619 Remove condition `(not isearch-error)'. (Bug#9918)
6621 * misearch.el (multi-isearch-search-fun): Add condition
6622 `(not bound)' to ignore lazy-highlighting search.
6623 Add the search-failed message "end of multi" when the end of
6624 multi-sequence is reached. Uncapitalize the search-failed
6625 message "Repeat for next buffer".
6627 * info.el (Info-search): Add the search-failed message
6628 "end of the manual" when the end of the manual is reached
6631 2011-11-19 Juri Linkov <juri@jurta.org>
6633 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6634 Use non-destructive `remove' instead of `delete' because
6635 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6636 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6638 2011-11-19 Juri Linkov <juri@jurta.org>
6640 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6641 to nil instead of binding `search-ring' and `regexp-search-ring'.
6644 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6646 * simple.el (line-move): Force movement by logical lines for any
6647 hscrolled window, not only when auto-hscroll-mode is on.
6648 (line-move-visual): Update doc string to that effect. (Bug#10076)
6650 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6652 * language/european.el (macintosh): Define as alias for mac-roman.
6654 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6656 * mail/rmailmm.el (rmail-mime-display-header)
6657 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6658 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6659 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6660 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6661 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6663 (rmail-mime-entity-segment): To get past the tagline, move forward
6664 2 more lines, to account for the 2 empty lines that precede and
6665 follow the line with the buttons.
6666 (rmail-mime-update-tagline): Move one more line, to get past the
6667 empty line that follows the buttons in the tagline. (Bug#9520)
6669 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6671 * window.el (window-max-delta-1, window-min-delta-1)
6672 (window-min-size-1, window-state-get-1, window-state-put-1)
6673 (window-state-put-2): Use "window--" prefix.
6675 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6677 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6678 (smie-warning-count): New var.
6679 (smie-set-prec2tab): Use it.
6680 (smie-bnf->prec2): Improve warnings. Add docstring.
6681 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6682 (smie-bnf--set-class): New function.
6683 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6686 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6687 (compilation-error-properties, compilation-move-to-column):
6688 Handle compilation-first-column while in the target buffer.
6690 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6691 Don't hardcode point-min==1.
6693 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6694 (eshell-rewrite-for-command): Remove workaround.
6695 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6696 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6697 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6699 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6701 2011-11-17 Glenn Morris <rgm@gnu.org>
6703 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6704 Ignore buffer-local generated-autoload-file if it is the same
6705 as the global value. (Bug#10049)
6707 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6709 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6710 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6711 (reftex-toc-previous-heading, reftex-toc-max-level)
6712 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6713 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6714 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6715 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6716 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6717 (reftex-toc-rename-label, reftex-toc-visit-location)
6718 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6719 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6720 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6721 leaving "*toc*" only for references to the buffer.
6723 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6725 * window.el (window-resize, delete-window, split-window):
6726 Replace window-splits by window-combination-resize.
6727 * cus-start.el (window-splits): Replace by window-combination-resize.
6729 2011-11-17 Glenn Morris <rgm@gnu.org>
6731 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6732 Make bash entry derive from sh entry, not shell entry.
6734 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6736 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6739 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6741 * menu-bar.el (menu-bar-file-menu):
6742 * printing.el (pr-ps-utility):
6743 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6744 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6745 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6746 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6747 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6748 (icalendar--convert-cyclic-to-ical)
6749 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6750 (icalendar--convert-ical-to-diary)
6751 (icalendar--convert-recurring-to-diary)
6752 (icalendar--convert-non-recurring-all-day-to-diary)
6753 (icalendar-import-format-sample):
6754 * progmodes/idlw-shell.el (idlwave-shell-mode):
6755 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6756 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6757 (vhdl-ps-print-init): Fix typos.
6759 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6761 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6762 FSF and collapse date sequence, obscure author/maintainer email address
6763 better, remove extra version line, track relocation of author's webpage.
6765 * progmodes/python.el (python-pdbtrack-input-prompt)
6766 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6767 regular python pdb prompts. Adjustments shamelessly taken exactly as
6768 suggested in EmacsWiki page (tiny change):
6769 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6771 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6773 * expand.el (expand-pos, expand-index, expand-point):
6774 Remove redundant info from docstring.
6775 (expand-add-abbrevs): Doc fix.
6776 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6777 (expand-sample-perl-mode-expand-list): Fix typos.
6779 * net/dbus.el (dbus-event-member-name):
6780 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6781 * term/pc-win.el (msdos-create-frame-with-faces):
6782 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6784 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6786 * window.el (split-window, window-state-get-1)
6787 (window-state-put-1, window-state-put-2): Rename occurrences of
6788 window-nest to window-combination-limit.
6789 * cus-start.el (window-nest): Rename to window-combination-limit.
6791 2011-11-16 Chong Yidong <cyd@gnu.org>
6793 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6796 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6798 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6799 `completing-read' will remove *Completions* and will preserve
6800 current-buffer for us.
6801 (tmm-add-prompt): Users of *Completions* will always (re)set its
6803 (tmm-old-comp-map): Remove.
6805 2011-11-16 Glenn Morris <rgm@gnu.org>
6807 * mail/rmailedit.el: Require rmailmm when compiling.
6808 (rmail-old-mime-state): New declaration.
6809 (rmail-edit-current-message): If editing a mime message,
6810 edit the "raw" message from the mbox buffer.
6811 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6813 2011-11-15 Glenn Morris <rgm@gnu.org>
6815 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6816 which wasn't being used. Add optional arg to force given state.
6817 (rmail-mime): Add optional arg to force given state.
6819 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6821 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6822 * frame.el (display-mm-dimensions-alist):
6823 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6824 (outline-move-subtree-down):
6825 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6826 (newsticker--treeview-do-get-node):
6827 * net/quickurl.el (quickurl-list-buffer-name):
6828 * progmodes/dcl-mode.el (dcl-mode):
6829 * progmodes/gdb-mi.el (gdb-mapcar*):
6830 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6832 2011-11-15 Glenn Morris <rgm@gnu.org>
6834 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6835 in a boolean sense, so just make it a boolean, and fix the doc.
6836 (rmail-show-mime-function, rmail-mime-feature)
6837 (rmail-require-mime-maybe): Doc fixes.
6838 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6840 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6842 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6844 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6845 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6846 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6847 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6849 2011-11-15 Glenn Morris <rgm@gnu.org>
6851 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6852 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6853 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6854 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6855 (rmail-mime, rmail-show-mime): Doc fixes.
6857 * term/ns-win.el (mode-line-frame-identification):
6858 Leave it alone. (Bug#10051)
6860 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6862 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6863 Handle empty buffers. (Bug#9978)
6865 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6867 * international/mule.el (define-charset):
6868 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6869 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6870 * progmodes/verilog-mode.el (verilog-backward-token):
6871 * textmodes/ispell.el (lookup-words):
6872 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6874 2011-11-14 Glenn Morris <rgm@gnu.org>
6876 * progmodes/executable.el
6877 (executable-make-buffer-file-executable-if-script-p):
6878 Handle file-modes returning nil.
6880 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6881 message - not necessary, and causes problems. (Bug#9831)
6883 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6885 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6887 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6888 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6889 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6891 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6893 * window.el (window-resize, delete-window): Use window-splits
6894 variable instead of function.
6895 (window-state-get-1, window-state-put-2, window-state-put):
6896 Don't deal with windows' splits status.
6898 2011-11-12 Glenn Morris <rgm@gnu.org>
6900 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6901 (apropos-documentation): Doc fixes.
6903 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6905 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6906 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6908 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6910 * electric.el (electric-indent-post-self-insert-function): Make it
6911 possible for a char to only indent in some circumstances.
6912 (electric-indent-mode): Simplify.
6914 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6916 * window.el (windows-with-parameter): Remove unused function.
6917 (windows-at-side): Rename to window-at-side-list.
6918 (window-check, window-atom-check, window-atom-check-1)
6919 (window-side-check, window-size-ignore, window-size-fixed-1)
6920 (window-in-direction-2): Prefix with "window--".
6921 (window-tree-1): Rename to window--subtree, fix doc-string.
6923 2011-11-11 Glenn Morris <rgm@gnu.org>
6925 * subr.el (eval-after-load): If FILE is already loaded,
6926 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6928 2011-11-10 Glenn Morris <rgm@gnu.org>
6930 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6931 Call svn via vc-svn-command rather than vc-do-command.
6932 (vc-svn-command): Add --non-interactive. (Bug#9993)
6933 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6935 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6936 Add toggle-read-only. (Bug#7292)
6937 * files.el (toggle-read-only): Mention that it should only
6938 be used interactively. (Bug#10006)
6940 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6942 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6943 Adjust regexp for OCaml warnings.
6945 * electric.el (electric-pair-post-self-insert-function): Let user
6946 turn it off buffer-locally (bug#9932).
6948 * progmodes/python.el (python-beginning-of-statement):
6951 * progmodes/compile.el: Better handle TABs (bug#9749).
6952 (compilation-internal-error-properties)
6953 (compilation-next-error-function): Obey the target buffer's
6954 compilation-error-screen-columns.
6956 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6958 * progmodes/meta-mode.el: Remove obsolete comments.
6959 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6960 Fix typos in docstrings.
6962 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6964 * window.el (window-size-fixed-p): Rewrite doc-string.
6965 (window-resizable-p): Rename to window--resizable-p. Update callers.
6966 (window--resizable): New function. Make all callers of
6967 window-resizable call window--resizable instead.
6968 (window-resizable): Rewrite in terms of window--resizable.
6970 2011-11-08 Glenn Morris <rgm@gnu.org>
6972 * progmodes/delphi.el (delphi-mode-syntax-table):
6973 Let define-derived-mode define a proper syntax table. (Bug#9994)
6975 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6977 * window.el: Stay away from defsubst.
6978 (window-list-no-nils): Remove.
6979 (window-state-get-1, window-state-get): Use backquote instead.
6981 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6983 * emacs-lisp/find-func.el (find-function-read):
6984 Fix incorrect use of default argument in `completing-read'.
6986 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6988 * window.el (display-buffer-function, special-display-function):
6989 Mention display-buffer-record-window but do not mention
6990 help-setup parameter in doc-strings.
6991 (window-min-delta): Fix doc-string typo.
6993 2011-11-08 Chong Yidong <cyd@gnu.org>
6995 * window.el (window-total-height, window-total-width): Doc fix.
6996 (window-body-size): Move from C.
6997 (window-body-height, window-body-width): Move to C.
6999 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7001 * window.el: Make special-display like display-buffer-alist (bug#9532).
7002 (display-buffer--special-action): New function, morphed
7003 from display-buffer--special.
7004 (display-buffer): Use it to handle special-display-buffers at higher
7005 priority (just after display-buffer-alist).
7006 (display-buffer-fallback-action, display-buffer--other-frame-action)
7007 (pop-to-buffer-same-window): Remove display-buffer--special.
7009 2011-11-07 Glenn Morris <rgm@gnu.org>
7011 * calendar/cal-menu.el (cal-menu-set-date-title):
7012 Do nothing if not in a calendar. (Bug#9976)
7014 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7016 * files.el (find-file): Always use selected-window.
7018 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7020 * window.el (window-combinations): Make WINDOW argument
7021 mandatory. Rewrite doc-string.
7022 (walk-window-subtree, window-atom-check, window-min-delta)
7023 (window-max-delta, window--resize-this-window)
7024 (window--resize-root-window-vertically, window-tree)
7025 (balance-windows, window-state-put): Rewrite doc-strings as to
7026 not mention the term "subwindow".
7027 (window--resize-subwindows-skip-p): Rename to
7028 window--resize-child-windows-skip-p.
7029 (window--resize-subwindows-normal): Rename to
7030 window--resize-child-windows-normal.
7031 (window--resize-subwindows): Rename to
7032 window--resize-child-windows.
7033 (window-or-subwindow-p): Rename to window--in-subtree-p.
7035 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7037 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7038 Ensure that mbox format messages end in two newlines (Bug#9974).
7040 2011-11-06 Chong Yidong <cyd@gnu.org>
7042 * window.el (window-combination-p): Function deleted; its
7043 side-effect is not used in any existing code.
7044 (window-combinations, window-combined-p): Call window-*-child
7047 2011-11-05 Chong Yidong <cyd@gnu.org>
7049 * window.el (window-valid-p): Rename from window-any-p.
7050 (window-size-ignore, window-state-get): Callers changed.
7051 (window-normalize-window): Rename from window-normalize-any-window.
7052 New arg LIVE-ONLY, replacing window-normalize-live-window.
7053 (window-normalize-live-window): Delete.
7054 (window-combination-p, window-combined-p, window-combinations)
7055 (walk-window-subtree, window-atom-root, window-min-size)
7056 (window-sizable, window-sizable-p, window-size-fixed-p)
7057 (window-min-delta, window-max-delta, window-resizable)
7058 (window-resizable-p, window-full-height-p, window-full-width-p)
7059 (window-current-scroll-bars, window-point-1, set-window-point-1)
7060 (window-at-side-p, window-in-direction, window-resize)
7061 (adjust-window-trailing-edge, maximize-window, minimize-window)
7062 (window-deletable-p, delete-window, delete-other-windows)
7063 (record-window-buffer, unrecord-window-buffer)
7064 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7065 (quit-window, split-window, window-state-put)
7066 (set-window-text-height, fit-window-to-buffer)
7067 (shrink-window-if-larger-than-buffer): Callers changed.
7069 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7071 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7072 rfc2047-decode-string.
7073 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7076 * window.el (window-body-height, window-body-width): Mention in
7077 the doc string that the return values are in frame's canonical
7080 2011-11-03 Alan Mackenzie <acm@muc.de>
7082 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7083 change in cc-engine.el.
7085 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7087 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7089 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7091 * window.el (quit-window): Call unrecord-window-buffer after
7092 showing another buffer in the window. (Bug#9937)
7093 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7095 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7097 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7098 Accept status with more than 9 shelves. (Bug#9935)
7099 Reported by Colin D Bennett <colin@gibibit.com>.
7101 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7103 * help.el (with-help-window): Don't reference
7104 temp-buffer-show-specifiers in doc-string.
7106 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7108 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7111 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7113 * whitespace.el: New version 13.2.2.
7114 (whitespace-newline-mode): Disable properly. Reported by Sarah
7117 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7119 * net/newst-treeview.el: Remove "Time-stamp".
7120 (newsticker--group-manage-orphan-feeds): Do not call
7121 newsticker--treeview-tree-update.
7122 (newsticker-treeview-update, newsticker-treeview):
7123 Call newsticker--treeview-tree-update if necessary.
7125 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7127 * window.el (window-iso-combination-p, window-iso-combined-p)
7128 (window-iso-combinations): Remove "iso-" infix.
7129 Suggested by Chong Yidong.
7130 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7131 (window-max-delta-1, window-resize, window--resize-siblings)
7132 (window--resize-this-window, adjust-window-trailing-edge)
7133 (split-window, balance-windows-1)
7134 (shrink-window-if-larger-than-buffer):
7135 * calendar/calendar.el (calendar-generate-window):
7136 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7138 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7140 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7141 in place (bug#9907).
7142 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7143 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7144 (eshell-structure-basic-command, eshell-rewrite-while-command)
7145 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7146 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7147 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7148 (eshell-do-pipelines-synchronously, eshell-eval-command):
7149 Use backquotes and prefer setq to set.
7150 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7151 (eshell-macrop): Use functionp.
7152 (eshell-do-eval): Handle multiple expressions in `while' body.
7154 2011-10-30 Chong Yidong <cyd@gnu.org>
7156 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7157 instead of set-mark (Bug#9810).
7159 2011-10-30 Chong Yidong <cyd@gnu.org>
7161 * window.el (split-window-below, split-window-right): Rename from
7162 split-window-above-each-other and split-window-side-by-side
7163 respectively. All callers changed.
7164 (split-window-sensibly, split-window-sensibly): Use them.
7165 (split-window-keep-point): Doc fix.
7167 * isearch.el: Add isearch-scroll property to split-window-below
7168 and split-window-right.
7170 * follow.el (follow-mode):
7171 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7172 * progmodes/ada-xref.el (ada-gdb-application):
7173 * emulation/vip.el (vip-buffer-in-two-windows):
7174 * image-dired.el (image-dired-dired-with-window-configuration):
7175 * dired-x.el (dired-do-find-marked-files):
7176 * dired.el (dired-pop-to-buffer):
7177 * bs.el (bs--show-with-configuration):
7178 * vc/emerge.el (emerge-setup-windows):
7179 * textmodes/two-column.el (2C-two-columns):
7180 * textmodes/reftex-toc.el (reftex-toc):
7181 * progmodes/gdb-mi.el (gdb-setup-windows):
7182 * progmodes/fortran.el (fortran-window-create):
7183 * net/newst-treeview.el (newsticker--treeview-window-init):
7184 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7185 * emulation/tpu-edt.el (tpu-gold-map):
7186 * emulation/crisp.el (crisp-mode-map):
7187 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7189 2011-10-29 Chong Yidong <cyd@gnu.org>
7191 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7193 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7195 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7196 forged Ispell output (Bug#7904).
7198 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7200 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7202 * doc-view.el: Avoid ugly errors about not finding nil.
7203 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7204 (doc-view-dvipdf-program, doc-view-unoconv-program)
7205 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7206 Avoid nil or absolute file name as default value.
7207 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7209 2011-10-28 Alan Mackenzie <acm@muc.de>
7211 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7213 2011-10-28 Alan Mackenzie <acm@muc.de>
7215 Amend the handling of c-beginning/end-of-defun in nested declaration
7218 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7219 cc-langs.el. Change it to a defcustom.
7221 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7224 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7225 Prevent "class foo : bar" being spuriously recognized as a label.
7227 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7228 Add parameter `inclusive' (to include enclosing braces in the region).
7229 (c-widen-to-enclosing-decl-scope): New function.
7230 (c-while-widening-to-decl-block): New macro.
7231 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7232 outward for defun boundaries, and correspondingly change symbol
7233 `respect-enclosure' to `go-outward'.
7234 (c-declaration-limits): Change algorithm to report only the "innermost"
7237 2011-10-28 Deniz Dogan <deniz@dogan.se>
7239 * net/rcirc.el (rcirc-mode): Use hard newlines.
7241 2011-10-28 Alan Mackenzie <acm@muc.de>
7243 Amend to indent and fontify macros "which include their own semicolon"
7244 correctly, using the "virtual semicolon" mechanism.
7246 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7248 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7249 Recode to scan one line at a time rather than having \n and \r
7250 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7251 (c-forward-label): Amend for virtual semicolons.
7252 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7254 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7255 of the new C macros.
7257 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7258 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7259 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7260 (c-opt-cpp-macro-define): Make into a full language variable.
7261 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7262 AWK Mode (including \n, \r) removed, no longer needed.
7264 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7265 Invoke c-make-macro-with-semi-re.
7267 * progmodes/cc-vars.el (c-macro-with-semi-re):
7268 (c-macro-names-with-semicolon): New variables.
7269 (c-make-macro-with-semi-re): New function.
7271 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7273 * vc/log-edit.el: Fill empty field rather than adding new one.
7274 (log-edit-add-field): New function.
7275 (log-edit-insert-changelog): Use it.
7277 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7279 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7281 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7283 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7284 (gdb--check-interpreter): New function.
7287 2011-10-27 Glenn Morris <rgm@gnu.org>
7289 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7290 (least-positive-float, least-negative-float)
7291 (least-positive-normalized-float, least-negative-normalized-float)
7292 (float-epsilon, float-negative-epsilon):
7293 Remove unnecessary declarations.
7295 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7296 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7297 (least-positive-float, least-negative-float)
7298 (least-positive-normalized-float, least-negative-normalized-float)
7299 (float-epsilon, float-negative-epsilon): Add doc-strings,
7300 based on those in cl.texi.
7302 * files.el (set-visited-file-name): If the major-mode changed,
7303 reload the local variables. (Bug#9796)
7305 2011-10-27 Chong Yidong <cyd@gnu.org>
7307 * subr.el (change-major-mode-after-body-hook): New hook.
7308 (run-mode-hooks): Run it.
7310 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7311 Use change-major-mode-before-body-hook.
7313 * simple.el (fundamental-mode):
7314 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7315 change introducing fundamental-mode-hook.
7317 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7319 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7321 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7323 * ido.el (ido-file-name-all-completions-1): Do not require
7324 tramp.el explicitly. (Bug#7583)
7326 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7328 * progmodes/octave-mod.el:
7329 * progmodes/octave-inf.el: Update maintainer.
7331 2011-10-26 Chong Yidong <cyd@gnu.org>
7333 * subr.el (with-wrapper-hook): Rewrite doc.
7335 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7337 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7338 filenames "/method:foo:". (Bug#9793)
7340 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7342 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7345 2011-10-24 Glenn Morris <rgm@gnu.org>
7347 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7349 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7351 * notifications.el: Add the requirement of a running D-Bus session
7352 bus to the Commentary.
7354 2011-10-24 Juri Linkov <juri@jurta.org>
7356 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7357 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7360 2011-10-24 Juri Linkov <juri@jurta.org>
7362 * info.el (Info-following-node-name-re): Add newline to the list
7363 of allowed characters for leading space. (Bug#9824)
7365 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7367 * progmodes/octave-inf.el (inferior-octave-mode-map):
7368 Fix C-c C-h binding.
7369 * progmodes/octave-mod.el (octave-help): Remove.
7371 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7373 Sync with Tramp 2.2.3.
7375 * net/tramp-cache.el (top): Pacify byte-compiler using
7376 `init-file-user' and `site-run-file'.
7378 * net/trampver.el: Update release number.
7380 2011-10-23 Chong Yidong <cyd@gnu.org>
7382 * files.el (toggle-read-only): Remove obsolete comment about
7385 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7386 for toggle-read-only. Note that this hasn't called vc-next-action
7387 since 2008-05-02, though it wasn't documented at the time.
7389 * vc/ediff-init.el (ediff-toggle-read-only-function):
7390 Use toggle-read-only.
7392 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7394 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7397 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7398 correct faulty logical expression.
7399 (c-parse-state-state, c-record-parse-state-state):
7400 (c-replay-parse-state-state): New defvar/defuns.
7401 (c-debug-parse-state): Use new functions.
7403 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7405 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7406 last fix. Use window-in-direction correctly.
7408 2011-10-21 Chong Yidong <cyd@gnu.org>
7410 * progmodes/idlwave.el (idlwave-mode):
7411 * progmodes/vera-mode.el (vera-mode): No need to set
7412 require-final-newline; that's done in prog-mode.
7413 Suggested by Stefan Monnier.
7415 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7417 * mouse.el (mouse-drag-window-above)
7418 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7419 (mouse-drag-mode-line-1, mouse-drag-header-line)
7420 (mouse-drag-vertical-line-rightward-window): Remove.
7421 (mouse-drag-line): New function.
7422 (mouse-drag-mode-line, mouse-drag-header-line)
7423 (mouse-drag-vertical-line): Call mouse-drag-line.
7424 * window.el (window-at-side-p, windows-at-side): New functions.
7426 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7428 * tar-mode.el (tar-grind-file-mode):
7429 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7431 2011-10-21 Chong Yidong <cyd@gnu.org>
7433 * progmodes/idlwave.el (idlwave-mode):
7434 * progmodes/vera-mode.el (vera-mode):
7435 Use mode-require-final-newline.
7437 2011-10-20 Glenn Morris <rgm@gnu.org>
7439 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7441 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7443 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7445 2011-10-20 Chong Yidong <cyd@gnu.org>
7447 * emulation/cua-base.el (cua-mode):
7448 * mail/footnote.el (footnote-mode):
7449 * mail/mailabbrev.el (mail-abbrevs-mode):
7450 * net/xesam.el (xesam-minor-mode):
7451 * progmodes/bug-reference.el (bug-reference-mode):
7452 * progmodes/cap-words.el (capitalized-words-mode):
7453 * progmodes/compile.el (compilation-minor-mode)
7454 (compilation-shell-minor-mode):
7455 * progmodes/gud.el (gud-tooltip-mode):
7456 * progmodes/hideif.el (hide-ifdef-mode):
7457 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7458 * progmodes/subword.el (subword-mode):
7459 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7460 * progmodes/which-func.el (which-function-mode):
7461 * term/tvi970.el (tvi970-set-keypad-mode):
7462 * term/vt100.el (vt100-wide-mode):
7463 * textmodes/flyspell.el (flyspell-mode):
7464 * textmodes/ispell.el (ispell-minor-mode):
7465 * textmodes/nroff-mode.el (nroff-electric-mode):
7466 * textmodes/paragraphs.el (use-hard-newlines):
7467 * textmodes/refill.el (refill-mode):
7468 * textmodes/reftex.el (reftex-mode):
7469 * textmodes/rst.el (rst-minor-mode):
7470 * textmodes/sgml-mode.el (html-autoview-mode)
7471 (sgml-electric-tag-pair-mode):
7472 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7473 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7474 * emulation/crisp.el (crisp-mode):
7475 * emacs-lisp/eldoc.el (eldoc-mode):
7476 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7477 minor mode behavior.
7479 2011-10-19 Juri Linkov <juri@jurta.org>
7481 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7482 the list of hard-coded chars with escape-glyph face.
7484 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7486 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7488 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
7490 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7493 2011-10-19 Glenn Morris <rgm@gnu.org>
7495 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7496 Ignore ignored files. (Bug#9726)
7498 2011-10-19 Chong Yidong <cyd@gnu.org>
7500 Doc fix for minor modes, stating that an omitted argument enables
7501 the mode unconditionally when called from Lisp.
7503 * abbrev.el (abbrev-mode):
7504 * allout.el (allout-mode):
7505 * autoinsert.el (auto-insert-mode):
7506 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7507 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7508 (global-auto-revert-mode):
7509 * battery.el (display-battery-mode):
7510 * composite.el (global-auto-composition-mode)
7511 (auto-composition-mode):
7512 * delsel.el (delete-selection-mode):
7513 * desktop.el (desktop-save-mode):
7514 * dired-x.el (dired-omit-mode):
7515 * dirtrack.el (dirtrack-mode):
7516 * doc-view.el (doc-view-minor-mode):
7517 * double.el (double-mode):
7518 * electric.el (electric-indent-mode, electric-pair-mode):
7519 * emacs-lock.el (emacs-lock-mode):
7520 * epa-hook.el (auto-encryption-mode):
7521 * follow.el (follow-mode):
7522 * font-core.el (font-lock-mode):
7523 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7524 * help.el (temp-buffer-resize-mode):
7525 * hilit-chg.el (highlight-changes-mode)
7526 (highlight-changes-visible-mode):
7527 * hi-lock.el (hi-lock-mode):
7528 * hl-line.el (hl-line-mode, global-hl-line-mode):
7529 * icomplete.el (icomplete-mode):
7530 * ido.el (ido-everywhere):
7531 * image-file.el (auto-image-file-mode):
7532 * image-mode.el (image-minor-mode):
7533 * iswitchb.el (iswitchb-mode):
7534 * jka-cmpr-hook.el (auto-compression-mode):
7535 * linum.el (linum-mode):
7536 * longlines.el (longlines-mode):
7537 * master.el (master-mode):
7538 * mb-depth.el (minibuffer-depth-indicate-mode):
7539 * menu-bar.el (menu-bar-mode):
7540 * minibuf-eldef.el (minibuffer-electric-default-mode):
7541 * mouse-sel.el (mouse-sel-mode):
7542 * msb.el (msb-mode):
7543 * mwheel.el (mouse-wheel-mode):
7544 * outline.el (outline-minor-mode):
7545 * paren.el (show-paren-mode):
7546 * recentf.el (recentf-mode):
7547 * reveal.el (reveal-mode, global-reveal-mode):
7548 * rfn-eshadow.el (file-name-shadow-mode):
7549 * ruler-mode.el (ruler-mode):
7550 * savehist.el (savehist-mode):
7551 * scroll-all.el (scroll-all-mode):
7552 * scroll-bar.el (scroll-bar-mode):
7553 * server.el (server-mode):
7554 * shell.el (shell-dirtrack-mode):
7555 * simple.el (auto-fill-mode, transient-mark-mode)
7556 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7557 (line-number-mode, column-number-mode, size-indication-mode)
7558 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7559 * strokes.el (strokes-mode):
7560 * time.el (display-time-mode):
7561 * t-mouse.el (gpm-mouse-mode):
7562 * tool-bar.el (tool-bar-mode):
7563 * tooltip.el (tooltip-mode):
7564 * type-break.el (type-break-mode-line-message-mode)
7565 (type-break-query-mode):
7566 * view.el (view-mode):
7567 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7568 (global-whitespace-mode, global-whitespace-newline-mode):
7569 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7571 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7572 Fix autogenerated docstring.
7574 2011-10-19 Juri Linkov <juri@jurta.org>
7576 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7577 by checking environment variables "DESKTOP_SESSION" and
7578 "XDG_CURRENT_DESKTOP". (Bug#9779)
7580 2011-10-19 Juri Linkov <juri@jurta.org>
7582 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7583 (browse-url-chromium-program, browse-url-chromium-arguments):
7585 (browse-url-default-browser): Check for `browse-url-chromium' and
7586 call `browse-url-chromium-program'.
7587 (browse-url-chromium): New command. (Bug#9779)
7589 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7591 * facemenu.el (list-colors-duplicates): On Windows, detect more
7592 duplicates by assuming that only colors matching "^System" are
7593 special "system colors". (Bug#9722)
7595 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7597 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7598 to distinguish the author from the committer.
7600 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7602 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7604 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7606 * international/mule.el (sgml-html-meta-auto-coding-function):
7607 Add support for detecting encoding in HTML5 specified only as
7608 <meta charset="UTF-8">. Implementation just makes http-equiv and
7609 content-type parts from HTML4 encoding string optional. (Bug#9716)
7611 2011-10-18 Glenn Morris <rgm@gnu.org>
7613 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7615 2011-10-18 Chong Yidong <cyd@gnu.org>
7617 * faces.el (cursor): Doc fix.
7619 2011-10-17 Chong Yidong <cyd@gnu.org>
7621 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7623 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7625 * dirtrack.el (dirtrack): Support shell buffers with path
7626 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7628 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7630 * json.el: Bump version to 1.3 and note change in History.
7631 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7633 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7635 * comint.el (comint-insert-input, comint-send-input)
7636 (comint-get-old-input-default, comint-backward-matching-input)
7637 (comint-next-prompt): Use nil instead of `input' for field property of
7638 past user input (bug#114).
7640 * minibuffer.el (completion--replace): Inherit surrounding properties
7642 (minibuffer-complete-and-exit): Use it.
7644 * comint.el (comint--table-subvert): Quote the all-completions output
7647 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7649 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7651 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7652 window on right of selected. (Bug#9350) Reword other window
7653 entries and separate them from frame entries.
7655 2011-10-15 Glenn Morris <rgm@gnu.org>
7657 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7660 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7662 * net/network-stream.el (network-stream-open-starttls):
7663 Improve detection of failure due to lack of TLS support.
7665 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7666 putting the input text in front and in bold.
7668 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7670 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7672 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7675 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7676 unread-command-events rather than pushing yet-another event.
7678 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7680 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7681 the explanation of the possible choices. Make the options passed
7682 to completing-read shorter.
7684 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7686 * textmodes/flyspell.el (flyspell-large-region): Make sure
7687 extended character mode is used if defined (Bug#1339).
7689 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7691 * simple.el (what-cursor-position): Fix the display of the
7692 character info for LRE, LRO, RLE, and RLO characters by appending
7695 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7697 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7698 even in case of error; add debug spec; simplify data flow.
7699 (with-timeout-handler): Remove.
7701 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7703 Fix Bug#6019, Bug#9315.
7705 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7706 complete `buffer-file-name', the local file name part could look
7707 remotely (for example on VMS).
7709 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7710 `tramp-run-real-handler'.
7711 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7712 already quoted by '"'.
7714 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7715 Let `file-name-handler-alist' be nil, the local file name part
7716 could look remotely (for example on VMS).
7718 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7720 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7722 (flyspell-post-command-hook): ...to here.
7724 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7726 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7728 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7729 using completion. Protect against "slow" callers.
7730 Remove the "message hack".
7732 2011-10-11 Juri Linkov <juri@jurta.org>
7734 * isearch.el (isearch-lazy-highlight-word): New variable.
7735 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7738 2011-10-11 Glenn Morris <rgm@gnu.org>
7740 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7741 like f90-previous-statement does.
7743 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7745 * eshell/eshell.el (eshell-command): History should be saved
7746 only in interactive use, to avoid error.
7748 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7750 * minibuffer.el (completion-file-name-table): Fix last change,
7751 i.e. ignore normal errors but not the other ones.
7753 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7755 * window.el (special-display-buffer-names)
7756 (special-display-regexps): Remove some remnants of earlier
7757 changes from doc-strings.
7758 (quit-windows-on): New function.
7760 * vc/vc.el (vc-revert, vc-rollback):
7761 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7762 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7763 (Bug#6183) (Bug#7074) (Bug#7447)
7765 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7767 * window.el (frame-auto-hide-function): Add version tag.
7770 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7772 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7775 2011-10-09 Leo Liu <sdl.web@gmail.com>
7777 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7780 2011-10-08 Glenn Morris <rgm@gnu.org>
7782 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7783 before the first code statement zero indent. (Bug#9690)
7785 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7787 * simple.el (count-words-region): Always count in the region.
7788 Report the number of lines and characters too.
7789 (count-words): New command, which counts in the buffer if the
7790 region is inactive, as count-words-region used to.
7791 (count-words--message): New function. Handle plurals.
7792 (count-lines-region): Make it an alias for count-words-region.
7794 * bindings.el (esc-map): Replace count-lines-region with
7797 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7799 * window.el (window--delete): Delete dedicated frame
7800 unconditionally when argument KILL is non-nil. (Bug#9699)
7801 (switch-to-buffer): Fix doc-string typo.
7803 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7805 * eshell/eshell.el (eshell-command): Avoid using hooks.
7807 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7809 * bindings.el ([M-left],[M-right]): Bind to left-word and
7810 right-word respectively.
7812 2011-10-07 Glenn Morris <rgm@gnu.org>
7814 * cus-start.el (debug-on-quit): Fix custom type.
7816 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818 * subr.el (define-key-after): Clarify that the function is not
7819 useful for non-menu keymaps.
7821 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7823 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7825 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7826 in current minibuffer (Fix bug with recursive minibuffers).
7828 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7830 * progmodes/gdb-mi.el (gdb): Doc fix.
7832 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7834 * window.el (frame-auto-hide-function): New option replacing
7835 frame-auto-delete. Suggested by Stefan Monnier.
7836 (window--delete): Call frame-auto-hide-function instead of
7837 investigating frame-auto-delete.
7838 (window-point-1, set-window-point-1): New functions.
7839 (window-in-direction, record-window-buffer, window-state-get-1)
7840 (display-buffer-record-window): Use window-point-1 instead of
7842 (set-window-buffer-start-and-point): Use set-window-point-1.
7844 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7846 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7848 2011-10-05 Glenn Morris <rgm@gnu.org>
7850 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7851 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7853 2011-10-05 Leo Liu <sdl.web@gmail.com>
7855 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7856 works with buffer object.
7858 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7860 * mpc.el (mpc-tool-bar-map): Add labels.
7862 2011-10-04 Glenn Morris <rgm@gnu.org>
7864 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7866 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7868 * window.el (window--delete): New function.
7869 (frame-auto-delete): Resuscitate option.
7870 (bury-buffer, replace-buffer-in-windows)
7871 (quit-window): Rewrite using window--delete.
7872 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7873 Pass display-buffer-mark-dedicated to window--display-buffer-2
7876 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7878 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7879 returns a list (bug#9554). Add remote file name completion.
7880 * comint.el (comint--table-subvert): Curry and get quote&unquote
7881 functions as arguments.
7882 (comint--complete-file-name-data): Adjust call accordingly.
7883 * pcomplete.el (pcomplete--table-subvert): Remove.
7884 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7886 * minibuffer.el (completion-table-case-fold): Use currying.
7887 (completion--styles-type, completion--cycling-threshold-type):
7889 (completion-styles, completion-category-overrides)
7890 (completion-cycle-threshold): Use them.
7891 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7892 completion-table-case-fold.
7894 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7896 * minibuffer.el (completion-category-overrides): Fix type of styles
7897 and add more user friendly tags (bug#9660).
7899 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7901 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7902 (mule-input-method-string): New widget.
7903 (default-input-method, language-info-custom-alist): Use it.
7905 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7907 * pcomplete.el: Require comint.
7908 (pcomplete--common-suffix): Remove.
7909 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7910 (pcomplete--table-subvert): Sync with comint--table-subvert.
7911 (pcomplete--entries): Use comint-completion-file-name-table.
7912 * comint.el (comint-unquote-filename): Simplify.
7913 (comint-completion-file-name-table): New function (bug#9616).
7914 (comint--complete-file-name-data): Use it.
7916 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7917 (pcmpl-gnu-tar-buffer): Remove.
7918 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7919 around. Make sure pcomplete-suffix-list is only changed temporarily.
7920 Don't look inside the tar's file if it's too large.
7922 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7924 * cus-edit.el (custom-mode-map):
7925 * epa.el (epa-key-list-mode-map):
7926 * man.el (Man-mode-map):
7927 * startup.el (splash-screen-keymap):
7928 * simple.el (special-mode-map): Use scroll-up-command and
7929 scroll-down-command.
7931 * progmodes/idlw-help.el (idlwave-help-mode-map):
7932 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7933 * net/newst-plainview.el (newsticker-mode-map):
7934 * emulation/ws-mode.el (wordstar-mode-map):
7935 * emulation/vi.el (vi-com-map):
7936 * calc/calc-graph.el (calc-graph-show-dumb):
7937 * term/sun.el (terminal-init-sun):
7938 * term/ns-win.el (global-map):
7939 * progmodes/grep.el (grep-mode-map):
7940 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7941 * mail/rmail.el (rmail-mode-map):
7942 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7944 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7945 custom-safe-themes as special.
7947 2011-10-01 Julien Danjou <julien@danjou.info>
7949 * notifications.el (notifications-notify): Fix docstring.
7951 2011-10-01 Per Starbäck <per@starback.se>
7953 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7955 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7957 * startup.el (command-line-1): Fix last fix by inserting
7958 initial-scratch-message into *scratch* before displaying it.
7959 (Bug#9605) and (Bug#9636)
7961 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7963 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7964 window is hscrolled, move by logical lines. (Bug#9607)
7965 (line-move-visual): Update the doc string to the above effect.
7967 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7969 * window.el (display-buffer-record-window): When WINDOW is the
7970 selected window use `point' instead of `window-point'. (Bug#9626)
7972 * startup.el (command-line-1): Use insert-before-markers when
7973 inserting initial-scratch-message. (Bug#9605)
7975 * help.el (help-window): Remove variable.
7977 2011-09-29 Glenn Morris <rgm@gnu.org>
7979 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7981 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7983 * descr-text.el (describe-char-categories): Accept category
7984 descriptions more than one line long.
7986 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7988 * simple.el (delete-trailing-whitespace): Fix last change.
7990 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7991 Don't confuse "y => 3" as the beginning of a `y' operation.
7993 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7994 object has more than 4 slots (bug#9613).
7996 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7998 * subr.el (with-output-to-temp-buffer):
7999 * net/quickurl.el (quickurl, quickurl-browse-url):
8000 Fix typos in docstrings.
8002 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8004 * minibuffer.el (completion-styles)
8005 (completion-category-overrides): Cross reference each other in doc
8008 2011-09-27 Glenn Morris <rgm@gnu.org>
8010 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8011 to split-string. (Bug#9606)
8013 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8015 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8018 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8020 * emacs-lisp/package.el (list-packages): Fix echo area message.
8022 2011-09-27 Leo Liu <sdl.web@gmail.com>
8024 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8026 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8028 * net/dbus.el (dbus-unregister-object): Don't release services for
8029 registered signals. (Bug#9581)
8031 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8033 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8034 function that picks between cfengine 2 and 3 support
8035 automatically. Update docs accordingly.
8037 2011-09-22 Kenichi Handa <handa@m17n.org>
8039 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8041 (indian-itrans-v5-table-for-tamil): New variable.
8042 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8044 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8046 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8047 that's true if the current command involved collapsing of text.
8048 It's reset to false at the beginning of the next command.
8049 (allout-post-command-business): Move the cursor to the beginning
8050 of entry if the cursor is hidden and collapsing activity just
8053 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8055 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8056 tracking (Bug#9541).
8058 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8060 * net/newst-reader.el (newsticker-html-renderer)
8061 (newsticker-show-news): Automatically load html rendering package
8062 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8063 because w3m-fill-column is let-bound" and the error "Symbol's value
8064 as variable is void: w3m-fill-column".
8066 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8068 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8069 Release services only if they are defined. (Bug#9581)
8071 2011-09-23 Richard Stallman <rms@gnu.org>
8073 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8074 distinguish start of paragraph from start of its text.
8076 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8078 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8079 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8080 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8082 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8084 * international/mule-diag.el (mule-diag): Insert a newline after
8085 each fontset description.
8087 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8089 * simple.el (delete-trailing-whitespace):
8090 Document last change; simplify.
8092 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8094 * simple.el (delete-trailing-whitespace): Also delete
8095 extra newlines at the end of the buffer.
8097 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8098 (picture-newline): Use forward-line so as to ignore fields.
8100 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8102 * subr.el (with-wrapper-hook): Fix edebug spec.
8104 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8106 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8109 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8111 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8112 Fix nasty bug using wrong cached values.
8114 2011-09-23 Alan Mackenzie <acm@muc.de>
8116 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8118 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8120 * window.el (pop-to-buffer): Ensure right window is selected if we
8121 chose another frame.
8123 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8125 * simple.el (what-cursor-position): Use get-char-property-change
8126 and next-single-char-property-change, to be able to show display
8127 properties that come from overlays as well as text properties.
8129 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8131 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8133 * cmuscheme.el (run-scheme, switch-to-scheme):
8134 * cus-edit.el (customize-group, custom-buffer-create)
8138 * mail/sendmail.el (mail):
8139 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8141 2011-09-22 Richard Stallman <rms@gnu.org>
8143 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8144 move back only to line beg, don't move back over blank lines.
8146 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8148 * files.el (copy-directory): Set directory attributes only in case
8149 they could be retrieved from the source directory. (Bug#9565)
8151 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8153 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8154 (hs-find-block-beginning, hs-hide-level-recursive):
8155 Ignore strings as well as comments. (Bug#9502)
8157 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8159 * progmodes/sql.el (sql-comint-postgres):
8160 Convert port number to a string. (Bug#9566)
8162 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8164 * window.el (quit-window): Undedicate window when switching to
8165 previous buffer. Reported by Thierry Volpiatto
8166 <thierry.volpiatto@gmail.com>.
8167 (special-display-popup-frame): When popping up a new frame reset
8168 its previous buffers to nil. Simplify code.
8170 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8172 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8173 and process filter, as done also in `shell-command'.
8175 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8177 * window.el (set-window-buffer-start-and-point):
8178 Call set-window-start with NOFORCE argument t.
8179 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8180 (quit-window): Reword doc-string. Handle new format of
8181 quit-restore parameter. Don't delete window if it has a
8182 previous buffer we can show instead of the present one.
8183 (display-buffer-record-window): Rewrite using a new format for
8184 the quit-restore window parameter
8185 (special-display-popup-frame, display-buffer-same-window)
8186 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8187 (display-buffer-pop-up-window, display-buffer-use-some-window):
8188 Adapt symbol passed to display-buffer-record-window.
8189 * help.el (help-window-setup): Handle new format of quit-restore
8192 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8194 * faces.el (face-list): Fix docstring (bug#9564).
8196 * window.el (display-buffer--action-function-custom-type):
8197 Don't include internal functions in the Custom interface.
8199 2011-09-20 Juri Linkov <juri@jurta.org>
8201 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8202 (Info-forward-node, Info-backward-node, Info-next-preorder)
8203 (Info-last-preorder): Use it. (Bug#9528)
8205 2011-09-20 Juri Linkov <juri@jurta.org>
8207 * info.el (Info-last-preorder): Visit last menu item only when
8208 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8210 2011-09-20 Julien Danjou <julien@danjou.info>
8212 * password-cache.el (password-cache-remove): Remove entries even if the
8213 value is nil, so that password with a nil value (negative caching) is
8214 possible to invalidate.
8216 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8218 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8219 all whitespace around breakpoint. (Bug#9553)
8220 (f90-find-breakpoint): Only break at whitespace inside a comment.
8222 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8224 * minibuffer.el (completion-file-name-table): Keep track of errors.
8225 (completion-table-with-predicate): Handle the case where pred1 is nil.
8226 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8228 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8230 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8231 (debugger-return-value): Signal an error if the debugging context does
8232 not await any return value.
8234 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8235 * image-mode.el (image-toggle-display-text)
8236 (image-toggle-display-image): Stay away from evil `intangible'.
8238 2011-09-19 Leo Liu <sdl.web@gmail.com>
8240 * replace.el (occur-revert-arguments): Make it permanent-local.
8241 (occur-mode): Don't call font-lock-defontify.
8243 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8245 * net/ldap.el (ldap-search-internal): Don't push empty search
8248 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8250 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8252 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8254 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8255 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8257 2011-09-18 Juri Linkov <juri@jurta.org>
8259 * buff-menu.el (Buffer-menu-mode-map):
8260 * dired.el (dired-mode-map):
8261 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8262 (lisp-interaction-mode-map):
8263 * emacs-lisp/package.el (package-menu-mode-map):
8264 * epa.el (epa-key-list-mode-map):
8265 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8266 (menu-bar-options-menu):
8267 * outline.el (outline-mode-menu-bar-map):
8268 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8269 * vc/vc-dir.el (vc-dir-menu-map):
8270 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8271 Capitalize non-function content words in menu item strings.
8273 * dired.el (dired-mode-map): Add menu item for
8274 `image-dired-dired-toggle-marked-thumbs'.
8276 2011-09-18 Juri Linkov <juri@jurta.org>
8278 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8279 to `isearch-case-fold-search' and restore its original value
8280 after the `isearch-mode' call.
8282 2011-09-18 Juri Linkov <juri@jurta.org>
8284 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8285 because `zgrep' returns 1 for successful matches (bug#9226).
8287 2011-09-18 Juri Linkov <juri@jurta.org>
8289 * info.el (Info-extract-menu-node-name): Check the second match
8290 for empty string (second test-case of bug#9528).
8291 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8292 intermediate nodes to the history (first test-case of bug#9528).
8294 2011-09-18 Juri Linkov <juri@jurta.org>
8296 * info.el (Info-mode-syntax-table): New variable.
8297 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8299 2011-09-18 Juri Linkov <juri@jurta.org>
8301 * info.el (Info-file-supports-index-cookies):
8302 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8303 outputs one more line for long file names (bug#4142).
8305 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8307 * newcomment.el (comment-normalize-vars): If prompting for
8308 comment-start, set comment-start-skip too (Bug#8424).
8310 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8312 * icomplete.el: Fix previous fix of Bug#5849.
8313 (icomplete-mode): Don't set completion-show-inline-help.
8314 (icomplete-minibuffer-setup): Set completion-show-inline-help
8315 locally during icompletion.
8317 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8319 * woman.el (woman2-process-escapes): Don't delete unrecognized
8322 * files.el (inhibit-first-line-modes-regexps): Add image files.
8323 (hack-local-variables-prop-line): Return nil for malformed
8324 prop-lines (Bug#9044).
8326 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8328 * net/tramp.el (top): Don't require 'shell.
8329 (tramp-methods): Fix docstring.
8330 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8331 Return complete remote file name. Handle "smb" case.
8332 Use `tramp-tmpdir', if defined for the respective method.
8333 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8335 * net/tramp-compat.el (top): Require 'shell.
8337 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8338 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8339 `tramp-current-host'.
8340 (tramp-get-remote-tmpdir): Remove.
8342 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8343 `tramp-tmpdir' entries.
8344 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8345 (tramp-smb-handle-file-attributes): Ignore errors.
8346 (tramp-smb-wait-for-output): Check also for process end.
8348 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8350 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8351 when sending QUIT (bug#9312).
8353 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8355 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8356 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8357 occur-mode-display-occurrence.
8358 (occur-edit-mode): Add usage message.
8359 (occur-cease-edit): New command.
8360 (occur-after-change-function): Use text properties to find the
8361 position of the prefix text.
8362 (occur-engine): Set stickiness of prefix text properties.
8364 2011-09-17 Glenn Morris <rgm@gnu.org>
8366 * progmodes/etags.el (complete-tag):
8367 Fix call to completion-in-region. (Bug#9526)
8369 2011-09-17 Juri Linkov <juri@jurta.org>
8371 * textmodes/ispell.el (ispell-word): Add to the error message
8372 the word, ispell program name and current dictionary (bug#9121).
8373 (ispell-tex-arg-end): Capitalize "error" in the error message.
8375 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8377 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8380 2011-09-17 Juri Linkov <juri@jurta.org>
8382 * window.el (window-safe-min-height, window-safe-min-width):
8383 Fix typos (followup to bug#9522).
8385 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8387 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8389 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8391 * simple.el (line-move): If goal-column is set, move by logical
8392 lines, not by display lines. (Bug#971)
8393 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8394 to reflect the above change.
8396 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8398 * image.el (imagemagick-register-types): Use regexp-opt.
8400 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8402 * window.el (display-buffer-base-action): Rename from
8403 display-buffer-default-action. Make default value empty.
8404 (display-buffer-overriding-action): Convert to defvar.
8405 (display-buffer-fallback-action): New var.
8407 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8409 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8411 (package--add-to-archive-contents): If there is a duplicate entry
8412 with an older version, remove it.
8413 (package-menu-mark-delete, package-menu-mark-install)
8414 (package-menu-mark-unmark): Make unused args optional.
8415 (package-menu-mark-obsolete-for-deletion):
8416 Use package-menu-get-status instead of a regexp search.
8417 (package-menu-get-status): Use tabulated-list-entry.
8418 (package-menu-mark-upgrades): New command.
8419 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8420 (package-menu-execute): Do installation before deletion.
8421 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8422 instead of checking major-mode.
8423 (package-menu--find-upgrades): New function.
8425 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8427 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8428 passwords in the log buffer.
8429 (smtpmail-process-filter): Update the process marker so that the
8430 "broken by peer" status message is inserted in the right place.
8432 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8434 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8435 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8436 bibtex-completion-at-point-function.
8437 (bibtex-completion-at-point-function): Use them.
8439 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8441 * mpc.el (mpc-constraints-tag-lookup): New function.
8442 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8443 also to browser "album|playlist".
8445 2011-09-14 Juri Linkov <juri@jurta.org>
8447 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8448 (isearch-edit-string): Use length of `isearch-string' when
8449 `isearch-fail-pos' returns nil.
8450 (isearch-message): Remove duplicate code and call
8451 `isearch-fail-pos' with arg `t'.
8453 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8455 * replace.el (occur-mode-goto-occurrence): Don't force using other
8458 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8460 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8462 * window.el (display-buffer-window): Remove.
8463 (display-buffer-record-window): Use help-setup window parameter
8464 instead of variable display-buffer-window.
8465 (display-buffer-function, special-display-buffer-names)
8466 (special-display-function): Mention help-setup parameter instead
8467 of display-buffer-window in doc-string.
8468 * help.el (help-window-setup): New argument help-window.
8469 Use help-window-setup parameter instead of display-buffer-window.
8470 Reword some messages.
8471 (with-help-window): Pass window used for displaying the buffer
8472 to help-window-setup. Don't set display-buffer-window.
8474 2011-09-13 Glenn Morris <rgm@gnu.org>
8476 * emacs-lisp/debug.el (debugger-make-xrefs):
8477 Preserve point. (Bug#9462)
8479 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8481 * window.el (window-deletable-p): Use next-frame.
8483 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8485 * window.el (window-auto-delete): Remove.
8486 (window-deletable-p): Remove argument FORCE. Don't deal with
8487 dedication and previous buffers.
8488 (switch-to-prev-buffer): Don't delete window.
8489 (delete-windows-on): Delete a window's frame if and only if the
8490 window is dedicated.
8491 (replace-buffer-in-windows): Delete buffer's window or frame if
8492 and only if window is dedicated.
8493 (quit-window): Handle quit-restore as before last change.
8494 (bury-buffer): Delete window only if window-deletable-p returns t.
8496 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8498 * window.el (window-deletable-p): Never delete the last frame on a
8501 2011-09-13 Glenn Morris <rgm@gnu.org>
8503 * help.el (describe-key-briefly): Copy previous standard-output change.
8505 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8507 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8509 2011-09-13 Glenn Morris <rgm@gnu.org>
8511 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8512 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8514 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
8516 * dired-aux.el (dired-mark-read-string): Don't return default
8517 value on empty input (Bug#9361).
8518 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8519 Omit initial minibuffer contents.
8520 (dired-do-chmod): Signal an error on empty input.
8521 (dired-mark-read-string): Don't return default on empty input.
8523 * files.el (file-modes-symbolic-to-number): Doc fix.
8525 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8527 * international/mule-cmds.el (ucs-completions): Remove.
8528 (read-char-by-name): Use complete-with-action instead; add metadata.
8530 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8532 * window.el (display-buffer--action-function-custom-type)
8533 (display-buffer--action-custom-type): New vars.
8534 (display-buffer-alist, display-buffer-default-action)
8535 (display-buffer-overriding-action): Add defcustom types.
8537 * frame.el (delete-other-frames): Doc fix (Bug#276).
8539 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8541 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8543 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8545 Change modes that used same-window-* vars to use switch-to-buffer.
8547 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8548 Use switch-to-buffer.
8550 * cus-edit.el (customize-group, custom-buffer-create)
8551 (customize-browse, custom-buffer-create-other-window):
8552 Use switch-to-buffer or switch-to-buffer-other-window.
8554 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8555 (Info-prev, Info-up, Info-speedbar-goto-node)
8556 (info-display-manual): Use switch-to-buffer.
8557 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8559 * mail/sendmail.el (mail): Use switch-to-buffer.
8560 (mail-recover): Use switch-to-buffer-other-window.
8562 * cmuscheme.el (run-scheme, switch-to-scheme):
8565 * net/rlogin.el (rlogin):
8566 * net/telnet.el (telnet, rsh):
8567 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8569 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8571 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8573 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8575 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8576 so don't mention it (bug#9301).
8577 (dired-sort-toggle-or-edit): Clarify string further.
8579 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8580 match `x', `w32' and `ns', like the manual says (bug#9029).
8582 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8583 (process-kill-buffer-query-function): Mention the buffer name in
8586 * image-mode.el (image-next-line): The line parameter is mandatory
8589 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8590 which can be useful (bug#9301).
8592 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8594 * subr.el (match-string): Mention that the current buffer should
8595 be the same as the search was done in (bug#9282).
8597 * facemenu.el: Disable the remove-* commands if the mark isn't
8600 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8602 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8604 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8606 * replace.el (occur-mode-goto-occurrence)
8607 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8610 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8613 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8614 special-display and same-window variables.
8615 (mail-other-window): Use switch-to-buffer-other-window.
8616 (mail-other-frame): USe switch-to-buffer-other-frame.
8618 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8619 Use display-buffer-other-frame.
8620 (gdb-display-gdb-buffer): Use pop-to-buffer.
8622 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8624 * progmodes/python.el: Don't set same-window-buffer-names.
8626 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8628 * window.el (display-buffer-alist): Add *Python*.
8630 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8632 * window.el (display-buffer-alist): Add entry for buffers
8633 previously handled same-window-*.
8634 (display-buffer-alist, display-buffer-default-action)
8635 (display-buffer-overriding-action): Mark as risky.
8636 (display-buffer-alist): Document action function changes.
8637 (display-buffer--same-window-action)
8638 (display-buffer--other-frame-action): New variables.
8639 (switch-to-buffer, display-buffer-other-frame): Use them.
8640 (display-buffer): Rename reuse-frame entry to reusable-frames.
8641 (display-buffer-reuse-selected-window): Function deleted.
8642 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8643 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8644 (display-buffer-special): New function.
8645 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8646 display-buffer-reuse-or-pop-window. Split off special-display
8647 part into display-buffer-special.
8648 (display-buffer-use-some-window): Don't perform any special
8649 pop-up-frames handling.
8650 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8651 (display-buffer--maybe-same-window): Rename from
8652 display-buffer-maybe-same-window.
8654 * info.el: Don't set same-window-regexps.
8655 (info-setup): New function.
8656 (info-other-window, info): Call it.
8658 * cus-edit.el: Don't set same-window-regexps.
8659 (customize-group): New argument.
8660 (customize-group-other-window): Use it.
8661 (customize-face, customize-face-other-window): Likewise.
8662 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8666 * progmodes/gud.el: Don't set same-window-regexps.
8672 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8674 2011-09-10 Juri Linkov <juri@jurta.org>
8676 * isearch.el (isearch-edit-string): Remove obsolete mention of
8677 `C-w' (`isearch-yank-word-or-char') from docstring.
8678 (isearch-query-replace): Fix typo in docstring (bug#9466).
8680 2011-09-10 Juri Linkov <juri@jurta.org>
8682 * paren.el (show-paren-function): Don't show escaped parens.
8683 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8685 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8687 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8688 (mm-default-file-encoding): Remove autoload forms, they are
8689 replaced with autoload cookies in mml.el and mm-encode.el.
8690 (mail-add-attachment): New command.
8691 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8692 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8694 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8696 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8698 * simple.el (count-words-region): Use buffer if there's no region
8701 2011-09-09 Juri Linkov <juri@jurta.org>
8703 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8704 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8705 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8707 2011-09-09 Alan Mackenzie <acm@muc.de>
8709 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8710 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8712 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8714 Fix for Savannah bug#9392.
8715 * simple.el (mail-encode-mml): New defvar.
8717 * mail/rmail.el (mail-encode-mml): Add a defvar.
8718 (rmail-enable-mime-composing): Default to t.
8719 (rmail-forward): Use MIME method of forwarding only if both
8720 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8721 Set mail-encode-mml non-nil if the MIME method was used.
8723 * mail/sendmail.el (mml-to-mime): Add autoload form.
8724 (mail-encode-mml): Add a defvar.
8725 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8727 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8728 message through mml-to-mime, and reset mail-encode-mml to nil.
8730 2011-09-09 Glenn Morris <rgm@gnu.org>
8732 * woman.el (woman-if-body): When processing an .el block,
8733 do not delete the next .el block as well. (Bug#9447)
8734 (woman-special-characters): Add oq, cq, and hy characters.
8736 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8738 * window.el (window-deletable-p): Make sure window is live before
8739 invoking window-prev-buffers.
8741 2011-09-08 Leo Liu <sdl.web@gmail.com>
8743 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8745 2011-09-08 Juri Linkov <juri@jurta.org>
8747 * progmodes/compile.el (compilation-environment): Make it
8748 a defcustom (bug#8340).
8750 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8752 * window.el (frame-auto-delete): Rename to window-auto-delete.
8753 Make it control auto-deletion of windows and/or frames.
8754 (window-deletable-p): New argument FORCE. Rewrite conditions
8755 for deleting window/frame. (Bug#9419)
8756 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8757 Rewrite handling of case when window/frame can be deleted.
8758 (delete-windows-on): Call window-deletable-p with new FORCE
8759 argument t. (Bug#9456)
8761 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8763 * help-mode.el (help-mode): Restore autoload.
8765 2011-09-07 Juri Linkov <juri@jurta.org>
8767 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8768 `compilation-environment'. Set buffer-local
8769 `compilation-environment' to `thisenv' later after (funcall mode).
8772 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8773 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8774 instead of replacing its value. (Bug#8340)
8776 2011-09-07 Juri Linkov <juri@jurta.org>
8778 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8779 based on text properties put by `grep-filter' instead of matching
8781 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8782 to the value of `grep-error-screen-columns' (bug#9438).
8784 2011-09-07 Juri Linkov <juri@jurta.org>
8786 * simple.el (next-error-highlight, next-error-highlight-no-select):
8789 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8791 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8792 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8794 2011-09-07 Leo Liu <sdl.web@gmail.com>
8796 * net/rcirc.el (rcirc-mode): Conditionally initialize
8799 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8801 * emacs-lisp/find-func.el (find-function-C-source): Only set
8802 find-function-C-source-directory after checking that we found a source
8803 file there (bug#9440).
8805 2011-09-06 Alan Mackenzie <acm@muc.de>
8807 * isearch.el (isearch-other-meta-char): Wherever a key list is
8808 unread, "unread" the prefix arg, too. This fixes bug #8901.
8810 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8812 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8814 2011-09-05 Juri Linkov <juri@jurta.org>
8816 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8818 2011-09-05 Juri Linkov <juri@jurta.org>
8820 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8821 keeping point where processing of grep matches begins, and
8822 continue to delete remaining escape sequences from the same point.
8823 (grep-filter): Make leading zero optional in "0?1;31m" because
8824 git-grep emits "\033[1;31m" escape sequences unlike expected
8825 "\033[01;31m" as GNU Grep does (bug#9408).
8826 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8828 2011-09-05 Juri Linkov <juri@jurta.org>
8830 * subr.el (y-or-n-p): Capitalize "yes".
8832 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8834 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8835 `tramp-cache-unload-hook' where appropriate.
8836 (tramp-methods): Rename `tramp-remote-sh' to
8837 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8838 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8840 * net/tramp-sh.el (top): Don't require 'shell.
8841 (tramp-methods): Add `tramp-remote-shell' and
8842 `tramp-remote-shell-args' entries.
8843 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8844 (tramp-sh-handle-shell-command): Remove.
8845 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8846 Use `tramp-remote-shell'.
8848 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8850 * mail/sendmail.el (sendmail-query-once-function): Delete.
8851 (sendmail-query-once): Save directly to send-mail-function.
8852 Update message-send-mail-function too.
8854 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8856 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8858 * progmodes/python.el (python-mode-map): Use correct function to
8859 start python interpreter from menu-bar (as reported by Geert
8861 (inferior-python-mode-map): Fix typo.
8862 (python-shell-map): Remove.
8864 2011-09-03 Deniz Dogan <deniz@dogan.se>
8866 * net/rcirc.el (rcirc-print): Simplify code for
8867 rcirc-scroll-show-maximum-output. There is no need to walk
8868 through all windows to find the right one.
8870 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8872 * help.el (help-return-method): Doc fix.
8874 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8876 * window.el (window-deletable-p): Don't return a non-nil value
8877 when there's a buffer that was shown in the window before.
8879 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8880 Set window's previous buffers to nil.
8882 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8884 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8885 newline before and after the tag line, so it doesn't interfere
8886 with determining the paragraph direction of bidirectional text.
8888 2011-09-03 Leo Liu <sdl.web@gmail.com>
8890 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8892 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8894 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8895 (pop-to-buffer): Change interactive spec. Pass second argument
8896 directly to display-buffer.
8897 (display-buffer): Fix interactive spec. Use functionp to
8898 distinguish between a function and a list of functions.
8900 * abbrev.el (edit-abbrevs):
8901 * arc-mode.el (archive-extract):
8902 * autoinsert.el (auto-insert):
8903 * bookmark.el (bookmark-bmenu-list):
8904 * files.el (find-file):
8905 * view.el (view-buffer):
8906 * progmodes/compile.el (compilation-goto-locus):
8907 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8909 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8911 * window.el (display-buffer-alist): Doc fix.
8912 (display-buffer): Add docstring. Don't treat
8913 display-buffer-default specially.
8914 (display-buffer-reuse-selected-window)
8915 (display-buffer-same-window, display-buffer-maybe-same-window)
8916 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8917 (display-buffer-pop-up-window)
8918 (display-buffer-reuse-or-pop-window)
8919 (display-buffer-use-some-window): New functions.
8920 (display-buffer-default-action): Use them.
8921 (display-buffer-default): Delete.
8922 (pop-to-buffer-1): Fix choice of actions.
8924 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8926 * minibuffer.el (completion--insert-strings): Don't get confused by
8927 completion entries that end with an LF char.
8929 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8931 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8933 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8935 * window.el (display-buffer): Restore interactive spec.
8936 (display-buffer-same-window, display-buffer-other-window):
8938 (pop-to-buffer-1): New function. Use the above.
8939 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8940 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8942 * view.el (view-buffer-other-window, view-buffer-other-frame):
8943 Just use pop-to-buffer.
8945 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8947 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8949 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8951 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8953 2011-08-31 Richard Stallman <rms@gnu.org>
8955 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8956 of the separation of rmail-view-buffer from rmail-buffer.
8957 If you say no to "replace original", the decrypt is in the
8958 view buffer. If you say yes, the decrypt goes into the
8961 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8963 * window.el (display-buffer-window): Rewrite doc-string.
8964 (display-buffer-record-window): New function.
8965 (display-buffer-macro-specifiers)
8966 (display-buffer-even-window-sizes, display-buffer-set-height)
8967 (display-buffer-set-width, display-buffer-in-window)
8968 (display-buffer-reuse-window, display-buffer-split-specifiers)
8969 (display-buffer-side-specifiers, display-buffer-split-window-1)
8970 (display-buffer-split-window, display-buffer-split-atom-window)
8971 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8972 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8973 (display-buffer-other-window-means-other-frame)
8974 (display-buffer-normalize-special)
8975 (display-buffer-normalize-default)
8976 (display-buffer-normalize-argument)
8977 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8978 (display-buffer-normalize-specifiers, display-buffer-frame)
8979 (display-buffer-same-window, display-buffer-same-frame)
8980 (display-buffer-other-window)
8981 (display-buffer-same-frame-other-window)
8982 (display-buffer-other-frame, pop-to-buffer-same-window)
8983 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8984 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8985 (switch-to-buffer-same-frame)
8986 (switch-to-buffer-other-window-same-frame)
8987 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8988 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8989 (display-buffer-alist-set): Remove.
8990 (display-buffer-function, special-display-buffer-names)
8991 (special-display-regexps, special-display-function):
8992 In doc-string refer to display-buffer-window and quit-restore
8994 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8995 (special-display-frame-alist, special-display-popup-frame)
8996 (same-window-buffer-names, same-window-regexps, same-window-p)
8997 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8998 (split-window-preferred-function, split-height-threshold)
8999 (split-width-threshold, window-splittable-p)
9000 (split-window-sensibly, window--try-to-split-window)
9001 (window--frame-usable-p, even-window-heights)
9002 (window--even-window-heights, window--display-buffer-1)
9003 (window--display-buffer-2, display-buffer-other-frame):
9004 Restore old Emacs 23 code, order and doc-strings where applicable.
9005 (display-buffer-default, display-buffer-assq-regexp): New functions.
9006 (display-buffer-alist): Rewrite doc-string.
9007 (display-buffer-default-action)
9008 (display-buffer-overriding-action): New variables.
9009 (display-buffer, switch-to-buffer): Rewrite.
9010 (pop-to-buffer): Restore Emacs 23 behavior but use
9011 window-normalize-buffer-to-display.
9012 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9013 Restore Emacs 23 behavior but use
9014 window-normalize-buffer-to-switch-to.
9015 (pop-to-buffer-same-window): Rewrite.
9016 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9017 Rewrite using Emacs 23 options.
9019 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9021 * net/tramp.el (tramp-root-regexp): Remove.
9022 (tramp-completion-file-name-regexp-unified)
9023 (tramp-completion-file-name-regexp-separate)
9024 (tramp-completion-file-name-regexp-url): Don't use leading volume
9025 letter on win32 systems. (Bug#5303, Bug#9311)
9026 (tramp-drop-volume-letter): Simplify definition.
9027 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9029 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9031 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9034 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9036 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9038 2011-08-29 Juri Linkov <juri@jurta.org>
9040 * isearch.el (isearch-done): Don't display message "Mark saved"
9041 when arg `edit' is non-nil to prevent its flicker in the echo area.
9043 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9045 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9046 obsolete packages for deletion.
9048 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9050 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9051 (help-mode): Derive help-mode from special-mode. Don't invoke
9052 view-mode from help-mode.
9053 (help-xref-override-view-map): Remove.
9054 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9055 view-mode is not used anymore.
9057 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9059 * server.el (server-port): Doc fix.
9061 * cus-theme.el (custom-theme-choose-mode): Inherit from
9062 special-mode (Bug#9124).
9063 (custom-theme-choose-mode-map): Add special-mode to parent.
9065 2011-08-28 Alan Mackenzie <acm@muc.de>
9067 * progmodes/cc-fonts.el
9068 (c-make-font-lock-BO-decl-search-function): New function.
9069 (c-basic-matchers-after - "Fontify the clauses after various
9070 keywords"): Extract the three keyword lists for the 3 erroneous
9071 constructs from the list of four, and use the new function above
9072 in place of an old one.
9074 2011-08-28 Deniz Dogan <deniz@dogan.se>
9076 * net/rcirc.el (rcirc-insert-prev-input)
9077 (rcirc-insert-next-input): Remove unused argument.
9079 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9081 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9083 2011-08-27 Alan Mackenzie <acm@muc.de>
9085 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9086 handle function pointer parameters properly.
9088 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9090 * window.el (display-buffer-reuse-window): Fix case where
9091 selected window was reused with non-nil OTHER-WINDOW argument.
9094 2011-08-27 Deniz Dogan <deniz@dogan.se>
9096 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9097 oftc's NickServ messages.
9099 2011-08-27 Glenn Morris <rgm@gnu.org>
9101 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9103 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9105 * emacs-lisp/package.el (package-install): Call package-initialize
9106 if called interactively.
9108 2011-08-26 Leo Liu <sdl.web@gmail.com>
9110 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9112 2011-08-25 Juri Linkov <juri@jurta.org>
9114 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9115 `search-whitespace-regexp' (bug#9364).
9117 2011-08-25 Juri Linkov <juri@jurta.org>
9119 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9120 `regexp-search-ring' to their global values to protect from
9121 updating by `read-from-minibuffer' (bug#9185).
9123 2011-08-25 Juri Linkov <juri@jurta.org>
9125 * textmodes/ispell.el (ispell-command-loop): Add newline
9126 at the end of the "Use option `i'..." line.
9128 2011-08-25 Juri Linkov <juri@jurta.org>
9130 * battery.el (display-battery-mode): If `battery-status-function'
9131 or `battery-mode-line-format' is nil, display the message and set
9132 `display-battery-mode' to nil (bug#9363).
9134 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9136 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9137 bidi-string-mark-left-to-right; they are unnecessary now.
9139 2011-08-25 Deniz Dogan <deniz@dogan.se>
9141 * net/quickurl.el: Documentation typo fixes.
9143 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9145 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9147 2011-08-25 Glenn Morris <rgm@gnu.org>
9149 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9151 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9152 (smtpmail-via-smtp): Handle nil response from smtp.
9154 2011-08-24 Juri Linkov <juri@jurta.org>
9156 * proced.el (proced-marked): Inherit from `error' instead of
9157 `font-lock-warning-face'.
9159 * ibuffer.el (ibuffer-marked-face): Change default face from
9160 `font-lock-warning-face' to `warning'.
9161 (ibuffer-deletion-face): Change default face from
9162 `font-lock-type-face' to `error'.
9164 * battery.el (battery-update): Use the face `error' instead of
9165 `font-lock-warning-face' (bug#6117).
9167 2011-08-24 Juri Linkov <juri@jurta.org>
9169 * faces.el (success): Change face color from "Green3" to
9170 "ForestGreen" on light background (bug#9353).
9172 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9174 * window.el (quit-window): Rename from quit-restore-window.
9175 Use same arglist as old quit-window.
9176 (frame-auto-delete): Doc fix.
9178 * view.el (view-mode-exit): Use quit-window.
9180 2011-08-24 Juri Linkov <juri@jurta.org>
9182 * isearch.el (isearch-ring-adjust1): Start visiting previous
9183 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9184 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9185 for empty search string (when the last search string is reused
9186 automatically) to adjust the isearch ring to the last element and
9187 prepare the correct index for further M-p commands (bug#9185).
9189 2011-08-24 Kenichi Handa <handa@m17n.org>
9191 * international/ucs-normalize.el: If decomposition property of
9192 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9194 (nfd, nfkd): Likewise.
9196 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9198 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9199 from process filters aren't reliably transmitted to the surrounding
9200 accept-process-output.
9201 (mpc-proc-check): New function.
9202 (mpc-proc-sync): Use it (bug#8293)
9204 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9206 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9207 Add compatibility functions (bug#9313).
9209 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9211 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9213 * international/uni-bidi.el: Regenerate.
9215 2011-08-23 Kenichi Handa <handa@m17n.org>
9217 * international/charprop.el:
9218 * international/uni-bidi.el:
9219 * international/uni-category.el:
9220 * international/uni-combining.el:
9221 * international/uni-comment.el:
9222 * international/uni-decimal.el:
9223 * international/uni-decomposition.el:
9224 * international/uni-digit.el:
9225 * international/uni-lowercase.el:
9226 * international/uni-mirrored.el:
9227 * international/uni-name.el:
9228 * international/uni-numeric.el:
9229 * international/uni-old-name.el:
9230 * international/uni-titlecase.el:
9231 * international/uni-uppercase.el: Regenerate.
9233 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9235 * help.el (help-window-setup): Fix message displayed when other
9236 window is reused. (Bug#9341)
9238 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9240 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9241 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9243 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9245 * shell.el (shell-parse-pcomplete-arguments): New function.
9246 (shell-completion-vars): Use it instead (bug#9160).
9248 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9250 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9251 strings and comments (bug#9333).
9253 * emacs-lisp/debug.el (debug-arglist): New function.
9254 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9255 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9257 2011-08-22 Juri Linkov <juri@jurta.org>
9259 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9260 Revert regexp that highlights output switches to its old
9261 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9263 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9264 to check for empty output (bug#9226).
9266 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9268 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9269 symbol-constituent as the default, as that stops font-lock from
9270 working properly (Bug#8843).
9272 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9274 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9275 `coding-system-for-*' around the process open call to avoid
9276 auth-source side effects.
9277 (smtpmail-try-auth-methods): Expand the secret password.
9278 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9281 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9283 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9285 * emacs-lisp/find-func.el (find-function-noselect): New arg
9288 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9289 signal an error for built-in functions (Bug#6664).
9291 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9293 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9294 (smtpmail-try-auth-methods): Use it.
9296 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9298 * font-lock.el (font-lock-fontify-region)
9299 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9300 (font-lock-default-unfontify-buffer)
9301 (font-lock-default-fontify-region)
9302 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9304 * progmodes/compile.el (compilation-error-properties):
9305 Fix confusion between file struct and message struct (Bug#9319).
9306 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9309 * net/browse-url.el (browse-url-firefox): Don't call
9310 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9312 2011-08-20 Glenn Morris <rgm@gnu.org>
9314 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9316 * tutorial.el (tutorial--default-keys): Update some default bindings.
9318 * files.el (hack-local-variables): Fully ignore case for "mode:".
9320 2011-08-20 Alan Mackenzie <acm@muc.de>
9322 Resolve invalid use of a regexp in regexp-opt.
9324 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9325 detection for a java annotation.
9327 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9328 detection for a java annotation.
9330 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9332 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9334 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9336 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9339 2011-08-20 Alan Mackenzie <acm@muc.de>
9341 Fontify CPP expressions correctly when starting in the middle of
9342 such a construct. Mainly for when jit-lock etc. starts a chunk
9345 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9347 (c-make-font-lock-search-form): New function, extracted from
9348 c-make-font-lock-search-function.
9349 (c-make-font-lock-search-function): Use the above function.
9350 (c-make-font-lock-context-search-function): New function.
9351 (c-cpp-matchers): Enhance the preprocessor expression case with
9353 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9354 which takes an expression.
9356 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9358 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9360 * window.el (display-buffer-reuse-window)
9361 (display-buffer-pop-up-window): Don't reuse or split a side
9364 2011-08-19 Glenn Morris <rgm@gnu.org>
9366 * files.el (hack-local-variables-prop-line, hack-local-variables):
9367 Downcase "Mode:". (Bug#9331)
9369 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9371 * international/characters.el: Add L and R categories.
9373 * subr.el (bidi-string-mark-left-to-right): Rename from
9374 string-mark-left-to-right. Use category search.
9376 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9378 2011-08-18 Juri Linkov <juri@jurta.org>
9380 * faces.el (error, warning, success): New faces with definitions
9381 copied from old default values of `font-lock-warning-face',
9382 `compilation-warning', `compilation-info' (bug#6117).
9384 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9386 * progmodes/compile.el (compilation-error): Inherit from `error'.
9387 (compilation-warning): Inherit from `warning'.
9388 (compilation-info): Inherit from `success'.
9390 * dired.el (dired-marked): Inherit from `warning'.
9391 (dired-flagged): Inherit from `error'.
9393 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9395 * mail/smtpmail.el (auth-source): Require to avoid problems with
9396 binding variables (bug#9298). Also clean up some unused
9399 * net/network-stream.el (network-stream-open-starttls):
9400 Support using starttls.el without using gnutls-cli.
9402 2011-08-17 Juri Linkov <juri@jurta.org>
9404 * progmodes/grep.el (rgrep): Handle the case when
9405 `grep-find-command' is a cons cell (bug#9278).
9407 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9409 * window.el (display-buffer-pop-up-frame): Run frame creation
9410 function with BUFFER current (as special-display-popup-frame
9411 does). Reported by Drew Adams.
9413 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9415 * epa-mail.el: Simplify GnuPG group expansion using
9417 (epa-mail-group-alist, epa-mail-group-modtime)
9418 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9419 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9420 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9423 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9425 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9427 2011-08-16 Alan Mackenzie <acm@muc.de>
9429 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9430 Correct, to avoid the inside of macros.
9432 2011-08-16 Richard Stallman <rms@gnu.org>
9434 * epa-mail.el: Handle GnuPG group definitions.
9435 (epa-mail-group-alist, epa-mail-group-modtime)
9436 (epa-mail-gnupg-conf-file): New variables.
9437 (epa-mail-parse-groups, epa-mail-sync-groups)
9438 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9439 (epa-mail-expand-recipients): New functions.
9440 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9442 * mail/rmail.el (rmail-epa-decrypt): New command.
9444 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9445 Don't bind buffer-read-only, just inhibit-read-only.
9446 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9447 (epa-decrypt-armor-in-region): Make error message clearer.
9449 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9451 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9452 and "a2b" to "ab" for `prefix'.
9454 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9456 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9458 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9459 Fourquet (Bug#8804).
9461 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9463 * startup.el (argi): Declare as global variable (bug#9275).
9465 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9467 * subr.el (string-mark-left-to-right): Search the entire string
9468 for RTL script, not just the terminating character. Doc fix.
9470 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9472 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9474 (js--regexp-literal, js-syntax-propertize-function): Remove.
9475 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9476 (js-mode-map): Don't rebind electric keys.
9477 (js-insert-and-indent): Remove.
9478 (js-mode): Setup electric-layout and electric-indent instead.
9480 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9482 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9484 * epa.el (epa-progress-callback-function): Fix the logic of
9485 displaying progress.
9486 * epa-file.el (epa-file-insert-file-contents): Make progress
9487 display more user-friendly.
9488 (epa-file-write-region): Ditto.
9490 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
9492 * subr.el (string-mark-left-to-right): New function.
9494 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9495 Use string-mark-left-to-right.
9496 (list-buffers-noselect): Caller changed.
9498 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9499 Use string-mark-left-to-right.
9500 (tabulated-list-print): Recenter after moving point.
9502 2011-08-10 Juri Linkov <juri@jurta.org>
9504 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9505 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9506 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9508 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9510 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9513 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9515 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9516 character. (Bug#6594)
9518 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9520 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9521 (image-dired--with-db-file): New macro.
9522 (image-dired-write-tags, image-dired-remove-tag)
9523 (image-dired-create-gallery-lists, image-dired-write-comments)
9524 (image-dired-get-comment, image-dired-mark-tagged-files)
9525 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9526 (image-dired-gallery-generate): Use insert-file-contents.
9528 * time.el (display-time-world-list, display-time-world-display):
9529 * time-stamp.el (time-stamp-string):
9530 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9531 set-time-zone-rule (Bug#7337).
9533 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9535 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9536 (epg-error-to-string, epg-errors-to-string): New function.
9537 (epg-wait-for-completion): Reverse errors list.
9538 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9539 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9540 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9541 (epg-sign-keys, epg-generate-key-from-file)
9542 (epg-generate-key-from-string): Format errors by using
9543 epg-errors-to-string (bug#9255).
9544 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9546 2011-08-07 Juri Linkov <juri@jurta.org>
9548 * faces.el (list-faces-display): Remove extra angle bracket
9549 from `help-mode-map'.
9551 * info.el (Info-history-toc-nodes): Doc fix.
9553 * longlines.el (longlines-mode): Doc fix.
9555 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9557 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9558 of statements and in a few more cases (bug#9183).
9560 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9562 (cl-transform-lambda): Use them (bug#9239).
9564 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9566 * window.el (display-buffer-same-window)
9567 (display-buffer-same-frame, display-buffer-other-window)
9568 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9569 (pop-to-buffer-other-window)
9570 (pop-to-buffer-same-frame-other-window)
9571 (pop-to-buffer-other-frame): Make them defuns.
9572 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9574 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9576 * subr.el (make-composed-keymap): Move from C. Change calling
9577 convention, and improve docstring to bring attention to a subtle point.
9578 * minibuffer.el (completing-read-default): Adjust accordingly.
9580 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9582 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9583 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9585 * net/trampver.el: Update release number.
9587 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9589 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9592 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9594 * mail/sendmail.el (sendmail-query-once): Restore the current
9595 buffer after querying (bug#9074).
9597 * dired.el (dired-flagged): Use different faces for marked and
9598 flagged files (bug#6117).
9600 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9603 * ido.el (ido-mode): Switch off the message if called
9606 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9607 before 587, since it appears that that's more likely to work for
9610 * cus-edit.el (custom-file): When running under emacs -q, always
9611 refuse to save the customizations, even if the .emacs file doesn't
9614 * info.el: Remove the `Info-beginning-of-buffer' function
9617 * net/network-stream.el (network-stream-open-starttls):
9618 Use `starttls-available-p' to see whether starttls.el can be used.
9620 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9622 * window.el (display-buffer-in-window): Don't set dedicated status
9623 of window here (Bug#9215).
9624 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9625 (display-buffer-pop-up-side-window)
9626 (display-buffer-in-side-window): Set dedicated status of window here.
9628 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9630 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9631 before binding generated-autoload-file.
9633 2011-08-01 Deniz Dogan <deniz@dogan.se>
9635 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9637 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9639 Sync with Tramp 2.2.2.
9641 * net/trampver.el: Update release number.
9643 2011-07-30 Juri Linkov <juri@jurta.org>
9645 * dired-aux.el (dired-touch-initial): Remove function.
9646 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9647 current time, and `default' to the last modification time of the
9648 current marked file (bug#6887).
9650 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9652 * simple.el (goto-line): Use string-to-number to provide a
9653 numeric argument to read-number (bug#9163).
9655 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9657 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9658 connection process, it could be nil.
9660 2011-07-27 Leo Liu <sdl.web@gmail.com>
9662 Simplify url handling in rcirc-mode.
9664 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9665 (rcirc-browse-url-at-mouse): Remove.
9666 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9668 2011-07-26 Alan Mackenzie <acm@muc.de>
9670 Fontify bitfield declarations properly.
9672 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9673 (c-symbol-chars): Now exported as a lang variable.
9674 (c-not-primitive-type-keywords): New lang variable.
9676 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9677 QT keyword "more" to prevent "more slots: ...." being spuriously
9678 parsed as a bitfield declaration.
9680 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9681 Refactor and enhance to handle bitfield declarations.
9682 (c-punctuation-in): New function.
9683 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9684 declarations properly.
9686 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9688 * calendar/icalendar.el (icalendar--all-events): Take care of
9689 multiple vcalendars in a single file.
9690 (icalendar--convert-float-to-ical): Checkdoc fixes.
9692 2011-07-25 Deniz Dogan <deniz@dogan.se>
9694 * image.el (insert-image): Clarifying docstring.
9696 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9698 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9699 `tramp-send-command-and-check' if there is no error.
9700 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9702 2011-07-22 Alan Mackenzie <acm@muc.de>
9704 Prevent cc-langs.elc being loaded at run time.
9706 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9709 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9710 "(require 'cc-langs)". Quote a form so it will evaluate at
9711 (cc-mode's) compilation time.
9713 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9715 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9718 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9720 * window.el (display-buffer-pop-up-window)
9721 (display-buffer-pop-up-side-window)
9722 (display-buffer-in-side-window): Call display-buffer-set-height
9723 and display-buffer-set-width after setting the new window's
9724 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9726 2011-07-20 Sam Steingold <sds@gnu.org>
9728 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9729 (etags-tags-included-tables): Call `convert-standard-filename' on
9730 the file names contained in TAGS so that windows Emacs can handle
9731 TAGS files created by cygwin ctags.
9733 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9735 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9736 which apparently didn't work.
9738 2011-07-19 Roland Winkler <winkler@gnu.org>
9740 * proced.el (proced-send-signal): For *Marked Processes* buffer
9741 put point at beginning of buffer.
9743 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9745 * proced.el (proced-format): Make header lines align with the text
9748 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9750 * view.el (view-buffer): Allow running in `special' modes if we're
9751 visiting a file (bug#8615).
9753 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9755 * window.el (display-buffer-alist-of-strings-p)
9756 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9758 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9761 2011-07-18 Alan Mackenzie <acm@muc.de>
9763 Fontify declarators properly when, e.g., a jit-lock chunk begins
9764 inside a declaration.
9766 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9768 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9770 (c-complex-decl-matchers): Insert reference to
9771 c-font-lock-enclosing-decls.
9773 * progmodes/cc-engine.el (c-backward-single-comment):
9774 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9775 to nil around calls to (forward-comment -1).
9777 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9779 * image.el (put-image): Doc typo fix.
9781 * progmodes/etags.el (tags-search): Doc typo fix.
9783 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9784 password if we get errors 550 to 554.
9786 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9788 * net/gnutls.el (gnutls-log-level): Remove.
9790 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9791 indentation character (bug#6380).
9793 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9795 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9796 to clarify what the problem is (bug#4291).
9798 * simple.el (current-kill): Clarify what
9799 `interprogram-paste-function' does (bug#7500).
9800 (auto-fill-mode): Document `auto-fill-function' in relation to
9801 `auto-fill-mode' (bug#2470).
9803 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9805 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9806 method if slot is read-only (bug#9035).
9808 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9810 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9811 * window.el (pop-to-buffer): Select window used even if it was
9812 selected before, see discussion of (Bug#8615), (Bug#6954).
9813 Pass argument NORECORD on to select-frame-set-input-focus.
9815 2011-07-15 Glenn Morris <rgm@gnu.org>
9817 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9820 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9822 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9823 (gnutls-negotiate): Use it.
9825 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9827 * net/gnutls.el (gnutls-negotiate):
9828 Upcase `gnutls-algorithm-priority'.
9830 2011-07-15 Glenn Morris <rgm@gnu.org>
9832 * jka-compr.el (jka-compr-verbose): Move from here...
9833 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9834 Add missing :version tag.
9835 * info.el: No need to require jka-compr when compiling.
9837 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9839 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9840 (gnutls-negotiate): Use it.
9842 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9844 * info.el (Info-beginning-of-buffer): New command.
9845 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9846 announcing `b' as the key (bug#8325).
9847 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9849 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9851 * international/mule-cmds.el
9852 (describe-specified-language-support): Make the error message
9855 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9857 * isearch.el (isearch-barrier): Add a doc string, since it's
9858 mentioned in a function doc string (bug#8678).
9860 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9862 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9863 buffer argument (Bug#9083) and self-identifying label argument.
9865 2011-07-15 Glenn Morris <rgm@gnu.org>
9867 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9869 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9871 * man.el (Man-fontify-manpage): Fix message when formatting the
9872 man page (bug#7929).
9874 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9876 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9877 argument LRM; if non-nil, append an invisible LRM character to the
9879 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9880 last argument non-nil, when formatting buffer names.
9881 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9882 paragraph direction.
9884 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9886 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9887 the man page name (bug#7929).
9889 * image.el (put-image): Mention the `put-image' overlay property
9892 * scroll-bar.el (set-scroll-bar-mode): Mention that
9893 `scroll-bar-mode' lists the values (bug#7772).
9895 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9898 * rect.el (apply-on-rectangle): Return the point after the last
9900 (string-rectangle): Go to the point after the last operation
9903 * printing.el (pr-toggle-region): Clarify the documentation
9904 slightly (bug#7493).
9906 * time.el (display-time-update):
9907 Allow `display-time-mail-function' to return nil (bug#7158).
9908 Fix suggested by Detlev Zundel.
9910 * vc/diff.el (diff): Clarify the order the file names are read
9913 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9914 the doc string (bug#7015).
9916 * font-lock.el (font-lock-maximum-decoration): Mention what
9917 numeric levels mean (bug#6935).
9919 * startup.el (initial-buffer-choice): Don't mention the `none'
9920 selection, which is against policy.
9922 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9924 * window.el (display-buffer-normalize-special):
9925 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9927 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9929 * subr.el (version<, version<=, version=): Mention "-CVS" and
9930 "-12345" alpha version numbers.
9932 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9934 * bindings.el: Add advertised binding for set-mark-command
9937 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9939 * bindings.el (mode-line-other-buffer):
9940 * bookmark.el (bookmark-bmenu-2-window):
9941 * bs.el (bs-cycle-next, bs-cycle-previous):
9942 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9945 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9948 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9950 * follow.el (follow-debug-message, follow-redisplay):
9951 * jka-cmpr-hook.el (with-auto-compression-mode):
9952 Fix typos in docstrings.
9954 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9956 * subr.el (with-silent-modifications): Clarify somewhat what the
9957 macro inhibits (bug#6525).
9959 * simple.el (eval-expression): Note what it does if called
9960 interactively (bug#6495).
9962 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9964 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9965 Use pop-to-buffer buffer-or-name if it is nil.
9967 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9968 Remove switch-to-buffer.
9970 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9972 * files.el (make-directory): Clarify that an error will be raised
9973 if there's an error (bug#6397).
9975 * startup.el (initial-buffer-choice): Add `none' as a choice
9978 * subr.el (add-hook): Clarify section about buffer-local hooks
9981 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9983 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9985 * tabify.el (untabify): Preserve the current column so that point
9986 doesn't move (bug#6032).
9988 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9990 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9991 Rewrite to avoid awkward possessive "s" (bug#5986).
9993 2011-07-13 Glenn Morris <rgm@gnu.org>
9995 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9996 (dired-insert-directory): Give a message the first time
9997 if ls is found not to support --dired.
9999 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10001 * simple.el (toggle-truncate-lines): Clarify what is toggled
10002 (bug#5580). Text by Drew Adams.
10004 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10006 * simple.el (blink-matching-open): Make the error message from the
10007 last change less verbose.
10009 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10011 * font-lock.el (font-lock-comment-face): Use the high contrast
10012 "yellow" color for font-lock-comment-face on low color terminals
10013 using a dark background color (bug#4221).
10015 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10017 * dired.el (dired-insert-set-properties): Make the doc string
10018 reflect what it does now (bug#5325).
10020 * simple.el (blink-matching-open): Say that we were unable to find
10021 the match within the limit, if we're limited (bug#5122).
10023 * international/mule-cmds.el (prefer-coding-system): Add an
10024 example (bug#4869).
10026 * progmodes/etags.el (tags-search): Document `file-list-form'
10029 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10031 * net/browse-url.el (browse-url-default-browser)
10032 (browse-url-browser-function): Make the default browser choice a
10033 bit more logical (bug#4300). Also clean up the doc string.
10035 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10037 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10038 binary endings (bug#4440).
10040 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10042 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10043 which can be pretty annoying (bug#8971).
10045 * jka-compr.el (jka-compr-verbose): New variable, and use
10046 throughout (bug#8971).
10048 * info.el (Info-find-file): Fall back on the installation
10049 directory if we can't find the info node anywhere else.
10051 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10053 * vc/vc.el (vc-revert-file):
10054 Don't set file time-stamp in the past. (Bug#5181)
10056 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10058 * files.el (after-find-file): Give a better error message when
10059 trying to find a symlink that points to a file that doesn't exist
10062 * progmodes/cc-vars.el: Remove (probably) misleading comment
10065 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10067 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10069 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10071 * mouse-sel.el: Hack restoring functionality, while keeping
10072 compatibility with 2010-07-03 changes to mouse selection.
10073 (mouse-sel-primary-overlay): New var.
10074 (mouse-sel-selection-alist): Use it.
10075 (mouse-sel-mode): Doc fix; remove points that are default features
10078 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10080 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10081 Fix previous fix (bug#2490).
10083 2011-07-12 Roland Winkler <winkler@gnu.org>
10085 * textmodes/bibtex.el (bibtex-initialize):
10086 Use pop-to-buffer-same-window.
10087 (bibtex-search-entries): Fix interactive call.
10089 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10092 Fontise bytecomp Error lines more correctly (bug#2490).
10093 Fix suggested by Johan Bockgård.
10095 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10097 * dired-x.el (dired-guess-default): Use `delete-dups'.
10099 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10101 * dired.el (dired-mark-prompt):
10102 * dired-aux.el (dired-read-shell-command): Doc fix.
10104 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10106 * mail/sendmail.el (sendmail-query-once):
10107 Use `customize-save-variable' unconditionally, now that it works under
10110 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10112 * cus-edit.el (custom-file): Take an optional no-error variable.
10113 (customize-save-variable): Set the variable, and give a warning if
10114 running under "emacs -q".
10116 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10118 * loadhist.el (unload-feature-special-hooks):
10119 Add `auto-coding-functions', `fill-nobreak-predicate' and
10120 `find-directory-functions' (bug#5327).
10122 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10124 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10126 * cus-edit.el (custom-guess-name-alist): -alist variables should
10127 use the `alist' type (bug#3120). Suggested by Drew Adams.
10129 * printing.el: Add documentation to all the `pr-toggle-' commands.
10131 2011-07-11 Leo Liu <sdl.web@gmail.com>
10133 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10134 backends where it makes sense (bug#2623).
10136 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10138 * dired-x.el (dired-guess-default): Remove duplicate shell command
10139 entries (bug#2028).
10140 (dired-guess-default): Fix grammar in doc string (bug#2028).
10141 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10143 * subr.el (remove-duplicates): New conveniency function.
10145 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10147 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10150 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10152 * window.el (display-buffer-normalize-default): Don't invert
10153 meaning of even-window-heights. Reported by Eli Zaretskii
10156 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10158 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10160 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10162 * window.el (display-buffer): Fix arguments to
10163 display-buffer-reuse-window in last change.
10165 * faces.el (link): Use a less saturated blue on light backgrounds.
10167 * startup.el (fancy-startup-text, fancy-about-text)
10168 (fancy-startup-tail): Use font-lock faces, for background safety.
10170 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10172 * emulation/viper-cmd.el (viper-change-state-to-vi):
10173 Limit triggering of abbrev expansion (Bug#9038).
10175 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10177 * window.el (display-buffer-default-specifiers): Remove.
10178 (display-buffer-macro-specifiers): Remove default specifiers.
10179 (display-buffer-alist): Default to nil.
10180 (display-buffer-reuse-window): New optional argument other-window.
10181 (display-buffer-pop-up-window): Allow splitting internal
10182 windows. Check whether a live window was created.
10183 (display-buffer-other-window-means-other-frame)
10184 (display-buffer-normalize-arguments): Rename to
10185 display-buffer-normalize-argument and rewrite. Set the
10186 other-window specifier.
10187 (display-buffer-normalize-special): New function.
10188 (display-buffer-normalize-options): Rename to
10189 display-buffer-normalize-default and rewrite.
10190 (display-buffer-normalize-options-inhibit): Remove.
10191 (display-buffer-normalize-specifiers): Rewrite.
10192 (display-buffer): Process other-window specifier and call
10193 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10195 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10196 (display-buffer-alist-set): Don't handle 'unset default values.
10197 (display-buffer-in-window, display-buffer-alist-set):
10198 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10199 <tassilo@member.fsf.org>.
10201 2011-07-09 Leo Liu <sdl.web@gmail.com>
10203 * register.el (insert-register): Restore accidental change on
10204 2011-06-26. (Bug#9028)
10206 2011-07-09 Glenn Morris <rgm@gnu.org>
10208 * subr.el (remq): Handle the empty list. (Bug#9024)
10210 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10212 * mail/sendmail.el (send-mail-function): No longer delay custom
10214 * custom.el (custom-initialize-delay): Doc fix.
10216 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10218 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10220 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10222 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10223 human-friendly prompt.
10225 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10227 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10228 provided by a particular plugin.
10230 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10232 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10233 save customizations (with "emacs -Q"), just set the variable
10234 instead of erroring out.
10236 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10238 2011-07-08 Juri Linkov <juri@jurta.org>
10240 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10241 (archive-zip-update-case): Use 7z if found by `executable-find'.
10242 The order of searching the available programs is the same as in
10243 `archive-zip-extract' (bug#8968).
10245 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10247 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10248 (menu-bar-options-menu): Tweak descriptions.
10250 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10252 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10253 menu items into verb phrases (bug#1421). Also refill to fit under
10256 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10258 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10259 (Info-read-node-name): Doc fix (Bug#1084).
10261 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10262 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10263 (end-of-sexp, beginning-of-sexp)
10264 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10265 (forward-symbol, forward-same-syntax, word-at-point)
10266 (sentence-at-point): Doc fix (Bug#1144).
10268 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10270 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10271 should cover it (bug#1281).
10273 * cus-edit.el (custom-show): Mark as obsolete.
10275 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10276 negotiation fails, then possibly try again with a non-encrypted
10277 connection (bug#9017).
10279 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10282 2011-07-07 Richard Stallman <rms@gnu.org>
10284 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10285 property, and handle its changed format.
10286 Look for the correct line number.
10287 Use file's line contents (but not past first =) to find
10288 correct line in message.
10290 2011-07-07 Kenichi Handa <handa@m17n.org>
10292 * international/characters.el (build-unicode-category-table):
10294 (unicode-category-table): Set it by unicode-property-table-internal.
10296 * international/mule-cmds.el (char-code-property-alist): Move to
10298 (get-char-code-property): Call unicode-property-table-internal to
10299 load a file. Call get-unicode-property-internal where necessary.
10300 (put-char-code-property): Call unicode-property-table-internal to
10301 load a file. Call put-unicode-property-internal where necessary.
10302 put-unicode-property-internal where necessary.
10303 (char-code-property-description):
10304 Call unicode-property-table-internal to load a file.
10306 * international/charprop.el:
10307 * international/uni-bidi.el:
10308 * international/uni-category.el:
10309 * international/uni-combining.el:
10310 * international/uni-comment.el:
10311 * international/uni-decimal.el:
10312 * international/uni-decomposition.el:
10313 * international/uni-digit.el:
10314 * international/uni-lowercase.el:
10315 * international/uni-mirrored.el:
10316 * international/uni-name.el:
10317 * international/uni-numeric.el:
10318 * international/uni-old-name.el:
10319 * international/uni-titlecase.el:
10320 * international/uni-uppercase.el: Regenerate.
10322 * loadup.el: Load international/charprop.el before
10323 international/characters.
10325 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10327 * window.el (next-buffer, previous-buffer): Signal an error if
10328 called from a minibuffer window.
10330 * bindings.el: Revert 2011-07-04 change.
10332 2011-07-06 Richard Stallman <rms@gnu.org>
10334 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10335 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10336 Treat markers like ints.
10337 (rmail-mime-entity): Doc fix.
10339 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10341 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10342 defcustom again for backwards compatibility.
10344 * simple.el (shell-command-on-region): Fill.
10346 * dired-aux.el (dired-kill-line): Add a doc string.
10348 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10349 to "\\sw\\|\\s_" (bug#358).
10351 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10352 (dired-unmark-backward): Ditto.
10353 (dired-flag-backup-files): Ditto.
10355 * dired-x.el (dired-mark-sexp): Ditto.
10357 2011-07-06 Richard Stallman <rms@gnu.org>
10359 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10360 (rmail-mime-entity): New arg TRUNCATED.
10361 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10363 (rmail-mime-save): Warn if entity is truncated.
10364 (rmail-mime-toggle-hidden): Likewise, for showing.
10365 (rmail-mime-process-multipart): Record when an entity is truncated.
10367 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10368 if ENTITY is a string.
10370 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10372 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10373 of faces when `M-C-x'-ing their definitions (bug#8378).
10374 Also clean up the code slightly.
10376 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10377 because that makes the colors go away.
10379 * mail/sendmail.el (send-mail-function): Change the default to
10380 `sendmail-query-once'.
10381 (sendmail-query-once): Add an autoload cookie.
10383 * net/network-stream.el (network-stream-open-starttls): Try using
10384 a plain connection even if the server offered STARTTLS, and we
10385 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10386 capability. This should make smtpmail.el work in slightly more
10389 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10391 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10393 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10395 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10397 * progmodes/sql.el: Version 3.0
10398 (sql-product-alist): Add product :completion-object,
10399 :completion-column, and :statement attributes.
10400 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10401 (sql-mode-syntax-table): Mark all punctuation.
10402 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10404 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10405 (sql-mode-oracle-font-lock-keywords): Improve.
10406 (sql-oracle-show-reserved-words): New function for development.
10407 (sql-product-font-lock): Simplify for source code buffers.
10408 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10410 (sql-highlight-product): Set product specific syntax table.
10411 (sql-mode-map): Add statement movement functions.
10412 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10414 (sql-statement-regexp, sql-beginning-of-statement)
10415 (sql-end-of-statement, sql-signum): New functions.
10416 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10417 (sql-show-sqli-buffer): Bug fix.
10418 (sql-interactive-mode): Store connection data as buffer local.
10419 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10420 with sql-interactive-mode.
10421 (sql-save-connection): Save buffer local settings.
10422 (sql-connection-menu-filter): Change menu entry name.
10423 (sql-product-interactive): Bug fix.
10424 (sql-preoutput-hold): New variable.
10425 (sql-interactive-remove-continuation-prompt): Bug fixes.
10426 (sql-debug-redirect): New variable.
10427 (sql-str-literal): New function.
10428 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10430 (sql-oracle-save-settings, sql-oracle-restore-settings)
10431 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10432 (sql-completion-object, sql-completion-column)
10433 (sql-completion-sqlbuf): New variables.
10434 (sql-build-completions-1, sql-build-completions)
10435 (sql-try-completion): New functions.
10436 (sql-read-table-name): Use them.
10437 (sql-contains-names): New buffer local variable.
10438 (sql-list-all, sql-list-table): Use it.
10439 (sql-oracle-completion-types): New variable.
10440 (sql-oracle-completion-object, sql-sqlite-completion-object)
10441 (sql-postgres-completion-object): New functions.
10443 2011-07-06 Glenn Morris <rgm@gnu.org>
10445 * window.el (pop-to-buffer): Doc fix.
10447 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10449 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10451 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10453 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10455 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10457 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10459 * button.el (button): Inherit from link face. Suggested by Dan
10462 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10464 * progmodes/gdb-mi.el: Fit in 80 columns.
10465 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10468 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10469 if imenu is simply not configured (bug#8941).
10471 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10473 * allout.el (allout-post-undo-hook): New allout outline-change
10474 event hook to signal undo activity.
10475 (allout-post-command-business): Run allout-post-undo-hook if an
10476 undo just occurred.
10477 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10478 * allout-widgets.el (allout-widgets-after-undo-function):
10479 Ensure the integrity of the current item's decoration after it has been
10480 in the vicinity of an undo.
10481 (allout-widgets-mode): Include allout-widgets-after-undo-function
10482 on the new allout-post-undo-hook.
10484 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10486 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10487 Let define-derived-mode define it.
10488 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10489 cycles of abbrev-table inheritance (bug#8998).
10491 2011-07-05 Roland Winkler <winkler@gnu.org>
10493 * textmodes/bibtex.el: Add support for biblatex.
10494 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10495 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10496 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10497 (bibtex-entry-alist, bibtex-field-alist): New variables.
10498 (bibtex-entry-field-alist): Obsolete alias for
10499 bibtex-BibTeX-entry-alist.
10500 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10501 (bibtex-set-dialect): New command.
10502 (bibtex-entry-type, bibtex-entry-head)
10503 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10504 Bind via bibtex-set-dialect.
10505 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10506 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10507 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10508 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10509 Define via bibtex-set-dialect.
10510 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10511 Obey bibtex-no-opt-remove-re.
10512 (bibtex-vec-push, bibtex-vec-incr): New functions.
10513 (bibtex-format-entry, bibtex-field-list)
10514 (bibtex-print-help-message, bibtex-validate)
10515 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10517 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10519 * progmodes/compile.el (compilation-goto-locus):
10520 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10521 * bs.el (bs-cycle-next, bs-cycle-previous):
10522 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10523 * bindings.el (mode-line-other-buffer):
10524 * autoinsert.el (auto-insert):
10525 * arc-mode.el (archive-extract):
10526 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10528 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10530 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10531 Fix check of `emacs-lock-unlockable-modes'.
10532 Coerce true values of `emacs-lock--try-unlocking' to t.
10534 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10536 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10537 * emacs-lock.el: New file.
10539 2011-07-05 Julien Danjou <julien@danjou.info>
10541 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10542 than `boundp' to check if face is set.
10544 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10546 * register.el (registerv-make):
10547 * window.el (window-min-height): Fix typos in docstrings.
10549 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10551 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10554 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10556 * server.el (server-execute): Catch quit and call
10557 `server-return-error' to pass the error back to emacsclient and
10558 close the connection (bug#8942).
10560 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10562 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10563 insecure exception for current topic. Also note that auto-saves
10564 are handled differently.
10566 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10567 State variables for tracking auto-save inhibition situation.
10569 (allout-write-contents-hook-handler): Rename from
10570 'allout-write-file-hook-handler', and describe how it depends on
10571 write-contents-functions sensitivity to non-nil value to prevent
10574 (allout-auto-save-hook-handler): Remove. auto-save does not check
10575 this in individual buffers, only in the starting buffer, so this
10576 is not the right way for us to inhibit auto-save in a buffer
10577 according to its condition.
10579 (allout-mode): Use new allout-write-contents-hook-handler, and
10580 only with write-contents-functions. Remove auto-save provisions -
10581 they're implemented elsewhere.
10583 (allout-before-change-handler): If undo is in progress, note that
10584 for attention of allout-post-command-business.
10586 (allout-post-command-business): If the command we're following was
10587 an undo, check for change in the status of encrypted items and
10588 adjust auto-save inhibitions accordingly.
10590 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10591 according to whether there are or aren't any plain-text topics
10592 pending encryption.
10594 (allout-inhibit-auto-save-info-for-decryption):
10595 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10596 if there are plain-text topics pending encryption.
10598 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10599 buffer-saved-size and some allout state to not inhibit auto-saves
10600 if there are no longer any plain-text topics pending encryption.
10602 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10603 No longer provide for exemption of the current topic.
10605 2011-07-04 Juri Linkov <juri@jurta.org>
10607 Add 7z operations to delete and save changed members (bug#8968).
10608 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10610 (archive-7z-write-file-member): New function.
10611 (archive-7z-summarize): Fix the number of dashes in the
10614 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10616 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10619 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10621 * bindings.el: Ignore next-buffer and previous-buffer in
10622 minibuffer-local-map.
10624 * font-lock.el (font-lock-builtin-face): Change light background
10625 color to dark slate blue (Bug#6693).
10627 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10629 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10631 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10633 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10634 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10635 Add switch-to-buffer.
10637 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10639 * isearch.el (isearch-search-fun-function): Clarify further the
10640 meaning of the function returned.
10642 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10644 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10646 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10647 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10649 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10650 `tramp-default-remote-path' does not exist.
10651 (tramp-send-command-and-read): New optional argument NOERROR.
10652 (tramp-open-connection-setup-interactive-shell)
10653 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10654 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10655 (tramp-process-sentinel): Flush also process' connection property.
10656 (tramp-sh-handle-start-file-process): Do not set process
10657 sentinel. It is done now ...
10658 (tramp-maybe-open-connection): ... here. (Bug#8929)
10660 2011-07-04 MON KEY <monkey@sandpframing.com>
10662 * play/animate.el (animate-string): Doc fixes and allow changing
10663 the buffer name (bug#5417).
10665 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10667 * play/animate.el (animation-buffer-name): Rename from *animate*.
10669 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10671 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10672 This is simpler and helps future-proof the code.
10673 (timer-until): Use time-subtract and float-time.
10674 (timer--time-less-p): Use time-less-p.
10676 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10678 * type-break.el (timep): Use the value of `float-time' to avoid a
10679 byte-compiler warning.
10681 * server.el (server-eval-and-print): Return any result, even nil.
10683 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10685 * type-break.el: Accept time formats that the builtins accept.
10686 (timep, type-break-time-difference): Accept any format that
10687 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10688 This is simpler and helps future-proof the code.
10689 (type-break-time-difference): Round rather than ignoring
10690 subseconds components.
10692 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10694 * info.el (Info-apropos-matches): Make non-interactive, since it
10695 doesn't seem to do anything useful as a command (bug#8829).
10697 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10699 * frame.el (frame-background-mode, frame-set-background-mode):
10700 Move from faces.el.
10701 (frame-default-terminal-background): New function.
10703 * custom.el (custom-push-theme): Don't record faces in `changed'
10704 theme; this doesn't work correctly for per-frame face settings.
10705 (disable-theme): Use face-set-after-frame-default to reset faces.
10706 (custom--frame-color-default): New function.
10708 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10710 * dired.el (dired-flagging-regexp): Remove unused variable
10713 2011-03-29 Kevin Ryde <user42@zip.com.au>
10715 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10716 `perl-Test2' extend to match possible "fail #N" rep count
10719 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10721 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10722 `smtpmail-via-smtp' now returns the error instead of nil.
10724 * isearch.el (isearch-search-fun-function): Clarify the doc string
10727 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10729 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10730 unnecessary spaces (bug#8987).
10732 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10734 * net/network-stream.el (open-network-stream): Use the
10735 :end-of-capability command thoughout.
10737 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10739 * net/network-stream.el (open-network-stream): Add the
10740 :end-of-capability command parameter, used by pop3.el.
10742 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10744 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10746 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10747 for list)" (bug#6475).
10749 * files.el (file-expand-wildcards): Ignore non-readable
10750 sub-directories while trying to find matches instead of signaling
10751 an error (bug#6297).
10753 * man.el (Man-reference-regexp): Allow matching possible
10754 word-wrapped references (bug#6289).
10756 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10757 for consistency with the other vc buffers (bug#6197).
10758 (vc-checkin): Ditto.
10760 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10762 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10764 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10766 * custom.el (defcustom): Clarify that :set is only used in the
10767 Customize user interface (bug#6089).
10769 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10770 associated with a file, refuse to run instead of erroring out
10773 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10774 the doc string, since it appears that using `fill-column' always
10775 controls the width (bug#7845).
10777 * simple.el (shell-command-on-region): Say where the error output
10778 went if `shell-command-default-error-buffer' is set (bug#6857).
10780 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10782 * allout.el (allout-yank-processing): Adjust cursor position for
10783 backwards-deleted space.
10785 (allout-rebullet-heading): Register changes with
10786 allout-exposure-changed-hook, so the modified topic is properly
10789 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10791 * minibuffer.el (completion-in-region): Document PREDICATE
10794 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10795 of keyword/argument pairs (bug#6904).
10797 * replace.el (multi-occur):
10798 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10800 2011-07-02 Drew Adams <drew.adams@oracle.com>
10802 * dired.el (dired-mark-if): Make the message about whether it's
10803 marking or unmarking clearer (bug#8523).
10805 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10807 * disp-table.el (display-table-print-array): New function.
10808 (describe-display-table): Use it to print the vectors more pretty
10811 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10813 * window.el (window-state-get-1): Don't assign clone numbers.
10814 Add clone-of item to list of window parameters.
10815 (window-state-put-2): Don't process clone numbers.
10816 (display-buffer-alist): Fix doc-string.
10818 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10820 * subr.el (remq): Don't allocate if it's not needed.
10821 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10822 (keymap--merge-bindings): New functions.
10823 (keymap-canonicalize): Use them to refine the canonicalization.
10824 * minibuffer.el (minibuffer-local-completion-map)
10825 (minibuffer-local-must-match-map): Move initialization from C.
10826 (minibuffer-local-filename-completion-map): Move initialization from C;
10827 don't inherit from anything here.
10828 (minibuffer-local-filename-must-match-map): Make obsolete.
10829 (completing-read-default): Use make-composed-keymap to combine
10830 minibuffer-local-filename-completion-map with either
10831 minibuffer-local-must-match-map or
10832 minibuffer-local-filename-completion-map.
10834 2011-07-01 Glenn Morris <rgm@gnu.org>
10836 * type-break.el (type-break-time-sum): Use dolist.
10838 * textmodes/flyspell.el (flyspell-word-search-backward):
10839 Replace CL function.
10841 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10843 * mouse.el (mouse--strip-first-event): New function.
10844 (function-key-map): Use it to map fringe clicks to normal clicks
10847 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10848 (vc-bzr-revision-completion-table): Add support for annotate and date.
10850 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10851 inherit from parent.
10853 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10855 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10856 (dired-show-file-type): Doc fixup (bug#8818).
10858 * dired.el (dired-mode): Fix up the doc string as suggested by
10859 Drew Adams (bug#8817).
10861 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10862 cookie, since the manual says that it should be possible to add
10863 this function to `find-file-hook' (bug#8709).
10865 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10867 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10868 here. Noted Ted Zlatanov as the maintainer.
10869 (cfengine-common-settings, cfengine-common-syntax): New functions
10870 to set up common things between `cfengine-mode' and
10872 (cfengine3-mode): New mode.
10873 (cfengine3-defuns cfengine3-defuns-regex
10874 (cfengine3-class-selector-regex cfengine3-category-regex)
10875 (cfengine3-vartypes cfengine3-font-lock-keywords)
10876 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10877 (cfengine3-indent-line): Add from cfengine3.el.
10879 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10881 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10883 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10885 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10887 * window.el (same-window-buffer-names, same-window-regexps)
10888 (same-window-p, special-display-frame-alist)
10889 (special-display-popup-frame, special-display-function)
10890 (special-display-buffer-names, special-display-regexps)
10891 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10892 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10893 (split-window-preferred-function, split-height-threshold)
10894 (split-width-threshold, even-window-heights)
10895 (display-buffer-mark-dedicated, window-splittable-p)
10896 (split-window-sensibly, window-safely-shrinkable-p):
10898 (display-buffer): Don't spread args with function specifier
10899 because special-display-popup-frame won't like it.
10901 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10903 Time-stamp simplifications and fixes.
10904 These improve accuracy slightly, and future-proof the code
10905 against some potential changes to current-time format.
10907 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10908 by using time-since and float-time.
10910 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10911 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10912 + NNN microseconds".
10914 * type-break.el (type-break-time-sum): Rewrite using time-add.
10916 * play/hanoi.el (hanoi-current-time-float): Remove.
10917 All uses replaced by float-time.
10919 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10920 This yields a more-accurate answer.
10921 (rng-time-to-float): Remove; no longer needed.
10923 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10925 * calendar/timeclock.el (timeclock-seconds-to-time):
10926 Defalias to seconds-to-time, since they're the same thing.
10928 * emacs-lisp/elp.el (elp-elapsed-time):
10929 * emacs-lisp/benchmark.el (benchmark-elapse):
10930 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10932 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10934 * window.el (bury-buffer): Don't iconify the only frame.
10935 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10936 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10938 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10940 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10941 Add mouse-yank-primary.
10943 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10945 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10947 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10949 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10950 (find-library-name): Use it to find relative load names when provided
10951 absolute file name (bug#8803).
10953 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10955 * textmodes/flyspell.el (flyspell-word): Consider words that
10956 differ only in case as potential doublons (bug#5687).
10958 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10959 Remove two rather uninteresting debugging-like messages to make
10960 debbugs.el more silent.
10962 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10963 a password-like phrase.
10965 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10967 * progmodes/cc-guess.el: New file.
10969 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10971 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10972 derived from `c-basic-common-init'.
10974 * progmodes/cc-mode.el (top-level): Require cc-guess.
10975 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10977 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10979 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10981 2011-06-30 Alan Mackenzie <acm@muc.de>
10983 * progmodes/cc-engine.el (c-guess-continued-construct):
10984 Correct the handling of template-args-cont, particularly for when font
10985 lock is disabled. Name this case as "CASE G".
10987 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10989 * allout.el (allout-yank-processing): Fix injection of extra space
10990 between bullet and non-whitespace character in first topic when
10991 pasting, ensuring that the actual spacing in the pasted topic
10992 following the bullet char is preserved. This extra space was
10993 causing pasted encrypted topics to get a decrypted status even
10994 when the content was actually still encrypted. Now the decryption
10995 status from before the paste is preserved.
10997 (allout-flag-region): Set all allout overlays so they evaporate
10998 when reduced to zero length (evanescent), to prevent overlay
11001 2011-06-30 Glenn Morris <rgm@gnu.org>
11003 * w32-fns.el (w32-charset-info-alist): Declare.
11005 * find-dired.el (find-grep-options): Simplify.
11007 * term/ns-win.el (ns-set-resource): Declare.
11009 * ses.el (row, col): Declare dynamic variables honestly.
11011 * textmodes/reftex-parse.el (index-tags): Declare.
11013 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11015 * cus-edit.el (customize-push-and-save): New function.
11017 * files.el (hack-local-variables-confirm): Use it.
11019 * custom.el (load-theme): New arg NO-CONFIRM.
11020 Use customize-push-and-save (Bug#8720).
11021 (custom-enabled-themes): Doc fix.
11023 * cus-theme.el (customize-create-theme)
11024 (custom-theme-merge-theme): Callers to load-theme changed.
11026 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11028 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11029 short URLs have at least one dot in them (bug #7614).
11031 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11032 nil, because using a pty is apparently too slow (bug #895).
11034 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11036 * mail/sendmail.el (sendmail-query-once): New function.
11037 (sendmail-query-once-function): New variable.
11039 2011-06-29 Glenn Morris <rgm@gnu.org>
11041 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11043 * ses.el (top-level): Require cl when compiling.
11044 (ses-set-localvars): Fix error statement.
11045 Call it at compile time to silence a storm of warnings.
11047 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11049 * window.el (normalize-live-buffer): Rename to
11050 window-normalize-buffer.
11051 (normalize-live-frame): Rename to window-normalize-frame.
11052 (normalize-any-window): Rename to window-normalize-any-window.
11053 (normalize-live-window): Rename to window-normalize-live-window.
11054 (make-window-atom): Rename to window-make-atom.
11055 (window-resize-reset): Rename to window--resize-reset.
11056 (window-resize-reset-1): Rename to window--resize-reset-1.
11057 (resize-mini-window): Rename to window--resize-mini-window.
11058 (resize-subwindows-skip-p): Rename to
11059 window--resize-subwindows-skip-p.
11060 (resize-subwindows-normal): Rename to
11061 window--resize-subwindows-normal.
11062 (resize-subwindows): Rename to window--resize-subwindows.
11063 (resize-other-windows): Rename to window--resize-siblings.
11064 (resize-this-window): Rename to window--resize-this-window.
11065 (resize-root-window): Rename to window--resize-root-window.
11066 (resize-root-window-vertically): Rename to
11067 window--resize-root-window-vertically.
11068 (normalize-buffer-to-display): Rename to
11069 window-normalize-buffer-to-display.
11070 (normalize-buffer-to-switch-to): Rename to
11071 window-normalize-buffer-to-switch-to.
11072 Correspondingly update all callers of the functions listed
11074 (display-buffer-alist, display-buffer-normalize-arguments)
11075 (display-buffer-normalize-options, display-buffer)
11076 (display-buffer-alist-set): Use "function" instead of
11079 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11081 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11082 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11083 debbugs.gnu.org. Mention acknowledgment email.
11085 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11087 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11088 buffer multibyteness, since it shouldn't matter.
11090 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11092 * window.el (display-buffer-in-side-window): Handle dedicated
11093 windows as in display-buffer-reuse-window.
11094 (display-buffer-normalize-alist): Use value of override
11096 (display-buffer-normalize-specifiers): Use value of
11097 other-window-means-other-frame specifier.
11098 (display-buffer-alist): Rewrite some texts in widgets.
11099 (display-buffer): Spread arguments when calling function
11100 specified by fun-with-args.
11102 2011-06-28 Deniz Dogan <deniz@dogan.se>
11104 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11107 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11108 selectors (Bug#5732).
11109 (css-proprietary-nmstart-re): Use `regexp-opt'.
11111 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11113 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11114 (eshell-ls-date-format): New defcustom.
11115 (eshell-ls-file): Use it.
11117 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11119 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11121 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11123 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11124 (ange-ftp-make-tmp-name): New arg.
11125 (ange-ftp-file-local-copy): Use it.
11127 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11129 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11130 no-conversion (Bug#8870).
11132 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11134 * window.el (window-right, window-left, window-child)
11135 (window-child-count, window-last-child)
11136 (window-iso-combination-p, walk-window-tree-1)
11137 (window-atom-check-1, window-tree-1, delete-window)
11138 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11139 new naming conventions - window-vchild, window-hchild,
11140 window-next and window-prev are now called window-top-child,
11141 window-left-child, window-next-sibling and window-prev-sibling
11143 (resize-window-reset): Rename to window-resize-reset.
11144 (resize-window-reset-1): Rename to window-resize-reset-1.
11145 (resize-window): Rename to window-resize.
11146 (window-min-height, window-min-width)
11147 (resize-mini-window, resize-this-window, resize-root-window)
11148 (resize-root-window-vertically, adjust-window-trailing-edge)
11149 (enlarge-window, shrink-window, maximize-window)
11150 (minimize-window, delete-window, quit-restore-window)
11151 (split-window, balance-windows, balance-windows-area-adjust)
11152 (balance-windows-area, window-state-put-2)
11153 (display-buffer-even-window-sizes, display-buffer-set-height)
11154 (display-buffer-set-width, set-window-text-height)
11155 (fit-window-to-buffer): Rename all "resize-window" prefixed
11156 calls to use the "window-resize" prefix convention.
11157 (display-buffer-alist): Fix symbol for label specifier.
11158 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11159 corresponding specifier.
11160 Reported by Juanma Barranquero <lekktu@gmail.com>.
11162 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11164 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11166 (ses-call-printer): Does not pass an empty string to formatter when the
11167 cell is empty to keep from barking printer Calc math-format-value.
11169 2011-06-27 Richard Stallman <rms@gnu.org>
11171 * battery.el (battery-mode-line-limit): New variable.
11172 (battery-update): Handle it.
11174 * mail/rmailmm.el (rmail-mime-process-multipart):
11175 Handle truncated messages.
11177 2011-06-27 Glenn Morris <rgm@gnu.org>
11179 * progmodes/flymake.el (flymake-err-line-patterns):
11180 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11182 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11184 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11185 (ses--clean-!, ses--clean-_): New functions.
11186 (ses-range): Add configurability of readout order, and conversion
11189 * ses.el (ses-repair-cell-reference-all): New function.
11190 (ses-cell-symbol): Set macro as safe, so that it can be used in
11193 * ses.el: Update cycle detection algorithm.
11194 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11195 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11196 (ses-set-localvars): New function.
11197 (ses-make-cell): Add property-list as a cell element.
11198 (ses-cell-property-get-fun, ses-cell-property-get)
11199 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11200 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11202 (ses-cell-property-set, ses-cell-property-pop)
11203 (ses-cell-property-get-handle): New macro.
11204 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11205 New aliases, used for code readability.
11206 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11208 (ses-self-reference-early-detection): New defcustom.
11209 (ses-formula-references): Robustify against self-referring cells.
11210 (ses-mode): Use ses-set-localvars.
11211 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11212 before lauching the update processing.
11213 (ses-initialize-Dijkstra-attempt): New function.
11214 (ses-recalculate-cell): Update for cycle detection based on
11215 Dijkstra algorithm.
11217 * ses.el: Fix commenting and indenting convention.
11219 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11221 * bs.el (bs-cycle-next): Complete last change.
11223 2011-06-27 Drew Adams <drew.adams@oracle.com>
11225 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11227 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11229 * net/network-stream.el (network-stream-open-starttls):
11230 Don't re-get capabilities unless we've reestablished connection.
11231 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11233 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11234 to binary to possibly avoid line encoding issues on Windows (among
11237 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11239 * net/network-stream.el (open-network-stream): Return an :error
11240 saying what the problem was, if possible.
11242 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11245 * net/network-stream.el (network-stream-open-starttls): If we
11246 wanted to use STARTTLS, and the server offered it, but we weren't
11247 able to because we had no STARTTLS support, then close the connection.
11248 (open-network-stream): Return an :error element, if present.
11250 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11252 * hl-line.el (hl-line-sticky-flag): Doc fix.
11253 (global-hl-line-sticky-flag): New option (Bug#8323).
11254 (global-hl-line-highlight): Obey it.
11256 * vc/vc.el (vc-revert-show-diff): Default to t.
11258 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11260 * allout-widgets.el (allout-widgets-post-command-business):
11261 Stop decorating intermediate isearch matches. They're not being
11262 undecorated when an isearch is continued past, and isearch
11263 automatically collapses them. This leads to "widget leaks", where
11264 decorated items accumulate in collapsed areas. Lines with lots of
11265 hidden widgets can slow down cursor travel, substantially.
11266 Too much complicated machinery would be needed to ensure undecoration,
11267 so we're doing without this nicety.
11269 (allout-widgets-tally-string): Don't try to do a hash-table-count
11270 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11271 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11272 *Messages* when allout-widgets-maintain-tally is t.
11274 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11276 * window.el (display-buffer-normalize-argument): Rename to
11277 display-buffer-normalize-arguments. Handle special meaning of
11278 LABEL argument. Respect special-display-function when popping up
11279 a new frame. Fix code searching for a window showing the buffer
11281 (display-buffer-normalize-specifiers):
11282 Call display-buffer-normalize-arguments.
11283 (display-buffer-in-window): Don't undedicate the window if its
11284 buffer remains the same.
11285 Reported by Drew Adams <drew.adams@oracle.com>.
11286 (display-buffer-alist): Add choice for same-window macro
11288 (display-buffer): Mention special meaning of LABEL argument in
11289 doc-string. Fix quoting. Don't pop up a new frame even as
11292 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11294 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11295 avoid deleting the current window in some cases (bug#8911).
11297 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11299 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11302 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11304 * net/network-stream.el (network-stream-open-starttls):
11305 Use built-in TLS support if `gnutls-available-p' is true.
11306 (network-stream-open-tls): Ditto.
11308 2011-06-26 Leo Liu <sdl.web@gmail.com>
11310 * register.el (registerv): New struct.
11311 (registerv-make): New function.
11312 (jump-to-register, describe-register-1, insert-register):
11313 Support the jump-func, print-func and insert-func slot of a registerv
11316 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11318 * vc/vc.el (vc-revert-show-diff): New defcustom.
11319 (vc-diff-internal): New arg specifying diff buffer.
11320 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11321 reuse an existing *vc-diff* buffer (Bug#8927).
11323 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11325 2011-06-26 Glenn Morris <rgm@gnu.org>
11327 * progmodes/f90.el (f90-critical-indent): New option.
11328 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11329 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11330 (f90-mode): Doc fix.
11331 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11332 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11333 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11334 (f90-match-end): Handle block, critical.
11336 2011-06-25 Glenn Morris <rgm@gnu.org>
11338 * calendar/diary-lib.el (diary-included-files): Doc fix.
11339 (diary-include-files): New function, extracted from
11340 diary-include-other-diary-files and diary-mark-included-diary-files.
11341 (diary-include-other-diary-files, diary-mark-included-diary-files):
11342 Just call diary-include-files.
11343 (diary-mark-entries): Reset diary-included-files on first call.
11345 * calendar/diary-lib.el (diary-mark-entries)
11346 (diary-mark-included-diary-files):
11347 Visit included diary-files in temp buffers.
11349 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11350 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11351 (f90-start-block-re, f90-imenu-generic-expression)
11352 (f90-looking-at-program-block-start, f90-no-block-limit):
11353 Add support for submodules.
11355 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11356 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11358 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11360 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11361 buffer-file-type before setting its value, to avoid disastrous
11362 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11364 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11366 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11368 * ses.el (ses-unload-function):
11369 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11371 * proced.el (proced-unload-function):
11372 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11374 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11376 * server.el (server-create-window-system-frame): Add parameters arg.
11377 (server-process-filter): Doc fix. Handle frame-parameters.
11379 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11381 Fix bug#8730, bug#8781.
11383 * loadhist.el (unload--set-major-mode): New function.
11384 (unload-feature): Use it.
11386 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11387 (python-unload-function): New function.
11389 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11391 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11393 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11395 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11396 the candidates list.
11398 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11400 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11402 2011-06-23 Richard Stallman <rms@gnu.org>
11404 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11405 (rmail-variables): Set next-error-move-function.
11406 (rmail-what-message): Take argument POS.
11407 (rmail-next-error-move): New function.
11409 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11411 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11412 messages for adjacent non-terminals.
11414 2011-06-23 Richard Stallman <rms@gnu.org>
11416 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11417 (rmail-show-message-1): Preserve buffer modified flag.
11418 (rmail-start-mail): Don't specify use of rmail-mail-return;
11419 that's done by mail-bury now.
11420 (rmail-mail-return): Handle arg NEWBUF.
11422 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11424 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11427 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11429 * window.el (get-lru-window, get-mru-window)
11430 (get-largest-window): Never return a minibuffer window.
11431 (display-buffer-pop-up-window): Fix a bug that could lead to
11432 reusing the minibuffer window.
11433 (display-buffer): Pass original specifier argument to
11434 display-buffer-function instead of the normalized one.
11435 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11437 2011-06-22 Leo Liu <sdl.web@gmail.com>
11439 * minibuffer.el (completing-read-function)
11440 (completing-read-default): Move from minibuf.c
11442 2011-06-22 Richard Stallman <rms@gnu.org>
11444 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11445 to Rmail even if not started by a special Rmail command.
11447 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11448 Copy the buffer currently showing just one message.
11450 2011-06-22 Roland Winkler <winkler@gnu.org>
11452 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11453 (bibtex-clean-entry): First delete the old key so that a
11454 customized algorithm for generating the new key does not get
11455 confused by the old key.
11456 (bibtex-url): Obey regexp of first step.
11457 (bibtex-search-entries): Do not use add-to-list with local
11460 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11462 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11463 stored a user name, then query for the password first, instead of
11464 waiting for SMTP to give an error message and the trying again.
11466 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11468 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11469 BUFFER in call-process.
11471 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11473 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11475 (smtpmail-try-auth-methods): Require user name and password from
11478 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11480 * window.el (display-buffer-default-specifiers)
11481 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11482 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11483 (split-window): Normalize SIDE argument (Bug#8916).
11485 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11486 (special-display-frame-alist, special-display-popup-frame):
11487 Remove duplicate declarations. These are now in window.el.
11489 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11491 * mail/smtpmail.el (smtpmail-via-smtp):
11492 Set :use-starttls-if-possible so that we always use STARTTLS if the
11493 server supports it. SMTP servers that support STARTTLS commonly
11496 * net/network-stream.el (network-stream-open-starttls): Support
11497 upgrading to STARTTLS always, even if we don't have built-in support.
11498 (open-network-stream): Add the :always-query-capabilities keyword.
11500 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11501 upgrades with `open-network-stream', and rely solely on
11502 auth-source for all credentials. Big changes throughout the file,
11504 (smtpmail-auth-credentials): Remove.
11505 (smtpmail-starttls-credentials): Remove.
11506 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11509 * net/network-stream.el (network-stream-open-starttls):
11510 Provide support for client certificates both for external and built-in
11512 (auth-source): Require.
11513 (open-network-stream): Document the :client-certificate keyword.
11514 (network-stream-certificate): Change cert-cert to cert and
11517 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
11519 * net/tramp-cache.el (top): Don't load the persistency file when
11520 "emacs -Q" has been called.
11522 2011-06-21 Tim Harper <timcharper@gmail.com>
11524 * term/ns-win.el (ns-initialize-window-system):
11525 Set application-specific `ApplePressAndHoldEnabled' system
11526 resource to NO as it is not yet supported by the NS port.
11528 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11530 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11531 (list-dynamic-libraries): ...not here.
11533 2011-06-21 Leo Liu <sdl.web@gmail.com>
11535 * subr.el (sha1): Implement sha1 using secure-hash.
11537 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11539 * window.el (display-buffer-alist): In default value do not
11540 enforce searching a window on any but the selected frame.
11541 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11542 (display-buffer-select-window): Remove function.
11543 (display-buffer-in-window): When a window on another frame gets
11544 reused, do not select it any more but just raise its frame if
11545 necessary (Bug#8851) and (Bug#8856).
11546 (display-buffer-normalize-options): Handle pop-up-frames related
11547 options more faithfully.
11548 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11549 window if it is on another frame.
11550 (display-buffer-alist, display-buffer-default-specifiers):
11551 Don't make new frame unsplittable by default.
11552 (display-buffer-normalize-argument): Fix doc-string typo and use
11553 'same-frame-other-window instead of 'other-window when associating
11554 with display-buffer-macro-specifiers.
11556 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11558 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11560 (5x5-mode-map, 5x5-mode-menu): Bind them.
11561 (5x5-draw-grid): Tweak the solver's rendering.
11563 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11565 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11566 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11568 2011-06-21 Drew Adams <drew.adams@oracle.com>
11570 * menu-bar.el: Use function variable instead of switch-to-buffer.
11571 (menu-bar-select-buffer-function): New variable.
11572 (menu-bar-update-buffers): Use it (bug#8876).
11574 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11576 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11579 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11581 * x-dnd.el (x-dnd-version-from-flags)
11582 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11583 and long as number (Bug#8899).
11584 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11586 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11588 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11589 (completion-try-completion, completion-all-completions): Compute the
11590 metadata argument if it's missing; make it optional (bug#8795).
11592 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11593 (widget-complete): Use new :completion-function property.
11594 (widget-completions-at-point): New function.
11595 (default): Use :completion-function instead of :complete.
11596 (widget-default-completions): Rename from widget-default-complete;
11598 (widget-string-complete, widget-file-complete, widget-color-complete):
11600 (file, symbol, function, variable, coding-system, color):
11601 * international/mule-cmds.el (default-input-method, charset)
11602 (language-info-custom-alist):
11603 * cus-edit.el (face): Use new property :completions.
11605 * progmodes/pascal.el (pascal-completions-at-point): New function.
11606 (pascal-mode): Use it.
11607 (pascal-mode-map): Use completion-at-point.
11608 (pascal-toggle-completions): Make obsolete.
11609 (pascal-complete-word, pascal-show-completions):
11610 * progmodes/octave-mod.el (octave-complete-symbol):
11611 Redefine as obsolete alias.
11612 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11613 Signal absence of completion info for old Octave,
11614 (inferior-octave-complete): Redefine as obsolete alias.
11615 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11616 (meta-completions-at-point): Rename from meta-complete-symbol and
11617 adapt it for use on completion-at-point-functions.
11618 (meta-common-mode): Use it.
11619 (meta-looking-at-backward, meta-match-buffer): Remove.
11620 (meta-complete-symbol): Redefine as obsolete alias.
11621 (meta-common-mode-map): Use completion-at-point.
11622 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11623 (makefile-mode-map): Use completion-at-point.
11624 (makefile-completions-at-point): Rename from makefile-complete and
11625 adapt it for use on completion-at-point-functions.
11626 (makefile-mode): Use it.
11627 (makefile-complete): Redefine as obsolete alias.
11629 2011-06-20 Deniz Dogan <deniz@dogan.se>
11631 * net/rcirc.el: Delete trailing whitespaces once and for all.
11633 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11635 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11637 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11639 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11641 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11643 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11645 * window.el (display-buffer-other-window-means-other-frame):
11646 Call display-buffer-normalize-alist.
11647 (display-buffer-normalize-specifiers-1): Rename to
11648 display-buffer-normalize-argument. New argument other-frame.
11650 (display-buffer-normalize-specifiers-2): Rename to
11651 display-buffer-normalize-options.
11652 (display-buffer-normalize-alist-1): New function.
11653 (display-buffer-normalize-specifiers-3): Rename to
11654 display-buffer-normalize-alist.
11655 Call display-buffer-normalize-alist-1.
11656 (display-buffer-normalize-options-inhibit): New variable.
11657 (display-buffer-normalize-specifiers): Rewrite calling
11658 display-buffer-normalize-alist,
11659 display-buffer-normalize-argument, and
11660 display-buffer-normalize-options. Don't call the latter if
11661 display-buffer-normalize-options-inhibit is non-nil.
11662 (frame-auto-delete): New option.
11663 (window-deletable-p): Use frame-auto-delete.
11664 (window-list-no-nils, window-state-ignored-parameters)
11665 (window-state-get-1, window-state-get, window-state-put-list)
11666 (window-state-put-1, window-state-put-2, window-state-put):
11668 (display-buffer-normalize-options): Move special-display-p group
11669 after pop-up-frame group (Bug#8851) and (Bug#8856).
11671 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11673 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11675 (rx-submatch-n): New function.
11678 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11681 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11683 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11685 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11686 anytime existing face settings are present (Bug#8889).
11688 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11689 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11690 Remove unused argument.
11692 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11694 * window.el (display-buffer-default-specifiers):
11695 Remove pop-up-frame. Add pop-up-window-min-height,
11696 pop-up-window-min-width, and another reuse-window specifier
11697 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11698 (display-buffer-normalize-specifiers-2):
11699 Handle split-height-threshold and split-width-threshold also when
11700 pop-up-windows is unset. Add a reuse-window specifier for the
11701 case popping up a new window fails.
11702 (special-display-popup-frame): Remove double quoting.
11703 (display-buffer-normalize-specifiers-1): Fix thinko.
11705 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11707 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11708 according to comint-completion-addsuffix.
11710 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11711 (pcomplete-suffix-list): Mark as obsolete.
11712 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11713 pcomplete-seen in the closure.
11714 (pcomplete-comint-setup): Setup completion-at-point as well.
11715 (pcomplete--entries): New function.
11716 (pcomplete--env-regexp): New var.
11717 (pcomplete-entries): Rewrite to work with partial-completion and
11718 without relying on pcomplete-suffix-list.
11719 (pcomplete-pare-list): Remove, unused.
11721 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11723 * window.el (display-buffer-alist): Set pop-up-window-min-height
11724 and pop-up-window-min-width in default value. Reported by
11725 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11726 other-window-means-other-frame.
11727 (display-buffer-macro-specifiers): Comment out entry for
11728 other-window specifier.
11729 (display-buffer-other-window-means-other-frame): New function.
11730 (display-buffer-normalize-specifiers-1): New arguments
11731 buffer-name and label. Treat other-window case specially.
11732 (display-buffer-normalize-specifiers-2): Treat other-window case
11734 (display-buffer-normalize-specifiers-3): New function.
11735 (display-buffer-normalize-specifiers):
11736 Call display-buffer-normalize-specifiers-3.
11738 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11740 * window.el (same-window-p): Fix two typos introduced when
11741 adding with-no-warnings.
11742 (display-buffer-normalize-specifiers-1): Don't check
11743 pop-up-frames for 'unset initialization.
11744 (display-buffer-normalize-specifiers-2): Major rewrite using
11745 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11746 (pop-up-frames, display-buffer-reuse-frames)
11747 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11748 Suggested by David Engster <deng@randomsample.de>.
11749 (even-window-heights): Initialize to 'unset.
11750 (display-buffer-alist-set): Handle new 'unset initializations.
11751 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11754 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11756 * window.el (display-buffer-normalize-specifiers-1):
11757 Respect current value of pop-up-frames for most reasonable values of
11758 second argument of display-buffer (Bug#8865).
11759 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11760 (switch-to-buffer-other-window-same-frame)
11761 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11763 (display-buffer): Don't check noninteractive when calling
11764 display-buffer-pop-up-frame.
11765 (display-buffer-pop-up-frame): Never pop up a frame in
11766 noninteractive mode (Bug#8857).
11767 (enlarge-window, shrink-window): Don't report an error when the
11768 window can't be resized as requested (Bug#8862).
11770 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11772 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11774 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11776 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11778 2011-06-15 Alan Mackenzie <acm@muc.de>
11780 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11781 for declarators, disable knr checking to speed up for normal files.
11782 2: Refactor, replacing a sequence of nested if forms by a cond form.
11784 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11786 * net/network-stream.el (open-network-stream): Add the keyword
11787 :always-query-capabilities for the case where you want to force a
11788 `plain' network connection, but the protocol still requires the
11789 capabilitiy command (i.e., SMTP and EHLO).
11791 * subr.el (process-live-p): Rename from `process-alive-p' for
11792 consistency with other `-live-p' functions.
11794 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11796 * window.el (same-window-buffer-names, same-window-regexps)
11797 (special-display-frame-alist, special-display-popup-frame)
11798 (special-display-function, special-display-buffer-names)
11799 (special-display-regexps, pop-up-frame-alist)
11800 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11801 (pop-up-windows, split-window-preferred-function)
11802 (split-height-threshold, split-width-threshold, even-window-heights)
11803 (display-buffer-mark-dedicated): Don't encourage the use of
11804 display-buffer-alist from Elisp code.
11806 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11808 * progmodes/python.el (python-mode): Derive from prog-mode.
11809 * progmodes/ps-mode.el (ps-mode):
11810 * progmodes/mixal-mode.el (mixal-mode):
11811 * progmodes/cfengine.el (cfengine-mode):
11812 * progmodes/ld-script.el (ld-script-mode): Likewise.
11814 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11816 * window.el (display-buffer-alist): Trim default value to avoid
11817 popping up a new frame (Bug#8857) or reusing an arbitrary window
11819 (display-buffer): Do not fall back on popping up a new frame in
11820 batch mode (Bug#8857).
11822 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11824 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11825 (custom-theme-summary): New function.
11826 (customize-themes): Use it.
11828 2011-06-13 Glenn Morris <rgm@gnu.org>
11830 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11832 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11834 * help.el (help-window): Remove variable.
11835 (help-window-point-marker, temp-buffer-max-height)
11836 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11837 (help-print-return-message): Don't set help-window.
11838 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11839 (help-window-setup-finish): Remove.
11840 (help-window-display-message, help-window-setup)
11841 (with-help-window): Major rewrite based on new
11842 display-buffer-window variable.
11844 * help-mode.el (help-mode-finish): Remove help-window related
11847 * view.el (view-exits-all-viewing-windows): Remove reference to
11848 view-return-to-alist in doc-string.
11849 (view-return-to-alist): Make obsolete.
11850 (view-buffer): Call pop-to-buffer-same-window and remove
11852 (view-buffer-other-window): Call pop-to-buffer-other-window and
11853 simplify code. Ignore second argument.
11854 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11855 simplify code. Ignore second argument.
11856 (view-return-to-alist-update): Make obsolete.
11857 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11858 Rewrite using quit-restore window parameters.
11859 (view-mode-exit): Rename second argument to EXIT-ONLY.
11860 Rewrite using quit-restore-window.
11861 (View-exit, View-exit-and-edit, View-leave, View-quit)
11862 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11863 appropriate arguments.
11864 (view-end-message): Use quit-restore window parameter.
11866 * window.el (display-buffer-function): Rewrite doc-string.
11867 (display-buffer-window, display-buffer-alist): New variables.
11868 (display-buffer-split-specifiers)
11869 (display-buffer-side-specifiers)
11870 (display-buffer-macro-specifiers): New constants.
11871 (display-buffer-even-window-sizes, display-buffer-set-height)
11872 (display-buffer-set-width, display-buffer-select-window)
11873 (display-buffer-in-window, display-buffer-reuse-window)
11874 (display-buffer-split-window-1, display-buffer-split-window)
11875 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11876 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11877 (display-buffer-in-side-window, normalize-buffer-to-display)
11878 (display-buffer-normalize-specifiers-1)
11879 (display-buffer-normalize-specifiers-2)
11880 (display-buffer-normalize-specifiers, display-buffer-frame):
11882 (display-buffer): Major rewrite.
11883 (display-buffer-other-window, display-buffer-other-frame)
11884 (pop-to-buffer, switch-to-buffer-other-window)
11885 (switch-to-buffer-other-frame): Rewrite.
11886 (display-buffer-same-window, display-buffer-same-frame)
11887 (display-buffer-same-frame-other-window)
11888 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11889 (pop-to-buffer-other-window)
11890 (pop-to-buffer-same-frame-other-window)
11891 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11892 (switch-to-buffer-other-window-same-frame): New functions.
11893 (same-window-p, special-display-p): Rewrite disabling warnings.
11895 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11896 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11898 (same-window-buffer-names, same-window-regexps)
11899 (special-display-frame-alist, special-display-popup-frame)
11900 (special-display-function, special-display-buffer-names)
11901 (special-display-regexps, pop-up-frame-alist)
11902 (pop-up-frame-function, split-window-preferred-function)
11903 (split-height-threshold, split-width-threshold)
11904 (even-window-heights): Make obsolete.
11906 2011-06-12 Glenn Morris <rgm@gnu.org>
11908 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11909 Misc simplifications.
11911 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11913 * window.el (window-safely-shrinkable-p): Restore function which
11914 was inadvertently removed in change from 2011-06-11. Declare as
11917 * calendar/calendar.el (calendar-generate-window):
11918 Use window-iso-combined-p instead of combination of one-window-p and
11919 window-safely-shrinkable-p.
11921 2011-06-12 Glenn Morris <rgm@gnu.org>
11923 * progmodes/fortran.el (fortran-mode-syntax-table):
11924 * progmodes/f90.el (f90-mode-syntax-table):
11925 Set % to punctuation. (Bug#8820)
11926 (f90-find-tag-default): Remove, no longer needed.
11928 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11930 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11932 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11934 * image.el (image-animated-p): Return animation delay in seconds.
11935 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11936 (image-animate-timeout): Remove DELAY argument. Don't assume
11937 every subimage has the same delay; get it from image-animated-p.
11938 (image-animate): Caller changed.
11940 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11942 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11943 to ignored backtrace functions.
11945 2011-06-11 Glenn Morris <rgm@gnu.org>
11947 * calendar/appt.el (appt-disp-window-function): Doc fix.
11948 (appt-check): Handle overlapping appointments. (Bug#8337)
11950 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11952 * window.el (window-tree-1, window-tree): New functions, moving
11953 the latter to window.el.
11954 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11955 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11956 (bw-refresh-edges): Remove.
11957 (balance-windows-1, balance-windows-2): New functions.
11958 (balance-windows): Rewrite in terms of window tree functions,
11959 balance-windows-1 and balance-windows-2.
11960 (bw-adjust-window): Remove.
11961 (balance-windows-area-adjust): New function with functionality of
11962 bw-adjust-window but using resize-window.
11963 (set-window-text-height): Rewrite doc-string.
11964 Use normalize-live-window and resize-window.
11965 (enlarge-window-horizontally, shrink-window-horizontally):
11966 Rename argument to DELTA.
11967 (window-buffer-height): New function.
11968 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11969 Rewrite using new window resize routines.
11970 (kill-buffer-and-window, mouse-autoselect-window-select):
11971 Use ignore-errors instead of condition-case.
11972 (quit-window): Call delete-frame instead of delete-windows-on
11973 for the only buffer on frame.
11975 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11977 * loadup.el (top-level): Load window before files for the sake
11978 of replace-buffer-in-windows.
11980 * files.el (read-buffer-to-switch)
11981 (switch-to-buffer-other-window)
11982 (switch-to-buffer-other-frame, display-buffer-other-frame):
11985 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11986 (previous-buffer): Move to window.el.
11988 * bindings.el (unbury-buffer): Move to window.el.
11990 * window.el (delete-other-windows-vertically): Move after
11991 definition of delete-other-windows.
11992 (other-window, delete-windows-on, replace-buffer-in-windows):
11993 Move here from window.c.
11994 (record-window-buffer, unrecord-window-buffer)
11995 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11996 (switch-to-next-buffer): New functions.
11997 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11998 from simple.el. Call switch-to-next-buffer.
11999 (previous-buffer): Move here from simple.el.
12000 Call switch-to-prev-buffer.
12001 (bury-buffer): Move here from buffer.c. Switch to previous
12002 buffer when window cannot be deleted.
12003 (unbury-buffer): Move here from bindings.el.
12004 (ctl-x-map): Move binding for other-window from window.c to
12006 (read-buffer-to-switch, switch-to-buffer-other-window)
12007 (switch-to-buffer-other-frame): Move here from files.el.
12008 (normalize-buffer-to-switch-to): New functions.
12009 (switch-to-buffer): Move here from buffer.c.
12010 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12012 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12014 * window.el (window-min-height, window-min-width): Move here
12015 from window.c. Add defcustoms and rewrite doc-strings.
12016 (resize-mini-window, resize-window): New functions.
12017 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12018 Move here from window.c.
12019 (maximize-window, minimize-window): New functions.
12020 (delete-window, delete-other-windows, split-window): Move here
12022 (window-split-min-size): New function.
12023 (split-window-keep-point): Mention split-window-above-each-other
12024 instead of split-window-vertically.
12025 (split-window-above-each-other, split-window-vertically):
12026 Rename split-window-vertically to split-window-above-each-other
12027 and provide defalias for old definition.
12028 (split-window-side-by-side, split-window-horizontally):
12029 Rename split-window-horizontally to split-window-side-by-side
12030 and provide defalias for the old definition.
12031 (ctl-x-map): Move bindings for delete-window,
12032 delete-other-windows and enlarge-window here from window.c.
12033 Replace bindings for split-window-vertically and
12034 split-window-horizontally by bindings for
12035 split-window-above-each-other and split-window-side-by-side.
12037 * cus-start.el (all): Remove entries for window-min-height and
12038 window-min-width. Add entries for window-splits and
12041 2011-06-09 Glenn Morris <rgm@gnu.org>
12043 * calendar/appt.el (appt-mode-line): New function.
12044 (appt-check, appt-disp-window): Use it.
12046 * files.el (hack-one-local-variable-eval-safep):
12047 Allow minor-modes with explicit +/-1 arguments.
12049 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12051 * term/xterm.el (xterm): Add defgroup.
12052 (xterm-extra-capabilities): Add defcustom to supply known xterm
12053 capabilities, skip querying them, or query them (default).
12054 (terminal-init-xterm): Use it.
12055 (terminal-init-xterm-modify-other-keys): New function to set up
12056 modifyOtherKeys support to simplify `terminal-init-xterm'.
12058 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12060 * window.el (resize-window-reset, resize-window-reset-1)
12061 (resize-subwindows-skip-p, resize-subwindows-normal)
12062 (resize-subwindows, resize-other-windows, resize-this-window)
12063 (resize-root-window, resize-root-window-vertically)
12064 (window-deletable-p, window-or-subwindow-p)
12065 (frame-root-window-p): New functions.
12067 2011-06-09 Glenn Morris <rgm@gnu.org>
12069 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12070 (ange-ftp-get-files): Use it.
12072 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12074 * mail/sendmail.el (mail-recover-1, mail-recover):
12075 * files.el (recover-file, recover-session):
12076 Handle dired-listing-switches not being just a single short option.
12078 2011-06-09 Glenn Morris <rgm@gnu.org>
12080 * calendar/appt.el (appt-display-message, appt-disp-window):
12081 Handle lists of appointments.
12083 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12085 * window.el (one-window-p): Move down in code.
12086 Rewrite doc-string.
12087 (window-current-scroll-bars): Rewrite doc-string.
12088 Normalize live window argument.
12089 (walk-windows, get-window-with-predicate, count-windows):
12090 Rewrite doc-string. Use window-list-1.
12091 (window-in-direction-2, window-in-direction, get-mru-window):
12094 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12096 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12097 Doc fix (Bug#8713).
12099 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12101 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12103 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12105 * loadhist.el (unload-feature-special-hooks):
12106 Add `comint-output-filter-functions'.
12108 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12110 * calendar/appt.el (appt-check): Move some initializations into the let.
12112 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12114 * window.el (window-height): Defalias to window-total-height.
12115 (window-width): Defalias to window-body-width.
12117 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12119 * image-mode.el (image-toggle-animation): New command.
12120 (image-mode-map): Bind it to RET.
12121 (image-mode): Update message.
12122 (image-toggle-display-image): Avoid a spurious cache flush.
12123 (image-transform-rotation): Doc fix.
12124 (image-transform-properties): Return quickly in the normal case.
12125 (image-animate-loop): Rename from image-animate-max-time.
12127 * image.el (image-animate-max-time): Move to image-mode.el.
12128 (create-animated-image): Remove unnecessary function.
12129 (image-animate): Rename from image-animate-start. New arg.
12130 (image-animate-stop): Remove; just use image-animate-timer.
12131 (image-animate-timer): Use car-safe.
12132 (image-animate-timeout): Rename argument.
12134 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12136 * window.el (get-lru-window, get-largest-window): Move here from
12137 window.c. Rename first argument to ALL-FRAMES.
12138 Rephrase doc-strings.
12139 (get-buffer-window-list): Rewrite using window-list-1.
12140 Rephrase doc-string.
12141 (window-safe-min-height, window-safe-min-width): New constants.
12142 (window-size-ignore, window-min-size, window-min-size-1)
12143 (window-sizable, window-sizable-p, window-size-fixed-1)
12144 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12145 (window-max-delta-1, window-max-delta, window-resizable)
12146 (window-resizable-p, window-total-height, window-total-width)
12147 (window-body-width): New functions.
12148 (window-full-height-p, window-full-width-p): Rewrite using
12150 (window-body-height): Rewrite using window-body-size.
12152 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12154 * window.el (window-right, window-left, window-child)
12155 (window-child-count, window-last-child, window-any-p)
12156 (normalize-live-buffer, normalize-live-frame)
12157 (normalize-any-window, normalize-live-window)
12158 (window-iso-combination-p, window-iso-combined-p)
12159 (window-iso-combinations)
12160 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12161 (windows-with-parameter, window-with-parameter)
12162 (window-atom-root, make-window-atom, window-atom-check-1)
12163 (window-atom-check, window-side-check, window-check):
12165 (ignore-window-parameters, window-sides, window-sides-vertical)
12166 (window-sides-slots): New variables.
12167 (window-size-fixed): Move down in code. Minor doc-string fix.
12169 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12171 * comint.el (comint-dynamic-complete-as-filename)
12172 (comint-dynamic-complete-filename): Correctly call
12173 completion-in-region.
12175 2011-06-05 Deniz Dogan <deniz@dogan.se>
12177 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12180 2011-06-05 Deniz Dogan <deniz@dogan.se>
12182 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12183 (rcirc): Use it to prompt for encryption.
12185 2011-06-05 Roland Winkler <winkler@gnu.org>
12187 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12188 (bibtex-search-entries): New command bound to C-c C-a.
12189 (bibtex-display-entries): New function.
12191 2011-06-05 Roland Winkler <winkler@gnu.org>
12193 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12194 (bibtex-insert-kill): After yanking insert newline if necessary.
12195 (bibtex-initialize): Call bibtex-string-files-init only once.
12196 (bibtex-mode): Do not call easy-menu-add.
12197 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12198 (bibtex-yank): Set arg properly if nil.
12200 2011-06-05 Roland Winkler <winkler@gnu.org>
12202 * textmodes/bibtex.el (bibtex-search-entry-globally):
12204 (bibtex-search-entry): Use it.
12206 2011-06-05 Roland Winkler <winkler@gnu.org>
12208 * textmodes/bibtex.el (bibtex-entry-format): New option
12210 (bibtex-format-entry, bibtex-reformat): Honor this option.
12211 (bibtex-parse-entry): Return fields in proper order.
12213 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12215 * doc-view.el (doc-view-remove-if): Move computation of result out
12216 of `dolist' to silence misleading lexical-binding warning.
12218 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12220 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12221 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12223 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12225 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12228 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12230 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12231 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12232 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12233 (tramp-parse-putty):
12234 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12235 (tramp-completion-function-alist-ssh)
12236 (tramp-completion-function-alist-telnet)
12237 (tramp-completion-function-alist-su)
12238 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12241 * net/tramp-ftp.el:
12243 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12244 load "tramp.el" `tramp-set-completion-function'.
12246 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12248 * shell.el: Require and use pcomplete.
12249 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12250 (shell-completion-vars): Set pcomplete-default-completion-function.
12252 2011-06-04 Deniz Dogan <deniz@dogan.se>
12254 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12257 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12259 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12261 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12263 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12264 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12265 * vc/log-view.el (log-view-beginning-of-defun):
12266 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12267 (smerge-refine-forward, smerge-refine-chopup-region):
12268 Silence warning for unused `dotimes' counter variables.
12270 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12272 * net/tramp.el (tramp-with-progress-reporter): Rename from
12273 with-progress-reporter. Use `declare'.
12274 * net/tramp-smb.el:
12276 * net/tramp-gvfs.el: Update all uses.
12278 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12280 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12281 buffer isn't killed before making it current.
12283 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12285 Silence various byte-compiler warnings.
12286 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12287 `access-type' and new obsolescence format.
12288 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12290 (byte-compile-check-variable): New `access-type' argument.
12291 Only warn if the access-type is obsolete.
12292 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12293 (byte-compile-variable-set): Adjust callers.
12294 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12295 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12296 setting it as obsolete.
12297 * simple.el (minibuffer-completing-symbol):
12298 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12299 access as obsolete.
12300 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12302 * international/quail.el (quail-mouse-choose-completion): Remove unused
12303 code referring to obsolete var.
12304 (quail-choose-completion-string): Remove.
12305 * server.el (server-clients-with, server-kill-buffer-query-function)
12306 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12307 * proced.el (proced-send-signal):
12308 * emacs-lisp/lisp.el (lisp-complete-symbol):
12309 Replace completion-annotate-function with completion-extra-properties.
12311 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12313 * simple.el (goto-line): Use read-number.
12314 (overriding-map-is-bound): Remove.
12315 (saved-overriding-map): Change default.
12316 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12317 Take the map as argument.
12318 (universal-argument, negative-argument, digit-argument): Use it.
12319 (restore-overriding-map): Adjust.
12320 (do-auto-fill): Use fill-forward-paragraph.
12321 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12323 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12324 (minibuffer-inactive-mode): New major mode.
12325 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12326 the *Messages* buffer" hack.
12327 (mouse-popup-menubar): Don't burp if the event is a normal key.
12329 Miscellaneous tweaks.
12330 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12331 lexical scoping as in subr.el's dolist and dotimes.
12332 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12333 Silence compiler warning.
12334 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12335 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12336 * international/ccl.el (ccl-compile): Trivial simplification.
12337 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12338 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12339 `printflag' argument.
12340 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12341 Purecopy the whole obsolescence data.
12343 2011-06-01 Leo Liu <sdl.web@gmail.com>
12345 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12346 improve doc-string as suggested by Marco Pessotto
12347 <melmothx@gmail.com>.
12348 (rcirc-print): Fix last change.
12350 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12352 * minibuffer.el (complete-with-action): Return nil for the metadata and
12353 boundaries of non-functional tables.
12354 (completion-table-dynamic): Return nil for the metadata.
12355 (completion-table-with-terminator): Add default case, using
12356 complete-with-action.
12357 (completion--metadata): New function.
12358 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12359 to try and avoid pathological performance problems.
12360 (completion--embedded-envvar-table): Return `category' metadata.
12362 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12364 * subr.el (process-alive-p): New tiny convenience function.
12366 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12368 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12369 content but also its previous major mode.
12371 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12373 * emacs-lisp/debug.el (debug): Restore the previous content of the
12374 *Backtrace* buffer when we exit with C-M-c.
12376 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12378 * minibuffer.el: Add metadata method to completion tables.
12379 (completion-category-overrides): New defcustom.
12380 (completion-metadata, completion--field-metadata)
12381 (completion-metadata-get, completion--styles)
12382 (completion--cycle-threshold): New functions.
12383 (completion-try-completion, completion-all-completions):
12384 Add `metadata' argument to choose completion-styles.
12385 (completion--do-completion): Use metadata to choose cycling.
12386 (completion-all-sorted-completions): Use metadata for sorting.
12387 Remove :completion-cycle-penalty which is not needed any more.
12388 (completion--try-word-completion): Add `metadata' argument.
12389 (minibuffer-completion-help): Check metadata for annotation function
12391 (completion-file-name-table): Return `category' metadata.
12392 (minibuffer-completing-file-name): Make obsolete.
12393 * simple.el (minibuffer-completing-symbol): Make obsolete.
12394 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12395 completion-try-completion.
12397 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12399 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12401 2011-05-30 Leo Liu <sdl.web@gmail.com>
12403 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12404 (rcirc-print): Decode all incoming messages (bug#8744).
12405 (rcirc-decode-coding-system): Allow value nil for automatic coding
12408 2011-06-01 Glenn Morris <rgm@gnu.org>
12410 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12412 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12414 * image.el (image-animate-max-time): Allow nil and t values.
12416 (create-animated-image): Doc fix.
12417 (image-animate-start): Remove second arg; just use
12418 image-animate-max-time.
12419 (image-animate-timeout): Doc fix. Args changed.
12421 * image-mode.el (image-toggle-display-image): Ensure that the
12422 image spec passed to the animate timer is the same object as in
12423 the buffer's display property (Bug#6981).
12424 (image-transform-properties): Doc fix.
12426 * image.el (image-animate-max-time): Default to nil.
12428 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12430 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12431 entire buffer list (Bug#8184).
12433 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12435 * image.el (imagemagick-types-inhibit)
12436 (imagemagick-register-types): Doc fix.
12438 2011-05-29 Deniz Dogan <deniz@dogan.se>
12440 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12443 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12445 * select.el: Don't perform clipboard-manager saving in hooks;
12446 leave the hooks empty.
12448 2011-05-28 Leo Liu <sdl.web@gmail.com>
12450 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12451 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12452 (occur-edit-mode): New major mode (Bug#8463).
12453 (occur-after-change-function): New function.
12454 (occur-engine): Give Occur tags a read-only property.
12456 2011-05-28 Kevin Ryde <user42@zip.com.au>
12458 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12460 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12462 * bindings.el (help-echo): Make the initial non-indicator dash
12463 empty on graphical terminals (Bug#7295).
12465 * files.el (auto-mode-alist): Move config rule after the
12466 in-stripping one (Bug#8547).
12468 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12470 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12471 setting (Bug#8740).
12473 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12475 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12476 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12479 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12481 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12483 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12485 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12486 (hs-hide-block-at-point, hs-find-block-beginning)
12487 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12490 2011-05-28 Glenn Morris <rgm@gnu.org>
12492 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12494 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12496 * help-fns.el (describe-function-1): If the function is a derived
12497 major mode, print the parent mode.
12499 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12500 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12502 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12504 * minibuffer.el (completion--capf-wrapper): Check applicability before
12505 returning non-nil for non-exclusive completion data.
12506 * progmodes/etags.el (tags-completion-at-point-function):
12507 * info-look.el (info-lookup-completions-at-point): Mark as
12509 (info-complete): Adjust accordingly.
12511 * info-look.el: Convert to lexical-binding and completion-at-point.
12512 (info-lookup-completions-at-point): New function.
12513 (info-complete): Use it and completion-in-region.
12515 2011-05-28 Drew Adams <drew.adams@oracle.com>
12517 * isearch.el: Let M-e start with point at the first mismatched char.
12518 (isearch-fail-pos): New function.
12519 (isearch-edit-string): Use it.
12521 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12523 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12525 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12527 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12528 traversal functions for avl-trees.
12529 (avl-tree--stack): New struct.
12530 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12531 (avl-tree-enter): Add optional `updatefun' arg.
12532 (avl-tree--do-enter): Add optional `updatefun' arg.
12533 Change return value.
12534 (avl-tree-delete): Add optional `test' and `nilflag' args.
12535 (avl-tree--do-delete): Add `test' and `nilflag' args.
12536 Change return value.
12537 (avl-tree-member): Add optional `nilflag'
12538 (avl-tree-member-p): New function.
12539 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12540 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12541 (avl-tree-stack-empty-p): New functions.
12543 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12544 avl-tree--del-balance1 and make it work both ways.
12545 (avl-tree--del-balance2): Remove.
12546 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12547 make it work both ways.
12548 (avl-tree--enter-balance2): Remove.
12549 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12551 (avl-tree--mapc, avl-tree-map): Add direction argument.
12553 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12555 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12557 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12559 * select.el: Support clipboard managers with built-in function
12560 x-clipboard-manager-save, via delete-frame-functions and
12562 (xselect-convert-to-targets): Add MULTIPLE target to list.
12563 (xselect-convert-to-save-targets): New function.
12565 2011-05-27 Kenichi Handa <handa@m17n.org>
12567 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12568 let-binding rfc2047-encode-encoded-words to nil.
12570 2011-05-27 Glenn Morris <rgm@gnu.org>
12572 * mail/emacsbug.el: Don't require url-util.
12574 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12576 * files.el (set-auto-mode):
12577 Also respect mode: entries at the end of the file. (Bug#8586)
12579 2011-05-26 Glenn Morris <rgm@gnu.org>
12581 * files.el (hack-local-variables-prop-line, hack-local-variables):
12582 Downcase mode names, as seems to be traditional.
12583 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12585 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12586 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12588 2011-05-25 Julien Danjou <julien@danjou.info>
12590 * textmodes/rst.el (rst-define-level-faces): Do not define face
12591 symbol if it is already defined.
12593 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12595 * play/5x5.el (5x5-new-game, 5x5-randomize):
12596 Reset 5x5-solver-output to nil when a new grid is cast.
12597 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12598 these debugging traces, as defmacro breaks the compiled code.
12600 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12602 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12604 2011-05-24 Leo Liu <sdl.web@gmail.com>
12606 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12607 (vc-bzr-sha1): Adapt.
12609 * sha1.el: Remove. Function `sha1' is now builtin.
12611 * bindings.el: Provide sha1 feature.
12613 2011-05-24 Kenichi Handa <handa@m17n.org>
12615 * mail/sendmail.el: Require `rfc2047'.
12616 (mail-insert-from-field): Do not perform RFC2047 encoding.
12617 (mail-encode-header): New function.
12618 (sendmail-send-it): Set buffer-file-coding-system of the work
12619 buffer to the return value of select-message-coding-system.
12620 Call mail-encode-header.
12622 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12624 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12626 * mail/supercite.el (sc-default-cite-frame):
12627 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12629 2011-05-24 Glenn Morris <rgm@gnu.org>
12631 * progmodes/python.el (brm-menu): Declare.
12633 * emulation/viper.el (viper-set-hooks): Declare.
12635 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12636 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12637 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12638 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12639 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12640 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12642 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12644 Add an :exit-function for completion-at-point.
12646 * minibuffer.el (completion--done): New fun.
12647 (completion--do-completion): Use it. New arg `expect-exact'.
12648 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12649 since completion--do-completion does it for us now.
12650 (minibuffer-force-complete): Use completion--done and
12651 completion--replace. Handle sole-completion case with more care.
12652 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12653 (completion-extra-properties): New var.
12654 (completion-annotate-function): Make obsolete.
12655 (minibuffer-completion-help): Adjust accordingly.
12656 Use completion-list-insert-choice-function.
12657 (completion-at-point, completion-help-at-point):
12658 Bind completion-extra-properties.
12659 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12660 * simple.el (completion-list-insert-choice-function): New var.
12661 (completion-setup-function): Preserve it.
12662 (choose-completion): Pay attention to it, shuffle the code a bit.
12663 (choose-completion-string): New arg `insert-function'.
12665 * textmodes/bibtex.el: Convert to lexical binding.
12666 (bibtex-mode-map): Use completion-at-point.
12667 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12668 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12669 (bibtex-complete): Define as obsolete alias.
12670 (bibtex-complete-internal): Remove.
12671 (bibtex-format-entry): Remove unused sub-group in regexp.
12672 * shell.el (shell--command-completion-data)
12673 (shell-environment-variable-completion):
12674 * pcomplete.el (pcomplete-completions-at-point):
12675 * comint.el (comint--complete-file-name-data): Use :exit-function
12676 instead of completion-table-with-terminator so it also works for
12679 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12681 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12683 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12686 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12688 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12690 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12691 customization variable and implement: If non-nil, auto-fill will
12692 be inhibited while on topic's header line.
12694 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12696 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12697 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12698 always have a solution in grid size = 5 cases.
12699 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12700 (5x5-solver-output, 5x5-log-buffer): New vars.
12701 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12702 Make these variables buffer local to achieve 5x5 multi-session-ness.
12703 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12704 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12705 (5x5-solve-suggest): New funs.
12706 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12707 randomize a grid so that we ensure that there is always a solution.
12708 (5x5-make-random-grid): Allow other movement than flipping.
12710 2011-05-23 Kevin Ryde <user42@zip.com.au>
12712 * emacs-lisp/advice.el (ad-read-advised-function):
12713 Use `function-called-at-point' as the default, if it has
12714 advice and passes PREDICATE.
12716 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12718 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12719 byte-compile-lambda if it's actually a lambda.
12721 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12722 Fix function quoting. Use backquote better.
12724 2011-05-22 Yuanle Song <sylecn@gmail.com>
12726 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12727 matching (Bug#8516).
12729 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12731 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12732 different face (Bug#8178).
12734 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12736 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12737 defface (Bug#8144).
12739 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12741 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12742 funcall as well (bug#8712). Warn when performing those conversions.
12743 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12745 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12747 2011-05-22 Glenn Morris <rgm@gnu.org>
12749 * files.el (hack-local-variables-prop-line): Small simplifications.
12750 (hack-local-variables, hack-local-variables-prop-line):
12751 If MODE-ONLY, return the mode, rather than just `t'.
12753 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12755 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12757 2011-05-21 Glenn Morris <rgm@gnu.org>
12759 * files.el (hack-local-variables-prop-line, hack-local-variables):
12760 If only interested in the mode, don't bother doing the other stuff.
12762 * image-mode.el (image-after-revert-hook):
12763 Redraw all frames on which the image is visible. (Bug#8567)
12765 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12767 * wid-edit.el (widget-checklist-match-inline):
12768 Fix 2011-04-19 change. (Bug#8649)
12770 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12772 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12773 Also allow singlespace after single-letter capitals followed by a dot.
12775 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12776 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12778 2011-05-20 Nix <nix@esperi.org.uk>
12780 * files.el (basic-save-buffer-2):
12781 Fix handling of break-hardlink-on-save with non-existent files.
12783 2011-05-19 Deniz Dogan <deniz@dogan.se>
12785 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12786 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12788 2011-05-19 Glenn Morris <rgm@gnu.org>
12790 * progmodes/f90.el (f90-type-def-re):
12791 Handle "type, bind(c)". (Bug#8691)
12793 * emacs-lisp/autoload.el (batch-update-autoloads):
12794 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12796 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12798 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12799 property for the correct connection in case of multihops.
12801 2011-05-18 Glenn Morris <rgm@gnu.org>
12803 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12804 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12806 Rationalize calendar handling of day and month abbrev-arrays.
12807 * calendar/calendar.el (calendar-customized-p): New function.
12808 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12809 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12811 (calendar-abbrev-length, calendar-day-abbrev-array)
12812 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12813 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12814 Elements may no longer be nil.
12815 (calendar-day-name, calendar-month-name):
12816 Update for changed nature of abbrev arrays.
12817 * calendar/diary-lib.el (diary-name-pattern):
12818 Update for changed nature of abbrev arrays.
12819 (diary-mark-entries-1): Update calendar-make-alist calls.
12820 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12821 * calendar/cal-html.el (cal-html-day-abbrev-array):
12822 Simply inherit from calendar-day-abbrev-array.
12824 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12826 * progmodes/grep.el (grep-mode): Disable default
12827 compilation-directory-matcher setting (bug#8684).
12829 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12831 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12832 instead of "head" and "tail". There were problems with SunOS 5.9,
12833 and it performs better.
12835 2011-05-17 Glenn Morris <rgm@gnu.org>
12837 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12839 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12840 Replace obsolete function.
12842 * shell.el (pcomplete-parse-arguments-function): Declare.
12844 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12845 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12846 (appt-check): Doc fixes.
12847 (appt-disp-window-function, appt-delete-window-function):
12848 Remove needless special case in custom :type.
12849 (appt-display-count): Default to 0, not nil.
12850 (appt-check): Reset appt-display-count to 0, not nil.
12852 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12854 * progmodes/python.el (python-font-lock-keywords):
12855 Add the Python 3.X keyword "nonlocal" (bug#8639).
12857 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12859 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12861 2011-05-16 Kevin Ryde <user42@zip.com.au>
12863 * info-look.el (makefile-automake-mode): New setups, looking in
12864 automake manual, then makefile-mode.
12865 (makefile-mode): Remove automake manual, have it just in
12866 makefile-automake-mode since there's various things different or
12867 not relevant to plain make.
12868 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12869 believe a hypothetical automake-mode would go to makefile-mode,
12870 not the other way around.
12872 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12874 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12875 hunk-end tags (Bug#8672).
12877 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12878 vc-annotate-show-diff-revision-at-line (Bug#8671).
12880 2011-05-14 Glenn Morris <rgm@gnu.org>
12882 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12883 in the middle of an existing one with multiple authors. (Bug#8645)
12884 (change-log-font-lock-keywords): Also handle multiple author lines
12885 with leading tabs. (Bug#8644)
12887 * calendar/appt.el (appt-check): Rename some local variables.
12888 Some simplification/reordering.
12890 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12891 (feedmail-sendmail-f-doesnt-sell-me-out)
12892 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12893 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12894 (feedmail-queue-runner-message-sender): Set :version.
12895 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12896 (bbdb-dwim-net-address, vm-mail): Declare.
12897 (feedmail-binmail-gnulinuxish-template):
12898 Rename from feedmail-binmail-linuxish-template.
12899 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12900 Use insert-buffer-substring.
12902 2011-05-14 Bill Carpenter <bill@carpenter.org>
12904 * mail/feedmail.el (feedmail-patch-level): Increase.
12905 (feedmail-debug): New custom group.
12906 (feedmail-confirm-outgoing-timeout)
12907 (feedmail-sendmail-f-doesnt-sell-me-out)
12908 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12909 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12910 (feedmail-sender-line, feedmail-from-line)
12911 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12912 (feedmail-spray-this-address)
12913 (feedmail-spray-address-fiddle-plex-list)
12914 (feedmail-queue-use-send-time-for-date)
12915 (feedmail-queue-use-send-time-for-message-id)
12916 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12917 (feedmail-buffer-eating-function):
12919 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12920 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12921 (feedmail-message-action-scroll-down): New functions.
12922 (feedmail-queue-directory, feedmail-queue-draft-directory):
12923 Use expand-file-name.
12924 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12925 Remove C-v help entry.
12926 (feedmail-queue-buffer-file-name): New variable.
12927 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12928 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12929 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12930 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12931 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12932 (feedmail-message-action-toggle-spray)
12933 (feedmail-run-the-queue-no-prompts)
12934 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12935 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12936 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12937 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12938 (feedmail-envelope-deducer, feedmail-fiddle-from)
12939 (feedmail-fiddle-sender, feedmail-default-date-generator)
12940 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12941 (feedmail-fiddle-spray-address)
12942 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12943 (feedmail-fiddle-list-of-fiddle-plexes)
12944 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12945 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12946 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12947 Change default. Doc fix.
12948 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12949 (feedmail-binmail-linuxish-template): New constant.
12950 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12951 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12952 (feedmail-send-it): Add debug call.
12953 Use feedmail-queue-buffer-file-name, and
12954 feedmail-send-it-immediately-wrapper.
12955 (feedmail-message-action-send): Add debug call.
12956 Use feedmail-send-it-immediately-wrapper.
12957 (feedmail-queue-express-to-queue): Add debug call.
12958 Run feedmail-queue-express-hook.
12959 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12960 (feedmail-message-action-help-blat):
12961 Rename from feedmail-queue-send-edit-prompt-help-first.
12962 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12963 Check line-endings. Handle errors better.
12964 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12965 Doc fix. Add debug call.
12966 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12967 Use feedmail-queue-send-edit-prompt-inner.
12968 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12969 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12970 from feedmail-queue-send-edit-prompt.
12971 (feedmail-queue-send-edit-prompt-help)
12972 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12973 (feedmail-tidy-up-slug): Add debug call.
12974 Respect feedmail-queue-slug-suspect-regexp.
12975 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12976 (feedmail-dump-message-to-queue): Add debug call.
12977 Expand queue-directory.
12978 (feedmail-dump-message-to-queue): Change message slightly.
12979 Use feedmail-say-chatter.
12980 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12981 (feedmail-send-it-immediately-wrapper): New function.
12982 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12983 Insert empty string rather than newline. Handle full-frame case.
12984 Use catch/throw. Use feedmail-say-chatter.
12985 (feedmail-fiddle-from): Try mail-host-address.
12986 (feedmail-default-message-id-generator): Doc fix.
12987 Bind system-time-locale. Handle missing end.
12988 (feedmail-fiddle-x-mailer): Add debug call.
12989 Handle feedmail-x-mailer-line being nil.
12990 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12991 Add debug call. Use buffer-substring-no-properties.
12992 (feedmail-say-debug, feedmail-say-chatter): New functions.
12993 (feedmail-find-eoh): Give an explicit error.
12995 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12997 * net/newst-treeview.el (newsticker-treeview-face): Change default
12998 family from helvetica to sans.
12999 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13000 etc/images/newsticker.
13002 * net/newst-reader.el (newsticker-feed-face): Change default
13003 family from helvetica to sans.
13005 * net/newst-plainview.el (newsticker-new-item-face)
13006 (newsticker-old-item-face, newsticker-immortal-item-face)
13007 (newsticker-obsolete-item-face, newsticker-date-face)
13008 (newsticker-statistics-face): Change default family from
13010 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13011 etc/images/newsticker.
13013 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13014 (newsticker--process-auto-mark-filter-match): Tell user about
13017 2011-05-13 Didier Verna <didier@xemacs.org>
13019 Common Lisp indentation improvements on defmethod and lambda-lists.
13020 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13022 (lisp-lambda-list-keyword-parameter-indentation)
13023 (lisp-lambda-list-keyword-parameter-alignment)
13024 (lisp-lambda-list-keyword-alignment): New customizable user options.
13025 (lisp-indent-defun-method): Improve docstring.
13026 (extended-loop-p): Fix comment.
13027 (lisp-indent-lambda-list-keywords-regexp): New variable.
13028 (lisp-indent-lambda-list): New function.
13029 (lisp-indent-259): Use it.
13030 (lisp-indent-defmethod): Support for more than one
13031 method qualifier and properly indent methods lambda-lists.
13032 (defgeneric): Provide a missing common-lisp-indent-function property.
13034 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13036 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13037 bounds for the empty string (bug#8667).
13039 2011-05-13 Glenn Morris <rgm@gnu.org>
13041 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13043 * mail/sendmail.el (sendmail-program): Try executable-find first.
13044 (sendmail-send-it): `sendmail-program' cannot be unbound.
13046 * calendar/appt.el (appt-make-list): Simplify.
13047 (appt-time-msg-list): Doc fix.
13048 (appt-check): Change mode-line message at the time of the appointment.
13050 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13052 * progmodes/ld-script.el (ld-script-keywords)
13053 (ld-script-builtins): Update keywords list.
13055 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13057 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13059 * shell.el (shell-completion-vars): New function.
13061 * simple.el (read-shell-command): Use it.
13062 (blink-matching-open): No need for " [...]" in minibuffer-message.
13064 2011-05-12 Glenn Morris <rgm@gnu.org>
13066 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13067 (appt-check): Simplify.
13069 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13071 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13072 literal "/dev/null".
13074 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13076 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13079 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13081 * progmodes/which-func.el (which-function):
13082 Use add-log-current-defun instead of add-log-current-defun-function,
13083 which might not be defined (Bug#8260).
13085 2011-05-12 Glenn Morris <rgm@gnu.org>
13087 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13088 Let byte-compile-initial-macro-environment always take precedence.
13090 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13092 * net/rcirc.el: Add support for SSL/TLS connections.
13093 (rcirc-server-alist): New field `encryption'.
13094 (rcirc): Check `encryption' settings.
13095 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13096 Merge make-local-variable into `set'.
13097 (rcirc--connection-open-p): New function.
13098 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13099 the process is not a network process (e.g. running gnutls-cli).
13100 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13101 Make rcirc-(en|de)code-coding-system local here.
13102 (rcirc-mode): Merge make-local-variable into `set'.
13103 (rcirc-parent-buffer): Make permanent buffer-local.
13104 (rcirc-multiline-minor-mode): Don't do it here.
13105 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13106 there's no server buffer.
13108 2011-05-11 Glenn Morris <rgm@gnu.org>
13110 * newcomment.el (comment-kill): Prefix "unused" local.
13112 * term/w32console.el (get-screen-color): Declare.
13114 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13115 Handle symbol elements of byte-compile-initial-macro-environment.
13117 2011-05-10 Leo Liu <sdl.web@gmail.com>
13119 * bookmark.el (bookmark-bmenu-mode-map):
13120 Bind bookmark-bmenu-search to `/'.
13122 * mail/footnote.el: Convert to utf-8 encoding.
13123 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13124 (Footnote-unicode): New function.
13125 (footnote-style-alist): Add unicode style to the list.
13126 (footnote-style): Doc fix.
13128 2011-05-10 Jim Meyering <meyering@redhat.com>
13130 Fix doubled-word typos.
13131 * international/quail.el (quail-insert-kbd-layout): and and -> and
13132 * kermit.el: and and -> and
13133 * net/ldap.el (ldap-search-internal): to to -> to
13134 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13135 * progmodes/js.el (js-mode): and and -> and
13136 * textmodes/artist.el (artist-move-to-xy): at at -> at
13137 (artist-draw-region-trim-line-endings): if if -> if
13138 And Safetyc -> Safety.
13139 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13141 2011-05-10 Glenn Morris <rgm@gnu.org>
13142 Stefan Monnier <monnier@iro.umontreal.ca>
13144 * files.el (hack-one-local-variable-eval-safep):
13145 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13147 2011-05-10 Glenn Morris <rgm@gnu.org>
13149 * calendar/diary-lib.el (diary-list-entries-hook)
13150 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13151 (diary-nongregorian-marking-hook, diary-list-entries)
13152 (diary-include-other-diary-files, diary-mark-entries)
13153 (diary-mark-included-diary-files): Doc fixes.
13155 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13157 * misc.el: Require tabulated-list.el during compilation.
13159 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13161 * progmodes/compile.el (compilation-start):
13162 Run compilation-filter-hook for the async case too.
13163 (compilation-filter-hook): Doc fix.
13165 2011-05-09 Deniz Dogan <deniz@dogan.se>
13167 * wdired.el: Remove outdated installation comment. Fix usage
13170 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13172 * misc.el: Implement new command `list-dynamic-libraries'.
13173 (list-dynamic-libraries--loaded-only-p): New variable.
13174 (list-dynamic-libraries--refresh): New function.
13175 (list-dynamic-libraries): New command.
13177 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13179 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13180 Fix the ant regexp to handle end-line and end-column info from jikes.
13181 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13182 higher priority to avoid clobbering by gnu.
13184 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13186 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13187 if the face has existing theme settings (Bug#8454).
13189 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13191 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13192 Only match variables declared via `my' or `our' (Bug#8261).
13194 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13195 special file names `.' and `..' (Bug#8259).
13197 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13199 * progmodes/grep.el (grep-mode-font-lock-keywords):
13200 Remove buffer-changing entries.
13201 (grep-filter): New function.
13202 (grep-mode): Add it to compilation-filter-hook.
13204 * progmodes/compile.el (compilation-filter-hook)
13205 (compilation-filter-start): New defvars.
13206 (compilation-filter): Call compilation-filter-hook prior to
13207 updating the process mark.
13209 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13211 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13213 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13215 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13216 mailclient-send-it even if window-system is nil. (Bug#8595)
13218 * term/w32console.el (terminal-init-w32console):
13219 Call get-screen-color and use its output to set the frame
13220 background-mode. (Bug#8597)
13222 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13224 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13225 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13227 (defgeneric, eieio--defmethod): Use them.
13228 (eieio-defgeneric): Remove.
13229 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13231 2011-05-07 Glenn Morris <rgm@gnu.org>
13233 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13234 Use let rather than let*.
13235 (timeclock-find-discrep): Remove unused local.
13237 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13239 * calendar/appt.el (appt-time-msg-list): Doc fix.
13241 2011-05-06 Noah Friedman <friedman@splode.com>
13243 * apropos.el (apropos-print-doc): Only use
13244 emacs-lisp-docstring-fill-column when it is bound to an integer,
13245 per that variable's documentation.
13247 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13249 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13250 and warnings are not silently discarded (e.g. use -d instead of -P).
13252 2011-05-06 Glenn Morris <rgm@gnu.org>
13254 * calendar/appt.el (appt-message-warning-time): Doc fix.
13255 (appt-warning-time-regexp): New option.
13256 (appt-make-list): Respect appt-message-warning-time.
13258 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13260 (diary-add-to-list): Strip comments from the displayed string.
13261 (diary-mode): Set comment-start and comment-end.
13263 * vc/diff-mode.el (smerge-refine-subst): Declare.
13264 (diff-refine-hunk): Don't require smerge-mode when compiling.
13266 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13268 * simple.el (list-processes): Return nil as the docstring says.
13270 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13272 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13274 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13275 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13276 determining of binary transfer. (Bug#7383)
13278 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13280 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13281 Fix port computation bug. (Bug#8618)
13283 2011-05-05 Glenn Morris <rgm@gnu.org>
13285 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13287 * simple.el (shell-dynamic-complete-functions)
13288 (comint-dynamic-complete-functions): Declare.
13290 * net/network-stream.el (gnutls-negotiate):
13291 * simple.el (tabulated-list-print): Fix declarations.
13293 * progmodes/gud.el (syntax-symbol, syntax-point):
13294 Remove unnecessary and incorrect declarations.
13296 * emacs-lisp/check-declare.el (check-declare-scan):
13297 Handle byte-compile-initial-macro-environment in bytecomp.el
13299 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13301 Fix earlier half-done eieio-defmethod change (bug#8338).
13302 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13303 Streamline and change calling convention.
13304 (defmethod): Adjust accordingly and simplify.
13305 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13306 new eieio--defmethod.
13307 (slot-boundp): Minor CSE simplification.
13309 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13311 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13312 (glasses-make-readable): Use glasses-separate-capital-groups.
13314 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13316 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13317 (warning-series): Doc fix.
13318 (display-warning): Don't try to create the buffer if we just found it.
13320 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13322 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13323 (autoload-find-generated-file): New function.
13324 (generate-file-autoloads): Bind generated-autoload-file to
13326 (update-file-autoloads, update-directory-autoloads):
13327 Use autoload-find-generated-file. If called interactively, prompt for
13328 output file (Bug#7989).
13329 (batch-update-autoloads): Doc fix.
13331 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13333 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13335 2011-05-04 Glenn Morris <rgm@gnu.org>
13337 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13338 function, so it follows changes in calendar-date-style.
13339 (diary-fancy-date-matcher): New function.
13340 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13341 (diary-fancy-font-lock-fontify-region-function):
13342 Use diary-fancy-date-pattern as a function.
13344 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13345 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13347 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13349 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13350 instead of positional arguments. Allow :keylist and :crlfiles
13352 (open-gnutls-stream): Call it.
13354 * net/network-stream.el (network-stream-open-starttls): Adjust to
13355 call `gnutls-negotiate' with :process and :hostname arguments.
13357 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13359 * minibuffer.el (completion--message): New function.
13360 (completion--do-completion, minibuffer-complete)
13361 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13362 (completion--do-completion): Don't ignore completion-auto-help when in
13365 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13366 internal encoding (e.g. tibetan zero is not whitespace).
13367 (global-whitespace-mode): Prefer save-current-buffer.
13368 (whitespace-trailing-regexp): Remove useless save-match-data.
13369 (whitespace-empty-at-bob-regexp): Minor simplification.
13371 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13373 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13375 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13377 * textmodes/ispell.el (ispell-add-per-file-word-list):
13378 Use `concat' to create string for insertion.
13380 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13382 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13383 Avoid open-line which runs post-self-insert-hook.
13384 (bibtex-fill-entry): Remove unused `end' var.
13386 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13388 * textmodes/ispell.el (ispell-add-per-file-word-list):
13389 Protect against `nil' value of `comment-start' (Bug#8579).
13391 2011-05-03 Leo Liu <sdl.web@gmail.com>
13393 * isearch.el (isearch-yank-pop): New command.
13394 (isearch-mode-map): Bind it to `M-y'.
13395 (isearch-forward): Mention it.
13397 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13399 * simple.el (minibuffer-complete-shell-command): Remove.
13400 (minibuffer-local-shell-command-map): Use completion-at-point.
13401 (read-shell-command): Setup completion vars here instead.
13402 (read-expression-map): Bind TAB to symbol completion.
13404 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13405 error directly rather via storing it into `results'.
13407 2011-05-02 Leo Liu <sdl.web@gmail.com>
13409 * vc/diff.el: Fix description.
13411 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13413 * server.el (server-eval-at): New function.
13415 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13417 * net/network-stream.el (open-network-stream): Take a :nowait
13418 parameter and pass it on to `make-network-process'.
13419 (network-stream-open-plain): Ditto.
13421 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13423 * faces.el (face-spec-set-match-display): Don't match toolkit
13424 options on terminal frames.
13426 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13428 * progmodes/pascal.el: Use lexical binding.
13429 (pascal-mode-map): Remove author preferences.
13431 * pcomplete.el (pcomplete-std-complete): Don't abuse
13432 completion-at-point.
13434 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13436 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13437 removing code that has been dead since 1991 or so.
13439 * startup.el (command-line): When warning about "_emacs", use a
13440 delayed warning to allow the user to filter it out.
13442 2011-04-28 Deniz Dogan <deniz@dogan.se>
13444 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13445 user has not joined.
13447 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13449 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13450 aren't any completions at point.
13452 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13454 * subr.el (display-delayed-warnings): New function.
13455 (delayed-warnings-hook): New variable.
13457 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13459 * minibuffer.el (completion-at-point, completion-help-at-point):
13460 Don't presume that a given completion-at-point-function will always
13461 use the same calling convention.
13463 * pcomplete.el (pcomplete-completions-at-point):
13464 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13465 pcomplete-seen is non-nil.
13466 (pcomplete-comint-setup): Also recognize the new comint/shell
13467 completion functions.
13468 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13469 pcomplete-seen is non-nil.
13471 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13473 * calendar/icalendar.el (diary-lib): Add require statement.
13474 (icalendar--create-uid): Read out a uid from a text-property on
13475 the first character in the entry. This allows for code to add its
13476 own uid to the entry.
13477 (icalendar--convert-float-to-ical): Add export of
13478 `diary-float'-entries save for those with the optional DAY
13481 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13483 * subr.el (shell-quote-argument): Use alternate escaping strategy
13484 when we spot a variable reference in a string.
13486 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13488 * cus-start.el (all): Define customization for debug-on-event.
13490 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13492 * subr.el (shell-quote-argument): Escape correctly under Windows.
13494 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13496 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13498 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
13500 * net/tramp.el (tramp-process-actions): Add POS argument.
13501 Delete region between POS and (pos).
13503 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13504 Use `nil' position in `tramp-process-actions' call.
13505 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13507 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13508 position in `tramp-process-actions' call.
13510 * net/trampver.el: Update release number.
13512 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13514 * custom.el (defcustom): Obey lexical-binding.
13516 Fix octave-inf completion problems reported by Alexander Klimov.
13517 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13518 Inherit from octave-mode-syntax-table.
13519 (inferior-octave-mode): Set info-lookup-mode.
13520 (inferior-octave-completion-at-point): New function.
13521 (inferior-octave-complete): Use it and completion-in-region.
13522 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13523 comint-filename-completion.
13524 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13525 symbol elements which shouldn't be word elements.
13526 (octave-font-lock-keywords, octave-beginning-of-defun)
13527 (octave-function-header-regexp): Adjust regexps accordingly.
13528 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13530 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13532 * net/gnutls.el (gnutls-errorp): Declare before first use.
13534 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13536 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13537 verify-error, and verify-hostname-error parameters. Check whether
13538 default trustfile exists before going to use it. Add missing
13539 argument to gnutls-message-maybe call. Return value.
13540 Reported by Claudio Bley <claudio.bley@gmail.com>.
13541 (open-gnutls-stream): Add usage example.
13543 * net/network-stream.el (network-stream-open-starttls): Give host
13544 parameter to `gnutls-negotiate'.
13545 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13546 * subr.el (shell-quote-argument): Escape correctly under Windows.
13548 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13550 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13551 Use correct match group (bug#8438).
13553 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13555 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13556 (package-menu--generate): New arg specifying packages to show.
13557 (package-menu-refresh, package-menu-execute, list-packages):
13559 (package-show-package-list): New function, replacing deleted
13560 package--list-packages (renamed because it is non-internal).
13562 * finder.el (finder-list-matches): Use package-show-package-list
13563 instead of deleted package--list-packages.
13565 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13566 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13567 (vc-annotate-mode-map): Bind it to RET.
13569 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13571 * progmodes/etags.el (next-file): Don't use set-buffer to change
13572 buffers (Bug#8478).
13574 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13576 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13578 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13579 (apropos-accumulator): Doc fix.
13580 (apropos-function, apropos-macro, apropos-command)
13581 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13582 (apropos-plist): Add face property.
13583 (apropos-symbols-internal): Fix indentation.
13584 (apropos-print): Simplify help, and recognize apropos-multi-type.
13585 (apropos-print-doc): Use button-type-get to extract the button's
13586 face property. Fill docstring (Bug#8352).
13588 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13590 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13592 * play/mpuz.el (mpuz-silent): Doc fix.
13593 (mpuz-mode-map): Use mapc.
13594 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13595 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13596 Fix typos in docstrings.
13598 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13599 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13601 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13603 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13605 * minibuffer.el (completion--do-completion): Avoid the "Next char
13606 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13608 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13609 mouse-2 into unread-command-events, it is interpreted correctly.
13611 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13612 (image-toggle-display): Doc fix.
13614 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13616 * textmodes/page.el (what-page): Use line-number-at-pos to
13617 calculate line number (Bug#6825).
13619 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13621 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13622 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13623 Pass argument NO-DEFAULT to `find-tag-interactive'.
13625 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13627 Lexical-binding cleanup.
13629 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13630 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13631 * progmodes/ada-prj.el (ada-prj-initialize-values)
13632 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13633 (ada-prj-show-value):
13634 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13635 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13636 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13637 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13638 * progmodes/bug-reference.el (bug-reference-push-button):
13639 * progmodes/fortran.el (fortran-line-length):
13640 * progmodes/glasses.el (glasses-change):
13641 * progmodes/octave-mod.el (octave-fill-paragraph):
13642 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13643 (python-pdbtrack-grub-for-buffer, python-sentinel):
13644 * progmodes/sql.el (sql-save-connection):
13645 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13646 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13647 Mark unused parameters.
13649 * progmodes/compile.el (compilation--flush-directory-cache)
13650 (compilation--flush-parse, compile-internal): Mark unused parameters.
13651 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13652 (compilation-next-error-function): Remove unused variable `timestamp'.
13654 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13655 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13657 * progmodes/dcl-mode.el (dcl-end-of-command):
13658 Remove unused variable `start'.
13659 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13660 (dcl-option-value-basic, dcl-option-value-offset)
13661 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13662 Mark unused parameters.
13663 (dcl-save-local-variable): Remove unused variable `val'.
13666 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13667 Mark unused parameters.
13668 (delphi-ignore-changes): Move before first use.
13669 (delphi-charset-token-at): Remove unused variable `start'.
13670 (delphi-else-start): Remove unused variable `if-count'.
13671 (delphi-comment-block-start, delphi-comment-block-end):
13672 Remove unused variable `kind'.
13673 (delphi-indent-line): Remove unused variable `new-point'.
13675 * progmodes/ebrowse.el (ebrowse-files-list)
13676 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13677 Mark unused parameters. Don't quote `lambda'.
13678 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13679 Don't quote `lambda'.
13680 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13681 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13682 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13683 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13684 Use `ignore-errors'.
13685 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13686 (ebrowse-view/find-file-and-search-pattern)
13687 (ebrowse-view/find-member-declaration/definition):
13688 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13689 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13690 Rename parameter PREFIX-ARG to PREFIX.
13691 (ebrowse-tags-read-name): Remove unused variables `start' and
13693 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13696 * progmodes/etags.el (local-find-tag-hook): Declare.
13697 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13698 Mark unused parameters.
13700 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13701 (executable-interpret): Mark unused parameter.
13703 * progmodes/flymake.el (flymake-process-sentinel)
13704 (flymake-after-change-function)
13705 (flymake-create-temp-with-folder-structure)
13706 (flymake-get-include-dirs-dot): Mark unused parameters.
13707 (flymake-safe-delete-directory): Remove unused variable `err'.
13709 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13710 (speedbar-timer-fn, speedbar-line-text)
13711 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13712 (speedbar-center-buffer-smartly): Declare functions.
13713 (gdb-find-watch-expression): Remove unused variable `array'.
13714 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13715 (gdb-starting): Mark unused parameters.
13716 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13717 (gdb-table-string): Remove unused variable `res'.
13718 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13719 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13720 (gdb-display-buffer): Remove unused variable `cur-size'.
13722 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13723 allow lexical-binding compilation.
13724 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13725 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13726 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13727 Mark unused parameters.
13728 (gud-gdb-marker-filter): Remove unused variable `match'.
13729 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13730 lambda expressions and funcall them, instead of using `fset'.
13732 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13733 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13735 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13736 variable `header-beg'; use `let'.
13738 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13739 `restart', `last-sexp' and `at-do'.
13741 * progmodes/js.el (js--debug): Mark unused parameter.
13742 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13743 (js--splice-into-items): Remove unused variable `item'.
13744 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13746 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13747 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13748 (makefile-complete): Remove unused variable `try'.
13749 (makefile-fill-paragraph, makefile-match-function-end):
13750 Mark unused parameters.
13752 * progmodes/octave-inf.el (inferior-octave-complete):
13753 Remove unused variable `proc'.
13754 (inferior-octave-output-digest): Mark unused parameter.
13756 * progmodes/perl-mode.el (perl-calculate-indent):
13757 Remove unused variable `err'.
13759 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13760 (prolog-indent-line): Mark unused parameters.
13761 (prolog-indent-line): Remove unused variable `beg'.
13763 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13764 (reporter-dont-compact-list): Declare.
13766 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13767 Remove unused variable `char'.
13768 (sh-debug): Mark unused parameter.
13769 (sh-get-indent-info): Remove unused variable `start'.
13770 (sh-calculate-indent): Remove unused variable `var'.
13772 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13773 (simula-electric-keyword): Remove unused variable `null'.
13774 (simula-search-backward, simula-search-forward): Remove unused
13775 variables `begin' and `end'.
13777 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13778 Remove unused variable `pos'.
13779 (vera-electric-tab, vera-comment-uncomment-region):
13780 Mark unused parameters.
13781 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13783 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13785 * emacs-lisp/package.el (package--builtins, package-alist)
13786 (package-load-descriptor, package-built-in-p, package-activate)
13787 (define-package, package-installed-p)
13788 (package-compute-transaction, package-buffer-info)
13789 (package--push): Doc fix. Distinguish more clearly between
13790 version strings and version lists.
13792 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13794 Lexical-binding cleanup.
13796 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13797 (5x5-make-mutate-best):
13798 * play/fortune.el (fortune-in-buffer):
13799 * play/gomoku.el (gomoku-init-display):
13800 * play/solitaire.el (solitaire, solitaire-do-check):
13801 * play/tetris.el (tetris-default-update-speed-function):
13802 Mark unused parameters.
13804 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13805 (bubbles--shift): Remove unused variable `char-org'.
13806 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13807 (bubbles--show-images): Remove unused variable `char'.
13809 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13810 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13811 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13812 (decipher-analyze-buffer): Use ?\s.
13813 (decipher-make-checkpoint): Remove unused variable `mapping'.
13815 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13817 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13818 Remove unused variable `result'; use `let'.
13820 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13821 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13822 (gametree-children-shown-p, gametree-compute-reduced-score):
13823 Use `ignore-errors'.
13825 * play/handwrite.el (ps-lpr-switches): Declare.
13826 (handwrite): Remove unused variables `pmin' and `lastp'.
13828 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13830 * play/landmark.el (landmark-init-display)
13831 (landmark-update-naught-weights): Mark unused parameters.
13832 (landmark-y): Remove unused variable `noise'. Simplify.
13833 (landmark-human-plays): Remove unused variable `score'.
13835 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13836 (mpuz-try-proposal): Remove unused variable `game'.
13838 * play/zone.el (life-patterns): Declare.
13840 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13842 * vc/vc.el (ediff-vc-internal): Declare function.
13844 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13846 * shell.el: Use lexical-binding and std completion UI.
13847 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13848 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13849 comint-preoutput-filter-functions rather than on
13850 comint-output-filter-functions.
13851 (shell-command-completion, shell--command-completion-data)
13852 (shell-filename-completion, shell-environment-variable-completion)
13853 (shell-c-a-p-replace-by-expanded-directory): New functions.
13854 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13855 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13856 (shell-dynamic-complete-environment-variable): Use them.
13857 (shell-dynamic-complete-as-environment-variable)
13858 (shell-dynamic-complete-as-command): Remove.
13859 (shell-match-partial-variable): Match past point.
13860 * comint.el: Clean up use of completion-at-point-functions.
13861 (comint-completion-at-point): New function.
13862 (comint-mode): Use it completion-at-point-functions.
13863 (comint-dynamic-complete): Make it obsolete.
13864 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13865 (comint-c-a-p-replace-by-expanded-history): New function.
13866 (comint-dynamic-complete-functions)
13867 (comint-replace-by-expanded-history): Use it.
13868 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13869 termination strings. Try harder to avoid second try-completion.
13870 (completion-in-region-mode-map): Disable bindings that don't work yet.
13872 * comint.el: Use lexical-binding. Require CL.
13873 (comint-dynamic-complete-functions): Use comint-filename-completion.
13874 (comint-completion-addsuffix): Tweak custom type.
13875 (comint-filename-completion, comint--common-suffix)
13876 (comint--common-quoted-suffix, comint--table-subvert)
13877 (comint--complete-file-name-data): New functions.
13878 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13879 (comint-dynamic-list-filename-completions): Use them.
13880 (comint-dynamic-simple-complete): Make obsolete.
13882 * minibuffer.el (completion-in-region-mode):
13883 Keep completion-in-region-mode--predicate global.
13884 (completion-in-region--postch):
13885 Assume completion-in-region-mode--predicate is not null.
13887 * progmodes/flymake.el (flymake-start-syntax-check-process):
13888 Obey `dir'. Simplify.
13890 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13891 we're in VC after all.
13893 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13895 * vc/vc.el (vc-diff-build-argument-list-internal)
13896 (vc-version-ediff, vc-ediff): New commands.
13897 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13899 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13901 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13904 * obsolete/erc-hecomplete.el: Make obsolete.
13905 * obsolete/: Standardize obsolescence info in the header.
13907 2011-04-20 Glenn Morris <rgm@gnu.org>
13909 * calendar/solar.el (solar-horizontal-coordinates):
13910 Use the longitude argument rather than `calendar-longitude'.
13911 (solar-date-next-longitude): Remove unused locals.
13913 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13915 * whitespace.el: New version 13.2.1.
13917 2011-04-20 felix <EmacsWiki> (tiny change)
13919 * whitespace.el (global-whitespace-mode): Keep highlight when
13920 switching between major modes on a file.
13922 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13924 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13925 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13926 multi-line comments as well.
13928 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13930 Lexical-binding cleanup.
13932 * arc-mode.el (archive-mode-revert):
13933 * cmuscheme.el (scheme-interactively-start-process):
13934 * custom.el (custom-initialize-delay):
13935 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13936 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13937 * emacs-lock.el (emacs-lock-clear-sentinel):
13938 * ezimage.el (defezimage):
13939 * follow.el (follow-avoid-tail-recenter):
13940 * fringe.el (set-fringe-mode-1):
13941 * generic-x.el (bat-generic-mode-compile):
13942 * help-mode.el (help-info-variable, help-do-xref)
13943 (help-mode-revert-buffer):
13944 * help.el (view-emacs-todo):
13945 * iswitchb.el (iswitchb-completion-help):
13946 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13947 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13948 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13949 * locate.el (locate-update):
13950 * longlines.el (longlines-encode-region)
13951 (longlines-after-change-function):
13952 * outline.el (outline-isearch-open-invisible):
13953 * ps-def.el (declare-function, charset-dimension, char-width)
13955 * ps-mule.el (ps-mule-plot-string):
13956 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13957 (recentf-edit-list-select, recentf-edit-list-validate)
13958 (recentf-open-files-action):
13959 * rect.el (delete-whitespace-rectangle-line)
13960 (rectangle-number-line-callback):
13961 * register.el (window-configuration-to-register)
13962 (frame-configuration-to-register):
13963 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13964 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13965 (xselect-convert-to-targets, xselect-convert-to-delete)
13966 (xselect-convert-to-filename, xselect-convert-to-charpos)
13967 (xselect-convert-to-lineno, xselect-convert-to-colno)
13968 (xselect-convert-to-os, xselect-convert-to-host)
13969 (xselect-convert-to-user, xselect-convert-to-class)
13970 (xselect-convert-to-name, xselect-convert-to-integer)
13971 (xselect-convert-to-atom, xselect-convert-to-identity):
13972 * subr.el (declare, ignore, process-kill-without-query)
13973 (text-clone-maintain):
13974 * terminal.el (te-get-char, te-tic-sentinel):
13975 * tool-bar.el (tool-bar-make-keymap):
13976 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13977 * type-break.el (type-break-mode, type-break-noninteractive-query):
13978 * view.el (View-back-to-mark):
13979 * wid-browse.el (widget-browse-action, widget-browse-widget)
13980 (widget-browse-widgets, widget-browse-sexp):
13981 * widget.el (define-widget-keywords):
13982 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13983 Mark unused parameters.
13985 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13986 (align-areas): Remove unused variable `look'.
13987 (align-region): Remove unused variables `real-end' and `pos-list'.
13989 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13991 * bindings.el (mode-line-modified, mode-line-remote):
13992 Mark unused parameters.
13993 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13995 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13996 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13998 * comint.el (comint-history-isearch-pop-state)
13999 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14000 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14001 (comint-substitute-in-file-name): Doc fix.
14003 * completion.el (cmpl-statistics-block): Mark unused parameter.
14004 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14005 (save-completions-to-file, load-completions-from-file):
14006 Remove unused local variable `e'.
14008 * composite.el (compose-chars): Remove unused variable `len'.
14009 (lgstring-insert-glyph): Remove unused variable `g'.
14010 (compose-glyph-string): Remove unused variables `ascent',
14011 `descent', `lbearing' and `rbearing'.
14012 (compose-glyph-string-relative): Remove unused variables
14013 `lbearing', `rbearing' and `wadjust'.
14014 (compose-gstring-for-graphic): Remove unused variables `header',
14015 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14016 (compose-gstring-for-terminal): Remove unused variables `header'
14017 and `nchars'. Use `let', not `let*'.
14019 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14020 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14021 (Custom-buffer-done, custom-buffer-create-internal)
14022 (custom-browse-visibility-action, custom-browse-group-tag-action)
14023 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14024 (widget-magic-mouse-down-action, custom-toggle-parent)
14025 (custom-add-parent-links, custom-toggle-hide-variable)
14026 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14027 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14028 (custom-face-menu-create, custom-variable-menu-create, get)
14029 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14030 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14031 (customize-apropos): Remove unused variable `tests'.
14032 (custom-group-value-create): Remove unused variable `hidden-p'.
14033 (sort-fold-case): Declare.
14035 * cus-theme.el (custom-reset-standard-faces-list)
14036 (custom-reset-standard-variables-list): Declare.
14037 (customize-create-theme, custom-theme-revert, custom-theme-write)
14038 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14039 Mark unused parameters.
14041 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14043 * delim-col.el (delimit-columns-max): Move defvar before first use.
14045 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14046 (describe-char): Don't quote `lambda'. Mark unused parameter.
14048 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14049 (auto-insert): Declare.
14050 (desktop-restore-file-buffer): Rename desktop-* parameters;
14052 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14053 (desktop-buffer): Rename desktop-* parameters.
14055 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14056 (dframe-reposition-frame-xemacs, dframe-help-echo)
14057 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14058 Mark unused parameters.
14060 * dired-aux.el (backup-extract-version-start, overwrite-query)
14061 (overwrite-backup-query, rename-regexp-query)
14062 (rename-non-directory-query): Declare.
14063 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14064 (dired-add-entry): Remove unused variable `orig-file-name'.
14065 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14066 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14067 `dired-copy-preserve-time' directly.
14068 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14069 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14071 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14072 (dired-virtual-revert, dired-make-relative-symlink):
14073 Mark unused parameters.
14074 (manual-program): Declare.
14075 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14076 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14077 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14079 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14081 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14083 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14086 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14088 * electric.el (Electric-command-loop): Rename parameter
14089 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14091 * expand.el (expand-in-literal): Remove unused variable `here'.
14093 * facemenu.el (facemenu-add-new-color):
14094 Remove unused variable `docstring'.
14096 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14097 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14098 (face-attr-construct): Mark unused parameter. Doc fix.
14099 (read-color): Remove unused variable `hex-string'.
14101 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14102 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14103 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14104 (display-buffer-other-frame): Remove unused variable `old-window'.
14105 (kill-buffer-hook): Declare.
14106 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14107 Mark unused parameters.
14108 (after-find-file): Pass 1 to `auto-save-mode', not t.
14110 * files-x.el (auto-insert): Declare.
14111 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14113 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14114 variable `buf'. Mark unused parameter.
14115 (find-lisp-insert-directory): Mark unused parameter.
14117 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14118 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14119 (format-common-tail): Remove, unused.
14120 (format-deannotate-region): Remove unused variable `loc'.
14121 (format-annotate-region): Remove unused variable `p'.
14122 (format-annotate-single-property-change): Remove unused variables
14123 `default' and `tail'.
14125 * forms.el (read-file-filter): Declare.
14126 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14128 * frame.el (frame-creation-function-alist): Mark unused parameter.
14129 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14131 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14132 Remove unused parameters.
14133 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14134 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14136 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14137 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14138 (hfy-prepare-tag-map): Mark unused parameters.
14139 (htmlfontify-buffer): Use `called-interactively-p'.
14141 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14142 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14143 (ibuffer-do-occur): Mark unused parameters.
14144 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14145 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14147 * ibuffer.el: Don't quote `lambda'.
14148 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14149 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14150 Mark unused parameters.
14152 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14153 (ido-completing-read): Mark unused parameters.
14154 (ido-copy-current-word): Mark unused parameters;
14155 remove unused variable `name'.
14156 (ido-sort-merged-list): Remove unused parameter `dirs'.
14158 * ielm.el (ielm-input-sender): Mark unused parameter.
14159 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14160 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14161 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14162 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14163 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14165 * image-dired.el (image-dired-display-thumbs): Remove unused
14166 variables `curr-file' and `count'.
14167 (image-dired-remove-tag): Remove unused variable `start'.
14168 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14169 variable `curr-file'
14170 (image-dired-rotate-original): Remove unused variable `temp-file'.
14171 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14172 Remove unused variable `file'.
14173 (image-dired-gallery-generate): Remove unused variable `curr'.
14174 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14176 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14178 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14180 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14182 * isearch.el (minibuffer-history-symbol): Declare.
14183 (isearch-edit-string): Remove unused variable `err'.
14184 (isearch-message-prefix, isearch-message-suffix):
14185 Mark unused parameters.
14187 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14189 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14191 * makesum.el (double-column): Remove unused variable `cnt'.
14193 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14194 (ido-ignore-item-temp-list): Declare.
14196 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14197 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14198 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14199 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14202 * mouse-sel.el (mouse-extend-internal):
14203 Remove unused variable `orig-window-frame'.
14205 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14206 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14207 Move declarations before first use.
14208 (pcomplete-opt): Mark unused parameters; doc fix.
14210 * proced.el (proced-revert): Mark unused parameter.
14211 (proced-send-signal): Remove unused variable `err'.
14213 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14214 Rename parameter PREFIX-ARG to ARG.
14215 (ps-basic-plot-string, ps-basic-plot-whitespace):
14216 Mark unused parameters.
14218 * replace.el (replace-count): Define.
14219 (occur-revert-function): Mark unused parameters.
14220 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14221 (isearch-case-fold-search, isearch-string): Declare.
14222 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14223 bind `case-fold-search'. Remove unused variables `beg' and `end',
14225 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14226 COUNT and bind `replace-count'.
14227 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14230 * savehist.el (print-readably, print-string-length): Declare.
14232 * shadowfile.el (shadow-expand-cluster-in-file-name):
14233 Remove unused variable `cluster'.
14234 (shadow-copy-file): Remove unused variable `i'.
14235 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14236 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14237 (shadow-define-literal-group, shadow-define-regexp-group)
14238 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14240 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14241 (shell): Use `called-interactively-p'.
14242 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14244 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14245 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14246 (delete-backward-char): Remove unused variable `ocol'.
14247 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14248 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14249 (event-apply-hyper-modifier, event-apply-shift-modifier)
14250 (event-apply-control-modifier, event-apply-meta-modifier):
14251 Mark unused parameters.
14252 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14253 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14255 * speedbar.el (speedbar-ignored-directory-expressions)
14256 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14257 (speedbar-find-file, speedbar-dir-follow)
14258 (speedbar-directory-buttons-follow, speedbar-tag-find)
14259 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14260 (speedbar-buffers-line-directory, speedbar-buffer-click):
14261 Mark unused parameters.
14262 (speedbar-tag-file): Remove unused variable `mode'.
14263 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14265 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14267 * talk.el (talk): Remove unused variable `display'.
14269 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14270 (tar-write-region-annotate): Mark unused parameter.
14272 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14273 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14274 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14275 warning by another.
14277 * time-stamp.el (time-stamp-string-preprocess):
14278 Remove unused variable `require-padding'.
14280 * tree-widget.el (widget-glyph-enable): Declare.
14281 (tree-widget-action): Mark unused parameter.
14283 * w32-fns.el (x-get-selection): Mark unused parameter.
14284 (autoload-make-program, generated-autoload-file): Declare.
14286 * wdired.el (wdired-revert): Mark unused parameters.
14287 (wdired-xcase-word): Remove unused variable `err'.
14289 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14290 (whitespace-help-scroll): Remove unused variable `data-help'.
14292 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14293 (widget-image-insert, widget-after-change, default)
14294 (widget-default-format-handler, widget-default-notify)
14295 (widget-default-prompt-value, widget-info-link-action)
14296 (widget-url-link-action, widget-function-link-action)
14297 (widget-variable-link-action, widget-file-link-action)
14298 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14299 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14300 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14301 (widget-insert-button-action, widget-delete-button-action, visibility)
14302 (widget-documentation-link-action, widget-documentation-string-action)
14303 (widget-const-prompt-value, widget-regexp-match, symbol)
14304 (widget-coding-system-prompt-value)
14305 (widget-key-sequence-value-to-external, sexp)
14306 (widget-sexp-value-to-internal, character, vector, cons)
14307 (widget-choice-prompt-value, widget-boolean-prompt-value)
14308 (widget-color--choose-action): Mark unused parameters.
14309 (widget-item-match-inline, widget-choice-match-inline)
14310 (widget-checklist-match, widget-checklist-match-inline)
14311 (widget-group-match): Rename parameter VALUES to VALS.
14312 (widget-field-value-set): Remove unused variable `size'.
14313 (widget-color-action): Remove unused variables `value' and `start'.
14315 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14316 variable `dir'. Doc fix.
14317 (windmove-find-other-window): Don't pass it.
14319 * window.el (count-windows): Mark unused parameter.
14320 (bw-adjust-window): Remove unused variable `err'.
14322 * woman.el (woman-file-name): Remove unused variable `default'.
14323 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14324 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14325 (global-font-lock-mode): Declare.
14326 (woman-decode-region): Mark unused parameter.
14327 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14329 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14330 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14331 (x-dnd-handle-moz-url): Remove unused variable `title'.
14332 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14334 * xml.el (xml-parse-tag, xml-parse-attlist):
14335 Remove unused variable `pos'.
14337 2011-04-19 Glenn Morris <rgm@gnu.org>
14339 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14340 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14341 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14342 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14343 * calendar/cal-html.el (cal-html-insert-minical):
14344 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14345 (calendar-mark-date-pattern):
14346 Prefix "unused" locals.
14348 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14349 optional argument `style'.
14351 * calendar/appt.el (appt-make-list):
14352 * calendar/cal-china.el (calendar-chinese-date-string):
14353 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14354 (diary-hebrew-yahrzeit):
14355 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14356 * calendar/calendar.el (calendar-generate-window):
14357 * calendar/time-date.el (time-to-days):
14358 Remove unused local variables.
14360 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14362 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14363 glyphless-char-display table.
14364 (tabulated-list-glyphless-char-display): New var.
14366 2011-04-18 Sam Steingold <sds@gnu.org>
14368 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14369 to acknowledgments.
14371 2011-04-17 Glenn Morris <rgm@gnu.org>
14373 * calendar/diary-lib.el (diary-sexp-entry):
14374 * calendar/holidays.el (holiday-sexp):
14375 Set debug-on-error rather than the removed stack-trace-on-error.
14377 2011-04-16 Glenn Morris <rgm@gnu.org>
14379 * progmodes/f90.el: Use lexical-binding.
14380 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14382 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14384 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14385 (mail-mode): Setup mailalias completion here instead.
14386 * mail/mailalias.el: Use lexical-binding.
14387 (pattern, mailalias-done): Declare dynamic.
14388 (mail-completion-at-point-function): New function, from mail-complete.
14389 (mail-complete): Use it.
14390 (mail-completion-expand): New function.
14391 (mail-get-names): Use it.
14392 (mail-directory, mail-directory-process, mail-directory-stream):
14393 Don't use `pattern' for lexically bound arg.
14395 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14397 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14398 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14399 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14401 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14402 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14403 (byte-interactive-p): Define them again, for use when inlining
14406 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14408 * loadup.el: Use `string-to-number', not `string-to-int'.
14410 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14412 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14413 gud-gdb-complete-command.
14414 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14415 (gud-gdb-completion-at-point): New function.
14416 (gud-gdb-completions): Remove.
14418 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14420 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14421 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14422 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14423 whether `executable-find' is bound.
14425 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14427 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14429 * minibuffer.el (completion-in-region-mode-predicate)
14430 (completion-in-region-mode--predicate): New vars.
14431 (completion-in-region, completion-in-region--postch)
14432 (completion-in-region-mode): Use them.
14433 (completion--capf-wrapper): Also return the hook function.
14434 (completion-at-point, completion-help-at-point):
14435 Adjust and provide a predicate.
14437 Preserve arg names for advice of subr and lexical functions (bug#8457).
14438 * help-fns.el (help-function-arglist): Consolidate the subr and
14439 new-byte-code cases. Add argument `preserve-names' to extract names
14440 from the docstring when needed.
14441 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14442 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14443 (ad-arglist): Use help-function-arglist's new arg.
14444 (ad-definition-type): Use cond.
14446 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14448 * autorevert.el (auto-revert-handler):
14449 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14450 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14451 Don't quote lambda.
14453 * image-mode.el (image-transform-set-scale):
14454 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14456 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14458 * net/network-stream.el (network-stream-open-starttls): Only do
14459 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14460 Upgrades via gnutls-cli are too slow to be done opportunistically.
14462 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14464 * dframe.el (dframe-current-frame): Remove spurious quote.
14466 2011-04-12 Glenn Morris <rgm@gnu.org>
14468 * calendar/cal-tex.el (cal-tex-end-document):
14469 Try to automatically use latin1 input if needed.
14471 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14472 Don't try to cons a mark onto an empty element.
14474 2011-04-11 Leo Liu <sdl.web@gmail.com>
14476 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14478 (ido-kill-buffer-at-head): Support killing virtual buffers.
14480 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14482 * minibuffer.el (completion-show-inline-help): New var.
14483 (completion--do-completion, minibuffer-complete)
14484 (minibuffer-force-complete, minibuffer-complete-word):
14485 Inhibit minibuffer messages if completion-show-inline-help is nil.
14487 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14488 to avoid interference from inline help (Bug#5849).
14490 2011-04-10 Leo Liu <sdl.web@gmail.com>
14492 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14495 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
14497 * image-mode.el (image-toggle-display-image): Signal an error if
14499 (image-transform-mode, image-transform-resize)
14500 (image-transform-set-rotation): Doc fix.
14501 (image-transform-set-resize): Delete.
14502 (image-transform-set-scale, image-transform-fit-to-height)
14503 (image-transform-fit-to-width): Handle image-toggle-display-image
14504 and image-transform-resize directly.
14506 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14508 * doc-view.el (doc-view-fit-width-to-window)
14509 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14510 New functions for fitting the shown image to the Emacs window size.
14511 (doc-view-mode-map): Add bindings for the new functions.
14513 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
14515 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14516 Fix typo in docstring.
14518 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14520 * files.el (file-size-human-readable): Produce one digit after
14521 decimal, like "ls -lh" does.
14523 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14524 the file size representation.
14526 * simple.el (list-processes): If async subprocesses are not
14527 available, error out with a clear error message.
14529 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14531 * help.el (help-form-show): New function, to be called from C.
14532 Put help-form output in a buffer named differently than *Help*.
14534 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14536 * files.el (file-size-human-readable): New function.
14538 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14539 computing the representation inline. Don't require `cl'.
14541 2011-04-08 Glenn Morris <rgm@gnu.org>
14543 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14545 * net/browse-url.el (browse-url-firefox):
14546 Test system-type, not system-configuration.
14548 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14549 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14550 Use log-edit-empty-buffer-p. (Bug#7598)
14552 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14553 (rlogin-mode-map): Initialize in the defvar.
14554 (rlogin): Use ignore-errors.
14556 * replace.el (occur-mode-map): Some fixes for menu items.
14558 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14560 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14562 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14564 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14565 issuing unused warnings.
14567 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14570 * simple.el: Lisp reimplement of list-processes. Based on an
14571 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14572 (process-menu-mode): New major mode.
14573 (list-processes--refresh, list-processes):
14574 (process-menu-visit-buffer): New functions.
14576 * files.el (save-buffers-kill-emacs): Don't assume any return
14577 value of list-processes, which is undocumented anyway.
14579 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14581 * emacs-lisp/tabulated-list.el: New file.
14583 * emacs-lisp/package.el: Use Tabulated List mode.
14584 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14585 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14586 table format using Tabulated List mode variables.
14587 (package--push): New macro, replacing package-list-maybe-add.
14588 (package-menu--generate): Use package--push. Renamed from
14589 package--generate-package-list.
14590 (package-menu-refresh, list-packages): Use it.
14591 (package-menu--print-info): Rename from package-print-package.
14592 Return insertion data instead of inserting it directly.
14593 (package-menu-describe-package, package-menu-execute):
14594 Use tabulated-list-get-id.
14595 (package-menu-mark-delete, package-menu-mark-install)
14596 (package-menu-mark-unmark, package-menu-backup-unmark)
14597 (package-menu-mark-obsolete-for-deletion):
14598 Use tabulated-list-put-tag.
14599 (package--list-packages, package-menu-revert)
14600 (package-menu-get-package, package-menu-get-version)
14601 (package-menu-sort-by-column): Functions deleted.
14602 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14603 (package-menu--status-predicate, package-menu--version-predicate)
14604 (package-menu--name-predicate)
14605 (package-menu--description-predicate): Handle arguments in the
14606 Tabulated List format.
14607 (package-list-packages-no-fetch): Call list-packages.
14609 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14611 * files.el (after-find-file-from-revert-buffer): Remove variable.
14612 (after-find-file): Don't bind it.
14613 (revert-buffer-in-progress-p): New variable.
14614 (revert-buffer): Bind it.
14615 Pass nil for `after-find-file-from-revert-buffer'.
14617 * saveplace.el (save-place-find-file-hook): Use new variable
14618 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14620 2011-04-06 Glenn Morris <rgm@gnu.org>
14622 * Makefile.in (AUTOGEN_VCS): New variable.
14623 (autoloads): Use $AUTOGEN_VCS.
14625 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14626 * calendar/calendar.el (calendar-mode-map):
14627 Check for toolkit scroll bars. (Bug#8305)
14629 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14631 * minibuffer.el (completion-in-region--postch)
14632 (completion-in-region-mode): Remove unnecessary messages.
14634 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14636 * font-lock.el (font-lock-refresh-defaults):
14637 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14638 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14640 * info.el (Info-directory-list, Info-read-node-name-2)
14641 (Info-split-parameter-string): Doc fixes.
14642 (Info-virtual-nodes): Reflow docstring.
14643 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14644 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14645 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14646 Fix typos in docstrings.
14647 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14648 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14649 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14650 (Info-restore-desktop-buffer): Mark unused parameters.
14651 (Info-directory-find-file, Info-directory-find-node)
14652 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14653 (Info-virtual-index-find-node, Info-apropos-find-file)
14654 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14655 Mark unused parameters; fix typos in docstrings.
14656 (Info-virtual-index): Remove unused local variable `nodename'.
14658 2011-04-05 Deniz Dogan <deniz@dogan.se>
14660 * net/rcirc.el: Update my e-mail address.
14661 (rcirc-mode-map): Remove M-o binding.
14663 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14665 * startup.el (command-line): Save the cursor's theme-face
14666 directly, instead of using face-override-spec.
14668 * custom.el (load-theme): Minor optimization in assigning faces.
14670 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14672 * help-fns.el (describe-variable): Complete all variables having
14673 documentation, including keywords.
14674 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14676 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14678 Convert to lexical-binding.
14680 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14681 (bs--get-marked-string, bs--get-modified-string)
14682 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14683 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14684 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14686 * ehelp.el (electric-help-execute-extended)
14687 (electric-help-ctrl-x-prefix):
14688 * hexl.el (hexl-revert-buffer-function):
14689 * linum.el (linum-after-change, linum-after-scroll):
14690 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14692 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14694 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14701 * epg.el: Use lexical binding.
14703 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14705 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14707 * textmodes/flyspell.el (flyspell-word): Recognize default
14708 dictionary case for flyspell-mark-duplications-exceptions.
14709 Use regexp matching for languages.
14710 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14711 default dictionary (Bug#7926).
14713 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14715 * emacs-lisp/package.el (package--with-work-buffer):
14716 Recognize https URLs.
14718 * net/network-stream.el: Move from gnus/proto-stream.el.
14719 Change prefix to network-stream throughout.
14720 (open-protocol-stream): Merge into open-network-stream, leaving
14721 open-protocol-stream as an alias. Handle nil BUFFER args.
14723 * subr.el (open-network-stream): Move to net/network-stream.el.
14725 2011-04-02 Glenn Morris <rgm@gnu.org>
14727 * find-dired.el (find-exec-terminator): New option.
14728 (find-ls-option): Test for -ls support.
14729 (find-ls-subdir-switches): Test for -b in find-ls-option.
14730 (find-dired, find-grep-dired): Doc fixes.
14731 (find-dired): Use find-exec-terminator.
14733 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14734 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14735 (find-name-arg): Remove purecopy.
14737 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14738 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14739 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14740 accordingly. Don't add the null-device if not needed.
14742 * files.el (save-some-buffers): Doc fix.
14744 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14746 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14748 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14750 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14751 Use `dolist' rather than `mapcar'.
14753 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14755 Add lexical binding.
14757 * subr.el (apply-partially): Use new closures rather than CL.
14758 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14759 (dolist, dotimes): Use slightly different expansion for lexical code.
14760 (functionp): Move to C.
14761 (letrec): New macro.
14762 (with-wrapper-hook): Use it and apply-partially instead of CL.
14763 (eval-after-load): Preserve lexical-binding.
14764 (save-window-excursion, with-output-to-temp-buffer): Turn them
14767 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14769 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14771 (help-add-fundoc-usage): Don't add `Not documented'.
14772 (help-function-arglist): Handle closures, subroutines, and new
14773 byte-code-functions.
14774 (help-make-usage): Remove leading underscores.
14775 (describe-function-1): Handle closures.
14776 (describe-variable): Use special-variable-p for completion.
14778 * files.el (lexical-binding): Declare safe.
14780 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14781 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14782 (pcase): Add `let' pattern.
14783 Change memoization so it actually works.
14784 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14785 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14788 * emacs-lisp/macroexp.el: Use lexical binding.
14789 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14790 Don't convert ' to #' without checking that it's indeed quoting
14793 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14794 Use eval-sexp-add-defvars.
14795 (eval-sexp-add-defvars): New fun.
14797 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14799 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14801 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14802 than the internal `byte-compile-lambda'.
14803 (defmethod): Don't hide code under quotes.
14804 (eieio-defmethod): New `code' argument.
14806 * emacs-lisp/eieio-comp.el: Remove.
14808 * emacs-lisp/edebug.el (edebug-eval-defun)
14809 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14810 (edebug-toggle): Avoid `eval'.
14812 * emacs-lisp/disass.el (disassemble-internal): Handle new
14814 (disassemble-1): Handle new byte codes.
14816 * emacs-lisp/cl.el (pushnew): Silence warning.
14818 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14819 (cl-byte-compile-throw): Remove.
14820 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14822 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14825 * emacs-lisp/cconv.el: New file.
14827 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14828 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14829 (byte-compile-initial-macro-environment):
14830 Handle declare-function here.
14831 (byte-compile--lexical-environment): New var.
14832 (byte-stack-ref, byte-stack-set, byte-discardN)
14833 (byte-discardN-preserve-tos): New lap codes.
14834 (byte-interactive-p): Don't use any more.
14835 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14837 (byte-compile-lapcode): Use them and handle new lap codes.
14838 (byte-compile-obsolete): Remove.
14839 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14840 (byte-compile-arglist-warn): Check late def of inlinable funs.
14841 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14842 since they should have been expanded by now.
14843 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14844 (byte-compile-from-buffer): Remove unused second arg.
14845 (byte-compile-preprocess): New function.
14846 (byte-compile-toplevel-file-form): New function to distinguish
14847 file-form calls from outside from file-form calls from hunk-handlers.
14848 (byte-compile-file-form): Simplify.
14849 (byte-compile-file-form-defsubst): Remove.
14850 (byte-compile-file-form-defmumble): Simplify now that
14851 byte-compile-lambda always returns a byte-code-function.
14852 (byte-compile): Preprocess.
14853 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14854 Remove, not used any more.
14855 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14856 (byte-compile-make-args-desc): New funs.
14857 (byte-compile-lambda): Handle lexical functions. Always return
14858 a byte-code-function.
14859 (byte-compile-reserved-constants): New var, to make up room for
14860 closed-over variables.
14861 (byte-compile-constants-vector): Obey it.
14862 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14863 (byte-compile-macroexpand-declare-function): New function.
14864 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14865 byte-code-functions.
14866 (byte-compile-form): Check obsolescence here.
14867 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14868 (byte-compile-variable-ref): Remove.
14869 (byte-compile-dynamic-variable-op): New fun.
14870 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14871 (byte-compile-variable-set): New funs.
14872 (byte-compile-discard): Add 2 args.
14873 (byte-compile-stack-ref, byte-compile-stack-set)
14874 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14875 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14876 macroexpand-all instead.
14877 (byte-compile-quote-form): Remove.
14878 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14879 (byte-compile-bind, byte-compile-unbind): New funs.
14880 (byte-compile-let): Handle let* and lexical binding.
14881 (byte-compile-let*): Remove.
14882 (byte-compile-catch, byte-compile-unwind-protect)
14883 (byte-compile-track-mouse, byte-compile-condition-case):
14884 Handle a new :fun-body form, used for lexical scoping.
14885 (byte-compile-save-window-excursion)
14886 (byte-compile-with-output-to-temp-buffer): Remove.
14887 (byte-compile-defun): Simplify.
14888 (byte-compile-stack-adjustment): New fun.
14889 (byte-compile-out): Use it.
14890 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14892 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14895 * emacs-lisp/byte-opt.el: Use lexical binding.
14896 (byte-inline-lapcode): Remove (to bytecomp).
14897 (byte-compile-inline-expand): Pay attention to inlining to/from
14898 lexically bound code.
14899 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14901 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14902 any more and don't call compiler-macros.
14903 (byte-compile-splice-in-already-compiled-code): Remove.
14904 (byte-code): Don't inline any more.
14905 (disassemble-offset): Receive `bytes' as argument rather than via
14907 (byte-compile-tag-number): Declare before first use.
14908 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14909 `return' even if make-spliceable.
14910 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14911 obsolete interactive-p.
14912 (byte-optimize-lapcode): Optimize new lap-codes.
14913 Don't trip up on new form of `byte-constant' lap code.
14915 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14917 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14919 * custom.el (custom-initialize-default, custom-declare-variable):
14922 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14924 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14925 (COMPILE_FIRST): Add macroexp and cconv.
14926 * makefile.w32-in: Mirror changes in Makefile.in.
14928 * vc/cvs-status.el:
14932 * vc/smerge-mode.el:
14933 * textmodes/bibtex-style.el:
14934 * textmodes/css.el:
14942 * emacs-lisp/smie.el:
14945 * abbrev.el: Use lexical binding.
14947 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14949 * info.el (info-display-manual): New function.
14951 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14953 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14955 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14957 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14958 an entry for that server in rcirc-authinfo. (Bug#8385)
14960 2011-03-31 Glenn Morris <rgm@gnu.org>
14962 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14964 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14966 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14968 * progmodes/python.el (python-default-interpreter)
14969 (python-python-command-args, python-jython-command-args)
14970 (python-which-shell, python-which-args, python-which-bufname)
14971 (python-file-queue, python-comint-output-filter-function)
14972 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14973 variables and functions.
14975 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14977 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14978 (completion-in-region-mode): New minor mode.
14979 (completion-in-region): Use it.
14980 (completion-in-region--data, completion-in-region-mode-map): New vars.
14981 (completion-in-region--postch): New function.
14982 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14984 (completion--capf-wrapper): New function.
14985 (completion-at-point): Use it to track well-behavedness of
14987 (completion-help-at-point): New command.
14989 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14991 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14992 syntax class to search for whitespace on a single line
14993 (Message-ID: <4D938140.4030905@redhat.com>).
14995 2011-03-30 Leo Liu <sdl.web@gmail.com>
14997 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14999 (edit-abbrevs-map): Bind them here.
15000 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15002 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15004 * allout.el (allout-hide-by-annotation, allout-flag-region):
15005 Reduce possibility of overlay leakage by making them volatile.
15007 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15008 hash is not shared between buffers. Mode initialization is
15009 responsible for giving it a useful starting value.
15010 (allout-item-span): Reduce possibility of overlay leakage by
15011 making them volatile.
15012 (allout-widgets-count-buttons-in-region): Add diagnostic function
15013 for tracking down button overlay leaks.
15015 2011-03-29 Leo Liu <sdl.web@gmail.com>
15017 * ido.el (ido-read-internal): Use the default history var
15018 minibuffer-history if no HISTORY is specified.
15020 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15022 * net/imap.el (imap-shell-open, imap-process-connection-type):
15023 Use imap-process-connection-type for 'shell' streams as well as
15024 Kerberos, SSL, other subprocesses.
15026 2011-03-28 Leo Liu <sdl.web@gmail.com>
15028 * abbrev.el (abbrev-table-empty-p): New function.
15029 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15030 nonempty ones. (Bug#5937)
15032 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15034 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15036 2011-03-27 Leo Liu <sdl.web@gmail.com>
15038 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15039 for foreground and background colors.
15040 (ansi-color-make-color-map): Adapt.
15042 2011-03-25 Leo Liu <sdl.web@gmail.com>
15044 * midnight.el (midnight-time-float): Remove. Note it calculates
15045 the microsecond component incorrectly and seconds-to-time does the
15047 Remove redundant (require 'timer).
15049 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15050 (ido-completions): Remove unused arguments. (Bug#8329)
15052 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15054 * minibuffer.el (completion--flush-all-sorted-completions):
15055 Remove itself from hook.
15056 (completion-at-point): Let the functions perform the completion
15057 immediately and return nil or t.
15058 * comint.el (comint-dynamic-complete-functions): Now identical to
15059 completion-at-point-functions.
15060 (comint-dynamic-list-input-ring): Remove unused var `index'.
15061 (comint--match-partial-filename, comint--unquote&expand-filename):
15062 New funs, split from comint-match-partial-filename.
15063 (comint-dynamic-complete): Use completion-at-point.
15064 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15066 2011-03-24 Drew Adams <drew.adams@oracle.com>
15068 * thingatpt.el: Support `defun'.
15070 2011-03-23 Leo Liu <sdl.web@gmail.com>
15072 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15074 * help-mode.el (help-mode-finish): Tweak regexp.
15076 2011-03-23 Glenn Morris <rgm@gnu.org>
15078 * eshell/esh-opt.el (eshell-eval-using-options):
15079 Do not bind unused local variable `eshell-option-stub'.
15081 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15083 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15085 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15086 keymap variable in `with-no-warnings' to avoid a warning when the
15087 keymap has been already `defconst'ed.
15089 2011-03-22 Leo Liu <sdl.web@gmail.com>
15091 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15092 encode all chars in abbrevs; otherwise use emacs-mule or
15093 utf-8-emacs. (Bug#8308)
15095 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15097 * simple.el (backward-delete-char-untabify):
15098 Avoid warning about using `delete-backward-char'.
15100 * image.el (image-type-file-name-regexps): Make it variable.
15101 `imagemagick-register-types' modifies it, and the user may want
15102 to add new extensions for known image types.
15103 (imagemagick-register-types): Throw error if not using ImageMagick.
15105 2011-03-22 Leo Liu <sdl.web@gmail.com>
15107 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15108 located before rcirc-prompt-end-marker.
15109 (rcirc-complete): Error if point is not after rcirc prompt.
15110 Handle the case when table is nil.
15111 (rcirc-user-authenticated): Define to fix compiler warning.
15113 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15115 * custom.el (custom--inhibit-theme-enable): Make it affect only
15116 custom-theme-set-variables and custom-theme-set-faces.
15117 (provide-theme): Ignore custom--inhibit-theme-enable.
15118 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15119 (custom-enabling-themes): Delete variable.
15120 (enable-theme): Accept only loaded themes as arguments.
15121 Ignore the special custom-enabled-themes variable.
15122 (custom-enabled-themes): Forbid themes from setting this.
15123 Eliminate use of custom-enabling-themes.
15124 (custom-push-theme): Quote "changed" custom var entry.
15126 2011-03-21 Leo Liu <sdl.web@gmail.com>
15128 * ido.el (ido-read-internal): Add ido-selected to history instead
15131 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15133 * subr.el (deferred-action-list, deferred-action-function):
15136 2011-03-21 Leo Liu <sdl.web@gmail.com>
15138 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15139 change on 2011-02-13 (bug#8309).
15141 * minibuffer.el (read-file-name-function): Change default value.
15142 (read-file-name--defaults): Rename from read-file-name-defaults.
15143 (read-file-name-default): Rename from read-file-name.
15144 (read-file-name): Call read-file-name-function.
15146 2011-03-21 Glenn Morris <rgm@gnu.org>
15148 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15151 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15153 * cus-theme.el: Add missing provide statement.
15154 (customize-create-theme): Extract theme value correctly.
15155 (custom-theme-visit-theme): Autoload.
15156 (customize-create-theme): Prompt before inserting default faces.
15158 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15160 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15161 units and musical notes.
15163 2011-03-20 Leo Liu <sdl.web@gmail.com>
15165 * ido.el (ido-read-internal): Use completing-read-default.
15166 (ido-completing-read): Fix compatibility with completing-read.
15168 2011-03-20 Christian Ohler <ohler@gnu.org>
15170 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15171 (ert-delete-all-tests): Use `called-interactively-p' rather than
15173 (ert--make-xrefs-region): Respect END.
15175 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15177 * dired-aux.el (dired-create-directory): Signal an error if the
15178 directory already exists (Bug#8246).
15180 * facemenu.el (list-colors-display): Call list-faces-display
15181 inside with-help-window.
15182 (list-colors-print): Use display property to align the final
15183 column, instead of checking window-width.
15185 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15187 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15188 windows-nt systems.
15189 (emerge-protect-metachars): Quote correctly for ms-dos and
15190 windows-nt systems.
15192 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15194 * info.el (info-initialize): Replace all uses of `:' with
15195 path-separator for compatibility with non-Unix systems.
15196 Cache quoting of path-separator. (Bug#8258)
15198 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15200 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15201 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15202 (mouse-avoidance-mode): Fix typos in docstrings.
15204 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15206 * startup.el (package-subdirectory-regexp): Move from package.el.
15207 Omit \\` and \\', and let callers add them.
15209 * emacs-lisp/package.el (package-strip-version)
15210 (package-load-all-descriptors): Add \\` and \\' to
15211 package-subdirectory-regexp before using it.
15212 (package-untar-buffer): New arg DIR; ensure that file untars only
15213 into this expected directory. Remove superfluous delete-region.
15214 (package-unpack): Caller changed.
15215 (package-tar-file-info): Use package-subdirectory-regexp.
15217 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15219 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15220 diff-mode-shared-map (bug#8284).
15221 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15223 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15225 * calendar/time-date.el (format-seconds): Use assoc instead of
15226 assoc-string, since assoc-string doesn't exist in XEmacs.
15228 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15230 * custom.el (custom-known-themes): Reflow docstring.
15231 (custom-theme-load-path): Fix typo in docstring.
15232 (load-theme): Fix typo in error message.
15233 (custom-available-themes, custom-variable-theme-value):
15234 Use `let', not `let*'.
15236 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15238 * calc/README: Mention inclusion of musical notes.
15240 * calc/calc-units.el (calc-lu-quant): Rename from
15241 `calc-logunits-quantity'.
15242 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15243 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15244 (calc-db): Rename from `calc-dblevel'.
15245 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15246 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15247 (calc-np): Rename from `calc-nplevel'.
15248 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15249 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15250 (calc-lu-plus): Rename from `calc-logunits-add'.
15251 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15252 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15253 (calc-lu-minus): Rename from `calc-logunits-sub'.
15254 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15255 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15256 (calc-lu-times): Rename from `calc-logunits-mul'.
15257 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15258 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15259 (calc-lu-divide): Rename from `calc-logunits-div'.
15260 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15261 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15263 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15264 functions being autoloaded.
15266 * calc/calc.el (calc-lu-power-reference): Rename from
15267 `calc-logunits-power-reference'.
15268 (calc-lu-field-reference): Rename from
15269 `calc-logunits-field-reference'.
15271 * calc/calc-help.el (calc-l-prefix-help):
15272 Mention musical note functions.
15274 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15276 * minibuffer.el (completion-all-sorted-completions):
15277 Use :completion-cycle-penalty text property if present.
15279 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15281 * allout.el (allout-yank-processing): Adjust for new rebulleting
15282 regime so bullet being yanked is used without prompting the user
15285 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15287 * startup.el (command-line): Warn the user that _emacs is deprecated.
15289 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15291 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15292 (delphi-verbose, delphi-comment-face, delphi-string-face)
15293 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15294 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15295 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15296 (delphi-new-comment-line, delphi-font-lock-defaults)
15297 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15298 Fix typos in docstrings.
15300 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15302 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15303 Invert the roles of character and string values for INSTEAD, so a
15304 string is used for the more common case of a defaulting prompt.
15306 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15308 * progmodes/ruby-mode.el (ruby-backward-sexp):
15309 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15310 * play/gamegrid.el (gamegrid-make-face):
15311 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15312 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15313 * notifications.el (notifications-notify):
15314 * net/xesam.el (xesam-search-engines):
15315 * net/quickurl.el (quickurl-list-insert):
15316 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15318 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15320 * startup.el (command-line): Update package subdirectory regexp.
15322 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15324 * allout.el (allout-abbreviate-flattened-numbering)
15325 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15327 * subr.el (read-char-choice): Only show the cursor after the prompt,
15328 not after the answer.
15330 2011-03-15 Kevin Ryde <user42@zip.com.au>
15332 * help-fns.el (variable-at-point): Skip leading quotes, if any
15335 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15337 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15340 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15342 * shell.el (shell): When called interactively, offer to change the
15343 shell file name on remote hosts.
15345 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15347 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15348 integration for LDAP parameters. The host, base, user or binddn,
15349 and secret tokens can be specified in a netrc file, for instance.
15350 This is optional because an `auth-source' parameter must be
15351 specified in the search attributes.
15353 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15355 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15357 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15359 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15360 into declaration. Remove redundant and harmful binding.
15362 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15364 * files.el (file-ownership-preserved-p): Pass `integer' as an
15365 explicit 2nd argument to `file-attributes'. If the file's owner
15366 is the Administrators group on Windows, and the current user is
15367 Administrator, consider that a match.
15369 * server.el (server-ensure-safe-dir): Consider server directory
15370 safe on MS-Windows if its owner is the Administrators group while
15371 the current Emacs user is Administrator. Use `=' to compare
15372 numerical UIDs, since they could be integers or floats.
15374 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15376 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15378 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15380 Sync with Tramp 2.2.1.
15382 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15384 * net/trampver.el: Update release number.
15386 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15388 * progmodes/compile.el (compilation--previous-directory): Fix up
15389 various nil/dead-marker mismatches (bug#8014).
15390 (compilation-directory-properties, compilation-error-properties):
15391 Don't call it at a position past the one we're about to change.
15393 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15394 Disable obsolescence warnings in the file that declares it.
15396 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15398 * allout-widgets.el (allout-widgets-tally):
15399 Initialize allout-widgets-tally as a hash table rather than nil to
15400 prevent mode-line redisplay warnings. Also, clarify the module
15401 description and fix a comment typo.
15403 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15405 * help-fns.el (describe-variable): Don't complete keywords.
15406 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15408 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15410 * emacs-lisp/package.el (package-version-join): Impose a standard
15411 string representation for pre/alpha/beta version lists.
15412 (package-unpack-single): Standardize the directory name by passing
15413 it through package-version-join.
15414 (package-strip-rcs-id): Accept any version string that does not
15415 signal an error in version-to-list.
15417 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15419 * simple.el (delete-trailing-whitespace): Return nil for the
15420 benefit of `write-file-functions'.
15422 2011-03-10 Glenn Morris <rgm@gnu.org>
15424 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15426 * vc/vc-git.el (vc-git-program): New option.
15427 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15428 (vc-git--call): Use it.
15430 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15432 * cus-edit.el (Custom-newline): If no button at point, look
15433 for a subgroup button at start-of-line. (Bug#2298)
15435 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15437 2011-03-10 Julien Danjou <julien@danjou.info>
15439 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15440 `cursor-type' is nil.
15442 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15444 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15446 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15448 * allout.el: Change so yank of distinctive-bullet items
15449 preserves the existing header prefix, rebulleting it if necessary,
15450 rather than replacing it. This is necessary for proper operation
15451 of cooperative addons like allout-widgets.
15452 (allout-make-topic-prefix, allout-rebullet-heading):
15453 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15454 value as alternate bullet to be used, instead of prompting the user
15455 for a bullet character.
15457 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15459 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15460 Do not use `tramp-file-name-port', because this returns also
15461 `tramp-default-port'.
15463 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15465 * net/rcirc.el (rcirc-handler-001): Remove useless
15466 with-rcirc-process-buffer.
15467 (rcirc-check-auth-status): Swap arguments to string-match.
15469 2011-03-09 Glenn Morris <rgm@gnu.org>
15471 * shell.el (shell-mode):
15472 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15474 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15475 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15477 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15479 * emacs-lisp/package.el (package-refresh-contents)
15480 (package-menu-execute): Use condition-case-no-debug.
15482 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15484 * simple.el (shell-command-to-string): Use `process-file'.
15486 * emacs-lisp/package.el (package-tar-file-info): Handle also
15489 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15490 Use `equal' for upload base check.
15492 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15494 * textmodes/texinfo.el (texinfo-environments):
15495 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15497 2011-03-08 Glenn Morris <rgm@gnu.org>
15499 * cus-start.el (cursor-in-non-selected-windows):
15500 Fix :set quoting oddness. (Bug#8192)
15502 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15503 in some setf expressions. (Bug#2159)
15505 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15507 * custom.el (custom-available-themes): Return themes in
15508 alphabetical order.
15510 See ChangeLog.15 for earlier changes.
15512 ;; Local Variables:
15516 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15518 This file is part of GNU Emacs.
15520 GNU Emacs is free software: you can redistribute it and/or modify
15521 it under the terms of the GNU General Public License as published by
15522 the Free Software Foundation, either version 3 of the License, or
15523 (at your option) any later version.
15525 GNU Emacs is distributed in the hope that it will be useful,
15526 but WITHOUT ANY WARRANTY; without even the implied warranty of
15527 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15528 GNU General Public License for more details.
15530 You should have received a copy of the GNU General Public License
15531 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.