1 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
3 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4 Otherwise, it blocks in batch mode.
6 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
8 * help-mode.el (bookmark-make-record-default): Declare.
10 2012-06-13 Chong Yidong <cyd@gnu.org>
12 * emacs-lisp/package.el (list-packages): Compute a list of
13 packages that are newly-available since the last list-packages
15 (package-menu--new-package-list): New var.
16 (package-menu--generate, package-menu--print-info)
17 (package-menu--status-predicate, package-menu-mark-install):
18 Handle new status label "new".
20 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
23 conversion to backquotes.
25 2012-06-12 Chong Yidong <cyd@gnu.org>
27 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
28 Rename from gud-inhibit-global-bindings.
30 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
32 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
33 hook from nxml-glyph-set-hook.
35 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
38 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
40 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
43 2012-06-12 Drew Adams <drew.adams@oracle.com>
45 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
47 (help-mode): Use them.
49 2012-06-11 Glenn Morris <rgm@gnu.org>
51 * progmodes/fortran.el (fortran-font-lock-keywords-3):
52 Use preprocessor face for directives.
53 (fortran-directive-re): Doc fix.
55 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
57 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
58 conversion to backquotes (bug#11652).
60 Fix compiler-expansion of CL's cXXr functions (bug#11673).
61 * emacs-lisp/cl-lib.el (cl--defalias): New function.
62 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
63 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
64 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
65 (cl-ninth, cl-tenth): Mark them as inlinable.
66 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
67 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
68 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
69 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
70 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
71 (cl-list*, cl-adjoin): Don't put an autoload manually.
72 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
73 (cl--compiler-macro-list*): Add autoload cookie.
74 (cl--compiler-macro-cXXr): New function.
76 * help-fns.el (help-fns--compiler-macro): New function extracted from
77 describe-function-1; follow aliases and use `compiler-macro' property.
78 (describe-function-1): Use it.
80 2012-06-11 Chong Yidong <cyd@gnu.org>
82 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
83 is uninstalled, if imagemagick is installed.
85 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
87 * emacs-lisp/cl-lib.el: Use lexical-binding.
88 (cl-map-extents, cl-maclisp-member): Remove.
89 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
90 (cl--set-substring, cl--block-wrapper, cl--block-throw)
91 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
92 * emacs-lisp/cl-extra.el: Use lexical-binding.
93 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
94 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
95 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
96 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
97 * emacs-lisp/cl-seq.el: Use lexical-binding.
98 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
99 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
100 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
101 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
102 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
105 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
107 Sync with Tramp 2.2.6-pre.
109 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
110 `print-length' and `print-level' to nil, in order to avoid
111 truncation. Reported by Christopher Schmidt
112 <christopher@ristopher.com>.
114 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
116 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
118 (tramp-compat-copy-directory): Add optional argument
119 COPY-CONTENTS. It is not handled yet.
121 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
122 (tramp-ftp-file-name-p): Simplify.
124 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
125 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
128 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
129 (tramp-methods): Do not use `tramp-password-end-of-line'.
130 (tramp-completion-function-alist-putty): Handle UNIX case.
131 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
132 (tramp-do-file-attributes-with-stat)
133 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
134 gid as real numbers. They could run out of integer range on cygwin.
135 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
136 (tramp-sh-handle-expand-file-name): Handle hops.
137 (tramp-open-connection-setup-interactive-shell): Use
138 `tramp-cleanup'. Move check for busyboxes ...
139 (tramp-find-shell): ... here. Simplify implementation. Set
140 "remote-shell" property also for alternative shells.
141 (tramp-remote-coding-commands): Check "test -c /dev/stdout". If
142 failing, a regular file would be written otherwise. Reported by
143 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
144 (tramp-find-inline-encoding): Cache the coding commands in the
145 process cache. Apply test command on the remote side, if defined.
146 (tramp-find-inline-compress): Cache the compress commands in the
148 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
149 when requested. Handle hops.
150 (tramp-current-connection): New defvar.
151 (tramp-maybe-open-connection): Use `tramp-cleanup'. Throw
152 `suppress', if there was a failed connection shortly before.
153 Handle user interrupt. (Bug#10187)
154 (tramp-get-inline-compress, tramp-get-inline-coding): Read
155 connection properties from the process cache.
157 * net/tramp-smb.el (tramp-smb-server-version)
158 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): New
160 (tramp-smb-prompt): Extend for powershell prompt.
161 (tramp-smb-file-name-handler-alist): Add handlers for
162 `process-file', `shell-command' and `start-file-process'.
163 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
164 (tramp-smb-winexe-shell-command-switch): New defcustoms.
165 (tramp-smb-file-name-p): Simplify.
166 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
167 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
168 (tramp-smb-shell-quote-argument): New defuns.
169 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
170 Implement using "tar". By this, time-stamps are preserved.
171 (tramp-smb-handle-copy-file): Handle also the case of directories.
172 (tramp-smb-do-file-attributes-with-stat)
173 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): Use
174 `tramp-get-connection-buffer').
175 (tramp-smb-handle-rename-file): Use "rename", when source and
176 target are on the same share.
177 (tramp-smb-maybe-open-connection): Handle wrong passwords. Use
178 `tramp-smb-server-version'.
179 (tramp-smb-wait-for-output): Remove prompt.
181 * net/tramp.el (top): Require 'cl.
182 (tramp-methods, tramp-rsh-end-of-line): Remove
183 `tramp-password-end-of-line' from docstring.
184 (tramp-save-ad-hoc-proxies): New defcustom.
185 (tramp-completion-function-alist): Adapt docstring.
186 (tramp-default-password-end-of-line): Remove defcustom.
187 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
188 (tramp-user-regexp, tramp-file-name-regexp-unified)
189 (tramp-file-name-regexp-url): Extend regexp by hop separator.
190 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
191 (tramp-remote-file-name-spec-regexp): New defconst.
192 (tramp-file-name-structure): Extend structure for hops.
193 (tramp-get-method-parameter): Move up.
194 (tramp-file-name-p, tramp-dissect-file-name)
195 (with-parsed-tramp-file-name): Handle hops.
196 (tramp-file-name-hop): New defun.
197 (tramp-make-tramp-file-name): New optional arg HOP.
198 (tramp-message-show-progress-reporter-message): New defvar.
199 (tramp-with-progress-reporter): Use it. We cannot use
200 `tramp-message-show-message' here, because this suppresses also
202 (tramp-error-with-buffer): Suppress buffer view, if
203 `tramp-message-show-message' is nil. Use
204 `tramp-get-connection-buffer'.
205 (tramp-cleanup): New defun.
206 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
207 (tramp-file-name-handler): If `debug-on-error' is set, propagate
209 (tramp-completion-handle-file-name-all-completions): Handle hops.
210 Fix an error when called from ido.
211 (tramp-completion-dissect-file-name): Use better local variable
212 name. Add hop to the vector.
213 (tramp-handle-insert-file-contents): Use progress-reporter for the
215 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
217 (tramp-check-for-regexp): Simplify search.
218 (tramp-enter-password): Remove it. Move implementation ...
219 (tramp-action-password): ... here.
220 (tramp-mode-string-to-int, tramp-local-host-p)
221 (tramp-make-tramp-temp-file, tramp-read-passwd)
222 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): Set
223 tramp-autoload cookie.
225 * net/trampver.el: Update release number.
227 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
228 Michael Albinus <michael.albinus@gmx.de>
230 * net/tramp.el (tramp-set-completion-function): Fix docstring.
231 (tramp-parse-group, tramp-parse-file)
232 (tramp-parse-shostkeys-sknownhosts): New defuns.
233 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
234 (tramp-parse-shosts-group, tramp-parse-sconfig)
235 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
236 (tramp-parse-sknownhosts, tramp-parse-hosts)
237 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
239 (tramp-parse-passwd-group, tramp-parse-netrc-group)
240 (tramp-parse-putty-group): Don't narrow.
241 (tramp-parse-putty): Make a loop.
242 (tramp-file-name-handler): Catch the `suppress' signal.
244 2012-06-11 Chong Yidong <cyd@gnu.org>
246 * image.el (imagemagick-register-types): Put the ImageMagick entry
247 at the end of image-type-file-name-regexps.
249 2012-06-11 Johan Bockgård <bojohan@gnu.org>
251 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
252 (pcase, pcase-let*, pcase-dolist): Use them.
254 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
256 * emacs-lisp/pcase.el (pcase--let*): New function.
257 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
258 (pcase--expand): Use macroexp-let².
260 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
262 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
263 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
264 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
265 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
266 * emacs-lisp/derived.el: Use pcase instead of `cl'.
267 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
269 2012-06-10 Glenn Morris <rgm@gnu.org>
271 * mail/rmail.el (rmail-yank-current-message): Leave point at
272 correct position. (Bug#11660)
274 2012-06-10 Chong Yidong <cyd@gnu.org>
276 * allout-widgets.el: Fix code header.
278 2012-06-10 Chong Yidong <cyd@gnu.org>
280 * cus-edit.el (customize-changed-options-previous-release):
283 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
285 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
287 2012-06-09 Chong Yidong <cyd@gnu.org>
289 * ebuff-menu.el (electric-buffer-list): Preserve header line.
291 2012-06-09 Martin Rudalics <rudalics@gmx.at>
293 * window.el (special-display-popup-frame): Don't use
294 window--display-buffer (Bug#11651).
296 2012-06-09 Eli Zaretskii <eliz@gnu.org>
298 Fix parallel builds: make sure loaddefs.el is not being written
299 while Lisp files are compiled.
300 (compile): Don't depend on 'mh-autoloads'.
301 (compile-CMD, compile-SH): Depend on 'autoloads'.
302 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
304 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
306 2012-06-09 Chong Yidong <cyd@gnu.org>
308 * face-remap.el (face-remap-add-relative, face-remap-set-base)
309 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
310 Doc fixes (Bug#11225).
312 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
314 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
315 a function if there's a clear indication that it has a compiler-macro.
316 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
317 (macro-declarations-alist): Add arglist to declaration functions.
318 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
319 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
320 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
321 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
322 Also add autoload to find the compiler macro.
323 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
324 (cl--compiler-macro-member, cl--compiler-macro-assoc)
325 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
326 (cl--compiler-macro-get): New functions, replacing calls to
327 cl-define-compiler-macro.
328 (cl-typep) [compiler-macro]: Use macroexp-let².
330 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
332 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
333 string properly, fixes Bug#11473.
335 2012-06-08 Chong Yidong <cyd@gnu.org>
337 * faces.el (set-face-attribute): Doc fix.
338 (modify-face): Don't use :bold and :italic.
339 (error, warning, success): Tweak definitions.
341 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
342 (custom-modified, custom-set, custom-changed, custom-themed)
343 (custom-saved, custom-button, custom-button-mouse)
344 (custom-button-pressed, custom-state, custom-comment-tag)
345 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
346 (custom-group-subtitle): Use new-style face specs.
347 (custom-invalid-face, custom-rogue-face, custom-modified-face)
348 (custom-set-face, custom-changed-face, custom-saved-face)
349 (custom-button-face, custom-button-pressed-face)
350 (custom-documentation-face, custom-state-face)
351 (custom-comment-face, custom-comment-tag-face)
352 (custom-variable-tag-face, custom-variable-button-face)
353 (custom-face-tag-face, custom-group-tag-face-1)
354 (custom-group-tag-face): Remove obsolete face alias.
356 * epa.el (epa-validity-high, epa-validity-medium)
357 (epa-validity-low, epa-mark, epa-field-name, epa-string)
358 (epa-field-name, epa-field-body):
359 * font-lock.el (font-lock-comment-face, font-lock-string-face)
360 (font-lock-keyword-face, font-lock-builtin-face)
361 (font-lock-function-name-face, font-lock-variable-name-face)
362 (font-lock-type-face, font-lock-constant-face):
363 * ido.el (ido-first-match, ido-only-match, ido-subdir)
364 (ido-virtual, ido-indicator, ido-incomplete-regexp):
365 * speedbar.el (speedbar-button-face, speedbar-file-face)
366 (speedbar-directory-face, speedbar-tag-face)
367 (speedbar-selected-face, speedbar-highlight-face)
368 (speedbar-separator-face):
369 * whitespace.el (whitespace-newline, whitespace-space)
370 (whitespace-hspace, whitespace-tab, whitespace-trailing)
371 (whitespace-line, whitespace-space-before-tab)
372 (whitespace-space-after-tab, whitespace-indentation)
374 * emulation/cua-base.el (cua-global-mark):
375 * eshell/em-prompt.el (eshell-prompt):
376 * net/newst-plainview.el (newsticker-new-item-face)
377 (newsticker-old-item-face, newsticker-immortal-item-face)
378 (newsticker-obsolete-item-face, newsticker-date-face)
379 (newsticker-statistics-face, newsticker-default-face):
380 * net/newst-reader.el (newsticker-feed-face)
381 (newsticker-extra-face, newsticker-enclosure-face):
382 * net/newst-treeview.el (newsticker-treeview-face)
383 (newsticker-treeview-new-face, newsticker-treeview-old-face)
384 (newsticker-treeview-immortal-face)
385 (newsticker-treeview-obsolete-face)
386 (newsticker-treeview-selection-face):
387 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
388 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
389 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
390 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
391 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
392 (nxml-outline-active-indicator, nxml-outline-ellipsis):
393 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
395 * progmodes/vera-mode.el (vera-font-lock-number)
396 (vera-font-lock-function, vera-font-lock-interface):
397 * textmodes/table.el (table-cell): Use new-style face specs, and
398 don't use the old :bold and :italic attributes.
400 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
401 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
402 (ebrowse-member-class, ebrowse-progress): Likewise.
403 (ebrowse-tree-mark-face, ebrowse-root-class-face)
404 (ebrowse-file-name-face, ebrowse-default-face)
405 (ebrowse-member-attribute-face, ebrowse-member-class-face)
406 (ebrowse-progress-face): Remove obsolete faces.
408 * progmodes/flymake.el (flymake-errline, flymake-warnline):
409 Inherit from error and warning faces respectively.
411 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
413 (flyspell-incorrect-face, flyspell-duplicate-face):
414 Remove obsolete aliases.
416 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
418 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
421 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
423 * startup.el (argv, argi): Make lexically scoped.
424 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
425 * emacs-lisp/cl-macs.el: Use lexical-binding.
426 Rename cl-bind-* to cl--bind-*.
427 * files.el: Don't require `cl' since it doesn't use it.
428 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
430 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
432 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
433 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
434 instead of calling external sort utility.
435 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
437 2012-06-08 Eli Zaretskii <eliz@gnu.org>
439 * descr-text.el (describe-char): Mention how to insert the
440 character, if the current input method doesn't support it.
441 See the discussion in this thread for the details:
442 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
444 2012-06-08 Sam Steingold <sds@gnu.org>
446 * bindings.el (global-map): Bind XF86Forward to next-buffer and
447 XF86Back to previous-buffer.
448 (minibuffer-local-map): Bind them to next-history-element and
449 previous-history-element respectively.
450 * help-mode.el (help-mode-map): Bind them to help-go-forward and
451 help-go-back respectively.
452 * info.el (Info-mode-map): Bind them to Info-history-forward and
453 Info-history-back respectively.
454 These are the keys next to Up on the ThinkPad keyboard.
456 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
458 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
459 * emacs-lisp/cl-macs.el: Provide itself.
460 (cl--labels-convert-cache): New var.
461 (cl--labels-convert): New function.
462 (cl-flet, cl-labels): New implementation with new semantics, relying on
464 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
465 (cl-closure-vars, cl--function-convert-cache)
466 (cl--function-convert): Move from cl-macs.el.
467 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
468 rename by removing the "cl-" prefix.
469 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
471 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
473 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
474 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
475 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
476 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
477 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
478 (cl-hash-table-count): Add old compatibility aliases.
480 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
481 Use macroexpand-all-environment instead.
482 (cl--old-macroexpand): New var.
483 (cl--sm-macroexpand): New function.
484 (cl-symbol-macrolet): Use it during macro expansion.
485 (cl--function-convert-cache): New var.
486 (cl--function-convert): New function, extracted from
488 (cl-lexical-let): Use it.
490 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
491 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
492 (cl-member): Remove old alias.
494 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
495 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
496 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
497 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
498 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
499 (cl-macroexpand-cmacs): Remove var.
500 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
501 Use macroexpand-all instead.
503 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
505 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
506 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
507 (macroexp-copyable-p): New functions and macros.
508 * emacs-lisp/edebug.el (edebug-unwrap):
509 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
510 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
511 (pcase--let*): Remove.
512 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
513 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
514 macroexp-const-p instead.
515 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
517 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
518 instead of "cl-" for internal definitions. Use macroexp-const-p.
519 (cl-old-bc-file-form): Remove var.
520 (cl-const-exprs-p): Remove fun.
521 (cl-labels, cl-macrolet): Use backquote.
522 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
523 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
524 (cl-define-setf-expander): Rename from cl-define-setf-method.
525 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
527 * international/mule-cmds.el: Don't require CL.
528 (view-hello-file): Don't use `letf'.
530 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
532 * tmm.el (tmm-prompt): Use string-prefix-p.
533 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
534 (tmm-add-prompt): Use minibuffer-completion-help.
535 (tmm-delete-map): Remove.
537 * subr.el (kbd): Make it its own function.
539 2012-06-07 Stefan Merten <smerten@oekonux.de>
541 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
542 Silence compiler warnings. Fix versions.
543 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
544 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
545 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
546 (rst-package-emacs-version-alist): Correct Emacs version to
547 represent major merge with upstream.
548 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
550 2012-06-06 Glenn Morris <rgm@gnu.org>
552 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
553 Only print environment variables if set.
555 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
557 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
558 (macroexp--cons): Rename from maybe-cons.
559 (macroexp--accumulate): Rename from macroexp-accumulate.
560 (macroexp--all-forms): Rename from macroexpand-all-forms.
561 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
562 (macroexp--expand-all): Rename from macroexpand-all-1.
564 2012-06-06 Sam Steingold <sds@gnu.org>
566 * calendar/calendar.el (calendar-in-read-only-buffer):
567 Call `special-mode' to enable the standard read-only keybindings.
569 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
571 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
572 with "loading" messages (bug#11635).
574 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
576 * files.el (enable-remote-dir-locals): New option.
577 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
579 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
580 Ensure, that the temp directory is local.
582 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
583 `temporary-file-directory'.
585 * progmodes/python.el (python-send-region): Ensure, that the
586 temporary file is created also in the remote case.
588 2012-06-06 Glenn Morris <rgm@gnu.org>
590 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
591 (vc-rcs-update-changelog): Use it.
593 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
595 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
596 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
597 (vc-sccs-diff): Replace use of the external vcdiff script.
599 2012-06-05 Glenn Morris <rgm@gnu.org>
601 * ledit.el: Move to obsolete/.
603 2012-06-05 Sam Steingold <sds@gnu.org>
605 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
608 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
610 * emacs-list/cust-print.el: Move to obsolete.
612 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
613 compiler-macro expansion.
615 Add native compiler-macro support.
616 * emacs-lisp/macroexp.el (macroexpand-all-1):
617 Support compiler-macros directly. Properly follow aliases and apply
618 the compiler macros more thoroughly.
619 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
620 macroexpand now properly follows aliases.
621 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
622 (cl-compiler-macroexpand): Use new prop.
623 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
625 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
627 2012-06-05 Martin Rudalics <rudalics@gmx.at>
629 * window.el (get-lru-window, get-mru-window, get-largest-window):
630 New argument NOT-SELECTED to avoid picking the selected window.
631 (window--display-buffer-1, window--display-buffer-2): Replace by
632 new function window--display-buffer
633 (display-buffer-same-window, display-buffer-reuse-window)
634 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
635 Use window--display-buffer.
636 (display-buffer-use-some-window): Remove temporary dedication
637 hack by calling get-lru-window and get-largest-window with
638 NOT-SELECTED argument non-nil. Call window--display-buffer.
640 2012-06-05 Glenn Morris <rgm@gnu.org>
642 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
643 Replace external vcdiff script.
645 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
647 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
649 2012-06-04 Chong Yidong <cyd@gnu.org>
651 * image.el (imagemagick-types-inhibit): Revert last change.
653 (imagemagick-enabled-types): Remove CIN and EPS*.
655 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
657 * emacs-lisp/cl-lib.el: Rename from cl.el.
658 * emacs-lisp/cl.el: New compatibility file.
659 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
660 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
661 to obey the "cl-" prefix.
662 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
664 2012-06-03 Glenn Morris <rgm@gnu.org>
666 * emacs-lisp/authors.el (authors-aliases): Addition.
668 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
671 2012-06-03 Stefan Merten <smerten@oekonux.de>
673 * textmodes/rst.el: Add comments.
674 (rst-transition, rst-adornment): New faces.
675 (rst-adornment-faces-alist): Make default safe to reevaluate.
677 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
678 Improve customization tags.
679 (rst-define-level-faces): Clarify meaning.
681 2012-06-03 Chong Yidong <cyd@gnu.org>
683 * progmodes/compile.el (compilation-mode-line-fail)
684 (compilation-mode-line-run, compilation-mode-line-exit):
686 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
688 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
690 * progmodes/which-func.el (which-func-update-ediff-windows):
691 New function. Use it in ediff-select-hook (Bug#11478).
693 2012-06-03 Chong Yidong <cyd@gnu.org>
695 * bindings.el: Remove explicit help text from format-mode-line.
696 It is now supplied by mode-line-default-help-echo.
697 (mode-line-front-space, mode-line-end-spaces)
698 (mode-line-misc-info): New variables.
699 (mode-line-modes, mode-line-position): Move the default value to
700 the variable definition.
701 (mode-line-default-help-echo): New defcustom.
702 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
703 (mode-line-modified-help-echo): New functions.
704 (mode-line-mule-info, mode-line-modified): Use them.
705 (mode-line-eol-desc, propertized-buffer-identification):
706 Consistency fixes for help text.
707 (mode-line-coding-system-map): Allow using mouse-3 to invoke
708 set-buffer-file-coding-system (Bug#289).
709 (mode-line-mule-info-help-echo): Update help text.
711 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
713 * simple.el (execute-extended-command): Set real-this-command
716 2012-06-02 Chong Yidong <cyd@gnu.org>
718 Remove incorrect uses of "modeline" in comments, docstrings, and
719 function/variable names (Bug#10329).
721 * cus-edit.el (mode-line):
722 * dframe.el (dframe-mouse-hscroll):
723 * emacs-lisp/re-builder.el:
724 * emacs-lisp/easy-mmode.el (define-minor-mode):
725 * frame.el (set-frame-name):
726 * help.el (lookup-minor-mode-from-indicator):
727 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
728 * progmodes/cc-cmds.el (c-toggle-auto-newline)
729 (c-toggle-hungry-state):
730 * progmodes/antlr-mode.el (antlr-language-alist):
731 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
732 * progmodes/vhdl-mode.el (vhdl-mode):
733 * progmodes/which-func.el (which-func, which-func-cleanup-function):
734 * term/ns-win.el (ns-face-at-pos):
735 * term/sup-mouse.el (sup-mouse-report):
736 * textmodes/flyspell.el (flyspell-mode-line-string):
737 * textmodes/ispell.el (ispell-highlight-face):
738 * textmodes/reftex-global.el:
739 * vc/vc-arch.el (vc-arch-mode-line-string):
740 * vc/vc-cvs.el (vc-cvs-mode-line-string):
741 * vc/vc-git.el (vc-git-mode-line-string):
742 * vc/vc-hooks.el (vc-display-status)
743 (vc-default-mode-line-string):
744 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
746 * ansi-color.el (ansi-color-faces-vector): Change default faces.
748 * dired.el (dired-sort-set-mode-line): Rename from
749 dired-sort-set-modeline. All callers changed.
751 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
752 eshell-status-in-modeline.
754 * foldout.el (foldout-mode-line-string): Rename from
755 foldout-modeline-string. All callers changed.
756 (foldout-update-mode-line): Rename from foldout-update-modeline.
758 * subr.el (redraw-modeline): Make into obsolete alias.
760 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
761 timeclock-modeline-display. Make old name an alias.
762 (timeclock-update-mode-line): Likewise. All callers changed.
763 (timeclock-mode-line-display): No need to check before using
765 (timeclock-relative, timeclock-day-over-hook)
766 (timeclock-use-elapsed, timeclock-mode-string)
767 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
769 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
770 crisp-mode-modeline-string.
772 * play/solitaire.el (solitaire-build-mode-line): Rename from
773 solitaire-build-modeline. All callers changed.
775 * play/zone.el (zone-hiding-mode-line): Rename from
776 zone-hiding-modeline. All callers changed.
777 (zone): Remove unusued `modeline-hidden-level' property.
779 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
780 xscheme-modeline-initialize. All callers changed.
782 * strokes.el (strokes-lighter): Rename from
783 strokes-modeline-string.
785 * textmodes/sgml-mode.el (html-face-tag-alist)
786 (html-tag-face-alist): Use mode-line face instead of obsolete
789 2012-06-02 Stefan Merten <smerten@oekonux.de>
791 * textmodes/rst.el: Always require `cl'.
792 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
794 2012-06-02 Chong Yidong <cyd@gnu.org>
796 * image.el (imagemagick-enabled-types): Rename from
797 imagemagick-types-enable. Add many more types.
798 (imagemagick-types-inhibit): Change default to nil.
799 (imagemagick-filter-types): Caller changed.
801 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
803 * emacs-lisp/cl-macs.el: Use backquotes.
804 (cl-transform-function-property): Use eval-and-compile rather than
806 (defstruct): Use declare-function instead of with-no-warnings.
808 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
809 (byte-compile-output-docform): Re-add the print-circle bindings.
810 (byte-compile-fix-header): Use #$ just because it's shorter.
811 (byte-compile-output-file-form): Remove defun/defmacro.
813 2012-06-01 Martin Rudalics <rudalics@gmx.at>
815 * simple.el (choose-completion): Remove now obsolete binding for
818 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
820 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
821 in order to avoid "Stack overflow in regexp matcher".
823 2012-05-31 Glenn Morris <rgm@gnu.org>
825 * image.el: For clarity, call imagemagick-register-types at
826 top-level, rather than relying on a custom :initialize.
827 (imagemagick-types-enable): New option. (Bug#11557)
828 (imagemagick-filter-types): New function. (Bug#7406)
829 (imagemagick-register-types): Use imagemagick-filter-types.
830 If disabling support, remove elements altogether rather
831 than using an impossible regexp.
832 (imagemagick-types-inhibit): Give it the default init function.
834 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
836 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
837 Handle arbitrary file name lengths (Bug#11585).
839 2012-05-31 Martin Rudalics <rudalics@gmx.at>
841 * desktop.el (desktop-read): Clear previous and next buffers for
842 all windows and bury *Messages* buffer (bug#11556).
844 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
846 Add `declare' for `defun'. Align `defmacro's with it.
847 * emacs-lisp/easy-mmode.el (define-minor-mode)
848 (define-globalized-minor-mode): Don't autoload the var definitions.
849 * emacs-lisp/byte-run.el: Use lexical-binding.
850 (defun-declarations-alist, macro-declarations-alist): New vars.
851 (defmacro, defun): Use them.
852 (make-obsolete, define-obsolete-function-alias)
853 (make-obsolete-variable, define-obsolete-variable-alias):
855 (macro-declaration-function): Mark obsolete.
856 * emacs-lisp/autoload.el: Use lexical-binding.
857 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
859 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
861 * textmodes/ispell.el (ispell-with-no-warnings):
863 (ispell-kill-ispell, ispell-change-dictionary):
864 Use `called-interactively-p' for Emacs instead of obsolete
867 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
869 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
870 (macro-declaration-function): Move var from C code.
871 (macro-declaration-function): Define function with defalias.
872 * emacs-lisp/macroexp.el (macroexpand-all-1):
873 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
874 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
875 defun/defmacro any more.
876 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
877 Provide fallback for unknown arglist.
878 (byte-compile-arglist-warn): Change calling convention.
879 (byte-compile-output-file-form): Move print-vars binding.
880 (byte-compile-output-docform): Simplify accordingly.
881 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
882 (byte-compile-defmacro-declaration): Remove.
883 (byte-compile-file-form-defmumble): Generalize to defalias.
884 (byte-compile-output-as-comment): Return byte-positions.
885 Simplify callers accordingly.
886 (byte-compile-lambda): Use `assert'.
887 (byte-compile-defun, byte-compile-defmacro): Remove.
888 (byte-compile-file-form-defalias):
889 Use byte-compile-file-form-defmumble.
890 (byte-compile-defalias-warn): Remove.
892 2012-05-29 Stefan Merten <smerten@oekonux.de>
894 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
895 possible. Fix authors. Improve comments. Improve loading of `cl'.
897 (rst-mode-abbrev-table): Merge definition.
898 (rst-mode): Make sure `font-lock-defaults' is buffer local.
899 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
901 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
903 * calendar/icalendar.el
904 (icalendar-export-region): Export UID properly.
906 2012-05-29 Leo <sdl.web@gmail.com>
907 * calendar/icalendar.el (icalendar-import-format):
908 Add `icalendar-import-format-uid' (Bug#11525).
909 (icalendar-import-format-uid): New.
910 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
913 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
915 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
916 different alternative patterns.
917 (pcase-codegen): Be more careful to preserve identity.
918 (pcase--u1): Don't forget to mark vars as used.
920 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
921 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
922 (byte-compile-from-buffer): ...rather than here.
924 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
925 functions from byte-compile-function-environment.
927 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
929 * window.el (window-deletable-p): Avoid deleting the root window
930 of a frame with an active minibuffer.
932 2012-05-29 Martin Rudalics <rudalics@gmx.at>
934 * simple.el (choose-completion): Use quit-window (Bug#11567).
936 2012-05-29 Chong Yidong <cyd@gnu.org>
938 * whitespace.el (whitespace-cleanup): Fix usage of
939 whitespace-empty-at-bob-regexp (Bug#11492).
941 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
943 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
946 2012-05-29 Juri Linkov <juri@jurta.org>
948 * isearch.el (isearch-mode-map): Bind `M-s _' to
949 `isearch-toggle-symbol'. Bind `M-s c' to
950 `isearch-toggle-case-fold'.
951 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
952 (isearch-forward): Add `M-s _' to the docstring.
953 (isearch-forward-symbol, isearch-toggle-case-fold)
954 (isearch-symbol-regexp): New functions. (Bug#11381)
956 2012-05-29 Juri Linkov <juri@jurta.org>
958 * isearch.el (isearch-word): Add docstring. (Bug#11381)
959 (isearch-occur, isearch-search-and-update): If `isearch-word' is
960 a function, call it to get the regexp.
961 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
962 property `isearch-message-prefix' instead of the string "word ".
963 (isearch-search-fun-default): For the case of `isearch-word',
964 return a lambda that calls re-search-forward/re-search-backward
965 with a regexp returned by `word-search-regexp' or by the function
968 2012-05-29 Juri Linkov <juri@jurta.org>
970 * isearch.el (isearch-search-fun-default): New function.
971 (isearch-search-fun): Move default part to the new function
972 `isearch-search-fun-default'.
973 (isearch-search-fun-function): Set the default value to
974 `isearch-search-fun-default'. (Bug#11381)
976 * comint.el (comint-history-isearch-end):
977 Use `isearch-search-fun-default'.
978 (comint-history-isearch-search): Use `isearch-search-fun-default'
979 and remove spacial case for `isearch-word'.
980 (comint-history-isearch-wrap): Remove spacial case for
983 * hexl.el (hexl-isearch-search-function):
984 Use `isearch-search-fun-default'.
986 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
987 Use `word-search-regexp' for `isearch-word'.
989 * misearch.el (multi-isearch-search-fun):
990 Use `isearch-search-fun-default'.
992 * simple.el (minibuffer-history-isearch-search):
993 Use `isearch-search-fun-default' and remove spacial case for
995 (minibuffer-history-isearch-wrap): Remove spacial case for
998 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
999 Remove spacial case for `isearch-word'.
1000 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1002 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1004 Decrease XEmacs incompatibilities.
1005 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1007 (flyspell-delete-region-overlays): Use alternative definition for
1009 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1010 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1011 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1012 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1013 `define-obsolete-face-alias' under XEmacs, but old method.
1015 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1016 `with-no-warnings' definition or Emacs alias.
1017 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1018 (ispell-word): Do not use `region-p' if XEmacs.
1020 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1022 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1023 Check for `ispell-dictionary-base-alist' instead of full
1024 `ispell-dictionary-alist'.
1025 (ispell-init-process): Show spellchecker when starting new Ispell
1028 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1030 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1031 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1033 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1035 * version.el (motif-version-string, gtk-version-string)
1036 (ns-version-string): Declare.
1038 2012-05-27 Juri Linkov <juri@jurta.org>
1040 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1041 after the `eval-defun-1' specialcaseing
1042 like in `edebug-eval-defun' (bug#10181).
1044 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1045 like in `eval-defun-1'.
1047 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1049 * mail/sendmail.el (mail-yank-region):
1050 Recognize rmail-yank-current-message in addition to insert-buffer.
1051 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1052 a *mail* buffer created through rmail-start-mail with sendmail as
1055 2012-05-27 Chong Yidong <cyd@gnu.org>
1057 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1058 Default to 256 (Bug#11267).
1060 * help.el (describe-mode): Doc fix.
1062 2012-05-26 Glenn Morris <rgm@gnu.org>
1064 * w32-fns.el (w32-init-info): Remove.
1065 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1067 * info.el (info-initialize): For self-contained NS builds, put the
1068 included info/ directory at the front. (Bug#2791)
1070 * paths.el (Info-default-directory-list): Make it a defcustom,
1071 mainly so that we can use custom-initialize-delay.
1073 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1075 * subr.el (buffer-has-markers-at): Mark obsolete.
1077 * subr.el (lambda): Use declare.
1079 * emacs-lisp/lisp-mode.el (lambda):
1080 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1082 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1084 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1086 2012-05-26 Glenn Morris <rgm@gnu.org>
1088 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1090 2012-05-25 Glenn Morris <rgm@gnu.org>
1092 * paths.el: Remove no-byte-compile.
1093 * loadup.el: No need to load paths.el uncompiled.
1095 * image.el (imagemagick-types-inhibit): Doc fix.
1097 * version.el: Remove no-byte-compile and associated formatting.
1098 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1099 is ancient code from when there was an "inc-vers.el".
1101 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1103 * progmodes/gdb-mi.el: Minor style changes.
1104 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1105 Turn into minor modes.
1106 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1107 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1108 (gdb-shell): Remove unneeded let-binding.
1109 (gdb-get-many-fields): Eliminate O(n²) behavior.
1111 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1113 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1114 platforms that don't link in fontset.c.
1116 2012-05-25 Juri Linkov <juri@jurta.org>
1118 Use the same diff color scheme as in modern VCSes (bug#10181).
1120 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1121 to avoid confusion with `diff-added' that now uses green colors.
1122 (diff-removed): Use shades of red.
1123 (diff-added): Use shades of green.
1124 (diff-changed): Leave just the yellow color.
1125 (diff-use-changed-face): New variable.
1126 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1127 how to highlight context diff changes.
1128 (diff-refine-change): Use shades of yellow.
1129 (diff-refine-removed): New face that uses shades of red.
1130 (diff-refine-added): New face that uses shades of green.
1131 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1132 `diff-refine-removed' in the call to `smerge-refine-subst'
1133 depending on the value of `diff-use-changed-face'.
1135 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1136 (smerge-other): Use shades of green.
1137 (smerge-base): Use shades of yellow.
1138 (smerge-refined-change): Empty face.
1139 (smerge-refined-removed): New face that uses shades of red.
1140 (smerge-refined-added): New face that uses shades of green.
1141 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1142 args `props-r' and `props-a', and use them. Doc fix.
1143 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1144 on its value use different faces `smerge-refined-change',
1145 `smerge-refined-removed', `smerge-refined-added' in the call to
1146 `smerge-refine-subst'.
1148 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1149 Add face condition `min-colors 88' with shades of red.
1150 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1151 `min-colors 88' with shades of green.
1152 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1153 `min-colors 88' with shades of yellow.
1155 2012-05-24 Glenn Morris <rgm@gnu.org>
1157 * paths.el (prune-directory-list, remote-shell-program): Move to...
1158 * files.el (prune-directory-list, remote-shell-program): ...here.
1159 For the latter, delay initialization, prefer ssh, just search PATH.
1161 * paths.el (term-file-prefix): Move to faces.el (the only user).
1162 * faces.el (term-file-prefix): Move here, make it a defcustom.
1164 * paths.el (news-directory, news-path, news-inews-program):
1165 Move to gnus/nnspool.el.
1167 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1169 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1170 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1171 Make the latter a defcustom, with a delayed initialization.
1173 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1174 These were deleted from Gnus itself late 2010.
1176 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1178 * progmodes/which-func.el (which-func-ff-hook):
1179 Check against user-error, not error.
1181 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1182 cl-specs.el, which no longer exists.
1184 2012-05-22 Glenn Morris <rgm@gnu.org>
1186 * info.el (info-emacs-bug): New command.
1187 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1188 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1190 2012-05-21 Glenn Morris <rgm@gnu.org>
1192 * makefile.w32-in (update-subdirs-SH):
1193 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1195 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1197 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1199 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1200 Simplify Maven regexp, and make sure the file can't start with a space
1203 2012-05-21 Glenn Morris <rgm@gnu.org>
1205 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1206 Scrap superfluous subshells.
1208 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1210 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1211 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1213 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1215 * calc/calc.el (calc-ensure-consistent-units): New variable.
1217 * calc/calc-units.el (math-consistent-units-p)
1218 (math-check-unit-consistency): New functions.
1219 (calc-quick-units, calc-convert-units):
1220 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1222 (calc-extract-units): Fix typo.
1224 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1226 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1228 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1229 (flyspell-default-deplacement-commands): Don't spell check after
1230 repeated window/frame switches (e.g. triggered by mouse-movement).
1231 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1232 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1233 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1234 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1236 (flyspell-get-casechars, flyspell-get-not-casechars):
1237 Simplify; Don't bother removing a ] just to add it back.
1238 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1240 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1242 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1244 (math-function-table): Add support for more C functions.
1246 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1248 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1249 (flyspell-debug-signal-word-checked): Protect delay handling for
1250 otherchars against empty otherchars.
1252 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1254 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1255 their respective macro declarations.
1256 * skeleton.el (define-skeleton):
1257 * progmodes/compile.el (define-compilation-mode):
1258 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1259 (define-ibuffer-filter):
1260 * emacs-lisp/generic.el (define-generic-mode):
1261 * emacs-lisp/easy-mmode.el (define-minor-mode)
1262 (define-globalized-minor-mode):
1263 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1264 * emacs-lisp/byte-run.el (defsubst):
1265 * custom.el (deftheme): Add doc-string metadata.
1267 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1269 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1271 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1273 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1275 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1276 * emacs-lisp/cl-macs.el: Idem.
1277 * emacs-lisp/cl-specs.el: Remove.
1279 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1281 Minor renaming of internal CL functions and variables.
1282 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1283 (cl--position): Rename from cl-position.
1284 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1285 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1286 (cl--random-state): Rename from *random-state*.
1288 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1290 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1291 parens around the arg list (bug#11499).
1293 2012-05-17 Juri Linkov <juri@jurta.org>
1295 * isearch.el (word-search-regexp, word-search-backward)
1296 (word-search-forward, word-search-backward-lax)
1297 (word-search-forward-lax): Move functions from search.c
1298 (bug#10145, bug#11381).
1300 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1302 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1303 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1304 normal word components.
1306 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1308 * minibuffer.el (completion--sifn-requote): Fix last change.
1309 (minibuffer-local-must-match-filename-map):
1310 Move define-obsolete-variable-alias before its var.
1312 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1314 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1316 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1318 (completion--string-equal-p): New function.
1319 (completion--twq-all): Use it to get better assertion failure data.
1321 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1322 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1323 (shell--requote-argument): New functions.
1324 (shell-completion-vars): Use them.
1325 (shell--parse-pcomplete-arguments): Rename from
1326 shell-parse-pcomplete-arguments.
1327 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1328 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1329 Obey comint-file-name-quote-list.
1331 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1332 (smie-indent-keyword): Use it.
1334 2012-05-14 Stefan Merten <smerten@oekonux.de>
1336 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1338 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * net/rlogin.el (rlogin-mode-map): Fix last change.
1342 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1344 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1345 the following \r\n using a single `process-send-string', since the
1346 Lotus SMTP server refuses to accept any commands if they are sent
1347 with two `process-send-string's (Bug#11444).
1349 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1351 * shell.el (shell-parse-pcomplete-arguments):
1352 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1354 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1356 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1357 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1358 (image-transform-width, image-transform-fit-width): New functions.
1359 (image-transform-properties): Use them.
1360 (image-transform-check-size): New function.
1361 (image-toggle-display-image): Use it (for testing).
1362 (image-transform-set-rotation): Reduce angle mod 360.
1363 Delete obsolete comment.
1365 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1367 * image-mode.el: Fix scaling (bug#11399).
1368 (image-transform-resize): Doc fix.
1369 (image-transform-properties): Default scale is 1 and height should
1372 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1374 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1375 than hard-coding `car', to fix misbehavior when moving forward.
1377 2012-05-13 Chong Yidong <cyd@gnu.org>
1379 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1380 (tabulated-list-entries, tabulated-list-padding)
1381 (tabulated-list-sort-key): Make permanent-local.
1383 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1384 (electric-buffer-list): Put electric buffer menu
1385 command descriptions in this docstring, instead of the docstring
1386 of electric-buffer-menu-mode. Code cleanups.
1387 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1388 Electric-buffer-menu-mode.
1389 (electric-buffer-update-highlight): Minor code cleanup.
1391 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1393 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1396 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1398 Move define-obsolete-variable-alias before the var's definition.
1399 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1400 * tooltip.el (tooltip-hook):
1401 * textmodes/reftex-toc.el (reftex-toc-map):
1402 * textmodes/reftex-sel.el (reftex-select-label-map)
1403 (reftex-select-bib-map):
1404 * textmodes/reftex-index.el (reftex-index-map)
1405 (reftex-index-phrases-map):
1406 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1407 * progmodes/meta-mode.el (meta-mode-map):
1408 * novice.el (disabled-command-hook):
1409 * loadhist.el (unload-hook-features-list):
1410 * frame.el (blink-cursor):
1411 * files.el (find-file-not-found-hooks, write-file-hooks)
1412 (write-contents-hooks):
1413 * emulation/tpu-edt.el (GOLD-map):
1414 * emacs-lock.el (emacs-lock-from-exiting):
1415 * emacs-lisp/generic.el (generic-font-lock-defaults):
1416 * emacs-lisp/chart.el (chart-map):
1417 * dos-fns.el (register-name-alist):
1418 * dired-x.el (dired-omit-files-p):
1419 * desktop.el (desktop-enable):
1420 * cus-edit.el (custom-mode-hook):
1421 * buff-menu.el (buffer-menu-mode-hook):
1422 * bookmark.el (bookmark-read-annotation-text-func)
1423 (bookmark-exit-hooks):
1424 * allout.el (allout-mode-deactivate-hook)
1425 (allout-exposure-change-hook, allout-structure-added-hook)
1426 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1427 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1428 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1429 comes before the corresponding variable's definition.
1431 2012-05-12 Chong Yidong <cyd@gnu.org>
1433 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1434 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1435 (Buffer-menu-mode-map): Bind it.
1436 (Buffer-menu--pretty-name): Add a mouse-face property.
1438 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1440 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1441 (prolog-upper-case-string, prolog-lower-case-string)
1442 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1443 (prolog-use-smie, prolog-smie-grammar): New vars.
1444 (prolog-smie-forward-token, prolog-smie-backward-token)
1445 (prolog-smie-rules): New funs.
1446 (prolog-comment-indent): Remove.
1447 (prolog-mode-variables): Use default comment indentation instead.
1449 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1450 (prolog-mode): Don't call them any more.
1451 (prolog-electric-colon, prolog-electric-dash)
1452 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1454 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1456 * minibuffer.el (completion--twq-all): Again, allow case differences.
1458 * term.el: Move keymap initialization code to be more idiomatic.
1459 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1460 (term-terminal-menu): Move initialization into declaration.
1461 (term-escape-char): Let the user set it in her .emacs.
1463 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1464 Provide SMIE-based indentation (not enabled by default yet).
1465 (sh-mode-map): Don't bind electric keys.
1466 Use electric-pair-mode instead of skeleton-pair.
1467 (sh-assignment-regexp): Fit within 80 columns.
1468 (sh-indent-supported): Specify actual shell name instead of boolean.
1469 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1470 (sh-maybe-here-document): Use it. Make obsolete.
1471 (sh-electric-here-document-mode) New minor mode.
1472 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1473 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1474 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1475 (sh-smie-rc-grammar, sh-use-smie): New vars.
1476 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1477 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1478 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1479 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1480 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1481 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1482 (sh-set-shell): Use smie-setup if requested.
1484 * term.el (term-set-escape-char): Properly set term-escape-char.
1485 See http://stackoverflow.com/questions/10524656.
1487 2012-05-10 Chong Yidong <cyd@gnu.org>
1489 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1490 Use url-generic-parse-url, and handle host names and Windows
1492 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1493 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1494 URL schemes to work on.
1495 (ffap--toggle-read-only): New function.
1496 (ffap-read-only, ffap-read-only-other-window)
1497 (ffap-read-only-other-frame): Use it.
1498 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1499 necessary for ffap-url-unwrap-remote.
1501 2012-05-10 Dave Abrahams <dave@boostpro.com>
1503 * cus-start.el (create-lockfiles): Add it.
1505 2012-05-09 Chong Yidong <cyd@gnu.org>
1507 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1508 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1510 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1512 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1514 2012-05-09 Chong Yidong <cyd@gnu.org>
1516 * ansi-color.el (ansi-color-process-output): Check for validity of
1517 comint-last-output-start before using it. This avoids a bad
1518 interaction with gdb-mi's input/output buffer.
1520 2012-05-09 Glenn Morris <rgm@gnu.org>
1522 * files.el (dir-locals-read-from-file):
1523 Mention dir-locals in any error message.
1525 2012-05-09 Chong Yidong <cyd@gnu.org>
1527 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1528 package (Bug#11410).
1530 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1531 variables into description.
1533 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1535 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1536 shell-delimiter-argument-list (bug#11348).
1537 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1539 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1541 * textmodes/rst.el: Silence byte-compiler warnings.
1542 (rst-re-alist, rst-reset-section-caches): Move around.
1543 (rst-re): Use `characterp', not `char-valid-p'.
1544 (font-lock-beg, font-lock-end): Declare.
1546 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1547 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1549 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1551 2012-05-08 Glenn Morris <rgm@gnu.org>
1553 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1555 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1557 * vc/log-edit.el: Add GNU coding standards highlighting.
1558 (log-edit-font-lock-gnu-style)
1559 (log-edit-font-lock-gnu-keywords): New vars.
1560 (log-edit-font-lock-keywords): New fun.
1561 (log-edit-mode): Don't fold case in font-lock.
1562 (log-edit-font-lock-keywords): Do not assume case-folding.
1564 * imenu.el: Misc cleanup. Make docstrings out of comments.
1565 Use lexical-binding.
1566 (imenu--index-alist, imenu--last-menubar-index-alist)
1567 (imenu-menubar-modified-tick): Use defvar-local.
1568 (imenu--split-menu): Remove unused var.
1569 (imenu--cleanup-seen): Declare as global.
1570 (imenu--cleanup): Use dolist.
1572 * subr.el (defvar-local): Add debug spec and doc-string position.
1574 2012-05-08 Glenn Morris <rgm@gnu.org>
1576 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1577 * language/english.el, language/georgian.el, language/greek.el:
1578 * language/japanese.el, language/khmer.el, language/korean.el:
1579 * language/lao.el, language/misc-lang.el, language/romanian.el:
1580 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1581 * language/thai.el, language/utf-8-lang.el:
1582 Remove no-byte-compile setting.
1584 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1586 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1588 * progmodes/make-mode.el (makefile-browse):
1589 Remove unnecessary interactive. (Bug#11324)
1591 2012-05-07 Glenn Morris <rgm@gnu.org>
1593 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1595 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1597 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1599 * loadup.el: Preload newcomment.el.
1600 * newcomment.el: Move autoload-only code to toplevel.
1602 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1603 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1604 Handle new :right-align column property.
1605 (tabulated-list-print-col): Idem, plus use `display' text-property to
1606 try and preserve alignment for variable pitch fonts.
1608 2012-05-07 Chong Yidong <cyd@gnu.org>
1610 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1611 (tabulated-list-use-header-line): New var.
1612 (tabulated-list-init-header): Use it.
1613 (tabulated-list-print-fake-header): New function.
1614 (tabulated-list-print): Use it.
1615 (tabulated-list-sort-button-map): Add non-header-line commands.
1616 (tabulated-list-init-header): Add column name property to basic
1618 (tabulated-list-col-sort): Handle non-header-line button case.
1619 (tabulated-list--sort-by-column-name): Fix a corner case.
1621 * buff-menu.el (list-buffers--refresh):
1622 Handle Buffer-menu-use-header-line.
1624 2012-05-06 Chong Yidong <cyd@gnu.org>
1626 * buff-menu.el: Convert to Tabulated List mode.
1627 (Buffer-menu-buffer+size-width): Make obsolete.
1628 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1629 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1630 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1631 documentation into docstring of buffer-menu.
1632 (Buffer-menu-toggle-files-only): Add an informative message.
1633 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1634 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1635 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1636 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1637 (Buffer-menu-execute, Buffer-menu-select)
1638 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1639 (Buffer-menu-bury): Use Tabulated List machinery.
1640 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1641 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1643 (list-buffers--refresh): New function.
1644 (list-buffers-noselect): Use it.
1645 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1646 (Buffer-menu--pretty-file-name): New helper functions.
1648 * loadup.el: Preload tabulated-list.
1650 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1651 tabulated-list-sort-column.
1652 (tabulated-list-init-header): Add the initial aligning space even
1653 if tabulated-list-padding is zero.
1655 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1657 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1658 whose cdr is not a cons cell correctly (bug#11038).
1660 2012-05-06 Chong Yidong <cyd@gnu.org>
1662 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1663 Accept additional plist in column descriptors.
1664 (tabulated-list-init-header): Obey it.
1665 (tabulated-list-get-entry): New function.
1666 (tabulated-list-put-tag): Use it. Use string-width instead of
1668 (tabulated-list--column-number): New function.
1669 (tabulated-list-print): Use it.
1670 (tabulated-list-print-col): New function.
1671 Set `tabulated-list-column-name' property on each column's text.
1672 (tabulated-list-print-entry): Use it.
1673 (tabulated-list-delete-entry, tabulated-list-set-col):
1675 (tabulated-list-sort-column): New command (Bug#11337).
1677 * buff-menu.el (list-buffers): Move C-x C-b binding from
1678 buff-menu.el to bindings.el.
1680 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1681 :advertised-binding feature.
1683 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1685 * progmodes/compile.el (compilation-internal-error-properties):
1686 Calculate start position correctly when end-col is set but
1687 end-line is not (Bug#11382).
1689 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1691 * man.el (Man-unindent): Use text-property-default-nonsticky to
1692 prevent untabify from inheriting face properties (Bug#11408).
1694 2012-05-05 Stefan Merten <smerten@oekonux.de>
1696 * textmodes/rst.el: Major merge with upstream development up to
1697 Docutils SVN r7399 / rst.el V1.2.1.
1699 Clarify maintainership and authors.
1701 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1702 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1703 (rst-official-version, rst-official-cvs-rev, rst-version)
1704 (rst-package-emacs-version-alist): New functions and variables
1705 for version information.
1707 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1708 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1709 (rst-mode-syntax-table, rst-mode): New and corrected functions
1710 and variables representing reStructuredText features.
1712 (rst-re): New function for reStructuredText regexes. Use in
1715 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1716 (rst-mode-map): Rebind keys.
1718 (rst-mode-lazy, rst-font-lock-keywords)
1719 (rst-font-lock-extend-region)
1720 (rst-font-lock-extend-region-internal)
1721 (rst-font-lock-extend-region-extend)
1722 (rst-font-lock-find-unindented-line-limit)
1723 (rst-font-lock-find-unindented-line-match)
1724 (rst-adornment-level, rst-font-lock-adornment-level)
1725 (rst-font-lock-adornment-match)
1726 (rst-font-lock-handle-adornment-pre-match-form)
1727 (rst-font-lock-handle-adornment-matcher): Major revision of
1728 font-locking. Integrate with other code. Use `jit-lock-mode'.
1730 (rst-preferred-adornments, rst-adjust-hook)
1731 (rst-new-adornment-down, rst-preferred-bullets)
1732 (rst-preferred-bullets, rst-indent, rst-indent-width)
1733 (rst-indent-field, rst-indent-literal-normal)
1734 (rst-indent-literal-minimized, rst-indent-comment): Change,
1735 extend and improve customization.
1737 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1738 (rst-normalize-cursor-position, rst-get-decoration)
1739 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1740 (rst-rstrip, rst-toc-insert-find-delete-contents)
1741 (rst-shift-fill-region, rst-compute-bullet-tabs)
1742 (rst-debug-print-tabs, rst-debug-mark-found)
1743 (rst-shift-region-guts, rst-shift-region-right)
1744 (rst-shift-region-left, rst-use-char-classes)
1745 (rst-font-lock-keywords-function)
1746 (rst-font-lock-indentation-point)
1747 (rst-font-lock-find-unindented-line-begin)
1748 (rst-font-lock-find-unindented-line-end)
1749 (rst-font-lock-find-unindented-line)
1750 (rst-font-lock-adornment-point, rst-font-lock-level)
1751 (rst-adornment-level-alist): Remove functions and variables.
1753 (rst-compare-adornments, rst-get-adornment-match)
1754 (rst-suggest-new-adornment, rst-get-adornments-around)
1755 (rst-adornment-complete-p, rst-get-next-adornment)
1756 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1757 (rst-straighten-adornments): Standardize function names to
1758 use "adornment" instead of "decoration". Correct callers.
1759 Similar standardizing in many places.
1761 (rst-update-section, rst-adjust, rst-promote-region)
1762 (rst-enumerate-region, rst-bullet-list-region)
1763 (rst-repeat-last-character): Correct use of `interactive'.
1765 (rst-classify-adornment, rst-find-all-adornments)
1766 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1767 (rst-find-leftmost-column, rst-repeat-last-character):
1770 (rst-find-title-line, rst-reset-section-caches)
1771 (rst-get-adornments-around, rst-adjust-adornment-work)
1772 (rst-arabic-to-roman, rst-roman-to-arabic)
1773 (rst-insert-list-pos, rst-insert-list-new-item)
1774 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1777 (rst-all-sections, rst-section-hierarchy)
1778 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1781 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1782 configuration instead of only buffer. Change where necessary.
1784 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1785 (rst-shift-region, rst-adaptive-fill): New functions for
1786 indentation and filling.
1788 (rst-comment-line-break, rst-comment-indent)
1789 (rst-comment-insert-comment, rst-comment-region)
1790 (rst-uncomment-region): New functions for handling comments.
1792 (rst-compile): Quote shell arguments.
1794 (rst-compile-pdf-preview, rst-compile-slides-preview):
1795 Delete temporary files after use.
1797 2012-05-05 Glenn Morris <rgm@gnu.org>
1799 * calendar/cal-html.el: Optionally include holidays in the output.
1800 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1801 (cal-html-holidays): New option.
1802 (cal-html-css-default): Add holiday entry.
1803 (holiday-in-range): Autoload it.
1804 (cal-html-htmlify-entry): Add optional class argument.
1805 (cal-html-htmlify-list): Add optional holidays argument.
1806 (cal-html-insert-agenda-days): Include holidays in the output.
1807 (cal-html-one-month): Maybe include holidays.
1809 * calendar/holidays.el (holiday-in-range):
1810 Move here from cal-tex-list-holidays.
1811 * calendar/cal-tex.el (cal-tex-list-holidays):
1812 Make it an obsolete alias for holiday-in-range. Update all callers.
1814 2012-05-05 Chong Yidong <cyd@gnu.org>
1816 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1819 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1821 * files.el (file-auto-mode-skip): New var.
1822 (set-auto-mode-1): Use it.
1824 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1826 * repeat.el: Use lexical-binding.
1827 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1828 (repeat-undo-count): Remove.
1830 * progmodes/octave-mod.el (octave-abbrev-start):
1831 * progmodes/f90.el (f90-abbrev-start):
1832 * face-remap.el (text-scale-adjust):
1833 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1835 * emacs-lisp/pcase.el (pcase--let*): New function.
1836 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1838 (pcase--split-pred): Be more clever about ruling out overlap between
1839 a predicate and some constant pattern.
1840 (pcase--q1): Use `null' instead of (eq foo nil).
1842 * subr.el (setq-local, defvar-local): New macros.
1843 (kbd): Redefine as an alias.
1844 (with-selected-window): Leave unrelated frames alone.
1845 (set-temporary-overlay-map): New function.
1847 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1849 * subr.el (user-error): New function.
1850 * window.el (switch-to-buffer):
1851 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1852 (smerge-match-conflict):
1853 * simple.el (previous-matching-history-element)
1854 (next-matching-history-element, goto-history-element, undo-more)
1856 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1857 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1858 (next-file, tags-loop-scan, list-tags, complete-tag):
1859 * progmodes/compile.el (compilation-loop):
1860 * mouse.el (mouse-minibuffer-check):
1861 * man.el (Man-bgproc-sentinel, Man-goto-page):
1862 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1863 (Info-history-forward, Info-follow-reference, Info-menu)
1864 (Info-extract-menu-item, Info-extract-menu-counting)
1865 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1866 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1867 (Info-next-reference, Info-prev-reference, Info-index)
1868 (Info-index-next, Info-follow-nearest-node)
1869 (Info-copy-current-node-name):
1870 * imenu.el (imenu--make-index-alist)
1871 (imenu-default-create-index-function, imenu-add-to-menubar):
1872 * files.el (basic-save-buffer, recover-file):
1873 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1874 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1875 (checkdoc-message-text, checkdoc-defun):
1876 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1877 * cus-edit.el (customize-changed-options, customize-rogue)
1878 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1879 (custom-variable-mark-to-reset-standard)
1880 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1882 * completion.el (check-completion-length):
1883 * comint.el (comint-search-arg)
1884 (comint-previous-matching-input-string-position)
1885 (comint-previous-matching-input)
1886 (comint-replace-by-expanded-history-before-point, comint-send-input)
1887 (comint-copy-old-input, comint-backward-matching-input)
1888 (comint-goto-process-mark, comint-set-process-mark):
1889 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1890 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1892 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1894 * dabbrev.el (dabbrev--ignore-case-p): New function.
1895 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1898 * files.el (automount-dir-prefix): Mark as obsolete.
1900 2012-05-04 Glenn Morris <rgm@gnu.org>
1902 * patcomp.el, play/bruce.el: Move to obsolete/.
1904 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1906 Fix minor Y10k bugs.
1907 * arc-mode.el (archive-unixdate):
1908 * autoinsert.el (auto-insert-alist):
1909 * calc/calc-forms.el (math-this-year):
1910 * emacs-lisp/copyright.el (copyright-current-year)
1911 (copyright-update-year, copyright):
1912 * tar-mode.el (tar-clip-time-string):
1913 * time.el (display-time-update):
1914 Don't assume years have 4 digits.
1916 2012-05-04 Chong Yidong <cyd@gnu.org>
1918 * dos-w32.el (file-name-buffer-file-type-alist)
1919 (direct-print-region-use-command-dot-com):
1920 * ffap.el (ffap-menu-regexp):
1921 * find-file.el (ff-special-constructs):
1922 * follow.el (follow-debug):
1923 * forms.el (forms--debug):
1924 * iswitchb.el (iswitchb-all-frames):
1925 * ido.el (ido-all-frames):
1926 * emacs-lisp/timer.el (timer-max-repeats):
1927 * mail/feedmail.el (feedmail-mail-send-hook)
1928 (feedmail-mail-send-hook-queued):
1929 * mail/footnote.el (footnote-signature-separator):
1930 * mail/mailabbrev.el (mail-alias-separator-string)
1931 (mail-abbrev-mode-regexp):
1932 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1933 * progmodes/idlwave.el (idlwave-libinfo-file)
1934 (idlwave-default-completion-case-is-down)
1935 (idlwave-library-routines): Convert defvars to defcustoms.
1937 * mail/rmail.el (rmail-decode-mime-charset):
1938 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1939 (idlwave-shell-fix-inserted-breaks)
1940 (idlwave-shell-activate-alt-keybindings)
1941 (idlwave-shell-use-breakpoint-glyph):
1942 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1944 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1946 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1948 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1950 * progmodes/verilog-mode.el (font-lock-keywords):
1951 Fix mis-highligting auto. Reported by Craig Barner.
1952 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1953 defines from global name space. Reported by Dan Dever.
1954 (verilog-auto-reset, verilog-auto-reset-widths)
1955 (verilog-auto-tieoff): Support using unbased numbers for
1956 AUTORESET and AUTOTIEOFF.
1957 (verilog-submit-bug-report): Update variable list.
1958 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1959 parenthesis from not matching. Reported by Michael Rytting.
1960 (verilog-auto-template-lint): Fix hash error when linting modules
1961 with no used templates.
1962 (verilog-warn, verilog-warn-error)
1963 (verilog-warn-fatal): When non-interactive report multiple
1964 warnings before exiting. Suggested by Brad Dobbie.
1965 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1966 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1967 to report unused template errors. Reported by Brad Dobbie.
1968 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1969 nets, bug438. Reported by Vns Blore.
1970 (verilog-auto-inout-module, verilog-auto-reg)
1971 (verilog-read-decls, verilog-read-sub-decls-sig)
1972 (verilog-signals-edit-wire-reg, verilog-signals-with):
1973 Fix passing of Verilog data types in ANSI input/output ports
1974 such as "output logic" into the AUTOs. Special case "wire" and
1975 "reg" for backwards compatibility presuming Verilog 2001.
1976 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1977 (verilog-preprocess): Fix replication of preprocess output.
1978 Reported by Brad Dobbie.
1979 (verilog-auto-inst-interfaced-ports):
1980 Create verilog-auto-inst-interfaced-ports, bug429.
1981 Reported by Julian Gorfajn.
1982 (verilog-after-save-font-hook)
1983 (verilog-before-save-font-hook): New variable.
1984 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1985 (verilog-save-font-mods): Wrap disabling fontification, reported
1987 (verilog-do-indent, verilog-pretty-declarations-auto)
1988 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1989 Reported by Pierre-David Pfister.
1990 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1991 of class declarations, bug292. Reported by Kevin Heilman.
1992 (verilog-read-decls): Fix 'parameter type' not appearing in
1993 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1994 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1995 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1996 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1997 Reported by David Kravitz.
1999 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2001 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2002 assignment with tests in ifs and for loops.
2003 (verilog-extended-complete-re, verilog-complete-reg): Change so
2004 that DPI inport functions don't look like fuction declarations.
2005 (verilog-pretty-expr): Don't line up assignment
2006 operations to the test and increment in if and for loops
2007 (verilog-extended-complete-re, verilog-complete-reg): Change so
2008 that DPI inport functions don't look like fuction declarations
2010 2012-05-03 Kenichi Handa <handa@m17n.org>
2012 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2013 decoding, and show a warning message without signaling an error
2016 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2018 * emacs-lisp/bytecomp.el
2019 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2020 since cconv.el might have introduced :fun-body, internal-make-closure,
2021 and friends for bytecomp to handle (bug#11391).
2022 * custom.el (defcustom): Avoid ((λ ..) ..).
2024 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2026 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2028 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2030 * notifications.el (dbus-debug):
2031 * term/linux.el (gpm-mouse-enable):
2032 * term/screen.el (xterm-register-default-colors): Declare.
2034 2012-05-02 Chong Yidong <cyd@gnu.org>
2036 * cus-start.el (gc-cons-percentage, exec-suffixes)
2037 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2038 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2039 (make-cursor-line-fully-visible, void-text-area-pointer)
2040 (font-list-limit): Add customization data.
2042 * allout.el (allout-exposure-change-functions)
2043 (allout-structure-added-functions)
2044 (allout-structure-deleted-functions)
2045 (allout-structure-shifted-functions): Rename abnormal hooks from
2046 *-hook, and convert to defcustoms.
2047 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2048 Convert to defcustoms.
2049 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2051 * allout-widgets.el: Hook callers changed.
2053 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2055 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2056 the yanked message in preference to the default value of
2057 buffer-file-coding-system.
2059 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2061 * window.el (display-buffer--action-function-custom-type):
2064 2012-05-02 Alan Mackenzie <acm@muc.de>
2066 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2068 2012-05-01 Glenn Morris <rgm@gnu.org>
2070 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2072 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2074 * cus-edit.el (custom-variable-documentation): Simplify with format.
2076 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2077 Stefan Monnier <monnier@iro.umontreal.ca>
2079 * simple.el (suggest-key-bindings, execute-extended-command):
2080 Move from keyboard.c.
2082 2012-05-01 Chong Yidong <cyd@gnu.org>
2084 * follow.el: Eliminate advice.
2085 (set-process-filter, process-filter, sit-for): Advice deleted.
2086 (follow-mode-off-hook): Obsolete hook removed.
2087 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2089 (follow-auto): Use a :set function.
2090 (follow-mode): Rewritten. Don't advise process filters.
2091 (follow-switch-to-current-buffer-all, follow-scroll-up)
2092 (follow-scroll-down): Assume follow-mode is bound.
2093 (follow-comint-scroll-to-bottom)
2094 (follow-align-compilation-windows): New functions.
2095 (follow--window-sorter): New function.
2096 (follow-all-followers): Use it to explicitly sort windows by their
2097 positions; don't make assumptions about next-window order.
2098 (follow-windows-start-end, follow-delete-other-windows-and-split)
2099 (follow-calc-win-start): Doc fix.
2100 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2101 vertical-motion unnecessarily.
2102 (follow-adjust-window): New function.
2103 (follow-post-command-hook): Use it.
2104 (follow-call-set-process-filter, follow-call-process-filter)
2105 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2106 (follow-stop-intercept-process-output, follow-generic-filter):
2108 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2109 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2110 New functions, replacing advice on scroll-bar-* commands.
2111 (follow-mwheel-scroll): New function (Bug#4112).
2113 * comint.el (comint-adjust-point): New function.
2114 (comint-postoutput-scroll-to-bottom): Use it.
2115 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2117 2012-05-01 Glenn Morris <rgm@gnu.org>
2119 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2120 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2121 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2122 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2123 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2124 Remove no-byte-compile setting.
2126 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2128 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2129 all-completions code to not return a number in the last cdr.
2131 2012-04-30 Leo Liu <sdl.web@gmail.com>
2133 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2136 2012-04-29 Chong Yidong <cyd@gnu.org>
2138 * follow.el (follow-calc-win-end): Rewrite to handle partial
2139 screen lines correctly (Bug#8390).
2140 (follow-avoid-tail-recenter): Minor cleanup.
2142 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2144 Avoid the obsolete `assoc' package.
2145 * speedbar.el (speedbar-refresh): Avoid adelete.
2146 (speedbar-file-lists): Simplify and avoid aput.
2147 * man.el (Man--sections, Man--refpages): New vars, replacing
2148 Man-sections-alist and Man-refpages-alist.
2149 (Man-build-section-alist, Man-build-references-alist):
2150 Use them; avoid aput.
2151 (Man--last-section, Man--last-refpage): New vars.
2152 (Man-follow-manual-reference): Use them.
2153 Use the `default' arg of completing-read.
2154 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2156 2012-04-27 Chong Yidong <cyd@gnu.org>
2158 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2160 * startup.el (x-apply-session-resources): New function.
2162 * term/ns-win.el (ns-initialize-window-system):
2163 * term/w32-win.el (w32-initialize-window-system):
2164 * term/x-win.el (x-initialize-window-system): Use it to properly
2165 set menu-bar-mode and other vars from X resources, even if the
2166 initial frame is not a window-system frame (Bug#2299).
2168 * subr.el (read-key): Avoid running filter function when setting
2169 up temporary tool bar entries (Bug#9922).
2171 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2173 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2176 2012-04-27 Chong Yidong <cyd@gnu.org>
2178 * select.el (xselect--encode-string): New function, split from
2179 xselect-convert-to-string.
2180 (xselect-convert-to-string): Use it.
2181 (xselect-convert-to-filename, xselect-convert-to-os)
2182 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2183 returned strings are properly encoded (Bug#11315).
2185 2012-04-27 Chong Yidong <cyd@gnu.org>
2187 * simple.el (delete-active-region): Move to killing custom group.
2189 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2191 * progmodes/which-func.el (which-func-current): Quote %
2192 characters for mode-line processing.
2194 2012-04-27 Chong Yidong <cyd@gnu.org>
2196 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2197 reaching eob (Bug#11286).
2199 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2201 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2202 (gdb): Make it buffer-local and init to zero.
2203 (gdb-control-commands-regexp): New variable.
2204 (gdb-send): Don't wrap in "-interpreter-exec console" if
2205 gdb-control-level is positive. Increment gdb-control-level
2206 whenever the command matches gdb-control-commands-regexp, and
2207 decrement it each time the command is "end". (Bug#11279)
2209 2012-04-27 Martin Rudalics <rudalics@gmx.at>
2211 * window.el (adjust-window-trailing-edge, enlarge-window)
2212 (shrink-window, window-resize):
2213 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2214 windows (Bug#11276).
2216 2012-04-27 Chong Yidong <cyd@gnu.org>
2218 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2219 fix "missing prefix" warning. All callers changed.
2221 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2223 * emacs-lisp/assoc.el: Move to obsolete/.
2225 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2227 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2229 * term/ns-win.el (ns-define-service):
2230 * progmodes/pascal.el (pascal-goto-defun):
2231 * progmodes/js.el (js--read-tab):
2232 * progmodes/etags.el (tags-lazy-completion-table):
2233 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2234 * emacs-lisp/ewoc.el (ewoc--wrap):
2235 * emacs-lisp/assoc.el (aput, adelete, amake):
2236 * doc-view.el (doc-view-convert-current-doc):
2237 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2239 2012-04-26 Chong Yidong <cyd@gnu.org>
2241 * image.el (image-type-from-buffer): Only return supported image
2244 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2245 value, for symmetry with diff-end-of-hunk.
2246 (diff-split-hunk, diff-find-source-location)
2247 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2248 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2249 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2250 compute the relevant hunk or file properly (Bug#6005).
2251 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2253 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2262 * vc/vc.el: Replace lexical-let by lexical-binding.
2263 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2264 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2265 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2267 2012-04-26 Chong Yidong <cyd@gnu.org>
2269 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2270 (diff-mode-shared-map): Bind it to / and [remap undo].
2272 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2273 (ediff-window-setup-function): Use it as the default, to set up
2274 windows based on whether the current frame is graphical (Bug#2138).
2275 (ediff-choose-window-setup-function-automatically): Make obsolete.
2277 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2279 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2281 * ffap.el: Remove old code for obsolete package.
2282 (ffap-complete-as-file-p): Remove.
2284 Use completion-table-with-quoting for comint and pcomplete.
2285 * comint.el (comint--unquote&requote-argument)
2286 (comint--unquote-argument, comint--requote-argument): New functions.
2287 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2288 (comint-quote-filename): Use regexp-opt-charset.
2289 (comint--common-suffix, comint--common-quoted-suffix)
2290 (comint--table-subvert): Remove.
2291 (comint-unquote-function, comint-requote-function): New vars.
2292 (comint--complete-file-name-data): Use them with
2293 completion-table-with-quoting.
2294 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2295 * pcomplete.el (pcomplete-arg-quote-list)
2296 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2297 (pcomplete-unquote-argument-function): Default to non-nil.
2298 (pcomplete-unquote-argument): Simplify.
2299 (pcomplete--common-quoted-suffix): Remove.
2300 (pcomplete-requote-argument-function): New var.
2301 (pcomplete--common-suffix): New function.
2302 (pcomplete-completions-at-point): Use completion-table-with-quoting
2303 and completion-table-subvert.
2305 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2306 (minibuffer--double-dollars): Preserve properties.
2307 (completion--sifn-requote): New function.
2308 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2310 * minibuffer.el: Add support for completion of quoted/escaped data.
2311 (completion-table-with-quoting, completion-table-subvert): New funs.
2312 (completion--twq-try, completion--twq-all): New functions.
2313 (completion--nth-completion): New function.
2314 (completion-try-completion, completion-all-completions): Use it.
2316 2012-04-25 Leo Liu <sdl.web@gmail.com>
2318 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2319 Use compilation-message if available to find real filename.
2321 2012-04-25 Chong Yidong <cyd@gnu.org>
2323 * vc/diff-mode.el (diff-setup-whitespace): New function.
2324 (diff-mode): Use it.
2326 * vc/diff.el (diff-sentinel):
2327 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2328 Whitespace mode variables based on diff style (Bug#8612).
2330 2012-04-25 Leo Liu <sdl.web@gmail.com>
2332 * progmodes/python.el (python-send-region): Add suffix .py to the
2335 * files.el (auto-mode-alist): Use javascript-mode instead.
2337 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2339 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2341 * soap-client.el (soap-resolve-references-for-sequence-type)
2342 (soap-resolve-references-for-array-type): Hack to prevent self
2343 references, see Bug#9.
2344 (soap-parse-envelope): Report the contents of the 'detail' node
2345 when receiving a fault reply.
2346 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2348 * soap-inspect.el (soap-sample-value-for-simple-type)
2349 (soap-inspect-simple-type): New function.
2351 * soap-client.el (soap-simple-type): New struct.
2352 (soap-default-xsd-types, soap-default-soapenc-types)
2353 (soap-decode-basic-type, soap-encode-basic-type):
2354 support unsignedInt and double basic types.
2355 (soap-resolve-references-for-simple-type)
2356 (soap-parse-simple-type, soap-encode-simple-type): New function.
2357 (soap-parse-schema): Parse xsd:simpleType declarations.
2359 * soap-client.el (soap-default-xsd-types)
2360 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2361 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2362 the local name of "soapenc:Array".
2363 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2364 decoding integer, byte and anyURI xsd types.
2366 2012-04-25 Chong Yidong <cyd@gnu.org>
2368 * cus-edit.el (custom-buffer-create-internal): Update header text.
2370 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2372 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2373 settings on 'system-type', not on 'window-system'. On MS-Windows,
2374 set interactive-mode on in GDB.
2376 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2378 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2379 (ruby-syntax-propertize-regexp): Remove.
2380 (ruby-syntax-propertize-function): Split regexp into chunks.
2381 Match following code directly.
2383 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2385 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2386 (ruby-syntax-propertize-regexp): New function.
2387 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2388 by a special keyword.
2390 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2391 (ruby-syntax-general-delimiters-goto-beg)
2392 (ruby-syntax-propertize-general-delimiters): New functions.
2393 (ruby-syntax-propertize-function): Use them to handle GDL.
2394 (ruby-font-lock-keywords): Move old handling of GDL...
2395 (ruby-font-lock-syntactic-keywords): .. to here.
2396 (ruby-calculate-indent): Adjust indentation for GDL.
2398 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2400 * notifications.el (top): Remove unneeded declarations.
2401 (notifications-specification-version): Change to "1.2".
2402 (notifications-interface, notifications-notify-method)
2403 (notifications-close-notification-method): Fix docstring.
2404 (notifications-get-capabilities-method): New defconst.
2405 (notifications-notify): Add :action-items, :resident and
2406 :transient hints. Change "image_data" to "image-data" and
2407 "image_path" to "image-path".
2408 (notifications-get-capabilities): New defun.
2410 2012-04-24 Leo Liu <sdl.web@gmail.com>
2412 * progmodes/python.el: Move hideshow setup to the end.
2414 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2416 * window.el (handle-select-window): Clear echo area since this is
2417 no more done by read_char (Bug#11304).
2419 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2421 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2422 and `/ M' to filter-derived-mode.
2423 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2424 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2425 (ibuffer-mark-by-mode): Use default rather than initial-input.
2426 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2428 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2430 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2431 (ibuffer-filter-by-derived-mode): New filter.
2432 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2434 2012-04-23 Andreas Politz <politza@fh-trier.de>
2436 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2438 2012-04-23 Chong Yidong <cyd@gnu.org>
2440 * cus-edit.el (customize-apropos, customize-apropos-options):
2441 Disable matching of non-option variables (Bug#11176).
2442 (customize-option, customize-option-other-window)
2443 (customize-changed-options): Doc fix.
2444 (customize-apropos-options, customize-apropos-faces)
2445 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2447 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2448 Fix word list splitting (Bug#11132).
2449 (apropos-symbol, apropos-keybinding, apropos-label)
2450 (apropos-property, apropos-function-button)
2451 (apropos-variable-button, apropos-misc-button): New faces.
2452 (apropos-symbol-face, apropos-keybinding-face)
2453 (apropos-label-face, apropos-property-face, apropos-match-face):
2454 Variables removed (Bug#8396).
2455 (apropos-library-button, apropos-format-plist, apropos-print)
2456 (apropos-print-doc, apropos-describe-plist): Callers changed.
2458 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2460 * net/xesam.el (xesam-mode-map): Use let-bound map in
2461 initialization. (Bug#11292)
2463 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2465 Preserve ispell session localwords when switching back to
2468 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2469 variable to hold buffer session localwords.
2470 (ispell-kill-ispell): add option 'clear to delete session
2472 (ispell-command-loop, ispell-change-dictionary)
2473 (ispell-buffer-local-words): Preserve session localwords when
2476 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2477 Preserve session localwords when needed.
2479 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2481 * ispell.el (ispell-insert-word) Remove unneeded function using
2482 obsolete `translation-table-for-input'.
2483 (ispell-word, ispell-process-line, ispell-complete-word):
2484 Use plain `insert' instead of removed `ispell-insert-word'.
2486 2012-04-22 Chong Yidong <cyd@gnu.org>
2488 * cus-edit.el (custom-variable-menu)
2489 (custom-variable-reset-saved, custom-face-menu)
2490 (custom-face-reset-saved): If there is no saved value, make the
2491 "reset-saved" operation bring back the default (Bug#9509).
2492 (custom-face-state): Properly detect themed faces.
2494 * faces.el (face-spec-set): Stop supporting deprecated form of
2497 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2499 Move functions from C to Lisp. Make non-blocking method calls
2500 the default. Implement further D-Bus standard interfaces.
2502 * net/dbus.el (dbus-message-internal): Declare function.
2503 Remove unneeded function declarations.
2504 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2505 (dbus-message-type-method-return, dbus-message-type-error)
2506 (dbus-message-type-signal): Declare variables. Remove local
2508 (dbus-interface-dbus, dbus-interface-peer)
2509 (dbus-interface-introspectable, dbus-interface-properties)
2510 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2512 (dbus-interface-objectmanager): New defconst.
2513 (dbus-call-method, dbus-call-method-asynchronously)
2514 (dbus-send-signal, dbus-method-return-internal)
2515 (dbus-method-error-internal, dbus-register-service)
2516 (dbus-register-signal, dbus-register-method): New defuns, moved
2518 (dbus-call-method-handler, dbus-setenv)
2519 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2521 (dbus-call-method-non-blocking): Make it an obsolete function.
2522 (dbus-unregister-object, dbus-unregister-service)
2523 (dbus-handle-event, dbus-register-property)
2524 (dbus-property-handler): Obey the new structure of
2525 `bus-registered-objects'.
2526 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2527 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2528 Use `dbus-call-method'.
2530 2012-04-22 Chong Yidong <cyd@gnu.org>
2532 * cus-edit.el (custom-commands, custom-reset-menu)
2533 (Custom-reset-standard): Tweak labels.
2534 (custom-reset-button-menu): Change default to t.
2535 (custom-buffer-create-internal): For the custom-reset-button-menu
2536 case, put the revert button first.
2537 (custom-group-subtitle): New face.
2538 (custom-group-value-create): Align docstring to a specific column.
2540 * wid-edit.el (widget-documentation-link-add): Don't handle
2541 indentation in this function.
2542 (widget-documentation-string-indent-to): New function.
2543 (widget-documentation-string-value-create): Use it.
2545 * autorevert.el (auto-revert):
2546 * epg-config.el (epg):
2547 * ibuffer.el (ibuffer):
2550 * eshell/eshell.el (eshell):
2551 * net/ange-ftp.el (ange-ftp):
2552 * progmodes/ebnf2ps.el (postscript):
2553 * progmodes/flymake.el (flymake):
2554 * progmodes/prolog.el (prolog):
2555 * progmodes/verilog-mode.el (verilog-mode):
2556 * progmodes/which-func.el (which-func):
2557 * term/xterm.el (xterm):
2558 * textmodes/picture.el (picture):
2559 * textmodes/tildify.el (tildify):
2560 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2561 customization buffers.
2563 2012-04-22 Alan Mackenzie <acm@muc.de>
2565 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2566 Adding a ) can hide the resulting (..) from searches. Fix it.
2567 Bound the backward search to the position of the existing (.
2569 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2571 * progmodes/verilog-mode.el (verilog-mode): Check whether
2572 which-func-modes is t before adding verilog-mode.
2573 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2575 2012-04-21 Leo Liu <sdl.web@gmail.com>
2577 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2579 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2581 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2582 filling of the last column of a table (Bug#5635).
2583 (woman-find-next-control-line): New arg, specifying an additional
2584 regexp component for the control line.
2585 (woman2-roff-buffer): Use it.
2586 (woman-break-table): New function.
2587 (woman2-TS): Use it.
2589 2012-04-21 Chong Yidong <cyd@gnu.org>
2591 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2592 (woman-horizontal-escapes, woman-negative-vertical-space)
2593 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2594 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2596 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2598 * minibuffer.el (completion-file-name-table): Complete user names.
2600 2012-04-20 Leo Liu <sdl.web@gmail.com>
2602 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2605 2012-04-20 Chong Yidong <cyd@gnu.org>
2607 * server.el (server-execute): Respect initial-buffer-choice if it
2608 is a string and there are no files to open (Bug#2825).
2609 (server-create-window-system-frame, server-create-tty-frame):
2610 Don't switch buffers here.
2611 (server-process-filter): Only try to open a window system frame if
2612 compiled with graphical support (Bug#8314).
2614 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2616 * battery.el (battery-echo-area-format): Display remaining time
2617 for sysfs backend too (Bug#11269).
2618 (battery-linux-sysfs): Fix conditional for the charge.
2620 2012-04-20 Chong Yidong <cyd@gnu.org>
2622 * progmodes/gdb-mi.el (gdb): Revert previous change.
2623 (gdb-inferior-io--init-proc): New function.
2624 (gdb-init-1): Use it.
2625 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2626 responsible for allocating a new pty and hooking it to gdb when
2627 the old pty gets an EIO due to process exit.
2628 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2629 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2630 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2632 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2634 * window.el (window-min-size, window-sizable, window-min-delta)
2635 (window-max-delta, window--resizable, window-resizable)
2636 (window-total-size, window-full-height-p, window-full-width-p)
2637 (window-in-direction, window--resize-mini-window, window-resize)
2638 (window--resize-child-windows-normal)
2639 (window--resize-child-windows, window--resize-siblings)
2640 (window--resize-this-window, adjust-window-trailing-edge)
2641 (enlarge-window, shrink-window): Doc fixes.
2643 2012-04-20 Chong Yidong <cyd@gnu.org>
2645 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2646 New function to call delete-process on the gdb-inferior buffer's pty.
2647 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2648 pty process (Bug#11273).
2649 (gdb-update): New arg to suppress talking to the gdb process.
2650 (gdb-done-or-error): Use it.
2651 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2652 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2653 sentinel not being called.
2655 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2657 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2659 2012-04-20 Glenn Morris <rgm@gnu.org>
2661 * net/network-stream.el (open-network-stream): Doc fix.
2663 2012-04-20 Chong Yidong <cyd@gnu.org>
2665 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2667 2012-04-20 Alan Mackenzie <acm@muc.de>
2669 Ensure searching for keywords is case sensitive.
2671 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2672 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2673 (c-defun-name, c-mark-function, c-cpp-define-name)
2674 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2675 (c-context-line-break): Bind case-fold-search to nil.
2677 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2678 Bind case-fold-search to nil.
2680 2012-04-20 Chong Yidong <cyd@gnu.org>
2682 * mail/sendmail.el (mail-bury): Call return action with the right
2683 Rmail buffer (Bug#11242).
2685 * server.el (server-process-filter): Handle corner case where both
2686 tty and nowait options are present (Bug#11102).
2688 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2690 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2691 (top level): Put into the executable the ident-style '$Id:' tag on
2694 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2696 * electric.el (electric-indent-post-self-insert-function): Check that
2697 electric-indent-mode is enabled in current buffer.
2699 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2701 * imenu.el (imenu-progress-message): Restore; it is "used" in
2702 erc/erc-imenu.el and net/snmp-mode.el.
2704 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2706 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2707 (mouse-avoidance-nudge-mouse): Remove unused binding.
2709 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2711 * descr-text.el (describe-char):
2712 * progmodes/python.el (python-describe-symbol):
2713 Don't call `toggle-read-only', set `buffer-read-only'.
2715 * imenu.el (imenu-default-goto-function): Mark unused args.
2716 (imenu-progress-message): Remove obsolete macro; all callers changed.
2718 * subr.el (keymap-canonicalize): Remove unused binding.
2719 (read-passwd): Mark unused arg.
2721 * tutorial.el (tutorial--display-changes): Remove unused binding.
2722 (tutorial--save-tutorial-to): Remove unused variable.
2724 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2725 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2726 (package-generate-autoloads, package-menu--generate)
2727 (package-menu--find-upgrades): Remove unused bindings.
2729 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2730 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2731 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2732 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2733 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2734 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2735 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2736 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2737 (cua-delete-char-rectangle): Mark unused args.
2738 (cua-align-rectangle): Remove unused binding.
2740 * mail/rmail.el (compilation--message->loc)
2741 (epa--find-coding-system-for-mime-charset): Declare.
2743 * net/dbus.el (dbus-register-service): Declare.
2744 (dbus-name-owner-changed-handler): Remove unused binding.
2746 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2747 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2748 (nxml-scan-backward-within): Mark unused arg.
2749 (nxml-dynamic-markup-word): Remove unused binding.
2751 * mouse.el (mouse-menu-major-mode-map):
2752 * emacs-lisp/authors.el (authors-scan-change-log)
2753 (authors-add-to-author-list):
2754 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2755 * emacs-lisp/smie.el (smie-auto-fill):
2756 * mail/sendmail.el (mail-bury):
2757 * mail/unrmail.el (unrmail):
2758 * net/tls.el (open-tls-stream):
2759 * textmodes/picture.el (picture-mouse-set-point):
2760 Remove unused bindings.
2762 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2764 * net/tramp.el (tramp-action-password): Let-bind
2765 `enable-recursive-minibuffers' to t.
2767 2012-04-18 Sam Steingold <sds@gnu.org>
2769 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2770 instead of 'string to accommodate values like [f11].
2771 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2772 * progmodes/gdb-mi.el: Likewise.
2774 2012-04-18 Leo Liu <sdl.web@gmail.com>
2776 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2778 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2781 2012-04-18 Chong Yidong <cyd@gnu.org>
2783 * simple.el (line-move): Use forward-line if in batch mode
2786 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2788 * files.el (after-find-file): Do not try to add a final newline if
2789 the buffer is read-only (Bug#11156).
2791 2012-04-17 Richard Stallman <rms@gnu.org>
2793 * mail/rmail.el (rmail-start-mail):
2794 Pass (rmail-mail-return...) for the return-action.
2795 Pass (rmail-yank-current-message...) for the yank-action.
2796 (rmail-yank-current-message): New function.
2797 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2798 (rmail-reply): Likewise.
2799 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2801 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2802 buffer, not the last. Reject temp buffers. Use the rmail-mode
2805 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2807 * server.el (server-ensure-safe-dir): Simplify.
2809 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2811 * emacs-lisp/smie.el: Provide smarter auto-filling.
2812 (smie-auto-fill): New function.
2813 (smie-setup): Use it.
2815 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2817 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2819 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2820 (comment-indent): Use it.
2822 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
2824 * ses.el: The overall change is to add cell renaming, that is
2825 setting fancy names for cell symbols other than name matching
2826 "\\`[A-Z]+[0-9]+\\'" regexp .
2827 (ses-localvars): Add ses--renamed-cell-symb-list.
2828 (ses-create-cell-variable): New defun.
2829 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2830 (ses-relocate-formula): Relocate formulas only for cells the
2831 symbols of which are not renamed, i.e. symbols whose names do not
2832 match regexp "\\`[A-Z]+[0-9]+\\'".
2833 (ses-relocate-all): Relocate values only for cells the symbols of
2834 which are not renamed.
2835 (ses-load): Create cells variables as the (ses-cell ...) are read,
2836 in order to check row col consistency with cell symbol name only
2837 for cells that are not renamed.
2838 (ses-replace-name-in-formula): New defun.
2839 (ses-rename-cell): New defun.
2841 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2843 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2844 New option (bug#11118).
2845 (perl-calculate-indent): Respect it.
2847 2012-04-17 Glenn Morris <rgm@gnu.org>
2849 * dired-aux.el (dired-mark-read-string): Doc fix.
2851 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2853 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2854 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2856 2012-04-17 Glenn Morris <rgm@gnu.org>
2858 * mouse.el (mouse-drag-track):
2859 * speedbar.el (speedbar-frame-mode):
2860 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2862 2012-04-16 Leo Liu <sdl.web@gmail.com>
2864 * progmodes/python.el: Trivial cleanup.
2866 2012-04-16 Glenn Morris <rgm@gnu.org>
2868 * vc/vc.el (vc-string-prefix-p):
2869 * vc/pcvs-util.el (cvs-string-prefix-p):
2870 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2871 * mpc.el (mpc-string-prefix-p):
2872 Make all of these into obsolete aliases for string-prefix-p.
2874 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2876 * textmodes/two-column.el: Move custom options to the start.
2877 (frame-width): Remove compat definition.
2878 (2C-associate-buffer, 2C-dissociate):
2879 Use with-current-buffer rather than save-excursion.
2880 (2C-dissociate): Force a mode-line update.
2881 (2C-autoscroll): Use ignore-errors.
2883 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2886 * emacs-lisp/cl-extra.el (*random-state*):
2887 Remove unnecessary declaration.
2889 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2891 * play/cookie1.el (cookie-snarf):
2892 Give an explicit error if input file cannot be read.
2894 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2896 * progmodes/perl-mode.el (c-macro-expand):
2897 Remove unnecessary autoload (it is in loaddefs.el).
2899 * textmodes/picture.el (picture-desired-column)
2900 (picture-update-desired-column): Convert comments to doc-strings.
2901 (picture-substitute): Remove function.
2902 (picture-mode-map): Initialize in the defvar.
2904 * woman.el: Remove eval-after-load for tar-mode.
2905 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2906 (woman-tar-extract-file): Autoload it.
2908 * frame.el (automatic-hscrolling): Make this alias obsolete.
2910 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2912 * ispell.el (ispell-set-spellchecker-params): Post-process
2913 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2914 (ispell-dictionary-base-alist): Revert to original XEmacs
2915 friendly version for default. [:alpha:] will be added in
2916 `ispell-set-spellchecker-params' if needed
2918 2012-04-16 Chong Yidong <cyd@gnu.org>
2920 * image.el (imagemagick--extension-regexp): New variable.
2921 (imagemagick-register-types): Use it.
2922 (imagemagick-types-inhibit): Add :set function. Allow new value
2923 of t to inhibit all types.
2925 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2926 so we can preload it.
2928 * loadup.el (fboundp): Preload regexp-opt, needed by
2929 imagemagick-register-types.
2931 2012-04-15 Chong Yidong <cyd@gnu.org>
2933 * frame.el (scrolling): Remove nearly unused customization group.
2935 * scroll-all.el (scroll-all-mode): Move to windows group.
2937 2012-04-15 Chong Yidong <cyd@gnu.org>
2939 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2941 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2943 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2944 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2946 2012-04-15 Glenn Morris <rgm@gnu.org>
2948 * simple.el (process-file-side-effects): Doc fix.
2950 2012-04-15 Glenn Morris <rgm@gnu.org>
2952 * international/mule-cmds.el (set-language-environment): Doc fix.
2954 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2956 * server.el (server-auth-key, server-generate-key): Doc fixes.
2957 (server-get-auth-key): Doc fix. Use `string-match-p'.
2958 (server-start): Reflow docstring.
2960 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2962 * server.el (server-generate-key): `called-interactively-p'
2963 requires a parameter.
2965 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2967 * server.el (server-auth-key): New variable.
2968 (server-generate-key, server-get-auth-key): New function.
2969 (server-start): Use the new variable and functions to allow
2970 setting a permanent server key (bug#9423).
2972 2012-04-14 Leo Liu <sdl.web@gmail.com>
2974 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2976 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2979 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2980 Emacs uses American spelling.
2982 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2984 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2985 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2986 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2987 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2989 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2991 * progmodes/which-func.el (which-func-modes): Change default.
2993 2012-04-14 Kim F. Storm <storm@cua.dk>
2995 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2996 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2998 2012-04-14 Chong Yidong <cyd@gnu.org>
3000 * custom.el (custom-theme-set-variables): Doc fix.
3002 2012-04-14 Glenn Morris <rgm@gnu.org>
3004 * international/mule.el (set-auto-coding-for-load): Doc fix.
3006 2012-04-14 Alan Mackenzie <acm@muc.de>
3008 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3009 imenu work again for Objective C Mode. Correct the *-index values,
3010 these having been disturbed by a previous change in 2011-08.
3012 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3013 Correct two search limits.
3015 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3017 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3019 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3021 * international/characters.el: Fix sorting.
3023 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3025 * international/characters.el: Add more missing Latin case pairs.
3027 2012-04-14 Glenn Morris <rgm@gnu.org>
3029 * files.el (dir-locals-set-class-variables): Doc fix.
3031 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3033 * international/characters.el: Add set-case-syntax-pair call for
3034 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3035 counterpart. (Bug#11209)
3037 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3039 2012-04-14 Glenn Morris <rgm@gnu.org>
3041 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3043 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3045 * textmodes/ispell.el (ispell-dictionary-base-alist):
3046 Add data for Hebrew.
3048 2012-04-14 Chong Yidong <cyd@gnu.org>
3050 * net/rcirc.el (rcirc-cmd-quit):
3051 Revert 2012-03-18 change (Bug#11192).
3053 2012-04-14 Glenn Morris <rgm@gnu.org>
3055 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3057 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3059 * minibuffer.el (completion-in-region-mode-map):
3060 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3062 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3064 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3066 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3068 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3069 to allow `C-M-f' and `C-M-b' to move to the nearest path
3070 separator (bug#9511).
3072 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3074 * avoid.el: Require cl when compiling. And also move the
3075 `provide' to the end.
3077 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3079 * avoid.el (mouse-avoidance-banish-position): New variable.
3080 (mouse-avoidance-banish-destination): Use it (bug#10165).
3082 2012-04-13 Leo Liu <sdl.web@gmail.com>
3084 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3086 2012-04-13 Ken Brown <kbrown@cornell.edu>
3088 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3089 this is no longer needed now that cygstart understands file:// URLs.
3090 (browse-url-filename-alist): For the same reason, don't modify
3091 file:// URLs on Cygwin.
3093 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3095 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3096 the region on shift if the binding is already shifted (bug#11221).
3098 2012-04-12 Glenn Morris <rgm@gnu.org>
3100 * mail/mailpost.el: Move to obsolete/.
3102 2012-04-12 Drew Adams <drew.adams@oracle.com>
3104 * imenu.el (imenu--generic-function): Ignore invisible definitions
3107 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3109 * hexl.el (hexl-bits): New variable.
3110 (hexl-options): Mention the variable in the doc string.
3111 (hexl-rulerise, hexl-line-displen): New functions.
3112 (hexl-mode): Mention the new variable.
3113 (hexl-mode, hexl-current-address, hexl-current-address):
3115 (hexl-ascii-start-column): New function.
3116 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3117 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3119 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3121 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3122 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3123 the encoding, as expected by hunspell.
3125 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3127 * battery.el (battery--linux-sysfs-regexp): New const.
3128 (battery-status-function): Use it. Remove yeeloong special case.
3129 (battery-yeeloong-sysfs): Remove.
3130 (battery-echo-area-format): Remove yeeloong special case.
3132 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3134 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3135 Reported by Noah Friedman.
3137 * subr.el (read-passwd): Use read-string.
3139 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3141 * vcursor.el (vcursor-move): Increase the priority of the overlay
3144 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3146 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3147 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3149 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3151 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3152 define-minor-mode (bug#10760).
3154 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3156 * progmodes/grep.el (rgrep): Tweak the find command line so
3157 that directories matching `grep-find-ignored-files' won't be
3160 2012-04-11 Chong Yidong <cyd@gnu.org>
3162 * startup.el (command-line): Remove support for long-obsolete
3163 variable font-lock-face-attributes.
3165 2012-04-11 Glenn Morris <rgm@gnu.org>
3167 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3169 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3171 * window.el (window--state-get-1): Obey window-point-insertion-type.
3173 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3175 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3176 to previous function when point is on the first character of a
3177 function. Take care of that in `narrow-to-defun' (bug#6157).
3179 2012-04-11 Glenn Morris <rgm@gnu.org>
3181 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3182 not just file-errors.
3184 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3185 (vc-bzr-sha1): Use internal sha1.
3187 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3189 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3191 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3193 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3194 that start in the middle of the line (bug#10496).
3196 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3198 * battery.el (battery-linux-proc-acpi): Only one battery is
3199 discharged at a time, but that seems to confuse battery.el when
3200 computing `rate-type' for the battery not being discharged
3203 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3205 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3207 * international/quail.el: Use dolist and simplify.
3208 (quail-define-package, quail-update-keyboard-layout)
3209 (quail-define-rules): Use dolist.
3210 (quail-insert-kbd-layout, quail-get-translation): CSE.
3212 * tmm.el: Use dolist, remove left over hook.
3213 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3215 (calendar-load-hook): Don't mess with it.
3217 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3218 Use derived-mode-p. Run the diff asynchronously.
3220 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3222 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3224 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
3226 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3227 (list-dynamic-libraries--loaded): New function.
3228 (list-dynamic-libraries--refresh): Use it.
3230 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
3232 * progmodes/python.el (python-fill-paragraph):
3233 Make python-fill-region in a multiline string work when font-lock is
3234 disabled (bug#7018).
3236 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3238 * language/european.el (cp775): Add oem/legacy (en)coding on
3239 DOS/MS Windows for the Baltic languages. There are still plenty
3240 of texts written in this encoding/codepage (bug#6519).
3242 2012-04-10 Glenn Morris <rgm@gnu.org>
3244 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3245 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3247 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3249 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3250 next-line "n" and previous-line "p" in order to make recentf more
3251 consistent with ibuffer, dired or org-mode (bug#9387).
3253 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3255 * image.el (put-image): Return the overlay created instead of the
3256 optional input string (bug#7834). Note that this may break code
3257 that is (for some reason or other) depending on `put-image'
3258 returning the string.
3260 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3262 * simple.el (zap-to-char): Allow zapping using input methods
3265 * textmodes/fill.el (fill-region): Leave point and mark where they
3266 were before filling (bug#5399).
3268 2012-04-09 Glenn Morris <rgm@gnu.org>
3270 * version.el (emacs-bzr-get-version):
3271 Handle lightweight checkouts of local branches.
3273 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3275 * international/characters.el: Recover lost case pairs. (Bug#11209)
3277 2012-04-09 Chong Yidong <cyd@gnu.org>
3279 * custom.el (custom-variable-p): Return nil for non-symbol
3280 arguments instead of signaling an error.
3281 (user-variable-p): Obsolete alias for custom-variable-p.
3283 * apropos.el (apropos-variable):
3284 * files-x.el (read-file-local-variable):
3285 * simple.el (set-variable):
3286 * woman.el (woman-mini-help):
3287 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3289 2012-04-09 Glenn Morris <rgm@gnu.org>
3291 * startup.el (normal-top-level): Don't look for leim-list.el
3292 in places where it will not be found. (Bug#910)
3294 * international/mule-cmds.el (set-default-coding-systems):
3295 * files.el (normal-mode):
3296 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3297 This function was removed with ucs-tables.el in 2008.
3299 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3301 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3302 ispell-encoding8-command to "-i", without a trailing space.
3303 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3304 separate command-line arguments, to specify the encoding, since
3305 that's how hunspell expects it.
3307 2012-04-08 Glenn Morris <rgm@gnu.org>
3309 * loadup.el: Load bindings before cus-start.
3310 This reduces somewhat the number of "rogue" settings in emacs -Q.
3312 2012-04-07 Glenn Morris <rgm@gnu.org>
3314 * version.el (emacs-bzr-get-version): New function.
3315 (emacs-bzr-version): New variable.
3316 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3317 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3319 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3321 * international/uni-bidi.el, international/uni-category.el:
3322 * international/uni-combining.el, international/uni-decimal.el:
3323 * international/uni-decomposition.el, international/uni-digit.el:
3324 * international/uni-lowercase.el, international/uni-mirrored.el:
3325 * international/uni-name.el, international/uni-numeric.el:
3326 * international/uni-titlecase.el, international/uni-uppercase.el:
3327 Update for Unicode 6.1.
3329 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3331 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3333 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3335 * window.el (shrink-window): Mention the `window-min-height'
3336 variable in the doc string.
3338 2012-04-05 Bastien Guerry <bzg@altern.org>
3340 * color.el (color-lighten-name): Fix typo.
3342 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3344 * server.el (server--on-display-p): New function.
3345 (server--on-display-p): Use it.
3347 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3349 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3352 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3354 * comint.el (comint--common-quoted-suffix): Check string boundary
3355 before comparing (bug#11158).
3356 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3358 2012-04-04 Chong Yidong <cyd@gnu.org>
3360 * minibuffer.el (completion-extra-properties): Doc fix.
3362 * subr.el (delayed-warnings-hook): Doc fix.
3364 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3366 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3367 selection (Bug#11159).
3368 (epa-insert-keys): Inform that the default public key will be
3369 exported if no key is selected.
3371 2012-04-04 Richard Stallman <rms@gnu.org>
3373 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3375 2012-04-03 Chong Yidong <cyd@gnu.org>
3377 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3378 mail-insert-file, not its obsolete alias mail-attach-file.
3380 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3382 * notifications.el (notifications-notify): Fix docstring.
3384 2012-04-02 Glenn Morris <rgm@gnu.org>
3386 * emacs-lisp/authors.el (authors-aliases): Another addition.
3388 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3390 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3391 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3392 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3394 2012-04-01 Chong Yidong <cyd@gnu.org>
3396 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3397 Handle root directory properly.
3398 (copy-directory): Caller changed.
3400 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3401 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3403 2012-03-31 Glenn Morris <rgm@gnu.org>
3405 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3407 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3409 * calendar/calendar.el (calendar-window-list)
3410 (calendar-hide-window): Restore. (Bug#11140)
3411 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3413 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3415 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3417 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3418 Check if file is a symlink (Bug#10489).
3420 * files.el (copy-directory): Likewise.
3422 2012-03-30 Chong Yidong <cyd@gnu.org>
3424 * image.el (imagemagick-types-inhibit)
3425 (imagemagick-register-types): Doc fix.
3427 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3429 * ispell.el (ispell-get-extended-character-mode):
3430 Disable extended-char-mode for hunspell. hunspell does not support it
3431 and treats ~word as ordinary words in pipe mode.
3433 2012-03-30 Glenn Morris <rgm@gnu.org>
3435 * tutorial.el (help-with-tutorial): Ensure local variables don't
3436 happen to make the buffer read-only. (Bug#11127)
3438 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3440 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3441 (perl-calculate-indent): Return `noindent' in strings.
3443 2012-03-28 Sam Steingold <sds@gnu.org>
3445 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3446 instead of the broken adhockery which does not prevent calendar
3447 buffers from being displayed at random after exit.
3448 (calendar-window-list, calendar-hide-window): Remove the broken
3451 2012-03-28 Glenn Morris <rgm@gnu.org>
3453 * replace.el (query-replace-map): Doc fix.
3455 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3457 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3458 contents. (Bug#11109)
3460 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3462 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3464 (avl-tree--check, avl-tree--check-node): New funs.
3466 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3468 * window.el (switch-to-visible-buffer): New option.
3469 (switch-to-prev-buffer, switch-to-next-buffer):
3470 Observe switch-to-visible-buffer. Make sure that checking for a window
3471 showing a buffer already is done on the same frame.
3473 2012-03-27 Glenn Morris <rgm@gnu.org>
3475 * startup.el (mail-host-address): Doc fix.
3477 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3479 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3482 2012-03-26 Ami Fischman <ami@fischman.org>
3484 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3486 2012-03-26 Glenn Morris <rgm@gnu.org>
3488 * files.el (save-buffers-kill-emacs): Doc fix.
3490 * startup.el (normal-top-level, command-line, command-line-1):
3491 Give them doc strings.
3493 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3495 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3496 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3498 2012-03-25 Chong Yidong <cyd@gnu.org>
3500 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3501 theme if it was previously enabled before (Bug#11031).
3503 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3504 spec with custom-face-get-current-spec if its :shown-value is not
3505 determined yet (Bug#9337).
3506 (customize-create-theme, custom-theme-revert): Doc fixes.
3508 * button.el (button-at): Minor addition to docstring.
3510 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3512 * vc/vc.el (vc-merge): Fix a prompt.
3514 2012-03-24 Chong Yidong <cyd@gnu.org>
3516 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3519 * button.el (button-at): Minor addition to docstring.
3521 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3523 * newcomment.el (comment-choose-indent): No space after BOL.
3525 2012-03-22 Sam Steingold <sds@gnu.org>
3527 * window.el (switch-to-prev-buffer): Revert last patch because the
3528 bug turned out to be an advertised feature (Elisp manual 28.14).
3530 2012-03-22 Glenn Morris <rgm@gnu.org>
3532 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3533 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3535 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3537 * net/network-stream.el (network-stream-open-starttls): Make error
3538 message under Windows be less misleading.
3540 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3542 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3543 understands (bug#9942).
3545 2012-03-22 Chong Yidong <cyd@gnu.org>
3547 * simple.el (end-of-visible-line): Handle return value of
3548 next-single-property-change properly (Bug#9371).
3550 2012-03-22 Kenichi Handa <handa@m17n.org>
3552 * international/quail.el (quail-insert-kbd-layout): Fix previous
3553 change. To avoid unwanted bidi reordering, use
3554 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3556 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3558 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3559 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3560 (ruby-beginning-of-indent): Be more careful with the difference
3561 between word-boundary and symbol boundary.
3562 (ruby-mode-syntax-table): Make : a symbol constituent.
3564 2012-03-21 Andreas Politz <politza@fh-trier.de>
3566 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3568 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3570 * progmodes/etags.el (tags-completion-at-point-function):
3573 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3575 2012-03-21 Sam Steingold <sds@gnu.org>
3577 * progmodes/etags.el (tags-completion-at-point-function):
3578 Avoid the error when point is inside the pattern.
3580 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3582 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3585 2012-03-21 Drew Adams <drew.adams@oracle.com>
3587 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3589 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3591 * ido.el (ido-set-current-directory, ido-read-internal)
3592 (ido-choose-completion-string, ido-completion-help): Handle nil
3593 value of ido-completion-buffer (Bug#11008).
3595 2012-03-21 Sam Steingold <sds@gnu.org>
3597 * window.el (switch-to-prev-buffer): Do not switch to a visible
3598 window previous buffer, just like with the frame previous buffers.
3600 2012-03-21 Chong Yidong <cyd@gnu.org>
3602 * faces.el (make-face, make-empty-face, copy-face):
3603 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3606 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3608 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3609 (widget-complete): Remove broken use of it.
3611 2012-03-20 Chong Yidong <cyd@gnu.org>
3613 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3614 Use string-width and truncate-string-width to handle arbitrary
3617 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3619 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3620 to draw rectangles, not squares. (Regression introduced by revno
3621 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3623 2012-03-18 Chong Yidong <cyd@gnu.org>
3625 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3626 it is not yet defined (for temacs).
3628 2012-03-18 Leo Liu <sdl.web@gmail.com>
3630 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3632 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3634 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3635 (ispell-choices-win-default-height, ispell-silently-savep)
3636 (ispell-dictionary-alist, ispell-encoding8-command)
3637 (ispell-check-version, ispell-aspell-find-dictionary)
3638 (ispell-valid-dictionary-list, ispell-words-keyword)
3639 (ispell-get-word, ispell-internal-change-dictionary)
3640 (ispell-region, ispell-skip-region-list)
3641 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3642 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3643 (ispell-message-text-end, ispell-message)
3644 (ispell-buffer-local-parsing): Doc fix.
3646 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3648 * htmlfontify.el: Add support for code block fontification for ODT
3650 (hfy-optimisations): Define new option
3652 (hfy-fontify-buffer): Honor above setting.
3653 (hfy-begin-span, hfy-end-span): New routines factored out form
3654 `hfy-fontify-buffer'.
3655 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3656 that permit insertion of custom tags.
3657 (hfy-fontify-buffer): Use above handlers.
3658 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3659 (hfy-face-to-css): Re-defined to be a variable.
3660 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3661 over multiple runs. This is made possible by having the caller let
3662 bind a special variable `hfy-user-sheet-assoc'.
3663 (htmlfontify-string): New defun.
3664 (hfy-compile-face-map): Make sure that the last char in the
3665 buffer is correctly fontified.
3666 (hfy-face-resolve-face): Whitespace only change.
3668 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3670 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3673 2012-03-16 Leo Liu <sdl.web@gmail.com>
3675 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3677 2012-03-16 Alan Mackenzie <acm@muc.de>
3679 Further optimise the handling of large macros.
3681 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3682 limit to a call of `c-literal-limits'.
3683 (c-determine-+ve-limit): New function.
3684 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3685 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3686 In CASE 5B, restrict a search limit to 500.
3687 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3689 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3690 Restrict macro bounds to +-500 from after-change's BEG END.
3692 2012-03-16 Leo Liu <sdl.web@gmail.com>
3694 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3696 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3698 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3699 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3701 2012-03-16 Glenn Morris <rgm@gnu.org>
3703 * view.el (view-buffer, view-buffer-other-window)
3704 (view-buffer-other-frame): Doc fixes re special mode-class.
3706 * subr.el (eval-after-load): If named feature is provided not from
3707 a file, run after-load forms. (Bug#10946)
3709 * calendar/calendar.el (calendar-insert-at-column):
3710 Handle non-unit-width characters a bit better. (Bug#10978)
3712 2012-03-15 Chong Yidong <cyd@gnu.org>
3714 * emacs-lisp/ring.el (ring-extend): New function.
3715 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3717 * comint.el (comint-read-input-ring)
3718 (comint-add-to-input-history): Grow comint-input-ring lazily.
3720 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3722 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3723 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3725 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3726 (imenu-add-to-menubar): Don't add a redundant index.
3727 (imenu-update-menubar): Handle a dynamically composed keymap.
3729 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3731 * mail/sendmail.el (mail-encode-header):
3732 Bind rfc2047-encode-encoded-words to nil.
3734 2012-03-13 Glenn Morris <rgm@gnu.org>
3736 * calendar/calendar.el (calendar-string-spread):
3737 Handle non-unit-width characters a bit better. (Bug#10978)
3739 2012-03-13 Leo Liu <sdl.web@gmail.com>
3741 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3742 directory and file as argument (Bug#10822).
3744 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3746 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3747 For dynamically generated code, follow $PC.
3748 (gdb-disassembly-handler-custom): Handle no function name case.
3750 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3752 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3753 * emulation/ws-mode.el (ws-query-replace):
3754 * sort.el (sort-regexp-fields):
3755 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3757 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3759 * dabbrev.el: Fix cycle completion order (bug#10963).
3760 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3761 (dabbrev-completion): Don't use an obarray; provide
3762 a cycle-sort-function.
3764 2012-03-12 Leo Liu <sdl.web@gmail.com>
3766 * simple.el (kill-new): Use equal-including-properties for comparison.
3767 (kill-do-not-save-duplicates): Doc fix.
3769 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3771 * dabbrev.el: Fix cycle completion (bug#10963).
3772 Use lexical binding and wrap to 80 columns.
3773 (dabbrev-completion): Delay computing the list of completions.
3775 2012-03-12 Kenichi Handa <handa@m17n.org>
3777 * international/quail.el (quail-insert-kbd-layout): Surround each
3778 row by LRO and PDF instead of inserting many LRMs. Pad the left
3779 and right of each non-spacing marks. Insert invisible space
3780 between lower and upper characters to prevent composition.
3782 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3784 * minibuffer.el (minibuffer-complete): Don't get confused when the
3785 function is run twice via different commands (bug#10958).
3786 (complete-with-action): Fix docstring.
3788 2012-03-12 Chong Yidong <cyd@gnu.org>
3790 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3791 (nxml-completion-at-point-function): New function.
3792 (nxml-mode): Use it.
3793 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3795 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3796 Load generated autoloads file before byte compiling (Bug#10970).
3797 (package--make-autoloads-and-compile): New helper fun.
3799 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3801 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3803 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3805 * autorevert.el (auto-revert-handler): Ensure, that
3806 file-readable-p is applied only for local files or in
3807 auto-revert-tail-mode.
3809 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3811 * server.el (server-eval-at): Handle non-tcp connections.
3812 Decode result string.
3814 * server.el (server-msg-size): New constant.
3815 (server-reply-print): New function.
3816 (server-eval-and-print): Use it.
3817 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3820 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3822 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3825 2012-03-11 Chong Yidong <cyd@gnu.org>
3827 * simple.el (goto-line): Doc fix (Bug#9938).
3829 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3831 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3832 when finished (Bug#10963).
3834 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3836 * window.el (split-window-below): Fix bug in case where
3837 split-window-keep-point is nil (Bug#10971).
3839 2012-03-11 Juri Linkov <juri@jurta.org>
3841 * replace.el (replace-highlight): Set isearch-word to nil
3842 unconditionally. (Bug#10887)
3844 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3846 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3847 mairix-replace-illegal-chars; all callers changed. Don't remove
3848 ^, ~, and = characters: they are meaningful in mairix search specs.
3849 (mairix-widget-create-query): Add usage information about mairix
3850 search forms: negating words, searching for substrings, etc.
3852 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3854 * international/fontset.el (font-encoding-alist): Add an entry for
3857 2012-03-10 Richard Stallman <rms@gnu.org>
3859 * mail/sendmail.el (mail-encode-header):
3860 Set rfc2047-encode-encoded-words.
3862 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3864 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3865 view buffer means not swapped.
3866 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3867 (rmail-write-region-annotate): Error if real text has disappeared.
3869 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3871 2012-03-10 Chong Yidong <cyd@gnu.org>
3873 * emulation/cua-rect.el (cua--init-rectangles):
3874 * emulation/cua-base.el (cua--init-keymaps):
3875 Add delete-forward-char to remappings (Bug#9666).
3877 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3879 * speedbar.el (speedbar-unhighlight-one-tag-line):
3880 Avoid unhighlighting due to frame switching (Bug#10275).
3882 2012-03-10 Chong Yidong <cyd@gnu.org>
3884 * minibuffer.el (completion-in-region, completion-help-at-point):
3885 Give the completion field overlay a high priority (Bug#6830).
3887 * dired.el (dired-goto-file): Recognize absolute file name
3888 listings (Bug#7126).
3889 (dired-goto-file-1): New helper function.
3890 (dired-toggle-read-only): Inhibit warnings.
3892 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3894 * net/dbus.el (dbus-property-handler): Return empty array if
3895 there are no properties.
3897 2012-03-09 Leo Liu <sdl.web@gmail.com>
3899 * savehist.el (savehist-printable): Stricter check for string
3902 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3904 * mail/smtpmail.el (smtpmail-send-it):
3905 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3908 2012-03-09 Glenn Morris <rgm@gnu.org>
3910 * files.el (dir-locals-find-file):
3911 Don't check result is regular, readable.
3912 (dir-locals-read-from-file): Demote errors.
3914 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3916 * international/quail.el (quail-insert-kbd-layout):
3917 Insert invisible LRM characters before each character in a keyboard
3918 layout cell, to prevent their reordering by bidi display engine.
3919 For details, see the discussion in
3920 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3922 2012-03-08 Alan Mackenzie <acm@muc.de>
3924 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3925 the starting position; make it extend the marked region when
3926 invoked repeatedly - all under appropriate circumstances.
3927 Fixes bugs #5525, #10906.
3929 2012-03-08 Glenn Morris <rgm@gnu.org>
3931 * files.el (locate-dominating-file, dir-locals-find-file):
3932 Undo 2012-03-06 change.
3934 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3936 * international/quail.el (quail-help):
3937 Force bidi-paragraph-direction be left-to-right. See discussion in
3938 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3941 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3943 Avoid superfluous registering of signals. (Bug#10807)
3945 * notifications.el (notifications-on-action-object)
3946 (notifications-on-close-object): New defvars.
3947 (notifications-on-action-signal, notifications-on-closed-signal):
3948 Unregister the signal if not needed any longer.
3949 (notifications-notify): Register `notifications-action-signal' or
3950 `notifications-closed-signal', if :on-action or :on-close has been
3953 2012-03-07 Chong Yidong <cyd@gnu.org>
3955 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3958 2012-03-06 Glenn Morris <rgm@gnu.org>
3960 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3961 (x-disown-selection-internal, x-get-selection-internal):
3962 Doc fix (add arglist signatures). (Bug#10783)
3964 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3966 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3967 Handle breakpoints with no "type".
3969 2012-03-06 Glenn Morris <rgm@gnu.org>
3971 * files.el (locate-dominating-file): Add optional predicate argument.
3972 (dir-locals-find-file): Make use of above change.
3974 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3976 * info.el (Info-insert-dir): Also try "dir.gz".
3978 2012-03-06 Glenn Morris <rgm@gnu.org>
3980 * files.el (dir-locals-find-file):
3981 Ignore non-readable or non-regular files. (Bug#10928)
3983 * files.el (locate-dominating-file): Doc fix.
3985 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3987 * calendar/calendar.el (calendar-set-mode-line):
3988 `getenv' returns a string. (Bug#10951)
3990 2012-03-05 Leo Liu <sdl.web@gmail.com>
3992 * simple.el (backward-delete-char-untabify): Constrain point to
3995 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3997 2012-03-05 Chong Yidong <cyd@gnu.org>
3999 * simple.el (count-words): If called from Lisp, return the word
4000 count, for symmetry with `count-lines'. Arglist changed.
4001 (count-words--message): Args changed. Consolidate counting code
4002 from count-words and count-words-region.
4003 (count-words-region): Caller changed.
4004 (count-lines-region): Make it an obsolete alias.
4006 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4008 * saveplace.el (save-place-to-alist)
4009 (save-place-ignore-files-regexp): Allow value nil to disable this
4012 2012-03-04 Chong Yidong <cyd@gnu.org>
4014 * faces.el (face-spec-reset-face): For the default face, reset the
4015 attributes to default values (Bug#10748).
4017 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4019 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4020 previous patch: Check `message-send-mail-function', and not the
4021 default function (bug#10897).
4023 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4025 * notifications.el (notifications-on-action-signal)
4026 (notifications-on-closed-signal): Check for unique service name of
4027 incoming event. Fix error in removing entry.
4028 (top): Register for signals with wildcard service name.
4029 (notifications-notify): Use daemon unique service name for map entries.
4031 2012-03-04 Chong Yidong <cyd@gnu.org>
4033 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4035 2012-03-04 Glenn Morris <rgm@gnu.org>
4037 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4038 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4039 (expand-abbrev, define-abbrev-table): Doc fixes.
4041 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4043 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4044 `message-default-send-mail-function' and not `send-mail-function'
4045 when doing the prompting for `sendmail-query-once' before sending
4046 in Message buffers (bug#10897).
4048 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4049 This is inconsistent with all the other stream functions, which leave
4050 the setting up to the higher levels (if so wanted) (bug#10931).
4052 2012-03-02 Alan Mackenzie <acm@muc.de>
4054 Depessimize the handling of very large macros.
4056 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4057 (c-macro-cache-syntactic): New variables to implement a one
4058 element macro cache.
4059 (c-invalidate-macro-cache): New function.
4060 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4061 Adapt to use the new cache.
4062 (c-state-safe-place): Use better the cache of safe positions.
4063 (c-state-semi-nonlit-pos-cache)
4064 (c-state-semi-nonlit-pos-cache-limit):
4065 New variables for...
4066 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4067 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4068 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4069 Use c-state-semi-safe-place.
4071 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4072 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4074 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4076 * jka-compr.el (jka-compr-call-process):
4077 Apply `file-accessible-directory-p' only when the default directory is
4080 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4082 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4083 access of FILE2, if FILE1 does not exist.
4085 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4086 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4088 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4089 Add "PAGER=" to `process-environment'.
4091 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4093 * progmodes/sql.el: Bug fix
4094 (sql-get-login-ext): Save login values in globals.
4095 (sql-get-login): Use new version of `sql-get-login-ext'.
4096 (sql-interactive-mode): Set global `sql-connection' to nil.
4097 (sql-connect): Set global values for connection.
4098 (sql-product-interactive): Save global values as buffer local.
4100 2012-02-29 Leo Liu <sdl.web@gmail.com>
4102 * abbrev.el (define-abbrevs): Reset sys to nil.
4104 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4106 * files.el (file-equal-p): Rename from `files-equal-p'.
4107 Return nil when one or both files don't exist.
4108 (file-subdir-of-p): Now only top directory must exists,
4109 return nil if it doesn't.
4110 (copy-directory): No need to test with `file-subdir-of-p' after
4112 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4115 2012-02-28 Glenn Morris <rgm@gnu.org>
4117 * shell.el (shell-mode):
4118 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4119 * play/landmark.el (landmark-font-lock-face-O):
4120 * play/handwrite.el (handwrite):
4121 * play/gomoku.el (gomoku-O):
4122 * net/browse-url.el (browse-url-browser-display):
4123 * international/mule.el (define-charset):
4124 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4125 * filesets.el (filesets-find-file-delay):
4126 * eshell/em-xtra.el (eshell-xtra):
4127 * eshell/em-unix.el (eshell-grep):
4128 * emulation/viper.el (viper-mode):
4129 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4130 * emacs-lisp/easymenu.el (easy-menu-define):
4131 * calendar/timeclock.el (timeclock-use-display-time):
4133 * bookmark.el (bookmark-save-flag):
4134 Doc fix (standardize possessive apostrophe usage).
4136 2012-02-27 Chong Yidong <cyd@gnu.org>
4138 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4139 Fix key-binding lookup for ESC key (Bug#9146).
4141 * font-lock.el (font-lock-specified-p): Rename from
4142 font-lock-spec-present. Callers changed.
4144 2012-02-27 Daniel Hackney <dan@haxney.org>
4146 * emacs-lisp/package.el (package-compute-transaction):
4147 Handle holding a package version to t in package-load-list.
4149 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4151 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4152 (tramp-get-inode, tramp-get-device): Use cached values.
4154 2012-02-26 Alan Mackenzie <acm@muc.de>
4156 Check there is a font-lock specification before doing initial
4159 * font-core.el (font-lock-mode): Move the conditional from
4160 :after-hook to font-lock-initial-fontify.
4161 (font-lock-default-function): Move the check for a specification
4162 to font-lock-spec-present.
4164 * font-lock.el (font-lock-initial-fontify): Call ...
4165 (font-lock-spec-present): New function.
4167 2012-02-26 Jim Blandy <jimb@red-bean.com>
4169 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4170 (gdb-send): Apply it to the operand of the '-interpreter-exec
4171 console' command, so that we can pass arguments with (say) quotes
4172 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4174 2012-02-26 Chong Yidong <cyd@gnu.org>
4176 * help-fns.el (describe-function-1): Clarify description of
4177 remapping (Bug#10844).
4179 * files.el (files-equal-p): Doc fix.
4180 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4181 and quit the loop once a mismatch is found.
4183 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4185 * bs.el (bs--show-with-configuration): Don't throw an error
4186 if the window cannot be split; otherwise, subsequent calls to
4187 bs-show fail, restoring a stale window config. (Bug#10882)
4189 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4191 * term/ns-win.el (global-map): Bind ns-drag-file to
4192 ns-find-file (Bug#5855, Bug#10050).
4194 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4196 * calendar/parse-time.el (parse-time-string): Allow extractor to
4199 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4201 * net/tramp.el (tramp-file-name-for-operation):
4202 Add `files-equal-p' and `file-subdir-of-p'.
4204 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4205 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4206 Add COPY-CONTENTS argument.
4208 2012-02-25 Chong Yidong <cyd@gnu.org>
4210 Add custom groups for VC backends, for consistency with vc-bzr.
4212 * vc/vc-arch.el (vc-arch):
4213 * vc/vc-cvs.el (vc-cvs):
4214 * vc/vc-git.el (vc-git):
4215 * vc/vc-hg.el (vc-hg):
4216 * vc/vc-mtn.el (vc-mtn):
4217 * vc/vc-rcs.el (vc-rcs):
4218 * vc/vc-sccs.el (vc-sccs):
4219 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4220 All relevant defcustoms reassigned.
4222 2012-02-25 Chong Yidong <cyd@gnu.org>
4224 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4226 * term/x-win.el (x-initialize-window-system): Reduce default for
4227 x-selection-timeout to 5 seconds (Bug#8869).
4229 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4231 * files.el (files-equal-p, file-subdir-of-p): New functions.
4232 (copy-directory): Error when trying to copy a directory on itself.
4233 Add missing copy-contents arg to tramp handler.
4234 * dired-aux.el (dired-copy-file-recursive): Same.
4235 (dired-create-files): Modify destination when source is equal to
4236 dest when copying files.
4237 Return also when dest is a subdir of source. (Bug#10489)
4239 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
4241 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4244 2012-02-23 Alan Mackenzie <acm@muc.de>
4246 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4247 parameter "after-hook:" to allow the expansion to run code after
4248 the execution of the mode hooks.
4250 * font-lock.el (font-lock-initial-fontify): New function extracted
4251 from font-lock-mode-internal.
4253 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4256 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4258 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4259 (completion--cache-all-sorted-completions): New function.
4260 (completion-all-sorted-completions): Use it.
4261 (completion--do-completion, minibuffer-force-complete):
4262 Use it to re-instate the flush hook.
4264 * icomplete.el (icomplete-completions): Replace last fix with a better
4267 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4269 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4270 when it might call us back infinitely (bug#10797).
4272 2012-02-23 Glenn Morris <rgm@gnu.org>
4274 * minibuffer.el (completion-category-overrides): Doc fix.
4276 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4278 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4279 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4281 2012-02-23 Glenn Morris <rgm@gnu.org>
4283 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4284 (authors-obsolete-files-regexps, authors-ignored-files)
4285 (authors-ambiguous-files, authors-renamed-files-alist):
4288 2012-02-23 Juri Linkov <juri@jurta.org>
4290 * isearch.el (isearch-occur): Sync interactive spec with occur's
4291 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4293 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4295 2012-02-22 Juri Linkov <juri@jurta.org>
4297 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4298 (ucs-insert): Doc fix. Check for hex digits in the string.
4299 Don't display `nil' in the error message. (Bug#10857)
4301 2012-02-22 Alan Mackenzie <acm@muc.de>
4303 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4305 2012-02-22 Glenn Morris <rgm@gnu.org>
4307 * ffap.el (ffap-c-path):
4308 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4310 2012-02-22 Chong Yidong <cyd@gnu.org>
4312 * custom.el (load-theme): Doc fix.
4314 2012-02-22 Glenn Morris <rgm@gnu.org>
4316 * dired-x.el (dired-guess-shell-alist-default):
4317 Remove escape sequences from nroff output. (Bug#172)
4319 2012-02-21 Glenn Morris <rgm@gnu.org>
4321 * vc/emerge.el (emerge-defvar-local):
4322 Set `permanent-local' property rather than unused `preserved'.
4324 * textmodes/picture.el (picture-delete-char): New alias.
4325 (picture-mode-map): Use it. (Bug#10860)
4326 (picture-mode): Doc fix.
4328 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4330 * newcomment.el (uncomment-region-default): Remove unused binding.
4332 2012-02-21 Glenn Morris <rgm@gnu.org>
4334 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4335 (picture-self-insert, picture-tab-chars): Doc fix.
4336 (picture-mode-map): Fix C-a, C-e.
4338 2012-02-20 Glenn Morris <rgm@gnu.org>
4340 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4342 2012-02-20 Leo Liu <sdl.web@gmail.com>
4344 * icomplete.el (icomplete-completions): Check FROM arg before
4345 passing to substring (Bug#10850).
4347 2012-02-19 Chong Yidong <cyd@gnu.org>
4349 * comint.el: Require ansi-color.
4350 (comint-output-filter-functions): Add ansi-color-process-output.
4352 * ansi-color.el: Don't set comint-output-filter-functions; it is
4353 now in the initial value defined in comint.el.
4354 (ansi-color-apply-face-function): New variable.
4355 (ansi-color-apply-on-region): Use it.
4356 (ansi-color-apply-overlay-face): New function.
4358 * shell.el (shell): No need to require ansi-color.
4359 (shell-mode): Use ansi-color-apply-face-function to highlight
4360 color escapes using font-lock-face property (Bug#10835).
4362 2012-02-19 Chong Yidong <cyd@gnu.org>
4364 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4365 mode-line formats (Bug#10839).
4367 2012-02-18 Glenn Morris <rgm@gnu.org>
4369 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4371 * mail/undigest.el (unforward-rmail-message): Doc fix.
4373 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4375 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4377 * international/characters.el (script-list): Sync with the latest
4378 Unicode Character Database.
4380 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4382 * international/titdic-cnv.el: Remove duplicate coding tag.
4383 * language/cham.el: Likewise.
4384 * language/tai-viet.el: Likewise.
4386 2012-02-18 Glenn Morris <rgm@gnu.org>
4388 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4389 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4390 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4391 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4392 * calendar/holidays.el (holiday-bahai-holidays)
4393 (calendar-holidays, list-holidays):
4394 Use utf-8 Bahá'í in doc-strings, menus, etc.
4396 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4398 * saveplace.el (save-place-ignore-files-regexp): New variable
4399 allowing for excluding files from saving their location of point.
4400 The default value matches the temporary commit message editing
4401 files from Git, SVN, Bazaar, and Mercurial.
4402 (save-place-to-alist): Use it.
4404 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4405 Stefan Monnier <monnier@iro.umontreal.ca>
4407 * newcomment.el (uncomment-region-default): Don't leave extra space
4408 when an arg is provided (bug#8150).
4410 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4412 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4414 2012-02-17 Glenn Morris <rgm@gnu.org>
4416 * net/socks.el: Require network-stream. (Bug#10599)
4418 2012-02-17 Kenichi Handa <handa@m17n.org>
4420 * international/charprop.el:
4421 * international/uni-name.el:
4422 * international/uni-old-name.el:
4423 * international/uni-comment.el: Regenerate.
4425 2012-02-16 Glenn Morris <rgm@gnu.org>
4427 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4428 Interactively in calendar buffer, give an error if not on a date.
4430 2012-02-15 Glenn Morris <rgm@gnu.org>
4432 * shell.el (shell-delimiter-argument-list):
4433 Revert 2011-02-17 change. (Bug#8027)
4435 2012-02-15 Chong Yidong <cyd@gnu.org>
4437 * minibuffer.el (completion-at-point-functions): Doc fix.
4439 * custom.el (defcustom): Doc fix; note use of defvar.
4441 2012-02-15 Glenn Morris <rgm@gnu.org>
4443 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4446 2012-02-14 Glenn Morris <rgm@gnu.org>
4448 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4450 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4452 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4453 way the ports list is computed.
4454 (smtpmail-query-smtp-server): Prompt the user for a port number if
4455 we can't connect to any of the standard ports (bug#10810).
4457 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4459 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4461 2012-02-13 Glenn Morris <rgm@gnu.org>
4463 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4465 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4467 * net/gnutls.el (gnutls-trustfiles): New variable.
4468 (gnutls-negotiate): Use it.
4470 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4472 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4473 does its stuff if Gnus is running.
4475 2012-02-13 Alan Mackenzie <acm@muc.de>
4477 Fix a loop in c-set-fl-decl-start.
4479 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4480 c-backward-syntactic-ws actually moves backwards.
4482 2012-02-13 Leo Liu <sdl.web@gmail.com>
4484 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4485 beginning so that all \C-o chars are removed.
4487 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4489 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4491 2012-02-12 Alan Mackenzie <acm@muc.de>
4493 Fix infinite loop with long macros.
4494 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4496 2012-02-12 Chong Yidong <cyd@gnu.org>
4498 * window.el (display-buffer): Doc fix (Bug#10785).
4500 2012-02-12 Glenn Morris <rgm@gnu.org>
4502 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4503 (x-disown-selection-internal, x-get-selection-internal):
4504 Sync docs with the xselect.c versions.
4506 * allout-widgets.el: Add missing license notice.
4508 2012-02-11 Glenn Morris <rgm@gnu.org>
4510 * select.el (x-get-selection-internal, x-own-selection-internal)
4511 (x-disown-selection-internal):
4512 * x-dnd.el (x-get-selection-internal): Update declarations.
4514 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4516 * window.el (window-sides-slots):
4517 * tool-bar.el (tool-bar-position):
4518 * term/xterm.el (xterm-extra-capabilities):
4519 * ses.el (ses-self-reference-early-detection):
4520 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4521 (verilog-auto-wire-type)
4522 (verilog-auto-delete-trailing-whitespace)
4523 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4524 (verilog-auto-tieoff-declaration):
4525 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4526 (sql-oracle-statement-starters, sql-oracle-scan-on):
4527 * progmodes/prolog.el (prolog-align-comments-flag)
4528 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4529 (prolog-left-indent-regexp, prolog-paren-indent-p)
4530 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4531 (prolog-types, prolog-mode-specificators)
4532 (prolog-determinism-specificators, prolog-directives)
4533 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4534 (prolog-electric-dot-flag)
4535 (prolog-electric-dot-full-predicate-template)
4536 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4537 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4538 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4539 (prolog-program-switches, prolog-prompt-regexp)
4540 (prolog-debug-on-string, prolog-debug-off-string)
4541 (prolog-trace-on-string, prolog-trace-off-string)
4542 (prolog-zip-on-string, prolog-zip-off-string)
4543 (prolog-use-standard-consult-compile-method-flag)
4544 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4545 (prolog-imenu-max-lines, prolog-info-predicate-index)
4546 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4547 (prolog-char-quote-workaround):
4548 * progmodes/cc-vars.el (c-defun-tactic):
4549 * net/tramp.el (tramp-encoding-command-interactive)
4550 (tramp-local-end-of-line):
4551 * net/soap-client.el (soap-client):
4552 * net/netrc.el (netrc-file):
4553 * net/gnutls.el (gnutls):
4554 * minibuffer.el (completion-category-overrides)
4555 (completion-cycle-threshold)
4556 (completion-pcm-complete-word-inserts-delimiters):
4557 * man.el (Man-name-local-regexp):
4558 * mail/feedmail.el (feedmail-display-full-frame):
4559 * international/characters.el (glyphless-char-display-control):
4560 * eshell/em-ls.el (eshell-ls-date-format):
4561 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4562 (lisp-lambda-list-keyword-parameter-indentation)
4563 (lisp-lambda-list-keyword-parameter-alignment):
4564 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4565 * dired-x.el (dired-omit-verbose):
4566 * cus-theme.el (custom-theme-allow-multiple-selections):
4567 * calc/calc.el (calc-highlight-selections-with-faces)
4568 (calc-lu-field-reference, calc-lu-power-reference)
4569 (calc-note-threshold):
4570 * battery.el (battery-mode-line-limit):
4571 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4572 (archive-7z-update):
4573 * allout.el (allout-prefixed-keybindings)
4574 (allout-unprefixed-keybindings)
4575 (allout-inhibit-auto-fill-on-headline)
4576 (allout-flattened-numbering-abbreviation):
4577 * allout-widgets.el (allout-widgets-auto-activation)
4578 (allout-widgets-icons-dark-subdir)
4579 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4580 (allout-widgets-theme-dark-background)
4581 (allout-widgets-theme-light-background)
4582 (allout-widgets-item-image-properties-emacs)
4583 (allout-widgets-item-image-properties-xemacs)
4584 (allout-widgets-run-unit-tests-on-load)
4585 (allout-widgets-time-decoration-activity)
4586 (allout-widgets-hook-error-post-time)
4587 (allout-widgets-track-decoration):
4588 Add missing :version tags to new defcustoms and defgroups.
4590 * progmodes/sql.el (sql-ansi-statement-starters)
4591 (sql-oracle-statement-starters): Add custom type.
4593 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4594 (prolog-system-version): Give it a type.
4596 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4598 * term/pc-win.el (x-select-text, x-selection-owner-p)
4599 (x-own-selection-internal, x-disown-selection-internal)
4600 (x-get-selection-internal): Sync doc strings and argument lists
4601 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4603 2012-02-11 Leo Liu <sdl.web@gmail.com>
4605 * progmodes/python.el (python-end-of-statement): Fix infinite
4608 2012-02-10 Glenn Morris <rgm@gnu.org>
4610 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4611 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4613 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4615 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4616 about SMTP before checking the From header.
4618 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4619 into own function for reuse by emacsbug.el.
4621 2012-02-10 Leo Liu <sdl.web@gmail.com>
4623 * subr.el (condition-case-unless-debug): Rename from
4624 condition-case-no-debug. All callers changed.
4625 (with-demoted-errors): Fix caller.
4627 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4628 * nxml/rng-valid.el (rng-do-some-validation):
4629 * emacs-lisp/package.el (package-refresh-contents)
4630 (package-menu-execute):
4631 * desktop.el (desktop-create-buffer):
4632 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4634 2012-02-10 Glenn Morris <rgm@gnu.org>
4636 * textmodes/bibtex.el:
4637 Add missing :version tags for new/changed defcustoms.
4639 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4641 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4643 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4644 (smtpmail-via-smtp): Use it, or fall back on the From address.
4645 (smtpmail-send-it): Ditto.
4647 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4649 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4650 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4651 (byte-compile-tmp-var): New const.
4652 (byte-compile-defvar): Use it to minimize .elc size.
4653 Just use `defvar' rather than simulate it (bug#10761).
4655 2012-02-09 Glenn Morris <rgm@gnu.org>
4657 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4659 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4662 * progmodes/compile.el (compilation-error-screen-columns)
4663 (compilation-first-column, compilation-filter-start): Doc fixes.
4665 * vc/log-view.el (log-view-toggle-entry-display):
4666 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4668 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4669 (report-emacs-bug-can-use-xdg-email):
4670 (report-emacs-bug-insert-to-mailer): Doc fixes.
4671 (report-emacs-bug): Message fix.
4673 * net/browse-url.el (browse-url-can-use-xdg-open)
4674 (browse-url-xdg-open): Doc fixes.
4676 * electric.el (electric-indent-mode, electric-pair-mode)
4677 (electric-layout-rules, electric-layout-mode): Doc fixes.
4678 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4680 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4682 * server.el (server-unselect-display): Don't inadvertently kill
4683 the current buffer. (Bug#10729)
4685 2012-02-08 Glenn Morris <rgm@gnu.org>
4687 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4688 (sql-list-table): Doc fixes.
4690 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4691 Comment out (does nothing).
4693 * completion.el (dynamic-completion-mode):
4694 * dirtrack.el (dirtrack-debug-mode):
4695 * electric.el (electric-layout-mode):
4696 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4697 * face-remap.el (text-scale-mode, buffer-face-mode):
4698 * iimage.el (iimage-mode):
4699 * image-mode.el (image-transform-mode):
4700 * minibuffer.el (completion-in-region-mode):
4701 * scroll-lock.el (scroll-lock-mode):
4702 * simple.el (next-error-follow-minor-mode):
4703 * tar-mode.el (tar-subfile-mode):
4704 * tooltip.el (tooltip-mode):
4705 * vcursor.el (vcursor-use-vcursor-map):
4706 * wid-browse.el (widget-minor-mode):
4707 * emulation/tpu-edt.el (tpu-edt-mode):
4708 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4709 * international/iso-ascii.el (iso-ascii-mode):
4710 * language/thai-util.el (thai-word-mode):
4711 * mail/supercite.el (sc-minor-mode):
4712 * net/goto-addr.el (goto-address-mode):
4713 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4714 * progmodes/cwarn.el (cwarn-mode):
4715 * progmodes/flymake.el (flymake-mode):
4716 * progmodes/glasses.el (glasses-mode):
4717 * progmodes/hideshow.el (hs-minor-mode):
4718 * progmodes/pascal.el (pascal-outline-mode):
4719 * textmodes/enriched.el (enriched-mode):
4720 * vc/smerge-mode.el (smerge-mode):
4721 Doc fixes (minor mode argument).
4723 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4725 * ls-lisp.el (ls-lisp-sanitize): New function.
4726 (ls-lisp-insert-directory): Use it to fix or remove any elements
4727 in file-alist with missing attributes. (Bug#4673)
4729 2012-02-07 Alan Mackenzie <acm@muc.de>
4731 Fix spurious recognition of c-in-knr-argdecl.
4733 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4734 putative K&R region.
4736 2012-02-07 Alan Mackenzie <acm@muc.de>
4738 * progmodes/cc-engine.el (c-forward-objc-directive):
4739 Prevent looping in "#pragma mark @implementation".
4741 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4743 * notifications.el (notifications-on-closed-signal): Make `reason'
4744 optional. (Bug#10744)
4746 2012-02-07 Glenn Morris <rgm@gnu.org>
4748 * emacs-lisp/easy-mmode.el (define-minor-mode):
4749 Doc fixes for the macro and the mode it defines.
4751 * image.el (imagemagick-types-inhibit): Doc fix.
4753 * cus-start.el (imagemagick-render-type): Add it.
4755 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4757 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4758 Set the default at load time, too, so that `font-lock-fontify-buffer'
4759 can be called without setting up the entire mode first. This fixes
4760 a bug in `mm-inline-text' with C MIME parts.
4762 2012-02-06 Chong Yidong <cyd@gnu.org>
4764 * simple.el (list-processes--refresh): Delete exited processes
4767 * comint.el (comint-next-prompt): next-single-char-property-change
4768 and prev-single-char-property-change never return nil (Bug#8657).
4770 * custom.el (defcustom): Doc fix (Bug#9711).
4772 2012-02-05 Chong Yidong <cyd@gnu.org>
4774 * cus-edit.el (custom-variable-reset-backup): Quote the value
4775 before storing it in the customized-value property (Bug#6712).
4776 (custom-display): Add a customization type tag.
4777 (custom-buffer-create-internal): Improve tooltip message.
4779 * wid-edit.el (widget-field-value-get): New optional arg to
4780 suppress trailing whitespace truncation.
4781 (character): Use it (Bug#2689).
4783 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4785 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4786 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4788 2012-02-05 Chong Yidong <cyd@gnu.org>
4790 * cus-edit.el (custom-variable-value-create): For mismatched
4791 types, show the current value (Bug#7600).
4793 * custom.el (defcustom): Doc fix.
4795 2012-02-05 Glenn Morris <rgm@gnu.org>
4797 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4799 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4801 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4802 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4803 (pp-last-sexp): Use `looking-at-p'.
4805 2012-02-04 Glenn Morris <rgm@gnu.org>
4807 * files.el (revert-buffer):
4808 Doc fix (mention revert-buffer-in-progress-p).
4810 * emacs-lisp/ert-x.el (ert-simulate-command):
4811 Check deferred-action-list (which is obsolete) is bound.
4813 * subr.el (with-wrapper-hook): Doc fixes.
4815 * simple.el (filter-buffer-substring-functions)
4816 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4818 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4820 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4821 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4823 2012-02-04 Leo Liu <sdl.web@gmail.com>
4825 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4827 2012-02-04 Glenn Morris <rgm@gnu.org>
4829 * image.el (image-extension-data): Add obsolete alias.
4831 * isearch.el (isearch-update): Doc fix.
4833 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4835 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4837 2012-02-03 Glenn Morris <rgm@gnu.org>
4839 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4840 (image-animate-timeout): Doc fix.
4842 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4844 2012-02-02 Glenn Morris <rgm@gnu.org>
4846 * server.el (server-auth-dir): Doc fix.
4847 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4849 * subr.el (run-mode-hooks): Doc fix.
4851 2012-02-02 Juri Linkov <juri@jurta.org>
4853 * image-mode.el (image-toggle-display-image): Remove tautological
4854 `major-mode' from the `derived-mode-p' test.
4856 2012-02-02 Kenichi Handa <handa@m17n.org>
4858 * composite.el (compose-region): Cancel previous change.
4860 2012-02-02 Kenichi Handa <handa@m17n.org>
4862 * composite.el (compose-region, compose-string): Signal error for
4863 a null string component (Bug#6988).
4865 2012-02-01 Chong Yidong <cyd@gnu.org>
4867 * view.el (view-buffer-other-window, view-buffer-other-frame):
4868 Handle special modes like view-buffer (Bug#10650).
4869 (view-buffer): Simplify.
4871 * frame.el (set-frame-font): Tweak meaning of third argument.
4873 * dynamic-setting.el (font-setting-change-default-font):
4874 Use set-frame-font (Bug#9982).
4876 2012-02-01 Glenn Morris <rgm@gnu.org>
4878 * progmodes/compile.el (compilation-internal-error-properties):
4879 Respect compilation-first-column in the "*compilation*" buffer.
4881 * emacs-lisp/easy-mmode.el (define-minor-mode):
4882 Relax :variable's test for a named function.
4884 2012-01-31 Alan Mackenzie <acm@muc.de>
4886 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4889 2012-01-31 Chong Yidong <cyd@gnu.org>
4891 * frame.el (set-frame-font): New arg ALL-FRAMES.
4893 * menu-bar.el (menu-set-font): Use set-frame-font.
4895 * faces.el (face-spec-reset-face): Don't apply unspecified
4896 attribute values to the default face.
4898 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4900 * progmodes/cwarn.el (cwarn): Remove dead link.
4901 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4902 Remove * from defcustom docstrings.
4903 (turn-on-cwarn-mode): Make obsolete.
4904 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4905 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4907 2012-01-31 Glenn Morris <rgm@gnu.org>
4909 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4910 Fix :variable handling of mode a symbol not equal to modefun.
4911 Allow named functions to be used as the cdr of :variable.
4913 2012-01-30 Glenn Morris <rgm@gnu.org>
4915 * emacs-lisp/authors.el (authors-fixed-entries):
4916 Remove reference to deleted file rnewspost.el.
4918 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4920 * window.el (window-with-parameter): Remove unused variable `windows'.
4921 (window--side-check): Remove unused variable `code'.
4922 (window--resize-siblings): Remove unused variable `first'.
4923 (adjust-window-trailing-edge): Remove unused variable `failed'.
4924 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4925 Use `let', not `let*'.
4926 (balance-windows-2): Remove unused variable `found'.
4927 (window--state-put-2): Remove unused variable `splits'.
4928 (window-state-put): Remove unused variable `selected'.
4929 (same-window-p): Use `string-match-p'.
4930 (display-buffer-assq-regexp): Remove unused variable `value'.
4931 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4932 Mark argument ALIST as ignored.
4933 (pop-to-buffer): Remove unused variable `old-window'.
4935 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4937 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4938 and .lzma compressed files.
4940 2012-01-29 Chong Yidong <cyd@gnu.org>
4942 * frame.el (window-system-default-frame-alist): Doc fix.
4944 * dynamic-setting.el (font-setting-change-default-font): Don't
4945 change the default face if SET-FONT argument is non-nil (Bug#9982).
4947 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4949 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4951 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4953 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4954 breakpoints in files outside current directory (Bug#6098).
4956 2012-01-29 Chong Yidong <cyd@gnu.org>
4958 * progmodes/python.el: Require ansi-color at top-level.
4960 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4961 Define and use in Emacs Lisp mode (Bug#9360).
4962 (lisp-mode-abbrev-table): Add doc.
4963 (lisp-mode-variables): Don't set local-abbrev-table.
4964 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4966 2012-01-28 Roland Winkler <winkler@gnu.org>
4968 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4970 2012-01-28 Roland Winkler <winkler@gnu.org>
4972 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4973 (bibtex-set-dialect): Use it. Either set global values of
4974 dialect-dependent variables or bind these variables buffer-locally
4976 (bibtex-mode): Call bibtex-set-dialect via
4977 hack-local-variables-hook.
4978 (bibtex-dialect): Update docstring.
4979 Add safe-local-variable predicate.
4980 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4982 (bibtex-mode-map): Define menu for each dialect.
4983 (bibtex-entry): Fix docstring.
4985 2012-01-28 Chong Yidong <cyd@gnu.org>
4987 * eshell/esh-arg.el (eshell-quote-argument): New function.
4989 * eshell/esh-ext.el (eshell-invoke-batch-file):
4990 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4991 first arg to eshell-parse-command (Bug#10523).
4993 2012-01-28 Drew Adams <drew.adams@oracle.com>
4995 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4996 `default-directory' is non-nil.
4998 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5000 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5001 line that displays system-configuration-options. (Bug#9924)
5003 2012-01-28 Drew Adams <drew.adams@oracle.com>
5005 * descr-text.el (describe-char): Show information about POS, in
5006 addition to information about the character at POS. Improve and
5007 update the doc string. Change "code point" to "code point in
5008 charset", to avoid confusion with the character's Unicode code
5009 point shown above that. (Bug#10129)
5011 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5013 * descr-text.el (describe-char): Show the raw character, not only
5014 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5015 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5018 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5020 * emacs-lisp/package.el (package-install):
5021 Run package-refresh-contents if there is no archive yet (Bug#9798).
5023 2012-01-28 Chong Yidong <cyd@gnu.org>
5025 * emacs-lisp/package.el (package-maybe-load-descriptor):
5026 New function, split from package-maybe-load-descriptor.
5027 (package-maybe-load-descriptor): Use it.
5028 (package-download-transaction): Fully load required packages
5029 inside the loop, so that `require' calls work (Bug#10593).
5030 (package-install): No need to call package-initialize now.
5032 2012-01-28 Chong Yidong <cyd@gnu.org>
5034 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5036 * tooltip.el (tooltip-mode): Doc fix.
5037 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5039 * frame.el (set-cursor-color): Doc fix (Bug#352).
5041 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5042 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5044 * cus-edit.el (custom-buffer-create-internal): Fix search button
5046 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5048 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5050 * dired.el (dired-mark-files-regexp):
5051 Include any subdirectory components. (Bug#10445)
5053 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5055 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5056 Handle [host]:port syntax. (Bug#10533)
5058 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5060 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5062 2012-01-26 Glenn Morris <rgm@gnu.org>
5064 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5065 * term.el (term-raw-escape-map): Use Control-X-prefix.
5066 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5068 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5070 * window.el (window-state-get, window--state-get-1): Don't deal
5071 with fixed-sizeness of windows. Simplify code.
5073 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5075 * window.el (window--state-get-1, window--state-put-2):
5076 Don't save and restore the mark.
5078 2012-01-25 Chong Yidong <cyd@gnu.org>
5080 * custom.el (custom-variable-p): Doc fix.
5082 2012-01-25 Glenn Morris <rgm@gnu.org>
5084 * dired.el (dired-goto-file): Handle some of the more common
5085 characters that `ls -b' escapes. (Bug#10596)
5087 * progmodes/compile.el (compilation-next-error-function):
5088 Respect compilation-first-column in the "*compilation*" buffer.
5089 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5091 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5093 2012-01-24 Glenn Morris <rgm@gnu.org>
5095 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5097 2012-01-24 Julien Danjou <julien@danjou.info>
5099 * color.el (color-rgb-to-hsl): Fix value computing.
5100 (color-hue-to-rgb): New function.
5101 (color-hsl-to-rgb): New function.
5102 (color-clamp, color-saturate-hsl, color-saturate-name)
5103 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5104 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5106 2012-01-24 Glenn Morris <rgm@gnu.org>
5108 * vc/vc-rcs.el (vc-rcs-create-tag):
5109 * vc/vc-sccs.el (vc-sccs-create-tag):
5110 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5112 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5114 * eshell/esh-util.el (eshell-read-hosts-file):
5115 Skip comment lines. (Bug#10549)
5117 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5119 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5121 * subr.el (display-delayed-warnings): Doc fix.
5122 (collapse-delayed-warnings): New function to collapse identical
5124 (delayed-warnings-hook): Add it.
5126 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5128 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5130 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5131 (tramp-default-user-alist): Don't add "pscp".
5132 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5133 property "login-as", if set. (Bug#10530)
5135 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5137 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5138 "plink1" and "psftp". (Bug#10530)
5140 2012-01-21 Kenichi Handa <handa@m17n.org>
5142 * international/mule-cmds.el (prefer-coding-system): Show a
5143 warning message if the default value of file-name-coding-system
5146 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5148 * windmove.el (windmove-reference-loc):
5149 Fix windmove-reference-loc miscalculation.
5151 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5153 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5156 2012-01-21 Glenn Morris <rgm@gnu.org>
5158 * international/mule.el (auto-coding-alist): Add .tbz.
5160 * files.el (local-enable-local-variables): Doc fix.
5161 (inhibit-local-variables-regexps): Rename from
5162 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5163 Doc fix. Add some extensions from auto-coding-alist.
5164 (inhibit-local-variables-suffixes):
5165 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5166 (inhibit-local-variables-p):
5167 New function, extracted from set-auto-mode-1.
5168 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5169 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5170 (hack-local-variables): Doc fix. Make the mode-only case
5171 respect enable-local-variables and friends.
5172 Respect inhibit-local-variables-regexps for file-locals, but
5173 not for directory-locals.
5174 (set-visited-file-name):
5175 Take account of inhibit-local-variables-regexps.
5176 Whether it applies may change as the file name is changed.
5177 * jka-cmpr-hook.el (jka-compr-install):
5178 * jka-compr.el (jka-compr-uninstall):
5179 Update for inhibit-first-line-modes-suffixes name change.
5181 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5183 * help-macro.el (make-help-screen): Temporarily restore original
5184 binding for minor-mode-map-alist (Bug#10454).
5186 2012-01-19 Julien Danjou <julien@danjou.info>
5188 * color.el (color-name-to-rgb): Use the white color to find the max
5189 color component value and return correctly computed values.
5190 (color-name-to-rgb): Add missing float conversion for max value.
5192 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5194 * window.el (window--state-get-1, window-state-get): Do not use
5195 special state value for window-persistent-parameters.
5196 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5197 (window--state-put-2): Reset all window parameters to nil before
5198 assigning values of persistent parameters.
5200 2012-01-18 Alan Mackenzie <acm@muc.de>
5202 Eliminate sluggishness and hangs in fontification of "semicolon
5205 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5206 Change value 10000 -> 3000.
5207 (c-state-safe-place): Reformulate so it doesn't stack up an
5208 infinite number of wrong entries in c-state-nonlit-pos-cache.
5209 (c-determine-limit-get-base, c-determine-limit): New functions to
5210 determine backward search limits disregarding literals.
5211 (c-find-decl-spots): Amend commenting.
5212 (c-cheap-inside-bracelist-p): New function which detects "={".
5214 * progmodes/cc-fonts.el
5215 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5217 (c-font-lock-declarations): Fix an occurrence of point being
5218 undefined. Check additionally for point being in a bracelist or
5219 near a macro invocation without a semicolon so as to avoid a
5220 fruitless time consuming search for a declarator. Give a more
5221 precise search limit for declarators using the new
5224 2012-01-18 Glenn Morris <rgm@gnu.org>
5226 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5227 (set-auto-mode): Doc fixes.
5229 2012-01-17 Glenn Morris <rgm@gnu.org>
5231 * isearch.el (search-nonincremental-instead): Fix doc typo.
5233 * dired.el (dired-insert-directory): Handle newlines in directory name.
5234 (dired-build-subdir-alist): Unescape newlines in directory name.
5236 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
5238 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5239 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5240 (tramp-action-terminal): Use it. (Bug#10530)
5242 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5244 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5246 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5248 * window.el (window-state-ignored-parameters): Remove variable.
5249 (window--state-get-1): Rename argument MARKERS to IGNORE.
5250 Handle persistent window parameters. Make copy of clone-of
5251 parameter only if requested. (Bug#10348)
5252 (window--state-put-2): Install a window parameter only if it has
5253 a non-nil value or an existing parameter shall be overwritten.
5255 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5257 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5259 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5261 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5262 don't pass the (nil) value of `upnode' to string-match.
5264 2012-01-14 Chong Yidong <cyd@gnu.org>
5266 * startup.el (command-line): Fix X resource class for cursorColor.
5267 Fix values recognized by the cursorBlink resource.
5269 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5271 * epg.el (epg--make-temp-file): Avoid permission race condition
5272 when running on old Emacs versions (bug#10403).
5274 2012-01-14 Glenn Morris <rgm@gnu.org>
5276 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5278 2012-01-13 Alan Mackenzie <acm@muc.de>
5280 Fix filling for when filladapt mode is enabled.
5282 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5283 c-mask-paragraph, pass in `fill-paragraph' rather than
5284 `fill-region-as-paragraph'. (This is a reversion of a previous
5286 * progmodes/cc-mode.el (c-basic-common-init):
5287 Make fill-paragraph-handle-comment buffer local and set it to nil.
5289 2012-01-13 Glenn Morris <rgm@gnu.org>
5291 * dired.el (dired-switches-escape-p): New function.
5292 (dired-insert-directory): Use dired-switches-escape-p.
5293 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5295 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5297 2012-01-12 Glenn Morris <rgm@gnu.org>
5299 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5300 changes in adaptive-fill-regexp. (Bug#10276)
5302 2012-01-11 Alan Mackenzie <acm@muc.de>
5304 Fix Emacs bug #10463 - put `widen's around the critical spots.
5306 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5307 widen around each invocation of c-state-pp-to-literal. Remove an
5308 unused let variable.
5310 2012-01-11 Glenn Morris <rgm@gnu.org>
5312 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5315 2012-01-10 Chong Yidong <cyd@gnu.org>
5317 * net/network-stream.el (network-stream-open-starttls):
5318 Avoid emitting a confusing error message when the server gives a bad
5319 response to the capability command.
5321 2012-01-10 Glenn Morris <rgm@gnu.org>
5323 * mail/unrmail.el (unrmail): Tweak previous change.
5325 2012-01-09 Chong Yidong <cyd@gnu.org>
5327 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5329 2012-01-08 Alan Mackenzie <acm@muc.de>
5331 Optimise font locking in long enum definitions.
5333 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5334 arm to a cond form to handle enums.
5335 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5336 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5338 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5340 * files.el (move-file-to-trash): Preserve default file modes on error.
5343 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5345 * faces.el (set-face-attribute): Clarify the meaning of the nil
5348 * subr.el (with-selected-frame): Mention that the selected frame
5349 is restored (bug#9980).
5351 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5354 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5355 (password-read): Don't autoload unused function.
5357 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5359 * progmodes/which-func.el (which-func-mode): Turn into a
5360 non-interactive function and mark as obsolete (bug#10428).
5362 2012-01-06 Chong Yidong <cyd@gnu.org>
5364 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5365 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5366 functions, along with 1 and -1.
5368 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5370 * time.el (display-time-load-average)
5371 (display-time-default-load-average): Doc fixes. See the thread
5373 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5376 2012-01-06 Glenn Morris <rgm@gnu.org>
5378 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5379 has no messages. (Bug#10377)
5381 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5382 than Info-edit. (Bug#10385)
5384 * time.el (display-time-load-average, display-time-next-load-average):
5387 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5388 local setting of buffer-read-only to the input buffer. (Bug#10419)
5390 * calendar/calendar.el (calendar-mode):
5391 Locally set scroll-margin to 0. (Bug#10379)
5393 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5395 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5397 2012-01-05 Glenn Morris <rgm@gnu.org>
5399 * eshell/em-unix.el (diff-no-select): Autoload it.
5400 (eshell/diff): Use diff-no-select. (Bug#10420)
5402 2012-01-05 Chong Yidong <cyd@gnu.org>
5404 * shell.el (shell-dynamic-complete-functions): Revert last change.
5405 (shell-command-completion-function): New function.
5406 (shell-completion-vars): Use it to implement
5407 shell-completion-execonly (Bug#10417).
5409 * custom.el (enable-theme): Don't set custom-safe-themes.
5411 * cus-theme.el (custom-theme-merge-theme):
5412 Ignore custom-enabled-themes and custom-safe-themes.
5414 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5416 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5417 first prompt in `sql-interacive-mode'.
5418 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5420 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5421 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5422 context of original buffer. Invoke `sql-login-hook'.
5424 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5426 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5427 letters in cite-prefix.
5429 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5431 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5433 2012-01-03 Chong Yidong <cyd@gnu.org>
5435 * shell.el (shell-dynamic-complete-functions):
5436 Put pcomplete-completions-at-point, so as to try
5437 comint-filename-completion first (Bug#10417).
5439 2012-01-02 Richard Stallman <rms@gnu.org>
5441 * battery.el (battery-status-function):
5442 Detect when to use battery-yeeloong-sysfs.
5443 (battery-echo-area-format): Add string for Yeeloong.
5444 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5445 (battery-yeeloong-sysfs): New function.
5447 2012-01-02 Chong Yidong <cyd@gnu.org>
5449 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5450 (dirtrack): Merge code for handling relative filenames in prompt
5451 from shell-dir-cookie-watcher.
5452 (dirtrack-debug-message): New arg to avoid excess format calls.
5454 * shell.el (shell-dir-cookie-re): Variable deleted.
5455 (shell-dir-cookie-watcher): Function deleted.
5456 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5459 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5461 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5462 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5465 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5467 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5469 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5471 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5472 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5474 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5476 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5477 also for alternative shells.
5478 (tramp-open-connection-setup-interactive-shell): Check, whether
5479 the shell is a busybox.
5480 (tramp-send-command): Don't suppress multiple prompts for
5481 busyboxes, it hurts.
5483 2011-12-28 Chong Yidong <cyd@gnu.org>
5485 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5486 (gdb-get-source-file): Move mode line update to
5487 gdb-get-source-file (Bug#10087).
5489 2011-12-25 Chong Yidong <cyd@gnu.org>
5491 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5492 gud-gdb-marker-filter without taking it as an argument.
5493 (gud-gdb-run-command-fetch-lines): Caller changed.
5494 (gud-gdb-completion-function): New variable.
5495 (gud-gdb-completion-at-point): Use it.
5496 (gud-gdb-completions-1): Split from gud-gdb-completions.
5498 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5499 function as separate arguments.
5500 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5501 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5502 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5503 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5504 (gdb-stopped, def-gdb-auto-update-trigger)
5505 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5506 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5508 (gud-gdbmi-completions): New function.
5509 (gdb): Use it for generating the completion table.
5511 2011-12-24 Alan Mackenzie <acm@muc.de>
5513 Introduce a mechanism to widen the region used in context font
5514 locking. Use this to protect declarations from losing their contexts.
5516 * progmodes/cc-langs.el (c-before-font-lock-functions):
5517 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5518 (c-before-context-fontification-functions): New defvar, a list of
5519 functions to be run just before context (etc.) font locking.
5521 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5522 New, functionality extracted from
5523 c-neutralize-syntax-in-and-mark-CPP.
5524 (c-in-after-change-fontification): New variable.
5525 (c-after-change): Set c-in-after-change-fontification.
5526 (c-set-fl-decl-start): Rejig its interface, so it can be called
5527 from both after-change and context fontifying.
5528 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5530 (c-standard-font-lock-fontify-region-function): New variable.
5531 (c-font-lock-fontify-region): New function.
5533 2011-12-24 Juri Linkov <juri@jurta.org>
5535 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5538 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5540 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5541 existence of source file. (Bug#10325)
5543 2011-12-23 Alan Mackenzie <acm@muc.de>
5545 Fix unstable fontification inside templates.
5547 * progmodes/cc-langs.el (c-before-font-lock-functions):
5548 Newly created from the singular version. The (c c++ objc) entry now
5549 additionally has c-set-fl-decl-start. The other languages (apart
5550 from AWK) have that as a single entry.
5552 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5553 The functionality for "local" declarations has been extracted to
5554 c-set-fl-decl-start.
5556 * progmodes/cc-mode.el (c-common-init, c-after-change):
5557 Changes due to pluralisation of c-before-font-lock-functions.
5558 (c-set-fl-decl-start): New function, extracted from
5559 c-font-lock-enclosing-decls and enhanced.
5561 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5563 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5565 2011-12-22 Juri Linkov <juri@jurta.org>
5567 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5569 2011-12-22 Chong Yidong <cyd@gnu.org>
5571 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5573 2011-12-21 Drew Adams <drew.adams@oracle.com>
5575 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5577 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5579 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5581 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5583 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5584 highlighting and support. Fix up comments for capitalization.
5585 (cfengine-mode-debug): New var.
5586 (cfengine3-mode): Change the modeline indicator to "CFE3".
5587 (cfengine3-font-lock-keywords): Improve defun highlighting.
5588 (cfengine2-actions): Rename from `cfengine-actions'.
5589 (cfengine2-font-lock-keywords): Rename from
5590 `cfengine-font-lock-keywords'.
5591 (cfengine2-imenu-expression): Rename from
5592 `cfengine-imenu-expression'.
5593 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5594 (cfengine2-beginning-of-defun): Rename from
5595 `cfengine-beginning-of-defun'.
5596 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5597 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5598 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5599 modeline indicator to "CFE2".
5600 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5601 (cfengine-mode-abbrevs): Mark obsolete.
5603 2011-12-21 Chong Yidong <cyd@gnu.org>
5605 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5608 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5610 * window.el (window-normalize-buffer-to-display): Remove.
5611 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5613 2011-12-19 Chong Yidong <cyd@gnu.org>
5615 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5616 Don't signal an error in a predicate function; return non-nil.
5617 (vc-dir-mark-file): Move the error here.
5618 (vc-dir-mark-unmark): If acting on the region, keep going if one
5619 of the entries cannot be marked/unmarked.
5620 (vc-dir-mark-all-files): If current entry is a directory, mark
5621 only child files, as documented.
5623 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5625 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5626 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5629 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5631 * term/ns-win.el (ns-get-selection-internal)
5632 (ns-store-selection-internal): Declare.
5633 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5634 Declare as obsolete.
5635 (ns-get-pasteboard, ns-paste-secondary):
5636 Use ns-get-selection-internal.
5637 (ns-set-pasteboard, ns-copy-including-secondary):
5638 Use ns-store-selection-internal.
5640 2011-12-17 Chong Yidong <cyd@gnu.org>
5642 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5643 (vc-deduce-fileset): Doc fix.
5645 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5647 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5649 2011-12-13 Sam Steingold <sds@gnu.org>
5651 * man.el (Man-getpage-in-background): When running under a
5652 window-system, ignore $MANWIDTH and $COLUMNS.
5654 2011-12-15 Kenichi Handa <handa@m17n.org>
5656 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5657 (setup-ethiopic-environment-internal): Comment out key-binding for
5658 ethio-toggle-punctuation.
5660 2011-12-13 Alan Mackenzie <acm@muc.de>
5662 Add the switch statement to AWK Mode.
5664 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5665 "default" to the keywords regexp.
5667 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5668 expression as the rest.
5669 (c-nonlabel-token-key): Allow string literals for AWK.
5670 Refactor for the other modes.
5672 Large brace-block initialisation makes CC Mode slow: Fix.
5673 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5674 routines. Limit backward searching in c-font-lock-enclosing.decl.
5676 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5677 pp-state and literal type in addition to the limits.
5678 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5679 (c-state-literal-at): Use the above new defun.
5680 (c-slow-in-literal, c-fast-in-literal): Remove.
5681 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5683 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5684 being in a literal. Add a limit for backward searching.
5686 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5689 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5691 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5693 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5695 * window.el (delete-other-windows): Use correct frame in call to
5696 window-with-parameter.
5698 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5700 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5701 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5702 (makefile-gmake-statements, makefile-makepp-statements):
5703 Use it and add new makepp keywords.
5704 (makefile-makepp-font-lock-keywords): Add new patterns.
5705 (makefile-match-function-end): Match new [...] and [[...]].
5707 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5709 * ses.el (ses-call-printer-return, ses-cell-property-get)
5710 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5711 (ses-create-cell-variable, ses-reset-header-string)
5712 (ses-cell-set-formula, ses-repair-cell-reference-all)
5713 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5714 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5715 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5716 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5717 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5718 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5719 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5720 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5721 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5722 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5723 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5724 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5726 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5728 * ses.el: The overall change is to add cell renaming, that is
5729 setting fancy names for cell symbols other than name matching
5730 "\\`[A-Z]+[0-9]+\\'" regexp .
5731 (ses-create-cell-variable): New defun.
5732 (ses-relocate-formula): Relocate formulas only for cells the
5733 symbols of which are not renamed, i.e. symbols whose names do not
5734 match regexp "\\`[A-Z]+[0-9]+\\'".
5735 (ses-relocate-all): Relocate values only for cells the symbols of
5736 which are not renamed.
5737 (ses-load): Create cells variables as the (ses-cell ...) are read,
5738 in order to check row col consistency with cell symbol name only
5739 for cells that are not renamed.
5740 (ses-replace-name-in-formula): New defun.
5741 (ses-rename-cell): New defun.
5743 2011-12-11 Chong Yidong <cyd@gnu.org>
5745 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5746 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5748 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5750 * window.el (other-window): Fix docstring.
5752 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5754 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5755 `from' or `to' address before taking its substring.
5756 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5757 encoded name is chopped in the middle of the encoded string, and
5758 thus displayed encoded.
5760 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5762 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5764 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5766 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5767 to use texinfo-update-node and commands that call it if the
5768 Texinfo file uses @node lines without next/prev/up pointers.
5769 Correct outdated description about texinfo-master-menu.
5770 (texinfo-all-menus-update, texinfo-master-menu)
5771 (texinfo-update-node, texinfo-every-node-update)
5772 (texinfo-multiple-files-update): Doc fix. Warn against updating
5773 all the @node lines.
5774 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5775 argument is numeric. Explain better in the doc string what the
5776 function really does.
5777 (texinfo-insert-master-menu-list): Improve the error message
5778 displayed if there's no menu in the Top node.
5779 (Bug#2975) See also this thread:
5780 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5782 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5784 * speedbar.el (speedbar-supported-extension-expressions):
5785 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5787 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5789 * printing.el (pr-mode-alist):
5790 * simple.el (filter-buffer-substring-functions)
5791 (completion-list-insert-choice-function):
5792 * window.el (window-with-parameter, window-atom-root)
5793 (window-sides-slots, window-size-fixed, window-min-delta)
5794 (window-max-delta, window--resize-mini-window)
5795 (window--resize-child-windows-normal, window-tree)
5796 (delete-other-windows, quit-window, split-window)
5797 (display-buffer-record-window, special-display-buffer-names)
5798 (special-display-regexps, special-display-popup-frame)
5799 (same-window-p, split-window-sensibly)
5800 (display-buffer-overriding-action, display-buffer-alist)
5801 (display-buffer-base-action, display-buffer, switch-to-buffer)
5802 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5803 (fit-window-to-buffer, recenter-positions)
5804 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5805 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5806 and remove unneeded backslashes in docstrings.
5808 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5810 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5812 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5813 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5815 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5816 when reading the makefile (bug#10116).
5818 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5820 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5823 2011-12-06 Glenn Morris <rgm@gnu.org>
5825 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5827 2011-12-06 Chong Yidong <cyd@gnu.org>
5829 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5831 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5833 * textmodes/table.el (table-shorten-cell): Fix typo.
5835 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5837 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5839 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5841 * descr-text.el (describe-char): Fix display of strong
5842 right-to-left characters and directional embeddings and overrides.
5844 * simple.el (what-cursor-position): Fix display of codepoints of
5845 strong right-to-left characters.
5847 2011-12-05 Chong Yidong <cyd@gnu.org>
5849 * faces.el (read-color): Doc fix.
5851 2011-12-05 Glenn Morris <rgm@gnu.org>
5853 * align.el (align--set-marker): Add doc-string.
5854 Don't try to move something that is not a marker. (Bug#10216)
5856 2011-12-04 Glenn Morris <rgm@gnu.org>
5858 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5859 overly zealous deletion of trailing whitespace.
5861 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5863 * server.el (server-delete-client): On Windows, do not try to delete
5865 (server-process-filter): On Windows, treat requests for a tty frame as
5866 if they were for a GUI frame if the running server is in GUI mode.
5868 2011-12-03 Glenn Morris <rgm@gnu.org>
5870 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5872 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * electric.el: Streamline electric-indent's hook.
5875 (electric-indent-chars): Revert to simple list.
5876 (electric-indent-functions): New var.
5877 (electric-indent-post-self-insert-function): Use it.
5879 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5880 there's no inferior buffer (bug#10196).
5881 (prolog-consult-compile): Don't use toggle-read-only.
5883 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5885 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5886 interrupt. (Bug#10187)
5888 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5890 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5893 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5896 2011-12-02 Juri Linkov <juri@jurta.org>
5898 * info.el (Info-search): Display "end of manual" when Isearch
5899 reaches the end of single-file Info manual. (Bug#9918)
5901 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5903 * isearch.el (isearch-message-prefix): Run the input method part
5904 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5906 2011-12-02 Juri Linkov <juri@jurta.org>
5908 * isearch.el (isearch-occur): Use `word-search-regexp' for
5910 (isearch-search-and-update): Add condition for `isearch-word' and
5911 call `word-search-regexp'. (Bug#10145)
5913 2011-12-01 Glenn Morris <rgm@gnu.org>
5915 * eshell/em-hist.el (eshell-hist-initialize):
5916 Handle eshell-history-size nil and HISTSIZE set or unset.
5917 (eshell-history-file-name, eshell-history-size): Fix custom type.
5919 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5921 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5923 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5925 * progmodes/verilog-mode.el (verilog-pretty-expr):
5926 Rework verilog-pretty-expr to handle new assignment operators in system
5927 verilog, such as += *= and the like.
5928 (verilog-assignment-operator-re): Regular expression to find the
5929 assigment operator in a verilog assignment.
5930 (verilog-assignment-operation-re): Regular expression to find an
5931 assignment statement for pretty-expr.
5932 (verilog-in-attribute-p): Query returns true if point is in an
5933 attribute context; used to skip these for expression line up from
5935 (verilog-in-parameter-p): Query returns true if point is in an
5936 parameter definition context; used to skip these for expression
5937 line up from pretty-expr.
5938 (verilog-in-parenthesis-p): Query returns true if point is in a
5939 parenthetical expression, specifically ( ) but not [ ] or { };
5940 used by pretty-expr.
5941 (verilog-just-one-space): If there is no space, don't add one.
5942 (verilog-get-lineup-indent-2): Specifically skip just attribute
5943 contexts for expression lineup, rather than skipping all
5944 parenthetical expressions.
5945 (verilog-calculate-indent): Fix comment, and fix indent.
5946 (verilog-do-indent): Indent declarations in lists (suggested by
5948 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5950 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5953 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5955 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5956 parameters with embedded comments. Reported by Ray Stevens.
5957 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5958 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5959 Reported by Tim Holt.
5960 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5961 instantiated by upper module causing wrong expansion until AUTOed a
5962 second time. Reported by K C Buckenmaier.
5963 (verilog-diff-auto): Fix showing .* as a difference when
5964 `verilog-auto-star-save' off. Reported by Dan Dever.
5965 (verilog-auto-reset, verilog-read-always-signals)
5966 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5967 temporary signals in reset list if
5968 verilog-auto-reset-blocking-in-non is nil, and match assignment
5969 style to each signal's assignment type, bug381.
5970 Reported by Thomas Esposito.
5971 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5972 (verilog-uvm-statement-re): Support UVM indentation and
5973 highlighting, with old OVM keywords only.
5974 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5975 Support AUTOTIEOFF creating non-wire data types.
5976 Suggested by Jonathan Greenlaw.
5977 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5978 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5979 (verilog-inject-sense, verilog-read-inst-pins)
5980 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5981 Fix mismatching parenthesis inside commented out code when deleting
5982 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5983 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5984 non-numeric vector width. Reported by Alex Reed.
5985 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5986 detecting signals with parameter widths. Reported by Alex Reed.
5987 (verilog-auto-delete-trailing-whitespace):
5988 With `verilog-auto-delete-trailing-whitespace' remove trailing
5989 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5990 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5991 Fix verilog-scan-cache corruption when running user AUTO expansion
5992 hooks that call indentation routines.
5993 (verilog-simplify-range-expression): Fix typo ignoring lower case
5995 (verilog-delete-auto): Fix delete-autos to also remove user created
5996 automatics, as long as they start with AUTO.
5997 (verilog-batch-diff-auto, verilog-diff-auto)
5998 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5999 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6000 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6001 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6002 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6003 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6004 is disabled and its cache will get corrupt, causing AUTOS not to
6005 expand. Instead use only -quick functions.
6006 (verilog-scan-region): Fix scanning over escaped quotes.
6007 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6008 (verilog-re-search-backward-quick)
6009 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6010 related functions now ignore strings, to fix misparsing of strings
6011 with magic comments embedded in them.
6012 (verilog-read-auto-template):
6013 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6014 Reported by Brad Dobbie.
6015 (verilog-read-auto-template):
6016 Fix 'verilog-auto-inst-template-numbers' with comments.
6017 Reported by Brad Dobbie.
6018 (verilog-auto-inst, verilog-auto-inst-param)
6019 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6020 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6021 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6022 debugging templates without merge conflicts, bug357.
6023 Reported by Brad Dobbie.
6024 (verilog-read-auto-template):
6025 Fix verilog-auto-inst-template-numbers with multiple templates.
6026 Reported by Brad Dobbie.
6027 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6028 abbrevs so user won't be asked to save.
6029 (verilog-read-auto-lisp-present): Fix to start at beginning of
6030 buffer in case called outside of verilog-auto.
6031 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6032 to "X-2". Reported by Matthew Myers.
6033 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6034 all inputs from module templates. Reported by Leith Johnson.
6035 (verilog-module-inside-filename-p): Fix locating programs as with
6037 (verilog-auto-inst-port): Fix vl-width expressions when using
6038 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6039 (verilog-decls-get-regs, verilog-decls-get-signals,
6040 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6041 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6042 verilog-read-decls): Combine reg and wire structures into one var
6043 structure to represent SystemVerilog concepts.
6044 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6045 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6046 (verilog-auto-wire-type, verilog-insert-definition):
6047 Add verilog-auto-wire-type and AUTOLOGIC to support using
6048 SystemVerilog "logic" keyword instead of "wire"/"reg".
6049 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6050 to declares outputs that also have assignments (presumably in an
6051 ifdef or generate if so there's not a driver conflict).
6052 Reported by Matthew Myers.
6053 (verilog-auto-declare-nettype, verilog-insert-definition):
6054 Add verilog-auto-declare-nettype to fix declarations using
6055 `default_nettype none. Reported by Julian Gorfajn.
6056 (verilog-read-always-signals-recurse, verilog-read-decls)
6057 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6058 malformed end statement, bug325. Reported by Joshua Wise and
6060 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6061 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6062 when expanding .* in interfaces, bug320.
6063 Reported by Pierre-David Pfister.
6064 (verilog-read-module-name): Fix import statements between module
6065 name and open parenthesis, bug317.
6066 Reported by Pierre-David Pfister.
6067 (verilog-simplify-range-expression): Fix simplification of
6068 multiplications inside AUTOWIRE connections, bug303.
6069 (verilog-auto-inst-port): Support parameter expansion in
6070 multidimensional arrays.
6071 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6072 after "assert property". Reported by Julian Gorfajn.
6073 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6074 with multiplication, bug303.
6075 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6076 Reported by Jan Frode Lonnum.
6078 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6080 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6081 (hfy-shell-file-name, hfy-shell):
6082 * international/fontset.el (x-decompose-font-name): Fix typos.
6084 2011-11-29 Ken Brown <kbrown@cornell.edu>
6086 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6087 (gdb-version): Remove defvar.
6088 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6089 (gdb-gud-context-command, gdb-non-stop-handler)
6090 (gdb-current-context-command, gdb-stopped): Use it.
6091 (gdb-init-1): Enable pretty printing here.
6092 (gdb-non-stop-handler): Don't enable pretty-printing here.
6093 Check to see if the target supports non-stop mode; if not, turn off
6094 non-stop mode. Use the following.
6095 (gdb-check-target-async): New defun.
6096 (gud-watch, gdb-stopped): Fix whitespace.
6097 (gdb-get-source-file): Don't try to display the source file if
6098 `gdb-main-file' is nil.
6100 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6102 * align.el: Try to generate fewer markers (bug#10047).
6103 (align--set-marker): New macro.
6104 (align-region): Use it.
6106 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6110 2011-11-29 Chong Yidong <cyd@gnu.org>
6112 * indent.el (indent-for-tab-command, indent-according-to-mode):
6114 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6116 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6118 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6119 aware of remote file names. (Bug#10124)
6121 2011-11-29 Chong Yidong <cyd@gnu.org>
6123 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6125 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6127 * files.el (find-file): Don't use force-same-window (bug#10144).
6128 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6129 use pop-to-buffer if the selected window can't be used.
6130 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6132 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6134 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6137 2011-11-28 Chong Yidong <cyd@gnu.org>
6139 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6141 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6143 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6144 gdb-get-source-file-list on gdb-create-source-file-list.
6146 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6148 * whitespace.el (whitespace-newline): Use a different foreground
6149 color for 16-color light-background displays.
6151 2011-11-24 Chong Yidong <cyd@gnu.org>
6153 * window.el (display-buffer--special-action): Doc fix.
6155 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6157 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6158 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6159 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6160 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6161 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6162 (avl-tree-stack-first):
6163 * emacs-lisp/cconv.el (cconv--analyse-use):
6164 * net/gnutls.el (gnutls-negotiate): Fix typos.
6166 2011-11-24 Glenn Morris <rgm@gnu.org>
6168 * lpr.el (lpr-windows-system, lpr-lp-system):
6169 * mail/binhex.el (binhex-begin-line):
6170 * progmodes/grep.el (grep-history, grep-find-history):
6171 * textmodes/flyspell.el:
6172 * vc/pcvs-defs.el (cvs-global-menu):
6173 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6174 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6175 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6177 * net/tls.el: Fix case of "GnuTLS".
6179 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6181 * version.el (emacs-build-system): Give it a doc-string.
6183 2011-11-24 Juri Linkov <juri@jurta.org>
6185 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6187 2011-11-24 Glenn Morris <rgm@gnu.org>
6189 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6190 if called on a non-mime message just toggle the headers. (Bug#8006)
6192 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6194 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6195 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6196 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6197 (allout-rebullet-heading, allout-open-sibtopic)
6198 (allout-toggle-current-subtree-encryption)
6199 (allout-toggle-subtree-encryption, allout-encrypt-string)
6200 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6201 (allout-distinctive-bullets-string, allout-auto-activation):
6202 * window.el (window-normalize-buffer-to-display):
6203 * progmodes/verilog-mode.el (verilog-batch-indent):
6204 * textmodes/bibtex.el (bibtex-field-braces-opt)
6205 (bibtex-field-strings-opt):
6206 * vc/cvs-status.el (cvs-tree-merge):
6209 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
6211 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6212 `non-essential' to t, in order to avoid remote connections.
6214 2011-11-23 Eli Zaretskii <eliz@gnu.org>
6216 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6217 On MS-DOS and MS-Windows, compare with loaddefs.el
6220 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6222 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6224 2011-11-23 Glenn Morris <rgm@gnu.org>
6226 * paths.el (rmail-file-name): Reformat the doc-string so that it
6229 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6230 (rmail-auto-file): Ignore case in the "special" field names,
6231 as mail-fetch-field does for all others.
6233 * mail/rmail.el (rmail-forward):
6234 * mail/rmailkwd.el (rmail-set-label):
6235 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6236 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6238 * mail/rmail.el (rmail-current-message): Doc fix.
6240 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6242 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6244 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6246 2011-11-22 Glenn Morris <rgm@gnu.org>
6248 * mail/rmailmm.el (test-rmail-mime-handler)
6249 (test-rmail-mime-bulk-handler)
6250 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6252 2011-11-21 Juri Linkov <juri@jurta.org>
6254 * calc/calc.el (calc-read-key-sequence):
6255 Let-bind `input-method-function' to nil. (Bug#10018)
6257 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6259 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6260 Tell the caller that the next line needs recomputation, even
6261 though it doesn't start a sexp (bug#10094).
6263 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6265 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6267 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6269 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6270 Use force-same-window.
6272 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6274 * descr-text.el (describe-char-unicode-data):
6275 * json.el (json-string-escape):
6276 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6277 (Footnote-unicode, Footnote-style-p):
6278 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6280 2011-11-20 Chong Yidong <cyd@gnu.org>
6282 * window.el (replace-buffer-in-windows): Restore interactive spec.
6284 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6286 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6288 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6289 (byte-compile-global-not-obsolete-vars): New var.
6290 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6292 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6294 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6296 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6297 * progmodes/pascal.el (electric-pascal-equal):
6298 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6299 * xml.el (xml-substitute-special): Fix typos.
6301 2011-11-20 Glenn Morris <rgm@gnu.org>
6303 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6304 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6306 (rmail-decode-mime-charset): Mark as obsolete.
6308 * mail/rmailsum.el (rmail-message-regexp-p-1):
6309 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6310 Before using mime functions, check they are set. (Bug#10077)
6312 2011-11-19 Juri Linkov <juri@jurta.org>
6314 * info.el (Info-finder-find-node): Use `package--builtins' instead
6315 of `package-alist'. Use node names formed by the pattern "Keyword "
6316 and the keyword name.
6318 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6320 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6322 2011-11-19 Juri Linkov <juri@jurta.org>
6324 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6325 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6326 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6327 `old-history', `old-history-forward'. Add let-binding
6328 `window-selected'. Remove calls to `kill-buffer',
6329 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6330 before calling `Info-find-node', so `Info-find-node-2' will reread
6331 the Info file. Restore window positions only when `window-selected'
6334 2011-11-19 Juri Linkov <juri@jurta.org>
6336 * isearch.el (isearch-lazy-highlight-new-loop):
6337 Remove condition `(not isearch-error)'. (Bug#9918)
6339 * misearch.el (multi-isearch-search-fun): Add condition
6340 `(not bound)' to ignore lazy-highlighting search.
6341 Add the search-failed message "end of multi" when the end of
6342 multi-sequence is reached. Uncapitalize the search-failed
6343 message "Repeat for next buffer".
6345 * info.el (Info-search): Add the search-failed message
6346 "end of the manual" when the end of the manual is reached
6349 2011-11-19 Juri Linkov <juri@jurta.org>
6351 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6352 Use non-destructive `remove' instead of `delete' because
6353 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6354 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6356 2011-11-19 Juri Linkov <juri@jurta.org>
6358 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6359 to nil instead of binding `search-ring' and `regexp-search-ring'.
6362 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6364 * simple.el (line-move): Force movement by logical lines for any
6365 hscrolled window, not only when auto-hscroll-mode is on.
6366 (line-move-visual): Update doc string to that effect. (Bug#10076)
6368 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6370 * language/european.el (macintosh): Define as alias for mac-roman.
6372 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6374 * mail/rmailmm.el (rmail-mime-display-header)
6375 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6376 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6377 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6378 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6379 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6381 (rmail-mime-entity-segment): To get past the tagline, move forward
6382 2 more lines, to account for the 2 empty lines that precede and
6383 follow the line with the buttons.
6384 (rmail-mime-update-tagline): Move one more line, to get past the
6385 empty line that follows the buttons in the tagline. (Bug#9520)
6387 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6389 * window.el (window-max-delta-1, window-min-delta-1)
6390 (window-min-size-1, window-state-get-1, window-state-put-1)
6391 (window-state-put-2): Use "window--" prefix.
6393 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6395 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6396 (smie-warning-count): New var.
6397 (smie-set-prec2tab): Use it.
6398 (smie-bnf->prec2): Improve warnings. Add docstring.
6399 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6400 (smie-bnf--set-class): New function.
6401 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6404 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6405 (compilation-error-properties, compilation-move-to-column):
6406 Handle compilation-first-column while in the target buffer.
6408 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6409 Don't hardcode point-min==1.
6411 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6412 (eshell-rewrite-for-command): Remove workaround.
6413 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6414 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6415 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6417 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6419 2011-11-17 Glenn Morris <rgm@gnu.org>
6421 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6422 Ignore buffer-local generated-autoload-file if it is the same
6423 as the global value. (Bug#10049)
6425 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6427 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6428 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6429 (reftex-toc-previous-heading, reftex-toc-max-level)
6430 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6431 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6432 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6433 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6434 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6435 (reftex-toc-rename-label, reftex-toc-visit-location)
6436 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6437 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6438 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6439 leaving "*toc*" only for references to the buffer.
6441 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6443 * window.el (window-resize, delete-window, split-window):
6444 Replace window-splits by window-combination-resize.
6445 * cus-start.el (window-splits): Replace by window-combination-resize.
6447 2011-11-17 Glenn Morris <rgm@gnu.org>
6449 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6450 Make bash entry derive from sh entry, not shell entry.
6452 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6454 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6457 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6459 * menu-bar.el (menu-bar-file-menu):
6460 * printing.el (pr-ps-utility):
6461 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6462 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6463 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6464 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6465 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6466 (icalendar--convert-cyclic-to-ical)
6467 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6468 (icalendar--convert-ical-to-diary)
6469 (icalendar--convert-recurring-to-diary)
6470 (icalendar--convert-non-recurring-all-day-to-diary)
6471 (icalendar-import-format-sample):
6472 * progmodes/idlw-shell.el (idlwave-shell-mode):
6473 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6474 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6475 (vhdl-ps-print-init): Fix typos.
6477 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6479 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6480 FSF and collapse date sequence, obscure author/maintainer email address
6481 better, remove extra version line, track relocation of author's webpage.
6483 * progmodes/python.el (python-pdbtrack-input-prompt)
6484 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6485 regular python pdb prompts. Adjustments shamelessly taken exactly as
6486 suggested in EmacsWiki page (tiny change):
6487 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6489 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6491 * expand.el (expand-pos, expand-index, expand-point):
6492 Remove redundant info from docstring.
6493 (expand-add-abbrevs): Doc fix.
6494 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6495 (expand-sample-perl-mode-expand-list): Fix typos.
6497 * net/dbus.el (dbus-event-member-name):
6498 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6499 * term/pc-win.el (msdos-create-frame-with-faces):
6500 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6502 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6504 * window.el (split-window, window-state-get-1)
6505 (window-state-put-1, window-state-put-2): Rename occurrences of
6506 window-nest to window-combination-limit.
6507 * cus-start.el (window-nest): Rename to window-combination-limit.
6509 2011-11-16 Chong Yidong <cyd@gnu.org>
6511 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6514 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6516 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6517 `completing-read' will remove *Completions* and will preserve
6518 current-buffer for us.
6519 (tmm-add-prompt): Users of *Completions* will always (re)set its
6521 (tmm-old-comp-map): Remove.
6523 2011-11-16 Glenn Morris <rgm@gnu.org>
6525 * mail/rmailedit.el: Require rmailmm when compiling.
6526 (rmail-old-mime-state): New declaration.
6527 (rmail-edit-current-message): If editing a mime message,
6528 edit the "raw" message from the mbox buffer.
6529 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6531 2011-11-15 Glenn Morris <rgm@gnu.org>
6533 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6534 which wasn't being used. Add optional arg to force given state.
6535 (rmail-mime): Add optional arg to force given state.
6537 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6539 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6540 * frame.el (display-mm-dimensions-alist):
6541 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6542 (outline-move-subtree-down):
6543 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6544 (newsticker--treeview-do-get-node):
6545 * net/quickurl.el (quickurl-list-buffer-name):
6546 * progmodes/dcl-mode.el (dcl-mode):
6547 * progmodes/gdb-mi.el (gdb-mapcar*):
6548 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6550 2011-11-15 Glenn Morris <rgm@gnu.org>
6552 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6553 in a boolean sense, so just make it a boolean, and fix the doc.
6554 (rmail-show-mime-function, rmail-mime-feature)
6555 (rmail-require-mime-maybe): Doc fixes.
6556 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6558 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6560 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6562 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6563 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6564 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6565 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6567 2011-11-15 Glenn Morris <rgm@gnu.org>
6569 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6570 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6571 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6572 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6573 (rmail-mime, rmail-show-mime): Doc fixes.
6575 * term/ns-win.el (mode-line-frame-identification):
6576 Leave it alone. (Bug#10051)
6578 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6580 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6581 Handle empty buffers. (Bug#9978)
6583 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6585 * international/mule.el (define-charset):
6586 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6587 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6588 * progmodes/verilog-mode.el (verilog-backward-token):
6589 * textmodes/ispell.el (lookup-words):
6590 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6592 2011-11-14 Glenn Morris <rgm@gnu.org>
6594 * progmodes/executable.el
6595 (executable-make-buffer-file-executable-if-script-p):
6596 Handle file-modes returning nil.
6598 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6599 message - not necessary, and causes problems. (Bug#9831)
6601 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6603 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6605 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6606 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6607 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6609 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6611 * window.el (window-resize, delete-window): Use window-splits
6612 variable instead of function.
6613 (window-state-get-1, window-state-put-2, window-state-put):
6614 Don't deal with windows' splits status.
6616 2011-11-12 Glenn Morris <rgm@gnu.org>
6618 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6619 (apropos-documentation): Doc fixes.
6621 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6623 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6624 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6626 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6628 * electric.el (electric-indent-post-self-insert-function): Make it
6629 possible for a char to only indent in some circumstances.
6630 (electric-indent-mode): Simplify.
6632 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6634 * window.el (windows-with-parameter): Remove unused function.
6635 (windows-at-side): Rename to window-at-side-list.
6636 (window-check, window-atom-check, window-atom-check-1)
6637 (window-side-check, window-size-ignore, window-size-fixed-1)
6638 (window-in-direction-2): Prefix with "window--".
6639 (window-tree-1): Rename to window--subtree, fix doc-string.
6641 2011-11-11 Glenn Morris <rgm@gnu.org>
6643 * subr.el (eval-after-load): If FILE is already loaded,
6644 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6646 2011-11-10 Glenn Morris <rgm@gnu.org>
6648 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6649 Call svn via vc-svn-command rather than vc-do-command.
6650 (vc-svn-command): Add --non-interactive. (Bug#9993)
6651 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6653 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6654 Add toggle-read-only. (Bug#7292)
6655 * files.el (toggle-read-only): Mention that it should only
6656 be used interactively. (Bug#10006)
6658 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6660 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6661 Adjust regexp for OCaml warnings.
6663 * electric.el (electric-pair-post-self-insert-function): Let user
6664 turn it off buffer-locally (bug#9932).
6666 * progmodes/python.el (python-beginning-of-statement):
6669 * progmodes/compile.el: Better handle TABs (bug#9749).
6670 (compilation-internal-error-properties)
6671 (compilation-next-error-function): Obey the target buffer's
6672 compilation-error-screen-columns.
6674 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6676 * progmodes/meta-mode.el: Remove obsolete comments.
6677 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6678 Fix typos in docstrings.
6680 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6682 * window.el (window-size-fixed-p): Rewrite doc-string.
6683 (window-resizable-p): Rename to window--resizable-p. Update callers.
6684 (window--resizable): New function. Make all callers of
6685 window-resizable call window--resizable instead.
6686 (window-resizable): Rewrite in terms of window--resizable.
6688 2011-11-08 Glenn Morris <rgm@gnu.org>
6690 * progmodes/delphi.el (delphi-mode-syntax-table):
6691 Let define-derived-mode define a proper syntax table. (Bug#9994)
6693 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6695 * window.el: Stay away from defsubst.
6696 (window-list-no-nils): Remove.
6697 (window-state-get-1, window-state-get): Use backquote instead.
6699 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6701 * emacs-lisp/find-func.el (find-function-read):
6702 Fix incorrect use of default argument in `completing-read'.
6704 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6706 * window.el (display-buffer-function, special-display-function):
6707 Mention display-buffer-record-window but do not mention
6708 help-setup parameter in doc-strings.
6709 (window-min-delta): Fix doc-string typo.
6711 2011-11-08 Chong Yidong <cyd@gnu.org>
6713 * window.el (window-total-height, window-total-width): Doc fix.
6714 (window-body-size): Move from C.
6715 (window-body-height, window-body-width): Move to C.
6717 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6719 * window.el: Make special-display like display-buffer-alist (bug#9532).
6720 (display-buffer--special-action): New function, morphed
6721 from display-buffer--special.
6722 (display-buffer): Use it to handle special-display-buffers at higher
6723 priority (just after display-buffer-alist).
6724 (display-buffer-fallback-action, display-buffer--other-frame-action)
6725 (pop-to-buffer-same-window): Remove display-buffer--special.
6727 2011-11-07 Glenn Morris <rgm@gnu.org>
6729 * calendar/cal-menu.el (cal-menu-set-date-title):
6730 Do nothing if not in a calendar. (Bug#9976)
6732 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6734 * files.el (find-file): Always use selected-window.
6736 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6738 * window.el (window-combinations): Make WINDOW argument
6739 mandatory. Rewrite doc-string.
6740 (walk-window-subtree, window-atom-check, window-min-delta)
6741 (window-max-delta, window--resize-this-window)
6742 (window--resize-root-window-vertically, window-tree)
6743 (balance-windows, window-state-put): Rewrite doc-strings as to
6744 not mention the term "subwindow".
6745 (window--resize-subwindows-skip-p): Rename to
6746 window--resize-child-windows-skip-p.
6747 (window--resize-subwindows-normal): Rename to
6748 window--resize-child-windows-normal.
6749 (window--resize-subwindows): Rename to
6750 window--resize-child-windows.
6751 (window-or-subwindow-p): Rename to window--in-subtree-p.
6753 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6755 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6756 Ensure that mbox format messages end in two newlines (Bug#9974).
6758 2011-11-06 Chong Yidong <cyd@gnu.org>
6760 * window.el (window-combination-p): Function deleted; its
6761 side-effect is not used in any existing code.
6762 (window-combinations, window-combined-p): Call window-*-child
6765 2011-11-05 Chong Yidong <cyd@gnu.org>
6767 * window.el (window-valid-p): Rename from window-any-p.
6768 (window-size-ignore, window-state-get): Callers changed.
6769 (window-normalize-window): Rename from window-normalize-any-window.
6770 New arg LIVE-ONLY, replacing window-normalize-live-window.
6771 (window-normalize-live-window): Delete.
6772 (window-combination-p, window-combined-p, window-combinations)
6773 (walk-window-subtree, window-atom-root, window-min-size)
6774 (window-sizable, window-sizable-p, window-size-fixed-p)
6775 (window-min-delta, window-max-delta, window-resizable)
6776 (window-resizable-p, window-full-height-p, window-full-width-p)
6777 (window-current-scroll-bars, window-point-1, set-window-point-1)
6778 (window-at-side-p, window-in-direction, window-resize)
6779 (adjust-window-trailing-edge, maximize-window, minimize-window)
6780 (window-deletable-p, delete-window, delete-other-windows)
6781 (record-window-buffer, unrecord-window-buffer)
6782 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6783 (quit-window, split-window, window-state-put)
6784 (set-window-text-height, fit-window-to-buffer)
6785 (shrink-window-if-larger-than-buffer): Callers changed.
6787 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6789 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6790 rfc2047-decode-string.
6791 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6794 * window.el (window-body-height, window-body-width): Mention in
6795 the doc string that the return values are in frame's canonical
6798 2011-11-03 Alan Mackenzie <acm@muc.de>
6800 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6801 change in cc-engine.el.
6803 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6805 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6807 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6809 * window.el (quit-window): Call unrecord-window-buffer after
6810 showing another buffer in the window. (Bug#9937)
6811 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6813 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6815 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6816 Accept status with more than 9 shelves. (Bug#9935)
6817 Reported by Colin D Bennett <colin@gibibit.com>.
6819 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6821 * help.el (with-help-window): Don't reference
6822 temp-buffer-show-specifiers in doc-string.
6824 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6826 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6829 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6831 * whitespace.el: New version 13.2.2.
6832 (whitespace-newline-mode): Disable properly. Reported by Sarah
6835 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6837 * net/newst-treeview.el: Remove "Time-stamp".
6838 (newsticker--group-manage-orphan-feeds): Do not call
6839 newsticker--treeview-tree-update.
6840 (newsticker-treeview-update, newsticker-treeview):
6841 Call newsticker--treeview-tree-update if necessary.
6843 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6845 * window.el (window-iso-combination-p, window-iso-combined-p)
6846 (window-iso-combinations): Remove "iso-" infix.
6847 Suggested by Chong Yidong.
6848 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6849 (window-max-delta-1, window-resize, window--resize-siblings)
6850 (window--resize-this-window, adjust-window-trailing-edge)
6851 (split-window, balance-windows-1)
6852 (shrink-window-if-larger-than-buffer):
6853 * calendar/calendar.el (calendar-generate-window):
6854 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6856 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6858 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6859 in place (bug#9907).
6860 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6861 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6862 (eshell-structure-basic-command, eshell-rewrite-while-command)
6863 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6864 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6865 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6866 (eshell-do-pipelines-synchronously, eshell-eval-command):
6867 Use backquotes and prefer setq to set.
6868 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6869 (eshell-macrop): Use functionp.
6870 (eshell-do-eval): Handle multiple expressions in `while' body.
6872 2011-10-30 Chong Yidong <cyd@gnu.org>
6874 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6875 instead of set-mark (Bug#9810).
6877 2011-10-30 Chong Yidong <cyd@gnu.org>
6879 * window.el (split-window-below, split-window-right): Rename from
6880 split-window-above-each-other and split-window-side-by-side
6881 respectively. All callers changed.
6882 (split-window-sensibly, split-window-sensibly): Use them.
6883 (split-window-keep-point): Doc fix.
6885 * isearch.el: Add isearch-scroll property to split-window-below
6886 and split-window-right.
6888 * follow.el (follow-mode):
6889 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6890 * progmodes/ada-xref.el (ada-gdb-application):
6891 * emulation/vip.el (vip-buffer-in-two-windows):
6892 * image-dired.el (image-dired-dired-with-window-configuration):
6893 * dired-x.el (dired-do-find-marked-files):
6894 * dired.el (dired-pop-to-buffer):
6895 * bs.el (bs--show-with-configuration):
6896 * vc/emerge.el (emerge-setup-windows):
6897 * textmodes/two-column.el (2C-two-columns):
6898 * textmodes/reftex-toc.el (reftex-toc):
6899 * progmodes/gdb-mi.el (gdb-setup-windows):
6900 * progmodes/fortran.el (fortran-window-create):
6901 * net/newst-treeview.el (newsticker--treeview-window-init):
6902 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6903 * emulation/tpu-edt.el (tpu-gold-map):
6904 * emulation/crisp.el (crisp-mode-map):
6905 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6907 2011-10-29 Chong Yidong <cyd@gnu.org>
6909 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6911 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6913 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6914 forged Ispell output (Bug#7904).
6916 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6918 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6920 * doc-view.el: Avoid ugly errors about not finding nil.
6921 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6922 (doc-view-dvipdf-program, doc-view-unoconv-program)
6923 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6924 Avoid nil or absolute file name as default value.
6925 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6927 2011-10-28 Alan Mackenzie <acm@muc.de>
6929 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6931 2011-10-28 Alan Mackenzie <acm@muc.de>
6933 Amend the handling of c-beginning/end-of-defun in nested declaration
6936 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6937 cc-langs.el. Change it to a defcustom.
6939 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6942 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6943 Prevent "class foo : bar" being spuriously recognized as a label.
6945 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6946 Add parameter `inclusive' (to include enclosing braces in the region).
6947 (c-widen-to-enclosing-decl-scope): New function.
6948 (c-while-widening-to-decl-block): New macro.
6949 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6950 outward for defun boundaries, and correspondingly change symbol
6951 `respect-enclosure' to `go-outward'.
6952 (c-declaration-limits): Change algorithm to report only the "innermost"
6955 2011-10-28 Deniz Dogan <deniz@dogan.se>
6957 * net/rcirc.el (rcirc-mode): Use hard newlines.
6959 2011-10-28 Alan Mackenzie <acm@muc.de>
6961 Amend to indent and fontify macros "which include their own semicolon"
6962 correctly, using the "virtual semicolon" mechanism.
6964 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6966 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6967 Recode to scan one line at a time rather than having \n and \r
6968 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6969 (c-forward-label): Amend for virtual semicolons.
6970 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6972 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6973 of the new C macros.
6975 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6976 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6977 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6978 (c-opt-cpp-macro-define): Make into a full language variable.
6979 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6980 AWK Mode (including \n, \r) removed, no longer needed.
6982 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6983 Invoke c-make-macro-with-semi-re.
6985 * progmodes/cc-vars.el (c-macro-with-semi-re):
6986 (c-macro-names-with-semicolon): New variables.
6987 (c-make-macro-with-semi-re): New function.
6989 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6991 * vc/log-edit.el: Fill empty field rather than adding new one.
6992 (log-edit-add-field): New function.
6993 (log-edit-insert-changelog): Use it.
6995 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6997 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6999 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7001 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7002 (gdb--check-interpreter): New function.
7005 2011-10-27 Glenn Morris <rgm@gnu.org>
7007 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7008 (least-positive-float, least-negative-float)
7009 (least-positive-normalized-float, least-negative-normalized-float)
7010 (float-epsilon, float-negative-epsilon):
7011 Remove unnecessary declarations.
7013 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7014 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7015 (least-positive-float, least-negative-float)
7016 (least-positive-normalized-float, least-negative-normalized-float)
7017 (float-epsilon, float-negative-epsilon): Add doc-strings,
7018 based on those in cl.texi.
7020 * files.el (set-visited-file-name): If the major-mode changed,
7021 reload the local variables. (Bug#9796)
7023 2011-10-27 Chong Yidong <cyd@gnu.org>
7025 * subr.el (change-major-mode-after-body-hook): New hook.
7026 (run-mode-hooks): Run it.
7028 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7029 Use change-major-mode-before-body-hook.
7031 * simple.el (fundamental-mode):
7032 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7033 change introducing fundamental-mode-hook.
7035 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7037 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7039 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7041 * ido.el (ido-file-name-all-completions-1): Do not require
7042 tramp.el explicitly. (Bug#7583)
7044 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7046 * progmodes/octave-mod.el:
7047 * progmodes/octave-inf.el: Update maintainer.
7049 2011-10-26 Chong Yidong <cyd@gnu.org>
7051 * subr.el (with-wrapper-hook): Rewrite doc.
7053 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7055 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7056 filenames "/method:foo:". (Bug#9793)
7058 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7060 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7063 2011-10-24 Glenn Morris <rgm@gnu.org>
7065 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7067 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7069 * notifications.el: Add the requirement of a running D-Bus session
7070 bus to the Commentary.
7072 2011-10-24 Juri Linkov <juri@jurta.org>
7074 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7075 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7078 2011-10-24 Juri Linkov <juri@jurta.org>
7080 * info.el (Info-following-node-name-re): Add newline to the list
7081 of allowed characters for leading space. (Bug#9824)
7083 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7085 * progmodes/octave-inf.el (inferior-octave-mode-map):
7086 Fix C-c C-h binding.
7087 * progmodes/octave-mod.el (octave-help): Remove.
7089 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7091 Sync with Tramp 2.2.3.
7093 * net/tramp-cache.el (top): Pacify byte-compiler using
7094 `init-file-user' and `site-run-file'.
7096 * net/trampver.el: Update release number.
7098 2011-10-23 Chong Yidong <cyd@gnu.org>
7100 * files.el (toggle-read-only): Remove obsolete comment about
7103 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7104 for toggle-read-only. Note that this hasn't called vc-next-action
7105 since 2008-05-02, though it wasn't documented at the time.
7107 * vc/ediff-init.el (ediff-toggle-read-only-function):
7108 Use toggle-read-only.
7110 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7112 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7115 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7116 correct faulty logical expression.
7117 (c-parse-state-state, c-record-parse-state-state):
7118 (c-replay-parse-state-state): New defvar/defuns.
7119 (c-debug-parse-state): Use new functions.
7121 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7123 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7124 last fix. Use window-in-direction correctly.
7126 2011-10-21 Chong Yidong <cyd@gnu.org>
7128 * progmodes/idlwave.el (idlwave-mode):
7129 * progmodes/vera-mode.el (vera-mode): No need to set
7130 require-final-newline; that's done in prog-mode.
7131 Suggested by Stefan Monnier.
7133 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7135 * mouse.el (mouse-drag-window-above)
7136 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7137 (mouse-drag-mode-line-1, mouse-drag-header-line)
7138 (mouse-drag-vertical-line-rightward-window): Remove.
7139 (mouse-drag-line): New function.
7140 (mouse-drag-mode-line, mouse-drag-header-line)
7141 (mouse-drag-vertical-line): Call mouse-drag-line.
7142 * window.el (window-at-side-p, windows-at-side): New functions.
7144 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7146 * tar-mode.el (tar-grind-file-mode):
7147 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7149 2011-10-21 Chong Yidong <cyd@gnu.org>
7151 * progmodes/idlwave.el (idlwave-mode):
7152 * progmodes/vera-mode.el (vera-mode):
7153 Use mode-require-final-newline.
7155 2011-10-20 Glenn Morris <rgm@gnu.org>
7157 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7159 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7161 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7163 2011-10-20 Chong Yidong <cyd@gnu.org>
7165 * emulation/cua-base.el (cua-mode):
7166 * mail/footnote.el (footnote-mode):
7167 * mail/mailabbrev.el (mail-abbrevs-mode):
7168 * net/xesam.el (xesam-minor-mode):
7169 * progmodes/bug-reference.el (bug-reference-mode):
7170 * progmodes/cap-words.el (capitalized-words-mode):
7171 * progmodes/compile.el (compilation-minor-mode)
7172 (compilation-shell-minor-mode):
7173 * progmodes/gud.el (gud-tooltip-mode):
7174 * progmodes/hideif.el (hide-ifdef-mode):
7175 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7176 * progmodes/subword.el (subword-mode):
7177 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7178 * progmodes/which-func.el (which-function-mode):
7179 * term/tvi970.el (tvi970-set-keypad-mode):
7180 * term/vt100.el (vt100-wide-mode):
7181 * textmodes/flyspell.el (flyspell-mode):
7182 * textmodes/ispell.el (ispell-minor-mode):
7183 * textmodes/nroff-mode.el (nroff-electric-mode):
7184 * textmodes/paragraphs.el (use-hard-newlines):
7185 * textmodes/refill.el (refill-mode):
7186 * textmodes/reftex.el (reftex-mode):
7187 * textmodes/rst.el (rst-minor-mode):
7188 * textmodes/sgml-mode.el (html-autoview-mode)
7189 (sgml-electric-tag-pair-mode):
7190 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7191 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7192 * emulation/crisp.el (crisp-mode):
7193 * emacs-lisp/eldoc.el (eldoc-mode):
7194 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7195 minor mode behavior.
7197 2011-10-19 Juri Linkov <juri@jurta.org>
7199 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7200 the list of hard-coded chars with escape-glyph face.
7202 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7204 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7206 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
7208 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7211 2011-10-19 Glenn Morris <rgm@gnu.org>
7213 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7214 Ignore ignored files. (Bug#9726)
7216 2011-10-19 Chong Yidong <cyd@gnu.org>
7218 Doc fix for minor modes, stating that an omitted argument enables
7219 the mode unconditionally when called from Lisp.
7221 * abbrev.el (abbrev-mode):
7222 * allout.el (allout-mode):
7223 * autoinsert.el (auto-insert-mode):
7224 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7225 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7226 (global-auto-revert-mode):
7227 * battery.el (display-battery-mode):
7228 * composite.el (global-auto-composition-mode)
7229 (auto-composition-mode):
7230 * delsel.el (delete-selection-mode):
7231 * desktop.el (desktop-save-mode):
7232 * dired-x.el (dired-omit-mode):
7233 * dirtrack.el (dirtrack-mode):
7234 * doc-view.el (doc-view-minor-mode):
7235 * double.el (double-mode):
7236 * electric.el (electric-indent-mode, electric-pair-mode):
7237 * emacs-lock.el (emacs-lock-mode):
7238 * epa-hook.el (auto-encryption-mode):
7239 * follow.el (follow-mode):
7240 * font-core.el (font-lock-mode):
7241 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7242 * help.el (temp-buffer-resize-mode):
7243 * hilit-chg.el (highlight-changes-mode)
7244 (highlight-changes-visible-mode):
7245 * hi-lock.el (hi-lock-mode):
7246 * hl-line.el (hl-line-mode, global-hl-line-mode):
7247 * icomplete.el (icomplete-mode):
7248 * ido.el (ido-everywhere):
7249 * image-file.el (auto-image-file-mode):
7250 * image-mode.el (image-minor-mode):
7251 * iswitchb.el (iswitchb-mode):
7252 * jka-cmpr-hook.el (auto-compression-mode):
7253 * linum.el (linum-mode):
7254 * longlines.el (longlines-mode):
7255 * master.el (master-mode):
7256 * mb-depth.el (minibuffer-depth-indicate-mode):
7257 * menu-bar.el (menu-bar-mode):
7258 * minibuf-eldef.el (minibuffer-electric-default-mode):
7259 * mouse-sel.el (mouse-sel-mode):
7260 * msb.el (msb-mode):
7261 * mwheel.el (mouse-wheel-mode):
7262 * outline.el (outline-minor-mode):
7263 * paren.el (show-paren-mode):
7264 * recentf.el (recentf-mode):
7265 * reveal.el (reveal-mode, global-reveal-mode):
7266 * rfn-eshadow.el (file-name-shadow-mode):
7267 * ruler-mode.el (ruler-mode):
7268 * savehist.el (savehist-mode):
7269 * scroll-all.el (scroll-all-mode):
7270 * scroll-bar.el (scroll-bar-mode):
7271 * server.el (server-mode):
7272 * shell.el (shell-dirtrack-mode):
7273 * simple.el (auto-fill-mode, transient-mark-mode)
7274 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7275 (line-number-mode, column-number-mode, size-indication-mode)
7276 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7277 * strokes.el (strokes-mode):
7278 * time.el (display-time-mode):
7279 * t-mouse.el (gpm-mouse-mode):
7280 * tool-bar.el (tool-bar-mode):
7281 * tooltip.el (tooltip-mode):
7282 * type-break.el (type-break-mode-line-message-mode)
7283 (type-break-query-mode):
7284 * view.el (view-mode):
7285 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7286 (global-whitespace-mode, global-whitespace-newline-mode):
7287 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7289 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7290 Fix autogenerated docstring.
7292 2011-10-19 Juri Linkov <juri@jurta.org>
7294 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7295 by checking environment variables "DESKTOP_SESSION" and
7296 "XDG_CURRENT_DESKTOP". (Bug#9779)
7298 2011-10-19 Juri Linkov <juri@jurta.org>
7300 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7301 (browse-url-chromium-program, browse-url-chromium-arguments):
7303 (browse-url-default-browser): Check for `browse-url-chromium' and
7304 call `browse-url-chromium-program'.
7305 (browse-url-chromium): New command. (Bug#9779)
7307 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7309 * facemenu.el (list-colors-duplicates): On Windows, detect more
7310 duplicates by assuming that only colors matching "^System" are
7311 special "system colors". (Bug#9722)
7313 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7316 to distinguish the author from the committer.
7318 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7320 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7322 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7324 * international/mule.el (sgml-html-meta-auto-coding-function):
7325 Add support for detecting encoding in HTML5 specified only as
7326 <meta charset="UTF-8">. Implementation just makes http-equiv and
7327 content-type parts from HTML4 encoding string optional. (Bug#9716)
7329 2011-10-18 Glenn Morris <rgm@gnu.org>
7331 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7333 2011-10-18 Chong Yidong <cyd@gnu.org>
7335 * faces.el (cursor): Doc fix.
7337 2011-10-17 Chong Yidong <cyd@gnu.org>
7339 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7341 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7343 * dirtrack.el (dirtrack): Support shell buffers with path
7344 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7346 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7348 * json.el: Bump version to 1.3 and note change in History.
7349 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7351 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * comint.el (comint-insert-input, comint-send-input)
7354 (comint-get-old-input-default, comint-backward-matching-input)
7355 (comint-next-prompt): Use nil instead of `input' for field property of
7356 past user input (bug#114).
7358 * minibuffer.el (completion--replace): Inherit surrounding properties
7360 (minibuffer-complete-and-exit): Use it.
7362 * comint.el (comint--table-subvert): Quote the all-completions output
7365 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7367 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7369 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7370 window on right of selected. (Bug#9350) Reword other window
7371 entries and separate them from frame entries.
7373 2011-10-15 Glenn Morris <rgm@gnu.org>
7375 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7378 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7380 * net/network-stream.el (network-stream-open-starttls):
7381 Improve detection of failure due to lack of TLS support.
7383 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7384 putting the input text in front and in bold.
7386 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7388 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7390 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7393 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7394 unread-command-events rather than pushing yet-another event.
7396 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7398 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7399 the explanation of the possible choices. Make the options passed
7400 to completing-read shorter.
7402 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7404 * textmodes/flyspell.el (flyspell-large-region): Make sure
7405 extended character mode is used if defined (Bug#1339).
7407 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7409 * simple.el (what-cursor-position): Fix the display of the
7410 character info for LRE, LRO, RLE, and RLO characters by appending
7413 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7415 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7416 even in case of error; add debug spec; simplify data flow.
7417 (with-timeout-handler): Remove.
7419 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7421 Fix Bug#6019, Bug#9315.
7423 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7424 complete `buffer-file-name', the local file name part could look
7425 remotely (for example on VMS).
7427 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7428 `tramp-run-real-handler'.
7429 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7430 already quoted by '"'.
7432 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7433 Let `file-name-handler-alist' be nil, the local file name part
7434 could look remotely (for example on VMS).
7436 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7438 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7440 (flyspell-post-command-hook): ...to here.
7442 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7444 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7446 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7447 using completion. Protect against "slow" callers.
7448 Remove the "message hack".
7450 2011-10-11 Juri Linkov <juri@jurta.org>
7452 * isearch.el (isearch-lazy-highlight-word): New variable.
7453 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7456 2011-10-11 Glenn Morris <rgm@gnu.org>
7458 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7459 like f90-previous-statement does.
7461 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7463 * eshell/eshell.el (eshell-command): History should be saved
7464 only in interactive use, to avoid error.
7466 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7468 * minibuffer.el (completion-file-name-table): Fix last change,
7469 i.e. ignore normal errors but not the other ones.
7471 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7473 * window.el (special-display-buffer-names)
7474 (special-display-regexps): Remove some remnants of earlier
7475 changes from doc-strings.
7476 (quit-windows-on): New function.
7478 * vc/vc.el (vc-revert, vc-rollback):
7479 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7480 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7481 (Bug#6183) (Bug#7074) (Bug#7447)
7483 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7485 * window.el (frame-auto-hide-function): Add version tag.
7488 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7490 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7493 2011-10-09 Leo Liu <sdl.web@gmail.com>
7495 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7498 2011-10-08 Glenn Morris <rgm@gnu.org>
7500 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7501 before the first code statement zero indent. (Bug#9690)
7503 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7505 * simple.el (count-words-region): Always count in the region.
7506 Report the number of lines and characters too.
7507 (count-words): New command, which counts in the buffer if the
7508 region is inactive, as count-words-region used to.
7509 (count-words--message): New function. Handle plurals.
7510 (count-lines-region): Make it an alias for count-words-region.
7512 * bindings.el (esc-map): Replace count-lines-region with
7515 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7517 * window.el (window--delete): Delete dedicated frame
7518 unconditionally when argument KILL is non-nil. (Bug#9699)
7519 (switch-to-buffer): Fix doc-string typo.
7521 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7523 * eshell/eshell.el (eshell-command): Avoid using hooks.
7525 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7527 * bindings.el ([M-left],[M-right]): Bind to left-word and
7528 right-word respectively.
7530 2011-10-07 Glenn Morris <rgm@gnu.org>
7532 * cus-start.el (debug-on-quit): Fix custom type.
7534 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7536 * subr.el (define-key-after): Clarify that the function is not
7537 useful for non-menu keymaps.
7539 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7541 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7543 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7544 in current minibuffer (Fix bug with recursive minibuffers).
7546 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7548 * progmodes/gdb-mi.el (gdb): Doc fix.
7550 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7552 * window.el (frame-auto-hide-function): New option replacing
7553 frame-auto-delete. Suggested by Stefan Monnier.
7554 (window--delete): Call frame-auto-hide-function instead of
7555 investigating frame-auto-delete.
7556 (window-point-1, set-window-point-1): New functions.
7557 (window-in-direction, record-window-buffer, window-state-get-1)
7558 (display-buffer-record-window): Use window-point-1 instead of
7560 (set-window-buffer-start-and-point): Use set-window-point-1.
7562 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7564 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7566 2011-10-05 Glenn Morris <rgm@gnu.org>
7568 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7569 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7571 2011-10-05 Leo Liu <sdl.web@gmail.com>
7573 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7574 works with buffer object.
7576 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7578 * mpc.el (mpc-tool-bar-map): Add labels.
7580 2011-10-04 Glenn Morris <rgm@gnu.org>
7582 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7584 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7586 * window.el (window--delete): New function.
7587 (frame-auto-delete): Resuscitate option.
7588 (bury-buffer, replace-buffer-in-windows)
7589 (quit-window): Rewrite using window--delete.
7590 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7591 Pass display-buffer-mark-dedicated to window--display-buffer-2
7594 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7596 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7597 returns a list (bug#9554). Add remote file name completion.
7598 * comint.el (comint--table-subvert): Curry and get quote&unquote
7599 functions as arguments.
7600 (comint--complete-file-name-data): Adjust call accordingly.
7601 * pcomplete.el (pcomplete--table-subvert): Remove.
7602 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7604 * minibuffer.el (completion-table-case-fold): Use currying.
7605 (completion--styles-type, completion--cycling-threshold-type):
7607 (completion-styles, completion-category-overrides)
7608 (completion-cycle-threshold): Use them.
7609 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7610 completion-table-case-fold.
7612 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7614 * minibuffer.el (completion-category-overrides): Fix type of styles
7615 and add more user friendly tags (bug#9660).
7617 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7619 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7620 (mule-input-method-string): New widget.
7621 (default-input-method, language-info-custom-alist): Use it.
7623 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * pcomplete.el: Require comint.
7626 (pcomplete--common-suffix): Remove.
7627 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7628 (pcomplete--table-subvert): Sync with comint--table-subvert.
7629 (pcomplete--entries): Use comint-completion-file-name-table.
7630 * comint.el (comint-unquote-filename): Simplify.
7631 (comint-completion-file-name-table): New function (bug#9616).
7632 (comint--complete-file-name-data): Use it.
7634 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7635 (pcmpl-gnu-tar-buffer): Remove.
7636 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7637 around. Make sure pcomplete-suffix-list is only changed temporarily.
7638 Don't look inside the tar's file if it's too large.
7640 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7642 * cus-edit.el (custom-mode-map):
7643 * epa.el (epa-key-list-mode-map):
7644 * man.el (Man-mode-map):
7645 * startup.el (splash-screen-keymap):
7646 * simple.el (special-mode-map): Use scroll-up-command and
7647 scroll-down-command.
7649 * progmodes/idlw-help.el (idlwave-help-mode-map):
7650 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7651 * net/newst-plainview.el (newsticker-mode-map):
7652 * emulation/ws-mode.el (wordstar-mode-map):
7653 * emulation/vi.el (vi-com-map):
7654 * calc/calc-graph.el (calc-graph-show-dumb):
7655 * term/sun.el (terminal-init-sun):
7656 * term/ns-win.el (global-map):
7657 * progmodes/grep.el (grep-mode-map):
7658 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7659 * mail/rmail.el (rmail-mode-map):
7660 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7662 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7663 custom-safe-themes as special.
7665 2011-10-01 Julien Danjou <julien@danjou.info>
7667 * notifications.el (notifications-notify): Fix docstring.
7669 2011-10-01 Per Starbäck <per@starback.se>
7671 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7673 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7675 * startup.el (command-line-1): Fix last fix by inserting
7676 initial-scratch-message into *scratch* before displaying it.
7677 (Bug#9605) and (Bug#9636)
7679 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7681 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7682 window is hscrolled, move by logical lines. (Bug#9607)
7683 (line-move-visual): Update the doc string to the above effect.
7685 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7687 * window.el (display-buffer-record-window): When WINDOW is the
7688 selected window use `point' instead of `window-point'. (Bug#9626)
7690 * startup.el (command-line-1): Use insert-before-markers when
7691 inserting initial-scratch-message. (Bug#9605)
7693 * help.el (help-window): Remove variable.
7695 2011-09-29 Glenn Morris <rgm@gnu.org>
7697 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7699 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7701 * descr-text.el (describe-char-categories): Accept category
7702 descriptions more than one line long.
7704 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7706 * simple.el (delete-trailing-whitespace): Fix last change.
7708 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7709 Don't confuse "y => 3" as the beginning of a `y' operation.
7711 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7712 object has more than 4 slots (bug#9613).
7714 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7716 * subr.el (with-output-to-temp-buffer):
7717 * net/quickurl.el (quickurl, quickurl-browse-url):
7718 Fix typos in docstrings.
7720 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7722 * minibuffer.el (completion-styles)
7723 (completion-category-overrides): Cross reference each other in doc
7726 2011-09-27 Glenn Morris <rgm@gnu.org>
7728 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7729 to split-string. (Bug#9606)
7731 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7733 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7736 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7738 * emacs-lisp/package.el (list-packages): Fix echo area message.
7740 2011-09-27 Leo Liu <sdl.web@gmail.com>
7742 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7744 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7746 * net/dbus.el (dbus-unregister-object): Don't release services for
7747 registered signals. (Bug#9581)
7749 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7751 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7752 function that picks between cfengine 2 and 3 support
7753 automatically. Update docs accordingly.
7755 2011-09-22 Kenichi Handa <handa@m17n.org>
7757 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7759 (indian-itrans-v5-table-for-tamil): New variable.
7760 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7762 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7764 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7765 that's true if the current command involved collapsing of text.
7766 It's reset to false at the beginning of the next command.
7767 (allout-post-command-business): Move the cursor to the beginning
7768 of entry if the cursor is hidden and collapsing activity just
7771 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7773 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7774 tracking (Bug#9541).
7776 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7778 * net/newst-reader.el (newsticker-html-renderer)
7779 (newsticker-show-news): Automatically load html rendering package
7780 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7781 because w3m-fill-column is let-bound" and the error "Symbol's value
7782 as variable is void: w3m-fill-column".
7784 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7786 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7787 Release services only if they are defined. (Bug#9581)
7789 2011-09-23 Richard Stallman <rms@gnu.org>
7791 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7792 distinguish start of paragraph from start of its text.
7794 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7796 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7797 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7798 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7800 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7802 * international/mule-diag.el (mule-diag): Insert a newline after
7803 each fontset description.
7805 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7807 * simple.el (delete-trailing-whitespace):
7808 Document last change; simplify.
7810 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7812 * simple.el (delete-trailing-whitespace): Also delete
7813 extra newlines at the end of the buffer.
7815 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7816 (picture-newline): Use forward-line so as to ignore fields.
7818 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7820 * subr.el (with-wrapper-hook): Fix edebug spec.
7822 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7824 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7827 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7829 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7830 Fix nasty bug using wrong cached values.
7832 2011-09-23 Alan Mackenzie <acm@muc.de>
7834 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7836 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7838 * window.el (pop-to-buffer): Ensure right window is selected if we
7839 chose another frame.
7841 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7843 * simple.el (what-cursor-position): Use get-char-property-change
7844 and next-single-char-property-change, to be able to show display
7845 properties that come from overlays as well as text properties.
7847 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7849 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7851 * cmuscheme.el (run-scheme, switch-to-scheme):
7852 * cus-edit.el (customize-group, custom-buffer-create)
7856 * mail/sendmail.el (mail):
7857 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7859 2011-09-22 Richard Stallman <rms@gnu.org>
7861 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7862 move back only to line beg, don't move back over blank lines.
7864 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7866 * files.el (copy-directory): Set directory attributes only in case
7867 they could be retrieved from the source directory. (Bug#9565)
7869 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7871 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7872 (hs-find-block-beginning, hs-hide-level-recursive):
7873 Ignore strings as well as comments. (Bug#9502)
7875 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7877 * progmodes/sql.el (sql-comint-postgres):
7878 Convert port number to a string. (Bug#9566)
7880 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7882 * window.el (quit-window): Undedicate window when switching to
7883 previous buffer. Reported by Thierry Volpiatto
7884 <thierry.volpiatto@gmail.com>.
7885 (special-display-popup-frame): When popping up a new frame reset
7886 its previous buffers to nil. Simplify code.
7888 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7890 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7891 and process filter, as done also in `shell-command'.
7893 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7895 * window.el (set-window-buffer-start-and-point):
7896 Call set-window-start with NOFORCE argument t.
7897 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7898 (quit-window): Reword doc-string. Handle new format of
7899 quit-restore parameter. Don't delete window if it has a
7900 previous buffer we can show instead of the present one.
7901 (display-buffer-record-window): Rewrite using a new format for
7902 the quit-restore window parameter
7903 (special-display-popup-frame, display-buffer-same-window)
7904 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7905 (display-buffer-pop-up-window, display-buffer-use-some-window):
7906 Adapt symbol passed to display-buffer-record-window.
7907 * help.el (help-window-setup): Handle new format of quit-restore
7910 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7912 * faces.el (face-list): Fix docstring (bug#9564).
7914 * window.el (display-buffer--action-function-custom-type):
7915 Don't include internal functions in the Custom interface.
7917 2011-09-20 Juri Linkov <juri@jurta.org>
7919 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7920 (Info-forward-node, Info-backward-node, Info-next-preorder)
7921 (Info-last-preorder): Use it. (Bug#9528)
7923 2011-09-20 Juri Linkov <juri@jurta.org>
7925 * info.el (Info-last-preorder): Visit last menu item only when
7926 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7928 2011-09-20 Julien Danjou <julien@danjou.info>
7930 * password-cache.el (password-cache-remove): Remove entries even if the
7931 value is nil, so that password with a nil value (negative caching) is
7932 possible to invalidate.
7934 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7936 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7937 all whitespace around breakpoint. (Bug#9553)
7938 (f90-find-breakpoint): Only break at whitespace inside a comment.
7940 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7942 * minibuffer.el (completion-file-name-table): Keep track of errors.
7943 (completion-table-with-predicate): Handle the case where pred1 is nil.
7944 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7946 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7948 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7949 (debugger-return-value): Signal an error if the debugging context does
7950 not await any return value.
7952 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7953 * image-mode.el (image-toggle-display-text)
7954 (image-toggle-display-image): Stay away from evil `intangible'.
7956 2011-09-19 Leo Liu <sdl.web@gmail.com>
7958 * replace.el (occur-revert-arguments): Make it permanent-local.
7959 (occur-mode): Don't call font-lock-defontify.
7961 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7963 * net/ldap.el (ldap-search-internal): Don't push empty search
7966 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7968 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7970 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7972 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7973 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7975 2011-09-18 Juri Linkov <juri@jurta.org>
7977 * buff-menu.el (Buffer-menu-mode-map):
7978 * dired.el (dired-mode-map):
7979 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7980 (lisp-interaction-mode-map):
7981 * emacs-lisp/package.el (package-menu-mode-map):
7982 * epa.el (epa-key-list-mode-map):
7983 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7984 (menu-bar-options-menu):
7985 * outline.el (outline-mode-menu-bar-map):
7986 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7987 * vc/vc-dir.el (vc-dir-menu-map):
7988 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7989 Capitalize non-function content words in menu item strings.
7991 * dired.el (dired-mode-map): Add menu item for
7992 `image-dired-dired-toggle-marked-thumbs'.
7994 2011-09-18 Juri Linkov <juri@jurta.org>
7996 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7997 to `isearch-case-fold-search' and restore its original value
7998 after the `isearch-mode' call.
8000 2011-09-18 Juri Linkov <juri@jurta.org>
8002 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8003 because `zgrep' returns 1 for successful matches (bug#9226).
8005 2011-09-18 Juri Linkov <juri@jurta.org>
8007 * info.el (Info-extract-menu-node-name): Check the second match
8008 for empty string (second test-case of bug#9528).
8009 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8010 intermediate nodes to the history (first test-case of bug#9528).
8012 2011-09-18 Juri Linkov <juri@jurta.org>
8014 * info.el (Info-mode-syntax-table): New variable.
8015 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8017 2011-09-18 Juri Linkov <juri@jurta.org>
8019 * info.el (Info-file-supports-index-cookies):
8020 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8021 outputs one more line for long file names (bug#4142).
8023 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8025 * newcomment.el (comment-normalize-vars): If prompting for
8026 comment-start, set comment-start-skip too (Bug#8424).
8028 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8030 * icomplete.el: Fix previous fix of Bug#5849.
8031 (icomplete-mode): Don't set completion-show-inline-help.
8032 (icomplete-minibuffer-setup): Set completion-show-inline-help
8033 locally during icompletion.
8035 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8037 * woman.el (woman2-process-escapes): Don't delete unrecognized
8040 * files.el (inhibit-first-line-modes-regexps): Add image files.
8041 (hack-local-variables-prop-line): Return nil for malformed
8042 prop-lines (Bug#9044).
8044 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8046 * net/tramp.el (top): Don't require 'shell.
8047 (tramp-methods): Fix docstring.
8048 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8049 Return complete remote file name. Handle "smb" case.
8050 Use `tramp-tmpdir', if defined for the respective method.
8051 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8053 * net/tramp-compat.el (top): Require 'shell.
8055 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8056 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8057 `tramp-current-host'.
8058 (tramp-get-remote-tmpdir): Remove.
8060 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8061 `tramp-tmpdir' entries.
8062 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8063 (tramp-smb-handle-file-attributes): Ignore errors.
8064 (tramp-smb-wait-for-output): Check also for process end.
8066 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8068 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8069 when sending QUIT (bug#9312).
8071 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8073 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8074 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8075 occur-mode-display-occurrence.
8076 (occur-edit-mode): Add usage message.
8077 (occur-cease-edit): New command.
8078 (occur-after-change-function): Use text properties to find the
8079 position of the prefix text.
8080 (occur-engine): Set stickiness of prefix text properties.
8082 2011-09-17 Glenn Morris <rgm@gnu.org>
8084 * progmodes/etags.el (complete-tag):
8085 Fix call to completion-in-region. (Bug#9526)
8087 2011-09-17 Juri Linkov <juri@jurta.org>
8089 * textmodes/ispell.el (ispell-word): Add to the error message
8090 the word, ispell program name and current dictionary (bug#9121).
8091 (ispell-tex-arg-end): Capitalize "error" in the error message.
8093 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8095 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8098 2011-09-17 Juri Linkov <juri@jurta.org>
8100 * window.el (window-safe-min-height, window-safe-min-width):
8101 Fix typos (followup to bug#9522).
8103 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8105 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8107 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8109 * simple.el (line-move): If goal-column is set, move by logical
8110 lines, not by display lines. (Bug#971)
8111 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8112 to reflect the above change.
8114 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8116 * image.el (imagemagick-register-types): Use regexp-opt.
8118 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8120 * window.el (display-buffer-base-action): Rename from
8121 display-buffer-default-action. Make default value empty.
8122 (display-buffer-overriding-action): Convert to defvar.
8123 (display-buffer-fallback-action): New var.
8125 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8127 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8129 (package--add-to-archive-contents): If there is a duplicate entry
8130 with an older version, remove it.
8131 (package-menu-mark-delete, package-menu-mark-install)
8132 (package-menu-mark-unmark): Make unused args optional.
8133 (package-menu-mark-obsolete-for-deletion):
8134 Use package-menu-get-status instead of a regexp search.
8135 (package-menu-get-status): Use tabulated-list-entry.
8136 (package-menu-mark-upgrades): New command.
8137 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8138 (package-menu-execute): Do installation before deletion.
8139 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8140 instead of checking major-mode.
8141 (package-menu--find-upgrades): New function.
8143 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8145 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8146 passwords in the log buffer.
8147 (smtpmail-process-filter): Update the process marker so that the
8148 "broken by peer" status message is inserted in the right place.
8150 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8152 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8153 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8154 bibtex-completion-at-point-function.
8155 (bibtex-completion-at-point-function): Use them.
8157 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8159 * mpc.el (mpc-constraints-tag-lookup): New function.
8160 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8161 also to browser "album|playlist".
8163 2011-09-14 Juri Linkov <juri@jurta.org>
8165 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8166 (isearch-edit-string): Use length of `isearch-string' when
8167 `isearch-fail-pos' returns nil.
8168 (isearch-message): Remove duplicate code and call
8169 `isearch-fail-pos' with arg `t'.
8171 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8173 * replace.el (occur-mode-goto-occurrence): Don't force using other
8176 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8178 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8180 * window.el (display-buffer-window): Remove.
8181 (display-buffer-record-window): Use help-setup window parameter
8182 instead of variable display-buffer-window.
8183 (display-buffer-function, special-display-buffer-names)
8184 (special-display-function): Mention help-setup parameter instead
8185 of display-buffer-window in doc-string.
8186 * help.el (help-window-setup): New argument help-window.
8187 Use help-window-setup parameter instead of display-buffer-window.
8188 Reword some messages.
8189 (with-help-window): Pass window used for displaying the buffer
8190 to help-window-setup. Don't set display-buffer-window.
8192 2011-09-13 Glenn Morris <rgm@gnu.org>
8194 * emacs-lisp/debug.el (debugger-make-xrefs):
8195 Preserve point. (Bug#9462)
8197 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8199 * window.el (window-deletable-p): Use next-frame.
8201 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8203 * window.el (window-auto-delete): Remove.
8204 (window-deletable-p): Remove argument FORCE. Don't deal with
8205 dedication and previous buffers.
8206 (switch-to-prev-buffer): Don't delete window.
8207 (delete-windows-on): Delete a window's frame if and only if the
8208 window is dedicated.
8209 (replace-buffer-in-windows): Delete buffer's window or frame if
8210 and only if window is dedicated.
8211 (quit-window): Handle quit-restore as before last change.
8212 (bury-buffer): Delete window only if window-deletable-p returns t.
8214 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8216 * window.el (window-deletable-p): Never delete the last frame on a
8219 2011-09-13 Glenn Morris <rgm@gnu.org>
8221 * help.el (describe-key-briefly): Copy previous standard-output change.
8223 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8225 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8227 2011-09-13 Glenn Morris <rgm@gnu.org>
8229 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8230 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8232 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
8234 * dired-aux.el (dired-mark-read-string): Don't return default
8235 value on empty input (Bug#9361).
8236 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8237 Omit initial minibuffer contents.
8238 (dired-do-chmod): Signal an error on empty input.
8239 (dired-mark-read-string): Don't return default on empty input.
8241 * files.el (file-modes-symbolic-to-number): Doc fix.
8243 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8245 * international/mule-cmds.el (ucs-completions): Remove.
8246 (read-char-by-name): Use complete-with-action instead; add metadata.
8248 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8250 * window.el (display-buffer--action-function-custom-type)
8251 (display-buffer--action-custom-type): New vars.
8252 (display-buffer-alist, display-buffer-default-action)
8253 (display-buffer-overriding-action): Add defcustom types.
8255 * frame.el (delete-other-frames): Doc fix (Bug#276).
8257 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8259 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8261 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8263 Change modes that used same-window-* vars to use switch-to-buffer.
8265 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8266 Use switch-to-buffer.
8268 * cus-edit.el (customize-group, custom-buffer-create)
8269 (customize-browse, custom-buffer-create-other-window):
8270 Use switch-to-buffer or switch-to-buffer-other-window.
8272 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8273 (Info-prev, Info-up, Info-speedbar-goto-node)
8274 (info-display-manual): Use switch-to-buffer.
8275 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8277 * mail/sendmail.el (mail): Use switch-to-buffer.
8278 (mail-recover): Use switch-to-buffer-other-window.
8280 * cmuscheme.el (run-scheme, switch-to-scheme):
8283 * net/rlogin.el (rlogin):
8284 * net/telnet.el (telnet, rsh):
8285 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8287 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8289 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8291 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8293 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8294 so don't mention it (bug#9301).
8295 (dired-sort-toggle-or-edit): Clarify string further.
8297 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8298 match `x', `w32' and `ns', like the manual says (bug#9029).
8300 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8301 (process-kill-buffer-query-function): Mention the buffer name in
8304 * image-mode.el (image-next-line): The line parameter is mandatory
8307 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8308 which can be useful (bug#9301).
8310 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8312 * subr.el (match-string): Mention that the current buffer should
8313 be the same as the search was done in (bug#9282).
8315 * facemenu.el: Disable the remove-* commands if the mark isn't
8318 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8320 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8322 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8324 * replace.el (occur-mode-goto-occurrence)
8325 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8328 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8331 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8332 special-display and same-window variables.
8333 (mail-other-window): Use switch-to-buffer-other-window.
8334 (mail-other-frame): USe switch-to-buffer-other-frame.
8336 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8337 Use display-buffer-other-frame.
8338 (gdb-display-gdb-buffer): Use pop-to-buffer.
8340 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8342 * progmodes/python.el: Don't set same-window-buffer-names.
8344 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8346 * window.el (display-buffer-alist): Add *Python*.
8348 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8350 * window.el (display-buffer-alist): Add entry for buffers
8351 previously handled same-window-*.
8352 (display-buffer-alist, display-buffer-default-action)
8353 (display-buffer-overriding-action): Mark as risky.
8354 (display-buffer-alist): Document action function changes.
8355 (display-buffer--same-window-action)
8356 (display-buffer--other-frame-action): New variables.
8357 (switch-to-buffer, display-buffer-other-frame): Use them.
8358 (display-buffer): Rename reuse-frame entry to reusable-frames.
8359 (display-buffer-reuse-selected-window): Function deleted.
8360 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8361 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8362 (display-buffer-special): New function.
8363 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8364 display-buffer-reuse-or-pop-window. Split off special-display
8365 part into display-buffer-special.
8366 (display-buffer-use-some-window): Don't perform any special
8367 pop-up-frames handling.
8368 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8369 (display-buffer--maybe-same-window): Rename from
8370 display-buffer-maybe-same-window.
8372 * info.el: Don't set same-window-regexps.
8373 (info-setup): New function.
8374 (info-other-window, info): Call it.
8376 * cus-edit.el: Don't set same-window-regexps.
8377 (customize-group): New argument.
8378 (customize-group-other-window): Use it.
8379 (customize-face, customize-face-other-window): Likewise.
8380 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8384 * progmodes/gud.el: Don't set same-window-regexps.
8390 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8392 2011-09-10 Juri Linkov <juri@jurta.org>
8394 * isearch.el (isearch-edit-string): Remove obsolete mention of
8395 `C-w' (`isearch-yank-word-or-char') from docstring.
8396 (isearch-query-replace): Fix typo in docstring (bug#9466).
8398 2011-09-10 Juri Linkov <juri@jurta.org>
8400 * paren.el (show-paren-function): Don't show escaped parens.
8401 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8403 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8405 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8406 (mm-default-file-encoding): Remove autoload forms, they are
8407 replaced with autoload cookies in mml.el and mm-encode.el.
8408 (mail-add-attachment): New command.
8409 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8410 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8412 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8414 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8416 * simple.el (count-words-region): Use buffer if there's no region
8419 2011-09-09 Juri Linkov <juri@jurta.org>
8421 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8422 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8423 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8425 2011-09-09 Alan Mackenzie <acm@muc.de>
8427 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8428 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8430 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8432 Fix for Savannah bug#9392.
8433 * simple.el (mail-encode-mml): New defvar.
8435 * mail/rmail.el (mail-encode-mml): Add a defvar.
8436 (rmail-enable-mime-composing): Default to t.
8437 (rmail-forward): Use MIME method of forwarding only if both
8438 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8439 Set mail-encode-mml non-nil if the MIME method was used.
8441 * mail/sendmail.el (mml-to-mime): Add autoload form.
8442 (mail-encode-mml): Add a defvar.
8443 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8445 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8446 message through mml-to-mime, and reset mail-encode-mml to nil.
8448 2011-09-09 Glenn Morris <rgm@gnu.org>
8450 * woman.el (woman-if-body): When processing an .el block,
8451 do not delete the next .el block as well. (Bug#9447)
8452 (woman-special-characters): Add oq, cq, and hy characters.
8454 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8456 * window.el (window-deletable-p): Make sure window is live before
8457 invoking window-prev-buffers.
8459 2011-09-08 Leo Liu <sdl.web@gmail.com>
8461 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8463 2011-09-08 Juri Linkov <juri@jurta.org>
8465 * progmodes/compile.el (compilation-environment): Make it
8466 a defcustom (bug#8340).
8468 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8470 * window.el (frame-auto-delete): Rename to window-auto-delete.
8471 Make it control auto-deletion of windows and/or frames.
8472 (window-deletable-p): New argument FORCE. Rewrite conditions
8473 for deleting window/frame. (Bug#9419)
8474 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8475 Rewrite handling of case when window/frame can be deleted.
8476 (delete-windows-on): Call window-deletable-p with new FORCE
8477 argument t. (Bug#9456)
8479 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8481 * help-mode.el (help-mode): Restore autoload.
8483 2011-09-07 Juri Linkov <juri@jurta.org>
8485 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8486 `compilation-environment'. Set buffer-local
8487 `compilation-environment' to `thisenv' later after (funcall mode).
8490 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8491 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8492 instead of replacing its value. (Bug#8340)
8494 2011-09-07 Juri Linkov <juri@jurta.org>
8496 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8497 based on text properties put by `grep-filter' instead of matching
8499 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8500 to the value of `grep-error-screen-columns' (bug#9438).
8502 2011-09-07 Juri Linkov <juri@jurta.org>
8504 * simple.el (next-error-highlight, next-error-highlight-no-select):
8507 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8509 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8510 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8512 2011-09-07 Leo Liu <sdl.web@gmail.com>
8514 * net/rcirc.el (rcirc-mode): Conditionally initialize
8517 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8519 * emacs-lisp/find-func.el (find-function-C-source): Only set
8520 find-function-C-source-directory after checking that we found a source
8521 file there (bug#9440).
8523 2011-09-06 Alan Mackenzie <acm@muc.de>
8525 * isearch.el (isearch-other-meta-char): Wherever a key list is
8526 unread, "unread" the prefix arg, too. This fixes bug #8901.
8528 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8530 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8532 2011-09-05 Juri Linkov <juri@jurta.org>
8534 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8536 2011-09-05 Juri Linkov <juri@jurta.org>
8538 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8539 keeping point where processing of grep matches begins, and
8540 continue to delete remaining escape sequences from the same point.
8541 (grep-filter): Make leading zero optional in "0?1;31m" because
8542 git-grep emits "\033[1;31m" escape sequences unlike expected
8543 "\033[01;31m" as GNU Grep does (bug#9408).
8544 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8546 2011-09-05 Juri Linkov <juri@jurta.org>
8548 * subr.el (y-or-n-p): Capitalize "yes".
8550 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8552 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8553 `tramp-cache-unload-hook' where appropriate.
8554 (tramp-methods): Rename `tramp-remote-sh' to
8555 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8556 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8558 * net/tramp-sh.el (top): Don't require 'shell.
8559 (tramp-methods): Add `tramp-remote-shell' and
8560 `tramp-remote-shell-args' entries.
8561 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8562 (tramp-sh-handle-shell-command): Remove.
8563 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8564 Use `tramp-remote-shell'.
8566 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8568 * mail/sendmail.el (sendmail-query-once-function): Delete.
8569 (sendmail-query-once): Save directly to send-mail-function.
8570 Update message-send-mail-function too.
8572 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8574 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8576 * progmodes/python.el (python-mode-map): Use correct function to
8577 start python interpreter from menu-bar (as reported by Geert
8579 (inferior-python-mode-map): Fix typo.
8580 (python-shell-map): Remove.
8582 2011-09-03 Deniz Dogan <deniz@dogan.se>
8584 * net/rcirc.el (rcirc-print): Simplify code for
8585 rcirc-scroll-show-maximum-output. There is no need to walk
8586 through all windows to find the right one.
8588 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8590 * help.el (help-return-method): Doc fix.
8592 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8594 * window.el (window-deletable-p): Don't return a non-nil value
8595 when there's a buffer that was shown in the window before.
8597 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8598 Set window's previous buffers to nil.
8600 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8602 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8603 newline before and after the tag line, so it doesn't interfere
8604 with determining the paragraph direction of bidirectional text.
8606 2011-09-03 Leo Liu <sdl.web@gmail.com>
8608 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8610 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8612 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8613 (pop-to-buffer): Change interactive spec. Pass second argument
8614 directly to display-buffer.
8615 (display-buffer): Fix interactive spec. Use functionp to
8616 distinguish between a function and a list of functions.
8618 * abbrev.el (edit-abbrevs):
8619 * arc-mode.el (archive-extract):
8620 * autoinsert.el (auto-insert):
8621 * bookmark.el (bookmark-bmenu-list):
8622 * files.el (find-file):
8623 * view.el (view-buffer):
8624 * progmodes/compile.el (compilation-goto-locus):
8625 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8627 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8629 * window.el (display-buffer-alist): Doc fix.
8630 (display-buffer): Add docstring. Don't treat
8631 display-buffer-default specially.
8632 (display-buffer-reuse-selected-window)
8633 (display-buffer-same-window, display-buffer-maybe-same-window)
8634 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8635 (display-buffer-pop-up-window)
8636 (display-buffer-reuse-or-pop-window)
8637 (display-buffer-use-some-window): New functions.
8638 (display-buffer-default-action): Use them.
8639 (display-buffer-default): Delete.
8640 (pop-to-buffer-1): Fix choice of actions.
8642 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8644 * minibuffer.el (completion--insert-strings): Don't get confused by
8645 completion entries that end with an LF char.
8647 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8649 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8651 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8653 * window.el (display-buffer): Restore interactive spec.
8654 (display-buffer-same-window, display-buffer-other-window):
8656 (pop-to-buffer-1): New function. Use the above.
8657 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8658 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8660 * view.el (view-buffer-other-window, view-buffer-other-frame):
8661 Just use pop-to-buffer.
8663 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8665 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8667 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8669 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8671 2011-08-31 Richard Stallman <rms@gnu.org>
8673 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8674 of the separation of rmail-view-buffer from rmail-buffer.
8675 If you say no to "replace original", the decrypt is in the
8676 view buffer. If you say yes, the decrypt goes into the
8679 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8681 * window.el (display-buffer-window): Rewrite doc-string.
8682 (display-buffer-record-window): New function.
8683 (display-buffer-macro-specifiers)
8684 (display-buffer-even-window-sizes, display-buffer-set-height)
8685 (display-buffer-set-width, display-buffer-in-window)
8686 (display-buffer-reuse-window, display-buffer-split-specifiers)
8687 (display-buffer-side-specifiers, display-buffer-split-window-1)
8688 (display-buffer-split-window, display-buffer-split-atom-window)
8689 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8690 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8691 (display-buffer-other-window-means-other-frame)
8692 (display-buffer-normalize-special)
8693 (display-buffer-normalize-default)
8694 (display-buffer-normalize-argument)
8695 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8696 (display-buffer-normalize-specifiers, display-buffer-frame)
8697 (display-buffer-same-window, display-buffer-same-frame)
8698 (display-buffer-other-window)
8699 (display-buffer-same-frame-other-window)
8700 (display-buffer-other-frame, pop-to-buffer-same-window)
8701 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8702 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8703 (switch-to-buffer-same-frame)
8704 (switch-to-buffer-other-window-same-frame)
8705 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8706 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8707 (display-buffer-alist-set): Remove.
8708 (display-buffer-function, special-display-buffer-names)
8709 (special-display-regexps, special-display-function):
8710 In doc-string refer to display-buffer-window and quit-restore
8712 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8713 (special-display-frame-alist, special-display-popup-frame)
8714 (same-window-buffer-names, same-window-regexps, same-window-p)
8715 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8716 (split-window-preferred-function, split-height-threshold)
8717 (split-width-threshold, window-splittable-p)
8718 (split-window-sensibly, window--try-to-split-window)
8719 (window--frame-usable-p, even-window-heights)
8720 (window--even-window-heights, window--display-buffer-1)
8721 (window--display-buffer-2, display-buffer-other-frame):
8722 Restore old Emacs 23 code, order and doc-strings where applicable.
8723 (display-buffer-default, display-buffer-assq-regexp): New functions.
8724 (display-buffer-alist): Rewrite doc-string.
8725 (display-buffer-default-action)
8726 (display-buffer-overriding-action): New variables.
8727 (display-buffer, switch-to-buffer): Rewrite.
8728 (pop-to-buffer): Restore Emacs 23 behavior but use
8729 window-normalize-buffer-to-display.
8730 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8731 Restore Emacs 23 behavior but use
8732 window-normalize-buffer-to-switch-to.
8733 (pop-to-buffer-same-window): Rewrite.
8734 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8735 Rewrite using Emacs 23 options.
8737 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8739 * net/tramp.el (tramp-root-regexp): Remove.
8740 (tramp-completion-file-name-regexp-unified)
8741 (tramp-completion-file-name-regexp-separate)
8742 (tramp-completion-file-name-regexp-url): Don't use leading volume
8743 letter on win32 systems. (Bug#5303, Bug#9311)
8744 (tramp-drop-volume-letter): Simplify definition.
8745 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8747 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8749 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8752 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8754 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8756 2011-08-29 Juri Linkov <juri@jurta.org>
8758 * isearch.el (isearch-done): Don't display message "Mark saved"
8759 when arg `edit' is non-nil to prevent its flicker in the echo area.
8761 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8763 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8764 obsolete packages for deletion.
8766 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8768 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8769 (help-mode): Derive help-mode from special-mode. Don't invoke
8770 view-mode from help-mode.
8771 (help-xref-override-view-map): Remove.
8772 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8773 view-mode is not used anymore.
8775 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8777 * server.el (server-port): Doc fix.
8779 * cus-theme.el (custom-theme-choose-mode): Inherit from
8780 special-mode (Bug#9124).
8781 (custom-theme-choose-mode-map): Add special-mode to parent.
8783 2011-08-28 Alan Mackenzie <acm@muc.de>
8785 * progmodes/cc-fonts.el
8786 (c-make-font-lock-BO-decl-search-function): New function.
8787 (c-basic-matchers-after - "Fontify the clauses after various
8788 keywords"): Extract the three keyword lists for the 3 erroneous
8789 constructs from the list of four, and use the new function above
8790 in place of an old one.
8792 2011-08-28 Deniz Dogan <deniz@dogan.se>
8794 * net/rcirc.el (rcirc-insert-prev-input)
8795 (rcirc-insert-next-input): Remove unused argument.
8797 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8799 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8801 2011-08-27 Alan Mackenzie <acm@muc.de>
8803 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8804 handle function pointer parameters properly.
8806 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8808 * window.el (display-buffer-reuse-window): Fix case where
8809 selected window was reused with non-nil OTHER-WINDOW argument.
8812 2011-08-27 Deniz Dogan <deniz@dogan.se>
8814 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8815 oftc's NickServ messages.
8817 2011-08-27 Glenn Morris <rgm@gnu.org>
8819 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8821 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8823 * emacs-lisp/package.el (package-install): Call package-initialize
8824 if called interactively.
8826 2011-08-26 Leo Liu <sdl.web@gmail.com>
8828 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8830 2011-08-25 Juri Linkov <juri@jurta.org>
8832 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8833 `search-whitespace-regexp' (bug#9364).
8835 2011-08-25 Juri Linkov <juri@jurta.org>
8837 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8838 `regexp-search-ring' to their global values to protect from
8839 updating by `read-from-minibuffer' (bug#9185).
8841 2011-08-25 Juri Linkov <juri@jurta.org>
8843 * textmodes/ispell.el (ispell-command-loop): Add newline
8844 at the end of the "Use option `i'..." line.
8846 2011-08-25 Juri Linkov <juri@jurta.org>
8848 * battery.el (display-battery-mode): If `battery-status-function'
8849 or `battery-mode-line-format' is nil, display the message and set
8850 `display-battery-mode' to nil (bug#9363).
8852 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8854 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8855 bidi-string-mark-left-to-right; they are unnecessary now.
8857 2011-08-25 Deniz Dogan <deniz@dogan.se>
8859 * net/quickurl.el: Documentation typo fixes.
8861 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8863 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8865 2011-08-25 Glenn Morris <rgm@gnu.org>
8867 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8869 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8870 (smtpmail-via-smtp): Handle nil response from smtp.
8872 2011-08-24 Juri Linkov <juri@jurta.org>
8874 * proced.el (proced-marked): Inherit from `error' instead of
8875 `font-lock-warning-face'.
8877 * ibuffer.el (ibuffer-marked-face): Change default face from
8878 `font-lock-warning-face' to `warning'.
8879 (ibuffer-deletion-face): Change default face from
8880 `font-lock-type-face' to `error'.
8882 * battery.el (battery-update): Use the face `error' instead of
8883 `font-lock-warning-face' (bug#6117).
8885 2011-08-24 Juri Linkov <juri@jurta.org>
8887 * faces.el (success): Change face color from "Green3" to
8888 "ForestGreen" on light background (bug#9353).
8890 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8892 * window.el (quit-window): Rename from quit-restore-window.
8893 Use same arglist as old quit-window.
8894 (frame-auto-delete): Doc fix.
8896 * view.el (view-mode-exit): Use quit-window.
8898 2011-08-24 Juri Linkov <juri@jurta.org>
8900 * isearch.el (isearch-ring-adjust1): Start visiting previous
8901 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8902 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8903 for empty search string (when the last search string is reused
8904 automatically) to adjust the isearch ring to the last element and
8905 prepare the correct index for further M-p commands (bug#9185).
8907 2011-08-24 Kenichi Handa <handa@m17n.org>
8909 * international/ucs-normalize.el: If decomposition property of
8910 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8912 (nfd, nfkd): Likewise.
8914 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8916 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8917 from process filters aren't reliably transmitted to the surrounding
8918 accept-process-output.
8919 (mpc-proc-check): New function.
8920 (mpc-proc-sync): Use it (bug#8293)
8922 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8924 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8925 Add compatibility functions (bug#9313).
8927 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8929 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8931 * international/uni-bidi.el: Regenerate.
8933 2011-08-23 Kenichi Handa <handa@m17n.org>
8935 * international/charprop.el:
8936 * international/uni-bidi.el:
8937 * international/uni-category.el:
8938 * international/uni-combining.el:
8939 * international/uni-comment.el:
8940 * international/uni-decimal.el:
8941 * international/uni-decomposition.el:
8942 * international/uni-digit.el:
8943 * international/uni-lowercase.el:
8944 * international/uni-mirrored.el:
8945 * international/uni-name.el:
8946 * international/uni-numeric.el:
8947 * international/uni-old-name.el:
8948 * international/uni-titlecase.el:
8949 * international/uni-uppercase.el: Regenerate.
8951 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8953 * help.el (help-window-setup): Fix message displayed when other
8954 window is reused. (Bug#9341)
8956 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8958 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8959 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8961 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8963 * shell.el (shell-parse-pcomplete-arguments): New function.
8964 (shell-completion-vars): Use it instead (bug#9160).
8966 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8968 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8969 strings and comments (bug#9333).
8971 * emacs-lisp/debug.el (debug-arglist): New function.
8972 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8973 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8975 2011-08-22 Juri Linkov <juri@jurta.org>
8977 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8978 Revert regexp that highlights output switches to its old
8979 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8981 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8982 to check for empty output (bug#9226).
8984 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8986 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8987 symbol-constituent as the default, as that stops font-lock from
8988 working properly (Bug#8843).
8990 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8992 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8993 `coding-system-for-*' around the process open call to avoid
8994 auth-source side effects.
8995 (smtpmail-try-auth-methods): Expand the secret password.
8996 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8999 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9001 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9003 * emacs-lisp/find-func.el (find-function-noselect): New arg
9006 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9007 signal an error for built-in functions (Bug#6664).
9009 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9011 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9012 (smtpmail-try-auth-methods): Use it.
9014 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9016 * font-lock.el (font-lock-fontify-region)
9017 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9018 (font-lock-default-unfontify-buffer)
9019 (font-lock-default-fontify-region)
9020 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9022 * progmodes/compile.el (compilation-error-properties):
9023 Fix confusion between file struct and message struct (Bug#9319).
9024 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9027 * net/browse-url.el (browse-url-firefox): Don't call
9028 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9030 2011-08-20 Glenn Morris <rgm@gnu.org>
9032 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9034 * tutorial.el (tutorial--default-keys): Update some default bindings.
9036 * files.el (hack-local-variables): Fully ignore case for "mode:".
9038 2011-08-20 Alan Mackenzie <acm@muc.de>
9040 Resolve invalid use of a regexp in regexp-opt.
9042 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9043 detection for a java annotation.
9045 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9046 detection for a java annotation.
9048 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9050 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9052 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9054 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9057 2011-08-20 Alan Mackenzie <acm@muc.de>
9059 Fontify CPP expressions correctly when starting in the middle of
9060 such a construct. Mainly for when jit-lock etc. starts a chunk
9063 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9065 (c-make-font-lock-search-form): New function, extracted from
9066 c-make-font-lock-search-function.
9067 (c-make-font-lock-search-function): Use the above function.
9068 (c-make-font-lock-context-search-function): New function.
9069 (c-cpp-matchers): Enhance the preprocessor expression case with
9071 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9072 which takes an expression.
9074 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9076 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9078 * window.el (display-buffer-reuse-window)
9079 (display-buffer-pop-up-window): Don't reuse or split a side
9082 2011-08-19 Glenn Morris <rgm@gnu.org>
9084 * files.el (hack-local-variables-prop-line, hack-local-variables):
9085 Downcase "Mode:". (Bug#9331)
9087 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9089 * international/characters.el: Add L and R categories.
9091 * subr.el (bidi-string-mark-left-to-right): Rename from
9092 string-mark-left-to-right. Use category search.
9094 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9096 2011-08-18 Juri Linkov <juri@jurta.org>
9098 * faces.el (error, warning, success): New faces with definitions
9099 copied from old default values of `font-lock-warning-face',
9100 `compilation-warning', `compilation-info' (bug#6117).
9102 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9104 * progmodes/compile.el (compilation-error): Inherit from `error'.
9105 (compilation-warning): Inherit from `warning'.
9106 (compilation-info): Inherit from `success'.
9108 * dired.el (dired-marked): Inherit from `warning'.
9109 (dired-flagged): Inherit from `error'.
9111 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9113 * mail/smtpmail.el (auth-source): Require to avoid problems with
9114 binding variables (bug#9298). Also clean up some unused
9117 * net/network-stream.el (network-stream-open-starttls):
9118 Support using starttls.el without using gnutls-cli.
9120 2011-08-17 Juri Linkov <juri@jurta.org>
9122 * progmodes/grep.el (rgrep): Handle the case when
9123 `grep-find-command' is a cons cell (bug#9278).
9125 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9127 * window.el (display-buffer-pop-up-frame): Run frame creation
9128 function with BUFFER current (as special-display-popup-frame
9129 does). Reported by Drew Adams.
9131 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9133 * epa-mail.el: Simplify GnuPG group expansion using
9135 (epa-mail-group-alist, epa-mail-group-modtime)
9136 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9137 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9138 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9141 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9143 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9145 2011-08-16 Alan Mackenzie <acm@muc.de>
9147 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9148 Correct, to avoid the inside of macros.
9150 2011-08-16 Richard Stallman <rms@gnu.org>
9152 * epa-mail.el: Handle GnuPG group definitions.
9153 (epa-mail-group-alist, epa-mail-group-modtime)
9154 (epa-mail-gnupg-conf-file): New variables.
9155 (epa-mail-parse-groups, epa-mail-sync-groups)
9156 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9157 (epa-mail-expand-recipients): New functions.
9158 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9160 * mail/rmail.el (rmail-epa-decrypt): New command.
9162 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9163 Don't bind buffer-read-only, just inhibit-read-only.
9164 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9165 (epa-decrypt-armor-in-region): Make error message clearer.
9167 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9169 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9170 and "a2b" to "ab" for `prefix'.
9172 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9174 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9176 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9177 Fourquet (Bug#8804).
9179 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9181 * startup.el (argi): Declare as global variable (bug#9275).
9183 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9185 * subr.el (string-mark-left-to-right): Search the entire string
9186 for RTL script, not just the terminating character. Doc fix.
9188 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9190 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9192 (js--regexp-literal, js-syntax-propertize-function): Remove.
9193 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9194 (js-mode-map): Don't rebind electric keys.
9195 (js-insert-and-indent): Remove.
9196 (js-mode): Setup electric-layout and electric-indent instead.
9198 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9200 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9202 * epa.el (epa-progress-callback-function): Fix the logic of
9203 displaying progress.
9204 * epa-file.el (epa-file-insert-file-contents): Make progress
9205 display more user-friendly.
9206 (epa-file-write-region): Ditto.
9208 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
9210 * subr.el (string-mark-left-to-right): New function.
9212 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9213 Use string-mark-left-to-right.
9214 (list-buffers-noselect): Caller changed.
9216 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9217 Use string-mark-left-to-right.
9218 (tabulated-list-print): Recenter after moving point.
9220 2011-08-10 Juri Linkov <juri@jurta.org>
9222 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9223 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9224 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9226 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9228 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9231 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9233 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9234 character. (Bug#6594)
9236 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9238 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9239 (image-dired--with-db-file): New macro.
9240 (image-dired-write-tags, image-dired-remove-tag)
9241 (image-dired-create-gallery-lists, image-dired-write-comments)
9242 (image-dired-get-comment, image-dired-mark-tagged-files)
9243 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9244 (image-dired-gallery-generate): Use insert-file-contents.
9246 * time.el (display-time-world-list, display-time-world-display):
9247 * time-stamp.el (time-stamp-string):
9248 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9249 set-time-zone-rule (Bug#7337).
9251 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9253 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9254 (epg-error-to-string, epg-errors-to-string): New function.
9255 (epg-wait-for-completion): Reverse errors list.
9256 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9257 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9258 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9259 (epg-sign-keys, epg-generate-key-from-file)
9260 (epg-generate-key-from-string): Format errors by using
9261 epg-errors-to-string (bug#9255).
9262 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9264 2011-08-07 Juri Linkov <juri@jurta.org>
9266 * faces.el (list-faces-display): Remove extra angle bracket
9267 from `help-mode-map'.
9269 * info.el (Info-history-toc-nodes): Doc fix.
9271 * longlines.el (longlines-mode): Doc fix.
9273 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9275 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9276 of statements and in a few more cases (bug#9183).
9278 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9280 (cl-transform-lambda): Use them (bug#9239).
9282 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9284 * window.el (display-buffer-same-window)
9285 (display-buffer-same-frame, display-buffer-other-window)
9286 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9287 (pop-to-buffer-other-window)
9288 (pop-to-buffer-same-frame-other-window)
9289 (pop-to-buffer-other-frame): Make them defuns.
9290 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9292 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9294 * subr.el (make-composed-keymap): Move from C. Change calling
9295 convention, and improve docstring to bring attention to a subtle point.
9296 * minibuffer.el (completing-read-default): Adjust accordingly.
9298 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9300 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9301 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9303 * net/trampver.el: Update release number.
9305 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9307 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9310 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9312 * mail/sendmail.el (sendmail-query-once): Restore the current
9313 buffer after querying (bug#9074).
9315 * dired.el (dired-flagged): Use different faces for marked and
9316 flagged files (bug#6117).
9318 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9321 * ido.el (ido-mode): Switch off the message if called
9324 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9325 before 587, since it appears that that's more likely to work for
9328 * cus-edit.el (custom-file): When running under emacs -q, always
9329 refuse to save the customizations, even if the .emacs file doesn't
9332 * info.el: Remove the `Info-beginning-of-buffer' function
9335 * net/network-stream.el (network-stream-open-starttls):
9336 Use `starttls-available-p' to see whether starttls.el can be used.
9338 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9340 * window.el (display-buffer-in-window): Don't set dedicated status
9341 of window here (Bug#9215).
9342 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9343 (display-buffer-pop-up-side-window)
9344 (display-buffer-in-side-window): Set dedicated status of window here.
9346 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9348 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9349 before binding generated-autoload-file.
9351 2011-08-01 Deniz Dogan <deniz@dogan.se>
9353 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9355 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9357 Sync with Tramp 2.2.2.
9359 * net/trampver.el: Update release number.
9361 2011-07-30 Juri Linkov <juri@jurta.org>
9363 * dired-aux.el (dired-touch-initial): Remove function.
9364 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9365 current time, and `default' to the last modification time of the
9366 current marked file (bug#6887).
9368 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9370 * simple.el (goto-line): Use string-to-number to provide a
9371 numeric argument to read-number (bug#9163).
9373 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9375 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9376 connection process, it could be nil.
9378 2011-07-27 Leo Liu <sdl.web@gmail.com>
9380 Simplify url handling in rcirc-mode.
9382 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9383 (rcirc-browse-url-at-mouse): Remove.
9384 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9386 2011-07-26 Alan Mackenzie <acm@muc.de>
9388 Fontify bitfield declarations properly.
9390 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9391 (c-symbol-chars): Now exported as a lang variable.
9392 (c-not-primitive-type-keywords): New lang variable.
9394 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9395 QT keyword "more" to prevent "more slots: ...." being spuriously
9396 parsed as a bitfield declaration.
9398 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9399 Refactor and enhance to handle bitfield declarations.
9400 (c-punctuation-in): New function.
9401 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9402 declarations properly.
9404 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9406 * calendar/icalendar.el (icalendar--all-events): Take care of
9407 multiple vcalendars in a single file.
9408 (icalendar--convert-float-to-ical): Checkdoc fixes.
9410 2011-07-25 Deniz Dogan <deniz@dogan.se>
9412 * image.el (insert-image): Clarifying docstring.
9414 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9416 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9417 `tramp-send-command-and-check' if there is no error.
9418 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9420 2011-07-22 Alan Mackenzie <acm@muc.de>
9422 Prevent cc-langs.elc being loaded at run time.
9424 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9427 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9428 "(require 'cc-langs)". Quote a form so it will evaluate at
9429 (cc-mode's) compilation time.
9431 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9433 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9436 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9438 * window.el (display-buffer-pop-up-window)
9439 (display-buffer-pop-up-side-window)
9440 (display-buffer-in-side-window): Call display-buffer-set-height
9441 and display-buffer-set-width after setting the new window's
9442 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9444 2011-07-20 Sam Steingold <sds@gnu.org>
9446 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9447 (etags-tags-included-tables): Call `convert-standard-filename' on
9448 the file names contained in TAGS so that windows Emacs can handle
9449 TAGS files created by cygwin ctags.
9451 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9453 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9454 which apparently didn't work.
9456 2011-07-19 Roland Winkler <winkler@gnu.org>
9458 * proced.el (proced-send-signal): For *Marked Processes* buffer
9459 put point at beginning of buffer.
9461 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9463 * proced.el (proced-format): Make header lines align with the text
9466 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9468 * view.el (view-buffer): Allow running in `special' modes if we're
9469 visiting a file (bug#8615).
9471 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9473 * window.el (display-buffer-alist-of-strings-p)
9474 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9476 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9479 2011-07-18 Alan Mackenzie <acm@muc.de>
9481 Fontify declarators properly when, e.g., a jit-lock chunk begins
9482 inside a declaration.
9484 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9486 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9488 (c-complex-decl-matchers): Insert reference to
9489 c-font-lock-enclosing-decls.
9491 * progmodes/cc-engine.el (c-backward-single-comment):
9492 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9493 to nil around calls to (forward-comment -1).
9495 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9497 * image.el (put-image): Doc typo fix.
9499 * progmodes/etags.el (tags-search): Doc typo fix.
9501 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9502 password if we get errors 550 to 554.
9504 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9506 * net/gnutls.el (gnutls-log-level): Remove.
9508 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9509 indentation character (bug#6380).
9511 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9513 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9514 to clarify what the problem is (bug#4291).
9516 * simple.el (current-kill): Clarify what
9517 `interprogram-paste-function' does (bug#7500).
9518 (auto-fill-mode): Document `auto-fill-function' in relation to
9519 `auto-fill-mode' (bug#2470).
9521 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9523 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9524 method if slot is read-only (bug#9035).
9526 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9528 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9529 * window.el (pop-to-buffer): Select window used even if it was
9530 selected before, see discussion of (Bug#8615), (Bug#6954).
9531 Pass argument NORECORD on to select-frame-set-input-focus.
9533 2011-07-15 Glenn Morris <rgm@gnu.org>
9535 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9538 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9540 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9541 (gnutls-negotiate): Use it.
9543 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9545 * net/gnutls.el (gnutls-negotiate):
9546 Upcase `gnutls-algorithm-priority'.
9548 2011-07-15 Glenn Morris <rgm@gnu.org>
9550 * jka-compr.el (jka-compr-verbose): Move from here...
9551 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9552 Add missing :version tag.
9553 * info.el: No need to require jka-compr when compiling.
9555 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9557 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9558 (gnutls-negotiate): Use it.
9560 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9562 * info.el (Info-beginning-of-buffer): New command.
9563 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9564 announcing `b' as the key (bug#8325).
9565 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9567 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9569 * international/mule-cmds.el
9570 (describe-specified-language-support): Make the error message
9573 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9575 * isearch.el (isearch-barrier): Add a doc string, since it's
9576 mentioned in a function doc string (bug#8678).
9578 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9580 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9581 buffer argument (Bug#9083) and self-identifying label argument.
9583 2011-07-15 Glenn Morris <rgm@gnu.org>
9585 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9587 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9589 * man.el (Man-fontify-manpage): Fix message when formatting the
9590 man page (bug#7929).
9592 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9594 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9595 argument LRM; if non-nil, append an invisible LRM character to the
9597 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9598 last argument non-nil, when formatting buffer names.
9599 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9600 paragraph direction.
9602 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9604 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9605 the man page name (bug#7929).
9607 * image.el (put-image): Mention the `put-image' overlay property
9610 * scroll-bar.el (set-scroll-bar-mode): Mention that
9611 `scroll-bar-mode' lists the values (bug#7772).
9613 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9616 * rect.el (apply-on-rectangle): Return the point after the last
9618 (string-rectangle): Go to the point after the last operation
9621 * printing.el (pr-toggle-region): Clarify the documentation
9622 slightly (bug#7493).
9624 * time.el (display-time-update):
9625 Allow `display-time-mail-function' to return nil (bug#7158).
9626 Fix suggested by Detlev Zundel.
9628 * vc/diff.el (diff): Clarify the order the file names are read
9631 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9632 the doc string (bug#7015).
9634 * font-lock.el (font-lock-maximum-decoration): Mention what
9635 numeric levels mean (bug#6935).
9637 * startup.el (initial-buffer-choice): Don't mention the `none'
9638 selection, which is against policy.
9640 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9642 * window.el (display-buffer-normalize-special):
9643 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9645 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9647 * subr.el (version<, version<=, version=): Mention "-CVS" and
9648 "-12345" alpha version numbers.
9650 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9652 * bindings.el: Add advertised binding for set-mark-command
9655 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9657 * bindings.el (mode-line-other-buffer):
9658 * bookmark.el (bookmark-bmenu-2-window):
9659 * bs.el (bs-cycle-next, bs-cycle-previous):
9660 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9663 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9666 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9668 * follow.el (follow-debug-message, follow-redisplay):
9669 * jka-cmpr-hook.el (with-auto-compression-mode):
9670 Fix typos in docstrings.
9672 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9674 * subr.el (with-silent-modifications): Clarify somewhat what the
9675 macro inhibits (bug#6525).
9677 * simple.el (eval-expression): Note what it does if called
9678 interactively (bug#6495).
9680 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9682 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9683 Use pop-to-buffer buffer-or-name if it is nil.
9685 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9686 Remove switch-to-buffer.
9688 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9690 * files.el (make-directory): Clarify that an error will be raised
9691 if there's an error (bug#6397).
9693 * startup.el (initial-buffer-choice): Add `none' as a choice
9696 * subr.el (add-hook): Clarify section about buffer-local hooks
9699 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9701 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9703 * tabify.el (untabify): Preserve the current column so that point
9704 doesn't move (bug#6032).
9706 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9708 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9709 Rewrite to avoid awkward possessive "s" (bug#5986).
9711 2011-07-13 Glenn Morris <rgm@gnu.org>
9713 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9714 (dired-insert-directory): Give a message the first time
9715 if ls is found not to support --dired.
9717 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9719 * simple.el (toggle-truncate-lines): Clarify what is toggled
9720 (bug#5580). Text by Drew Adams.
9722 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9724 * simple.el (blink-matching-open): Make the error message from the
9725 last change less verbose.
9727 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9729 * font-lock.el (font-lock-comment-face): Use the high contrast
9730 "yellow" color for font-lock-comment-face on low color terminals
9731 using a dark background color (bug#4221).
9733 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9735 * dired.el (dired-insert-set-properties): Make the doc string
9736 reflect what it does now (bug#5325).
9738 * simple.el (blink-matching-open): Say that we were unable to find
9739 the match within the limit, if we're limited (bug#5122).
9741 * international/mule-cmds.el (prefer-coding-system): Add an
9744 * progmodes/etags.el (tags-search): Document `file-list-form'
9747 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9749 * net/browse-url.el (browse-url-default-browser)
9750 (browse-url-browser-function): Make the default browser choice a
9751 bit more logical (bug#4300). Also clean up the doc string.
9753 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9755 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9756 binary endings (bug#4440).
9758 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9760 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9761 which can be pretty annoying (bug#8971).
9763 * jka-compr.el (jka-compr-verbose): New variable, and use
9764 throughout (bug#8971).
9766 * info.el (Info-find-file): Fall back on the installation
9767 directory if we can't find the info node anywhere else.
9769 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9771 * vc/vc.el (vc-revert-file):
9772 Don't set file time-stamp in the past. (Bug#5181)
9774 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9776 * files.el (after-find-file): Give a better error message when
9777 trying to find a symlink that points to a file that doesn't exist
9780 * progmodes/cc-vars.el: Remove (probably) misleading comment
9783 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9785 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9787 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9789 * mouse-sel.el: Hack restoring functionality, while keeping
9790 compatibility with 2010-07-03 changes to mouse selection.
9791 (mouse-sel-primary-overlay): New var.
9792 (mouse-sel-selection-alist): Use it.
9793 (mouse-sel-mode): Doc fix; remove points that are default features
9796 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9798 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9799 Fix previous fix (bug#2490).
9801 2011-07-12 Roland Winkler <winkler@gnu.org>
9803 * textmodes/bibtex.el (bibtex-initialize):
9804 Use pop-to-buffer-same-window.
9805 (bibtex-search-entries): Fix interactive call.
9807 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9809 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9810 Fontise bytecomp Error lines more correctly (bug#2490).
9811 Fix suggested by Johan Bockgård.
9813 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9815 * dired-x.el (dired-guess-default): Use `delete-dups'.
9817 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9819 * dired.el (dired-mark-prompt):
9820 * dired-aux.el (dired-read-shell-command): Doc fix.
9822 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9824 * mail/sendmail.el (sendmail-query-once):
9825 Use `customize-save-variable' unconditionally, now that it works under
9828 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9830 * cus-edit.el (custom-file): Take an optional no-error variable.
9831 (customize-save-variable): Set the variable, and give a warning if
9832 running under "emacs -q".
9834 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9836 * loadhist.el (unload-feature-special-hooks):
9837 Add `auto-coding-functions', `fill-nobreak-predicate' and
9838 `find-directory-functions' (bug#5327).
9840 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9842 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9844 * cus-edit.el (custom-guess-name-alist): -alist variables should
9845 use the `alist' type (bug#3120). Suggested by Drew Adams.
9847 * printing.el: Add documentation to all the `pr-toggle-' commands.
9849 2011-07-11 Leo Liu <sdl.web@gmail.com>
9851 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9852 backends where it makes sense (bug#2623).
9854 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9856 * dired-x.el (dired-guess-default): Remove duplicate shell command
9858 (dired-guess-default): Fix grammar in doc string (bug#2028).
9859 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9861 * subr.el (remove-duplicates): New conveniency function.
9863 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9865 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9868 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9870 * window.el (display-buffer-normalize-default): Don't invert
9871 meaning of even-window-heights. Reported by Eli Zaretskii
9874 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9876 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9878 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9880 * window.el (display-buffer): Fix arguments to
9881 display-buffer-reuse-window in last change.
9883 * faces.el (link): Use a less saturated blue on light backgrounds.
9885 * startup.el (fancy-startup-text, fancy-about-text)
9886 (fancy-startup-tail): Use font-lock faces, for background safety.
9888 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9890 * emulation/viper-cmd.el (viper-change-state-to-vi):
9891 Limit triggering of abbrev expansion (Bug#9038).
9893 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9895 * window.el (display-buffer-default-specifiers): Remove.
9896 (display-buffer-macro-specifiers): Remove default specifiers.
9897 (display-buffer-alist): Default to nil.
9898 (display-buffer-reuse-window): New optional argument other-window.
9899 (display-buffer-pop-up-window): Allow splitting internal
9900 windows. Check whether a live window was created.
9901 (display-buffer-other-window-means-other-frame)
9902 (display-buffer-normalize-arguments): Rename to
9903 display-buffer-normalize-argument and rewrite. Set the
9904 other-window specifier.
9905 (display-buffer-normalize-special): New function.
9906 (display-buffer-normalize-options): Rename to
9907 display-buffer-normalize-default and rewrite.
9908 (display-buffer-normalize-options-inhibit): Remove.
9909 (display-buffer-normalize-specifiers): Rewrite.
9910 (display-buffer): Process other-window specifier and call
9911 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9913 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9914 (display-buffer-alist-set): Don't handle 'unset default values.
9915 (display-buffer-in-window, display-buffer-alist-set):
9916 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9917 <tassilo@member.fsf.org>.
9919 2011-07-09 Leo Liu <sdl.web@gmail.com>
9921 * register.el (insert-register): Restore accidental change on
9922 2011-06-26. (Bug#9028)
9924 2011-07-09 Glenn Morris <rgm@gnu.org>
9926 * subr.el (remq): Handle the empty list. (Bug#9024)
9928 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9930 * mail/sendmail.el (send-mail-function): No longer delay custom
9932 * custom.el (custom-initialize-delay): Doc fix.
9934 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9936 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9938 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9940 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9941 human-friendly prompt.
9943 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9945 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9946 provided by a particular plugin.
9948 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9950 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9951 save customizations (with "emacs -Q"), just set the variable
9952 instead of erroring out.
9954 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9956 2011-07-08 Juri Linkov <juri@jurta.org>
9958 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9959 (archive-zip-update-case): Use 7z if found by `executable-find'.
9960 The order of searching the available programs is the same as in
9961 `archive-zip-extract' (bug#8968).
9963 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9965 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9966 (menu-bar-options-menu): Tweak descriptions.
9968 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9970 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9971 menu items into verb phrases (bug#1421). Also refill to fit under
9974 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9976 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9977 (Info-read-node-name): Doc fix (Bug#1084).
9979 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9980 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9981 (end-of-sexp, beginning-of-sexp)
9982 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9983 (forward-symbol, forward-same-syntax, word-at-point)
9984 (sentence-at-point): Doc fix (Bug#1144).
9986 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9988 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9989 should cover it (bug#1281).
9991 * cus-edit.el (custom-show): Mark as obsolete.
9993 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9994 negotiation fails, then possibly try again with a non-encrypted
9995 connection (bug#9017).
9997 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10000 2011-07-07 Richard Stallman <rms@gnu.org>
10002 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10003 property, and handle its changed format.
10004 Look for the correct line number.
10005 Use file's line contents (but not past first =) to find
10006 correct line in message.
10008 2011-07-07 Kenichi Handa <handa@m17n.org>
10010 * international/characters.el (build-unicode-category-table):
10012 (unicode-category-table): Set it by unicode-property-table-internal.
10014 * international/mule-cmds.el (char-code-property-alist): Move to
10016 (get-char-code-property): Call unicode-property-table-internal to
10017 load a file. Call get-unicode-property-internal where necessary.
10018 (put-char-code-property): Call unicode-property-table-internal to
10019 load a file. Call put-unicode-property-internal where necessary.
10020 put-unicode-property-internal where necessary.
10021 (char-code-property-description):
10022 Call unicode-property-table-internal to load a file.
10024 * international/charprop.el:
10025 * international/uni-bidi.el:
10026 * international/uni-category.el:
10027 * international/uni-combining.el:
10028 * international/uni-comment.el:
10029 * international/uni-decimal.el:
10030 * international/uni-decomposition.el:
10031 * international/uni-digit.el:
10032 * international/uni-lowercase.el:
10033 * international/uni-mirrored.el:
10034 * international/uni-name.el:
10035 * international/uni-numeric.el:
10036 * international/uni-old-name.el:
10037 * international/uni-titlecase.el:
10038 * international/uni-uppercase.el: Regenerate.
10040 * loadup.el: Load international/charprop.el before
10041 international/characters.
10043 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10045 * window.el (next-buffer, previous-buffer): Signal an error if
10046 called from a minibuffer window.
10048 * bindings.el: Revert 2011-07-04 change.
10050 2011-07-06 Richard Stallman <rms@gnu.org>
10052 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10053 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10054 Treat markers like ints.
10055 (rmail-mime-entity): Doc fix.
10057 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10059 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10060 defcustom again for backwards compatibility.
10062 * simple.el (shell-command-on-region): Fill.
10064 * dired-aux.el (dired-kill-line): Add a doc string.
10066 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10067 to "\\sw\\|\\s_" (bug#358).
10069 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10070 (dired-unmark-backward): Ditto.
10071 (dired-flag-backup-files): Ditto.
10073 * dired-x.el (dired-mark-sexp): Ditto.
10075 2011-07-06 Richard Stallman <rms@gnu.org>
10077 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10078 (rmail-mime-entity): New arg TRUNCATED.
10079 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10081 (rmail-mime-save): Warn if entity is truncated.
10082 (rmail-mime-toggle-hidden): Likewise, for showing.
10083 (rmail-mime-process-multipart): Record when an entity is truncated.
10085 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10086 if ENTITY is a string.
10088 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10090 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10091 of faces when `M-C-x'-ing their definitions (bug#8378).
10092 Also clean up the code slightly.
10094 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10095 because that makes the colors go away.
10097 * mail/sendmail.el (send-mail-function): Change the default to
10098 `sendmail-query-once'.
10099 (sendmail-query-once): Add an autoload cookie.
10101 * net/network-stream.el (network-stream-open-starttls): Try using
10102 a plain connection even if the server offered STARTTLS, and we
10103 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10104 capability. This should make smtpmail.el work in slightly more
10107 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10109 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10111 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10113 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10115 * progmodes/sql.el: Version 3.0
10116 (sql-product-alist): Add product :completion-object,
10117 :completion-column, and :statement attributes.
10118 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10119 (sql-mode-syntax-table): Mark all punctuation.
10120 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10122 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10123 (sql-mode-oracle-font-lock-keywords): Improve.
10124 (sql-oracle-show-reserved-words): New function for development.
10125 (sql-product-font-lock): Simplify for source code buffers.
10126 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10128 (sql-highlight-product): Set product specific syntax table.
10129 (sql-mode-map): Add statement movement functions.
10130 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10132 (sql-statement-regexp, sql-beginning-of-statement)
10133 (sql-end-of-statement, sql-signum): New functions.
10134 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10135 (sql-show-sqli-buffer): Bug fix.
10136 (sql-interactive-mode): Store connection data as buffer local.
10137 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10138 with sql-interactive-mode.
10139 (sql-save-connection): Save buffer local settings.
10140 (sql-connection-menu-filter): Change menu entry name.
10141 (sql-product-interactive): Bug fix.
10142 (sql-preoutput-hold): New variable.
10143 (sql-interactive-remove-continuation-prompt): Bug fixes.
10144 (sql-debug-redirect): New variable.
10145 (sql-str-literal): New function.
10146 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10148 (sql-oracle-save-settings, sql-oracle-restore-settings)
10149 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10150 (sql-completion-object, sql-completion-column)
10151 (sql-completion-sqlbuf): New variables.
10152 (sql-build-completions-1, sql-build-completions)
10153 (sql-try-completion): New functions.
10154 (sql-read-table-name): Use them.
10155 (sql-contains-names): New buffer local variable.
10156 (sql-list-all, sql-list-table): Use it.
10157 (sql-oracle-completion-types): New variable.
10158 (sql-oracle-completion-object, sql-sqlite-completion-object)
10159 (sql-postgres-completion-object): New functions.
10161 2011-07-06 Glenn Morris <rgm@gnu.org>
10163 * window.el (pop-to-buffer): Doc fix.
10165 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10167 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10169 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10171 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10173 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10175 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10177 * button.el (button): Inherit from link face. Suggested by Dan
10180 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10182 * progmodes/gdb-mi.el: Fit in 80 columns.
10183 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10186 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10187 if imenu is simply not configured (bug#8941).
10189 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10191 * allout.el (allout-post-undo-hook): New allout outline-change
10192 event hook to signal undo activity.
10193 (allout-post-command-business): Run allout-post-undo-hook if an
10194 undo just occurred.
10195 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10196 * allout-widgets.el (allout-widgets-after-undo-function):
10197 Ensure the integrity of the current item's decoration after it has been
10198 in the vicinity of an undo.
10199 (allout-widgets-mode): Include allout-widgets-after-undo-function
10200 on the new allout-post-undo-hook.
10202 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10204 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10205 Let define-derived-mode define it.
10206 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10207 cycles of abbrev-table inheritance (bug#8998).
10209 2011-07-05 Roland Winkler <winkler@gnu.org>
10211 * textmodes/bibtex.el: Add support for biblatex.
10212 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10213 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10214 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10215 (bibtex-entry-alist, bibtex-field-alist): New variables.
10216 (bibtex-entry-field-alist): Obsolete alias for
10217 bibtex-BibTeX-entry-alist.
10218 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10219 (bibtex-set-dialect): New command.
10220 (bibtex-entry-type, bibtex-entry-head)
10221 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10222 Bind via bibtex-set-dialect.
10223 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10224 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10225 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10226 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10227 Define via bibtex-set-dialect.
10228 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10229 Obey bibtex-no-opt-remove-re.
10230 (bibtex-vec-push, bibtex-vec-incr): New functions.
10231 (bibtex-format-entry, bibtex-field-list)
10232 (bibtex-print-help-message, bibtex-validate)
10233 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10235 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10237 * progmodes/compile.el (compilation-goto-locus):
10238 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10239 * bs.el (bs-cycle-next, bs-cycle-previous):
10240 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10241 * bindings.el (mode-line-other-buffer):
10242 * autoinsert.el (auto-insert):
10243 * arc-mode.el (archive-extract):
10244 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10246 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10248 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10249 Fix check of `emacs-lock-unlockable-modes'.
10250 Coerce true values of `emacs-lock--try-unlocking' to t.
10252 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10254 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10255 * emacs-lock.el: New file.
10257 2011-07-05 Julien Danjou <julien@danjou.info>
10259 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10260 than `boundp' to check if face is set.
10262 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10264 * register.el (registerv-make):
10265 * window.el (window-min-height): Fix typos in docstrings.
10267 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10269 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10272 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10274 * server.el (server-execute): Catch quit and call
10275 `server-return-error' to pass the error back to emacsclient and
10276 close the connection (bug#8942).
10278 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10280 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10281 insecure exception for current topic. Also note that auto-saves
10282 are handled differently.
10284 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10285 State variables for tracking auto-save inhibition situation.
10287 (allout-write-contents-hook-handler): Rename from
10288 'allout-write-file-hook-handler', and describe how it depends on
10289 write-contents-functions sensitivity to non-nil value to prevent
10292 (allout-auto-save-hook-handler): Remove. auto-save does not check
10293 this in individual buffers, only in the starting buffer, so this
10294 is not the right way for us to inhibit auto-save in a buffer
10295 according to its condition.
10297 (allout-mode): Use new allout-write-contents-hook-handler, and
10298 only with write-contents-functions. Remove auto-save provisions -
10299 they're implemented elsewhere.
10301 (allout-before-change-handler): If undo is in progress, note that
10302 for attention of allout-post-command-business.
10304 (allout-post-command-business): If the command we're following was
10305 an undo, check for change in the status of encrypted items and
10306 adjust auto-save inhibitions accordingly.
10308 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10309 according to whether there are or aren't any plain-text topics
10310 pending encryption.
10312 (allout-inhibit-auto-save-info-for-decryption):
10313 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10314 if there are plain-text topics pending encryption.
10316 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10317 buffer-saved-size and some allout state to not inhibit auto-saves
10318 if there are no longer any plain-text topics pending encryption.
10320 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10321 No longer provide for exemption of the current topic.
10323 2011-07-04 Juri Linkov <juri@jurta.org>
10325 Add 7z operations to delete and save changed members (bug#8968).
10326 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10328 (archive-7z-write-file-member): New function.
10329 (archive-7z-summarize): Fix the number of dashes in the
10332 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10334 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10337 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10339 * bindings.el: Ignore next-buffer and previous-buffer in
10340 minibuffer-local-map.
10342 * font-lock.el (font-lock-builtin-face): Change light background
10343 color to dark slate blue (Bug#6693).
10345 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10347 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10349 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10351 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10352 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10353 Add switch-to-buffer.
10355 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10357 * isearch.el (isearch-search-fun-function): Clarify further the
10358 meaning of the function returned.
10360 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10362 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10364 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10365 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10367 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10368 `tramp-default-remote-path' does not exist.
10369 (tramp-send-command-and-read): New optional argument NOERROR.
10370 (tramp-open-connection-setup-interactive-shell)
10371 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10372 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10373 (tramp-process-sentinel): Flush also process' connection property.
10374 (tramp-sh-handle-start-file-process): Do not set process
10375 sentinel. It is done now ...
10376 (tramp-maybe-open-connection): ... here. (Bug#8929)
10378 2011-07-04 MON KEY <monkey@sandpframing.com>
10380 * play/animate.el (animate-string): Doc fixes and allow changing
10381 the buffer name (bug#5417).
10383 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10385 * play/animate.el (animation-buffer-name): Rename from *animate*.
10387 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10389 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10390 This is simpler and helps future-proof the code.
10391 (timer-until): Use time-subtract and float-time.
10392 (timer--time-less-p): Use time-less-p.
10394 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10396 * type-break.el (timep): Use the value of `float-time' to avoid a
10397 byte-compiler warning.
10399 * server.el (server-eval-and-print): Return any result, even nil.
10401 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10403 * type-break.el: Accept time formats that the builtins accept.
10404 (timep, type-break-time-difference): Accept any format that
10405 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10406 This is simpler and helps future-proof the code.
10407 (type-break-time-difference): Round rather than ignoring
10408 subseconds components.
10410 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10412 * info.el (Info-apropos-matches): Make non-interactive, since it
10413 doesn't seem to do anything useful as a command (bug#8829).
10415 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10417 * frame.el (frame-background-mode, frame-set-background-mode):
10418 Move from faces.el.
10419 (frame-default-terminal-background): New function.
10421 * custom.el (custom-push-theme): Don't record faces in `changed'
10422 theme; this doesn't work correctly for per-frame face settings.
10423 (disable-theme): Use face-set-after-frame-default to reset faces.
10424 (custom--frame-color-default): New function.
10426 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10428 * dired.el (dired-flagging-regexp): Remove unused variable
10431 2011-03-29 Kevin Ryde <user42@zip.com.au>
10433 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10434 `perl-Test2' extend to match possible "fail #N" rep count
10437 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10439 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10440 `smtpmail-via-smtp' now returns the error instead of nil.
10442 * isearch.el (isearch-search-fun-function): Clarify the doc string
10445 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10447 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10448 unnecessary spaces (bug#8987).
10450 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10452 * net/network-stream.el (open-network-stream): Use the
10453 :end-of-capability command thoughout.
10455 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10457 * net/network-stream.el (open-network-stream): Add the
10458 :end-of-capability command parameter, used by pop3.el.
10460 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10462 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10464 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10465 for list)" (bug#6475).
10467 * files.el (file-expand-wildcards): Ignore non-readable
10468 sub-directories while trying to find matches instead of signaling
10469 an error (bug#6297).
10471 * man.el (Man-reference-regexp): Allow matching possible
10472 word-wrapped references (bug#6289).
10474 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10475 for consistency with the other vc buffers (bug#6197).
10476 (vc-checkin): Ditto.
10478 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10480 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10482 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10484 * custom.el (defcustom): Clarify that :set is only used in the
10485 Customize user interface (bug#6089).
10487 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10488 associated with a file, refuse to run instead of erroring out
10491 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10492 the doc string, since it appears that using `fill-column' always
10493 controls the width (bug#7845).
10495 * simple.el (shell-command-on-region): Say where the error output
10496 went if `shell-command-default-error-buffer' is set (bug#6857).
10498 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10500 * allout.el (allout-yank-processing): Adjust cursor position for
10501 backwards-deleted space.
10503 (allout-rebullet-heading): Register changes with
10504 allout-exposure-changed-hook, so the modified topic is properly
10507 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10509 * minibuffer.el (completion-in-region): Document PREDICATE
10512 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10513 of keyword/argument pairs (bug#6904).
10515 * replace.el (multi-occur):
10516 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10518 2011-07-02 Drew Adams <drew.adams@oracle.com>
10520 * dired.el (dired-mark-if): Make the message about whether it's
10521 marking or unmarking clearer (bug#8523).
10523 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10525 * disp-table.el (display-table-print-array): New function.
10526 (describe-display-table): Use it to print the vectors more pretty
10529 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10531 * window.el (window-state-get-1): Don't assign clone numbers.
10532 Add clone-of item to list of window parameters.
10533 (window-state-put-2): Don't process clone numbers.
10534 (display-buffer-alist): Fix doc-string.
10536 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10538 * subr.el (remq): Don't allocate if it's not needed.
10539 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10540 (keymap--merge-bindings): New functions.
10541 (keymap-canonicalize): Use them to refine the canonicalization.
10542 * minibuffer.el (minibuffer-local-completion-map)
10543 (minibuffer-local-must-match-map): Move initialization from C.
10544 (minibuffer-local-filename-completion-map): Move initialization from C;
10545 don't inherit from anything here.
10546 (minibuffer-local-filename-must-match-map): Make obsolete.
10547 (completing-read-default): Use make-composed-keymap to combine
10548 minibuffer-local-filename-completion-map with either
10549 minibuffer-local-must-match-map or
10550 minibuffer-local-filename-completion-map.
10552 2011-07-01 Glenn Morris <rgm@gnu.org>
10554 * type-break.el (type-break-time-sum): Use dolist.
10556 * textmodes/flyspell.el (flyspell-word-search-backward):
10557 Replace CL function.
10559 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10561 * mouse.el (mouse--strip-first-event): New function.
10562 (function-key-map): Use it to map fringe clicks to normal clicks
10565 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10566 (vc-bzr-revision-completion-table): Add support for annotate and date.
10568 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10569 inherit from parent.
10571 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10573 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10574 (dired-show-file-type): Doc fixup (bug#8818).
10576 * dired.el (dired-mode): Fix up the doc string as suggested by
10577 Drew Adams (bug#8817).
10579 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10580 cookie, since the manual says that it should be possible to add
10581 this function to `find-file-hook' (bug#8709).
10583 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10585 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10586 here. Noted Ted Zlatanov as the maintainer.
10587 (cfengine-common-settings, cfengine-common-syntax): New functions
10588 to set up common things between `cfengine-mode' and
10590 (cfengine3-mode): New mode.
10591 (cfengine3-defuns cfengine3-defuns-regex
10592 (cfengine3-class-selector-regex cfengine3-category-regex)
10593 (cfengine3-vartypes cfengine3-font-lock-keywords)
10594 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10595 (cfengine3-indent-line): Add from cfengine3.el.
10597 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10599 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10601 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10603 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10605 * window.el (same-window-buffer-names, same-window-regexps)
10606 (same-window-p, special-display-frame-alist)
10607 (special-display-popup-frame, special-display-function)
10608 (special-display-buffer-names, special-display-regexps)
10609 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10610 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10611 (split-window-preferred-function, split-height-threshold)
10612 (split-width-threshold, even-window-heights)
10613 (display-buffer-mark-dedicated, window-splittable-p)
10614 (split-window-sensibly, window-safely-shrinkable-p):
10616 (display-buffer): Don't spread args with function specifier
10617 because special-display-popup-frame won't like it.
10619 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10621 Time-stamp simplifications and fixes.
10622 These improve accuracy slightly, and future-proof the code
10623 against some potential changes to current-time format.
10625 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10626 by using time-since and float-time.
10628 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10629 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10630 + NNN microseconds".
10632 * type-break.el (type-break-time-sum): Rewrite using time-add.
10634 * play/hanoi.el (hanoi-current-time-float): Remove.
10635 All uses replaced by float-time.
10637 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10638 This yields a more-accurate answer.
10639 (rng-time-to-float): Remove; no longer needed.
10641 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10643 * calendar/timeclock.el (timeclock-seconds-to-time):
10644 Defalias to seconds-to-time, since they're the same thing.
10646 * emacs-lisp/elp.el (elp-elapsed-time):
10647 * emacs-lisp/benchmark.el (benchmark-elapse):
10648 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10650 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10652 * window.el (bury-buffer): Don't iconify the only frame.
10653 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10654 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10656 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10658 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10659 Add mouse-yank-primary.
10661 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10663 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10665 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10667 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10668 (find-library-name): Use it to find relative load names when provided
10669 absolute file name (bug#8803).
10671 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10673 * textmodes/flyspell.el (flyspell-word): Consider words that
10674 differ only in case as potential doublons (bug#5687).
10676 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10677 Remove two rather uninteresting debugging-like messages to make
10678 debbugs.el more silent.
10680 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10681 a password-like phrase.
10683 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10685 * progmodes/cc-guess.el: New file.
10687 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10689 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10690 derived from `c-basic-common-init'.
10692 * progmodes/cc-mode.el (top-level): Require cc-guess.
10693 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10695 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10697 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10699 2011-06-30 Alan Mackenzie <acm@muc.de>
10701 * progmodes/cc-engine.el (c-guess-continued-construct):
10702 Correct the handling of template-args-cont, particularly for when font
10703 lock is disabled. Name this case as "CASE G".
10705 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10707 * allout.el (allout-yank-processing): Fix injection of extra space
10708 between bullet and non-whitespace character in first topic when
10709 pasting, ensuring that the actual spacing in the pasted topic
10710 following the bullet char is preserved. This extra space was
10711 causing pasted encrypted topics to get a decrypted status even
10712 when the content was actually still encrypted. Now the decryption
10713 status from before the paste is preserved.
10715 (allout-flag-region): Set all allout overlays so they evaporate
10716 when reduced to zero length (evanescent), to prevent overlay
10719 2011-06-30 Glenn Morris <rgm@gnu.org>
10721 * w32-fns.el (w32-charset-info-alist): Declare.
10723 * find-dired.el (find-grep-options): Simplify.
10725 * term/ns-win.el (ns-set-resource): Declare.
10727 * ses.el (row, col): Declare dynamic variables honestly.
10729 * textmodes/reftex-parse.el (index-tags): Declare.
10731 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10733 * cus-edit.el (customize-push-and-save): New function.
10735 * files.el (hack-local-variables-confirm): Use it.
10737 * custom.el (load-theme): New arg NO-CONFIRM.
10738 Use customize-push-and-save (Bug#8720).
10739 (custom-enabled-themes): Doc fix.
10741 * cus-theme.el (customize-create-theme)
10742 (custom-theme-merge-theme): Callers to load-theme changed.
10744 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10746 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10747 short URLs have at least one dot in them (bug #7614).
10749 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10750 nil, because using a pty is apparently too slow (bug #895).
10752 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10754 * mail/sendmail.el (sendmail-query-once): New function.
10755 (sendmail-query-once-function): New variable.
10757 2011-06-29 Glenn Morris <rgm@gnu.org>
10759 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10761 * ses.el (top-level): Require cl when compiling.
10762 (ses-set-localvars): Fix error statement.
10763 Call it at compile time to silence a storm of warnings.
10765 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10767 * window.el (normalize-live-buffer): Rename to
10768 window-normalize-buffer.
10769 (normalize-live-frame): Rename to window-normalize-frame.
10770 (normalize-any-window): Rename to window-normalize-any-window.
10771 (normalize-live-window): Rename to window-normalize-live-window.
10772 (make-window-atom): Rename to window-make-atom.
10773 (window-resize-reset): Rename to window--resize-reset.
10774 (window-resize-reset-1): Rename to window--resize-reset-1.
10775 (resize-mini-window): Rename to window--resize-mini-window.
10776 (resize-subwindows-skip-p): Rename to
10777 window--resize-subwindows-skip-p.
10778 (resize-subwindows-normal): Rename to
10779 window--resize-subwindows-normal.
10780 (resize-subwindows): Rename to window--resize-subwindows.
10781 (resize-other-windows): Rename to window--resize-siblings.
10782 (resize-this-window): Rename to window--resize-this-window.
10783 (resize-root-window): Rename to window--resize-root-window.
10784 (resize-root-window-vertically): Rename to
10785 window--resize-root-window-vertically.
10786 (normalize-buffer-to-display): Rename to
10787 window-normalize-buffer-to-display.
10788 (normalize-buffer-to-switch-to): Rename to
10789 window-normalize-buffer-to-switch-to.
10790 Correspondingly update all callers of the functions listed
10792 (display-buffer-alist, display-buffer-normalize-arguments)
10793 (display-buffer-normalize-options, display-buffer)
10794 (display-buffer-alist-set): Use "function" instead of
10797 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10799 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10800 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10801 debbugs.gnu.org. Mention acknowledgment email.
10803 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10805 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10806 buffer multibyteness, since it shouldn't matter.
10808 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10810 * window.el (display-buffer-in-side-window): Handle dedicated
10811 windows as in display-buffer-reuse-window.
10812 (display-buffer-normalize-alist): Use value of override
10814 (display-buffer-normalize-specifiers): Use value of
10815 other-window-means-other-frame specifier.
10816 (display-buffer-alist): Rewrite some texts in widgets.
10817 (display-buffer): Spread arguments when calling function
10818 specified by fun-with-args.
10820 2011-06-28 Deniz Dogan <deniz@dogan.se>
10822 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10825 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10826 selectors (Bug#5732).
10827 (css-proprietary-nmstart-re): Use `regexp-opt'.
10829 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10831 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10832 (eshell-ls-date-format): New defcustom.
10833 (eshell-ls-file): Use it.
10835 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10837 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10839 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10841 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10842 (ange-ftp-make-tmp-name): New arg.
10843 (ange-ftp-file-local-copy): Use it.
10845 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10847 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10848 no-conversion (Bug#8870).
10850 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10852 * window.el (window-right, window-left, window-child)
10853 (window-child-count, window-last-child)
10854 (window-iso-combination-p, walk-window-tree-1)
10855 (window-atom-check-1, window-tree-1, delete-window)
10856 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10857 new naming conventions - window-vchild, window-hchild,
10858 window-next and window-prev are now called window-top-child,
10859 window-left-child, window-next-sibling and window-prev-sibling
10861 (resize-window-reset): Rename to window-resize-reset.
10862 (resize-window-reset-1): Rename to window-resize-reset-1.
10863 (resize-window): Rename to window-resize.
10864 (window-min-height, window-min-width)
10865 (resize-mini-window, resize-this-window, resize-root-window)
10866 (resize-root-window-vertically, adjust-window-trailing-edge)
10867 (enlarge-window, shrink-window, maximize-window)
10868 (minimize-window, delete-window, quit-restore-window)
10869 (split-window, balance-windows, balance-windows-area-adjust)
10870 (balance-windows-area, window-state-put-2)
10871 (display-buffer-even-window-sizes, display-buffer-set-height)
10872 (display-buffer-set-width, set-window-text-height)
10873 (fit-window-to-buffer): Rename all "resize-window" prefixed
10874 calls to use the "window-resize" prefix convention.
10875 (display-buffer-alist): Fix symbol for label specifier.
10876 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10877 corresponding specifier.
10878 Reported by Juanma Barranquero <lekktu@gmail.com>.
10880 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10882 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10884 (ses-call-printer): Does not pass an empty string to formatter when the
10885 cell is empty to keep from barking printer Calc math-format-value.
10887 2011-06-27 Richard Stallman <rms@gnu.org>
10889 * battery.el (battery-mode-line-limit): New variable.
10890 (battery-update): Handle it.
10892 * mail/rmailmm.el (rmail-mime-process-multipart):
10893 Handle truncated messages.
10895 2011-06-27 Glenn Morris <rgm@gnu.org>
10897 * progmodes/flymake.el (flymake-err-line-patterns):
10898 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10900 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10902 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10903 (ses--clean-!, ses--clean-_): New functions.
10904 (ses-range): Add configurability of readout order, and conversion
10907 * ses.el (ses-repair-cell-reference-all): New function.
10908 (ses-cell-symbol): Set macro as safe, so that it can be used in
10911 * ses.el: Update cycle detection algorithm.
10912 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10913 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10914 (ses-set-localvars): New function.
10915 (ses-make-cell): Add property-list as a cell element.
10916 (ses-cell-property-get-fun, ses-cell-property-get)
10917 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10918 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10920 (ses-cell-property-set, ses-cell-property-pop)
10921 (ses-cell-property-get-handle): New macro.
10922 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10923 New aliases, used for code readability.
10924 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10926 (ses-self-reference-early-detection): New defcustom.
10927 (ses-formula-references): Robustify against self-referring cells.
10928 (ses-mode): Use ses-set-localvars.
10929 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10930 before lauching the update processing.
10931 (ses-initialize-Dijkstra-attempt): New function.
10932 (ses-recalculate-cell): Update for cycle detection based on
10933 Dijkstra algorithm.
10935 * ses.el: Fix commenting and indenting convention.
10937 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10939 * bs.el (bs-cycle-next): Complete last change.
10941 2011-06-27 Drew Adams <drew.adams@oracle.com>
10943 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10945 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10947 * net/network-stream.el (network-stream-open-starttls):
10948 Don't re-get capabilities unless we've reestablished connection.
10949 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10951 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10952 to binary to possibly avoid line encoding issues on Windows (among
10955 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10957 * net/network-stream.el (open-network-stream): Return an :error
10958 saying what the problem was, if possible.
10960 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10963 * net/network-stream.el (network-stream-open-starttls): If we
10964 wanted to use STARTTLS, and the server offered it, but we weren't
10965 able to because we had no STARTTLS support, then close the connection.
10966 (open-network-stream): Return an :error element, if present.
10968 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10970 * hl-line.el (hl-line-sticky-flag): Doc fix.
10971 (global-hl-line-sticky-flag): New option (Bug#8323).
10972 (global-hl-line-highlight): Obey it.
10974 * vc/vc.el (vc-revert-show-diff): Default to t.
10976 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10978 * allout-widgets.el (allout-widgets-post-command-business):
10979 Stop decorating intermediate isearch matches. They're not being
10980 undecorated when an isearch is continued past, and isearch
10981 automatically collapses them. This leads to "widget leaks", where
10982 decorated items accumulate in collapsed areas. Lines with lots of
10983 hidden widgets can slow down cursor travel, substantially.
10984 Too much complicated machinery would be needed to ensure undecoration,
10985 so we're doing without this nicety.
10987 (allout-widgets-tally-string): Don't try to do a hash-table-count
10988 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10989 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10990 *Messages* when allout-widgets-maintain-tally is t.
10992 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10994 * window.el (display-buffer-normalize-argument): Rename to
10995 display-buffer-normalize-arguments. Handle special meaning of
10996 LABEL argument. Respect special-display-function when popping up
10997 a new frame. Fix code searching for a window showing the buffer
10999 (display-buffer-normalize-specifiers):
11000 Call display-buffer-normalize-arguments.
11001 (display-buffer-in-window): Don't undedicate the window if its
11002 buffer remains the same.
11003 Reported by Drew Adams <drew.adams@oracle.com>.
11004 (display-buffer-alist): Add choice for same-window macro
11006 (display-buffer): Mention special meaning of LABEL argument in
11007 doc-string. Fix quoting. Don't pop up a new frame even as
11010 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11012 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11013 avoid deleting the current window in some cases (bug#8911).
11015 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11017 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11020 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11022 * net/network-stream.el (network-stream-open-starttls):
11023 Use built-in TLS support if `gnutls-available-p' is true.
11024 (network-stream-open-tls): Ditto.
11026 2011-06-26 Leo Liu <sdl.web@gmail.com>
11028 * register.el (registerv): New struct.
11029 (registerv-make): New function.
11030 (jump-to-register, describe-register-1, insert-register):
11031 Support the jump-func, print-func and insert-func slot of a registerv
11034 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11036 * vc/vc.el (vc-revert-show-diff): New defcustom.
11037 (vc-diff-internal): New arg specifying diff buffer.
11038 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11039 reuse an existing *vc-diff* buffer (Bug#8927).
11041 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11043 2011-06-26 Glenn Morris <rgm@gnu.org>
11045 * progmodes/f90.el (f90-critical-indent): New option.
11046 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11047 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11048 (f90-mode): Doc fix.
11049 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11050 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11051 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11052 (f90-match-end): Handle block, critical.
11054 2011-06-25 Glenn Morris <rgm@gnu.org>
11056 * calendar/diary-lib.el (diary-included-files): Doc fix.
11057 (diary-include-files): New function, extracted from
11058 diary-include-other-diary-files and diary-mark-included-diary-files.
11059 (diary-include-other-diary-files, diary-mark-included-diary-files):
11060 Just call diary-include-files.
11061 (diary-mark-entries): Reset diary-included-files on first call.
11063 * calendar/diary-lib.el (diary-mark-entries)
11064 (diary-mark-included-diary-files):
11065 Visit included diary-files in temp buffers.
11067 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11068 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11069 (f90-start-block-re, f90-imenu-generic-expression)
11070 (f90-looking-at-program-block-start, f90-no-block-limit):
11071 Add support for submodules.
11073 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11074 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11076 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11078 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11079 buffer-file-type before setting its value, to avoid disastrous
11080 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11082 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11084 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11086 * ses.el (ses-unload-function):
11087 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11089 * proced.el (proced-unload-function):
11090 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11092 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11094 * server.el (server-create-window-system-frame): Add parameters arg.
11095 (server-process-filter): Doc fix. Handle frame-parameters.
11097 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11099 Fix bug#8730, bug#8781.
11101 * loadhist.el (unload--set-major-mode): New function.
11102 (unload-feature): Use it.
11104 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11105 (python-unload-function): New function.
11107 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11109 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11111 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11113 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11114 the candidates list.
11116 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11118 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11120 2011-06-23 Richard Stallman <rms@gnu.org>
11122 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11123 (rmail-variables): Set next-error-move-function.
11124 (rmail-what-message): Take argument POS.
11125 (rmail-next-error-move): New function.
11127 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11129 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11130 messages for adjacent non-terminals.
11132 2011-06-23 Richard Stallman <rms@gnu.org>
11134 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11135 (rmail-show-message-1): Preserve buffer modified flag.
11136 (rmail-start-mail): Don't specify use of rmail-mail-return;
11137 that's done by mail-bury now.
11138 (rmail-mail-return): Handle arg NEWBUF.
11140 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11142 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11145 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11147 * window.el (get-lru-window, get-mru-window)
11148 (get-largest-window): Never return a minibuffer window.
11149 (display-buffer-pop-up-window): Fix a bug that could lead to
11150 reusing the minibuffer window.
11151 (display-buffer): Pass original specifier argument to
11152 display-buffer-function instead of the normalized one.
11153 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11155 2011-06-22 Leo Liu <sdl.web@gmail.com>
11157 * minibuffer.el (completing-read-function)
11158 (completing-read-default): Move from minibuf.c
11160 2011-06-22 Richard Stallman <rms@gnu.org>
11162 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11163 to Rmail even if not started by a special Rmail command.
11165 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11166 Copy the buffer currently showing just one message.
11168 2011-06-22 Roland Winkler <winkler@gnu.org>
11170 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11171 (bibtex-clean-entry): First delete the old key so that a
11172 customized algorithm for generating the new key does not get
11173 confused by the old key.
11174 (bibtex-url): Obey regexp of first step.
11175 (bibtex-search-entries): Do not use add-to-list with local
11178 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11180 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11181 stored a user name, then query for the password first, instead of
11182 waiting for SMTP to give an error message and the trying again.
11184 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11186 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11187 BUFFER in call-process.
11189 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11191 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11193 (smtpmail-try-auth-methods): Require user name and password from
11196 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11198 * window.el (display-buffer-default-specifiers)
11199 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11200 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11201 (split-window): Normalize SIDE argument (Bug#8916).
11203 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11204 (special-display-frame-alist, special-display-popup-frame):
11205 Remove duplicate declarations. These are now in window.el.
11207 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11209 * mail/smtpmail.el (smtpmail-via-smtp):
11210 Set :use-starttls-if-possible so that we always use STARTTLS if the
11211 server supports it. SMTP servers that support STARTTLS commonly
11214 * net/network-stream.el (network-stream-open-starttls): Support
11215 upgrading to STARTTLS always, even if we don't have built-in support.
11216 (open-network-stream): Add the :always-query-capabilities keyword.
11218 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11219 upgrades with `open-network-stream', and rely solely on
11220 auth-source for all credentials. Big changes throughout the file,
11222 (smtpmail-auth-credentials): Remove.
11223 (smtpmail-starttls-credentials): Remove.
11224 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11227 * net/network-stream.el (network-stream-open-starttls):
11228 Provide support for client certificates both for external and built-in
11230 (auth-source): Require.
11231 (open-network-stream): Document the :client-certificate keyword.
11232 (network-stream-certificate): Change cert-cert to cert and
11235 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
11237 * net/tramp-cache.el (top): Don't load the persistency file when
11238 "emacs -Q" has been called.
11240 2011-06-21 Tim Harper <timcharper@gmail.com>
11242 * term/ns-win.el (ns-initialize-window-system):
11243 Set application-specific `ApplePressAndHoldEnabled' system
11244 resource to NO as it is not yet supported by the NS port.
11246 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11248 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11249 (list-dynamic-libraries): ...not here.
11251 2011-06-21 Leo Liu <sdl.web@gmail.com>
11253 * subr.el (sha1): Implement sha1 using secure-hash.
11255 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11257 * window.el (display-buffer-alist): In default value do not
11258 enforce searching a window on any but the selected frame.
11259 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11260 (display-buffer-select-window): Remove function.
11261 (display-buffer-in-window): When a window on another frame gets
11262 reused, do not select it any more but just raise its frame if
11263 necessary (Bug#8851) and (Bug#8856).
11264 (display-buffer-normalize-options): Handle pop-up-frames related
11265 options more faithfully.
11266 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11267 window if it is on another frame.
11268 (display-buffer-alist, display-buffer-default-specifiers):
11269 Don't make new frame unsplittable by default.
11270 (display-buffer-normalize-argument): Fix doc-string typo and use
11271 'same-frame-other-window instead of 'other-window when associating
11272 with display-buffer-macro-specifiers.
11274 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11276 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11278 (5x5-mode-map, 5x5-mode-menu): Bind them.
11279 (5x5-draw-grid): Tweak the solver's rendering.
11281 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11283 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11284 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11286 2011-06-21 Drew Adams <drew.adams@oracle.com>
11288 * menu-bar.el: Use function variable instead of switch-to-buffer.
11289 (menu-bar-select-buffer-function): New variable.
11290 (menu-bar-update-buffers): Use it (bug#8876).
11292 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11294 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11297 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11299 * x-dnd.el (x-dnd-version-from-flags)
11300 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11301 and long as number (Bug#8899).
11302 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11304 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11306 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11307 (completion-try-completion, completion-all-completions): Compute the
11308 metadata argument if it's missing; make it optional (bug#8795).
11310 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11311 (widget-complete): Use new :completion-function property.
11312 (widget-completions-at-point): New function.
11313 (default): Use :completion-function instead of :complete.
11314 (widget-default-completions): Rename from widget-default-complete;
11316 (widget-string-complete, widget-file-complete, widget-color-complete):
11318 (file, symbol, function, variable, coding-system, color):
11319 * international/mule-cmds.el (default-input-method, charset)
11320 (language-info-custom-alist):
11321 * cus-edit.el (face): Use new property :completions.
11323 * progmodes/pascal.el (pascal-completions-at-point): New function.
11324 (pascal-mode): Use it.
11325 (pascal-mode-map): Use completion-at-point.
11326 (pascal-toggle-completions): Make obsolete.
11327 (pascal-complete-word, pascal-show-completions):
11328 * progmodes/octave-mod.el (octave-complete-symbol):
11329 Redefine as obsolete alias.
11330 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11331 Signal absence of completion info for old Octave,
11332 (inferior-octave-complete): Redefine as obsolete alias.
11333 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11334 (meta-completions-at-point): Rename from meta-complete-symbol and
11335 adapt it for use on completion-at-point-functions.
11336 (meta-common-mode): Use it.
11337 (meta-looking-at-backward, meta-match-buffer): Remove.
11338 (meta-complete-symbol): Redefine as obsolete alias.
11339 (meta-common-mode-map): Use completion-at-point.
11340 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11341 (makefile-mode-map): Use completion-at-point.
11342 (makefile-completions-at-point): Rename from makefile-complete and
11343 adapt it for use on completion-at-point-functions.
11344 (makefile-mode): Use it.
11345 (makefile-complete): Redefine as obsolete alias.
11347 2011-06-20 Deniz Dogan <deniz@dogan.se>
11349 * net/rcirc.el: Delete trailing whitespaces once and for all.
11351 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11353 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11355 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11357 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11359 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11361 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11363 * window.el (display-buffer-other-window-means-other-frame):
11364 Call display-buffer-normalize-alist.
11365 (display-buffer-normalize-specifiers-1): Rename to
11366 display-buffer-normalize-argument. New argument other-frame.
11368 (display-buffer-normalize-specifiers-2): Rename to
11369 display-buffer-normalize-options.
11370 (display-buffer-normalize-alist-1): New function.
11371 (display-buffer-normalize-specifiers-3): Rename to
11372 display-buffer-normalize-alist.
11373 Call display-buffer-normalize-alist-1.
11374 (display-buffer-normalize-options-inhibit): New variable.
11375 (display-buffer-normalize-specifiers): Rewrite calling
11376 display-buffer-normalize-alist,
11377 display-buffer-normalize-argument, and
11378 display-buffer-normalize-options. Don't call the latter if
11379 display-buffer-normalize-options-inhibit is non-nil.
11380 (frame-auto-delete): New option.
11381 (window-deletable-p): Use frame-auto-delete.
11382 (window-list-no-nils, window-state-ignored-parameters)
11383 (window-state-get-1, window-state-get, window-state-put-list)
11384 (window-state-put-1, window-state-put-2, window-state-put):
11386 (display-buffer-normalize-options): Move special-display-p group
11387 after pop-up-frame group (Bug#8851) and (Bug#8856).
11389 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11391 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11393 (rx-submatch-n): New function.
11396 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11399 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11401 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11403 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11404 anytime existing face settings are present (Bug#8889).
11406 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11407 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11408 Remove unused argument.
11410 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11412 * window.el (display-buffer-default-specifiers):
11413 Remove pop-up-frame. Add pop-up-window-min-height,
11414 pop-up-window-min-width, and another reuse-window specifier
11415 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11416 (display-buffer-normalize-specifiers-2):
11417 Handle split-height-threshold and split-width-threshold also when
11418 pop-up-windows is unset. Add a reuse-window specifier for the
11419 case popping up a new window fails.
11420 (special-display-popup-frame): Remove double quoting.
11421 (display-buffer-normalize-specifiers-1): Fix thinko.
11423 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11425 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11426 according to comint-completion-addsuffix.
11428 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11429 (pcomplete-suffix-list): Mark as obsolete.
11430 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11431 pcomplete-seen in the closure.
11432 (pcomplete-comint-setup): Setup completion-at-point as well.
11433 (pcomplete--entries): New function.
11434 (pcomplete--env-regexp): New var.
11435 (pcomplete-entries): Rewrite to work with partial-completion and
11436 without relying on pcomplete-suffix-list.
11437 (pcomplete-pare-list): Remove, unused.
11439 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11441 * window.el (display-buffer-alist): Set pop-up-window-min-height
11442 and pop-up-window-min-width in default value. Reported by
11443 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11444 other-window-means-other-frame.
11445 (display-buffer-macro-specifiers): Comment out entry for
11446 other-window specifier.
11447 (display-buffer-other-window-means-other-frame): New function.
11448 (display-buffer-normalize-specifiers-1): New arguments
11449 buffer-name and label. Treat other-window case specially.
11450 (display-buffer-normalize-specifiers-2): Treat other-window case
11452 (display-buffer-normalize-specifiers-3): New function.
11453 (display-buffer-normalize-specifiers):
11454 Call display-buffer-normalize-specifiers-3.
11456 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11458 * window.el (same-window-p): Fix two typos introduced when
11459 adding with-no-warnings.
11460 (display-buffer-normalize-specifiers-1): Don't check
11461 pop-up-frames for 'unset initialization.
11462 (display-buffer-normalize-specifiers-2): Major rewrite using
11463 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11464 (pop-up-frames, display-buffer-reuse-frames)
11465 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11466 Suggested by David Engster <deng@randomsample.de>.
11467 (even-window-heights): Initialize to 'unset.
11468 (display-buffer-alist-set): Handle new 'unset initializations.
11469 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11472 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11474 * window.el (display-buffer-normalize-specifiers-1):
11475 Respect current value of pop-up-frames for most reasonable values of
11476 second argument of display-buffer (Bug#8865).
11477 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11478 (switch-to-buffer-other-window-same-frame)
11479 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11481 (display-buffer): Don't check noninteractive when calling
11482 display-buffer-pop-up-frame.
11483 (display-buffer-pop-up-frame): Never pop up a frame in
11484 noninteractive mode (Bug#8857).
11485 (enlarge-window, shrink-window): Don't report an error when the
11486 window can't be resized as requested (Bug#8862).
11488 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11490 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11492 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11494 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11496 2011-06-15 Alan Mackenzie <acm@muc.de>
11498 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11499 for declarators, disable knr checking to speed up for normal files.
11500 2: Refactor, replacing a sequence of nested if forms by a cond form.
11502 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11504 * net/network-stream.el (open-network-stream): Add the keyword
11505 :always-query-capabilities for the case where you want to force a
11506 `plain' network connection, but the protocol still requires the
11507 capabilitiy command (i.e., SMTP and EHLO).
11509 * subr.el (process-live-p): Rename from `process-alive-p' for
11510 consistency with other `-live-p' functions.
11512 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11514 * window.el (same-window-buffer-names, same-window-regexps)
11515 (special-display-frame-alist, special-display-popup-frame)
11516 (special-display-function, special-display-buffer-names)
11517 (special-display-regexps, pop-up-frame-alist)
11518 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11519 (pop-up-windows, split-window-preferred-function)
11520 (split-height-threshold, split-width-threshold, even-window-heights)
11521 (display-buffer-mark-dedicated): Don't encourage the use of
11522 display-buffer-alist from Elisp code.
11524 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11526 * progmodes/python.el (python-mode): Derive from prog-mode.
11527 * progmodes/ps-mode.el (ps-mode):
11528 * progmodes/mixal-mode.el (mixal-mode):
11529 * progmodes/cfengine.el (cfengine-mode):
11530 * progmodes/ld-script.el (ld-script-mode): Likewise.
11532 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11534 * window.el (display-buffer-alist): Trim default value to avoid
11535 popping up a new frame (Bug#8857) or reusing an arbitrary window
11537 (display-buffer): Do not fall back on popping up a new frame in
11538 batch mode (Bug#8857).
11540 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11542 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11543 (custom-theme-summary): New function.
11544 (customize-themes): Use it.
11546 2011-06-13 Glenn Morris <rgm@gnu.org>
11548 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11550 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11552 * help.el (help-window): Remove variable.
11553 (help-window-point-marker, temp-buffer-max-height)
11554 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11555 (help-print-return-message): Don't set help-window.
11556 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11557 (help-window-setup-finish): Remove.
11558 (help-window-display-message, help-window-setup)
11559 (with-help-window): Major rewrite based on new
11560 display-buffer-window variable.
11562 * help-mode.el (help-mode-finish): Remove help-window related
11565 * view.el (view-exits-all-viewing-windows): Remove reference to
11566 view-return-to-alist in doc-string.
11567 (view-return-to-alist): Make obsolete.
11568 (view-buffer): Call pop-to-buffer-same-window and remove
11570 (view-buffer-other-window): Call pop-to-buffer-other-window and
11571 simplify code. Ignore second argument.
11572 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11573 simplify code. Ignore second argument.
11574 (view-return-to-alist-update): Make obsolete.
11575 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11576 Rewrite using quit-restore window parameters.
11577 (view-mode-exit): Rename second argument to EXIT-ONLY.
11578 Rewrite using quit-restore-window.
11579 (View-exit, View-exit-and-edit, View-leave, View-quit)
11580 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11581 appropriate arguments.
11582 (view-end-message): Use quit-restore window parameter.
11584 * window.el (display-buffer-function): Rewrite doc-string.
11585 (display-buffer-window, display-buffer-alist): New variables.
11586 (display-buffer-split-specifiers)
11587 (display-buffer-side-specifiers)
11588 (display-buffer-macro-specifiers): New constants.
11589 (display-buffer-even-window-sizes, display-buffer-set-height)
11590 (display-buffer-set-width, display-buffer-select-window)
11591 (display-buffer-in-window, display-buffer-reuse-window)
11592 (display-buffer-split-window-1, display-buffer-split-window)
11593 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11594 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11595 (display-buffer-in-side-window, normalize-buffer-to-display)
11596 (display-buffer-normalize-specifiers-1)
11597 (display-buffer-normalize-specifiers-2)
11598 (display-buffer-normalize-specifiers, display-buffer-frame):
11600 (display-buffer): Major rewrite.
11601 (display-buffer-other-window, display-buffer-other-frame)
11602 (pop-to-buffer, switch-to-buffer-other-window)
11603 (switch-to-buffer-other-frame): Rewrite.
11604 (display-buffer-same-window, display-buffer-same-frame)
11605 (display-buffer-same-frame-other-window)
11606 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11607 (pop-to-buffer-other-window)
11608 (pop-to-buffer-same-frame-other-window)
11609 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11610 (switch-to-buffer-other-window-same-frame): New functions.
11611 (same-window-p, special-display-p): Rewrite disabling warnings.
11613 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11614 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11616 (same-window-buffer-names, same-window-regexps)
11617 (special-display-frame-alist, special-display-popup-frame)
11618 (special-display-function, special-display-buffer-names)
11619 (special-display-regexps, pop-up-frame-alist)
11620 (pop-up-frame-function, split-window-preferred-function)
11621 (split-height-threshold, split-width-threshold)
11622 (even-window-heights): Make obsolete.
11624 2011-06-12 Glenn Morris <rgm@gnu.org>
11626 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11627 Misc simplifications.
11629 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11631 * window.el (window-safely-shrinkable-p): Restore function which
11632 was inadvertently removed in change from 2011-06-11. Declare as
11635 * calendar/calendar.el (calendar-generate-window):
11636 Use window-iso-combined-p instead of combination of one-window-p and
11637 window-safely-shrinkable-p.
11639 2011-06-12 Glenn Morris <rgm@gnu.org>
11641 * progmodes/fortran.el (fortran-mode-syntax-table):
11642 * progmodes/f90.el (f90-mode-syntax-table):
11643 Set % to punctuation. (Bug#8820)
11644 (f90-find-tag-default): Remove, no longer needed.
11646 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11648 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11650 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11652 * image.el (image-animated-p): Return animation delay in seconds.
11653 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11654 (image-animate-timeout): Remove DELAY argument. Don't assume
11655 every subimage has the same delay; get it from image-animated-p.
11656 (image-animate): Caller changed.
11658 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11660 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11661 to ignored backtrace functions.
11663 2011-06-11 Glenn Morris <rgm@gnu.org>
11665 * calendar/appt.el (appt-disp-window-function): Doc fix.
11666 (appt-check): Handle overlapping appointments. (Bug#8337)
11668 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11670 * window.el (window-tree-1, window-tree): New functions, moving
11671 the latter to window.el.
11672 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11673 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11674 (bw-refresh-edges): Remove.
11675 (balance-windows-1, balance-windows-2): New functions.
11676 (balance-windows): Rewrite in terms of window tree functions,
11677 balance-windows-1 and balance-windows-2.
11678 (bw-adjust-window): Remove.
11679 (balance-windows-area-adjust): New function with functionality of
11680 bw-adjust-window but using resize-window.
11681 (set-window-text-height): Rewrite doc-string.
11682 Use normalize-live-window and resize-window.
11683 (enlarge-window-horizontally, shrink-window-horizontally):
11684 Rename argument to DELTA.
11685 (window-buffer-height): New function.
11686 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11687 Rewrite using new window resize routines.
11688 (kill-buffer-and-window, mouse-autoselect-window-select):
11689 Use ignore-errors instead of condition-case.
11690 (quit-window): Call delete-frame instead of delete-windows-on
11691 for the only buffer on frame.
11693 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11695 * loadup.el (top-level): Load window before files for the sake
11696 of replace-buffer-in-windows.
11698 * files.el (read-buffer-to-switch)
11699 (switch-to-buffer-other-window)
11700 (switch-to-buffer-other-frame, display-buffer-other-frame):
11703 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11704 (previous-buffer): Move to window.el.
11706 * bindings.el (unbury-buffer): Move to window.el.
11708 * window.el (delete-other-windows-vertically): Move after
11709 definition of delete-other-windows.
11710 (other-window, delete-windows-on, replace-buffer-in-windows):
11711 Move here from window.c.
11712 (record-window-buffer, unrecord-window-buffer)
11713 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11714 (switch-to-next-buffer): New functions.
11715 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11716 from simple.el. Call switch-to-next-buffer.
11717 (previous-buffer): Move here from simple.el.
11718 Call switch-to-prev-buffer.
11719 (bury-buffer): Move here from buffer.c. Switch to previous
11720 buffer when window cannot be deleted.
11721 (unbury-buffer): Move here from bindings.el.
11722 (ctl-x-map): Move binding for other-window from window.c to
11724 (read-buffer-to-switch, switch-to-buffer-other-window)
11725 (switch-to-buffer-other-frame): Move here from files.el.
11726 (normalize-buffer-to-switch-to): New functions.
11727 (switch-to-buffer): Move here from buffer.c.
11728 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11730 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11732 * window.el (window-min-height, window-min-width): Move here
11733 from window.c. Add defcustoms and rewrite doc-strings.
11734 (resize-mini-window, resize-window): New functions.
11735 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11736 Move here from window.c.
11737 (maximize-window, minimize-window): New functions.
11738 (delete-window, delete-other-windows, split-window): Move here
11740 (window-split-min-size): New function.
11741 (split-window-keep-point): Mention split-window-above-each-other
11742 instead of split-window-vertically.
11743 (split-window-above-each-other, split-window-vertically):
11744 Rename split-window-vertically to split-window-above-each-other
11745 and provide defalias for old definition.
11746 (split-window-side-by-side, split-window-horizontally):
11747 Rename split-window-horizontally to split-window-side-by-side
11748 and provide defalias for the old definition.
11749 (ctl-x-map): Move bindings for delete-window,
11750 delete-other-windows and enlarge-window here from window.c.
11751 Replace bindings for split-window-vertically and
11752 split-window-horizontally by bindings for
11753 split-window-above-each-other and split-window-side-by-side.
11755 * cus-start.el (all): Remove entries for window-min-height and
11756 window-min-width. Add entries for window-splits and
11759 2011-06-09 Glenn Morris <rgm@gnu.org>
11761 * calendar/appt.el (appt-mode-line): New function.
11762 (appt-check, appt-disp-window): Use it.
11764 * files.el (hack-one-local-variable-eval-safep):
11765 Allow minor-modes with explicit +/-1 arguments.
11767 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11769 * term/xterm.el (xterm): Add defgroup.
11770 (xterm-extra-capabilities): Add defcustom to supply known xterm
11771 capabilities, skip querying them, or query them (default).
11772 (terminal-init-xterm): Use it.
11773 (terminal-init-xterm-modify-other-keys): New function to set up
11774 modifyOtherKeys support to simplify `terminal-init-xterm'.
11776 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11778 * window.el (resize-window-reset, resize-window-reset-1)
11779 (resize-subwindows-skip-p, resize-subwindows-normal)
11780 (resize-subwindows, resize-other-windows, resize-this-window)
11781 (resize-root-window, resize-root-window-vertically)
11782 (window-deletable-p, window-or-subwindow-p)
11783 (frame-root-window-p): New functions.
11785 2011-06-09 Glenn Morris <rgm@gnu.org>
11787 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11788 (ange-ftp-get-files): Use it.
11790 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11792 * mail/sendmail.el (mail-recover-1, mail-recover):
11793 * files.el (recover-file, recover-session):
11794 Handle dired-listing-switches not being just a single short option.
11796 2011-06-09 Glenn Morris <rgm@gnu.org>
11798 * calendar/appt.el (appt-display-message, appt-disp-window):
11799 Handle lists of appointments.
11801 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11803 * window.el (one-window-p): Move down in code.
11804 Rewrite doc-string.
11805 (window-current-scroll-bars): Rewrite doc-string.
11806 Normalize live window argument.
11807 (walk-windows, get-window-with-predicate, count-windows):
11808 Rewrite doc-string. Use window-list-1.
11809 (window-in-direction-2, window-in-direction, get-mru-window):
11812 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11814 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11815 Doc fix (Bug#8713).
11817 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11819 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11821 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11823 * loadhist.el (unload-feature-special-hooks):
11824 Add `comint-output-filter-functions'.
11826 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11828 * calendar/appt.el (appt-check): Move some initializations into the let.
11830 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11832 * window.el (window-height): Defalias to window-total-height.
11833 (window-width): Defalias to window-body-width.
11835 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11837 * image-mode.el (image-toggle-animation): New command.
11838 (image-mode-map): Bind it to RET.
11839 (image-mode): Update message.
11840 (image-toggle-display-image): Avoid a spurious cache flush.
11841 (image-transform-rotation): Doc fix.
11842 (image-transform-properties): Return quickly in the normal case.
11843 (image-animate-loop): Rename from image-animate-max-time.
11845 * image.el (image-animate-max-time): Move to image-mode.el.
11846 (create-animated-image): Remove unnecessary function.
11847 (image-animate): Rename from image-animate-start. New arg.
11848 (image-animate-stop): Remove; just use image-animate-timer.
11849 (image-animate-timer): Use car-safe.
11850 (image-animate-timeout): Rename argument.
11852 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11854 * window.el (get-lru-window, get-largest-window): Move here from
11855 window.c. Rename first argument to ALL-FRAMES.
11856 Rephrase doc-strings.
11857 (get-buffer-window-list): Rewrite using window-list-1.
11858 Rephrase doc-string.
11859 (window-safe-min-height, window-safe-min-width): New constants.
11860 (window-size-ignore, window-min-size, window-min-size-1)
11861 (window-sizable, window-sizable-p, window-size-fixed-1)
11862 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11863 (window-max-delta-1, window-max-delta, window-resizable)
11864 (window-resizable-p, window-total-height, window-total-width)
11865 (window-body-width): New functions.
11866 (window-full-height-p, window-full-width-p): Rewrite using
11868 (window-body-height): Rewrite using window-body-size.
11870 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11872 * window.el (window-right, window-left, window-child)
11873 (window-child-count, window-last-child, window-any-p)
11874 (normalize-live-buffer, normalize-live-frame)
11875 (normalize-any-window, normalize-live-window)
11876 (window-iso-combination-p, window-iso-combined-p)
11877 (window-iso-combinations)
11878 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11879 (windows-with-parameter, window-with-parameter)
11880 (window-atom-root, make-window-atom, window-atom-check-1)
11881 (window-atom-check, window-side-check, window-check):
11883 (ignore-window-parameters, window-sides, window-sides-vertical)
11884 (window-sides-slots): New variables.
11885 (window-size-fixed): Move down in code. Minor doc-string fix.
11887 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11889 * comint.el (comint-dynamic-complete-as-filename)
11890 (comint-dynamic-complete-filename): Correctly call
11891 completion-in-region.
11893 2011-06-05 Deniz Dogan <deniz@dogan.se>
11895 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11898 2011-06-05 Deniz Dogan <deniz@dogan.se>
11900 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11901 (rcirc): Use it to prompt for encryption.
11903 2011-06-05 Roland Winkler <winkler@gnu.org>
11905 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11906 (bibtex-search-entries): New command bound to C-c C-a.
11907 (bibtex-display-entries): New function.
11909 2011-06-05 Roland Winkler <winkler@gnu.org>
11911 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11912 (bibtex-insert-kill): After yanking insert newline if necessary.
11913 (bibtex-initialize): Call bibtex-string-files-init only once.
11914 (bibtex-mode): Do not call easy-menu-add.
11915 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11916 (bibtex-yank): Set arg properly if nil.
11918 2011-06-05 Roland Winkler <winkler@gnu.org>
11920 * textmodes/bibtex.el (bibtex-search-entry-globally):
11922 (bibtex-search-entry): Use it.
11924 2011-06-05 Roland Winkler <winkler@gnu.org>
11926 * textmodes/bibtex.el (bibtex-entry-format): New option
11928 (bibtex-format-entry, bibtex-reformat): Honor this option.
11929 (bibtex-parse-entry): Return fields in proper order.
11931 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11933 * doc-view.el (doc-view-remove-if): Move computation of result out
11934 of `dolist' to silence misleading lexical-binding warning.
11936 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11938 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11939 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11941 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11943 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11946 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11948 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11949 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11950 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11951 (tramp-parse-putty):
11952 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11953 (tramp-completion-function-alist-ssh)
11954 (tramp-completion-function-alist-telnet)
11955 (tramp-completion-function-alist-su)
11956 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11959 * net/tramp-ftp.el:
11961 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11962 load "tramp.el" `tramp-set-completion-function'.
11964 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11966 * shell.el: Require and use pcomplete.
11967 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11968 (shell-completion-vars): Set pcomplete-default-completion-function.
11970 2011-06-04 Deniz Dogan <deniz@dogan.se>
11972 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11975 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11977 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11979 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11981 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11982 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11983 * vc/log-view.el (log-view-beginning-of-defun):
11984 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11985 (smerge-refine-forward, smerge-refine-chopup-region):
11986 Silence warning for unused `dotimes' counter variables.
11988 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11990 * net/tramp.el (tramp-with-progress-reporter): Rename from
11991 with-progress-reporter. Use `declare'.
11992 * net/tramp-smb.el:
11994 * net/tramp-gvfs.el: Update all uses.
11996 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11998 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11999 buffer isn't killed before making it current.
12001 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12003 Silence various byte-compiler warnings.
12004 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12005 `access-type' and new obsolescence format.
12006 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12008 (byte-compile-check-variable): New `access-type' argument.
12009 Only warn if the access-type is obsolete.
12010 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12011 (byte-compile-variable-set): Adjust callers.
12012 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12013 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12014 setting it as obsolete.
12015 * simple.el (minibuffer-completing-symbol):
12016 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12017 access as obsolete.
12018 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12020 * international/quail.el (quail-mouse-choose-completion): Remove unused
12021 code referring to obsolete var.
12022 (quail-choose-completion-string): Remove.
12023 * server.el (server-clients-with, server-kill-buffer-query-function)
12024 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12025 * proced.el (proced-send-signal):
12026 * emacs-lisp/lisp.el (lisp-complete-symbol):
12027 Replace completion-annotate-function with completion-extra-properties.
12029 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12031 * simple.el (goto-line): Use read-number.
12032 (overriding-map-is-bound): Remove.
12033 (saved-overriding-map): Change default.
12034 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12035 Take the map as argument.
12036 (universal-argument, negative-argument, digit-argument): Use it.
12037 (restore-overriding-map): Adjust.
12038 (do-auto-fill): Use fill-forward-paragraph.
12039 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12041 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12042 (minibuffer-inactive-mode): New major mode.
12043 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12044 the *Messages* buffer" hack.
12045 (mouse-popup-menubar): Don't burp if the event is a normal key.
12047 Miscellaneous tweaks.
12048 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12049 lexical scoping as in subr.el's dolist and dotimes.
12050 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12051 Silence compiler warning.
12052 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12053 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12054 * international/ccl.el (ccl-compile): Trivial simplification.
12055 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12056 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12057 `printflag' argument.
12058 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12059 Purecopy the whole obsolescence data.
12061 2011-06-01 Leo Liu <sdl.web@gmail.com>
12063 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12064 improve doc-string as suggested by Marco Pessotto
12065 <melmothx@gmail.com>.
12066 (rcirc-print): Fix last change.
12068 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12070 * minibuffer.el (complete-with-action): Return nil for the metadata and
12071 boundaries of non-functional tables.
12072 (completion-table-dynamic): Return nil for the metadata.
12073 (completion-table-with-terminator): Add default case, using
12074 complete-with-action.
12075 (completion--metadata): New function.
12076 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12077 to try and avoid pathological performance problems.
12078 (completion--embedded-envvar-table): Return `category' metadata.
12080 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12082 * subr.el (process-alive-p): New tiny convenience function.
12084 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12086 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12087 content but also its previous major mode.
12089 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12091 * emacs-lisp/debug.el (debug): Restore the previous content of the
12092 *Backtrace* buffer when we exit with C-M-c.
12094 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12096 * minibuffer.el: Add metadata method to completion tables.
12097 (completion-category-overrides): New defcustom.
12098 (completion-metadata, completion--field-metadata)
12099 (completion-metadata-get, completion--styles)
12100 (completion--cycle-threshold): New functions.
12101 (completion-try-completion, completion-all-completions):
12102 Add `metadata' argument to choose completion-styles.
12103 (completion--do-completion): Use metadata to choose cycling.
12104 (completion-all-sorted-completions): Use metadata for sorting.
12105 Remove :completion-cycle-penalty which is not needed any more.
12106 (completion--try-word-completion): Add `metadata' argument.
12107 (minibuffer-completion-help): Check metadata for annotation function
12109 (completion-file-name-table): Return `category' metadata.
12110 (minibuffer-completing-file-name): Make obsolete.
12111 * simple.el (minibuffer-completing-symbol): Make obsolete.
12112 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12113 completion-try-completion.
12115 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12117 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12119 2011-05-30 Leo Liu <sdl.web@gmail.com>
12121 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12122 (rcirc-print): Decode all incoming messages (bug#8744).
12123 (rcirc-decode-coding-system): Allow value nil for automatic coding
12126 2011-06-01 Glenn Morris <rgm@gnu.org>
12128 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12130 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12132 * image.el (image-animate-max-time): Allow nil and t values.
12134 (create-animated-image): Doc fix.
12135 (image-animate-start): Remove second arg; just use
12136 image-animate-max-time.
12137 (image-animate-timeout): Doc fix. Args changed.
12139 * image-mode.el (image-toggle-display-image): Ensure that the
12140 image spec passed to the animate timer is the same object as in
12141 the buffer's display property (Bug#6981).
12142 (image-transform-properties): Doc fix.
12144 * image.el (image-animate-max-time): Default to nil.
12146 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12148 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12149 entire buffer list (Bug#8184).
12151 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12153 * image.el (imagemagick-types-inhibit)
12154 (imagemagick-register-types): Doc fix.
12156 2011-05-29 Deniz Dogan <deniz@dogan.se>
12158 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12161 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12163 * select.el: Don't perform clipboard-manager saving in hooks;
12164 leave the hooks empty.
12166 2011-05-28 Leo Liu <sdl.web@gmail.com>
12168 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12169 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12170 (occur-edit-mode): New major mode (Bug#8463).
12171 (occur-after-change-function): New function.
12172 (occur-engine): Give Occur tags a read-only property.
12174 2011-05-28 Kevin Ryde <user42@zip.com.au>
12176 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12178 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12180 * bindings.el (help-echo): Make the initial non-indicator dash
12181 empty on graphical terminals (Bug#7295).
12183 * files.el (auto-mode-alist): Move config rule after the
12184 in-stripping one (Bug#8547).
12186 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12188 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12189 setting (Bug#8740).
12191 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12193 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12194 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12197 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12199 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12201 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12203 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12204 (hs-hide-block-at-point, hs-find-block-beginning)
12205 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12208 2011-05-28 Glenn Morris <rgm@gnu.org>
12210 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12212 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12214 * help-fns.el (describe-function-1): If the function is a derived
12215 major mode, print the parent mode.
12217 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12218 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12220 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12222 * minibuffer.el (completion--capf-wrapper): Check applicability before
12223 returning non-nil for non-exclusive completion data.
12224 * progmodes/etags.el (tags-completion-at-point-function):
12225 * info-look.el (info-lookup-completions-at-point): Mark as
12227 (info-complete): Adjust accordingly.
12229 * info-look.el: Convert to lexical-binding and completion-at-point.
12230 (info-lookup-completions-at-point): New function.
12231 (info-complete): Use it and completion-in-region.
12233 2011-05-28 Drew Adams <drew.adams@oracle.com>
12235 * isearch.el: Let M-e start with point at the first mismatched char.
12236 (isearch-fail-pos): New function.
12237 (isearch-edit-string): Use it.
12239 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12241 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12243 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12245 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12246 traversal functions for avl-trees.
12247 (avl-tree--stack): New struct.
12248 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12249 (avl-tree-enter): Add optional `updatefun' arg.
12250 (avl-tree--do-enter): Add optional `updatefun' arg.
12251 Change return value.
12252 (avl-tree-delete): Add optional `test' and `nilflag' args.
12253 (avl-tree--do-delete): Add `test' and `nilflag' args.
12254 Change return value.
12255 (avl-tree-member): Add optional `nilflag'
12256 (avl-tree-member-p): New function.
12257 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12258 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12259 (avl-tree-stack-empty-p): New functions.
12261 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12262 avl-tree--del-balance1 and make it work both ways.
12263 (avl-tree--del-balance2): Remove.
12264 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12265 make it work both ways.
12266 (avl-tree--enter-balance2): Remove.
12267 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12269 (avl-tree--mapc, avl-tree-map): Add direction argument.
12271 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12273 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12275 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12277 * select.el: Support clipboard managers with built-in function
12278 x-clipboard-manager-save, via delete-frame-functions and
12280 (xselect-convert-to-targets): Add MULTIPLE target to list.
12281 (xselect-convert-to-save-targets): New function.
12283 2011-05-27 Kenichi Handa <handa@m17n.org>
12285 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12286 let-binding rfc2047-encode-encoded-words to nil.
12288 2011-05-27 Glenn Morris <rgm@gnu.org>
12290 * mail/emacsbug.el: Don't require url-util.
12292 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12294 * files.el (set-auto-mode):
12295 Also respect mode: entries at the end of the file. (Bug#8586)
12297 2011-05-26 Glenn Morris <rgm@gnu.org>
12299 * files.el (hack-local-variables-prop-line, hack-local-variables):
12300 Downcase mode names, as seems to be traditional.
12301 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12303 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12304 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12306 2011-05-25 Julien Danjou <julien@danjou.info>
12308 * textmodes/rst.el (rst-define-level-faces): Do not define face
12309 symbol if it is already defined.
12311 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12313 * play/5x5.el (5x5-new-game, 5x5-randomize):
12314 Reset 5x5-solver-output to nil when a new grid is cast.
12315 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12316 these debugging traces, as defmacro breaks the compiled code.
12318 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12320 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12322 2011-05-24 Leo Liu <sdl.web@gmail.com>
12324 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12325 (vc-bzr-sha1): Adapt.
12327 * sha1.el: Remove. Function `sha1' is now builtin.
12329 * bindings.el: Provide sha1 feature.
12331 2011-05-24 Kenichi Handa <handa@m17n.org>
12333 * mail/sendmail.el: Require `rfc2047'.
12334 (mail-insert-from-field): Do not perform RFC2047 encoding.
12335 (mail-encode-header): New function.
12336 (sendmail-send-it): Set buffer-file-coding-system of the work
12337 buffer to the return value of select-message-coding-system.
12338 Call mail-encode-header.
12340 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12342 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12344 * mail/supercite.el (sc-default-cite-frame):
12345 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12347 2011-05-24 Glenn Morris <rgm@gnu.org>
12349 * progmodes/python.el (brm-menu): Declare.
12351 * emulation/viper.el (viper-set-hooks): Declare.
12353 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12354 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12355 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12356 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12357 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12358 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12360 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12362 Add an :exit-function for completion-at-point.
12364 * minibuffer.el (completion--done): New fun.
12365 (completion--do-completion): Use it. New arg `expect-exact'.
12366 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12367 since completion--do-completion does it for us now.
12368 (minibuffer-force-complete): Use completion--done and
12369 completion--replace. Handle sole-completion case with more care.
12370 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12371 (completion-extra-properties): New var.
12372 (completion-annotate-function): Make obsolete.
12373 (minibuffer-completion-help): Adjust accordingly.
12374 Use completion-list-insert-choice-function.
12375 (completion-at-point, completion-help-at-point):
12376 Bind completion-extra-properties.
12377 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12378 * simple.el (completion-list-insert-choice-function): New var.
12379 (completion-setup-function): Preserve it.
12380 (choose-completion): Pay attention to it, shuffle the code a bit.
12381 (choose-completion-string): New arg `insert-function'.
12383 * textmodes/bibtex.el: Convert to lexical binding.
12384 (bibtex-mode-map): Use completion-at-point.
12385 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12386 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12387 (bibtex-complete): Define as obsolete alias.
12388 (bibtex-complete-internal): Remove.
12389 (bibtex-format-entry): Remove unused sub-group in regexp.
12390 * shell.el (shell--command-completion-data)
12391 (shell-environment-variable-completion):
12392 * pcomplete.el (pcomplete-completions-at-point):
12393 * comint.el (comint--complete-file-name-data): Use :exit-function
12394 instead of completion-table-with-terminator so it also works for
12397 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12399 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12401 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12404 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12406 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12408 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12409 customization variable and implement: If non-nil, auto-fill will
12410 be inhibited while on topic's header line.
12412 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12414 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12415 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12416 always have a solution in grid size = 5 cases.
12417 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12418 (5x5-solver-output, 5x5-log-buffer): New vars.
12419 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12420 Make these variables buffer local to achieve 5x5 multi-session-ness.
12421 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12422 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12423 (5x5-solve-suggest): New funs.
12424 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12425 randomize a grid so that we ensure that there is always a solution.
12426 (5x5-make-random-grid): Allow other movement than flipping.
12428 2011-05-23 Kevin Ryde <user42@zip.com.au>
12430 * emacs-lisp/advice.el (ad-read-advised-function):
12431 Use `function-called-at-point' as the default, if it has
12432 advice and passes PREDICATE.
12434 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12436 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12437 byte-compile-lambda if it's actually a lambda.
12439 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12440 Fix function quoting. Use backquote better.
12442 2011-05-22 Yuanle Song <sylecn@gmail.com>
12444 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12445 matching (Bug#8516).
12447 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12449 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12450 different face (Bug#8178).
12452 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12454 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12455 defface (Bug#8144).
12457 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12459 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12460 funcall as well (bug#8712). Warn when performing those conversions.
12461 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12463 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12465 2011-05-22 Glenn Morris <rgm@gnu.org>
12467 * files.el (hack-local-variables-prop-line): Small simplifications.
12468 (hack-local-variables, hack-local-variables-prop-line):
12469 If MODE-ONLY, return the mode, rather than just `t'.
12471 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12473 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12475 2011-05-21 Glenn Morris <rgm@gnu.org>
12477 * files.el (hack-local-variables-prop-line, hack-local-variables):
12478 If only interested in the mode, don't bother doing the other stuff.
12480 * image-mode.el (image-after-revert-hook):
12481 Redraw all frames on which the image is visible. (Bug#8567)
12483 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12485 * wid-edit.el (widget-checklist-match-inline):
12486 Fix 2011-04-19 change. (Bug#8649)
12488 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12490 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12491 Also allow singlespace after single-letter capitals followed by a dot.
12493 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12494 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12496 2011-05-20 Nix <nix@esperi.org.uk>
12498 * files.el (basic-save-buffer-2):
12499 Fix handling of break-hardlink-on-save with non-existent files.
12501 2011-05-19 Deniz Dogan <deniz@dogan.se>
12503 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12504 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12506 2011-05-19 Glenn Morris <rgm@gnu.org>
12508 * progmodes/f90.el (f90-type-def-re):
12509 Handle "type, bind(c)". (Bug#8691)
12511 * emacs-lisp/autoload.el (batch-update-autoloads):
12512 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12514 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12516 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12517 property for the correct connection in case of multihops.
12519 2011-05-18 Glenn Morris <rgm@gnu.org>
12521 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12522 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12524 Rationalize calendar handling of day and month abbrev-arrays.
12525 * calendar/calendar.el (calendar-customized-p): New function.
12526 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12527 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12529 (calendar-abbrev-length, calendar-day-abbrev-array)
12530 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12531 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12532 Elements may no longer be nil.
12533 (calendar-day-name, calendar-month-name):
12534 Update for changed nature of abbrev arrays.
12535 * calendar/diary-lib.el (diary-name-pattern):
12536 Update for changed nature of abbrev arrays.
12537 (diary-mark-entries-1): Update calendar-make-alist calls.
12538 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12539 * calendar/cal-html.el (cal-html-day-abbrev-array):
12540 Simply inherit from calendar-day-abbrev-array.
12542 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12544 * progmodes/grep.el (grep-mode): Disable default
12545 compilation-directory-matcher setting (bug#8684).
12547 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12549 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12550 instead of "head" and "tail". There were problems with SunOS 5.9,
12551 and it performs better.
12553 2011-05-17 Glenn Morris <rgm@gnu.org>
12555 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12557 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12558 Replace obsolete function.
12560 * shell.el (pcomplete-parse-arguments-function): Declare.
12562 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12563 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12564 (appt-check): Doc fixes.
12565 (appt-disp-window-function, appt-delete-window-function):
12566 Remove needless special case in custom :type.
12567 (appt-display-count): Default to 0, not nil.
12568 (appt-check): Reset appt-display-count to 0, not nil.
12570 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12572 * progmodes/python.el (python-font-lock-keywords):
12573 Add the Python 3.X keyword "nonlocal" (bug#8639).
12575 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12577 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12579 2011-05-16 Kevin Ryde <user42@zip.com.au>
12581 * info-look.el (makefile-automake-mode): New setups, looking in
12582 automake manual, then makefile-mode.
12583 (makefile-mode): Remove automake manual, have it just in
12584 makefile-automake-mode since there's various things different or
12585 not relevant to plain make.
12586 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12587 believe a hypothetical automake-mode would go to makefile-mode,
12588 not the other way around.
12590 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12592 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12593 hunk-end tags (Bug#8672).
12595 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12596 vc-annotate-show-diff-revision-at-line (Bug#8671).
12598 2011-05-14 Glenn Morris <rgm@gnu.org>
12600 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12601 in the middle of an existing one with multiple authors. (Bug#8645)
12602 (change-log-font-lock-keywords): Also handle multiple author lines
12603 with leading tabs. (Bug#8644)
12605 * calendar/appt.el (appt-check): Rename some local variables.
12606 Some simplification/reordering.
12608 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12609 (feedmail-sendmail-f-doesnt-sell-me-out)
12610 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12611 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12612 (feedmail-queue-runner-message-sender): Set :version.
12613 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12614 (bbdb-dwim-net-address, vm-mail): Declare.
12615 (feedmail-binmail-gnulinuxish-template):
12616 Rename from feedmail-binmail-linuxish-template.
12617 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12618 Use insert-buffer-substring.
12620 2011-05-14 Bill Carpenter <bill@carpenter.org>
12622 * mail/feedmail.el (feedmail-patch-level): Increase.
12623 (feedmail-debug): New custom group.
12624 (feedmail-confirm-outgoing-timeout)
12625 (feedmail-sendmail-f-doesnt-sell-me-out)
12626 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12627 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12628 (feedmail-sender-line, feedmail-from-line)
12629 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12630 (feedmail-spray-this-address)
12631 (feedmail-spray-address-fiddle-plex-list)
12632 (feedmail-queue-use-send-time-for-date)
12633 (feedmail-queue-use-send-time-for-message-id)
12634 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12635 (feedmail-buffer-eating-function):
12637 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12638 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12639 (feedmail-message-action-scroll-down): New functions.
12640 (feedmail-queue-directory, feedmail-queue-draft-directory):
12641 Use expand-file-name.
12642 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12643 Remove C-v help entry.
12644 (feedmail-queue-buffer-file-name): New variable.
12645 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12646 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12647 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12648 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12649 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12650 (feedmail-message-action-toggle-spray)
12651 (feedmail-run-the-queue-no-prompts)
12652 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12653 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12654 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12655 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12656 (feedmail-envelope-deducer, feedmail-fiddle-from)
12657 (feedmail-fiddle-sender, feedmail-default-date-generator)
12658 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12659 (feedmail-fiddle-spray-address)
12660 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12661 (feedmail-fiddle-list-of-fiddle-plexes)
12662 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12663 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12664 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12665 Change default. Doc fix.
12666 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12667 (feedmail-binmail-linuxish-template): New constant.
12668 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12669 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12670 (feedmail-send-it): Add debug call.
12671 Use feedmail-queue-buffer-file-name, and
12672 feedmail-send-it-immediately-wrapper.
12673 (feedmail-message-action-send): Add debug call.
12674 Use feedmail-send-it-immediately-wrapper.
12675 (feedmail-queue-express-to-queue): Add debug call.
12676 Run feedmail-queue-express-hook.
12677 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12678 (feedmail-message-action-help-blat):
12679 Rename from feedmail-queue-send-edit-prompt-help-first.
12680 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12681 Check line-endings. Handle errors better.
12682 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12683 Doc fix. Add debug call.
12684 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12685 Use feedmail-queue-send-edit-prompt-inner.
12686 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12687 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12688 from feedmail-queue-send-edit-prompt.
12689 (feedmail-queue-send-edit-prompt-help)
12690 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12691 (feedmail-tidy-up-slug): Add debug call.
12692 Respect feedmail-queue-slug-suspect-regexp.
12693 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12694 (feedmail-dump-message-to-queue): Add debug call.
12695 Expand queue-directory.
12696 (feedmail-dump-message-to-queue): Change message slightly.
12697 Use feedmail-say-chatter.
12698 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12699 (feedmail-send-it-immediately-wrapper): New function.
12700 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12701 Insert empty string rather than newline. Handle full-frame case.
12702 Use catch/throw. Use feedmail-say-chatter.
12703 (feedmail-fiddle-from): Try mail-host-address.
12704 (feedmail-default-message-id-generator): Doc fix.
12705 Bind system-time-locale. Handle missing end.
12706 (feedmail-fiddle-x-mailer): Add debug call.
12707 Handle feedmail-x-mailer-line being nil.
12708 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12709 Add debug call. Use buffer-substring-no-properties.
12710 (feedmail-say-debug, feedmail-say-chatter): New functions.
12711 (feedmail-find-eoh): Give an explicit error.
12713 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12715 * net/newst-treeview.el (newsticker-treeview-face): Change default
12716 family from helvetica to sans.
12717 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12718 etc/images/newsticker.
12720 * net/newst-reader.el (newsticker-feed-face): Change default
12721 family from helvetica to sans.
12723 * net/newst-plainview.el (newsticker-new-item-face)
12724 (newsticker-old-item-face, newsticker-immortal-item-face)
12725 (newsticker-obsolete-item-face, newsticker-date-face)
12726 (newsticker-statistics-face): Change default family from
12728 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12729 etc/images/newsticker.
12731 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12732 (newsticker--process-auto-mark-filter-match): Tell user about
12735 2011-05-13 Didier Verna <didier@xemacs.org>
12737 Common Lisp indentation improvements on defmethod and lambda-lists.
12738 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12740 (lisp-lambda-list-keyword-parameter-indentation)
12741 (lisp-lambda-list-keyword-parameter-alignment)
12742 (lisp-lambda-list-keyword-alignment): New customizable user options.
12743 (lisp-indent-defun-method): Improve docstring.
12744 (extended-loop-p): Fix comment.
12745 (lisp-indent-lambda-list-keywords-regexp): New variable.
12746 (lisp-indent-lambda-list): New function.
12747 (lisp-indent-259): Use it.
12748 (lisp-indent-defmethod): Support for more than one
12749 method qualifier and properly indent methods lambda-lists.
12750 (defgeneric): Provide a missing common-lisp-indent-function property.
12752 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12754 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12755 bounds for the empty string (bug#8667).
12757 2011-05-13 Glenn Morris <rgm@gnu.org>
12759 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12761 * mail/sendmail.el (sendmail-program): Try executable-find first.
12762 (sendmail-send-it): `sendmail-program' cannot be unbound.
12764 * calendar/appt.el (appt-make-list): Simplify.
12765 (appt-time-msg-list): Doc fix.
12766 (appt-check): Change mode-line message at the time of the appointment.
12768 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12770 * progmodes/ld-script.el (ld-script-keywords)
12771 (ld-script-builtins): Update keywords list.
12773 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12775 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12777 * shell.el (shell-completion-vars): New function.
12779 * simple.el (read-shell-command): Use it.
12780 (blink-matching-open): No need for " [...]" in minibuffer-message.
12782 2011-05-12 Glenn Morris <rgm@gnu.org>
12784 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12785 (appt-check): Simplify.
12787 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12789 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12790 literal "/dev/null".
12792 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12794 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12797 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12799 * progmodes/which-func.el (which-function):
12800 Use add-log-current-defun instead of add-log-current-defun-function,
12801 which might not be defined (Bug#8260).
12803 2011-05-12 Glenn Morris <rgm@gnu.org>
12805 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12806 Let byte-compile-initial-macro-environment always take precedence.
12808 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12810 * net/rcirc.el: Add support for SSL/TLS connections.
12811 (rcirc-server-alist): New field `encryption'.
12812 (rcirc): Check `encryption' settings.
12813 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12814 Merge make-local-variable into `set'.
12815 (rcirc--connection-open-p): New function.
12816 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12817 the process is not a network process (e.g. running gnutls-cli).
12818 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12819 Make rcirc-(en|de)code-coding-system local here.
12820 (rcirc-mode): Merge make-local-variable into `set'.
12821 (rcirc-parent-buffer): Make permanent buffer-local.
12822 (rcirc-multiline-minor-mode): Don't do it here.
12823 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12824 there's no server buffer.
12826 2011-05-11 Glenn Morris <rgm@gnu.org>
12828 * newcomment.el (comment-kill): Prefix "unused" local.
12830 * term/w32console.el (get-screen-color): Declare.
12832 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12833 Handle symbol elements of byte-compile-initial-macro-environment.
12835 2011-05-10 Leo Liu <sdl.web@gmail.com>
12837 * bookmark.el (bookmark-bmenu-mode-map):
12838 Bind bookmark-bmenu-search to `/'.
12840 * mail/footnote.el: Convert to utf-8 encoding.
12841 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12842 (Footnote-unicode): New function.
12843 (footnote-style-alist): Add unicode style to the list.
12844 (footnote-style): Doc fix.
12846 2011-05-10 Jim Meyering <meyering@redhat.com>
12848 Fix doubled-word typos.
12849 * international/quail.el (quail-insert-kbd-layout): and and -> and
12850 * kermit.el: and and -> and
12851 * net/ldap.el (ldap-search-internal): to to -> to
12852 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12853 * progmodes/js.el (js-mode): and and -> and
12854 * textmodes/artist.el (artist-move-to-xy): at at -> at
12855 (artist-draw-region-trim-line-endings): if if -> if
12856 And Safetyc -> Safety.
12857 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12859 2011-05-10 Glenn Morris <rgm@gnu.org>
12860 Stefan Monnier <monnier@iro.umontreal.ca>
12862 * files.el (hack-one-local-variable-eval-safep):
12863 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12865 2011-05-10 Glenn Morris <rgm@gnu.org>
12867 * calendar/diary-lib.el (diary-list-entries-hook)
12868 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12869 (diary-nongregorian-marking-hook, diary-list-entries)
12870 (diary-include-other-diary-files, diary-mark-entries)
12871 (diary-mark-included-diary-files): Doc fixes.
12873 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12875 * misc.el: Require tabulated-list.el during compilation.
12877 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12879 * progmodes/compile.el (compilation-start):
12880 Run compilation-filter-hook for the async case too.
12881 (compilation-filter-hook): Doc fix.
12883 2011-05-09 Deniz Dogan <deniz@dogan.se>
12885 * wdired.el: Remove outdated installation comment. Fix usage
12888 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12890 * misc.el: Implement new command `list-dynamic-libraries'.
12891 (list-dynamic-libraries--loaded-only-p): New variable.
12892 (list-dynamic-libraries--refresh): New function.
12893 (list-dynamic-libraries): New command.
12895 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12897 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12898 Fix the ant regexp to handle end-line and end-column info from jikes.
12899 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12900 higher priority to avoid clobbering by gnu.
12902 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12904 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12905 if the face has existing theme settings (Bug#8454).
12907 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12909 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12910 Only match variables declared via `my' or `our' (Bug#8261).
12912 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12913 special file names `.' and `..' (Bug#8259).
12915 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12917 * progmodes/grep.el (grep-mode-font-lock-keywords):
12918 Remove buffer-changing entries.
12919 (grep-filter): New function.
12920 (grep-mode): Add it to compilation-filter-hook.
12922 * progmodes/compile.el (compilation-filter-hook)
12923 (compilation-filter-start): New defvars.
12924 (compilation-filter): Call compilation-filter-hook prior to
12925 updating the process mark.
12927 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12929 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12931 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12933 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12934 mailclient-send-it even if window-system is nil. (Bug#8595)
12936 * term/w32console.el (terminal-init-w32console):
12937 Call get-screen-color and use its output to set the frame
12938 background-mode. (Bug#8597)
12940 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12942 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12943 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12945 (defgeneric, eieio--defmethod): Use them.
12946 (eieio-defgeneric): Remove.
12947 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12949 2011-05-07 Glenn Morris <rgm@gnu.org>
12951 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12952 Use let rather than let*.
12953 (timeclock-find-discrep): Remove unused local.
12955 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12957 * calendar/appt.el (appt-time-msg-list): Doc fix.
12959 2011-05-06 Noah Friedman <friedman@splode.com>
12961 * apropos.el (apropos-print-doc): Only use
12962 emacs-lisp-docstring-fill-column when it is bound to an integer,
12963 per that variable's documentation.
12965 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12967 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12968 and warnings are not silently discarded (e.g. use -d instead of -P).
12970 2011-05-06 Glenn Morris <rgm@gnu.org>
12972 * calendar/appt.el (appt-message-warning-time): Doc fix.
12973 (appt-warning-time-regexp): New option.
12974 (appt-make-list): Respect appt-message-warning-time.
12976 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12978 (diary-add-to-list): Strip comments from the displayed string.
12979 (diary-mode): Set comment-start and comment-end.
12981 * vc/diff-mode.el (smerge-refine-subst): Declare.
12982 (diff-refine-hunk): Don't require smerge-mode when compiling.
12984 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12986 * simple.el (list-processes): Return nil as the docstring says.
12988 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12990 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12992 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12993 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12994 determining of binary transfer. (Bug#7383)
12996 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12999 Fix port computation bug. (Bug#8618)
13001 2011-05-05 Glenn Morris <rgm@gnu.org>
13003 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13005 * simple.el (shell-dynamic-complete-functions)
13006 (comint-dynamic-complete-functions): Declare.
13008 * net/network-stream.el (gnutls-negotiate):
13009 * simple.el (tabulated-list-print): Fix declarations.
13011 * progmodes/gud.el (syntax-symbol, syntax-point):
13012 Remove unnecessary and incorrect declarations.
13014 * emacs-lisp/check-declare.el (check-declare-scan):
13015 Handle byte-compile-initial-macro-environment in bytecomp.el
13017 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13019 Fix earlier half-done eieio-defmethod change (bug#8338).
13020 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13021 Streamline and change calling convention.
13022 (defmethod): Adjust accordingly and simplify.
13023 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13024 new eieio--defmethod.
13025 (slot-boundp): Minor CSE simplification.
13027 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13029 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13030 (glasses-make-readable): Use glasses-separate-capital-groups.
13032 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13034 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13035 (warning-series): Doc fix.
13036 (display-warning): Don't try to create the buffer if we just found it.
13038 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13040 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13041 (autoload-find-generated-file): New function.
13042 (generate-file-autoloads): Bind generated-autoload-file to
13044 (update-file-autoloads, update-directory-autoloads):
13045 Use autoload-find-generated-file. If called interactively, prompt for
13046 output file (Bug#7989).
13047 (batch-update-autoloads): Doc fix.
13049 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13051 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13053 2011-05-04 Glenn Morris <rgm@gnu.org>
13055 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13056 function, so it follows changes in calendar-date-style.
13057 (diary-fancy-date-matcher): New function.
13058 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13059 (diary-fancy-font-lock-fontify-region-function):
13060 Use diary-fancy-date-pattern as a function.
13062 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13063 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13065 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13067 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13068 instead of positional arguments. Allow :keylist and :crlfiles
13070 (open-gnutls-stream): Call it.
13072 * net/network-stream.el (network-stream-open-starttls): Adjust to
13073 call `gnutls-negotiate' with :process and :hostname arguments.
13075 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13077 * minibuffer.el (completion--message): New function.
13078 (completion--do-completion, minibuffer-complete)
13079 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13080 (completion--do-completion): Don't ignore completion-auto-help when in
13083 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13084 internal encoding (e.g. tibetan zero is not whitespace).
13085 (global-whitespace-mode): Prefer save-current-buffer.
13086 (whitespace-trailing-regexp): Remove useless save-match-data.
13087 (whitespace-empty-at-bob-regexp): Minor simplification.
13089 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13091 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13093 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13095 * textmodes/ispell.el (ispell-add-per-file-word-list):
13096 Use `concat' to create string for insertion.
13098 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13100 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13101 Avoid open-line which runs post-self-insert-hook.
13102 (bibtex-fill-entry): Remove unused `end' var.
13104 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13106 * textmodes/ispell.el (ispell-add-per-file-word-list):
13107 Protect against `nil' value of `comment-start' (Bug#8579).
13109 2011-05-03 Leo Liu <sdl.web@gmail.com>
13111 * isearch.el (isearch-yank-pop): New command.
13112 (isearch-mode-map): Bind it to `M-y'.
13113 (isearch-forward): Mention it.
13115 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13117 * simple.el (minibuffer-complete-shell-command): Remove.
13118 (minibuffer-local-shell-command-map): Use completion-at-point.
13119 (read-shell-command): Setup completion vars here instead.
13120 (read-expression-map): Bind TAB to symbol completion.
13122 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13123 error directly rather via storing it into `results'.
13125 2011-05-02 Leo Liu <sdl.web@gmail.com>
13127 * vc/diff.el: Fix description.
13129 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13131 * server.el (server-eval-at): New function.
13133 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13135 * net/network-stream.el (open-network-stream): Take a :nowait
13136 parameter and pass it on to `make-network-process'.
13137 (network-stream-open-plain): Ditto.
13139 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13141 * faces.el (face-spec-set-match-display): Don't match toolkit
13142 options on terminal frames.
13144 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13146 * progmodes/pascal.el: Use lexical binding.
13147 (pascal-mode-map): Remove author preferences.
13149 * pcomplete.el (pcomplete-std-complete): Don't abuse
13150 completion-at-point.
13152 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13154 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13155 removing code that has been dead since 1991 or so.
13157 * startup.el (command-line): When warning about "_emacs", use a
13158 delayed warning to allow the user to filter it out.
13160 2011-04-28 Deniz Dogan <deniz@dogan.se>
13162 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13163 user has not joined.
13165 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13167 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13168 aren't any completions at point.
13170 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13172 * subr.el (display-delayed-warnings): New function.
13173 (delayed-warnings-hook): New variable.
13175 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13177 * minibuffer.el (completion-at-point, completion-help-at-point):
13178 Don't presume that a given completion-at-point-function will always
13179 use the same calling convention.
13181 * pcomplete.el (pcomplete-completions-at-point):
13182 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13183 pcomplete-seen is non-nil.
13184 (pcomplete-comint-setup): Also recognize the new comint/shell
13185 completion functions.
13186 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13187 pcomplete-seen is non-nil.
13189 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13191 * calendar/icalendar.el (diary-lib): Add require statement.
13192 (icalendar--create-uid): Read out a uid from a text-property on
13193 the first character in the entry. This allows for code to add its
13194 own uid to the entry.
13195 (icalendar--convert-float-to-ical): Add export of
13196 `diary-float'-entries save for those with the optional DAY
13199 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13201 * subr.el (shell-quote-argument): Use alternate escaping strategy
13202 when we spot a variable reference in a string.
13204 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13206 * cus-start.el (all): Define customization for debug-on-event.
13208 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13210 * subr.el (shell-quote-argument): Escape correctly under Windows.
13212 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13214 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13216 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
13218 * net/tramp.el (tramp-process-actions): Add POS argument.
13219 Delete region between POS and (pos).
13221 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13222 Use `nil' position in `tramp-process-actions' call.
13223 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13225 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13226 position in `tramp-process-actions' call.
13228 * net/trampver.el: Update release number.
13230 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13232 * custom.el (defcustom): Obey lexical-binding.
13234 Fix octave-inf completion problems reported by Alexander Klimov.
13235 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13236 Inherit from octave-mode-syntax-table.
13237 (inferior-octave-mode): Set info-lookup-mode.
13238 (inferior-octave-completion-at-point): New function.
13239 (inferior-octave-complete): Use it and completion-in-region.
13240 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13241 comint-filename-completion.
13242 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13243 symbol elements which shouldn't be word elements.
13244 (octave-font-lock-keywords, octave-beginning-of-defun)
13245 (octave-function-header-regexp): Adjust regexps accordingly.
13246 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13248 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13250 * net/gnutls.el (gnutls-errorp): Declare before first use.
13252 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13254 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13255 verify-error, and verify-hostname-error parameters. Check whether
13256 default trustfile exists before going to use it. Add missing
13257 argument to gnutls-message-maybe call. Return value.
13258 Reported by Claudio Bley <claudio.bley@gmail.com>.
13259 (open-gnutls-stream): Add usage example.
13261 * net/network-stream.el (network-stream-open-starttls): Give host
13262 parameter to `gnutls-negotiate'.
13263 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13264 * subr.el (shell-quote-argument): Escape correctly under Windows.
13266 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13268 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13269 Use correct match group (bug#8438).
13271 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13273 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13274 (package-menu--generate): New arg specifying packages to show.
13275 (package-menu-refresh, package-menu-execute, list-packages):
13277 (package-show-package-list): New function, replacing deleted
13278 package--list-packages (renamed because it is non-internal).
13280 * finder.el (finder-list-matches): Use package-show-package-list
13281 instead of deleted package--list-packages.
13283 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13284 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13285 (vc-annotate-mode-map): Bind it to RET.
13287 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13289 * progmodes/etags.el (next-file): Don't use set-buffer to change
13290 buffers (Bug#8478).
13292 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13294 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13296 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13297 (apropos-accumulator): Doc fix.
13298 (apropos-function, apropos-macro, apropos-command)
13299 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13300 (apropos-plist): Add face property.
13301 (apropos-symbols-internal): Fix indentation.
13302 (apropos-print): Simplify help, and recognize apropos-multi-type.
13303 (apropos-print-doc): Use button-type-get to extract the button's
13304 face property. Fill docstring (Bug#8352).
13306 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13308 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13310 * play/mpuz.el (mpuz-silent): Doc fix.
13311 (mpuz-mode-map): Use mapc.
13312 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13313 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13314 Fix typos in docstrings.
13316 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13317 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13319 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13321 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13323 * minibuffer.el (completion--do-completion): Avoid the "Next char
13324 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13326 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13327 mouse-2 into unread-command-events, it is interpreted correctly.
13329 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13330 (image-toggle-display): Doc fix.
13332 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13334 * textmodes/page.el (what-page): Use line-number-at-pos to
13335 calculate line number (Bug#6825).
13337 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13339 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13340 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13341 Pass argument NO-DEFAULT to `find-tag-interactive'.
13343 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13345 Lexical-binding cleanup.
13347 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13348 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13349 * progmodes/ada-prj.el (ada-prj-initialize-values)
13350 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13351 (ada-prj-show-value):
13352 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13353 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13354 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13355 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13356 * progmodes/bug-reference.el (bug-reference-push-button):
13357 * progmodes/fortran.el (fortran-line-length):
13358 * progmodes/glasses.el (glasses-change):
13359 * progmodes/octave-mod.el (octave-fill-paragraph):
13360 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13361 (python-pdbtrack-grub-for-buffer, python-sentinel):
13362 * progmodes/sql.el (sql-save-connection):
13363 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13364 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13365 Mark unused parameters.
13367 * progmodes/compile.el (compilation--flush-directory-cache)
13368 (compilation--flush-parse, compile-internal): Mark unused parameters.
13369 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13370 (compilation-next-error-function): Remove unused variable `timestamp'.
13372 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13373 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13375 * progmodes/dcl-mode.el (dcl-end-of-command):
13376 Remove unused variable `start'.
13377 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13378 (dcl-option-value-basic, dcl-option-value-offset)
13379 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13380 Mark unused parameters.
13381 (dcl-save-local-variable): Remove unused variable `val'.
13384 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13385 Mark unused parameters.
13386 (delphi-ignore-changes): Move before first use.
13387 (delphi-charset-token-at): Remove unused variable `start'.
13388 (delphi-else-start): Remove unused variable `if-count'.
13389 (delphi-comment-block-start, delphi-comment-block-end):
13390 Remove unused variable `kind'.
13391 (delphi-indent-line): Remove unused variable `new-point'.
13393 * progmodes/ebrowse.el (ebrowse-files-list)
13394 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13395 Mark unused parameters. Don't quote `lambda'.
13396 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13397 Don't quote `lambda'.
13398 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13399 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13400 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13401 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13402 Use `ignore-errors'.
13403 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13404 (ebrowse-view/find-file-and-search-pattern)
13405 (ebrowse-view/find-member-declaration/definition):
13406 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13407 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13408 Rename parameter PREFIX-ARG to PREFIX.
13409 (ebrowse-tags-read-name): Remove unused variables `start' and
13411 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13414 * progmodes/etags.el (local-find-tag-hook): Declare.
13415 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13416 Mark unused parameters.
13418 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13419 (executable-interpret): Mark unused parameter.
13421 * progmodes/flymake.el (flymake-process-sentinel)
13422 (flymake-after-change-function)
13423 (flymake-create-temp-with-folder-structure)
13424 (flymake-get-include-dirs-dot): Mark unused parameters.
13425 (flymake-safe-delete-directory): Remove unused variable `err'.
13427 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13428 (speedbar-timer-fn, speedbar-line-text)
13429 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13430 (speedbar-center-buffer-smartly): Declare functions.
13431 (gdb-find-watch-expression): Remove unused variable `array'.
13432 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13433 (gdb-starting): Mark unused parameters.
13434 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13435 (gdb-table-string): Remove unused variable `res'.
13436 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13437 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13438 (gdb-display-buffer): Remove unused variable `cur-size'.
13440 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13441 allow lexical-binding compilation.
13442 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13443 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13444 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13445 Mark unused parameters.
13446 (gud-gdb-marker-filter): Remove unused variable `match'.
13447 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13448 lambda expressions and funcall them, instead of using `fset'.
13450 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13451 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13453 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13454 variable `header-beg'; use `let'.
13456 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13457 `restart', `last-sexp' and `at-do'.
13459 * progmodes/js.el (js--debug): Mark unused parameter.
13460 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13461 (js--splice-into-items): Remove unused variable `item'.
13462 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13464 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13465 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13466 (makefile-complete): Remove unused variable `try'.
13467 (makefile-fill-paragraph, makefile-match-function-end):
13468 Mark unused parameters.
13470 * progmodes/octave-inf.el (inferior-octave-complete):
13471 Remove unused variable `proc'.
13472 (inferior-octave-output-digest): Mark unused parameter.
13474 * progmodes/perl-mode.el (perl-calculate-indent):
13475 Remove unused variable `err'.
13477 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13478 (prolog-indent-line): Mark unused parameters.
13479 (prolog-indent-line): Remove unused variable `beg'.
13481 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13482 (reporter-dont-compact-list): Declare.
13484 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13485 Remove unused variable `char'.
13486 (sh-debug): Mark unused parameter.
13487 (sh-get-indent-info): Remove unused variable `start'.
13488 (sh-calculate-indent): Remove unused variable `var'.
13490 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13491 (simula-electric-keyword): Remove unused variable `null'.
13492 (simula-search-backward, simula-search-forward): Remove unused
13493 variables `begin' and `end'.
13495 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13496 Remove unused variable `pos'.
13497 (vera-electric-tab, vera-comment-uncomment-region):
13498 Mark unused parameters.
13499 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13501 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13503 * emacs-lisp/package.el (package--builtins, package-alist)
13504 (package-load-descriptor, package-built-in-p, package-activate)
13505 (define-package, package-installed-p)
13506 (package-compute-transaction, package-buffer-info)
13507 (package--push): Doc fix. Distinguish more clearly between
13508 version strings and version lists.
13510 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13512 Lexical-binding cleanup.
13514 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13515 (5x5-make-mutate-best):
13516 * play/fortune.el (fortune-in-buffer):
13517 * play/gomoku.el (gomoku-init-display):
13518 * play/solitaire.el (solitaire, solitaire-do-check):
13519 * play/tetris.el (tetris-default-update-speed-function):
13520 Mark unused parameters.
13522 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13523 (bubbles--shift): Remove unused variable `char-org'.
13524 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13525 (bubbles--show-images): Remove unused variable `char'.
13527 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13528 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13529 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13530 (decipher-analyze-buffer): Use ?\s.
13531 (decipher-make-checkpoint): Remove unused variable `mapping'.
13533 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13535 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13536 Remove unused variable `result'; use `let'.
13538 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13539 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13540 (gametree-children-shown-p, gametree-compute-reduced-score):
13541 Use `ignore-errors'.
13543 * play/handwrite.el (ps-lpr-switches): Declare.
13544 (handwrite): Remove unused variables `pmin' and `lastp'.
13546 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13548 * play/landmark.el (landmark-init-display)
13549 (landmark-update-naught-weights): Mark unused parameters.
13550 (landmark-y): Remove unused variable `noise'. Simplify.
13551 (landmark-human-plays): Remove unused variable `score'.
13553 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13554 (mpuz-try-proposal): Remove unused variable `game'.
13556 * play/zone.el (life-patterns): Declare.
13558 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13560 * vc/vc.el (ediff-vc-internal): Declare function.
13562 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13564 * shell.el: Use lexical-binding and std completion UI.
13565 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13566 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13567 comint-preoutput-filter-functions rather than on
13568 comint-output-filter-functions.
13569 (shell-command-completion, shell--command-completion-data)
13570 (shell-filename-completion, shell-environment-variable-completion)
13571 (shell-c-a-p-replace-by-expanded-directory): New functions.
13572 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13573 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13574 (shell-dynamic-complete-environment-variable): Use them.
13575 (shell-dynamic-complete-as-environment-variable)
13576 (shell-dynamic-complete-as-command): Remove.
13577 (shell-match-partial-variable): Match past point.
13578 * comint.el: Clean up use of completion-at-point-functions.
13579 (comint-completion-at-point): New function.
13580 (comint-mode): Use it completion-at-point-functions.
13581 (comint-dynamic-complete): Make it obsolete.
13582 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13583 (comint-c-a-p-replace-by-expanded-history): New function.
13584 (comint-dynamic-complete-functions)
13585 (comint-replace-by-expanded-history): Use it.
13586 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13587 termination strings. Try harder to avoid second try-completion.
13588 (completion-in-region-mode-map): Disable bindings that don't work yet.
13590 * comint.el: Use lexical-binding. Require CL.
13591 (comint-dynamic-complete-functions): Use comint-filename-completion.
13592 (comint-completion-addsuffix): Tweak custom type.
13593 (comint-filename-completion, comint--common-suffix)
13594 (comint--common-quoted-suffix, comint--table-subvert)
13595 (comint--complete-file-name-data): New functions.
13596 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13597 (comint-dynamic-list-filename-completions): Use them.
13598 (comint-dynamic-simple-complete): Make obsolete.
13600 * minibuffer.el (completion-in-region-mode):
13601 Keep completion-in-region-mode--predicate global.
13602 (completion-in-region--postch):
13603 Assume completion-in-region-mode--predicate is not null.
13605 * progmodes/flymake.el (flymake-start-syntax-check-process):
13606 Obey `dir'. Simplify.
13608 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13609 we're in VC after all.
13611 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13613 * vc/vc.el (vc-diff-build-argument-list-internal)
13614 (vc-version-ediff, vc-ediff): New commands.
13615 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13617 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13619 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13622 * obsolete/erc-hecomplete.el: Make obsolete.
13623 * obsolete/: Standardize obsolescence info in the header.
13625 2011-04-20 Glenn Morris <rgm@gnu.org>
13627 * calendar/solar.el (solar-horizontal-coordinates):
13628 Use the longitude argument rather than `calendar-longitude'.
13629 (solar-date-next-longitude): Remove unused locals.
13631 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13633 * whitespace.el: New version 13.2.1.
13635 2011-04-20 felix <EmacsWiki> (tiny change)
13637 * whitespace.el (global-whitespace-mode): Keep highlight when
13638 switching between major modes on a file.
13640 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13642 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13643 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13644 multi-line comments as well.
13646 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13648 Lexical-binding cleanup.
13650 * arc-mode.el (archive-mode-revert):
13651 * cmuscheme.el (scheme-interactively-start-process):
13652 * custom.el (custom-initialize-delay):
13653 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13654 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13655 * emacs-lock.el (emacs-lock-clear-sentinel):
13656 * ezimage.el (defezimage):
13657 * follow.el (follow-avoid-tail-recenter):
13658 * fringe.el (set-fringe-mode-1):
13659 * generic-x.el (bat-generic-mode-compile):
13660 * help-mode.el (help-info-variable, help-do-xref)
13661 (help-mode-revert-buffer):
13662 * help.el (view-emacs-todo):
13663 * iswitchb.el (iswitchb-completion-help):
13664 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13665 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13666 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13667 * locate.el (locate-update):
13668 * longlines.el (longlines-encode-region)
13669 (longlines-after-change-function):
13670 * outline.el (outline-isearch-open-invisible):
13671 * ps-def.el (declare-function, charset-dimension, char-width)
13673 * ps-mule.el (ps-mule-plot-string):
13674 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13675 (recentf-edit-list-select, recentf-edit-list-validate)
13676 (recentf-open-files-action):
13677 * rect.el (delete-whitespace-rectangle-line)
13678 (rectangle-number-line-callback):
13679 * register.el (window-configuration-to-register)
13680 (frame-configuration-to-register):
13681 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13682 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13683 (xselect-convert-to-targets, xselect-convert-to-delete)
13684 (xselect-convert-to-filename, xselect-convert-to-charpos)
13685 (xselect-convert-to-lineno, xselect-convert-to-colno)
13686 (xselect-convert-to-os, xselect-convert-to-host)
13687 (xselect-convert-to-user, xselect-convert-to-class)
13688 (xselect-convert-to-name, xselect-convert-to-integer)
13689 (xselect-convert-to-atom, xselect-convert-to-identity):
13690 * subr.el (declare, ignore, process-kill-without-query)
13691 (text-clone-maintain):
13692 * terminal.el (te-get-char, te-tic-sentinel):
13693 * tool-bar.el (tool-bar-make-keymap):
13694 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13695 * type-break.el (type-break-mode, type-break-noninteractive-query):
13696 * view.el (View-back-to-mark):
13697 * wid-browse.el (widget-browse-action, widget-browse-widget)
13698 (widget-browse-widgets, widget-browse-sexp):
13699 * widget.el (define-widget-keywords):
13700 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13701 Mark unused parameters.
13703 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13704 (align-areas): Remove unused variable `look'.
13705 (align-region): Remove unused variables `real-end' and `pos-list'.
13707 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13709 * bindings.el (mode-line-modified, mode-line-remote):
13710 Mark unused parameters.
13711 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13713 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13714 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13716 * comint.el (comint-history-isearch-pop-state)
13717 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13718 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13719 (comint-substitute-in-file-name): Doc fix.
13721 * completion.el (cmpl-statistics-block): Mark unused parameter.
13722 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13723 (save-completions-to-file, load-completions-from-file):
13724 Remove unused local variable `e'.
13726 * composite.el (compose-chars): Remove unused variable `len'.
13727 (lgstring-insert-glyph): Remove unused variable `g'.
13728 (compose-glyph-string): Remove unused variables `ascent',
13729 `descent', `lbearing' and `rbearing'.
13730 (compose-glyph-string-relative): Remove unused variables
13731 `lbearing', `rbearing' and `wadjust'.
13732 (compose-gstring-for-graphic): Remove unused variables `header',
13733 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13734 (compose-gstring-for-terminal): Remove unused variables `header'
13735 and `nchars'. Use `let', not `let*'.
13737 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13738 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13739 (Custom-buffer-done, custom-buffer-create-internal)
13740 (custom-browse-visibility-action, custom-browse-group-tag-action)
13741 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13742 (widget-magic-mouse-down-action, custom-toggle-parent)
13743 (custom-add-parent-links, custom-toggle-hide-variable)
13744 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13745 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13746 (custom-face-menu-create, custom-variable-menu-create, get)
13747 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13748 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13749 (customize-apropos): Remove unused variable `tests'.
13750 (custom-group-value-create): Remove unused variable `hidden-p'.
13751 (sort-fold-case): Declare.
13753 * cus-theme.el (custom-reset-standard-faces-list)
13754 (custom-reset-standard-variables-list): Declare.
13755 (customize-create-theme, custom-theme-revert, custom-theme-write)
13756 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13757 Mark unused parameters.
13759 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13761 * delim-col.el (delimit-columns-max): Move defvar before first use.
13763 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13764 (describe-char): Don't quote `lambda'. Mark unused parameter.
13766 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13767 (auto-insert): Declare.
13768 (desktop-restore-file-buffer): Rename desktop-* parameters;
13770 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13771 (desktop-buffer): Rename desktop-* parameters.
13773 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13774 (dframe-reposition-frame-xemacs, dframe-help-echo)
13775 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13776 Mark unused parameters.
13778 * dired-aux.el (backup-extract-version-start, overwrite-query)
13779 (overwrite-backup-query, rename-regexp-query)
13780 (rename-non-directory-query): Declare.
13781 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13782 (dired-add-entry): Remove unused variable `orig-file-name'.
13783 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13784 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13785 `dired-copy-preserve-time' directly.
13786 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13787 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13789 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13790 (dired-virtual-revert, dired-make-relative-symlink):
13791 Mark unused parameters.
13792 (manual-program): Declare.
13793 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13794 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13795 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13797 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13799 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13801 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13804 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13806 * electric.el (Electric-command-loop): Rename parameter
13807 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13809 * expand.el (expand-in-literal): Remove unused variable `here'.
13811 * facemenu.el (facemenu-add-new-color):
13812 Remove unused variable `docstring'.
13814 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13815 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13816 (face-attr-construct): Mark unused parameter. Doc fix.
13817 (read-color): Remove unused variable `hex-string'.
13819 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13820 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13821 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13822 (display-buffer-other-frame): Remove unused variable `old-window'.
13823 (kill-buffer-hook): Declare.
13824 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13825 Mark unused parameters.
13826 (after-find-file): Pass 1 to `auto-save-mode', not t.
13828 * files-x.el (auto-insert): Declare.
13829 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13831 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13832 variable `buf'. Mark unused parameter.
13833 (find-lisp-insert-directory): Mark unused parameter.
13835 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13836 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13837 (format-common-tail): Remove, unused.
13838 (format-deannotate-region): Remove unused variable `loc'.
13839 (format-annotate-region): Remove unused variable `p'.
13840 (format-annotate-single-property-change): Remove unused variables
13841 `default' and `tail'.
13843 * forms.el (read-file-filter): Declare.
13844 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13846 * frame.el (frame-creation-function-alist): Mark unused parameter.
13847 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13849 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13850 Remove unused parameters.
13851 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13852 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13854 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13855 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13856 (hfy-prepare-tag-map): Mark unused parameters.
13857 (htmlfontify-buffer): Use `called-interactively-p'.
13859 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13860 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13861 (ibuffer-do-occur): Mark unused parameters.
13862 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13863 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13865 * ibuffer.el: Don't quote `lambda'.
13866 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13867 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13868 Mark unused parameters.
13870 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13871 (ido-completing-read): Mark unused parameters.
13872 (ido-copy-current-word): Mark unused parameters;
13873 remove unused variable `name'.
13874 (ido-sort-merged-list): Remove unused parameter `dirs'.
13876 * ielm.el (ielm-input-sender): Mark unused parameter.
13877 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13878 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13879 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13880 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13881 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13883 * image-dired.el (image-dired-display-thumbs): Remove unused
13884 variables `curr-file' and `count'.
13885 (image-dired-remove-tag): Remove unused variable `start'.
13886 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13887 variable `curr-file'
13888 (image-dired-rotate-original): Remove unused variable `temp-file'.
13889 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13890 Remove unused variable `file'.
13891 (image-dired-gallery-generate): Remove unused variable `curr'.
13892 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13894 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13896 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13898 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13900 * isearch.el (minibuffer-history-symbol): Declare.
13901 (isearch-edit-string): Remove unused variable `err'.
13902 (isearch-message-prefix, isearch-message-suffix):
13903 Mark unused parameters.
13905 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13907 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13909 * makesum.el (double-column): Remove unused variable `cnt'.
13911 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13912 (ido-ignore-item-temp-list): Declare.
13914 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13915 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13916 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13917 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13920 * mouse-sel.el (mouse-extend-internal):
13921 Remove unused variable `orig-window-frame'.
13923 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13924 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13925 Move declarations before first use.
13926 (pcomplete-opt): Mark unused parameters; doc fix.
13928 * proced.el (proced-revert): Mark unused parameter.
13929 (proced-send-signal): Remove unused variable `err'.
13931 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13932 Rename parameter PREFIX-ARG to ARG.
13933 (ps-basic-plot-string, ps-basic-plot-whitespace):
13934 Mark unused parameters.
13936 * replace.el (replace-count): Define.
13937 (occur-revert-function): Mark unused parameters.
13938 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13939 (isearch-case-fold-search, isearch-string): Declare.
13940 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13941 bind `case-fold-search'. Remove unused variables `beg' and `end',
13943 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13944 COUNT and bind `replace-count'.
13945 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13948 * savehist.el (print-readably, print-string-length): Declare.
13950 * shadowfile.el (shadow-expand-cluster-in-file-name):
13951 Remove unused variable `cluster'.
13952 (shadow-copy-file): Remove unused variable `i'.
13953 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13954 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13955 (shadow-define-literal-group, shadow-define-regexp-group)
13956 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13958 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13959 (shell): Use `called-interactively-p'.
13960 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13962 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13963 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13964 (delete-backward-char): Remove unused variable `ocol'.
13965 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13966 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13967 (event-apply-hyper-modifier, event-apply-shift-modifier)
13968 (event-apply-control-modifier, event-apply-meta-modifier):
13969 Mark unused parameters.
13970 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13971 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13973 * speedbar.el (speedbar-ignored-directory-expressions)
13974 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13975 (speedbar-find-file, speedbar-dir-follow)
13976 (speedbar-directory-buttons-follow, speedbar-tag-find)
13977 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13978 (speedbar-buffers-line-directory, speedbar-buffer-click):
13979 Mark unused parameters.
13980 (speedbar-tag-file): Remove unused variable `mode'.
13981 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13983 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13985 * talk.el (talk): Remove unused variable `display'.
13987 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13988 (tar-write-region-annotate): Mark unused parameter.
13990 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13991 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13992 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13993 warning by another.
13995 * time-stamp.el (time-stamp-string-preprocess):
13996 Remove unused variable `require-padding'.
13998 * tree-widget.el (widget-glyph-enable): Declare.
13999 (tree-widget-action): Mark unused parameter.
14001 * w32-fns.el (x-get-selection): Mark unused parameter.
14002 (autoload-make-program, generated-autoload-file): Declare.
14004 * wdired.el (wdired-revert): Mark unused parameters.
14005 (wdired-xcase-word): Remove unused variable `err'.
14007 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14008 (whitespace-help-scroll): Remove unused variable `data-help'.
14010 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14011 (widget-image-insert, widget-after-change, default)
14012 (widget-default-format-handler, widget-default-notify)
14013 (widget-default-prompt-value, widget-info-link-action)
14014 (widget-url-link-action, widget-function-link-action)
14015 (widget-variable-link-action, widget-file-link-action)
14016 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14017 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14018 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14019 (widget-insert-button-action, widget-delete-button-action, visibility)
14020 (widget-documentation-link-action, widget-documentation-string-action)
14021 (widget-const-prompt-value, widget-regexp-match, symbol)
14022 (widget-coding-system-prompt-value)
14023 (widget-key-sequence-value-to-external, sexp)
14024 (widget-sexp-value-to-internal, character, vector, cons)
14025 (widget-choice-prompt-value, widget-boolean-prompt-value)
14026 (widget-color--choose-action): Mark unused parameters.
14027 (widget-item-match-inline, widget-choice-match-inline)
14028 (widget-checklist-match, widget-checklist-match-inline)
14029 (widget-group-match): Rename parameter VALUES to VALS.
14030 (widget-field-value-set): Remove unused variable `size'.
14031 (widget-color-action): Remove unused variables `value' and `start'.
14033 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14034 variable `dir'. Doc fix.
14035 (windmove-find-other-window): Don't pass it.
14037 * window.el (count-windows): Mark unused parameter.
14038 (bw-adjust-window): Remove unused variable `err'.
14040 * woman.el (woman-file-name): Remove unused variable `default'.
14041 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14042 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14043 (global-font-lock-mode): Declare.
14044 (woman-decode-region): Mark unused parameter.
14045 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14047 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14048 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14049 (x-dnd-handle-moz-url): Remove unused variable `title'.
14050 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14052 * xml.el (xml-parse-tag, xml-parse-attlist):
14053 Remove unused variable `pos'.
14055 2011-04-19 Glenn Morris <rgm@gnu.org>
14057 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14058 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14059 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14060 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14061 * calendar/cal-html.el (cal-html-insert-minical):
14062 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14063 (calendar-mark-date-pattern):
14064 Prefix "unused" locals.
14066 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14067 optional argument `style'.
14069 * calendar/appt.el (appt-make-list):
14070 * calendar/cal-china.el (calendar-chinese-date-string):
14071 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14072 (diary-hebrew-yahrzeit):
14073 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14074 * calendar/calendar.el (calendar-generate-window):
14075 * calendar/time-date.el (time-to-days):
14076 Remove unused local variables.
14078 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14080 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14081 glyphless-char-display table.
14082 (tabulated-list-glyphless-char-display): New var.
14084 2011-04-18 Sam Steingold <sds@gnu.org>
14086 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14087 to acknowledgments.
14089 2011-04-17 Glenn Morris <rgm@gnu.org>
14091 * calendar/diary-lib.el (diary-sexp-entry):
14092 * calendar/holidays.el (holiday-sexp):
14093 Set debug-on-error rather than the removed stack-trace-on-error.
14095 2011-04-16 Glenn Morris <rgm@gnu.org>
14097 * progmodes/f90.el: Use lexical-binding.
14098 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14100 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14102 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14103 (mail-mode): Setup mailalias completion here instead.
14104 * mail/mailalias.el: Use lexical-binding.
14105 (pattern, mailalias-done): Declare dynamic.
14106 (mail-completion-at-point-function): New function, from mail-complete.
14107 (mail-complete): Use it.
14108 (mail-completion-expand): New function.
14109 (mail-get-names): Use it.
14110 (mail-directory, mail-directory-process, mail-directory-stream):
14111 Don't use `pattern' for lexically bound arg.
14113 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14115 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14116 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14117 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14119 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14120 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14121 (byte-interactive-p): Define them again, for use when inlining
14124 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14126 * loadup.el: Use `string-to-number', not `string-to-int'.
14128 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14130 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14131 gud-gdb-complete-command.
14132 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14133 (gud-gdb-completion-at-point): New function.
14134 (gud-gdb-completions): Remove.
14136 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14138 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14139 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14140 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14141 whether `executable-find' is bound.
14143 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14145 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14147 * minibuffer.el (completion-in-region-mode-predicate)
14148 (completion-in-region-mode--predicate): New vars.
14149 (completion-in-region, completion-in-region--postch)
14150 (completion-in-region-mode): Use them.
14151 (completion--capf-wrapper): Also return the hook function.
14152 (completion-at-point, completion-help-at-point):
14153 Adjust and provide a predicate.
14155 Preserve arg names for advice of subr and lexical functions (bug#8457).
14156 * help-fns.el (help-function-arglist): Consolidate the subr and
14157 new-byte-code cases. Add argument `preserve-names' to extract names
14158 from the docstring when needed.
14159 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14160 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14161 (ad-arglist): Use help-function-arglist's new arg.
14162 (ad-definition-type): Use cond.
14164 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14166 * autorevert.el (auto-revert-handler):
14167 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14168 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14169 Don't quote lambda.
14171 * image-mode.el (image-transform-set-scale):
14172 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14174 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14176 * net/network-stream.el (network-stream-open-starttls): Only do
14177 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14178 Upgrades via gnutls-cli are too slow to be done opportunistically.
14180 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14182 * dframe.el (dframe-current-frame): Remove spurious quote.
14184 2011-04-12 Glenn Morris <rgm@gnu.org>
14186 * calendar/cal-tex.el (cal-tex-end-document):
14187 Try to automatically use latin1 input if needed.
14189 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14190 Don't try to cons a mark onto an empty element.
14192 2011-04-11 Leo Liu <sdl.web@gmail.com>
14194 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14196 (ido-kill-buffer-at-head): Support killing virtual buffers.
14198 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14200 * minibuffer.el (completion-show-inline-help): New var.
14201 (completion--do-completion, minibuffer-complete)
14202 (minibuffer-force-complete, minibuffer-complete-word):
14203 Inhibit minibuffer messages if completion-show-inline-help is nil.
14205 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14206 to avoid interference from inline help (Bug#5849).
14208 2011-04-10 Leo Liu <sdl.web@gmail.com>
14210 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14213 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
14215 * image-mode.el (image-toggle-display-image): Signal an error if
14217 (image-transform-mode, image-transform-resize)
14218 (image-transform-set-rotation): Doc fix.
14219 (image-transform-set-resize): Delete.
14220 (image-transform-set-scale, image-transform-fit-to-height)
14221 (image-transform-fit-to-width): Handle image-toggle-display-image
14222 and image-transform-resize directly.
14224 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14226 * doc-view.el (doc-view-fit-width-to-window)
14227 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14228 New functions for fitting the shown image to the Emacs window size.
14229 (doc-view-mode-map): Add bindings for the new functions.
14231 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
14233 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14234 Fix typo in docstring.
14236 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14238 * files.el (file-size-human-readable): Produce one digit after
14239 decimal, like "ls -lh" does.
14241 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14242 the file size representation.
14244 * simple.el (list-processes): If async subprocesses are not
14245 available, error out with a clear error message.
14247 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14249 * help.el (help-form-show): New function, to be called from C.
14250 Put help-form output in a buffer named differently than *Help*.
14252 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14254 * files.el (file-size-human-readable): New function.
14256 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14257 computing the representation inline. Don't require `cl'.
14259 2011-04-08 Glenn Morris <rgm@gnu.org>
14261 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14263 * net/browse-url.el (browse-url-firefox):
14264 Test system-type, not system-configuration.
14266 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14267 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14268 Use log-edit-empty-buffer-p. (Bug#7598)
14270 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14271 (rlogin-mode-map): Initialize in the defvar.
14272 (rlogin): Use ignore-errors.
14274 * replace.el (occur-mode-map): Some fixes for menu items.
14276 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14278 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14280 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14282 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14283 issuing unused warnings.
14285 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14288 * simple.el: Lisp reimplement of list-processes. Based on an
14289 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14290 (process-menu-mode): New major mode.
14291 (list-processes--refresh, list-processes):
14292 (process-menu-visit-buffer): New functions.
14294 * files.el (save-buffers-kill-emacs): Don't assume any return
14295 value of list-processes, which is undocumented anyway.
14297 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14299 * emacs-lisp/tabulated-list.el: New file.
14301 * emacs-lisp/package.el: Use Tabulated List mode.
14302 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14303 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14304 table format using Tabulated List mode variables.
14305 (package--push): New macro, replacing package-list-maybe-add.
14306 (package-menu--generate): Use package--push. Renamed from
14307 package--generate-package-list.
14308 (package-menu-refresh, list-packages): Use it.
14309 (package-menu--print-info): Rename from package-print-package.
14310 Return insertion data instead of inserting it directly.
14311 (package-menu-describe-package, package-menu-execute):
14312 Use tabulated-list-get-id.
14313 (package-menu-mark-delete, package-menu-mark-install)
14314 (package-menu-mark-unmark, package-menu-backup-unmark)
14315 (package-menu-mark-obsolete-for-deletion):
14316 Use tabulated-list-put-tag.
14317 (package--list-packages, package-menu-revert)
14318 (package-menu-get-package, package-menu-get-version)
14319 (package-menu-sort-by-column): Functions deleted.
14320 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14321 (package-menu--status-predicate, package-menu--version-predicate)
14322 (package-menu--name-predicate)
14323 (package-menu--description-predicate): Handle arguments in the
14324 Tabulated List format.
14325 (package-list-packages-no-fetch): Call list-packages.
14327 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14329 * files.el (after-find-file-from-revert-buffer): Remove variable.
14330 (after-find-file): Don't bind it.
14331 (revert-buffer-in-progress-p): New variable.
14332 (revert-buffer): Bind it.
14333 Pass nil for `after-find-file-from-revert-buffer'.
14335 * saveplace.el (save-place-find-file-hook): Use new variable
14336 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14338 2011-04-06 Glenn Morris <rgm@gnu.org>
14340 * Makefile.in (AUTOGEN_VCS): New variable.
14341 (autoloads): Use $AUTOGEN_VCS.
14343 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14344 * calendar/calendar.el (calendar-mode-map):
14345 Check for toolkit scroll bars. (Bug#8305)
14347 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14349 * minibuffer.el (completion-in-region--postch)
14350 (completion-in-region-mode): Remove unnecessary messages.
14352 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14354 * font-lock.el (font-lock-refresh-defaults):
14355 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14356 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14358 * info.el (Info-directory-list, Info-read-node-name-2)
14359 (Info-split-parameter-string): Doc fixes.
14360 (Info-virtual-nodes): Reflow docstring.
14361 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14362 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14363 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14364 Fix typos in docstrings.
14365 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14366 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14367 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14368 (Info-restore-desktop-buffer): Mark unused parameters.
14369 (Info-directory-find-file, Info-directory-find-node)
14370 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14371 (Info-virtual-index-find-node, Info-apropos-find-file)
14372 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14373 Mark unused parameters; fix typos in docstrings.
14374 (Info-virtual-index): Remove unused local variable `nodename'.
14376 2011-04-05 Deniz Dogan <deniz@dogan.se>
14378 * net/rcirc.el: Update my e-mail address.
14379 (rcirc-mode-map): Remove M-o binding.
14381 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14383 * startup.el (command-line): Save the cursor's theme-face
14384 directly, instead of using face-override-spec.
14386 * custom.el (load-theme): Minor optimization in assigning faces.
14388 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14390 * help-fns.el (describe-variable): Complete all variables having
14391 documentation, including keywords.
14392 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14394 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14396 Convert to lexical-binding.
14398 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14399 (bs--get-marked-string, bs--get-modified-string)
14400 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14401 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14402 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14404 * ehelp.el (electric-help-execute-extended)
14405 (electric-help-ctrl-x-prefix):
14406 * hexl.el (hexl-revert-buffer-function):
14407 * linum.el (linum-after-change, linum-after-scroll):
14408 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14410 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14412 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14419 * epg.el: Use lexical binding.
14421 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14423 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14425 * textmodes/flyspell.el (flyspell-word): Recognize default
14426 dictionary case for flyspell-mark-duplications-exceptions.
14427 Use regexp matching for languages.
14428 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14429 default dictionary (Bug#7926).
14431 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14433 * emacs-lisp/package.el (package--with-work-buffer):
14434 Recognize https URLs.
14436 * net/network-stream.el: Move from gnus/proto-stream.el.
14437 Change prefix to network-stream throughout.
14438 (open-protocol-stream): Merge into open-network-stream, leaving
14439 open-protocol-stream as an alias. Handle nil BUFFER args.
14441 * subr.el (open-network-stream): Move to net/network-stream.el.
14443 2011-04-02 Glenn Morris <rgm@gnu.org>
14445 * find-dired.el (find-exec-terminator): New option.
14446 (find-ls-option): Test for -ls support.
14447 (find-ls-subdir-switches): Test for -b in find-ls-option.
14448 (find-dired, find-grep-dired): Doc fixes.
14449 (find-dired): Use find-exec-terminator.
14451 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14452 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14453 (find-name-arg): Remove purecopy.
14455 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14456 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14457 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14458 accordingly. Don't add the null-device if not needed.
14460 * files.el (save-some-buffers): Doc fix.
14462 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14464 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14466 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14468 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14469 Use `dolist' rather than `mapcar'.
14471 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14473 Add lexical binding.
14475 * subr.el (apply-partially): Use new closures rather than CL.
14476 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14477 (dolist, dotimes): Use slightly different expansion for lexical code.
14478 (functionp): Move to C.
14479 (letrec): New macro.
14480 (with-wrapper-hook): Use it and apply-partially instead of CL.
14481 (eval-after-load): Preserve lexical-binding.
14482 (save-window-excursion, with-output-to-temp-buffer): Turn them
14485 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14487 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14489 (help-add-fundoc-usage): Don't add `Not documented'.
14490 (help-function-arglist): Handle closures, subroutines, and new
14491 byte-code-functions.
14492 (help-make-usage): Remove leading underscores.
14493 (describe-function-1): Handle closures.
14494 (describe-variable): Use special-variable-p for completion.
14496 * files.el (lexical-binding): Declare safe.
14498 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14499 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14500 (pcase): Add `let' pattern.
14501 Change memoization so it actually works.
14502 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14503 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14506 * emacs-lisp/macroexp.el: Use lexical binding.
14507 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14508 Don't convert ' to #' without checking that it's indeed quoting
14511 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14512 Use eval-sexp-add-defvars.
14513 (eval-sexp-add-defvars): New fun.
14515 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14517 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14519 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14520 than the internal `byte-compile-lambda'.
14521 (defmethod): Don't hide code under quotes.
14522 (eieio-defmethod): New `code' argument.
14524 * emacs-lisp/eieio-comp.el: Remove.
14526 * emacs-lisp/edebug.el (edebug-eval-defun)
14527 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14528 (edebug-toggle): Avoid `eval'.
14530 * emacs-lisp/disass.el (disassemble-internal): Handle new
14532 (disassemble-1): Handle new byte codes.
14534 * emacs-lisp/cl.el (pushnew): Silence warning.
14536 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14537 (cl-byte-compile-throw): Remove.
14538 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14540 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14543 * emacs-lisp/cconv.el: New file.
14545 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14546 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14547 (byte-compile-initial-macro-environment):
14548 Handle declare-function here.
14549 (byte-compile--lexical-environment): New var.
14550 (byte-stack-ref, byte-stack-set, byte-discardN)
14551 (byte-discardN-preserve-tos): New lap codes.
14552 (byte-interactive-p): Don't use any more.
14553 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14555 (byte-compile-lapcode): Use them and handle new lap codes.
14556 (byte-compile-obsolete): Remove.
14557 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14558 (byte-compile-arglist-warn): Check late def of inlinable funs.
14559 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14560 since they should have been expanded by now.
14561 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14562 (byte-compile-from-buffer): Remove unused second arg.
14563 (byte-compile-preprocess): New function.
14564 (byte-compile-toplevel-file-form): New function to distinguish
14565 file-form calls from outside from file-form calls from hunk-handlers.
14566 (byte-compile-file-form): Simplify.
14567 (byte-compile-file-form-defsubst): Remove.
14568 (byte-compile-file-form-defmumble): Simplify now that
14569 byte-compile-lambda always returns a byte-code-function.
14570 (byte-compile): Preprocess.
14571 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14572 Remove, not used any more.
14573 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14574 (byte-compile-make-args-desc): New funs.
14575 (byte-compile-lambda): Handle lexical functions. Always return
14576 a byte-code-function.
14577 (byte-compile-reserved-constants): New var, to make up room for
14578 closed-over variables.
14579 (byte-compile-constants-vector): Obey it.
14580 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14581 (byte-compile-macroexpand-declare-function): New function.
14582 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14583 byte-code-functions.
14584 (byte-compile-form): Check obsolescence here.
14585 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14586 (byte-compile-variable-ref): Remove.
14587 (byte-compile-dynamic-variable-op): New fun.
14588 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14589 (byte-compile-variable-set): New funs.
14590 (byte-compile-discard): Add 2 args.
14591 (byte-compile-stack-ref, byte-compile-stack-set)
14592 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14593 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14594 macroexpand-all instead.
14595 (byte-compile-quote-form): Remove.
14596 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14597 (byte-compile-bind, byte-compile-unbind): New funs.
14598 (byte-compile-let): Handle let* and lexical binding.
14599 (byte-compile-let*): Remove.
14600 (byte-compile-catch, byte-compile-unwind-protect)
14601 (byte-compile-track-mouse, byte-compile-condition-case):
14602 Handle a new :fun-body form, used for lexical scoping.
14603 (byte-compile-save-window-excursion)
14604 (byte-compile-with-output-to-temp-buffer): Remove.
14605 (byte-compile-defun): Simplify.
14606 (byte-compile-stack-adjustment): New fun.
14607 (byte-compile-out): Use it.
14608 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14610 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14613 * emacs-lisp/byte-opt.el: Use lexical binding.
14614 (byte-inline-lapcode): Remove (to bytecomp).
14615 (byte-compile-inline-expand): Pay attention to inlining to/from
14616 lexically bound code.
14617 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14619 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14620 any more and don't call compiler-macros.
14621 (byte-compile-splice-in-already-compiled-code): Remove.
14622 (byte-code): Don't inline any more.
14623 (disassemble-offset): Receive `bytes' as argument rather than via
14625 (byte-compile-tag-number): Declare before first use.
14626 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14627 `return' even if make-spliceable.
14628 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14629 obsolete interactive-p.
14630 (byte-optimize-lapcode): Optimize new lap-codes.
14631 Don't trip up on new form of `byte-constant' lap code.
14633 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14635 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14637 * custom.el (custom-initialize-default, custom-declare-variable):
14640 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14642 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14643 (COMPILE_FIRST): Add macroexp and cconv.
14644 * makefile.w32-in: Mirror changes in Makefile.in.
14646 * vc/cvs-status.el:
14650 * vc/smerge-mode.el:
14651 * textmodes/bibtex-style.el:
14652 * textmodes/css.el:
14660 * emacs-lisp/smie.el:
14663 * abbrev.el: Use lexical binding.
14665 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14667 * info.el (info-display-manual): New function.
14669 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14671 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14673 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14675 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14676 an entry for that server in rcirc-authinfo. (Bug#8385)
14678 2011-03-31 Glenn Morris <rgm@gnu.org>
14680 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14682 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14684 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14686 * progmodes/python.el (python-default-interpreter)
14687 (python-python-command-args, python-jython-command-args)
14688 (python-which-shell, python-which-args, python-which-bufname)
14689 (python-file-queue, python-comint-output-filter-function)
14690 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14691 variables and functions.
14693 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14695 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14696 (completion-in-region-mode): New minor mode.
14697 (completion-in-region): Use it.
14698 (completion-in-region--data, completion-in-region-mode-map): New vars.
14699 (completion-in-region--postch): New function.
14700 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14702 (completion--capf-wrapper): New function.
14703 (completion-at-point): Use it to track well-behavedness of
14705 (completion-help-at-point): New command.
14707 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14709 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14710 syntax class to search for whitespace on a single line
14711 (Message-ID: <4D938140.4030905@redhat.com>).
14713 2011-03-30 Leo Liu <sdl.web@gmail.com>
14715 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14717 (edit-abbrevs-map): Bind them here.
14718 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14720 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14722 * allout.el (allout-hide-by-annotation, allout-flag-region):
14723 Reduce possibility of overlay leakage by making them volatile.
14725 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14726 hash is not shared between buffers. Mode initialization is
14727 responsible for giving it a useful starting value.
14728 (allout-item-span): Reduce possibility of overlay leakage by
14729 making them volatile.
14730 (allout-widgets-count-buttons-in-region): Add diagnostic function
14731 for tracking down button overlay leaks.
14733 2011-03-29 Leo Liu <sdl.web@gmail.com>
14735 * ido.el (ido-read-internal): Use the default history var
14736 minibuffer-history if no HISTORY is specified.
14738 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14740 * net/imap.el (imap-shell-open, imap-process-connection-type):
14741 Use imap-process-connection-type for 'shell' streams as well as
14742 Kerberos, SSL, other subprocesses.
14744 2011-03-28 Leo Liu <sdl.web@gmail.com>
14746 * abbrev.el (abbrev-table-empty-p): New function.
14747 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14748 nonempty ones. (Bug#5937)
14750 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14752 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14754 2011-03-27 Leo Liu <sdl.web@gmail.com>
14756 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14757 for foreground and background colors.
14758 (ansi-color-make-color-map): Adapt.
14760 2011-03-25 Leo Liu <sdl.web@gmail.com>
14762 * midnight.el (midnight-time-float): Remove. Note it calculates
14763 the microsecond component incorrectly and seconds-to-time does the
14765 Remove redundant (require 'timer).
14767 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14768 (ido-completions): Remove unused arguments. (Bug#8329)
14770 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14772 * minibuffer.el (completion--flush-all-sorted-completions):
14773 Remove itself from hook.
14774 (completion-at-point): Let the functions perform the completion
14775 immediately and return nil or t.
14776 * comint.el (comint-dynamic-complete-functions): Now identical to
14777 completion-at-point-functions.
14778 (comint-dynamic-list-input-ring): Remove unused var `index'.
14779 (comint--match-partial-filename, comint--unquote&expand-filename):
14780 New funs, split from comint-match-partial-filename.
14781 (comint-dynamic-complete): Use completion-at-point.
14782 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14784 2011-03-24 Drew Adams <drew.adams@oracle.com>
14786 * thingatpt.el: Support `defun'.
14788 2011-03-23 Leo Liu <sdl.web@gmail.com>
14790 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14792 * help-mode.el (help-mode-finish): Tweak regexp.
14794 2011-03-23 Glenn Morris <rgm@gnu.org>
14796 * eshell/esh-opt.el (eshell-eval-using-options):
14797 Do not bind unused local variable `eshell-option-stub'.
14799 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14801 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14803 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14804 keymap variable in `with-no-warnings' to avoid a warning when the
14805 keymap has been already `defconst'ed.
14807 2011-03-22 Leo Liu <sdl.web@gmail.com>
14809 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14810 encode all chars in abbrevs; otherwise use emacs-mule or
14811 utf-8-emacs. (Bug#8308)
14813 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14815 * simple.el (backward-delete-char-untabify):
14816 Avoid warning about using `delete-backward-char'.
14818 * image.el (image-type-file-name-regexps): Make it variable.
14819 `imagemagick-register-types' modifies it, and the user may want
14820 to add new extensions for known image types.
14821 (imagemagick-register-types): Throw error if not using ImageMagick.
14823 2011-03-22 Leo Liu <sdl.web@gmail.com>
14825 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14826 located before rcirc-prompt-end-marker.
14827 (rcirc-complete): Error if point is not after rcirc prompt.
14828 Handle the case when table is nil.
14829 (rcirc-user-authenticated): Define to fix compiler warning.
14831 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14833 * custom.el (custom--inhibit-theme-enable): Make it affect only
14834 custom-theme-set-variables and custom-theme-set-faces.
14835 (provide-theme): Ignore custom--inhibit-theme-enable.
14836 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14837 (custom-enabling-themes): Delete variable.
14838 (enable-theme): Accept only loaded themes as arguments.
14839 Ignore the special custom-enabled-themes variable.
14840 (custom-enabled-themes): Forbid themes from setting this.
14841 Eliminate use of custom-enabling-themes.
14842 (custom-push-theme): Quote "changed" custom var entry.
14844 2011-03-21 Leo Liu <sdl.web@gmail.com>
14846 * ido.el (ido-read-internal): Add ido-selected to history instead
14849 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14851 * subr.el (deferred-action-list, deferred-action-function):
14854 2011-03-21 Leo Liu <sdl.web@gmail.com>
14856 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14857 change on 2011-02-13 (bug#8309).
14859 * minibuffer.el (read-file-name-function): Change default value.
14860 (read-file-name--defaults): Rename from read-file-name-defaults.
14861 (read-file-name-default): Rename from read-file-name.
14862 (read-file-name): Call read-file-name-function.
14864 2011-03-21 Glenn Morris <rgm@gnu.org>
14866 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14869 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14871 * cus-theme.el: Add missing provide statement.
14872 (customize-create-theme): Extract theme value correctly.
14873 (custom-theme-visit-theme): Autoload.
14874 (customize-create-theme): Prompt before inserting default faces.
14876 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14878 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14879 units and musical notes.
14881 2011-03-20 Leo Liu <sdl.web@gmail.com>
14883 * ido.el (ido-read-internal): Use completing-read-default.
14884 (ido-completing-read): Fix compatibility with completing-read.
14886 2011-03-20 Christian Ohler <ohler@gnu.org>
14888 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14889 (ert-delete-all-tests): Use `called-interactively-p' rather than
14891 (ert--make-xrefs-region): Respect END.
14893 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14895 * dired-aux.el (dired-create-directory): Signal an error if the
14896 directory already exists (Bug#8246).
14898 * facemenu.el (list-colors-display): Call list-faces-display
14899 inside with-help-window.
14900 (list-colors-print): Use display property to align the final
14901 column, instead of checking window-width.
14903 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14905 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14906 windows-nt systems.
14907 (emerge-protect-metachars): Quote correctly for ms-dos and
14908 windows-nt systems.
14910 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14912 * info.el (info-initialize): Replace all uses of `:' with
14913 path-separator for compatibility with non-Unix systems.
14914 Cache quoting of path-separator. (Bug#8258)
14916 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14918 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14919 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14920 (mouse-avoidance-mode): Fix typos in docstrings.
14922 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14924 * startup.el (package-subdirectory-regexp): Move from package.el.
14925 Omit \\` and \\', and let callers add them.
14927 * emacs-lisp/package.el (package-strip-version)
14928 (package-load-all-descriptors): Add \\` and \\' to
14929 package-subdirectory-regexp before using it.
14930 (package-untar-buffer): New arg DIR; ensure that file untars only
14931 into this expected directory. Remove superfluous delete-region.
14932 (package-unpack): Caller changed.
14933 (package-tar-file-info): Use package-subdirectory-regexp.
14935 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14937 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14938 diff-mode-shared-map (bug#8284).
14939 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14941 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14943 * calendar/time-date.el (format-seconds): Use assoc instead of
14944 assoc-string, since assoc-string doesn't exist in XEmacs.
14946 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14948 * custom.el (custom-known-themes): Reflow docstring.
14949 (custom-theme-load-path): Fix typo in docstring.
14950 (load-theme): Fix typo in error message.
14951 (custom-available-themes, custom-variable-theme-value):
14952 Use `let', not `let*'.
14954 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14956 * calc/README: Mention inclusion of musical notes.
14958 * calc/calc-units.el (calc-lu-quant): Rename from
14959 `calc-logunits-quantity'.
14960 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14961 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14962 (calc-db): Rename from `calc-dblevel'.
14963 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14964 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14965 (calc-np): Rename from `calc-nplevel'.
14966 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14967 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14968 (calc-lu-plus): Rename from `calc-logunits-add'.
14969 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14970 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14971 (calc-lu-minus): Rename from `calc-logunits-sub'.
14972 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14973 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14974 (calc-lu-times): Rename from `calc-logunits-mul'.
14975 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14976 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14977 (calc-lu-divide): Rename from `calc-logunits-div'.
14978 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14979 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14981 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14982 functions being autoloaded.
14984 * calc/calc.el (calc-lu-power-reference): Rename from
14985 `calc-logunits-power-reference'.
14986 (calc-lu-field-reference): Rename from
14987 `calc-logunits-field-reference'.
14989 * calc/calc-help.el (calc-l-prefix-help):
14990 Mention musical note functions.
14992 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14994 * minibuffer.el (completion-all-sorted-completions):
14995 Use :completion-cycle-penalty text property if present.
14997 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14999 * allout.el (allout-yank-processing): Adjust for new rebulleting
15000 regime so bullet being yanked is used without prompting the user
15003 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15005 * startup.el (command-line): Warn the user that _emacs is deprecated.
15007 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15009 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15010 (delphi-verbose, delphi-comment-face, delphi-string-face)
15011 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15012 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15013 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15014 (delphi-new-comment-line, delphi-font-lock-defaults)
15015 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15016 Fix typos in docstrings.
15018 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15020 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15021 Invert the roles of character and string values for INSTEAD, so a
15022 string is used for the more common case of a defaulting prompt.
15024 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15026 * progmodes/ruby-mode.el (ruby-backward-sexp):
15027 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15028 * play/gamegrid.el (gamegrid-make-face):
15029 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15030 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15031 * notifications.el (notifications-notify):
15032 * net/xesam.el (xesam-search-engines):
15033 * net/quickurl.el (quickurl-list-insert):
15034 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15036 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15038 * startup.el (command-line): Update package subdirectory regexp.
15040 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15042 * allout.el (allout-abbreviate-flattened-numbering)
15043 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15045 * subr.el (read-char-choice): Only show the cursor after the prompt,
15046 not after the answer.
15048 2011-03-15 Kevin Ryde <user42@zip.com.au>
15050 * help-fns.el (variable-at-point): Skip leading quotes, if any
15053 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15055 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15058 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15060 * shell.el (shell): When called interactively, offer to change the
15061 shell file name on remote hosts.
15063 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15065 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15066 integration for LDAP parameters. The host, base, user or binddn,
15067 and secret tokens can be specified in a netrc file, for instance.
15068 This is optional because an `auth-source' parameter must be
15069 specified in the search attributes.
15071 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15073 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15075 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15077 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15078 into declaration. Remove redundant and harmful binding.
15080 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15082 * files.el (file-ownership-preserved-p): Pass `integer' as an
15083 explicit 2nd argument to `file-attributes'. If the file's owner
15084 is the Administrators group on Windows, and the current user is
15085 Administrator, consider that a match.
15087 * server.el (server-ensure-safe-dir): Consider server directory
15088 safe on MS-Windows if its owner is the Administrators group while
15089 the current Emacs user is Administrator. Use `=' to compare
15090 numerical UIDs, since they could be integers or floats.
15092 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15094 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15096 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15098 Sync with Tramp 2.2.1.
15100 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15102 * net/trampver.el: Update release number.
15104 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15106 * progmodes/compile.el (compilation--previous-directory): Fix up
15107 various nil/dead-marker mismatches (bug#8014).
15108 (compilation-directory-properties, compilation-error-properties):
15109 Don't call it at a position past the one we're about to change.
15111 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15112 Disable obsolescence warnings in the file that declares it.
15114 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15116 * allout-widgets.el (allout-widgets-tally):
15117 Initialize allout-widgets-tally as a hash table rather than nil to
15118 prevent mode-line redisplay warnings. Also, clarify the module
15119 description and fix a comment typo.
15121 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15123 * help-fns.el (describe-variable): Don't complete keywords.
15124 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15126 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15128 * emacs-lisp/package.el (package-version-join): Impose a standard
15129 string representation for pre/alpha/beta version lists.
15130 (package-unpack-single): Standardize the directory name by passing
15131 it through package-version-join.
15132 (package-strip-rcs-id): Accept any version string that does not
15133 signal an error in version-to-list.
15135 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15137 * simple.el (delete-trailing-whitespace): Return nil for the
15138 benefit of `write-file-functions'.
15140 2011-03-10 Glenn Morris <rgm@gnu.org>
15142 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15144 * vc/vc-git.el (vc-git-program): New option.
15145 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15146 (vc-git--call): Use it.
15148 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15150 * cus-edit.el (Custom-newline): If no button at point, look
15151 for a subgroup button at start-of-line. (Bug#2298)
15153 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15155 2011-03-10 Julien Danjou <julien@danjou.info>
15157 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15158 `cursor-type' is nil.
15160 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15162 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15164 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15166 * allout.el: Change so yank of distinctive-bullet items
15167 preserves the existing header prefix, rebulleting it if necessary,
15168 rather than replacing it. This is necessary for proper operation
15169 of cooperative addons like allout-widgets.
15170 (allout-make-topic-prefix, allout-rebullet-heading):
15171 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15172 value as alternate bullet to be used, instead of prompting the user
15173 for a bullet character.
15175 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15177 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15178 Do not use `tramp-file-name-port', because this returns also
15179 `tramp-default-port'.
15181 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15183 * net/rcirc.el (rcirc-handler-001): Remove useless
15184 with-rcirc-process-buffer.
15185 (rcirc-check-auth-status): Swap arguments to string-match.
15187 2011-03-09 Glenn Morris <rgm@gnu.org>
15189 * shell.el (shell-mode):
15190 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15192 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15193 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15195 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15197 * emacs-lisp/package.el (package-refresh-contents)
15198 (package-menu-execute): Use condition-case-no-debug.
15200 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15202 * simple.el (shell-command-to-string): Use `process-file'.
15204 * emacs-lisp/package.el (package-tar-file-info): Handle also
15207 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15208 Use `equal' for upload base check.
15210 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15212 * textmodes/texinfo.el (texinfo-environments):
15213 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15215 2011-03-08 Glenn Morris <rgm@gnu.org>
15217 * cus-start.el (cursor-in-non-selected-windows):
15218 Fix :set quoting oddness. (Bug#8192)
15220 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15221 in some setf expressions. (Bug#2159)
15223 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15225 * custom.el (custom-available-themes): Return themes in
15226 alphabetical order.
15228 See ChangeLog.15 for earlier changes.
15230 ;; Local Variables:
15234 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15236 This file is part of GNU Emacs.
15238 GNU Emacs is free software: you can redistribute it and/or modify
15239 it under the terms of the GNU General Public License as published by
15240 the Free Software Foundation, either version 3 of the License, or
15241 (at your option) any later version.
15243 GNU Emacs is distributed in the hope that it will be useful,
15244 but WITHOUT ANY WARRANTY; without even the implied warranty of
15245 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15246 GNU General Public License for more details.
15248 You should have received a copy of the GNU General Public License
15249 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.