1 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4 mapping from #' to function*.
6 2012-06-13 Chong Yidong <cyd@gnu.org>
8 * mouse.el (mouse-drag-track): Do not set the mark if the user
9 releases the mouse without selecting anything (Bug#11588).
11 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
16 * loadup.el: Count byte-code functions as well.
18 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
19 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
21 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
22 (bug#11649). Add cl-defun and cl-defmacro.
24 2012-06-13 Drew Adams <drew.adams@oracle.com>
26 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
29 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
31 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
32 Otherwise, it blocks in batch mode.
34 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
36 * help-mode.el (bookmark-make-record-default): Declare.
38 2012-06-13 Chong Yidong <cyd@gnu.org>
40 * emacs-lisp/package.el (list-packages): Compute a list of
41 packages that are newly-available since the last list-packages
43 (package-menu--new-package-list): New var.
44 (package-menu--generate, package-menu--print-info)
45 (package-menu--status-predicate, package-menu-mark-install):
46 Handle new status label "new".
48 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
50 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
51 conversion to backquotes.
53 2012-06-12 Chong Yidong <cyd@gnu.org>
55 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
56 Rename from gud-inhibit-global-bindings.
58 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
60 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
61 hook from nxml-glyph-set-hook.
63 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
66 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
68 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
71 2012-06-12 Drew Adams <drew.adams@oracle.com>
73 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
75 (help-mode): Use them.
77 2012-06-11 Glenn Morris <rgm@gnu.org>
79 * progmodes/fortran.el (fortran-font-lock-keywords-3):
80 Use preprocessor face for directives.
81 (fortran-directive-re): Doc fix.
83 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
85 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
86 conversion to backquotes (bug#11652).
88 Fix compiler-expansion of CL's cXXr functions (bug#11673).
89 * emacs-lisp/cl-lib.el (cl--defalias): New function.
90 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
91 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
92 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
93 (cl-ninth, cl-tenth): Mark them as inlinable.
94 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
95 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
96 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
97 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
98 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
99 (cl-list*, cl-adjoin): Don't put an autoload manually.
100 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
101 (cl--compiler-macro-list*): Add autoload cookie.
102 (cl--compiler-macro-cXXr): New function.
104 * help-fns.el (help-fns--compiler-macro): New function extracted from
105 describe-function-1; follow aliases and use `compiler-macro' property.
106 (describe-function-1): Use it.
108 2012-06-11 Chong Yidong <cyd@gnu.org>
110 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
111 is uninstalled, if imagemagick is installed.
113 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
115 * emacs-lisp/cl-lib.el: Use lexical-binding.
116 (cl-map-extents, cl-maclisp-member): Remove.
117 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
118 (cl--set-substring, cl--block-wrapper, cl--block-throw)
119 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
120 * emacs-lisp/cl-extra.el: Use lexical-binding.
121 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
122 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
123 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
124 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
125 * emacs-lisp/cl-seq.el: Use lexical-binding.
126 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
127 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
128 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
129 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
130 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
133 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
135 Sync with Tramp 2.2.6-pre.
137 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
138 `print-length' and `print-level' to nil, in order to avoid
139 truncation. Reported by Christopher Schmidt
140 <christopher@ristopher.com>.
142 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
144 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
146 (tramp-compat-copy-directory): Add optional argument
147 COPY-CONTENTS. It is not handled yet.
149 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
150 (tramp-ftp-file-name-p): Simplify.
152 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
153 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
156 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
157 (tramp-methods): Do not use `tramp-password-end-of-line'.
158 (tramp-completion-function-alist-putty): Handle UNIX case.
159 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
160 (tramp-do-file-attributes-with-stat)
161 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
162 gid as real numbers. They could run out of integer range on cygwin.
163 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
164 (tramp-sh-handle-expand-file-name): Handle hops.
165 (tramp-open-connection-setup-interactive-shell):
166 Use `tramp-cleanup'. Move check for busyboxes ...
167 (tramp-find-shell): ... here. Simplify implementation.
168 Set "remote-shell" property also for alternative shells.
169 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
170 If failing, a regular file would be written otherwise.
171 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
172 (tramp-find-inline-encoding): Cache the coding commands in the
173 process cache. Apply test command on the remote side, if defined.
174 (tramp-find-inline-compress): Cache the compress commands in the
176 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
177 when requested. Handle hops.
178 (tramp-current-connection): New defvar.
179 (tramp-maybe-open-connection): Use `tramp-cleanup'.
180 Throw `suppress', if there was a failed connection shortly before.
181 Handle user interrupt. (Bug#10187)
182 (tramp-get-inline-compress, tramp-get-inline-coding):
183 Read connection properties from the process cache.
185 * net/tramp-smb.el (tramp-smb-server-version)
186 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
188 (tramp-smb-prompt): Extend for powershell prompt.
189 (tramp-smb-file-name-handler-alist): Add handlers for
190 `process-file', `shell-command' and `start-file-process'.
191 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
192 (tramp-smb-winexe-shell-command-switch): New defcustoms.
193 (tramp-smb-file-name-p): Simplify.
194 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
195 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
196 (tramp-smb-shell-quote-argument): New defuns.
197 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
198 Implement using "tar". By this, time-stamps are preserved.
199 (tramp-smb-handle-copy-file): Handle also the case of directories.
200 (tramp-smb-do-file-attributes-with-stat)
201 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
202 Use `tramp-get-connection-buffer').
203 (tramp-smb-handle-rename-file): Use "rename", when source and
204 target are on the same share.
205 (tramp-smb-maybe-open-connection): Handle wrong passwords.
206 Use `tramp-smb-server-version'.
207 (tramp-smb-wait-for-output): Remove prompt.
209 * net/tramp.el (top): Require 'cl.
210 (tramp-methods, tramp-rsh-end-of-line):
211 Remove `tramp-password-end-of-line' from docstring.
212 (tramp-save-ad-hoc-proxies): New defcustom.
213 (tramp-completion-function-alist): Adapt docstring.
214 (tramp-default-password-end-of-line): Remove defcustom.
215 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
216 (tramp-user-regexp, tramp-file-name-regexp-unified)
217 (tramp-file-name-regexp-url): Extend regexp by hop separator.
218 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
219 (tramp-remote-file-name-spec-regexp): New defconst.
220 (tramp-file-name-structure): Extend structure for hops.
221 (tramp-get-method-parameter): Move up.
222 (tramp-file-name-p, tramp-dissect-file-name)
223 (with-parsed-tramp-file-name): Handle hops.
224 (tramp-file-name-hop): New defun.
225 (tramp-make-tramp-file-name): New optional arg HOP.
226 (tramp-message-show-progress-reporter-message): New defvar.
227 (tramp-with-progress-reporter): Use it. We cannot use
228 `tramp-message-show-message' here, because this suppresses also
230 (tramp-error-with-buffer): Suppress buffer view, if
231 `tramp-message-show-message' is nil.
232 Use `tramp-get-connection-buffer'.
233 (tramp-cleanup): New defun.
234 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
235 (tramp-file-name-handler): If `debug-on-error' is set, propagate
237 (tramp-completion-handle-file-name-all-completions): Handle hops.
238 Fix an error when called from ido.
239 (tramp-completion-dissect-file-name): Use better local variable
240 name. Add hop to the vector.
241 (tramp-handle-insert-file-contents): Use progress-reporter for the
243 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
245 (tramp-check-for-regexp): Simplify search.
246 (tramp-enter-password): Remove it. Move implementation ...
247 (tramp-action-password): ... here.
248 (tramp-mode-string-to-int, tramp-local-host-p)
249 (tramp-make-tramp-temp-file, tramp-read-passwd)
250 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
251 Set tramp-autoload cookie.
253 * net/trampver.el: Update release number.
255 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
256 Michael Albinus <michael.albinus@gmx.de>
258 * net/tramp.el (tramp-set-completion-function): Fix docstring.
259 (tramp-parse-group, tramp-parse-file)
260 (tramp-parse-shostkeys-sknownhosts): New defuns.
261 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
262 (tramp-parse-shosts-group, tramp-parse-sconfig)
263 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
264 (tramp-parse-sknownhosts, tramp-parse-hosts)
265 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
267 (tramp-parse-passwd-group, tramp-parse-netrc-group)
268 (tramp-parse-putty-group): Don't narrow.
269 (tramp-parse-putty): Make a loop.
270 (tramp-file-name-handler): Catch the `suppress' signal.
272 2012-06-11 Chong Yidong <cyd@gnu.org>
274 * image.el (imagemagick-register-types): Put the ImageMagick entry
275 at the end of image-type-file-name-regexps.
277 2012-06-11 Johan Bockgård <bojohan@gnu.org>
279 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
280 (pcase, pcase-let*, pcase-dolist): Use them.
282 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
284 * emacs-lisp/pcase.el (pcase--let*): New function.
285 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
286 (pcase--expand): Use macroexp-let².
288 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
290 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
291 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
292 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
293 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
294 * emacs-lisp/derived.el: Use pcase instead of `cl'.
295 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
297 2012-06-10 Glenn Morris <rgm@gnu.org>
299 * mail/rmail.el (rmail-yank-current-message): Leave point at
300 correct position. (Bug#11660)
302 2012-06-10 Chong Yidong <cyd@gnu.org>
304 * allout-widgets.el: Fix code header.
306 2012-06-10 Chong Yidong <cyd@gnu.org>
308 * cus-edit.el (customize-changed-options-previous-release):
311 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
313 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
315 2012-06-09 Chong Yidong <cyd@gnu.org>
317 * ebuff-menu.el (electric-buffer-list): Preserve header line.
319 2012-06-09 Martin Rudalics <rudalics@gmx.at>
321 * window.el (special-display-popup-frame): Don't use
322 window--display-buffer (Bug#11651).
324 2012-06-09 Eli Zaretskii <eliz@gnu.org>
326 Fix parallel builds: make sure loaddefs.el is not being written
327 while Lisp files are compiled.
328 (compile): Don't depend on 'mh-autoloads'.
329 (compile-CMD, compile-SH): Depend on 'autoloads'.
330 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
332 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
334 2012-06-09 Chong Yidong <cyd@gnu.org>
336 * face-remap.el (face-remap-add-relative, face-remap-set-base)
337 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
338 Doc fixes (Bug#11225).
340 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
342 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
343 a function if there's a clear indication that it has a compiler-macro.
344 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
345 (macro-declarations-alist): Add arglist to declaration functions.
346 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
347 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
348 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
349 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
350 Also add autoload to find the compiler macro.
351 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
352 (cl--compiler-macro-member, cl--compiler-macro-assoc)
353 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
354 (cl--compiler-macro-get): New functions, replacing calls to
355 cl-define-compiler-macro.
356 (cl-typep) [compiler-macro]: Use macroexp-let².
358 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
360 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
361 string properly, fixes Bug#11473.
363 2012-06-08 Chong Yidong <cyd@gnu.org>
365 * faces.el (set-face-attribute): Doc fix.
366 (modify-face): Don't use :bold and :italic.
367 (error, warning, success): Tweak definitions.
369 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
370 (custom-modified, custom-set, custom-changed, custom-themed)
371 (custom-saved, custom-button, custom-button-mouse)
372 (custom-button-pressed, custom-state, custom-comment-tag)
373 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
374 (custom-group-subtitle): Use new-style face specs.
375 (custom-invalid-face, custom-rogue-face, custom-modified-face)
376 (custom-set-face, custom-changed-face, custom-saved-face)
377 (custom-button-face, custom-button-pressed-face)
378 (custom-documentation-face, custom-state-face)
379 (custom-comment-face, custom-comment-tag-face)
380 (custom-variable-tag-face, custom-variable-button-face)
381 (custom-face-tag-face, custom-group-tag-face-1)
382 (custom-group-tag-face): Remove obsolete face alias.
384 * epa.el (epa-validity-high, epa-validity-medium)
385 (epa-validity-low, epa-mark, epa-field-name, epa-string)
386 (epa-field-name, epa-field-body):
387 * font-lock.el (font-lock-comment-face, font-lock-string-face)
388 (font-lock-keyword-face, font-lock-builtin-face)
389 (font-lock-function-name-face, font-lock-variable-name-face)
390 (font-lock-type-face, font-lock-constant-face):
391 * ido.el (ido-first-match, ido-only-match, ido-subdir)
392 (ido-virtual, ido-indicator, ido-incomplete-regexp):
393 * speedbar.el (speedbar-button-face, speedbar-file-face)
394 (speedbar-directory-face, speedbar-tag-face)
395 (speedbar-selected-face, speedbar-highlight-face)
396 (speedbar-separator-face):
397 * whitespace.el (whitespace-newline, whitespace-space)
398 (whitespace-hspace, whitespace-tab, whitespace-trailing)
399 (whitespace-line, whitespace-space-before-tab)
400 (whitespace-space-after-tab, whitespace-indentation)
402 * emulation/cua-base.el (cua-global-mark):
403 * eshell/em-prompt.el (eshell-prompt):
404 * net/newst-plainview.el (newsticker-new-item-face)
405 (newsticker-old-item-face, newsticker-immortal-item-face)
406 (newsticker-obsolete-item-face, newsticker-date-face)
407 (newsticker-statistics-face, newsticker-default-face):
408 * net/newst-reader.el (newsticker-feed-face)
409 (newsticker-extra-face, newsticker-enclosure-face):
410 * net/newst-treeview.el (newsticker-treeview-face)
411 (newsticker-treeview-new-face, newsticker-treeview-old-face)
412 (newsticker-treeview-immortal-face)
413 (newsticker-treeview-obsolete-face)
414 (newsticker-treeview-selection-face):
415 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
416 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
417 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
418 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
419 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
420 (nxml-outline-active-indicator, nxml-outline-ellipsis):
421 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
423 * progmodes/vera-mode.el (vera-font-lock-number)
424 (vera-font-lock-function, vera-font-lock-interface):
425 * textmodes/table.el (table-cell): Use new-style face specs, and
426 don't use the old :bold and :italic attributes.
428 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
429 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
430 (ebrowse-member-class, ebrowse-progress): Likewise.
431 (ebrowse-tree-mark-face, ebrowse-root-class-face)
432 (ebrowse-file-name-face, ebrowse-default-face)
433 (ebrowse-member-attribute-face, ebrowse-member-class-face)
434 (ebrowse-progress-face): Remove obsolete faces.
436 * progmodes/flymake.el (flymake-errline, flymake-warnline):
437 Inherit from error and warning faces respectively.
439 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
441 (flyspell-incorrect-face, flyspell-duplicate-face):
442 Remove obsolete aliases.
444 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
446 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
449 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
451 * startup.el (argv, argi): Make lexically scoped.
452 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
453 * emacs-lisp/cl-macs.el: Use lexical-binding.
454 Rename cl-bind-* to cl--bind-*.
455 * files.el: Don't require `cl' since it doesn't use it.
456 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
458 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
460 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
461 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
462 instead of calling external sort utility.
463 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
465 2012-06-08 Eli Zaretskii <eliz@gnu.org>
467 * descr-text.el (describe-char): Mention how to insert the
468 character, if the current input method doesn't support it.
469 See the discussion in this thread for the details:
470 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
472 2012-06-08 Sam Steingold <sds@gnu.org>
474 * bindings.el (global-map): Bind XF86Forward to next-buffer and
475 XF86Back to previous-buffer.
476 (minibuffer-local-map): Bind them to next-history-element and
477 previous-history-element respectively.
478 * help-mode.el (help-mode-map): Bind them to help-go-forward and
479 help-go-back respectively.
480 * info.el (Info-mode-map): Bind them to Info-history-forward and
481 Info-history-back respectively.
482 These are the keys next to Up on the ThinkPad keyboard.
484 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
486 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
487 * emacs-lisp/cl-macs.el: Provide itself.
488 (cl--labels-convert-cache): New var.
489 (cl--labels-convert): New function.
490 (cl-flet, cl-labels): New implementation with new semantics, relying on
492 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
493 (cl-closure-vars, cl--function-convert-cache)
494 (cl--function-convert): Move from cl-macs.el.
495 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
496 rename by removing the "cl-" prefix.
497 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
499 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
501 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
502 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
503 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
504 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
505 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
506 (cl-hash-table-count): Add old compatibility aliases.
508 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
509 Use macroexpand-all-environment instead.
510 (cl--old-macroexpand): New var.
511 (cl--sm-macroexpand): New function.
512 (cl-symbol-macrolet): Use it during macro expansion.
513 (cl--function-convert-cache): New var.
514 (cl--function-convert): New function, extracted from
516 (cl-lexical-let): Use it.
518 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
519 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
520 (cl-member): Remove old alias.
522 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
523 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
524 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
525 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
526 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
527 (cl-macroexpand-cmacs): Remove var.
528 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
529 Use macroexpand-all instead.
531 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
533 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
534 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
535 (macroexp-copyable-p): New functions and macros.
536 * emacs-lisp/edebug.el (edebug-unwrap):
537 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
538 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
539 (pcase--let*): Remove.
540 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
541 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
542 macroexp-const-p instead.
543 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
545 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
546 instead of "cl-" for internal definitions. Use macroexp-const-p.
547 (cl-old-bc-file-form): Remove var.
548 (cl-const-exprs-p): Remove fun.
549 (cl-labels, cl-macrolet): Use backquote.
550 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
551 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
552 (cl-define-setf-expander): Rename from cl-define-setf-method.
553 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
555 * international/mule-cmds.el: Don't require CL.
556 (view-hello-file): Don't use `letf'.
558 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
560 * tmm.el (tmm-prompt): Use string-prefix-p.
561 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
562 (tmm-add-prompt): Use minibuffer-completion-help.
563 (tmm-delete-map): Remove.
565 * subr.el (kbd): Make it its own function.
567 2012-06-07 Stefan Merten <smerten@oekonux.de>
569 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
570 Silence compiler warnings. Fix versions.
571 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
572 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
573 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
574 (rst-package-emacs-version-alist): Correct Emacs version to
575 represent major merge with upstream.
576 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
578 2012-06-06 Glenn Morris <rgm@gnu.org>
580 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
581 Only print environment variables if set.
583 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
585 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
586 (macroexp--cons): Rename from maybe-cons.
587 (macroexp--accumulate): Rename from macroexp-accumulate.
588 (macroexp--all-forms): Rename from macroexpand-all-forms.
589 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
590 (macroexp--expand-all): Rename from macroexpand-all-1.
592 2012-06-06 Sam Steingold <sds@gnu.org>
594 * calendar/calendar.el (calendar-in-read-only-buffer):
595 Call `special-mode' to enable the standard read-only keybindings.
597 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
599 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
600 with "loading" messages (bug#11635).
602 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
604 * files.el (enable-remote-dir-locals): New option.
605 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
607 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
608 Ensure, that the temp directory is local.
610 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
611 `temporary-file-directory'.
613 * progmodes/python.el (python-send-region): Ensure, that the
614 temporary file is created also in the remote case.
616 2012-06-06 Glenn Morris <rgm@gnu.org>
618 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
619 (vc-rcs-update-changelog): Use it.
621 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
623 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
624 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
625 (vc-sccs-diff): Replace use of the external vcdiff script.
627 2012-06-05 Glenn Morris <rgm@gnu.org>
629 * ledit.el: Move to obsolete/.
631 2012-06-05 Sam Steingold <sds@gnu.org>
633 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
636 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
638 * emacs-list/cust-print.el: Move to obsolete.
640 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
641 compiler-macro expansion.
643 Add native compiler-macro support.
644 * emacs-lisp/macroexp.el (macroexpand-all-1):
645 Support compiler-macros directly. Properly follow aliases and apply
646 the compiler macros more thoroughly.
647 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
648 macroexpand now properly follows aliases.
649 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
650 (cl-compiler-macroexpand): Use new prop.
651 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
653 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
655 2012-06-05 Martin Rudalics <rudalics@gmx.at>
657 * window.el (get-lru-window, get-mru-window, get-largest-window):
658 New argument NOT-SELECTED to avoid picking the selected window.
659 (window--display-buffer-1, window--display-buffer-2): Replace by
660 new function window--display-buffer
661 (display-buffer-same-window, display-buffer-reuse-window)
662 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
663 Use window--display-buffer.
664 (display-buffer-use-some-window): Remove temporary dedication
665 hack by calling get-lru-window and get-largest-window with
666 NOT-SELECTED argument non-nil. Call window--display-buffer.
668 2012-06-05 Glenn Morris <rgm@gnu.org>
670 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
671 Replace external vcdiff script.
673 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
675 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
677 2012-06-04 Chong Yidong <cyd@gnu.org>
679 * image.el (imagemagick-types-inhibit): Revert last change.
681 (imagemagick-enabled-types): Remove CIN and EPS*.
683 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
685 * emacs-lisp/cl-lib.el: Rename from cl.el.
686 * emacs-lisp/cl.el: New compatibility file.
687 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
688 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
689 to obey the "cl-" prefix.
690 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
692 2012-06-03 Glenn Morris <rgm@gnu.org>
694 * emacs-lisp/authors.el (authors-aliases): Addition.
696 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
699 2012-06-03 Stefan Merten <smerten@oekonux.de>
701 * textmodes/rst.el: Add comments.
702 (rst-transition, rst-adornment): New faces.
703 (rst-adornment-faces-alist): Make default safe to reevaluate.
705 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
706 Improve customization tags.
707 (rst-define-level-faces): Clarify meaning.
709 2012-06-03 Chong Yidong <cyd@gnu.org>
711 * progmodes/compile.el (compilation-mode-line-fail)
712 (compilation-mode-line-run, compilation-mode-line-exit):
714 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
716 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
718 * progmodes/which-func.el (which-func-update-ediff-windows):
719 New function. Use it in ediff-select-hook (Bug#11478).
721 2012-06-03 Chong Yidong <cyd@gnu.org>
723 * bindings.el: Remove explicit help text from format-mode-line.
724 It is now supplied by mode-line-default-help-echo.
725 (mode-line-front-space, mode-line-end-spaces)
726 (mode-line-misc-info): New variables.
727 (mode-line-modes, mode-line-position): Move the default value to
728 the variable definition.
729 (mode-line-default-help-echo): New defcustom.
730 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
731 (mode-line-modified-help-echo): New functions.
732 (mode-line-mule-info, mode-line-modified): Use them.
733 (mode-line-eol-desc, propertized-buffer-identification):
734 Consistency fixes for help text.
735 (mode-line-coding-system-map): Allow using mouse-3 to invoke
736 set-buffer-file-coding-system (Bug#289).
737 (mode-line-mule-info-help-echo): Update help text.
739 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
741 * simple.el (execute-extended-command): Set real-this-command
744 2012-06-02 Chong Yidong <cyd@gnu.org>
746 Remove incorrect uses of "modeline" in comments, docstrings, and
747 function/variable names (Bug#10329).
749 * cus-edit.el (mode-line):
750 * dframe.el (dframe-mouse-hscroll):
751 * emacs-lisp/re-builder.el:
752 * emacs-lisp/easy-mmode.el (define-minor-mode):
753 * frame.el (set-frame-name):
754 * help.el (lookup-minor-mode-from-indicator):
755 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
756 * progmodes/cc-cmds.el (c-toggle-auto-newline)
757 (c-toggle-hungry-state):
758 * progmodes/antlr-mode.el (antlr-language-alist):
759 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
760 * progmodes/vhdl-mode.el (vhdl-mode):
761 * progmodes/which-func.el (which-func, which-func-cleanup-function):
762 * term/ns-win.el (ns-face-at-pos):
763 * term/sup-mouse.el (sup-mouse-report):
764 * textmodes/flyspell.el (flyspell-mode-line-string):
765 * textmodes/ispell.el (ispell-highlight-face):
766 * textmodes/reftex-global.el:
767 * vc/vc-arch.el (vc-arch-mode-line-string):
768 * vc/vc-cvs.el (vc-cvs-mode-line-string):
769 * vc/vc-git.el (vc-git-mode-line-string):
770 * vc/vc-hooks.el (vc-display-status)
771 (vc-default-mode-line-string):
772 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
774 * ansi-color.el (ansi-color-faces-vector): Change default faces.
776 * dired.el (dired-sort-set-mode-line): Rename from
777 dired-sort-set-modeline. All callers changed.
779 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
780 eshell-status-in-modeline.
782 * foldout.el (foldout-mode-line-string): Rename from
783 foldout-modeline-string. All callers changed.
784 (foldout-update-mode-line): Rename from foldout-update-modeline.
786 * subr.el (redraw-modeline): Make into obsolete alias.
788 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
789 timeclock-modeline-display. Make old name an alias.
790 (timeclock-update-mode-line): Likewise. All callers changed.
791 (timeclock-mode-line-display): No need to check before using
793 (timeclock-relative, timeclock-day-over-hook)
794 (timeclock-use-elapsed, timeclock-mode-string)
795 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
797 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
798 crisp-mode-modeline-string.
800 * play/solitaire.el (solitaire-build-mode-line): Rename from
801 solitaire-build-modeline. All callers changed.
803 * play/zone.el (zone-hiding-mode-line): Rename from
804 zone-hiding-modeline. All callers changed.
805 (zone): Remove unusued `modeline-hidden-level' property.
807 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
808 xscheme-modeline-initialize. All callers changed.
810 * strokes.el (strokes-lighter): Rename from
811 strokes-modeline-string.
813 * textmodes/sgml-mode.el (html-face-tag-alist)
814 (html-tag-face-alist): Use mode-line face instead of obsolete
817 2012-06-02 Stefan Merten <smerten@oekonux.de>
819 * textmodes/rst.el: Always require `cl'.
820 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
822 2012-06-02 Chong Yidong <cyd@gnu.org>
824 * image.el (imagemagick-enabled-types): Rename from
825 imagemagick-types-enable. Add many more types.
826 (imagemagick-types-inhibit): Change default to nil.
827 (imagemagick-filter-types): Caller changed.
829 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
831 * emacs-lisp/cl-macs.el: Use backquotes.
832 (cl-transform-function-property): Use eval-and-compile rather than
834 (defstruct): Use declare-function instead of with-no-warnings.
836 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
837 (byte-compile-output-docform): Re-add the print-circle bindings.
838 (byte-compile-fix-header): Use #$ just because it's shorter.
839 (byte-compile-output-file-form): Remove defun/defmacro.
841 2012-06-01 Martin Rudalics <rudalics@gmx.at>
843 * simple.el (choose-completion): Remove now obsolete binding for
846 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
848 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
849 in order to avoid "Stack overflow in regexp matcher".
851 2012-05-31 Glenn Morris <rgm@gnu.org>
853 * image.el: For clarity, call imagemagick-register-types at
854 top-level, rather than relying on a custom :initialize.
855 (imagemagick-types-enable): New option. (Bug#11557)
856 (imagemagick-filter-types): New function. (Bug#7406)
857 (imagemagick-register-types): Use imagemagick-filter-types.
858 If disabling support, remove elements altogether rather
859 than using an impossible regexp.
860 (imagemagick-types-inhibit): Give it the default init function.
862 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
864 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
865 Handle arbitrary file name lengths (Bug#11585).
867 2012-05-31 Martin Rudalics <rudalics@gmx.at>
869 * desktop.el (desktop-read): Clear previous and next buffers for
870 all windows and bury *Messages* buffer (bug#11556).
872 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
874 Add `declare' for `defun'. Align `defmacro's with it.
875 * emacs-lisp/easy-mmode.el (define-minor-mode)
876 (define-globalized-minor-mode): Don't autoload the var definitions.
877 * emacs-lisp/byte-run.el: Use lexical-binding.
878 (defun-declarations-alist, macro-declarations-alist): New vars.
879 (defmacro, defun): Use them.
880 (make-obsolete, define-obsolete-function-alias)
881 (make-obsolete-variable, define-obsolete-variable-alias):
883 (macro-declaration-function): Mark obsolete.
884 * emacs-lisp/autoload.el: Use lexical-binding.
885 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
887 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
889 * textmodes/ispell.el (ispell-with-no-warnings):
891 (ispell-kill-ispell, ispell-change-dictionary):
892 Use `called-interactively-p' for Emacs instead of obsolete
895 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
897 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
898 (macro-declaration-function): Move var from C code.
899 (macro-declaration-function): Define function with defalias.
900 * emacs-lisp/macroexp.el (macroexpand-all-1):
901 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
902 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
903 defun/defmacro any more.
904 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
905 Provide fallback for unknown arglist.
906 (byte-compile-arglist-warn): Change calling convention.
907 (byte-compile-output-file-form): Move print-vars binding.
908 (byte-compile-output-docform): Simplify accordingly.
909 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
910 (byte-compile-defmacro-declaration): Remove.
911 (byte-compile-file-form-defmumble): Generalize to defalias.
912 (byte-compile-output-as-comment): Return byte-positions.
913 Simplify callers accordingly.
914 (byte-compile-lambda): Use `assert'.
915 (byte-compile-defun, byte-compile-defmacro): Remove.
916 (byte-compile-file-form-defalias):
917 Use byte-compile-file-form-defmumble.
918 (byte-compile-defalias-warn): Remove.
920 2012-05-29 Stefan Merten <smerten@oekonux.de>
922 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
923 possible. Fix authors. Improve comments. Improve loading of `cl'.
925 (rst-mode-abbrev-table): Merge definition.
926 (rst-mode): Make sure `font-lock-defaults' is buffer local.
927 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
929 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
931 * calendar/icalendar.el
932 (icalendar-export-region): Export UID properly.
934 2012-05-29 Leo <sdl.web@gmail.com>
935 * calendar/icalendar.el (icalendar-import-format):
936 Add `icalendar-import-format-uid' (Bug#11525).
937 (icalendar-import-format-uid): New.
938 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
941 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
943 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
944 different alternative patterns.
945 (pcase-codegen): Be more careful to preserve identity.
946 (pcase--u1): Don't forget to mark vars as used.
948 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
949 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
950 (byte-compile-from-buffer): ...rather than here.
952 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
953 functions from byte-compile-function-environment.
955 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
957 * window.el (window-deletable-p): Avoid deleting the root window
958 of a frame with an active minibuffer.
960 2012-05-29 Martin Rudalics <rudalics@gmx.at>
962 * simple.el (choose-completion): Use quit-window (Bug#11567).
964 2012-05-29 Chong Yidong <cyd@gnu.org>
966 * whitespace.el (whitespace-cleanup): Fix usage of
967 whitespace-empty-at-bob-regexp (Bug#11492).
969 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
971 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
974 2012-05-29 Juri Linkov <juri@jurta.org>
976 * isearch.el (isearch-mode-map): Bind `M-s _' to
977 `isearch-toggle-symbol'. Bind `M-s c' to
978 `isearch-toggle-case-fold'.
979 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
980 (isearch-forward): Add `M-s _' to the docstring.
981 (isearch-forward-symbol, isearch-toggle-case-fold)
982 (isearch-symbol-regexp): New functions. (Bug#11381)
984 2012-05-29 Juri Linkov <juri@jurta.org>
986 * isearch.el (isearch-word): Add docstring. (Bug#11381)
987 (isearch-occur, isearch-search-and-update): If `isearch-word' is
988 a function, call it to get the regexp.
989 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
990 property `isearch-message-prefix' instead of the string "word ".
991 (isearch-search-fun-default): For the case of `isearch-word',
992 return a lambda that calls re-search-forward/re-search-backward
993 with a regexp returned by `word-search-regexp' or by the function
996 2012-05-29 Juri Linkov <juri@jurta.org>
998 * isearch.el (isearch-search-fun-default): New function.
999 (isearch-search-fun): Move default part to the new function
1000 `isearch-search-fun-default'.
1001 (isearch-search-fun-function): Set the default value to
1002 `isearch-search-fun-default'. (Bug#11381)
1004 * comint.el (comint-history-isearch-end):
1005 Use `isearch-search-fun-default'.
1006 (comint-history-isearch-search): Use `isearch-search-fun-default'
1007 and remove spacial case for `isearch-word'.
1008 (comint-history-isearch-wrap): Remove spacial case for
1011 * hexl.el (hexl-isearch-search-function):
1012 Use `isearch-search-fun-default'.
1014 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1015 Use `word-search-regexp' for `isearch-word'.
1017 * misearch.el (multi-isearch-search-fun):
1018 Use `isearch-search-fun-default'.
1020 * simple.el (minibuffer-history-isearch-search):
1021 Use `isearch-search-fun-default' and remove spacial case for
1023 (minibuffer-history-isearch-wrap): Remove spacial case for
1026 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1027 Remove spacial case for `isearch-word'.
1028 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1030 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1032 Decrease XEmacs incompatibilities.
1033 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1035 (flyspell-delete-region-overlays): Use alternative definition for
1037 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1038 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1039 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1040 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1041 `define-obsolete-face-alias' under XEmacs, but old method.
1043 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1044 `with-no-warnings' definition or Emacs alias.
1045 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1046 (ispell-word): Do not use `region-p' if XEmacs.
1048 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1050 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1051 Check for `ispell-dictionary-base-alist' instead of full
1052 `ispell-dictionary-alist'.
1053 (ispell-init-process): Show spellchecker when starting new Ispell
1056 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1058 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1059 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1061 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1063 * version.el (motif-version-string, gtk-version-string)
1064 (ns-version-string): Declare.
1066 2012-05-27 Juri Linkov <juri@jurta.org>
1068 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1069 after the `eval-defun-1' specialcaseing
1070 like in `edebug-eval-defun' (bug#10181).
1072 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1073 like in `eval-defun-1'.
1075 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1077 * mail/sendmail.el (mail-yank-region):
1078 Recognize rmail-yank-current-message in addition to insert-buffer.
1079 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1080 a *mail* buffer created through rmail-start-mail with sendmail as
1083 2012-05-27 Chong Yidong <cyd@gnu.org>
1085 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1086 Default to 256 (Bug#11267).
1088 * help.el (describe-mode): Doc fix.
1090 2012-05-26 Glenn Morris <rgm@gnu.org>
1092 * w32-fns.el (w32-init-info): Remove.
1093 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1095 * info.el (info-initialize): For self-contained NS builds, put the
1096 included info/ directory at the front. (Bug#2791)
1098 * paths.el (Info-default-directory-list): Make it a defcustom,
1099 mainly so that we can use custom-initialize-delay.
1101 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1103 * subr.el (buffer-has-markers-at): Mark obsolete.
1105 * subr.el (lambda): Use declare.
1107 * emacs-lisp/lisp-mode.el (lambda):
1108 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1110 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1112 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1114 2012-05-26 Glenn Morris <rgm@gnu.org>
1116 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1118 2012-05-25 Glenn Morris <rgm@gnu.org>
1120 * paths.el: Remove no-byte-compile.
1121 * loadup.el: No need to load paths.el uncompiled.
1123 * image.el (imagemagick-types-inhibit): Doc fix.
1125 * version.el: Remove no-byte-compile and associated formatting.
1126 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1127 is ancient code from when there was an "inc-vers.el".
1129 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * progmodes/gdb-mi.el: Minor style changes.
1132 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1133 Turn into minor modes.
1134 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1135 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1136 (gdb-shell): Remove unneeded let-binding.
1137 (gdb-get-many-fields): Eliminate O(n²) behavior.
1139 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1141 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1142 platforms that don't link in fontset.c.
1144 2012-05-25 Juri Linkov <juri@jurta.org>
1146 Use the same diff color scheme as in modern VCSes (bug#10181).
1148 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1149 to avoid confusion with `diff-added' that now uses green colors.
1150 (diff-removed): Use shades of red.
1151 (diff-added): Use shades of green.
1152 (diff-changed): Leave just the yellow color.
1153 (diff-use-changed-face): New variable.
1154 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1155 how to highlight context diff changes.
1156 (diff-refine-change): Use shades of yellow.
1157 (diff-refine-removed): New face that uses shades of red.
1158 (diff-refine-added): New face that uses shades of green.
1159 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1160 `diff-refine-removed' in the call to `smerge-refine-subst'
1161 depending on the value of `diff-use-changed-face'.
1163 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1164 (smerge-other): Use shades of green.
1165 (smerge-base): Use shades of yellow.
1166 (smerge-refined-change): Empty face.
1167 (smerge-refined-removed): New face that uses shades of red.
1168 (smerge-refined-added): New face that uses shades of green.
1169 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1170 args `props-r' and `props-a', and use them. Doc fix.
1171 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1172 on its value use different faces `smerge-refined-change',
1173 `smerge-refined-removed', `smerge-refined-added' in the call to
1174 `smerge-refine-subst'.
1176 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1177 Add face condition `min-colors 88' with shades of red.
1178 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1179 `min-colors 88' with shades of green.
1180 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1181 `min-colors 88' with shades of yellow.
1183 2012-05-24 Glenn Morris <rgm@gnu.org>
1185 * paths.el (prune-directory-list, remote-shell-program): Move to...
1186 * files.el (prune-directory-list, remote-shell-program): ...here.
1187 For the latter, delay initialization, prefer ssh, just search PATH.
1189 * paths.el (term-file-prefix): Move to faces.el (the only user).
1190 * faces.el (term-file-prefix): Move here, make it a defcustom.
1192 * paths.el (news-directory, news-path, news-inews-program):
1193 Move to gnus/nnspool.el.
1195 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1197 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1198 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1199 Make the latter a defcustom, with a delayed initialization.
1201 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1202 These were deleted from Gnus itself late 2010.
1204 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1206 * progmodes/which-func.el (which-func-ff-hook):
1207 Check against user-error, not error.
1209 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1210 cl-specs.el, which no longer exists.
1212 2012-05-22 Glenn Morris <rgm@gnu.org>
1214 * info.el (info-emacs-bug): New command.
1215 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1216 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1218 2012-05-21 Glenn Morris <rgm@gnu.org>
1220 * makefile.w32-in (update-subdirs-SH):
1221 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1223 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1225 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1227 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1228 Simplify Maven regexp, and make sure the file can't start with a space
1231 2012-05-21 Glenn Morris <rgm@gnu.org>
1233 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1234 Scrap superfluous subshells.
1236 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1239 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1241 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1243 * calc/calc.el (calc-ensure-consistent-units): New variable.
1245 * calc/calc-units.el (math-consistent-units-p)
1246 (math-check-unit-consistency): New functions.
1247 (calc-quick-units, calc-convert-units):
1248 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1250 (calc-extract-units): Fix typo.
1252 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1254 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1256 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1257 (flyspell-default-deplacement-commands): Don't spell check after
1258 repeated window/frame switches (e.g. triggered by mouse-movement).
1259 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1260 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1261 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1262 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1264 (flyspell-get-casechars, flyspell-get-not-casechars):
1265 Simplify; Don't bother removing a ] just to add it back.
1266 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1268 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1270 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1272 (math-function-table): Add support for more C functions.
1274 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1276 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1277 (flyspell-debug-signal-word-checked): Protect delay handling for
1278 otherchars against empty otherchars.
1280 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1282 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1283 their respective macro declarations.
1284 * skeleton.el (define-skeleton):
1285 * progmodes/compile.el (define-compilation-mode):
1286 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1287 (define-ibuffer-filter):
1288 * emacs-lisp/generic.el (define-generic-mode):
1289 * emacs-lisp/easy-mmode.el (define-minor-mode)
1290 (define-globalized-minor-mode):
1291 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1292 * emacs-lisp/byte-run.el (defsubst):
1293 * custom.el (deftheme): Add doc-string metadata.
1295 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1299 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1303 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1304 * emacs-lisp/cl-macs.el: Idem.
1305 * emacs-lisp/cl-specs.el: Remove.
1307 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1309 Minor renaming of internal CL functions and variables.
1310 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1311 (cl--position): Rename from cl-position.
1312 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1313 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1314 (cl--random-state): Rename from *random-state*.
1316 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1318 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1319 parens around the arg list (bug#11499).
1321 2012-05-17 Juri Linkov <juri@jurta.org>
1323 * isearch.el (word-search-regexp, word-search-backward)
1324 (word-search-forward, word-search-backward-lax)
1325 (word-search-forward-lax): Move functions from search.c
1326 (bug#10145, bug#11381).
1328 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1330 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1331 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1332 normal word components.
1334 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1336 * minibuffer.el (completion--sifn-requote): Fix last change.
1337 (minibuffer-local-must-match-filename-map):
1338 Move define-obsolete-variable-alias before its var.
1340 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1342 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1344 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1346 (completion--string-equal-p): New function.
1347 (completion--twq-all): Use it to get better assertion failure data.
1349 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1350 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1351 (shell--requote-argument): New functions.
1352 (shell-completion-vars): Use them.
1353 (shell--parse-pcomplete-arguments): Rename from
1354 shell-parse-pcomplete-arguments.
1355 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1356 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1357 Obey comint-file-name-quote-list.
1359 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1360 (smie-indent-keyword): Use it.
1362 2012-05-14 Stefan Merten <smerten@oekonux.de>
1364 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1366 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1368 * net/rlogin.el (rlogin-mode-map): Fix last change.
1370 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1372 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1373 the following \r\n using a single `process-send-string', since the
1374 Lotus SMTP server refuses to accept any commands if they are sent
1375 with two `process-send-string's (Bug#11444).
1377 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * shell.el (shell-parse-pcomplete-arguments):
1380 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1382 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1384 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1385 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1386 (image-transform-width, image-transform-fit-width): New functions.
1387 (image-transform-properties): Use them.
1388 (image-transform-check-size): New function.
1389 (image-toggle-display-image): Use it (for testing).
1390 (image-transform-set-rotation): Reduce angle mod 360.
1391 Delete obsolete comment.
1393 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1395 * image-mode.el: Fix scaling (bug#11399).
1396 (image-transform-resize): Doc fix.
1397 (image-transform-properties): Default scale is 1 and height should
1400 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1402 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1403 than hard-coding `car', to fix misbehavior when moving forward.
1405 2012-05-13 Chong Yidong <cyd@gnu.org>
1407 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1408 (tabulated-list-entries, tabulated-list-padding)
1409 (tabulated-list-sort-key): Make permanent-local.
1411 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1412 (electric-buffer-list): Put electric buffer menu
1413 command descriptions in this docstring, instead of the docstring
1414 of electric-buffer-menu-mode. Code cleanups.
1415 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1416 Electric-buffer-menu-mode.
1417 (electric-buffer-update-highlight): Minor code cleanup.
1419 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1421 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1424 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1426 Move define-obsolete-variable-alias before the var's definition.
1427 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1428 * tooltip.el (tooltip-hook):
1429 * textmodes/reftex-toc.el (reftex-toc-map):
1430 * textmodes/reftex-sel.el (reftex-select-label-map)
1431 (reftex-select-bib-map):
1432 * textmodes/reftex-index.el (reftex-index-map)
1433 (reftex-index-phrases-map):
1434 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1435 * progmodes/meta-mode.el (meta-mode-map):
1436 * novice.el (disabled-command-hook):
1437 * loadhist.el (unload-hook-features-list):
1438 * frame.el (blink-cursor):
1439 * files.el (find-file-not-found-hooks, write-file-hooks)
1440 (write-contents-hooks):
1441 * emulation/tpu-edt.el (GOLD-map):
1442 * emacs-lock.el (emacs-lock-from-exiting):
1443 * emacs-lisp/generic.el (generic-font-lock-defaults):
1444 * emacs-lisp/chart.el (chart-map):
1445 * dos-fns.el (register-name-alist):
1446 * dired-x.el (dired-omit-files-p):
1447 * desktop.el (desktop-enable):
1448 * cus-edit.el (custom-mode-hook):
1449 * buff-menu.el (buffer-menu-mode-hook):
1450 * bookmark.el (bookmark-read-annotation-text-func)
1451 (bookmark-exit-hooks):
1452 * allout.el (allout-mode-deactivate-hook)
1453 (allout-exposure-change-hook, allout-structure-added-hook)
1454 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1455 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1456 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1457 comes before the corresponding variable's definition.
1459 2012-05-12 Chong Yidong <cyd@gnu.org>
1461 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1462 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1463 (Buffer-menu-mode-map): Bind it.
1464 (Buffer-menu--pretty-name): Add a mouse-face property.
1466 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1468 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1469 (prolog-upper-case-string, prolog-lower-case-string)
1470 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1471 (prolog-use-smie, prolog-smie-grammar): New vars.
1472 (prolog-smie-forward-token, prolog-smie-backward-token)
1473 (prolog-smie-rules): New funs.
1474 (prolog-comment-indent): Remove.
1475 (prolog-mode-variables): Use default comment indentation instead.
1477 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1478 (prolog-mode): Don't call them any more.
1479 (prolog-electric-colon, prolog-electric-dash)
1480 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1482 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1484 * minibuffer.el (completion--twq-all): Again, allow case differences.
1486 * term.el: Move keymap initialization code to be more idiomatic.
1487 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1488 (term-terminal-menu): Move initialization into declaration.
1489 (term-escape-char): Let the user set it in her .emacs.
1491 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1492 Provide SMIE-based indentation (not enabled by default yet).
1493 (sh-mode-map): Don't bind electric keys.
1494 Use electric-pair-mode instead of skeleton-pair.
1495 (sh-assignment-regexp): Fit within 80 columns.
1496 (sh-indent-supported): Specify actual shell name instead of boolean.
1497 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1498 (sh-maybe-here-document): Use it. Make obsolete.
1499 (sh-electric-here-document-mode) New minor mode.
1500 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1501 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1502 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1503 (sh-smie-rc-grammar, sh-use-smie): New vars.
1504 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1505 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1506 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1507 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1508 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1509 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1510 (sh-set-shell): Use smie-setup if requested.
1512 * term.el (term-set-escape-char): Properly set term-escape-char.
1513 See http://stackoverflow.com/questions/10524656.
1515 2012-05-10 Chong Yidong <cyd@gnu.org>
1517 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1518 Use url-generic-parse-url, and handle host names and Windows
1520 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1521 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1522 URL schemes to work on.
1523 (ffap--toggle-read-only): New function.
1524 (ffap-read-only, ffap-read-only-other-window)
1525 (ffap-read-only-other-frame): Use it.
1526 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1527 necessary for ffap-url-unwrap-remote.
1529 2012-05-10 Dave Abrahams <dave@boostpro.com>
1531 * cus-start.el (create-lockfiles): Add it.
1533 2012-05-09 Chong Yidong <cyd@gnu.org>
1535 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1536 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1538 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1540 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1542 2012-05-09 Chong Yidong <cyd@gnu.org>
1544 * ansi-color.el (ansi-color-process-output): Check for validity of
1545 comint-last-output-start before using it. This avoids a bad
1546 interaction with gdb-mi's input/output buffer.
1548 2012-05-09 Glenn Morris <rgm@gnu.org>
1550 * files.el (dir-locals-read-from-file):
1551 Mention dir-locals in any error message.
1553 2012-05-09 Chong Yidong <cyd@gnu.org>
1555 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1556 package (Bug#11410).
1558 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1559 variables into description.
1561 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1564 shell-delimiter-argument-list (bug#11348).
1565 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1567 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1569 * textmodes/rst.el: Silence byte-compiler warnings.
1570 (rst-re-alist, rst-reset-section-caches): Move around.
1571 (rst-re): Use `characterp', not `char-valid-p'.
1572 (font-lock-beg, font-lock-end): Declare.
1574 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1575 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1577 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1579 2012-05-08 Glenn Morris <rgm@gnu.org>
1581 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1583 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1585 * vc/log-edit.el: Add GNU coding standards highlighting.
1586 (log-edit-font-lock-gnu-style)
1587 (log-edit-font-lock-gnu-keywords): New vars.
1588 (log-edit-font-lock-keywords): New fun.
1589 (log-edit-mode): Don't fold case in font-lock.
1590 (log-edit-font-lock-keywords): Do not assume case-folding.
1592 * imenu.el: Misc cleanup. Make docstrings out of comments.
1593 Use lexical-binding.
1594 (imenu--index-alist, imenu--last-menubar-index-alist)
1595 (imenu-menubar-modified-tick): Use defvar-local.
1596 (imenu--split-menu): Remove unused var.
1597 (imenu--cleanup-seen): Declare as global.
1598 (imenu--cleanup): Use dolist.
1600 * subr.el (defvar-local): Add debug spec and doc-string position.
1602 2012-05-08 Glenn Morris <rgm@gnu.org>
1604 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1605 * language/english.el, language/georgian.el, language/greek.el:
1606 * language/japanese.el, language/khmer.el, language/korean.el:
1607 * language/lao.el, language/misc-lang.el, language/romanian.el:
1608 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1609 * language/thai.el, language/utf-8-lang.el:
1610 Remove no-byte-compile setting.
1612 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1614 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1616 * progmodes/make-mode.el (makefile-browse):
1617 Remove unnecessary interactive. (Bug#11324)
1619 2012-05-07 Glenn Morris <rgm@gnu.org>
1621 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1623 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1625 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1627 * loadup.el: Preload newcomment.el.
1628 * newcomment.el: Move autoload-only code to toplevel.
1630 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1631 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1632 Handle new :right-align column property.
1633 (tabulated-list-print-col): Idem, plus use `display' text-property to
1634 try and preserve alignment for variable pitch fonts.
1636 2012-05-07 Chong Yidong <cyd@gnu.org>
1638 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1639 (tabulated-list-use-header-line): New var.
1640 (tabulated-list-init-header): Use it.
1641 (tabulated-list-print-fake-header): New function.
1642 (tabulated-list-print): Use it.
1643 (tabulated-list-sort-button-map): Add non-header-line commands.
1644 (tabulated-list-init-header): Add column name property to basic
1646 (tabulated-list-col-sort): Handle non-header-line button case.
1647 (tabulated-list--sort-by-column-name): Fix a corner case.
1649 * buff-menu.el (list-buffers--refresh):
1650 Handle Buffer-menu-use-header-line.
1652 2012-05-06 Chong Yidong <cyd@gnu.org>
1654 * buff-menu.el: Convert to Tabulated List mode.
1655 (Buffer-menu-buffer+size-width): Make obsolete.
1656 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1657 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1658 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1659 documentation into docstring of buffer-menu.
1660 (Buffer-menu-toggle-files-only): Add an informative message.
1661 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1662 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1663 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1664 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1665 (Buffer-menu-execute, Buffer-menu-select)
1666 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1667 (Buffer-menu-bury): Use Tabulated List machinery.
1668 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1669 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1671 (list-buffers--refresh): New function.
1672 (list-buffers-noselect): Use it.
1673 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1674 (Buffer-menu--pretty-file-name): New helper functions.
1676 * loadup.el: Preload tabulated-list.
1678 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1679 tabulated-list-sort-column.
1680 (tabulated-list-init-header): Add the initial aligning space even
1681 if tabulated-list-padding is zero.
1683 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1685 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1686 whose cdr is not a cons cell correctly (bug#11038).
1688 2012-05-06 Chong Yidong <cyd@gnu.org>
1690 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1691 Accept additional plist in column descriptors.
1692 (tabulated-list-init-header): Obey it.
1693 (tabulated-list-get-entry): New function.
1694 (tabulated-list-put-tag): Use it. Use string-width instead of
1696 (tabulated-list--column-number): New function.
1697 (tabulated-list-print): Use it.
1698 (tabulated-list-print-col): New function.
1699 Set `tabulated-list-column-name' property on each column's text.
1700 (tabulated-list-print-entry): Use it.
1701 (tabulated-list-delete-entry, tabulated-list-set-col):
1703 (tabulated-list-sort-column): New command (Bug#11337).
1705 * buff-menu.el (list-buffers): Move C-x C-b binding from
1706 buff-menu.el to bindings.el.
1708 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1709 :advertised-binding feature.
1711 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1713 * progmodes/compile.el (compilation-internal-error-properties):
1714 Calculate start position correctly when end-col is set but
1715 end-line is not (Bug#11382).
1717 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1719 * man.el (Man-unindent): Use text-property-default-nonsticky to
1720 prevent untabify from inheriting face properties (Bug#11408).
1722 2012-05-05 Stefan Merten <smerten@oekonux.de>
1724 * textmodes/rst.el: Major merge with upstream development up to
1725 Docutils SVN r7399 / rst.el V1.2.1.
1727 Clarify maintainership and authors.
1729 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1730 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1731 (rst-official-version, rst-official-cvs-rev, rst-version)
1732 (rst-package-emacs-version-alist): New functions and variables
1733 for version information.
1735 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1736 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1737 (rst-mode-syntax-table, rst-mode): New and corrected functions
1738 and variables representing reStructuredText features.
1740 (rst-re): New function for reStructuredText regexes. Use in
1743 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1744 (rst-mode-map): Rebind keys.
1746 (rst-mode-lazy, rst-font-lock-keywords)
1747 (rst-font-lock-extend-region)
1748 (rst-font-lock-extend-region-internal)
1749 (rst-font-lock-extend-region-extend)
1750 (rst-font-lock-find-unindented-line-limit)
1751 (rst-font-lock-find-unindented-line-match)
1752 (rst-adornment-level, rst-font-lock-adornment-level)
1753 (rst-font-lock-adornment-match)
1754 (rst-font-lock-handle-adornment-pre-match-form)
1755 (rst-font-lock-handle-adornment-matcher): Major revision of
1756 font-locking. Integrate with other code. Use `jit-lock-mode'.
1758 (rst-preferred-adornments, rst-adjust-hook)
1759 (rst-new-adornment-down, rst-preferred-bullets)
1760 (rst-preferred-bullets, rst-indent, rst-indent-width)
1761 (rst-indent-field, rst-indent-literal-normal)
1762 (rst-indent-literal-minimized, rst-indent-comment): Change,
1763 extend and improve customization.
1765 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1766 (rst-normalize-cursor-position, rst-get-decoration)
1767 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1768 (rst-rstrip, rst-toc-insert-find-delete-contents)
1769 (rst-shift-fill-region, rst-compute-bullet-tabs)
1770 (rst-debug-print-tabs, rst-debug-mark-found)
1771 (rst-shift-region-guts, rst-shift-region-right)
1772 (rst-shift-region-left, rst-use-char-classes)
1773 (rst-font-lock-keywords-function)
1774 (rst-font-lock-indentation-point)
1775 (rst-font-lock-find-unindented-line-begin)
1776 (rst-font-lock-find-unindented-line-end)
1777 (rst-font-lock-find-unindented-line)
1778 (rst-font-lock-adornment-point, rst-font-lock-level)
1779 (rst-adornment-level-alist): Remove functions and variables.
1781 (rst-compare-adornments, rst-get-adornment-match)
1782 (rst-suggest-new-adornment, rst-get-adornments-around)
1783 (rst-adornment-complete-p, rst-get-next-adornment)
1784 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1785 (rst-straighten-adornments): Standardize function names to
1786 use "adornment" instead of "decoration". Correct callers.
1787 Similar standardizing in many places.
1789 (rst-update-section, rst-adjust, rst-promote-region)
1790 (rst-enumerate-region, rst-bullet-list-region)
1791 (rst-repeat-last-character): Correct use of `interactive'.
1793 (rst-classify-adornment, rst-find-all-adornments)
1794 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1795 (rst-find-leftmost-column, rst-repeat-last-character):
1798 (rst-find-title-line, rst-reset-section-caches)
1799 (rst-get-adornments-around, rst-adjust-adornment-work)
1800 (rst-arabic-to-roman, rst-roman-to-arabic)
1801 (rst-insert-list-pos, rst-insert-list-new-item)
1802 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1805 (rst-all-sections, rst-section-hierarchy)
1806 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1809 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1810 configuration instead of only buffer. Change where necessary.
1812 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1813 (rst-shift-region, rst-adaptive-fill): New functions for
1814 indentation and filling.
1816 (rst-comment-line-break, rst-comment-indent)
1817 (rst-comment-insert-comment, rst-comment-region)
1818 (rst-uncomment-region): New functions for handling comments.
1820 (rst-compile): Quote shell arguments.
1822 (rst-compile-pdf-preview, rst-compile-slides-preview):
1823 Delete temporary files after use.
1825 2012-05-05 Glenn Morris <rgm@gnu.org>
1827 * calendar/cal-html.el: Optionally include holidays in the output.
1828 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1829 (cal-html-holidays): New option.
1830 (cal-html-css-default): Add holiday entry.
1831 (holiday-in-range): Autoload it.
1832 (cal-html-htmlify-entry): Add optional class argument.
1833 (cal-html-htmlify-list): Add optional holidays argument.
1834 (cal-html-insert-agenda-days): Include holidays in the output.
1835 (cal-html-one-month): Maybe include holidays.
1837 * calendar/holidays.el (holiday-in-range):
1838 Move here from cal-tex-list-holidays.
1839 * calendar/cal-tex.el (cal-tex-list-holidays):
1840 Make it an obsolete alias for holiday-in-range. Update all callers.
1842 2012-05-05 Chong Yidong <cyd@gnu.org>
1844 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1847 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1849 * files.el (file-auto-mode-skip): New var.
1850 (set-auto-mode-1): Use it.
1852 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1854 * repeat.el: Use lexical-binding.
1855 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1856 (repeat-undo-count): Remove.
1858 * progmodes/octave-mod.el (octave-abbrev-start):
1859 * progmodes/f90.el (f90-abbrev-start):
1860 * face-remap.el (text-scale-adjust):
1861 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1863 * emacs-lisp/pcase.el (pcase--let*): New function.
1864 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1866 (pcase--split-pred): Be more clever about ruling out overlap between
1867 a predicate and some constant pattern.
1868 (pcase--q1): Use `null' instead of (eq foo nil).
1870 * subr.el (setq-local, defvar-local): New macros.
1871 (kbd): Redefine as an alias.
1872 (with-selected-window): Leave unrelated frames alone.
1873 (set-temporary-overlay-map): New function.
1875 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1877 * subr.el (user-error): New function.
1878 * window.el (switch-to-buffer):
1879 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1880 (smerge-match-conflict):
1881 * simple.el (previous-matching-history-element)
1882 (next-matching-history-element, goto-history-element, undo-more)
1884 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1885 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1886 (next-file, tags-loop-scan, list-tags, complete-tag):
1887 * progmodes/compile.el (compilation-loop):
1888 * mouse.el (mouse-minibuffer-check):
1889 * man.el (Man-bgproc-sentinel, Man-goto-page):
1890 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1891 (Info-history-forward, Info-follow-reference, Info-menu)
1892 (Info-extract-menu-item, Info-extract-menu-counting)
1893 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1894 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1895 (Info-next-reference, Info-prev-reference, Info-index)
1896 (Info-index-next, Info-follow-nearest-node)
1897 (Info-copy-current-node-name):
1898 * imenu.el (imenu--make-index-alist)
1899 (imenu-default-create-index-function, imenu-add-to-menubar):
1900 * files.el (basic-save-buffer, recover-file):
1901 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1902 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1903 (checkdoc-message-text, checkdoc-defun):
1904 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1905 * cus-edit.el (customize-changed-options, customize-rogue)
1906 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1907 (custom-variable-mark-to-reset-standard)
1908 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1910 * completion.el (check-completion-length):
1911 * comint.el (comint-search-arg)
1912 (comint-previous-matching-input-string-position)
1913 (comint-previous-matching-input)
1914 (comint-replace-by-expanded-history-before-point, comint-send-input)
1915 (comint-copy-old-input, comint-backward-matching-input)
1916 (comint-goto-process-mark, comint-set-process-mark):
1917 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1918 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1920 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1922 * dabbrev.el (dabbrev--ignore-case-p): New function.
1923 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1926 * files.el (automount-dir-prefix): Mark as obsolete.
1928 2012-05-04 Glenn Morris <rgm@gnu.org>
1930 * patcomp.el, play/bruce.el: Move to obsolete/.
1932 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1934 Fix minor Y10k bugs.
1935 * arc-mode.el (archive-unixdate):
1936 * autoinsert.el (auto-insert-alist):
1937 * calc/calc-forms.el (math-this-year):
1938 * emacs-lisp/copyright.el (copyright-current-year)
1939 (copyright-update-year, copyright):
1940 * tar-mode.el (tar-clip-time-string):
1941 * time.el (display-time-update):
1942 Don't assume years have 4 digits.
1944 2012-05-04 Chong Yidong <cyd@gnu.org>
1946 * dos-w32.el (file-name-buffer-file-type-alist)
1947 (direct-print-region-use-command-dot-com):
1948 * ffap.el (ffap-menu-regexp):
1949 * find-file.el (ff-special-constructs):
1950 * follow.el (follow-debug):
1951 * forms.el (forms--debug):
1952 * iswitchb.el (iswitchb-all-frames):
1953 * ido.el (ido-all-frames):
1954 * emacs-lisp/timer.el (timer-max-repeats):
1955 * mail/feedmail.el (feedmail-mail-send-hook)
1956 (feedmail-mail-send-hook-queued):
1957 * mail/footnote.el (footnote-signature-separator):
1958 * mail/mailabbrev.el (mail-alias-separator-string)
1959 (mail-abbrev-mode-regexp):
1960 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1961 * progmodes/idlwave.el (idlwave-libinfo-file)
1962 (idlwave-default-completion-case-is-down)
1963 (idlwave-library-routines): Convert defvars to defcustoms.
1965 * mail/rmail.el (rmail-decode-mime-charset):
1966 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1967 (idlwave-shell-fix-inserted-breaks)
1968 (idlwave-shell-activate-alt-keybindings)
1969 (idlwave-shell-use-breakpoint-glyph):
1970 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1972 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1974 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1976 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1978 * progmodes/verilog-mode.el (font-lock-keywords):
1979 Fix mis-highligting auto. Reported by Craig Barner.
1980 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1981 defines from global name space. Reported by Dan Dever.
1982 (verilog-auto-reset, verilog-auto-reset-widths)
1983 (verilog-auto-tieoff): Support using unbased numbers for
1984 AUTORESET and AUTOTIEOFF.
1985 (verilog-submit-bug-report): Update variable list.
1986 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1987 parenthesis from not matching. Reported by Michael Rytting.
1988 (verilog-auto-template-lint): Fix hash error when linting modules
1989 with no used templates.
1990 (verilog-warn, verilog-warn-error)
1991 (verilog-warn-fatal): When non-interactive report multiple
1992 warnings before exiting. Suggested by Brad Dobbie.
1993 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1994 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1995 to report unused template errors. Reported by Brad Dobbie.
1996 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1997 nets, bug438. Reported by Vns Blore.
1998 (verilog-auto-inout-module, verilog-auto-reg)
1999 (verilog-read-decls, verilog-read-sub-decls-sig)
2000 (verilog-signals-edit-wire-reg, verilog-signals-with):
2001 Fix passing of Verilog data types in ANSI input/output ports
2002 such as "output logic" into the AUTOs. Special case "wire" and
2003 "reg" for backwards compatibility presuming Verilog 2001.
2004 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2005 (verilog-preprocess): Fix replication of preprocess output.
2006 Reported by Brad Dobbie.
2007 (verilog-auto-inst-interfaced-ports):
2008 Create verilog-auto-inst-interfaced-ports, bug429.
2009 Reported by Julian Gorfajn.
2010 (verilog-after-save-font-hook)
2011 (verilog-before-save-font-hook): New variable.
2012 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2013 (verilog-save-font-mods): Wrap disabling fontification, reported
2015 (verilog-do-indent, verilog-pretty-declarations-auto)
2016 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2017 Reported by Pierre-David Pfister.
2018 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2019 of class declarations, bug292. Reported by Kevin Heilman.
2020 (verilog-read-decls): Fix 'parameter type' not appearing in
2021 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2022 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2023 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2024 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2025 Reported by David Kravitz.
2027 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2029 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2030 assignment with tests in ifs and for loops.
2031 (verilog-extended-complete-re, verilog-complete-reg): Change so
2032 that DPI inport functions don't look like fuction declarations.
2033 (verilog-pretty-expr): Don't line up assignment
2034 operations to the test and increment in if and for loops
2035 (verilog-extended-complete-re, verilog-complete-reg): Change so
2036 that DPI inport functions don't look like fuction declarations
2038 2012-05-03 Kenichi Handa <handa@m17n.org>
2040 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2041 decoding, and show a warning message without signaling an error
2044 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2046 * emacs-lisp/bytecomp.el
2047 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2048 since cconv.el might have introduced :fun-body, internal-make-closure,
2049 and friends for bytecomp to handle (bug#11391).
2050 * custom.el (defcustom): Avoid ((λ ..) ..).
2052 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2056 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2058 * notifications.el (dbus-debug):
2059 * term/linux.el (gpm-mouse-enable):
2060 * term/screen.el (xterm-register-default-colors): Declare.
2062 2012-05-02 Chong Yidong <cyd@gnu.org>
2064 * cus-start.el (gc-cons-percentage, exec-suffixes)
2065 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2066 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2067 (make-cursor-line-fully-visible, void-text-area-pointer)
2068 (font-list-limit): Add customization data.
2070 * allout.el (allout-exposure-change-functions)
2071 (allout-structure-added-functions)
2072 (allout-structure-deleted-functions)
2073 (allout-structure-shifted-functions): Rename abnormal hooks from
2074 *-hook, and convert to defcustoms.
2075 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2076 Convert to defcustoms.
2077 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2079 * allout-widgets.el: Hook callers changed.
2081 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2083 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2084 the yanked message in preference to the default value of
2085 buffer-file-coding-system.
2087 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2089 * window.el (display-buffer--action-function-custom-type):
2092 2012-05-02 Alan Mackenzie <acm@muc.de>
2094 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2096 2012-05-01 Glenn Morris <rgm@gnu.org>
2098 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2100 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2102 * cus-edit.el (custom-variable-documentation): Simplify with format.
2104 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2105 Stefan Monnier <monnier@iro.umontreal.ca>
2107 * simple.el (suggest-key-bindings, execute-extended-command):
2108 Move from keyboard.c.
2110 2012-05-01 Chong Yidong <cyd@gnu.org>
2112 * follow.el: Eliminate advice.
2113 (set-process-filter, process-filter, sit-for): Advice deleted.
2114 (follow-mode-off-hook): Obsolete hook removed.
2115 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2117 (follow-auto): Use a :set function.
2118 (follow-mode): Rewritten. Don't advise process filters.
2119 (follow-switch-to-current-buffer-all, follow-scroll-up)
2120 (follow-scroll-down): Assume follow-mode is bound.
2121 (follow-comint-scroll-to-bottom)
2122 (follow-align-compilation-windows): New functions.
2123 (follow--window-sorter): New function.
2124 (follow-all-followers): Use it to explicitly sort windows by their
2125 positions; don't make assumptions about next-window order.
2126 (follow-windows-start-end, follow-delete-other-windows-and-split)
2127 (follow-calc-win-start): Doc fix.
2128 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2129 vertical-motion unnecessarily.
2130 (follow-adjust-window): New function.
2131 (follow-post-command-hook): Use it.
2132 (follow-call-set-process-filter, follow-call-process-filter)
2133 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2134 (follow-stop-intercept-process-output, follow-generic-filter):
2136 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2137 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2138 New functions, replacing advice on scroll-bar-* commands.
2139 (follow-mwheel-scroll): New function (Bug#4112).
2141 * comint.el (comint-adjust-point): New function.
2142 (comint-postoutput-scroll-to-bottom): Use it.
2143 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2145 2012-05-01 Glenn Morris <rgm@gnu.org>
2147 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2148 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2149 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2150 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2151 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2152 Remove no-byte-compile setting.
2154 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2156 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2157 all-completions code to not return a number in the last cdr.
2159 2012-04-30 Leo Liu <sdl.web@gmail.com>
2161 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2164 2012-04-29 Chong Yidong <cyd@gnu.org>
2166 * follow.el (follow-calc-win-end): Rewrite to handle partial
2167 screen lines correctly (Bug#8390).
2168 (follow-avoid-tail-recenter): Minor cleanup.
2170 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2172 Avoid the obsolete `assoc' package.
2173 * speedbar.el (speedbar-refresh): Avoid adelete.
2174 (speedbar-file-lists): Simplify and avoid aput.
2175 * man.el (Man--sections, Man--refpages): New vars, replacing
2176 Man-sections-alist and Man-refpages-alist.
2177 (Man-build-section-alist, Man-build-references-alist):
2178 Use them; avoid aput.
2179 (Man--last-section, Man--last-refpage): New vars.
2180 (Man-follow-manual-reference): Use them.
2181 Use the `default' arg of completing-read.
2182 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2184 2012-04-27 Chong Yidong <cyd@gnu.org>
2186 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2188 * startup.el (x-apply-session-resources): New function.
2190 * term/ns-win.el (ns-initialize-window-system):
2191 * term/w32-win.el (w32-initialize-window-system):
2192 * term/x-win.el (x-initialize-window-system): Use it to properly
2193 set menu-bar-mode and other vars from X resources, even if the
2194 initial frame is not a window-system frame (Bug#2299).
2196 * subr.el (read-key): Avoid running filter function when setting
2197 up temporary tool bar entries (Bug#9922).
2199 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2201 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2204 2012-04-27 Chong Yidong <cyd@gnu.org>
2206 * select.el (xselect--encode-string): New function, split from
2207 xselect-convert-to-string.
2208 (xselect-convert-to-string): Use it.
2209 (xselect-convert-to-filename, xselect-convert-to-os)
2210 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2211 returned strings are properly encoded (Bug#11315).
2213 2012-04-27 Chong Yidong <cyd@gnu.org>
2215 * simple.el (delete-active-region): Move to killing custom group.
2217 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2219 * progmodes/which-func.el (which-func-current): Quote %
2220 characters for mode-line processing.
2222 2012-04-27 Chong Yidong <cyd@gnu.org>
2224 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2225 reaching eob (Bug#11286).
2227 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2229 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2230 (gdb): Make it buffer-local and init to zero.
2231 (gdb-control-commands-regexp): New variable.
2232 (gdb-send): Don't wrap in "-interpreter-exec console" if
2233 gdb-control-level is positive. Increment gdb-control-level
2234 whenever the command matches gdb-control-commands-regexp, and
2235 decrement it each time the command is "end". (Bug#11279)
2237 2012-04-27 Martin Rudalics <rudalics@gmx.at>
2239 * window.el (adjust-window-trailing-edge, enlarge-window)
2240 (shrink-window, window-resize):
2241 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2242 windows (Bug#11276).
2244 2012-04-27 Chong Yidong <cyd@gnu.org>
2246 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2247 fix "missing prefix" warning. All callers changed.
2249 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * emacs-lisp/assoc.el: Move to obsolete/.
2253 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2255 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2257 * term/ns-win.el (ns-define-service):
2258 * progmodes/pascal.el (pascal-goto-defun):
2259 * progmodes/js.el (js--read-tab):
2260 * progmodes/etags.el (tags-lazy-completion-table):
2261 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2262 * emacs-lisp/ewoc.el (ewoc--wrap):
2263 * emacs-lisp/assoc.el (aput, adelete, amake):
2264 * doc-view.el (doc-view-convert-current-doc):
2265 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2267 2012-04-26 Chong Yidong <cyd@gnu.org>
2269 * image.el (image-type-from-buffer): Only return supported image
2272 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2273 value, for symmetry with diff-end-of-hunk.
2274 (diff-split-hunk, diff-find-source-location)
2275 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2276 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2277 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2278 compute the relevant hunk or file properly (Bug#6005).
2279 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2281 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2290 * vc/vc.el: Replace lexical-let by lexical-binding.
2291 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2292 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2293 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2295 2012-04-26 Chong Yidong <cyd@gnu.org>
2297 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2298 (diff-mode-shared-map): Bind it to / and [remap undo].
2300 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2301 (ediff-window-setup-function): Use it as the default, to set up
2302 windows based on whether the current frame is graphical (Bug#2138).
2303 (ediff-choose-window-setup-function-automatically): Make obsolete.
2305 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2307 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2309 * ffap.el: Remove old code for obsolete package.
2310 (ffap-complete-as-file-p): Remove.
2312 Use completion-table-with-quoting for comint and pcomplete.
2313 * comint.el (comint--unquote&requote-argument)
2314 (comint--unquote-argument, comint--requote-argument): New functions.
2315 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2316 (comint-quote-filename): Use regexp-opt-charset.
2317 (comint--common-suffix, comint--common-quoted-suffix)
2318 (comint--table-subvert): Remove.
2319 (comint-unquote-function, comint-requote-function): New vars.
2320 (comint--complete-file-name-data): Use them with
2321 completion-table-with-quoting.
2322 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2323 * pcomplete.el (pcomplete-arg-quote-list)
2324 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2325 (pcomplete-unquote-argument-function): Default to non-nil.
2326 (pcomplete-unquote-argument): Simplify.
2327 (pcomplete--common-quoted-suffix): Remove.
2328 (pcomplete-requote-argument-function): New var.
2329 (pcomplete--common-suffix): New function.
2330 (pcomplete-completions-at-point): Use completion-table-with-quoting
2331 and completion-table-subvert.
2333 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2334 (minibuffer--double-dollars): Preserve properties.
2335 (completion--sifn-requote): New function.
2336 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2338 * minibuffer.el: Add support for completion of quoted/escaped data.
2339 (completion-table-with-quoting, completion-table-subvert): New funs.
2340 (completion--twq-try, completion--twq-all): New functions.
2341 (completion--nth-completion): New function.
2342 (completion-try-completion, completion-all-completions): Use it.
2344 2012-04-25 Leo Liu <sdl.web@gmail.com>
2346 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2347 Use compilation-message if available to find real filename.
2349 2012-04-25 Chong Yidong <cyd@gnu.org>
2351 * vc/diff-mode.el (diff-setup-whitespace): New function.
2352 (diff-mode): Use it.
2354 * vc/diff.el (diff-sentinel):
2355 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2356 Whitespace mode variables based on diff style (Bug#8612).
2358 2012-04-25 Leo Liu <sdl.web@gmail.com>
2360 * progmodes/python.el (python-send-region): Add suffix .py to the
2363 * files.el (auto-mode-alist): Use javascript-mode instead.
2365 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2367 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2369 * soap-client.el (soap-resolve-references-for-sequence-type)
2370 (soap-resolve-references-for-array-type): Hack to prevent self
2371 references, see Bug#9.
2372 (soap-parse-envelope): Report the contents of the 'detail' node
2373 when receiving a fault reply.
2374 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2376 * soap-inspect.el (soap-sample-value-for-simple-type)
2377 (soap-inspect-simple-type): New function.
2379 * soap-client.el (soap-simple-type): New struct.
2380 (soap-default-xsd-types, soap-default-soapenc-types)
2381 (soap-decode-basic-type, soap-encode-basic-type):
2382 support unsignedInt and double basic types.
2383 (soap-resolve-references-for-simple-type)
2384 (soap-parse-simple-type, soap-encode-simple-type): New function.
2385 (soap-parse-schema): Parse xsd:simpleType declarations.
2387 * soap-client.el (soap-default-xsd-types)
2388 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2389 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2390 the local name of "soapenc:Array".
2391 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2392 decoding integer, byte and anyURI xsd types.
2394 2012-04-25 Chong Yidong <cyd@gnu.org>
2396 * cus-edit.el (custom-buffer-create-internal): Update header text.
2398 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2400 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2401 settings on 'system-type', not on 'window-system'. On MS-Windows,
2402 set interactive-mode on in GDB.
2404 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2407 (ruby-syntax-propertize-regexp): Remove.
2408 (ruby-syntax-propertize-function): Split regexp into chunks.
2409 Match following code directly.
2411 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2413 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2414 (ruby-syntax-propertize-regexp): New function.
2415 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2416 by a special keyword.
2418 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2419 (ruby-syntax-general-delimiters-goto-beg)
2420 (ruby-syntax-propertize-general-delimiters): New functions.
2421 (ruby-syntax-propertize-function): Use them to handle GDL.
2422 (ruby-font-lock-keywords): Move old handling of GDL...
2423 (ruby-font-lock-syntactic-keywords): .. to here.
2424 (ruby-calculate-indent): Adjust indentation for GDL.
2426 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2428 * notifications.el (top): Remove unneeded declarations.
2429 (notifications-specification-version): Change to "1.2".
2430 (notifications-interface, notifications-notify-method)
2431 (notifications-close-notification-method): Fix docstring.
2432 (notifications-get-capabilities-method): New defconst.
2433 (notifications-notify): Add :action-items, :resident and
2434 :transient hints. Change "image_data" to "image-data" and
2435 "image_path" to "image-path".
2436 (notifications-get-capabilities): New defun.
2438 2012-04-24 Leo Liu <sdl.web@gmail.com>
2440 * progmodes/python.el: Move hideshow setup to the end.
2442 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2444 * window.el (handle-select-window): Clear echo area since this is
2445 no more done by read_char (Bug#11304).
2447 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2449 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2450 and `/ M' to filter-derived-mode.
2451 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2452 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2453 (ibuffer-mark-by-mode): Use default rather than initial-input.
2454 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2456 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2458 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2459 (ibuffer-filter-by-derived-mode): New filter.
2460 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2462 2012-04-23 Andreas Politz <politza@fh-trier.de>
2464 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2466 2012-04-23 Chong Yidong <cyd@gnu.org>
2468 * cus-edit.el (customize-apropos, customize-apropos-options):
2469 Disable matching of non-option variables (Bug#11176).
2470 (customize-option, customize-option-other-window)
2471 (customize-changed-options): Doc fix.
2472 (customize-apropos-options, customize-apropos-faces)
2473 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2475 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2476 Fix word list splitting (Bug#11132).
2477 (apropos-symbol, apropos-keybinding, apropos-label)
2478 (apropos-property, apropos-function-button)
2479 (apropos-variable-button, apropos-misc-button): New faces.
2480 (apropos-symbol-face, apropos-keybinding-face)
2481 (apropos-label-face, apropos-property-face, apropos-match-face):
2482 Variables removed (Bug#8396).
2483 (apropos-library-button, apropos-format-plist, apropos-print)
2484 (apropos-print-doc, apropos-describe-plist): Callers changed.
2486 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2488 * net/xesam.el (xesam-mode-map): Use let-bound map in
2489 initialization. (Bug#11292)
2491 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2493 Preserve ispell session localwords when switching back to
2496 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2497 variable to hold buffer session localwords.
2498 (ispell-kill-ispell): add option 'clear to delete session
2500 (ispell-command-loop, ispell-change-dictionary)
2501 (ispell-buffer-local-words): Preserve session localwords when
2504 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2505 Preserve session localwords when needed.
2507 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2509 * ispell.el (ispell-insert-word) Remove unneeded function using
2510 obsolete `translation-table-for-input'.
2511 (ispell-word, ispell-process-line, ispell-complete-word):
2512 Use plain `insert' instead of removed `ispell-insert-word'.
2514 2012-04-22 Chong Yidong <cyd@gnu.org>
2516 * cus-edit.el (custom-variable-menu)
2517 (custom-variable-reset-saved, custom-face-menu)
2518 (custom-face-reset-saved): If there is no saved value, make the
2519 "reset-saved" operation bring back the default (Bug#9509).
2520 (custom-face-state): Properly detect themed faces.
2522 * faces.el (face-spec-set): Stop supporting deprecated form of
2525 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2527 Move functions from C to Lisp. Make non-blocking method calls
2528 the default. Implement further D-Bus standard interfaces.
2530 * net/dbus.el (dbus-message-internal): Declare function.
2531 Remove unneeded function declarations.
2532 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2533 (dbus-message-type-method-return, dbus-message-type-error)
2534 (dbus-message-type-signal): Declare variables. Remove local
2536 (dbus-interface-dbus, dbus-interface-peer)
2537 (dbus-interface-introspectable, dbus-interface-properties)
2538 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2540 (dbus-interface-objectmanager): New defconst.
2541 (dbus-call-method, dbus-call-method-asynchronously)
2542 (dbus-send-signal, dbus-method-return-internal)
2543 (dbus-method-error-internal, dbus-register-service)
2544 (dbus-register-signal, dbus-register-method): New defuns, moved
2546 (dbus-call-method-handler, dbus-setenv)
2547 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2549 (dbus-call-method-non-blocking): Make it an obsolete function.
2550 (dbus-unregister-object, dbus-unregister-service)
2551 (dbus-handle-event, dbus-register-property)
2552 (dbus-property-handler): Obey the new structure of
2553 `bus-registered-objects'.
2554 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2555 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2556 Use `dbus-call-method'.
2558 2012-04-22 Chong Yidong <cyd@gnu.org>
2560 * cus-edit.el (custom-commands, custom-reset-menu)
2561 (Custom-reset-standard): Tweak labels.
2562 (custom-reset-button-menu): Change default to t.
2563 (custom-buffer-create-internal): For the custom-reset-button-menu
2564 case, put the revert button first.
2565 (custom-group-subtitle): New face.
2566 (custom-group-value-create): Align docstring to a specific column.
2568 * wid-edit.el (widget-documentation-link-add): Don't handle
2569 indentation in this function.
2570 (widget-documentation-string-indent-to): New function.
2571 (widget-documentation-string-value-create): Use it.
2573 * autorevert.el (auto-revert):
2574 * epg-config.el (epg):
2575 * ibuffer.el (ibuffer):
2578 * eshell/eshell.el (eshell):
2579 * net/ange-ftp.el (ange-ftp):
2580 * progmodes/ebnf2ps.el (postscript):
2581 * progmodes/flymake.el (flymake):
2582 * progmodes/prolog.el (prolog):
2583 * progmodes/verilog-mode.el (verilog-mode):
2584 * progmodes/which-func.el (which-func):
2585 * term/xterm.el (xterm):
2586 * textmodes/picture.el (picture):
2587 * textmodes/tildify.el (tildify):
2588 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2589 customization buffers.
2591 2012-04-22 Alan Mackenzie <acm@muc.de>
2593 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2594 Adding a ) can hide the resulting (..) from searches. Fix it.
2595 Bound the backward search to the position of the existing (.
2597 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2599 * progmodes/verilog-mode.el (verilog-mode): Check whether
2600 which-func-modes is t before adding verilog-mode.
2601 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2603 2012-04-21 Leo Liu <sdl.web@gmail.com>
2605 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2607 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2609 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2610 filling of the last column of a table (Bug#5635).
2611 (woman-find-next-control-line): New arg, specifying an additional
2612 regexp component for the control line.
2613 (woman2-roff-buffer): Use it.
2614 (woman-break-table): New function.
2615 (woman2-TS): Use it.
2617 2012-04-21 Chong Yidong <cyd@gnu.org>
2619 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2620 (woman-horizontal-escapes, woman-negative-vertical-space)
2621 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2622 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2624 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2626 * minibuffer.el (completion-file-name-table): Complete user names.
2628 2012-04-20 Leo Liu <sdl.web@gmail.com>
2630 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2633 2012-04-20 Chong Yidong <cyd@gnu.org>
2635 * server.el (server-execute): Respect initial-buffer-choice if it
2636 is a string and there are no files to open (Bug#2825).
2637 (server-create-window-system-frame, server-create-tty-frame):
2638 Don't switch buffers here.
2639 (server-process-filter): Only try to open a window system frame if
2640 compiled with graphical support (Bug#8314).
2642 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2644 * battery.el (battery-echo-area-format): Display remaining time
2645 for sysfs backend too (Bug#11269).
2646 (battery-linux-sysfs): Fix conditional for the charge.
2648 2012-04-20 Chong Yidong <cyd@gnu.org>
2650 * progmodes/gdb-mi.el (gdb): Revert previous change.
2651 (gdb-inferior-io--init-proc): New function.
2652 (gdb-init-1): Use it.
2653 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2654 responsible for allocating a new pty and hooking it to gdb when
2655 the old pty gets an EIO due to process exit.
2656 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2657 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2658 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2660 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2662 * window.el (window-min-size, window-sizable, window-min-delta)
2663 (window-max-delta, window--resizable, window-resizable)
2664 (window-total-size, window-full-height-p, window-full-width-p)
2665 (window-in-direction, window--resize-mini-window, window-resize)
2666 (window--resize-child-windows-normal)
2667 (window--resize-child-windows, window--resize-siblings)
2668 (window--resize-this-window, adjust-window-trailing-edge)
2669 (enlarge-window, shrink-window): Doc fixes.
2671 2012-04-20 Chong Yidong <cyd@gnu.org>
2673 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2674 New function to call delete-process on the gdb-inferior buffer's pty.
2675 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2676 pty process (Bug#11273).
2677 (gdb-update): New arg to suppress talking to the gdb process.
2678 (gdb-done-or-error): Use it.
2679 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2680 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2681 sentinel not being called.
2683 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2685 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2687 2012-04-20 Glenn Morris <rgm@gnu.org>
2689 * net/network-stream.el (open-network-stream): Doc fix.
2691 2012-04-20 Chong Yidong <cyd@gnu.org>
2693 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2695 2012-04-20 Alan Mackenzie <acm@muc.de>
2697 Ensure searching for keywords is case sensitive.
2699 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2700 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2701 (c-defun-name, c-mark-function, c-cpp-define-name)
2702 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2703 (c-context-line-break): Bind case-fold-search to nil.
2705 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2706 Bind case-fold-search to nil.
2708 2012-04-20 Chong Yidong <cyd@gnu.org>
2710 * mail/sendmail.el (mail-bury): Call return action with the right
2711 Rmail buffer (Bug#11242).
2713 * server.el (server-process-filter): Handle corner case where both
2714 tty and nowait options are present (Bug#11102).
2716 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2718 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2719 (top level): Put into the executable the ident-style '$Id:' tag on
2722 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * electric.el (electric-indent-post-self-insert-function): Check that
2725 electric-indent-mode is enabled in current buffer.
2727 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2729 * imenu.el (imenu-progress-message): Restore; it is "used" in
2730 erc/erc-imenu.el and net/snmp-mode.el.
2732 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2734 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2735 (mouse-avoidance-nudge-mouse): Remove unused binding.
2737 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2739 * descr-text.el (describe-char):
2740 * progmodes/python.el (python-describe-symbol):
2741 Don't call `toggle-read-only', set `buffer-read-only'.
2743 * imenu.el (imenu-default-goto-function): Mark unused args.
2744 (imenu-progress-message): Remove obsolete macro; all callers changed.
2746 * subr.el (keymap-canonicalize): Remove unused binding.
2747 (read-passwd): Mark unused arg.
2749 * tutorial.el (tutorial--display-changes): Remove unused binding.
2750 (tutorial--save-tutorial-to): Remove unused variable.
2752 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2753 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2754 (package-generate-autoloads, package-menu--generate)
2755 (package-menu--find-upgrades): Remove unused bindings.
2757 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2758 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2759 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2760 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2761 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2762 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2763 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2764 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2765 (cua-delete-char-rectangle): Mark unused args.
2766 (cua-align-rectangle): Remove unused binding.
2768 * mail/rmail.el (compilation--message->loc)
2769 (epa--find-coding-system-for-mime-charset): Declare.
2771 * net/dbus.el (dbus-register-service): Declare.
2772 (dbus-name-owner-changed-handler): Remove unused binding.
2774 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2775 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2776 (nxml-scan-backward-within): Mark unused arg.
2777 (nxml-dynamic-markup-word): Remove unused binding.
2779 * mouse.el (mouse-menu-major-mode-map):
2780 * emacs-lisp/authors.el (authors-scan-change-log)
2781 (authors-add-to-author-list):
2782 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2783 * emacs-lisp/smie.el (smie-auto-fill):
2784 * mail/sendmail.el (mail-bury):
2785 * mail/unrmail.el (unrmail):
2786 * net/tls.el (open-tls-stream):
2787 * textmodes/picture.el (picture-mouse-set-point):
2788 Remove unused bindings.
2790 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2792 * net/tramp.el (tramp-action-password): Let-bind
2793 `enable-recursive-minibuffers' to t.
2795 2012-04-18 Sam Steingold <sds@gnu.org>
2797 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2798 instead of 'string to accommodate values like [f11].
2799 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2800 * progmodes/gdb-mi.el: Likewise.
2802 2012-04-18 Leo Liu <sdl.web@gmail.com>
2804 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2806 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2809 2012-04-18 Chong Yidong <cyd@gnu.org>
2811 * simple.el (line-move): Use forward-line if in batch mode
2814 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2816 * files.el (after-find-file): Do not try to add a final newline if
2817 the buffer is read-only (Bug#11156).
2819 2012-04-17 Richard Stallman <rms@gnu.org>
2821 * mail/rmail.el (rmail-start-mail):
2822 Pass (rmail-mail-return...) for the return-action.
2823 Pass (rmail-yank-current-message...) for the yank-action.
2824 (rmail-yank-current-message): New function.
2825 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2826 (rmail-reply): Likewise.
2827 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2829 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2830 buffer, not the last. Reject temp buffers. Use the rmail-mode
2833 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2835 * server.el (server-ensure-safe-dir): Simplify.
2837 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2839 * emacs-lisp/smie.el: Provide smarter auto-filling.
2840 (smie-auto-fill): New function.
2841 (smie-setup): Use it.
2843 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2845 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2847 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2848 (comment-indent): Use it.
2850 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
2852 * ses.el: The overall change is to add cell renaming, that is
2853 setting fancy names for cell symbols other than name matching
2854 "\\`[A-Z]+[0-9]+\\'" regexp .
2855 (ses-localvars): Add ses--renamed-cell-symb-list.
2856 (ses-create-cell-variable): New defun.
2857 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2858 (ses-relocate-formula): Relocate formulas only for cells the
2859 symbols of which are not renamed, i.e. symbols whose names do not
2860 match regexp "\\`[A-Z]+[0-9]+\\'".
2861 (ses-relocate-all): Relocate values only for cells the symbols of
2862 which are not renamed.
2863 (ses-load): Create cells variables as the (ses-cell ...) are read,
2864 in order to check row col consistency with cell symbol name only
2865 for cells that are not renamed.
2866 (ses-replace-name-in-formula): New defun.
2867 (ses-rename-cell): New defun.
2869 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2871 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2872 New option (bug#11118).
2873 (perl-calculate-indent): Respect it.
2875 2012-04-17 Glenn Morris <rgm@gnu.org>
2877 * dired-aux.el (dired-mark-read-string): Doc fix.
2879 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2881 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2882 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2884 2012-04-17 Glenn Morris <rgm@gnu.org>
2886 * mouse.el (mouse-drag-track):
2887 * speedbar.el (speedbar-frame-mode):
2888 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2890 2012-04-16 Leo Liu <sdl.web@gmail.com>
2892 * progmodes/python.el: Trivial cleanup.
2894 2012-04-16 Glenn Morris <rgm@gnu.org>
2896 * vc/vc.el (vc-string-prefix-p):
2897 * vc/pcvs-util.el (cvs-string-prefix-p):
2898 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2899 * mpc.el (mpc-string-prefix-p):
2900 Make all of these into obsolete aliases for string-prefix-p.
2902 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2904 * textmodes/two-column.el: Move custom options to the start.
2905 (frame-width): Remove compat definition.
2906 (2C-associate-buffer, 2C-dissociate):
2907 Use with-current-buffer rather than save-excursion.
2908 (2C-dissociate): Force a mode-line update.
2909 (2C-autoscroll): Use ignore-errors.
2911 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2914 * emacs-lisp/cl-extra.el (*random-state*):
2915 Remove unnecessary declaration.
2917 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2919 * play/cookie1.el (cookie-snarf):
2920 Give an explicit error if input file cannot be read.
2922 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2924 * progmodes/perl-mode.el (c-macro-expand):
2925 Remove unnecessary autoload (it is in loaddefs.el).
2927 * textmodes/picture.el (picture-desired-column)
2928 (picture-update-desired-column): Convert comments to doc-strings.
2929 (picture-substitute): Remove function.
2930 (picture-mode-map): Initialize in the defvar.
2932 * woman.el: Remove eval-after-load for tar-mode.
2933 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2934 (woman-tar-extract-file): Autoload it.
2936 * frame.el (automatic-hscrolling): Make this alias obsolete.
2938 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2940 * ispell.el (ispell-set-spellchecker-params): Post-process
2941 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2942 (ispell-dictionary-base-alist): Revert to original XEmacs
2943 friendly version for default. [:alpha:] will be added in
2944 `ispell-set-spellchecker-params' if needed
2946 2012-04-16 Chong Yidong <cyd@gnu.org>
2948 * image.el (imagemagick--extension-regexp): New variable.
2949 (imagemagick-register-types): Use it.
2950 (imagemagick-types-inhibit): Add :set function. Allow new value
2951 of t to inhibit all types.
2953 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2954 so we can preload it.
2956 * loadup.el (fboundp): Preload regexp-opt, needed by
2957 imagemagick-register-types.
2959 2012-04-15 Chong Yidong <cyd@gnu.org>
2961 * frame.el (scrolling): Remove nearly unused customization group.
2963 * scroll-all.el (scroll-all-mode): Move to windows group.
2965 2012-04-15 Chong Yidong <cyd@gnu.org>
2967 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2969 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2971 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2972 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2974 2012-04-15 Glenn Morris <rgm@gnu.org>
2976 * simple.el (process-file-side-effects): Doc fix.
2978 2012-04-15 Glenn Morris <rgm@gnu.org>
2980 * international/mule-cmds.el (set-language-environment): Doc fix.
2982 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2984 * server.el (server-auth-key, server-generate-key): Doc fixes.
2985 (server-get-auth-key): Doc fix. Use `string-match-p'.
2986 (server-start): Reflow docstring.
2988 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2990 * server.el (server-generate-key): `called-interactively-p'
2991 requires a parameter.
2993 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2995 * server.el (server-auth-key): New variable.
2996 (server-generate-key, server-get-auth-key): New function.
2997 (server-start): Use the new variable and functions to allow
2998 setting a permanent server key (bug#9423).
3000 2012-04-14 Leo Liu <sdl.web@gmail.com>
3002 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3004 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3007 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3008 Emacs uses American spelling.
3010 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3012 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3013 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3014 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3015 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3017 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3019 * progmodes/which-func.el (which-func-modes): Change default.
3021 2012-04-14 Kim F. Storm <storm@cua.dk>
3023 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3024 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3026 2012-04-14 Chong Yidong <cyd@gnu.org>
3028 * custom.el (custom-theme-set-variables): Doc fix.
3030 2012-04-14 Glenn Morris <rgm@gnu.org>
3032 * international/mule.el (set-auto-coding-for-load): Doc fix.
3034 2012-04-14 Alan Mackenzie <acm@muc.de>
3036 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3037 imenu work again for Objective C Mode. Correct the *-index values,
3038 these having been disturbed by a previous change in 2011-08.
3040 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3041 Correct two search limits.
3043 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3045 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3047 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3049 * international/characters.el: Fix sorting.
3051 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3053 * international/characters.el: Add more missing Latin case pairs.
3055 2012-04-14 Glenn Morris <rgm@gnu.org>
3057 * files.el (dir-locals-set-class-variables): Doc fix.
3059 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3061 * international/characters.el: Add set-case-syntax-pair call for
3062 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3063 counterpart. (Bug#11209)
3065 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3067 2012-04-14 Glenn Morris <rgm@gnu.org>
3069 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3071 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3073 * textmodes/ispell.el (ispell-dictionary-base-alist):
3074 Add data for Hebrew.
3076 2012-04-14 Chong Yidong <cyd@gnu.org>
3078 * net/rcirc.el (rcirc-cmd-quit):
3079 Revert 2012-03-18 change (Bug#11192).
3081 2012-04-14 Glenn Morris <rgm@gnu.org>
3083 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3085 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3087 * minibuffer.el (completion-in-region-mode-map):
3088 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3090 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3092 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3094 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3096 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3097 to allow `C-M-f' and `C-M-b' to move to the nearest path
3098 separator (bug#9511).
3100 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3102 * avoid.el: Require cl when compiling. And also move the
3103 `provide' to the end.
3105 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3107 * avoid.el (mouse-avoidance-banish-position): New variable.
3108 (mouse-avoidance-banish-destination): Use it (bug#10165).
3110 2012-04-13 Leo Liu <sdl.web@gmail.com>
3112 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3114 2012-04-13 Ken Brown <kbrown@cornell.edu>
3116 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3117 this is no longer needed now that cygstart understands file:// URLs.
3118 (browse-url-filename-alist): For the same reason, don't modify
3119 file:// URLs on Cygwin.
3121 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3123 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3124 the region on shift if the binding is already shifted (bug#11221).
3126 2012-04-12 Glenn Morris <rgm@gnu.org>
3128 * mail/mailpost.el: Move to obsolete/.
3130 2012-04-12 Drew Adams <drew.adams@oracle.com>
3132 * imenu.el (imenu--generic-function): Ignore invisible definitions
3135 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3137 * hexl.el (hexl-bits): New variable.
3138 (hexl-options): Mention the variable in the doc string.
3139 (hexl-rulerise, hexl-line-displen): New functions.
3140 (hexl-mode): Mention the new variable.
3141 (hexl-mode, hexl-current-address, hexl-current-address):
3143 (hexl-ascii-start-column): New function.
3144 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3145 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3147 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3149 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3150 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3151 the encoding, as expected by hunspell.
3153 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3155 * battery.el (battery--linux-sysfs-regexp): New const.
3156 (battery-status-function): Use it. Remove yeeloong special case.
3157 (battery-yeeloong-sysfs): Remove.
3158 (battery-echo-area-format): Remove yeeloong special case.
3160 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3162 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3163 Reported by Noah Friedman.
3165 * subr.el (read-passwd): Use read-string.
3167 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3169 * vcursor.el (vcursor-move): Increase the priority of the overlay
3172 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3174 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3175 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3177 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3179 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3180 define-minor-mode (bug#10760).
3182 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3184 * progmodes/grep.el (rgrep): Tweak the find command line so
3185 that directories matching `grep-find-ignored-files' won't be
3188 2012-04-11 Chong Yidong <cyd@gnu.org>
3190 * startup.el (command-line): Remove support for long-obsolete
3191 variable font-lock-face-attributes.
3193 2012-04-11 Glenn Morris <rgm@gnu.org>
3195 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3197 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3199 * window.el (window--state-get-1): Obey window-point-insertion-type.
3201 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3203 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3204 to previous function when point is on the first character of a
3205 function. Take care of that in `narrow-to-defun' (bug#6157).
3207 2012-04-11 Glenn Morris <rgm@gnu.org>
3209 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3210 not just file-errors.
3212 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3213 (vc-bzr-sha1): Use internal sha1.
3215 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3217 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3219 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3221 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3222 that start in the middle of the line (bug#10496).
3224 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3226 * battery.el (battery-linux-proc-acpi): Only one battery is
3227 discharged at a time, but that seems to confuse battery.el when
3228 computing `rate-type' for the battery not being discharged
3231 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3235 * international/quail.el: Use dolist and simplify.
3236 (quail-define-package, quail-update-keyboard-layout)
3237 (quail-define-rules): Use dolist.
3238 (quail-insert-kbd-layout, quail-get-translation): CSE.
3240 * tmm.el: Use dolist, remove left over hook.
3241 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3243 (calendar-load-hook): Don't mess with it.
3245 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3246 Use derived-mode-p. Run the diff asynchronously.
3248 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3250 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3252 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
3254 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3255 (list-dynamic-libraries--loaded): New function.
3256 (list-dynamic-libraries--refresh): Use it.
3258 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
3260 * progmodes/python.el (python-fill-paragraph):
3261 Make python-fill-region in a multiline string work when font-lock is
3262 disabled (bug#7018).
3264 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3266 * language/european.el (cp775): Add oem/legacy (en)coding on
3267 DOS/MS Windows for the Baltic languages. There are still plenty
3268 of texts written in this encoding/codepage (bug#6519).
3270 2012-04-10 Glenn Morris <rgm@gnu.org>
3272 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3273 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3275 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3277 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3278 next-line "n" and previous-line "p" in order to make recentf more
3279 consistent with ibuffer, dired or org-mode (bug#9387).
3281 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3283 * image.el (put-image): Return the overlay created instead of the
3284 optional input string (bug#7834). Note that this may break code
3285 that is (for some reason or other) depending on `put-image'
3286 returning the string.
3288 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3290 * simple.el (zap-to-char): Allow zapping using input methods
3293 * textmodes/fill.el (fill-region): Leave point and mark where they
3294 were before filling (bug#5399).
3296 2012-04-09 Glenn Morris <rgm@gnu.org>
3298 * version.el (emacs-bzr-get-version):
3299 Handle lightweight checkouts of local branches.
3301 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3303 * international/characters.el: Recover lost case pairs. (Bug#11209)
3305 2012-04-09 Chong Yidong <cyd@gnu.org>
3307 * custom.el (custom-variable-p): Return nil for non-symbol
3308 arguments instead of signaling an error.
3309 (user-variable-p): Obsolete alias for custom-variable-p.
3311 * apropos.el (apropos-variable):
3312 * files-x.el (read-file-local-variable):
3313 * simple.el (set-variable):
3314 * woman.el (woman-mini-help):
3315 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3317 2012-04-09 Glenn Morris <rgm@gnu.org>
3319 * startup.el (normal-top-level): Don't look for leim-list.el
3320 in places where it will not be found. (Bug#910)
3322 * international/mule-cmds.el (set-default-coding-systems):
3323 * files.el (normal-mode):
3324 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3325 This function was removed with ucs-tables.el in 2008.
3327 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3329 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3330 ispell-encoding8-command to "-i", without a trailing space.
3331 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3332 separate command-line arguments, to specify the encoding, since
3333 that's how hunspell expects it.
3335 2012-04-08 Glenn Morris <rgm@gnu.org>
3337 * loadup.el: Load bindings before cus-start.
3338 This reduces somewhat the number of "rogue" settings in emacs -Q.
3340 2012-04-07 Glenn Morris <rgm@gnu.org>
3342 * version.el (emacs-bzr-get-version): New function.
3343 (emacs-bzr-version): New variable.
3344 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3345 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3347 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3349 * international/uni-bidi.el, international/uni-category.el:
3350 * international/uni-combining.el, international/uni-decimal.el:
3351 * international/uni-decomposition.el, international/uni-digit.el:
3352 * international/uni-lowercase.el, international/uni-mirrored.el:
3353 * international/uni-name.el, international/uni-numeric.el:
3354 * international/uni-titlecase.el, international/uni-uppercase.el:
3355 Update for Unicode 6.1.
3357 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3359 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3361 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3363 * window.el (shrink-window): Mention the `window-min-height'
3364 variable in the doc string.
3366 2012-04-05 Bastien Guerry <bzg@altern.org>
3368 * color.el (color-lighten-name): Fix typo.
3370 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3372 * server.el (server--on-display-p): New function.
3373 (server--on-display-p): Use it.
3375 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3377 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3380 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3382 * comint.el (comint--common-quoted-suffix): Check string boundary
3383 before comparing (bug#11158).
3384 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3386 2012-04-04 Chong Yidong <cyd@gnu.org>
3388 * minibuffer.el (completion-extra-properties): Doc fix.
3390 * subr.el (delayed-warnings-hook): Doc fix.
3392 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3394 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3395 selection (Bug#11159).
3396 (epa-insert-keys): Inform that the default public key will be
3397 exported if no key is selected.
3399 2012-04-04 Richard Stallman <rms@gnu.org>
3401 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3403 2012-04-03 Chong Yidong <cyd@gnu.org>
3405 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3406 mail-insert-file, not its obsolete alias mail-attach-file.
3408 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3410 * notifications.el (notifications-notify): Fix docstring.
3412 2012-04-02 Glenn Morris <rgm@gnu.org>
3414 * emacs-lisp/authors.el (authors-aliases): Another addition.
3416 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3418 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3419 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3420 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3422 2012-04-01 Chong Yidong <cyd@gnu.org>
3424 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3425 Handle root directory properly.
3426 (copy-directory): Caller changed.
3428 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3429 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3431 2012-03-31 Glenn Morris <rgm@gnu.org>
3433 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3435 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3437 * calendar/calendar.el (calendar-window-list)
3438 (calendar-hide-window): Restore. (Bug#11140)
3439 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3441 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3443 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3445 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3446 Check if file is a symlink (Bug#10489).
3448 * files.el (copy-directory): Likewise.
3450 2012-03-30 Chong Yidong <cyd@gnu.org>
3452 * image.el (imagemagick-types-inhibit)
3453 (imagemagick-register-types): Doc fix.
3455 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3457 * ispell.el (ispell-get-extended-character-mode):
3458 Disable extended-char-mode for hunspell. hunspell does not support it
3459 and treats ~word as ordinary words in pipe mode.
3461 2012-03-30 Glenn Morris <rgm@gnu.org>
3463 * tutorial.el (help-with-tutorial): Ensure local variables don't
3464 happen to make the buffer read-only. (Bug#11127)
3466 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3468 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3469 (perl-calculate-indent): Return `noindent' in strings.
3471 2012-03-28 Sam Steingold <sds@gnu.org>
3473 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3474 instead of the broken adhockery which does not prevent calendar
3475 buffers from being displayed at random after exit.
3476 (calendar-window-list, calendar-hide-window): Remove the broken
3479 2012-03-28 Glenn Morris <rgm@gnu.org>
3481 * replace.el (query-replace-map): Doc fix.
3483 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3485 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3486 contents. (Bug#11109)
3488 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3490 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3492 (avl-tree--check, avl-tree--check-node): New funs.
3494 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3496 * window.el (switch-to-visible-buffer): New option.
3497 (switch-to-prev-buffer, switch-to-next-buffer):
3498 Observe switch-to-visible-buffer. Make sure that checking for a window
3499 showing a buffer already is done on the same frame.
3501 2012-03-27 Glenn Morris <rgm@gnu.org>
3503 * startup.el (mail-host-address): Doc fix.
3505 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3507 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3510 2012-03-26 Ami Fischman <ami@fischman.org>
3512 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3514 2012-03-26 Glenn Morris <rgm@gnu.org>
3516 * files.el (save-buffers-kill-emacs): Doc fix.
3518 * startup.el (normal-top-level, command-line, command-line-1):
3519 Give them doc strings.
3521 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3523 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3524 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3526 2012-03-25 Chong Yidong <cyd@gnu.org>
3528 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3529 theme if it was previously enabled before (Bug#11031).
3531 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3532 spec with custom-face-get-current-spec if its :shown-value is not
3533 determined yet (Bug#9337).
3534 (customize-create-theme, custom-theme-revert): Doc fixes.
3536 * button.el (button-at): Minor addition to docstring.
3538 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3540 * vc/vc.el (vc-merge): Fix a prompt.
3542 2012-03-24 Chong Yidong <cyd@gnu.org>
3544 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3547 * button.el (button-at): Minor addition to docstring.
3549 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3551 * newcomment.el (comment-choose-indent): No space after BOL.
3553 2012-03-22 Sam Steingold <sds@gnu.org>
3555 * window.el (switch-to-prev-buffer): Revert last patch because the
3556 bug turned out to be an advertised feature (Elisp manual 28.14).
3558 2012-03-22 Glenn Morris <rgm@gnu.org>
3560 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3561 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3563 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3565 * net/network-stream.el (network-stream-open-starttls): Make error
3566 message under Windows be less misleading.
3568 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3570 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3571 understands (bug#9942).
3573 2012-03-22 Chong Yidong <cyd@gnu.org>
3575 * simple.el (end-of-visible-line): Handle return value of
3576 next-single-property-change properly (Bug#9371).
3578 2012-03-22 Kenichi Handa <handa@m17n.org>
3580 * international/quail.el (quail-insert-kbd-layout): Fix previous
3581 change. To avoid unwanted bidi reordering, use
3582 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3584 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3586 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3587 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3588 (ruby-beginning-of-indent): Be more careful with the difference
3589 between word-boundary and symbol boundary.
3590 (ruby-mode-syntax-table): Make : a symbol constituent.
3592 2012-03-21 Andreas Politz <politza@fh-trier.de>
3594 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3596 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3598 * progmodes/etags.el (tags-completion-at-point-function):
3601 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3603 2012-03-21 Sam Steingold <sds@gnu.org>
3605 * progmodes/etags.el (tags-completion-at-point-function):
3606 Avoid the error when point is inside the pattern.
3608 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3610 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3613 2012-03-21 Drew Adams <drew.adams@oracle.com>
3615 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3617 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3619 * ido.el (ido-set-current-directory, ido-read-internal)
3620 (ido-choose-completion-string, ido-completion-help): Handle nil
3621 value of ido-completion-buffer (Bug#11008).
3623 2012-03-21 Sam Steingold <sds@gnu.org>
3625 * window.el (switch-to-prev-buffer): Do not switch to a visible
3626 window previous buffer, just like with the frame previous buffers.
3628 2012-03-21 Chong Yidong <cyd@gnu.org>
3630 * faces.el (make-face, make-empty-face, copy-face):
3631 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3634 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3636 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3637 (widget-complete): Remove broken use of it.
3639 2012-03-20 Chong Yidong <cyd@gnu.org>
3641 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3642 Use string-width and truncate-string-width to handle arbitrary
3645 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3647 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3648 to draw rectangles, not squares. (Regression introduced by revno
3649 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3651 2012-03-18 Chong Yidong <cyd@gnu.org>
3653 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3654 it is not yet defined (for temacs).
3656 2012-03-18 Leo Liu <sdl.web@gmail.com>
3658 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3660 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3662 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3663 (ispell-choices-win-default-height, ispell-silently-savep)
3664 (ispell-dictionary-alist, ispell-encoding8-command)
3665 (ispell-check-version, ispell-aspell-find-dictionary)
3666 (ispell-valid-dictionary-list, ispell-words-keyword)
3667 (ispell-get-word, ispell-internal-change-dictionary)
3668 (ispell-region, ispell-skip-region-list)
3669 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3670 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3671 (ispell-message-text-end, ispell-message)
3672 (ispell-buffer-local-parsing): Doc fix.
3674 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3676 * htmlfontify.el: Add support for code block fontification for ODT
3678 (hfy-optimisations): Define new option
3680 (hfy-fontify-buffer): Honor above setting.
3681 (hfy-begin-span, hfy-end-span): New routines factored out form
3682 `hfy-fontify-buffer'.
3683 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3684 that permit insertion of custom tags.
3685 (hfy-fontify-buffer): Use above handlers.
3686 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3687 (hfy-face-to-css): Re-defined to be a variable.
3688 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3689 over multiple runs. This is made possible by having the caller let
3690 bind a special variable `hfy-user-sheet-assoc'.
3691 (htmlfontify-string): New defun.
3692 (hfy-compile-face-map): Make sure that the last char in the
3693 buffer is correctly fontified.
3694 (hfy-face-resolve-face): Whitespace only change.
3696 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3698 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3701 2012-03-16 Leo Liu <sdl.web@gmail.com>
3703 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3705 2012-03-16 Alan Mackenzie <acm@muc.de>
3707 Further optimise the handling of large macros.
3709 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3710 limit to a call of `c-literal-limits'.
3711 (c-determine-+ve-limit): New function.
3712 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3713 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3714 In CASE 5B, restrict a search limit to 500.
3715 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3717 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3718 Restrict macro bounds to +-500 from after-change's BEG END.
3720 2012-03-16 Leo Liu <sdl.web@gmail.com>
3722 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3724 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3726 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3727 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3729 2012-03-16 Glenn Morris <rgm@gnu.org>
3731 * view.el (view-buffer, view-buffer-other-window)
3732 (view-buffer-other-frame): Doc fixes re special mode-class.
3734 * subr.el (eval-after-load): If named feature is provided not from
3735 a file, run after-load forms. (Bug#10946)
3737 * calendar/calendar.el (calendar-insert-at-column):
3738 Handle non-unit-width characters a bit better. (Bug#10978)
3740 2012-03-15 Chong Yidong <cyd@gnu.org>
3742 * emacs-lisp/ring.el (ring-extend): New function.
3743 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3745 * comint.el (comint-read-input-ring)
3746 (comint-add-to-input-history): Grow comint-input-ring lazily.
3748 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3750 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3751 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3753 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3754 (imenu-add-to-menubar): Don't add a redundant index.
3755 (imenu-update-menubar): Handle a dynamically composed keymap.
3757 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3759 * mail/sendmail.el (mail-encode-header):
3760 Bind rfc2047-encode-encoded-words to nil.
3762 2012-03-13 Glenn Morris <rgm@gnu.org>
3764 * calendar/calendar.el (calendar-string-spread):
3765 Handle non-unit-width characters a bit better. (Bug#10978)
3767 2012-03-13 Leo Liu <sdl.web@gmail.com>
3769 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3770 directory and file as argument (Bug#10822).
3772 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3774 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3775 For dynamically generated code, follow $PC.
3776 (gdb-disassembly-handler-custom): Handle no function name case.
3778 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3780 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3781 * emulation/ws-mode.el (ws-query-replace):
3782 * sort.el (sort-regexp-fields):
3783 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3785 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3787 * dabbrev.el: Fix cycle completion order (bug#10963).
3788 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3789 (dabbrev-completion): Don't use an obarray; provide
3790 a cycle-sort-function.
3792 2012-03-12 Leo Liu <sdl.web@gmail.com>
3794 * simple.el (kill-new): Use equal-including-properties for comparison.
3795 (kill-do-not-save-duplicates): Doc fix.
3797 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3799 * dabbrev.el: Fix cycle completion (bug#10963).
3800 Use lexical binding and wrap to 80 columns.
3801 (dabbrev-completion): Delay computing the list of completions.
3803 2012-03-12 Kenichi Handa <handa@m17n.org>
3805 * international/quail.el (quail-insert-kbd-layout): Surround each
3806 row by LRO and PDF instead of inserting many LRMs. Pad the left
3807 and right of each non-spacing marks. Insert invisible space
3808 between lower and upper characters to prevent composition.
3810 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3812 * minibuffer.el (minibuffer-complete): Don't get confused when the
3813 function is run twice via different commands (bug#10958).
3814 (complete-with-action): Fix docstring.
3816 2012-03-12 Chong Yidong <cyd@gnu.org>
3818 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3819 (nxml-completion-at-point-function): New function.
3820 (nxml-mode): Use it.
3821 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3823 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3824 Load generated autoloads file before byte compiling (Bug#10970).
3825 (package--make-autoloads-and-compile): New helper fun.
3827 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3829 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3831 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3833 * autorevert.el (auto-revert-handler): Ensure, that
3834 file-readable-p is applied only for local files or in
3835 auto-revert-tail-mode.
3837 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3839 * server.el (server-eval-at): Handle non-tcp connections.
3840 Decode result string.
3842 * server.el (server-msg-size): New constant.
3843 (server-reply-print): New function.
3844 (server-eval-and-print): Use it.
3845 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3848 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3850 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3853 2012-03-11 Chong Yidong <cyd@gnu.org>
3855 * simple.el (goto-line): Doc fix (Bug#9938).
3857 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3859 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3860 when finished (Bug#10963).
3862 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3864 * window.el (split-window-below): Fix bug in case where
3865 split-window-keep-point is nil (Bug#10971).
3867 2012-03-11 Juri Linkov <juri@jurta.org>
3869 * replace.el (replace-highlight): Set isearch-word to nil
3870 unconditionally. (Bug#10887)
3872 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3874 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3875 mairix-replace-illegal-chars; all callers changed. Don't remove
3876 ^, ~, and = characters: they are meaningful in mairix search specs.
3877 (mairix-widget-create-query): Add usage information about mairix
3878 search forms: negating words, searching for substrings, etc.
3880 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3882 * international/fontset.el (font-encoding-alist): Add an entry for
3885 2012-03-10 Richard Stallman <rms@gnu.org>
3887 * mail/sendmail.el (mail-encode-header):
3888 Set rfc2047-encode-encoded-words.
3890 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3892 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3893 view buffer means not swapped.
3894 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3895 (rmail-write-region-annotate): Error if real text has disappeared.
3897 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3899 2012-03-10 Chong Yidong <cyd@gnu.org>
3901 * emulation/cua-rect.el (cua--init-rectangles):
3902 * emulation/cua-base.el (cua--init-keymaps):
3903 Add delete-forward-char to remappings (Bug#9666).
3905 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3907 * speedbar.el (speedbar-unhighlight-one-tag-line):
3908 Avoid unhighlighting due to frame switching (Bug#10275).
3910 2012-03-10 Chong Yidong <cyd@gnu.org>
3912 * minibuffer.el (completion-in-region, completion-help-at-point):
3913 Give the completion field overlay a high priority (Bug#6830).
3915 * dired.el (dired-goto-file): Recognize absolute file name
3916 listings (Bug#7126).
3917 (dired-goto-file-1): New helper function.
3918 (dired-toggle-read-only): Inhibit warnings.
3920 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3922 * net/dbus.el (dbus-property-handler): Return empty array if
3923 there are no properties.
3925 2012-03-09 Leo Liu <sdl.web@gmail.com>
3927 * savehist.el (savehist-printable): Stricter check for string
3930 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3932 * mail/smtpmail.el (smtpmail-send-it):
3933 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3936 2012-03-09 Glenn Morris <rgm@gnu.org>
3938 * files.el (dir-locals-find-file):
3939 Don't check result is regular, readable.
3940 (dir-locals-read-from-file): Demote errors.
3942 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3944 * international/quail.el (quail-insert-kbd-layout):
3945 Insert invisible LRM characters before each character in a keyboard
3946 layout cell, to prevent their reordering by bidi display engine.
3947 For details, see the discussion in
3948 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3950 2012-03-08 Alan Mackenzie <acm@muc.de>
3952 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3953 the starting position; make it extend the marked region when
3954 invoked repeatedly - all under appropriate circumstances.
3955 Fixes bugs #5525, #10906.
3957 2012-03-08 Glenn Morris <rgm@gnu.org>
3959 * files.el (locate-dominating-file, dir-locals-find-file):
3960 Undo 2012-03-06 change.
3962 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3964 * international/quail.el (quail-help):
3965 Force bidi-paragraph-direction be left-to-right. See discussion in
3966 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3969 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3971 Avoid superfluous registering of signals. (Bug#10807)
3973 * notifications.el (notifications-on-action-object)
3974 (notifications-on-close-object): New defvars.
3975 (notifications-on-action-signal, notifications-on-closed-signal):
3976 Unregister the signal if not needed any longer.
3977 (notifications-notify): Register `notifications-action-signal' or
3978 `notifications-closed-signal', if :on-action or :on-close has been
3981 2012-03-07 Chong Yidong <cyd@gnu.org>
3983 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3986 2012-03-06 Glenn Morris <rgm@gnu.org>
3988 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3989 (x-disown-selection-internal, x-get-selection-internal):
3990 Doc fix (add arglist signatures). (Bug#10783)
3992 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3994 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3995 Handle breakpoints with no "type".
3997 2012-03-06 Glenn Morris <rgm@gnu.org>
3999 * files.el (locate-dominating-file): Add optional predicate argument.
4000 (dir-locals-find-file): Make use of above change.
4002 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4004 * info.el (Info-insert-dir): Also try "dir.gz".
4006 2012-03-06 Glenn Morris <rgm@gnu.org>
4008 * files.el (dir-locals-find-file):
4009 Ignore non-readable or non-regular files. (Bug#10928)
4011 * files.el (locate-dominating-file): Doc fix.
4013 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4015 * calendar/calendar.el (calendar-set-mode-line):
4016 `getenv' returns a string. (Bug#10951)
4018 2012-03-05 Leo Liu <sdl.web@gmail.com>
4020 * simple.el (backward-delete-char-untabify): Constrain point to
4023 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4025 2012-03-05 Chong Yidong <cyd@gnu.org>
4027 * simple.el (count-words): If called from Lisp, return the word
4028 count, for symmetry with `count-lines'. Arglist changed.
4029 (count-words--message): Args changed. Consolidate counting code
4030 from count-words and count-words-region.
4031 (count-words-region): Caller changed.
4032 (count-lines-region): Make it an obsolete alias.
4034 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4036 * saveplace.el (save-place-to-alist)
4037 (save-place-ignore-files-regexp): Allow value nil to disable this
4040 2012-03-04 Chong Yidong <cyd@gnu.org>
4042 * faces.el (face-spec-reset-face): For the default face, reset the
4043 attributes to default values (Bug#10748).
4045 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4047 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4048 previous patch: Check `message-send-mail-function', and not the
4049 default function (bug#10897).
4051 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4053 * notifications.el (notifications-on-action-signal)
4054 (notifications-on-closed-signal): Check for unique service name of
4055 incoming event. Fix error in removing entry.
4056 (top): Register for signals with wildcard service name.
4057 (notifications-notify): Use daemon unique service name for map entries.
4059 2012-03-04 Chong Yidong <cyd@gnu.org>
4061 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4063 2012-03-04 Glenn Morris <rgm@gnu.org>
4065 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4066 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4067 (expand-abbrev, define-abbrev-table): Doc fixes.
4069 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4071 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4072 `message-default-send-mail-function' and not `send-mail-function'
4073 when doing the prompting for `sendmail-query-once' before sending
4074 in Message buffers (bug#10897).
4076 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4077 This is inconsistent with all the other stream functions, which leave
4078 the setting up to the higher levels (if so wanted) (bug#10931).
4080 2012-03-02 Alan Mackenzie <acm@muc.de>
4082 Depessimize the handling of very large macros.
4084 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4085 (c-macro-cache-syntactic): New variables to implement a one
4086 element macro cache.
4087 (c-invalidate-macro-cache): New function.
4088 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4089 Adapt to use the new cache.
4090 (c-state-safe-place): Use better the cache of safe positions.
4091 (c-state-semi-nonlit-pos-cache)
4092 (c-state-semi-nonlit-pos-cache-limit):
4093 New variables for...
4094 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4095 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4096 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4097 Use c-state-semi-safe-place.
4099 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4100 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4102 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4104 * jka-compr.el (jka-compr-call-process):
4105 Apply `file-accessible-directory-p' only when the default directory is
4108 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4110 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4111 access of FILE2, if FILE1 does not exist.
4113 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4114 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4116 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4117 Add "PAGER=" to `process-environment'.
4119 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4121 * progmodes/sql.el: Bug fix
4122 (sql-get-login-ext): Save login values in globals.
4123 (sql-get-login): Use new version of `sql-get-login-ext'.
4124 (sql-interactive-mode): Set global `sql-connection' to nil.
4125 (sql-connect): Set global values for connection.
4126 (sql-product-interactive): Save global values as buffer local.
4128 2012-02-29 Leo Liu <sdl.web@gmail.com>
4130 * abbrev.el (define-abbrevs): Reset sys to nil.
4132 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4134 * files.el (file-equal-p): Rename from `files-equal-p'.
4135 Return nil when one or both files don't exist.
4136 (file-subdir-of-p): Now only top directory must exists,
4137 return nil if it doesn't.
4138 (copy-directory): No need to test with `file-subdir-of-p' after
4140 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4143 2012-02-28 Glenn Morris <rgm@gnu.org>
4145 * shell.el (shell-mode):
4146 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4147 * play/landmark.el (landmark-font-lock-face-O):
4148 * play/handwrite.el (handwrite):
4149 * play/gomoku.el (gomoku-O):
4150 * net/browse-url.el (browse-url-browser-display):
4151 * international/mule.el (define-charset):
4152 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4153 * filesets.el (filesets-find-file-delay):
4154 * eshell/em-xtra.el (eshell-xtra):
4155 * eshell/em-unix.el (eshell-grep):
4156 * emulation/viper.el (viper-mode):
4157 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4158 * emacs-lisp/easymenu.el (easy-menu-define):
4159 * calendar/timeclock.el (timeclock-use-display-time):
4161 * bookmark.el (bookmark-save-flag):
4162 Doc fix (standardize possessive apostrophe usage).
4164 2012-02-27 Chong Yidong <cyd@gnu.org>
4166 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4167 Fix key-binding lookup for ESC key (Bug#9146).
4169 * font-lock.el (font-lock-specified-p): Rename from
4170 font-lock-spec-present. Callers changed.
4172 2012-02-27 Daniel Hackney <dan@haxney.org>
4174 * emacs-lisp/package.el (package-compute-transaction):
4175 Handle holding a package version to t in package-load-list.
4177 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4179 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4180 (tramp-get-inode, tramp-get-device): Use cached values.
4182 2012-02-26 Alan Mackenzie <acm@muc.de>
4184 Check there is a font-lock specification before doing initial
4187 * font-core.el (font-lock-mode): Move the conditional from
4188 :after-hook to font-lock-initial-fontify.
4189 (font-lock-default-function): Move the check for a specification
4190 to font-lock-spec-present.
4192 * font-lock.el (font-lock-initial-fontify): Call ...
4193 (font-lock-spec-present): New function.
4195 2012-02-26 Jim Blandy <jimb@red-bean.com>
4197 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4198 (gdb-send): Apply it to the operand of the '-interpreter-exec
4199 console' command, so that we can pass arguments with (say) quotes
4200 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4202 2012-02-26 Chong Yidong <cyd@gnu.org>
4204 * help-fns.el (describe-function-1): Clarify description of
4205 remapping (Bug#10844).
4207 * files.el (files-equal-p): Doc fix.
4208 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4209 and quit the loop once a mismatch is found.
4211 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4213 * bs.el (bs--show-with-configuration): Don't throw an error
4214 if the window cannot be split; otherwise, subsequent calls to
4215 bs-show fail, restoring a stale window config. (Bug#10882)
4217 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4219 * term/ns-win.el (global-map): Bind ns-drag-file to
4220 ns-find-file (Bug#5855, Bug#10050).
4222 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4224 * calendar/parse-time.el (parse-time-string): Allow extractor to
4227 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4229 * net/tramp.el (tramp-file-name-for-operation):
4230 Add `files-equal-p' and `file-subdir-of-p'.
4232 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4233 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4234 Add COPY-CONTENTS argument.
4236 2012-02-25 Chong Yidong <cyd@gnu.org>
4238 Add custom groups for VC backends, for consistency with vc-bzr.
4240 * vc/vc-arch.el (vc-arch):
4241 * vc/vc-cvs.el (vc-cvs):
4242 * vc/vc-git.el (vc-git):
4243 * vc/vc-hg.el (vc-hg):
4244 * vc/vc-mtn.el (vc-mtn):
4245 * vc/vc-rcs.el (vc-rcs):
4246 * vc/vc-sccs.el (vc-sccs):
4247 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4248 All relevant defcustoms reassigned.
4250 2012-02-25 Chong Yidong <cyd@gnu.org>
4252 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4254 * term/x-win.el (x-initialize-window-system): Reduce default for
4255 x-selection-timeout to 5 seconds (Bug#8869).
4257 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4259 * files.el (files-equal-p, file-subdir-of-p): New functions.
4260 (copy-directory): Error when trying to copy a directory on itself.
4261 Add missing copy-contents arg to tramp handler.
4262 * dired-aux.el (dired-copy-file-recursive): Same.
4263 (dired-create-files): Modify destination when source is equal to
4264 dest when copying files.
4265 Return also when dest is a subdir of source. (Bug#10489)
4267 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
4269 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4272 2012-02-23 Alan Mackenzie <acm@muc.de>
4274 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4275 parameter "after-hook:" to allow the expansion to run code after
4276 the execution of the mode hooks.
4278 * font-lock.el (font-lock-initial-fontify): New function extracted
4279 from font-lock-mode-internal.
4281 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4284 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4286 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4287 (completion--cache-all-sorted-completions): New function.
4288 (completion-all-sorted-completions): Use it.
4289 (completion--do-completion, minibuffer-force-complete):
4290 Use it to re-instate the flush hook.
4292 * icomplete.el (icomplete-completions): Replace last fix with a better
4295 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4297 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4298 when it might call us back infinitely (bug#10797).
4300 2012-02-23 Glenn Morris <rgm@gnu.org>
4302 * minibuffer.el (completion-category-overrides): Doc fix.
4304 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4306 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4307 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4309 2012-02-23 Glenn Morris <rgm@gnu.org>
4311 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4312 (authors-obsolete-files-regexps, authors-ignored-files)
4313 (authors-ambiguous-files, authors-renamed-files-alist):
4316 2012-02-23 Juri Linkov <juri@jurta.org>
4318 * isearch.el (isearch-occur): Sync interactive spec with occur's
4319 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4321 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4323 2012-02-22 Juri Linkov <juri@jurta.org>
4325 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4326 (ucs-insert): Doc fix. Check for hex digits in the string.
4327 Don't display `nil' in the error message. (Bug#10857)
4329 2012-02-22 Alan Mackenzie <acm@muc.de>
4331 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4333 2012-02-22 Glenn Morris <rgm@gnu.org>
4335 * ffap.el (ffap-c-path):
4336 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4338 2012-02-22 Chong Yidong <cyd@gnu.org>
4340 * custom.el (load-theme): Doc fix.
4342 2012-02-22 Glenn Morris <rgm@gnu.org>
4344 * dired-x.el (dired-guess-shell-alist-default):
4345 Remove escape sequences from nroff output. (Bug#172)
4347 2012-02-21 Glenn Morris <rgm@gnu.org>
4349 * vc/emerge.el (emerge-defvar-local):
4350 Set `permanent-local' property rather than unused `preserved'.
4352 * textmodes/picture.el (picture-delete-char): New alias.
4353 (picture-mode-map): Use it. (Bug#10860)
4354 (picture-mode): Doc fix.
4356 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4358 * newcomment.el (uncomment-region-default): Remove unused binding.
4360 2012-02-21 Glenn Morris <rgm@gnu.org>
4362 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4363 (picture-self-insert, picture-tab-chars): Doc fix.
4364 (picture-mode-map): Fix C-a, C-e.
4366 2012-02-20 Glenn Morris <rgm@gnu.org>
4368 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4370 2012-02-20 Leo Liu <sdl.web@gmail.com>
4372 * icomplete.el (icomplete-completions): Check FROM arg before
4373 passing to substring (Bug#10850).
4375 2012-02-19 Chong Yidong <cyd@gnu.org>
4377 * comint.el: Require ansi-color.
4378 (comint-output-filter-functions): Add ansi-color-process-output.
4380 * ansi-color.el: Don't set comint-output-filter-functions; it is
4381 now in the initial value defined in comint.el.
4382 (ansi-color-apply-face-function): New variable.
4383 (ansi-color-apply-on-region): Use it.
4384 (ansi-color-apply-overlay-face): New function.
4386 * shell.el (shell): No need to require ansi-color.
4387 (shell-mode): Use ansi-color-apply-face-function to highlight
4388 color escapes using font-lock-face property (Bug#10835).
4390 2012-02-19 Chong Yidong <cyd@gnu.org>
4392 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4393 mode-line formats (Bug#10839).
4395 2012-02-18 Glenn Morris <rgm@gnu.org>
4397 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4399 * mail/undigest.el (unforward-rmail-message): Doc fix.
4401 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4403 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4405 * international/characters.el (script-list): Sync with the latest
4406 Unicode Character Database.
4408 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4410 * international/titdic-cnv.el: Remove duplicate coding tag.
4411 * language/cham.el: Likewise.
4412 * language/tai-viet.el: Likewise.
4414 2012-02-18 Glenn Morris <rgm@gnu.org>
4416 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4417 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4418 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4419 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4420 * calendar/holidays.el (holiday-bahai-holidays)
4421 (calendar-holidays, list-holidays):
4422 Use utf-8 Bahá'í in doc-strings, menus, etc.
4424 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4426 * saveplace.el (save-place-ignore-files-regexp): New variable
4427 allowing for excluding files from saving their location of point.
4428 The default value matches the temporary commit message editing
4429 files from Git, SVN, Bazaar, and Mercurial.
4430 (save-place-to-alist): Use it.
4432 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4433 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * newcomment.el (uncomment-region-default): Don't leave extra space
4436 when an arg is provided (bug#8150).
4438 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4440 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4442 2012-02-17 Glenn Morris <rgm@gnu.org>
4444 * net/socks.el: Require network-stream. (Bug#10599)
4446 2012-02-17 Kenichi Handa <handa@m17n.org>
4448 * international/charprop.el:
4449 * international/uni-name.el:
4450 * international/uni-old-name.el:
4451 * international/uni-comment.el: Regenerate.
4453 2012-02-16 Glenn Morris <rgm@gnu.org>
4455 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4456 Interactively in calendar buffer, give an error if not on a date.
4458 2012-02-15 Glenn Morris <rgm@gnu.org>
4460 * shell.el (shell-delimiter-argument-list):
4461 Revert 2011-02-17 change. (Bug#8027)
4463 2012-02-15 Chong Yidong <cyd@gnu.org>
4465 * minibuffer.el (completion-at-point-functions): Doc fix.
4467 * custom.el (defcustom): Doc fix; note use of defvar.
4469 2012-02-15 Glenn Morris <rgm@gnu.org>
4471 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4474 2012-02-14 Glenn Morris <rgm@gnu.org>
4476 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4478 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4480 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4481 way the ports list is computed.
4482 (smtpmail-query-smtp-server): Prompt the user for a port number if
4483 we can't connect to any of the standard ports (bug#10810).
4485 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4487 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4489 2012-02-13 Glenn Morris <rgm@gnu.org>
4491 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4493 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4495 * net/gnutls.el (gnutls-trustfiles): New variable.
4496 (gnutls-negotiate): Use it.
4498 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4500 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4501 does its stuff if Gnus is running.
4503 2012-02-13 Alan Mackenzie <acm@muc.de>
4505 Fix a loop in c-set-fl-decl-start.
4507 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4508 c-backward-syntactic-ws actually moves backwards.
4510 2012-02-13 Leo Liu <sdl.web@gmail.com>
4512 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4513 beginning so that all \C-o chars are removed.
4515 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4517 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4519 2012-02-12 Alan Mackenzie <acm@muc.de>
4521 Fix infinite loop with long macros.
4522 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4524 2012-02-12 Chong Yidong <cyd@gnu.org>
4526 * window.el (display-buffer): Doc fix (Bug#10785).
4528 2012-02-12 Glenn Morris <rgm@gnu.org>
4530 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4531 (x-disown-selection-internal, x-get-selection-internal):
4532 Sync docs with the xselect.c versions.
4534 * allout-widgets.el: Add missing license notice.
4536 2012-02-11 Glenn Morris <rgm@gnu.org>
4538 * select.el (x-get-selection-internal, x-own-selection-internal)
4539 (x-disown-selection-internal):
4540 * x-dnd.el (x-get-selection-internal): Update declarations.
4542 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4544 * window.el (window-sides-slots):
4545 * tool-bar.el (tool-bar-position):
4546 * term/xterm.el (xterm-extra-capabilities):
4547 * ses.el (ses-self-reference-early-detection):
4548 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4549 (verilog-auto-wire-type)
4550 (verilog-auto-delete-trailing-whitespace)
4551 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4552 (verilog-auto-tieoff-declaration):
4553 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4554 (sql-oracle-statement-starters, sql-oracle-scan-on):
4555 * progmodes/prolog.el (prolog-align-comments-flag)
4556 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4557 (prolog-left-indent-regexp, prolog-paren-indent-p)
4558 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4559 (prolog-types, prolog-mode-specificators)
4560 (prolog-determinism-specificators, prolog-directives)
4561 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4562 (prolog-electric-dot-flag)
4563 (prolog-electric-dot-full-predicate-template)
4564 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4565 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4566 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4567 (prolog-program-switches, prolog-prompt-regexp)
4568 (prolog-debug-on-string, prolog-debug-off-string)
4569 (prolog-trace-on-string, prolog-trace-off-string)
4570 (prolog-zip-on-string, prolog-zip-off-string)
4571 (prolog-use-standard-consult-compile-method-flag)
4572 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4573 (prolog-imenu-max-lines, prolog-info-predicate-index)
4574 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4575 (prolog-char-quote-workaround):
4576 * progmodes/cc-vars.el (c-defun-tactic):
4577 * net/tramp.el (tramp-encoding-command-interactive)
4578 (tramp-local-end-of-line):
4579 * net/soap-client.el (soap-client):
4580 * net/netrc.el (netrc-file):
4581 * net/gnutls.el (gnutls):
4582 * minibuffer.el (completion-category-overrides)
4583 (completion-cycle-threshold)
4584 (completion-pcm-complete-word-inserts-delimiters):
4585 * man.el (Man-name-local-regexp):
4586 * mail/feedmail.el (feedmail-display-full-frame):
4587 * international/characters.el (glyphless-char-display-control):
4588 * eshell/em-ls.el (eshell-ls-date-format):
4589 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4590 (lisp-lambda-list-keyword-parameter-indentation)
4591 (lisp-lambda-list-keyword-parameter-alignment):
4592 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4593 * dired-x.el (dired-omit-verbose):
4594 * cus-theme.el (custom-theme-allow-multiple-selections):
4595 * calc/calc.el (calc-highlight-selections-with-faces)
4596 (calc-lu-field-reference, calc-lu-power-reference)
4597 (calc-note-threshold):
4598 * battery.el (battery-mode-line-limit):
4599 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4600 (archive-7z-update):
4601 * allout.el (allout-prefixed-keybindings)
4602 (allout-unprefixed-keybindings)
4603 (allout-inhibit-auto-fill-on-headline)
4604 (allout-flattened-numbering-abbreviation):
4605 * allout-widgets.el (allout-widgets-auto-activation)
4606 (allout-widgets-icons-dark-subdir)
4607 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4608 (allout-widgets-theme-dark-background)
4609 (allout-widgets-theme-light-background)
4610 (allout-widgets-item-image-properties-emacs)
4611 (allout-widgets-item-image-properties-xemacs)
4612 (allout-widgets-run-unit-tests-on-load)
4613 (allout-widgets-time-decoration-activity)
4614 (allout-widgets-hook-error-post-time)
4615 (allout-widgets-track-decoration):
4616 Add missing :version tags to new defcustoms and defgroups.
4618 * progmodes/sql.el (sql-ansi-statement-starters)
4619 (sql-oracle-statement-starters): Add custom type.
4621 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4622 (prolog-system-version): Give it a type.
4624 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4626 * term/pc-win.el (x-select-text, x-selection-owner-p)
4627 (x-own-selection-internal, x-disown-selection-internal)
4628 (x-get-selection-internal): Sync doc strings and argument lists
4629 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4631 2012-02-11 Leo Liu <sdl.web@gmail.com>
4633 * progmodes/python.el (python-end-of-statement): Fix infinite
4636 2012-02-10 Glenn Morris <rgm@gnu.org>
4638 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4639 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4641 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4643 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4644 about SMTP before checking the From header.
4646 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4647 into own function for reuse by emacsbug.el.
4649 2012-02-10 Leo Liu <sdl.web@gmail.com>
4651 * subr.el (condition-case-unless-debug): Rename from
4652 condition-case-no-debug. All callers changed.
4653 (with-demoted-errors): Fix caller.
4655 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4656 * nxml/rng-valid.el (rng-do-some-validation):
4657 * emacs-lisp/package.el (package-refresh-contents)
4658 (package-menu-execute):
4659 * desktop.el (desktop-create-buffer):
4660 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4662 2012-02-10 Glenn Morris <rgm@gnu.org>
4664 * textmodes/bibtex.el:
4665 Add missing :version tags for new/changed defcustoms.
4667 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4669 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4671 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4672 (smtpmail-via-smtp): Use it, or fall back on the From address.
4673 (smtpmail-send-it): Ditto.
4675 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4677 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4678 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4679 (byte-compile-tmp-var): New const.
4680 (byte-compile-defvar): Use it to minimize .elc size.
4681 Just use `defvar' rather than simulate it (bug#10761).
4683 2012-02-09 Glenn Morris <rgm@gnu.org>
4685 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4687 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4690 * progmodes/compile.el (compilation-error-screen-columns)
4691 (compilation-first-column, compilation-filter-start): Doc fixes.
4693 * vc/log-view.el (log-view-toggle-entry-display):
4694 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4696 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4697 (report-emacs-bug-can-use-xdg-email):
4698 (report-emacs-bug-insert-to-mailer): Doc fixes.
4699 (report-emacs-bug): Message fix.
4701 * net/browse-url.el (browse-url-can-use-xdg-open)
4702 (browse-url-xdg-open): Doc fixes.
4704 * electric.el (electric-indent-mode, electric-pair-mode)
4705 (electric-layout-rules, electric-layout-mode): Doc fixes.
4706 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4708 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4710 * server.el (server-unselect-display): Don't inadvertently kill
4711 the current buffer. (Bug#10729)
4713 2012-02-08 Glenn Morris <rgm@gnu.org>
4715 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4716 (sql-list-table): Doc fixes.
4718 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4719 Comment out (does nothing).
4721 * completion.el (dynamic-completion-mode):
4722 * dirtrack.el (dirtrack-debug-mode):
4723 * electric.el (electric-layout-mode):
4724 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4725 * face-remap.el (text-scale-mode, buffer-face-mode):
4726 * iimage.el (iimage-mode):
4727 * image-mode.el (image-transform-mode):
4728 * minibuffer.el (completion-in-region-mode):
4729 * scroll-lock.el (scroll-lock-mode):
4730 * simple.el (next-error-follow-minor-mode):
4731 * tar-mode.el (tar-subfile-mode):
4732 * tooltip.el (tooltip-mode):
4733 * vcursor.el (vcursor-use-vcursor-map):
4734 * wid-browse.el (widget-minor-mode):
4735 * emulation/tpu-edt.el (tpu-edt-mode):
4736 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4737 * international/iso-ascii.el (iso-ascii-mode):
4738 * language/thai-util.el (thai-word-mode):
4739 * mail/supercite.el (sc-minor-mode):
4740 * net/goto-addr.el (goto-address-mode):
4741 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4742 * progmodes/cwarn.el (cwarn-mode):
4743 * progmodes/flymake.el (flymake-mode):
4744 * progmodes/glasses.el (glasses-mode):
4745 * progmodes/hideshow.el (hs-minor-mode):
4746 * progmodes/pascal.el (pascal-outline-mode):
4747 * textmodes/enriched.el (enriched-mode):
4748 * vc/smerge-mode.el (smerge-mode):
4749 Doc fixes (minor mode argument).
4751 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4753 * ls-lisp.el (ls-lisp-sanitize): New function.
4754 (ls-lisp-insert-directory): Use it to fix or remove any elements
4755 in file-alist with missing attributes. (Bug#4673)
4757 2012-02-07 Alan Mackenzie <acm@muc.de>
4759 Fix spurious recognition of c-in-knr-argdecl.
4761 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4762 putative K&R region.
4764 2012-02-07 Alan Mackenzie <acm@muc.de>
4766 * progmodes/cc-engine.el (c-forward-objc-directive):
4767 Prevent looping in "#pragma mark @implementation".
4769 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4771 * notifications.el (notifications-on-closed-signal): Make `reason'
4772 optional. (Bug#10744)
4774 2012-02-07 Glenn Morris <rgm@gnu.org>
4776 * emacs-lisp/easy-mmode.el (define-minor-mode):
4777 Doc fixes for the macro and the mode it defines.
4779 * image.el (imagemagick-types-inhibit): Doc fix.
4781 * cus-start.el (imagemagick-render-type): Add it.
4783 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4785 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4786 Set the default at load time, too, so that `font-lock-fontify-buffer'
4787 can be called without setting up the entire mode first. This fixes
4788 a bug in `mm-inline-text' with C MIME parts.
4790 2012-02-06 Chong Yidong <cyd@gnu.org>
4792 * simple.el (list-processes--refresh): Delete exited processes
4795 * comint.el (comint-next-prompt): next-single-char-property-change
4796 and prev-single-char-property-change never return nil (Bug#8657).
4798 * custom.el (defcustom): Doc fix (Bug#9711).
4800 2012-02-05 Chong Yidong <cyd@gnu.org>
4802 * cus-edit.el (custom-variable-reset-backup): Quote the value
4803 before storing it in the customized-value property (Bug#6712).
4804 (custom-display): Add a customization type tag.
4805 (custom-buffer-create-internal): Improve tooltip message.
4807 * wid-edit.el (widget-field-value-get): New optional arg to
4808 suppress trailing whitespace truncation.
4809 (character): Use it (Bug#2689).
4811 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4813 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4814 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4816 2012-02-05 Chong Yidong <cyd@gnu.org>
4818 * cus-edit.el (custom-variable-value-create): For mismatched
4819 types, show the current value (Bug#7600).
4821 * custom.el (defcustom): Doc fix.
4823 2012-02-05 Glenn Morris <rgm@gnu.org>
4825 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4827 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4829 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4830 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4831 (pp-last-sexp): Use `looking-at-p'.
4833 2012-02-04 Glenn Morris <rgm@gnu.org>
4835 * files.el (revert-buffer):
4836 Doc fix (mention revert-buffer-in-progress-p).
4838 * emacs-lisp/ert-x.el (ert-simulate-command):
4839 Check deferred-action-list (which is obsolete) is bound.
4841 * subr.el (with-wrapper-hook): Doc fixes.
4843 * simple.el (filter-buffer-substring-functions)
4844 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4846 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4848 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4849 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4851 2012-02-04 Leo Liu <sdl.web@gmail.com>
4853 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4855 2012-02-04 Glenn Morris <rgm@gnu.org>
4857 * image.el (image-extension-data): Add obsolete alias.
4859 * isearch.el (isearch-update): Doc fix.
4861 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4863 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4865 2012-02-03 Glenn Morris <rgm@gnu.org>
4867 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4868 (image-animate-timeout): Doc fix.
4870 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4872 2012-02-02 Glenn Morris <rgm@gnu.org>
4874 * server.el (server-auth-dir): Doc fix.
4875 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4877 * subr.el (run-mode-hooks): Doc fix.
4879 2012-02-02 Juri Linkov <juri@jurta.org>
4881 * image-mode.el (image-toggle-display-image): Remove tautological
4882 `major-mode' from the `derived-mode-p' test.
4884 2012-02-02 Kenichi Handa <handa@m17n.org>
4886 * composite.el (compose-region): Cancel previous change.
4888 2012-02-02 Kenichi Handa <handa@m17n.org>
4890 * composite.el (compose-region, compose-string): Signal error for
4891 a null string component (Bug#6988).
4893 2012-02-01 Chong Yidong <cyd@gnu.org>
4895 * view.el (view-buffer-other-window, view-buffer-other-frame):
4896 Handle special modes like view-buffer (Bug#10650).
4897 (view-buffer): Simplify.
4899 * frame.el (set-frame-font): Tweak meaning of third argument.
4901 * dynamic-setting.el (font-setting-change-default-font):
4902 Use set-frame-font (Bug#9982).
4904 2012-02-01 Glenn Morris <rgm@gnu.org>
4906 * progmodes/compile.el (compilation-internal-error-properties):
4907 Respect compilation-first-column in the "*compilation*" buffer.
4909 * emacs-lisp/easy-mmode.el (define-minor-mode):
4910 Relax :variable's test for a named function.
4912 2012-01-31 Alan Mackenzie <acm@muc.de>
4914 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4917 2012-01-31 Chong Yidong <cyd@gnu.org>
4919 * frame.el (set-frame-font): New arg ALL-FRAMES.
4921 * menu-bar.el (menu-set-font): Use set-frame-font.
4923 * faces.el (face-spec-reset-face): Don't apply unspecified
4924 attribute values to the default face.
4926 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4928 * progmodes/cwarn.el (cwarn): Remove dead link.
4929 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4930 Remove * from defcustom docstrings.
4931 (turn-on-cwarn-mode): Make obsolete.
4932 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4933 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4935 2012-01-31 Glenn Morris <rgm@gnu.org>
4937 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4938 Fix :variable handling of mode a symbol not equal to modefun.
4939 Allow named functions to be used as the cdr of :variable.
4941 2012-01-30 Glenn Morris <rgm@gnu.org>
4943 * emacs-lisp/authors.el (authors-fixed-entries):
4944 Remove reference to deleted file rnewspost.el.
4946 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4948 * window.el (window-with-parameter): Remove unused variable `windows'.
4949 (window--side-check): Remove unused variable `code'.
4950 (window--resize-siblings): Remove unused variable `first'.
4951 (adjust-window-trailing-edge): Remove unused variable `failed'.
4952 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4953 Use `let', not `let*'.
4954 (balance-windows-2): Remove unused variable `found'.
4955 (window--state-put-2): Remove unused variable `splits'.
4956 (window-state-put): Remove unused variable `selected'.
4957 (same-window-p): Use `string-match-p'.
4958 (display-buffer-assq-regexp): Remove unused variable `value'.
4959 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4960 Mark argument ALIST as ignored.
4961 (pop-to-buffer): Remove unused variable `old-window'.
4963 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4965 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4966 and .lzma compressed files.
4968 2012-01-29 Chong Yidong <cyd@gnu.org>
4970 * frame.el (window-system-default-frame-alist): Doc fix.
4972 * dynamic-setting.el (font-setting-change-default-font): Don't
4973 change the default face if SET-FONT argument is non-nil (Bug#9982).
4975 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4977 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4979 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4981 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4982 breakpoints in files outside current directory (Bug#6098).
4984 2012-01-29 Chong Yidong <cyd@gnu.org>
4986 * progmodes/python.el: Require ansi-color at top-level.
4988 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4989 Define and use in Emacs Lisp mode (Bug#9360).
4990 (lisp-mode-abbrev-table): Add doc.
4991 (lisp-mode-variables): Don't set local-abbrev-table.
4992 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4994 2012-01-28 Roland Winkler <winkler@gnu.org>
4996 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4998 2012-01-28 Roland Winkler <winkler@gnu.org>
5000 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5001 (bibtex-set-dialect): Use it. Either set global values of
5002 dialect-dependent variables or bind these variables buffer-locally
5004 (bibtex-mode): Call bibtex-set-dialect via
5005 hack-local-variables-hook.
5006 (bibtex-dialect): Update docstring.
5007 Add safe-local-variable predicate.
5008 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5010 (bibtex-mode-map): Define menu for each dialect.
5011 (bibtex-entry): Fix docstring.
5013 2012-01-28 Chong Yidong <cyd@gnu.org>
5015 * eshell/esh-arg.el (eshell-quote-argument): New function.
5017 * eshell/esh-ext.el (eshell-invoke-batch-file):
5018 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5019 first arg to eshell-parse-command (Bug#10523).
5021 2012-01-28 Drew Adams <drew.adams@oracle.com>
5023 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5024 `default-directory' is non-nil.
5026 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5028 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5029 line that displays system-configuration-options. (Bug#9924)
5031 2012-01-28 Drew Adams <drew.adams@oracle.com>
5033 * descr-text.el (describe-char): Show information about POS, in
5034 addition to information about the character at POS. Improve and
5035 update the doc string. Change "code point" to "code point in
5036 charset", to avoid confusion with the character's Unicode code
5037 point shown above that. (Bug#10129)
5039 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5041 * descr-text.el (describe-char): Show the raw character, not only
5042 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5043 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5046 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5048 * emacs-lisp/package.el (package-install):
5049 Run package-refresh-contents if there is no archive yet (Bug#9798).
5051 2012-01-28 Chong Yidong <cyd@gnu.org>
5053 * emacs-lisp/package.el (package-maybe-load-descriptor):
5054 New function, split from package-maybe-load-descriptor.
5055 (package-maybe-load-descriptor): Use it.
5056 (package-download-transaction): Fully load required packages
5057 inside the loop, so that `require' calls work (Bug#10593).
5058 (package-install): No need to call package-initialize now.
5060 2012-01-28 Chong Yidong <cyd@gnu.org>
5062 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5064 * tooltip.el (tooltip-mode): Doc fix.
5065 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5067 * frame.el (set-cursor-color): Doc fix (Bug#352).
5069 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5070 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5072 * cus-edit.el (custom-buffer-create-internal): Fix search button
5074 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5076 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5078 * dired.el (dired-mark-files-regexp):
5079 Include any subdirectory components. (Bug#10445)
5081 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5083 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5084 Handle [host]:port syntax. (Bug#10533)
5086 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5088 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5090 2012-01-26 Glenn Morris <rgm@gnu.org>
5092 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5093 * term.el (term-raw-escape-map): Use Control-X-prefix.
5094 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5096 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5098 * window.el (window-state-get, window--state-get-1): Don't deal
5099 with fixed-sizeness of windows. Simplify code.
5101 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5103 * window.el (window--state-get-1, window--state-put-2):
5104 Don't save and restore the mark.
5106 2012-01-25 Chong Yidong <cyd@gnu.org>
5108 * custom.el (custom-variable-p): Doc fix.
5110 2012-01-25 Glenn Morris <rgm@gnu.org>
5112 * dired.el (dired-goto-file): Handle some of the more common
5113 characters that `ls -b' escapes. (Bug#10596)
5115 * progmodes/compile.el (compilation-next-error-function):
5116 Respect compilation-first-column in the "*compilation*" buffer.
5117 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5119 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5121 2012-01-24 Glenn Morris <rgm@gnu.org>
5123 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5125 2012-01-24 Julien Danjou <julien@danjou.info>
5127 * color.el (color-rgb-to-hsl): Fix value computing.
5128 (color-hue-to-rgb): New function.
5129 (color-hsl-to-rgb): New function.
5130 (color-clamp, color-saturate-hsl, color-saturate-name)
5131 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5132 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5134 2012-01-24 Glenn Morris <rgm@gnu.org>
5136 * vc/vc-rcs.el (vc-rcs-create-tag):
5137 * vc/vc-sccs.el (vc-sccs-create-tag):
5138 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5140 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5142 * eshell/esh-util.el (eshell-read-hosts-file):
5143 Skip comment lines. (Bug#10549)
5145 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5147 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5149 * subr.el (display-delayed-warnings): Doc fix.
5150 (collapse-delayed-warnings): New function to collapse identical
5152 (delayed-warnings-hook): Add it.
5154 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5156 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5158 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5159 (tramp-default-user-alist): Don't add "pscp".
5160 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5161 property "login-as", if set. (Bug#10530)
5163 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5165 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5166 "plink1" and "psftp". (Bug#10530)
5168 2012-01-21 Kenichi Handa <handa@m17n.org>
5170 * international/mule-cmds.el (prefer-coding-system): Show a
5171 warning message if the default value of file-name-coding-system
5174 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5176 * windmove.el (windmove-reference-loc):
5177 Fix windmove-reference-loc miscalculation.
5179 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5181 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5184 2012-01-21 Glenn Morris <rgm@gnu.org>
5186 * international/mule.el (auto-coding-alist): Add .tbz.
5188 * files.el (local-enable-local-variables): Doc fix.
5189 (inhibit-local-variables-regexps): Rename from
5190 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5191 Doc fix. Add some extensions from auto-coding-alist.
5192 (inhibit-local-variables-suffixes):
5193 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5194 (inhibit-local-variables-p):
5195 New function, extracted from set-auto-mode-1.
5196 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5197 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5198 (hack-local-variables): Doc fix. Make the mode-only case
5199 respect enable-local-variables and friends.
5200 Respect inhibit-local-variables-regexps for file-locals, but
5201 not for directory-locals.
5202 (set-visited-file-name):
5203 Take account of inhibit-local-variables-regexps.
5204 Whether it applies may change as the file name is changed.
5205 * jka-cmpr-hook.el (jka-compr-install):
5206 * jka-compr.el (jka-compr-uninstall):
5207 Update for inhibit-first-line-modes-suffixes name change.
5209 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5211 * help-macro.el (make-help-screen): Temporarily restore original
5212 binding for minor-mode-map-alist (Bug#10454).
5214 2012-01-19 Julien Danjou <julien@danjou.info>
5216 * color.el (color-name-to-rgb): Use the white color to find the max
5217 color component value and return correctly computed values.
5218 (color-name-to-rgb): Add missing float conversion for max value.
5220 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5222 * window.el (window--state-get-1, window-state-get): Do not use
5223 special state value for window-persistent-parameters.
5224 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5225 (window--state-put-2): Reset all window parameters to nil before
5226 assigning values of persistent parameters.
5228 2012-01-18 Alan Mackenzie <acm@muc.de>
5230 Eliminate sluggishness and hangs in fontification of "semicolon
5233 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5234 Change value 10000 -> 3000.
5235 (c-state-safe-place): Reformulate so it doesn't stack up an
5236 infinite number of wrong entries in c-state-nonlit-pos-cache.
5237 (c-determine-limit-get-base, c-determine-limit): New functions to
5238 determine backward search limits disregarding literals.
5239 (c-find-decl-spots): Amend commenting.
5240 (c-cheap-inside-bracelist-p): New function which detects "={".
5242 * progmodes/cc-fonts.el
5243 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5245 (c-font-lock-declarations): Fix an occurrence of point being
5246 undefined. Check additionally for point being in a bracelist or
5247 near a macro invocation without a semicolon so as to avoid a
5248 fruitless time consuming search for a declarator. Give a more
5249 precise search limit for declarators using the new
5252 2012-01-18 Glenn Morris <rgm@gnu.org>
5254 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5255 (set-auto-mode): Doc fixes.
5257 2012-01-17 Glenn Morris <rgm@gnu.org>
5259 * isearch.el (search-nonincremental-instead): Fix doc typo.
5261 * dired.el (dired-insert-directory): Handle newlines in directory name.
5262 (dired-build-subdir-alist): Unescape newlines in directory name.
5264 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
5266 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5267 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5268 (tramp-action-terminal): Use it. (Bug#10530)
5270 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5272 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5274 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5276 * window.el (window-state-ignored-parameters): Remove variable.
5277 (window--state-get-1): Rename argument MARKERS to IGNORE.
5278 Handle persistent window parameters. Make copy of clone-of
5279 parameter only if requested. (Bug#10348)
5280 (window--state-put-2): Install a window parameter only if it has
5281 a non-nil value or an existing parameter shall be overwritten.
5283 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5285 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5287 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5289 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5290 don't pass the (nil) value of `upnode' to string-match.
5292 2012-01-14 Chong Yidong <cyd@gnu.org>
5294 * startup.el (command-line): Fix X resource class for cursorColor.
5295 Fix values recognized by the cursorBlink resource.
5297 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5299 * epg.el (epg--make-temp-file): Avoid permission race condition
5300 when running on old Emacs versions (bug#10403).
5302 2012-01-14 Glenn Morris <rgm@gnu.org>
5304 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5306 2012-01-13 Alan Mackenzie <acm@muc.de>
5308 Fix filling for when filladapt mode is enabled.
5310 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5311 c-mask-paragraph, pass in `fill-paragraph' rather than
5312 `fill-region-as-paragraph'. (This is a reversion of a previous
5314 * progmodes/cc-mode.el (c-basic-common-init):
5315 Make fill-paragraph-handle-comment buffer local and set it to nil.
5317 2012-01-13 Glenn Morris <rgm@gnu.org>
5319 * dired.el (dired-switches-escape-p): New function.
5320 (dired-insert-directory): Use dired-switches-escape-p.
5321 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5323 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5325 2012-01-12 Glenn Morris <rgm@gnu.org>
5327 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5328 changes in adaptive-fill-regexp. (Bug#10276)
5330 2012-01-11 Alan Mackenzie <acm@muc.de>
5332 Fix Emacs bug #10463 - put `widen's around the critical spots.
5334 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5335 widen around each invocation of c-state-pp-to-literal. Remove an
5336 unused let variable.
5338 2012-01-11 Glenn Morris <rgm@gnu.org>
5340 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5343 2012-01-10 Chong Yidong <cyd@gnu.org>
5345 * net/network-stream.el (network-stream-open-starttls):
5346 Avoid emitting a confusing error message when the server gives a bad
5347 response to the capability command.
5349 2012-01-10 Glenn Morris <rgm@gnu.org>
5351 * mail/unrmail.el (unrmail): Tweak previous change.
5353 2012-01-09 Chong Yidong <cyd@gnu.org>
5355 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5357 2012-01-08 Alan Mackenzie <acm@muc.de>
5359 Optimise font locking in long enum definitions.
5361 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5362 arm to a cond form to handle enums.
5363 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5364 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5366 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5368 * files.el (move-file-to-trash): Preserve default file modes on error.
5371 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5373 * faces.el (set-face-attribute): Clarify the meaning of the nil
5376 * subr.el (with-selected-frame): Mention that the selected frame
5377 is restored (bug#9980).
5379 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5382 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5383 (password-read): Don't autoload unused function.
5385 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5387 * progmodes/which-func.el (which-func-mode): Turn into a
5388 non-interactive function and mark as obsolete (bug#10428).
5390 2012-01-06 Chong Yidong <cyd@gnu.org>
5392 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5393 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5394 functions, along with 1 and -1.
5396 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5398 * time.el (display-time-load-average)
5399 (display-time-default-load-average): Doc fixes. See the thread
5401 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5404 2012-01-06 Glenn Morris <rgm@gnu.org>
5406 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5407 has no messages. (Bug#10377)
5409 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5410 than Info-edit. (Bug#10385)
5412 * time.el (display-time-load-average, display-time-next-load-average):
5415 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5416 local setting of buffer-read-only to the input buffer. (Bug#10419)
5418 * calendar/calendar.el (calendar-mode):
5419 Locally set scroll-margin to 0. (Bug#10379)
5421 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5423 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5425 2012-01-05 Glenn Morris <rgm@gnu.org>
5427 * eshell/em-unix.el (diff-no-select): Autoload it.
5428 (eshell/diff): Use diff-no-select. (Bug#10420)
5430 2012-01-05 Chong Yidong <cyd@gnu.org>
5432 * shell.el (shell-dynamic-complete-functions): Revert last change.
5433 (shell-command-completion-function): New function.
5434 (shell-completion-vars): Use it to implement
5435 shell-completion-execonly (Bug#10417).
5437 * custom.el (enable-theme): Don't set custom-safe-themes.
5439 * cus-theme.el (custom-theme-merge-theme):
5440 Ignore custom-enabled-themes and custom-safe-themes.
5442 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5444 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5445 first prompt in `sql-interacive-mode'.
5446 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5448 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5449 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5450 context of original buffer. Invoke `sql-login-hook'.
5452 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5454 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5455 letters in cite-prefix.
5457 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5459 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5461 2012-01-03 Chong Yidong <cyd@gnu.org>
5463 * shell.el (shell-dynamic-complete-functions):
5464 Put pcomplete-completions-at-point, so as to try
5465 comint-filename-completion first (Bug#10417).
5467 2012-01-02 Richard Stallman <rms@gnu.org>
5469 * battery.el (battery-status-function):
5470 Detect when to use battery-yeeloong-sysfs.
5471 (battery-echo-area-format): Add string for Yeeloong.
5472 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5473 (battery-yeeloong-sysfs): New function.
5475 2012-01-02 Chong Yidong <cyd@gnu.org>
5477 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5478 (dirtrack): Merge code for handling relative filenames in prompt
5479 from shell-dir-cookie-watcher.
5480 (dirtrack-debug-message): New arg to avoid excess format calls.
5482 * shell.el (shell-dir-cookie-re): Variable deleted.
5483 (shell-dir-cookie-watcher): Function deleted.
5484 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5487 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5489 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5490 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5493 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5495 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5497 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5499 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5500 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5502 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5504 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5505 also for alternative shells.
5506 (tramp-open-connection-setup-interactive-shell): Check, whether
5507 the shell is a busybox.
5508 (tramp-send-command): Don't suppress multiple prompts for
5509 busyboxes, it hurts.
5511 2011-12-28 Chong Yidong <cyd@gnu.org>
5513 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5514 (gdb-get-source-file): Move mode line update to
5515 gdb-get-source-file (Bug#10087).
5517 2011-12-25 Chong Yidong <cyd@gnu.org>
5519 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5520 gud-gdb-marker-filter without taking it as an argument.
5521 (gud-gdb-run-command-fetch-lines): Caller changed.
5522 (gud-gdb-completion-function): New variable.
5523 (gud-gdb-completion-at-point): Use it.
5524 (gud-gdb-completions-1): Split from gud-gdb-completions.
5526 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5527 function as separate arguments.
5528 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5529 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5530 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5531 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5532 (gdb-stopped, def-gdb-auto-update-trigger)
5533 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5534 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5536 (gud-gdbmi-completions): New function.
5537 (gdb): Use it for generating the completion table.
5539 2011-12-24 Alan Mackenzie <acm@muc.de>
5541 Introduce a mechanism to widen the region used in context font
5542 locking. Use this to protect declarations from losing their contexts.
5544 * progmodes/cc-langs.el (c-before-font-lock-functions):
5545 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5546 (c-before-context-fontification-functions): New defvar, a list of
5547 functions to be run just before context (etc.) font locking.
5549 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5550 New, functionality extracted from
5551 c-neutralize-syntax-in-and-mark-CPP.
5552 (c-in-after-change-fontification): New variable.
5553 (c-after-change): Set c-in-after-change-fontification.
5554 (c-set-fl-decl-start): Rejig its interface, so it can be called
5555 from both after-change and context fontifying.
5556 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5558 (c-standard-font-lock-fontify-region-function): New variable.
5559 (c-font-lock-fontify-region): New function.
5561 2011-12-24 Juri Linkov <juri@jurta.org>
5563 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5566 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5568 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5569 existence of source file. (Bug#10325)
5571 2011-12-23 Alan Mackenzie <acm@muc.de>
5573 Fix unstable fontification inside templates.
5575 * progmodes/cc-langs.el (c-before-font-lock-functions):
5576 Newly created from the singular version. The (c c++ objc) entry now
5577 additionally has c-set-fl-decl-start. The other languages (apart
5578 from AWK) have that as a single entry.
5580 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5581 The functionality for "local" declarations has been extracted to
5582 c-set-fl-decl-start.
5584 * progmodes/cc-mode.el (c-common-init, c-after-change):
5585 Changes due to pluralisation of c-before-font-lock-functions.
5586 (c-set-fl-decl-start): New function, extracted from
5587 c-font-lock-enclosing-decls and enhanced.
5589 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5591 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5593 2011-12-22 Juri Linkov <juri@jurta.org>
5595 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5597 2011-12-22 Chong Yidong <cyd@gnu.org>
5599 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5601 2011-12-21 Drew Adams <drew.adams@oracle.com>
5603 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5605 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5607 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5609 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5611 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5612 highlighting and support. Fix up comments for capitalization.
5613 (cfengine-mode-debug): New var.
5614 (cfengine3-mode): Change the modeline indicator to "CFE3".
5615 (cfengine3-font-lock-keywords): Improve defun highlighting.
5616 (cfengine2-actions): Rename from `cfengine-actions'.
5617 (cfengine2-font-lock-keywords): Rename from
5618 `cfengine-font-lock-keywords'.
5619 (cfengine2-imenu-expression): Rename from
5620 `cfengine-imenu-expression'.
5621 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5622 (cfengine2-beginning-of-defun): Rename from
5623 `cfengine-beginning-of-defun'.
5624 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5625 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5626 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5627 modeline indicator to "CFE2".
5628 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5629 (cfengine-mode-abbrevs): Mark obsolete.
5631 2011-12-21 Chong Yidong <cyd@gnu.org>
5633 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5636 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5638 * window.el (window-normalize-buffer-to-display): Remove.
5639 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5641 2011-12-19 Chong Yidong <cyd@gnu.org>
5643 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5644 Don't signal an error in a predicate function; return non-nil.
5645 (vc-dir-mark-file): Move the error here.
5646 (vc-dir-mark-unmark): If acting on the region, keep going if one
5647 of the entries cannot be marked/unmarked.
5648 (vc-dir-mark-all-files): If current entry is a directory, mark
5649 only child files, as documented.
5651 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5653 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5654 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5657 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5659 * term/ns-win.el (ns-get-selection-internal)
5660 (ns-store-selection-internal): Declare.
5661 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5662 Declare as obsolete.
5663 (ns-get-pasteboard, ns-paste-secondary):
5664 Use ns-get-selection-internal.
5665 (ns-set-pasteboard, ns-copy-including-secondary):
5666 Use ns-store-selection-internal.
5668 2011-12-17 Chong Yidong <cyd@gnu.org>
5670 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5671 (vc-deduce-fileset): Doc fix.
5673 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5675 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5677 2011-12-13 Sam Steingold <sds@gnu.org>
5679 * man.el (Man-getpage-in-background): When running under a
5680 window-system, ignore $MANWIDTH and $COLUMNS.
5682 2011-12-15 Kenichi Handa <handa@m17n.org>
5684 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5685 (setup-ethiopic-environment-internal): Comment out key-binding for
5686 ethio-toggle-punctuation.
5688 2011-12-13 Alan Mackenzie <acm@muc.de>
5690 Add the switch statement to AWK Mode.
5692 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5693 "default" to the keywords regexp.
5695 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5696 expression as the rest.
5697 (c-nonlabel-token-key): Allow string literals for AWK.
5698 Refactor for the other modes.
5700 Large brace-block initialisation makes CC Mode slow: Fix.
5701 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5702 routines. Limit backward searching in c-font-lock-enclosing.decl.
5704 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5705 pp-state and literal type in addition to the limits.
5706 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5707 (c-state-literal-at): Use the above new defun.
5708 (c-slow-in-literal, c-fast-in-literal): Remove.
5709 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5711 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5712 being in a literal. Add a limit for backward searching.
5714 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5717 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5719 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5721 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5723 * window.el (delete-other-windows): Use correct frame in call to
5724 window-with-parameter.
5726 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5728 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5729 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5730 (makefile-gmake-statements, makefile-makepp-statements):
5731 Use it and add new makepp keywords.
5732 (makefile-makepp-font-lock-keywords): Add new patterns.
5733 (makefile-match-function-end): Match new [...] and [[...]].
5735 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5737 * ses.el (ses-call-printer-return, ses-cell-property-get)
5738 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5739 (ses-create-cell-variable, ses-reset-header-string)
5740 (ses-cell-set-formula, ses-repair-cell-reference-all)
5741 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5742 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5743 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5744 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5745 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5746 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5747 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5748 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5749 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5750 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5751 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5752 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5754 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5756 * ses.el: The overall change is to add cell renaming, that is
5757 setting fancy names for cell symbols other than name matching
5758 "\\`[A-Z]+[0-9]+\\'" regexp .
5759 (ses-create-cell-variable): New defun.
5760 (ses-relocate-formula): Relocate formulas only for cells the
5761 symbols of which are not renamed, i.e. symbols whose names do not
5762 match regexp "\\`[A-Z]+[0-9]+\\'".
5763 (ses-relocate-all): Relocate values only for cells the symbols of
5764 which are not renamed.
5765 (ses-load): Create cells variables as the (ses-cell ...) are read,
5766 in order to check row col consistency with cell symbol name only
5767 for cells that are not renamed.
5768 (ses-replace-name-in-formula): New defun.
5769 (ses-rename-cell): New defun.
5771 2011-12-11 Chong Yidong <cyd@gnu.org>
5773 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5774 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5776 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5778 * window.el (other-window): Fix docstring.
5780 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5782 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5783 `from' or `to' address before taking its substring.
5784 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5785 encoded name is chopped in the middle of the encoded string, and
5786 thus displayed encoded.
5788 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5790 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5792 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5794 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5795 to use texinfo-update-node and commands that call it if the
5796 Texinfo file uses @node lines without next/prev/up pointers.
5797 Correct outdated description about texinfo-master-menu.
5798 (texinfo-all-menus-update, texinfo-master-menu)
5799 (texinfo-update-node, texinfo-every-node-update)
5800 (texinfo-multiple-files-update): Doc fix. Warn against updating
5801 all the @node lines.
5802 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5803 argument is numeric. Explain better in the doc string what the
5804 function really does.
5805 (texinfo-insert-master-menu-list): Improve the error message
5806 displayed if there's no menu in the Top node.
5807 (Bug#2975) See also this thread:
5808 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5810 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5812 * speedbar.el (speedbar-supported-extension-expressions):
5813 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5815 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5817 * printing.el (pr-mode-alist):
5818 * simple.el (filter-buffer-substring-functions)
5819 (completion-list-insert-choice-function):
5820 * window.el (window-with-parameter, window-atom-root)
5821 (window-sides-slots, window-size-fixed, window-min-delta)
5822 (window-max-delta, window--resize-mini-window)
5823 (window--resize-child-windows-normal, window-tree)
5824 (delete-other-windows, quit-window, split-window)
5825 (display-buffer-record-window, special-display-buffer-names)
5826 (special-display-regexps, special-display-popup-frame)
5827 (same-window-p, split-window-sensibly)
5828 (display-buffer-overriding-action, display-buffer-alist)
5829 (display-buffer-base-action, display-buffer, switch-to-buffer)
5830 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5831 (fit-window-to-buffer, recenter-positions)
5832 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5833 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5834 and remove unneeded backslashes in docstrings.
5836 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5838 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5840 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5841 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5843 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5844 when reading the makefile (bug#10116).
5846 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5848 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5851 2011-12-06 Glenn Morris <rgm@gnu.org>
5853 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5855 2011-12-06 Chong Yidong <cyd@gnu.org>
5857 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5859 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5861 * textmodes/table.el (table-shorten-cell): Fix typo.
5863 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5865 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5867 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5869 * descr-text.el (describe-char): Fix display of strong
5870 right-to-left characters and directional embeddings and overrides.
5872 * simple.el (what-cursor-position): Fix display of codepoints of
5873 strong right-to-left characters.
5875 2011-12-05 Chong Yidong <cyd@gnu.org>
5877 * faces.el (read-color): Doc fix.
5879 2011-12-05 Glenn Morris <rgm@gnu.org>
5881 * align.el (align--set-marker): Add doc-string.
5882 Don't try to move something that is not a marker. (Bug#10216)
5884 2011-12-04 Glenn Morris <rgm@gnu.org>
5886 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5887 overly zealous deletion of trailing whitespace.
5889 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5891 * server.el (server-delete-client): On Windows, do not try to delete
5893 (server-process-filter): On Windows, treat requests for a tty frame as
5894 if they were for a GUI frame if the running server is in GUI mode.
5896 2011-12-03 Glenn Morris <rgm@gnu.org>
5898 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5900 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5902 * electric.el: Streamline electric-indent's hook.
5903 (electric-indent-chars): Revert to simple list.
5904 (electric-indent-functions): New var.
5905 (electric-indent-post-self-insert-function): Use it.
5907 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5908 there's no inferior buffer (bug#10196).
5909 (prolog-consult-compile): Don't use toggle-read-only.
5911 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5913 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5914 interrupt. (Bug#10187)
5916 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5918 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5921 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5924 2011-12-02 Juri Linkov <juri@jurta.org>
5926 * info.el (Info-search): Display "end of manual" when Isearch
5927 reaches the end of single-file Info manual. (Bug#9918)
5929 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5931 * isearch.el (isearch-message-prefix): Run the input method part
5932 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5934 2011-12-02 Juri Linkov <juri@jurta.org>
5936 * isearch.el (isearch-occur): Use `word-search-regexp' for
5938 (isearch-search-and-update): Add condition for `isearch-word' and
5939 call `word-search-regexp'. (Bug#10145)
5941 2011-12-01 Glenn Morris <rgm@gnu.org>
5943 * eshell/em-hist.el (eshell-hist-initialize):
5944 Handle eshell-history-size nil and HISTSIZE set or unset.
5945 (eshell-history-file-name, eshell-history-size): Fix custom type.
5947 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5949 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5951 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5953 * progmodes/verilog-mode.el (verilog-pretty-expr):
5954 Rework verilog-pretty-expr to handle new assignment operators in system
5955 verilog, such as += *= and the like.
5956 (verilog-assignment-operator-re): Regular expression to find the
5957 assigment operator in a verilog assignment.
5958 (verilog-assignment-operation-re): Regular expression to find an
5959 assignment statement for pretty-expr.
5960 (verilog-in-attribute-p): Query returns true if point is in an
5961 attribute context; used to skip these for expression line up from
5963 (verilog-in-parameter-p): Query returns true if point is in an
5964 parameter definition context; used to skip these for expression
5965 line up from pretty-expr.
5966 (verilog-in-parenthesis-p): Query returns true if point is in a
5967 parenthetical expression, specifically ( ) but not [ ] or { };
5968 used by pretty-expr.
5969 (verilog-just-one-space): If there is no space, don't add one.
5970 (verilog-get-lineup-indent-2): Specifically skip just attribute
5971 contexts for expression lineup, rather than skipping all
5972 parenthetical expressions.
5973 (verilog-calculate-indent): Fix comment, and fix indent.
5974 (verilog-do-indent): Indent declarations in lists (suggested by
5976 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5978 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5981 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5983 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5984 parameters with embedded comments. Reported by Ray Stevens.
5985 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5986 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5987 Reported by Tim Holt.
5988 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5989 instantiated by upper module causing wrong expansion until AUTOed a
5990 second time. Reported by K C Buckenmaier.
5991 (verilog-diff-auto): Fix showing .* as a difference when
5992 `verilog-auto-star-save' off. Reported by Dan Dever.
5993 (verilog-auto-reset, verilog-read-always-signals)
5994 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5995 temporary signals in reset list if
5996 verilog-auto-reset-blocking-in-non is nil, and match assignment
5997 style to each signal's assignment type, bug381.
5998 Reported by Thomas Esposito.
5999 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6000 (verilog-uvm-statement-re): Support UVM indentation and
6001 highlighting, with old OVM keywords only.
6002 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6003 Support AUTOTIEOFF creating non-wire data types.
6004 Suggested by Jonathan Greenlaw.
6005 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6006 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6007 (verilog-inject-sense, verilog-read-inst-pins)
6008 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6009 Fix mismatching parenthesis inside commented out code when deleting
6010 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6011 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6012 non-numeric vector width. Reported by Alex Reed.
6013 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6014 detecting signals with parameter widths. Reported by Alex Reed.
6015 (verilog-auto-delete-trailing-whitespace):
6016 With `verilog-auto-delete-trailing-whitespace' remove trailing
6017 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6018 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6019 Fix verilog-scan-cache corruption when running user AUTO expansion
6020 hooks that call indentation routines.
6021 (verilog-simplify-range-expression): Fix typo ignoring lower case
6023 (verilog-delete-auto): Fix delete-autos to also remove user created
6024 automatics, as long as they start with AUTO.
6025 (verilog-batch-diff-auto, verilog-diff-auto)
6026 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6027 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6028 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6029 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6030 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6031 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6032 is disabled and its cache will get corrupt, causing AUTOS not to
6033 expand. Instead use only -quick functions.
6034 (verilog-scan-region): Fix scanning over escaped quotes.
6035 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6036 (verilog-re-search-backward-quick)
6037 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6038 related functions now ignore strings, to fix misparsing of strings
6039 with magic comments embedded in them.
6040 (verilog-read-auto-template):
6041 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6042 Reported by Brad Dobbie.
6043 (verilog-read-auto-template):
6044 Fix 'verilog-auto-inst-template-numbers' with comments.
6045 Reported by Brad Dobbie.
6046 (verilog-auto-inst, verilog-auto-inst-param)
6047 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6048 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6049 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6050 debugging templates without merge conflicts, bug357.
6051 Reported by Brad Dobbie.
6052 (verilog-read-auto-template):
6053 Fix verilog-auto-inst-template-numbers with multiple templates.
6054 Reported by Brad Dobbie.
6055 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6056 abbrevs so user won't be asked to save.
6057 (verilog-read-auto-lisp-present): Fix to start at beginning of
6058 buffer in case called outside of verilog-auto.
6059 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6060 to "X-2". Reported by Matthew Myers.
6061 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6062 all inputs from module templates. Reported by Leith Johnson.
6063 (verilog-module-inside-filename-p): Fix locating programs as with
6065 (verilog-auto-inst-port): Fix vl-width expressions when using
6066 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6067 (verilog-decls-get-regs, verilog-decls-get-signals,
6068 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6069 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6070 verilog-read-decls): Combine reg and wire structures into one var
6071 structure to represent SystemVerilog concepts.
6072 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6073 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6074 (verilog-auto-wire-type, verilog-insert-definition):
6075 Add verilog-auto-wire-type and AUTOLOGIC to support using
6076 SystemVerilog "logic" keyword instead of "wire"/"reg".
6077 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6078 to declares outputs that also have assignments (presumably in an
6079 ifdef or generate if so there's not a driver conflict).
6080 Reported by Matthew Myers.
6081 (verilog-auto-declare-nettype, verilog-insert-definition):
6082 Add verilog-auto-declare-nettype to fix declarations using
6083 `default_nettype none. Reported by Julian Gorfajn.
6084 (verilog-read-always-signals-recurse, verilog-read-decls)
6085 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6086 malformed end statement, bug325. Reported by Joshua Wise and
6088 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6089 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6090 when expanding .* in interfaces, bug320.
6091 Reported by Pierre-David Pfister.
6092 (verilog-read-module-name): Fix import statements between module
6093 name and open parenthesis, bug317.
6094 Reported by Pierre-David Pfister.
6095 (verilog-simplify-range-expression): Fix simplification of
6096 multiplications inside AUTOWIRE connections, bug303.
6097 (verilog-auto-inst-port): Support parameter expansion in
6098 multidimensional arrays.
6099 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6100 after "assert property". Reported by Julian Gorfajn.
6101 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6102 with multiplication, bug303.
6103 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6104 Reported by Jan Frode Lonnum.
6106 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6108 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6109 (hfy-shell-file-name, hfy-shell):
6110 * international/fontset.el (x-decompose-font-name): Fix typos.
6112 2011-11-29 Ken Brown <kbrown@cornell.edu>
6114 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6115 (gdb-version): Remove defvar.
6116 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6117 (gdb-gud-context-command, gdb-non-stop-handler)
6118 (gdb-current-context-command, gdb-stopped): Use it.
6119 (gdb-init-1): Enable pretty printing here.
6120 (gdb-non-stop-handler): Don't enable pretty-printing here.
6121 Check to see if the target supports non-stop mode; if not, turn off
6122 non-stop mode. Use the following.
6123 (gdb-check-target-async): New defun.
6124 (gud-watch, gdb-stopped): Fix whitespace.
6125 (gdb-get-source-file): Don't try to display the source file if
6126 `gdb-main-file' is nil.
6128 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6130 * align.el: Try to generate fewer markers (bug#10047).
6131 (align--set-marker): New macro.
6132 (align-region): Use it.
6134 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6136 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6138 2011-11-29 Chong Yidong <cyd@gnu.org>
6140 * indent.el (indent-for-tab-command, indent-according-to-mode):
6142 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6144 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6146 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6147 aware of remote file names. (Bug#10124)
6149 2011-11-29 Chong Yidong <cyd@gnu.org>
6151 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6153 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6155 * files.el (find-file): Don't use force-same-window (bug#10144).
6156 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6157 use pop-to-buffer if the selected window can't be used.
6158 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6160 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6162 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6165 2011-11-28 Chong Yidong <cyd@gnu.org>
6167 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6169 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6171 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6172 gdb-get-source-file-list on gdb-create-source-file-list.
6174 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6176 * whitespace.el (whitespace-newline): Use a different foreground
6177 color for 16-color light-background displays.
6179 2011-11-24 Chong Yidong <cyd@gnu.org>
6181 * window.el (display-buffer--special-action): Doc fix.
6183 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6185 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6186 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6187 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6188 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6189 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6190 (avl-tree-stack-first):
6191 * emacs-lisp/cconv.el (cconv--analyse-use):
6192 * net/gnutls.el (gnutls-negotiate): Fix typos.
6194 2011-11-24 Glenn Morris <rgm@gnu.org>
6196 * lpr.el (lpr-windows-system, lpr-lp-system):
6197 * mail/binhex.el (binhex-begin-line):
6198 * progmodes/grep.el (grep-history, grep-find-history):
6199 * textmodes/flyspell.el:
6200 * vc/pcvs-defs.el (cvs-global-menu):
6201 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6202 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6203 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6205 * net/tls.el: Fix case of "GnuTLS".
6207 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6209 * version.el (emacs-build-system): Give it a doc-string.
6211 2011-11-24 Juri Linkov <juri@jurta.org>
6213 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6215 2011-11-24 Glenn Morris <rgm@gnu.org>
6217 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6218 if called on a non-mime message just toggle the headers. (Bug#8006)
6220 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6222 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6223 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6224 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6225 (allout-rebullet-heading, allout-open-sibtopic)
6226 (allout-toggle-current-subtree-encryption)
6227 (allout-toggle-subtree-encryption, allout-encrypt-string)
6228 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6229 (allout-distinctive-bullets-string, allout-auto-activation):
6230 * window.el (window-normalize-buffer-to-display):
6231 * progmodes/verilog-mode.el (verilog-batch-indent):
6232 * textmodes/bibtex.el (bibtex-field-braces-opt)
6233 (bibtex-field-strings-opt):
6234 * vc/cvs-status.el (cvs-tree-merge):
6237 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
6239 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6240 `non-essential' to t, in order to avoid remote connections.
6242 2011-11-23 Eli Zaretskii <eliz@gnu.org>
6244 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6245 On MS-DOS and MS-Windows, compare with loaddefs.el
6248 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6250 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6252 2011-11-23 Glenn Morris <rgm@gnu.org>
6254 * paths.el (rmail-file-name): Reformat the doc-string so that it
6257 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6258 (rmail-auto-file): Ignore case in the "special" field names,
6259 as mail-fetch-field does for all others.
6261 * mail/rmail.el (rmail-forward):
6262 * mail/rmailkwd.el (rmail-set-label):
6263 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6264 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6266 * mail/rmail.el (rmail-current-message): Doc fix.
6268 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6270 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6272 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6274 2011-11-22 Glenn Morris <rgm@gnu.org>
6276 * mail/rmailmm.el (test-rmail-mime-handler)
6277 (test-rmail-mime-bulk-handler)
6278 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6280 2011-11-21 Juri Linkov <juri@jurta.org>
6282 * calc/calc.el (calc-read-key-sequence):
6283 Let-bind `input-method-function' to nil. (Bug#10018)
6285 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6287 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6288 Tell the caller that the next line needs recomputation, even
6289 though it doesn't start a sexp (bug#10094).
6291 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6293 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6295 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6297 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6298 Use force-same-window.
6300 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6302 * descr-text.el (describe-char-unicode-data):
6303 * json.el (json-string-escape):
6304 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6305 (Footnote-unicode, Footnote-style-p):
6306 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6308 2011-11-20 Chong Yidong <cyd@gnu.org>
6310 * window.el (replace-buffer-in-windows): Restore interactive spec.
6312 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6314 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6316 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6317 (byte-compile-global-not-obsolete-vars): New var.
6318 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6320 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6322 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6324 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6325 * progmodes/pascal.el (electric-pascal-equal):
6326 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6327 * xml.el (xml-substitute-special): Fix typos.
6329 2011-11-20 Glenn Morris <rgm@gnu.org>
6331 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6332 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6334 (rmail-decode-mime-charset): Mark as obsolete.
6336 * mail/rmailsum.el (rmail-message-regexp-p-1):
6337 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6338 Before using mime functions, check they are set. (Bug#10077)
6340 2011-11-19 Juri Linkov <juri@jurta.org>
6342 * info.el (Info-finder-find-node): Use `package--builtins' instead
6343 of `package-alist'. Use node names formed by the pattern "Keyword "
6344 and the keyword name.
6346 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6348 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6350 2011-11-19 Juri Linkov <juri@jurta.org>
6352 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6353 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6354 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6355 `old-history', `old-history-forward'. Add let-binding
6356 `window-selected'. Remove calls to `kill-buffer',
6357 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6358 before calling `Info-find-node', so `Info-find-node-2' will reread
6359 the Info file. Restore window positions only when `window-selected'
6362 2011-11-19 Juri Linkov <juri@jurta.org>
6364 * isearch.el (isearch-lazy-highlight-new-loop):
6365 Remove condition `(not isearch-error)'. (Bug#9918)
6367 * misearch.el (multi-isearch-search-fun): Add condition
6368 `(not bound)' to ignore lazy-highlighting search.
6369 Add the search-failed message "end of multi" when the end of
6370 multi-sequence is reached. Uncapitalize the search-failed
6371 message "Repeat for next buffer".
6373 * info.el (Info-search): Add the search-failed message
6374 "end of the manual" when the end of the manual is reached
6377 2011-11-19 Juri Linkov <juri@jurta.org>
6379 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6380 Use non-destructive `remove' instead of `delete' because
6381 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6382 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6384 2011-11-19 Juri Linkov <juri@jurta.org>
6386 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6387 to nil instead of binding `search-ring' and `regexp-search-ring'.
6390 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6392 * simple.el (line-move): Force movement by logical lines for any
6393 hscrolled window, not only when auto-hscroll-mode is on.
6394 (line-move-visual): Update doc string to that effect. (Bug#10076)
6396 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6398 * language/european.el (macintosh): Define as alias for mac-roman.
6400 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6402 * mail/rmailmm.el (rmail-mime-display-header)
6403 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6404 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6405 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6406 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6407 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6409 (rmail-mime-entity-segment): To get past the tagline, move forward
6410 2 more lines, to account for the 2 empty lines that precede and
6411 follow the line with the buttons.
6412 (rmail-mime-update-tagline): Move one more line, to get past the
6413 empty line that follows the buttons in the tagline. (Bug#9520)
6415 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6417 * window.el (window-max-delta-1, window-min-delta-1)
6418 (window-min-size-1, window-state-get-1, window-state-put-1)
6419 (window-state-put-2): Use "window--" prefix.
6421 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6423 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6424 (smie-warning-count): New var.
6425 (smie-set-prec2tab): Use it.
6426 (smie-bnf->prec2): Improve warnings. Add docstring.
6427 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6428 (smie-bnf--set-class): New function.
6429 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6432 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6433 (compilation-error-properties, compilation-move-to-column):
6434 Handle compilation-first-column while in the target buffer.
6436 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6437 Don't hardcode point-min==1.
6439 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6440 (eshell-rewrite-for-command): Remove workaround.
6441 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6442 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6443 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6445 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6447 2011-11-17 Glenn Morris <rgm@gnu.org>
6449 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6450 Ignore buffer-local generated-autoload-file if it is the same
6451 as the global value. (Bug#10049)
6453 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6455 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6456 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6457 (reftex-toc-previous-heading, reftex-toc-max-level)
6458 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6459 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6460 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6461 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6462 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6463 (reftex-toc-rename-label, reftex-toc-visit-location)
6464 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6465 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6466 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6467 leaving "*toc*" only for references to the buffer.
6469 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6471 * window.el (window-resize, delete-window, split-window):
6472 Replace window-splits by window-combination-resize.
6473 * cus-start.el (window-splits): Replace by window-combination-resize.
6475 2011-11-17 Glenn Morris <rgm@gnu.org>
6477 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6478 Make bash entry derive from sh entry, not shell entry.
6480 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6482 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6485 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6487 * menu-bar.el (menu-bar-file-menu):
6488 * printing.el (pr-ps-utility):
6489 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6490 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6491 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6492 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6493 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6494 (icalendar--convert-cyclic-to-ical)
6495 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6496 (icalendar--convert-ical-to-diary)
6497 (icalendar--convert-recurring-to-diary)
6498 (icalendar--convert-non-recurring-all-day-to-diary)
6499 (icalendar-import-format-sample):
6500 * progmodes/idlw-shell.el (idlwave-shell-mode):
6501 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6502 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6503 (vhdl-ps-print-init): Fix typos.
6505 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6507 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6508 FSF and collapse date sequence, obscure author/maintainer email address
6509 better, remove extra version line, track relocation of author's webpage.
6511 * progmodes/python.el (python-pdbtrack-input-prompt)
6512 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6513 regular python pdb prompts. Adjustments shamelessly taken exactly as
6514 suggested in EmacsWiki page (tiny change):
6515 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6517 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6519 * expand.el (expand-pos, expand-index, expand-point):
6520 Remove redundant info from docstring.
6521 (expand-add-abbrevs): Doc fix.
6522 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6523 (expand-sample-perl-mode-expand-list): Fix typos.
6525 * net/dbus.el (dbus-event-member-name):
6526 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6527 * term/pc-win.el (msdos-create-frame-with-faces):
6528 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6530 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6532 * window.el (split-window, window-state-get-1)
6533 (window-state-put-1, window-state-put-2): Rename occurrences of
6534 window-nest to window-combination-limit.
6535 * cus-start.el (window-nest): Rename to window-combination-limit.
6537 2011-11-16 Chong Yidong <cyd@gnu.org>
6539 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6542 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6544 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6545 `completing-read' will remove *Completions* and will preserve
6546 current-buffer for us.
6547 (tmm-add-prompt): Users of *Completions* will always (re)set its
6549 (tmm-old-comp-map): Remove.
6551 2011-11-16 Glenn Morris <rgm@gnu.org>
6553 * mail/rmailedit.el: Require rmailmm when compiling.
6554 (rmail-old-mime-state): New declaration.
6555 (rmail-edit-current-message): If editing a mime message,
6556 edit the "raw" message from the mbox buffer.
6557 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6559 2011-11-15 Glenn Morris <rgm@gnu.org>
6561 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6562 which wasn't being used. Add optional arg to force given state.
6563 (rmail-mime): Add optional arg to force given state.
6565 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6567 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6568 * frame.el (display-mm-dimensions-alist):
6569 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6570 (outline-move-subtree-down):
6571 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6572 (newsticker--treeview-do-get-node):
6573 * net/quickurl.el (quickurl-list-buffer-name):
6574 * progmodes/dcl-mode.el (dcl-mode):
6575 * progmodes/gdb-mi.el (gdb-mapcar*):
6576 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6578 2011-11-15 Glenn Morris <rgm@gnu.org>
6580 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6581 in a boolean sense, so just make it a boolean, and fix the doc.
6582 (rmail-show-mime-function, rmail-mime-feature)
6583 (rmail-require-mime-maybe): Doc fixes.
6584 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6586 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6588 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6590 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6591 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6592 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6593 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6595 2011-11-15 Glenn Morris <rgm@gnu.org>
6597 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6598 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6599 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6600 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6601 (rmail-mime, rmail-show-mime): Doc fixes.
6603 * term/ns-win.el (mode-line-frame-identification):
6604 Leave it alone. (Bug#10051)
6606 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6608 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6609 Handle empty buffers. (Bug#9978)
6611 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6613 * international/mule.el (define-charset):
6614 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6615 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6616 * progmodes/verilog-mode.el (verilog-backward-token):
6617 * textmodes/ispell.el (lookup-words):
6618 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6620 2011-11-14 Glenn Morris <rgm@gnu.org>
6622 * progmodes/executable.el
6623 (executable-make-buffer-file-executable-if-script-p):
6624 Handle file-modes returning nil.
6626 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6627 message - not necessary, and causes problems. (Bug#9831)
6629 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6631 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6633 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6634 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6635 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6637 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6639 * window.el (window-resize, delete-window): Use window-splits
6640 variable instead of function.
6641 (window-state-get-1, window-state-put-2, window-state-put):
6642 Don't deal with windows' splits status.
6644 2011-11-12 Glenn Morris <rgm@gnu.org>
6646 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6647 (apropos-documentation): Doc fixes.
6649 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6651 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6652 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6654 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6656 * electric.el (electric-indent-post-self-insert-function): Make it
6657 possible for a char to only indent in some circumstances.
6658 (electric-indent-mode): Simplify.
6660 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6662 * window.el (windows-with-parameter): Remove unused function.
6663 (windows-at-side): Rename to window-at-side-list.
6664 (window-check, window-atom-check, window-atom-check-1)
6665 (window-side-check, window-size-ignore, window-size-fixed-1)
6666 (window-in-direction-2): Prefix with "window--".
6667 (window-tree-1): Rename to window--subtree, fix doc-string.
6669 2011-11-11 Glenn Morris <rgm@gnu.org>
6671 * subr.el (eval-after-load): If FILE is already loaded,
6672 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6674 2011-11-10 Glenn Morris <rgm@gnu.org>
6676 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6677 Call svn via vc-svn-command rather than vc-do-command.
6678 (vc-svn-command): Add --non-interactive. (Bug#9993)
6679 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6681 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6682 Add toggle-read-only. (Bug#7292)
6683 * files.el (toggle-read-only): Mention that it should only
6684 be used interactively. (Bug#10006)
6686 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6688 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6689 Adjust regexp for OCaml warnings.
6691 * electric.el (electric-pair-post-self-insert-function): Let user
6692 turn it off buffer-locally (bug#9932).
6694 * progmodes/python.el (python-beginning-of-statement):
6697 * progmodes/compile.el: Better handle TABs (bug#9749).
6698 (compilation-internal-error-properties)
6699 (compilation-next-error-function): Obey the target buffer's
6700 compilation-error-screen-columns.
6702 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6704 * progmodes/meta-mode.el: Remove obsolete comments.
6705 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6706 Fix typos in docstrings.
6708 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6710 * window.el (window-size-fixed-p): Rewrite doc-string.
6711 (window-resizable-p): Rename to window--resizable-p. Update callers.
6712 (window--resizable): New function. Make all callers of
6713 window-resizable call window--resizable instead.
6714 (window-resizable): Rewrite in terms of window--resizable.
6716 2011-11-08 Glenn Morris <rgm@gnu.org>
6718 * progmodes/delphi.el (delphi-mode-syntax-table):
6719 Let define-derived-mode define a proper syntax table. (Bug#9994)
6721 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6723 * window.el: Stay away from defsubst.
6724 (window-list-no-nils): Remove.
6725 (window-state-get-1, window-state-get): Use backquote instead.
6727 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6729 * emacs-lisp/find-func.el (find-function-read):
6730 Fix incorrect use of default argument in `completing-read'.
6732 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6734 * window.el (display-buffer-function, special-display-function):
6735 Mention display-buffer-record-window but do not mention
6736 help-setup parameter in doc-strings.
6737 (window-min-delta): Fix doc-string typo.
6739 2011-11-08 Chong Yidong <cyd@gnu.org>
6741 * window.el (window-total-height, window-total-width): Doc fix.
6742 (window-body-size): Move from C.
6743 (window-body-height, window-body-width): Move to C.
6745 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6747 * window.el: Make special-display like display-buffer-alist (bug#9532).
6748 (display-buffer--special-action): New function, morphed
6749 from display-buffer--special.
6750 (display-buffer): Use it to handle special-display-buffers at higher
6751 priority (just after display-buffer-alist).
6752 (display-buffer-fallback-action, display-buffer--other-frame-action)
6753 (pop-to-buffer-same-window): Remove display-buffer--special.
6755 2011-11-07 Glenn Morris <rgm@gnu.org>
6757 * calendar/cal-menu.el (cal-menu-set-date-title):
6758 Do nothing if not in a calendar. (Bug#9976)
6760 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6762 * files.el (find-file): Always use selected-window.
6764 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6766 * window.el (window-combinations): Make WINDOW argument
6767 mandatory. Rewrite doc-string.
6768 (walk-window-subtree, window-atom-check, window-min-delta)
6769 (window-max-delta, window--resize-this-window)
6770 (window--resize-root-window-vertically, window-tree)
6771 (balance-windows, window-state-put): Rewrite doc-strings as to
6772 not mention the term "subwindow".
6773 (window--resize-subwindows-skip-p): Rename to
6774 window--resize-child-windows-skip-p.
6775 (window--resize-subwindows-normal): Rename to
6776 window--resize-child-windows-normal.
6777 (window--resize-subwindows): Rename to
6778 window--resize-child-windows.
6779 (window-or-subwindow-p): Rename to window--in-subtree-p.
6781 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6783 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6784 Ensure that mbox format messages end in two newlines (Bug#9974).
6786 2011-11-06 Chong Yidong <cyd@gnu.org>
6788 * window.el (window-combination-p): Function deleted; its
6789 side-effect is not used in any existing code.
6790 (window-combinations, window-combined-p): Call window-*-child
6793 2011-11-05 Chong Yidong <cyd@gnu.org>
6795 * window.el (window-valid-p): Rename from window-any-p.
6796 (window-size-ignore, window-state-get): Callers changed.
6797 (window-normalize-window): Rename from window-normalize-any-window.
6798 New arg LIVE-ONLY, replacing window-normalize-live-window.
6799 (window-normalize-live-window): Delete.
6800 (window-combination-p, window-combined-p, window-combinations)
6801 (walk-window-subtree, window-atom-root, window-min-size)
6802 (window-sizable, window-sizable-p, window-size-fixed-p)
6803 (window-min-delta, window-max-delta, window-resizable)
6804 (window-resizable-p, window-full-height-p, window-full-width-p)
6805 (window-current-scroll-bars, window-point-1, set-window-point-1)
6806 (window-at-side-p, window-in-direction, window-resize)
6807 (adjust-window-trailing-edge, maximize-window, minimize-window)
6808 (window-deletable-p, delete-window, delete-other-windows)
6809 (record-window-buffer, unrecord-window-buffer)
6810 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6811 (quit-window, split-window, window-state-put)
6812 (set-window-text-height, fit-window-to-buffer)
6813 (shrink-window-if-larger-than-buffer): Callers changed.
6815 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6817 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6818 rfc2047-decode-string.
6819 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6822 * window.el (window-body-height, window-body-width): Mention in
6823 the doc string that the return values are in frame's canonical
6826 2011-11-03 Alan Mackenzie <acm@muc.de>
6828 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6829 change in cc-engine.el.
6831 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6833 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6835 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6837 * window.el (quit-window): Call unrecord-window-buffer after
6838 showing another buffer in the window. (Bug#9937)
6839 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6841 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6843 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6844 Accept status with more than 9 shelves. (Bug#9935)
6845 Reported by Colin D Bennett <colin@gibibit.com>.
6847 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6849 * help.el (with-help-window): Don't reference
6850 temp-buffer-show-specifiers in doc-string.
6852 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6854 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6857 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6859 * whitespace.el: New version 13.2.2.
6860 (whitespace-newline-mode): Disable properly. Reported by Sarah
6863 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6865 * net/newst-treeview.el: Remove "Time-stamp".
6866 (newsticker--group-manage-orphan-feeds): Do not call
6867 newsticker--treeview-tree-update.
6868 (newsticker-treeview-update, newsticker-treeview):
6869 Call newsticker--treeview-tree-update if necessary.
6871 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6873 * window.el (window-iso-combination-p, window-iso-combined-p)
6874 (window-iso-combinations): Remove "iso-" infix.
6875 Suggested by Chong Yidong.
6876 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6877 (window-max-delta-1, window-resize, window--resize-siblings)
6878 (window--resize-this-window, adjust-window-trailing-edge)
6879 (split-window, balance-windows-1)
6880 (shrink-window-if-larger-than-buffer):
6881 * calendar/calendar.el (calendar-generate-window):
6882 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6884 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6886 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6887 in place (bug#9907).
6888 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6889 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6890 (eshell-structure-basic-command, eshell-rewrite-while-command)
6891 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6892 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6893 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6894 (eshell-do-pipelines-synchronously, eshell-eval-command):
6895 Use backquotes and prefer setq to set.
6896 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6897 (eshell-macrop): Use functionp.
6898 (eshell-do-eval): Handle multiple expressions in `while' body.
6900 2011-10-30 Chong Yidong <cyd@gnu.org>
6902 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6903 instead of set-mark (Bug#9810).
6905 2011-10-30 Chong Yidong <cyd@gnu.org>
6907 * window.el (split-window-below, split-window-right): Rename from
6908 split-window-above-each-other and split-window-side-by-side
6909 respectively. All callers changed.
6910 (split-window-sensibly, split-window-sensibly): Use them.
6911 (split-window-keep-point): Doc fix.
6913 * isearch.el: Add isearch-scroll property to split-window-below
6914 and split-window-right.
6916 * follow.el (follow-mode):
6917 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6918 * progmodes/ada-xref.el (ada-gdb-application):
6919 * emulation/vip.el (vip-buffer-in-two-windows):
6920 * image-dired.el (image-dired-dired-with-window-configuration):
6921 * dired-x.el (dired-do-find-marked-files):
6922 * dired.el (dired-pop-to-buffer):
6923 * bs.el (bs--show-with-configuration):
6924 * vc/emerge.el (emerge-setup-windows):
6925 * textmodes/two-column.el (2C-two-columns):
6926 * textmodes/reftex-toc.el (reftex-toc):
6927 * progmodes/gdb-mi.el (gdb-setup-windows):
6928 * progmodes/fortran.el (fortran-window-create):
6929 * net/newst-treeview.el (newsticker--treeview-window-init):
6930 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6931 * emulation/tpu-edt.el (tpu-gold-map):
6932 * emulation/crisp.el (crisp-mode-map):
6933 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6935 2011-10-29 Chong Yidong <cyd@gnu.org>
6937 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6939 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6941 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6942 forged Ispell output (Bug#7904).
6944 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6946 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6948 * doc-view.el: Avoid ugly errors about not finding nil.
6949 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6950 (doc-view-dvipdf-program, doc-view-unoconv-program)
6951 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6952 Avoid nil or absolute file name as default value.
6953 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6955 2011-10-28 Alan Mackenzie <acm@muc.de>
6957 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6959 2011-10-28 Alan Mackenzie <acm@muc.de>
6961 Amend the handling of c-beginning/end-of-defun in nested declaration
6964 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6965 cc-langs.el. Change it to a defcustom.
6967 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6970 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6971 Prevent "class foo : bar" being spuriously recognized as a label.
6973 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6974 Add parameter `inclusive' (to include enclosing braces in the region).
6975 (c-widen-to-enclosing-decl-scope): New function.
6976 (c-while-widening-to-decl-block): New macro.
6977 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6978 outward for defun boundaries, and correspondingly change symbol
6979 `respect-enclosure' to `go-outward'.
6980 (c-declaration-limits): Change algorithm to report only the "innermost"
6983 2011-10-28 Deniz Dogan <deniz@dogan.se>
6985 * net/rcirc.el (rcirc-mode): Use hard newlines.
6987 2011-10-28 Alan Mackenzie <acm@muc.de>
6989 Amend to indent and fontify macros "which include their own semicolon"
6990 correctly, using the "virtual semicolon" mechanism.
6992 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6994 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6995 Recode to scan one line at a time rather than having \n and \r
6996 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6997 (c-forward-label): Amend for virtual semicolons.
6998 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7000 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7001 of the new C macros.
7003 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7004 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7005 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7006 (c-opt-cpp-macro-define): Make into a full language variable.
7007 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7008 AWK Mode (including \n, \r) removed, no longer needed.
7010 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7011 Invoke c-make-macro-with-semi-re.
7013 * progmodes/cc-vars.el (c-macro-with-semi-re):
7014 (c-macro-names-with-semicolon): New variables.
7015 (c-make-macro-with-semi-re): New function.
7017 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7019 * vc/log-edit.el: Fill empty field rather than adding new one.
7020 (log-edit-add-field): New function.
7021 (log-edit-insert-changelog): Use it.
7023 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7025 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7027 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7029 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7030 (gdb--check-interpreter): New function.
7033 2011-10-27 Glenn Morris <rgm@gnu.org>
7035 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7036 (least-positive-float, least-negative-float)
7037 (least-positive-normalized-float, least-negative-normalized-float)
7038 (float-epsilon, float-negative-epsilon):
7039 Remove unnecessary declarations.
7041 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7042 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7043 (least-positive-float, least-negative-float)
7044 (least-positive-normalized-float, least-negative-normalized-float)
7045 (float-epsilon, float-negative-epsilon): Add doc-strings,
7046 based on those in cl.texi.
7048 * files.el (set-visited-file-name): If the major-mode changed,
7049 reload the local variables. (Bug#9796)
7051 2011-10-27 Chong Yidong <cyd@gnu.org>
7053 * subr.el (change-major-mode-after-body-hook): New hook.
7054 (run-mode-hooks): Run it.
7056 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7057 Use change-major-mode-before-body-hook.
7059 * simple.el (fundamental-mode):
7060 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7061 change introducing fundamental-mode-hook.
7063 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7065 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7067 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7069 * ido.el (ido-file-name-all-completions-1): Do not require
7070 tramp.el explicitly. (Bug#7583)
7072 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7074 * progmodes/octave-mod.el:
7075 * progmodes/octave-inf.el: Update maintainer.
7077 2011-10-26 Chong Yidong <cyd@gnu.org>
7079 * subr.el (with-wrapper-hook): Rewrite doc.
7081 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7083 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7084 filenames "/method:foo:". (Bug#9793)
7086 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7088 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7091 2011-10-24 Glenn Morris <rgm@gnu.org>
7093 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7095 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7097 * notifications.el: Add the requirement of a running D-Bus session
7098 bus to the Commentary.
7100 2011-10-24 Juri Linkov <juri@jurta.org>
7102 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7103 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7106 2011-10-24 Juri Linkov <juri@jurta.org>
7108 * info.el (Info-following-node-name-re): Add newline to the list
7109 of allowed characters for leading space. (Bug#9824)
7111 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7113 * progmodes/octave-inf.el (inferior-octave-mode-map):
7114 Fix C-c C-h binding.
7115 * progmodes/octave-mod.el (octave-help): Remove.
7117 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7119 Sync with Tramp 2.2.3.
7121 * net/tramp-cache.el (top): Pacify byte-compiler using
7122 `init-file-user' and `site-run-file'.
7124 * net/trampver.el: Update release number.
7126 2011-10-23 Chong Yidong <cyd@gnu.org>
7128 * files.el (toggle-read-only): Remove obsolete comment about
7131 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7132 for toggle-read-only. Note that this hasn't called vc-next-action
7133 since 2008-05-02, though it wasn't documented at the time.
7135 * vc/ediff-init.el (ediff-toggle-read-only-function):
7136 Use toggle-read-only.
7138 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7140 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7143 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7144 correct faulty logical expression.
7145 (c-parse-state-state, c-record-parse-state-state):
7146 (c-replay-parse-state-state): New defvar/defuns.
7147 (c-debug-parse-state): Use new functions.
7149 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7151 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7152 last fix. Use window-in-direction correctly.
7154 2011-10-21 Chong Yidong <cyd@gnu.org>
7156 * progmodes/idlwave.el (idlwave-mode):
7157 * progmodes/vera-mode.el (vera-mode): No need to set
7158 require-final-newline; that's done in prog-mode.
7159 Suggested by Stefan Monnier.
7161 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7163 * mouse.el (mouse-drag-window-above)
7164 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7165 (mouse-drag-mode-line-1, mouse-drag-header-line)
7166 (mouse-drag-vertical-line-rightward-window): Remove.
7167 (mouse-drag-line): New function.
7168 (mouse-drag-mode-line, mouse-drag-header-line)
7169 (mouse-drag-vertical-line): Call mouse-drag-line.
7170 * window.el (window-at-side-p, windows-at-side): New functions.
7172 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7174 * tar-mode.el (tar-grind-file-mode):
7175 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7177 2011-10-21 Chong Yidong <cyd@gnu.org>
7179 * progmodes/idlwave.el (idlwave-mode):
7180 * progmodes/vera-mode.el (vera-mode):
7181 Use mode-require-final-newline.
7183 2011-10-20 Glenn Morris <rgm@gnu.org>
7185 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7187 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7189 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7191 2011-10-20 Chong Yidong <cyd@gnu.org>
7193 * emulation/cua-base.el (cua-mode):
7194 * mail/footnote.el (footnote-mode):
7195 * mail/mailabbrev.el (mail-abbrevs-mode):
7196 * net/xesam.el (xesam-minor-mode):
7197 * progmodes/bug-reference.el (bug-reference-mode):
7198 * progmodes/cap-words.el (capitalized-words-mode):
7199 * progmodes/compile.el (compilation-minor-mode)
7200 (compilation-shell-minor-mode):
7201 * progmodes/gud.el (gud-tooltip-mode):
7202 * progmodes/hideif.el (hide-ifdef-mode):
7203 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7204 * progmodes/subword.el (subword-mode):
7205 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7206 * progmodes/which-func.el (which-function-mode):
7207 * term/tvi970.el (tvi970-set-keypad-mode):
7208 * term/vt100.el (vt100-wide-mode):
7209 * textmodes/flyspell.el (flyspell-mode):
7210 * textmodes/ispell.el (ispell-minor-mode):
7211 * textmodes/nroff-mode.el (nroff-electric-mode):
7212 * textmodes/paragraphs.el (use-hard-newlines):
7213 * textmodes/refill.el (refill-mode):
7214 * textmodes/reftex.el (reftex-mode):
7215 * textmodes/rst.el (rst-minor-mode):
7216 * textmodes/sgml-mode.el (html-autoview-mode)
7217 (sgml-electric-tag-pair-mode):
7218 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7219 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7220 * emulation/crisp.el (crisp-mode):
7221 * emacs-lisp/eldoc.el (eldoc-mode):
7222 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7223 minor mode behavior.
7225 2011-10-19 Juri Linkov <juri@jurta.org>
7227 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7228 the list of hard-coded chars with escape-glyph face.
7230 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7232 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7234 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
7236 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7239 2011-10-19 Glenn Morris <rgm@gnu.org>
7241 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7242 Ignore ignored files. (Bug#9726)
7244 2011-10-19 Chong Yidong <cyd@gnu.org>
7246 Doc fix for minor modes, stating that an omitted argument enables
7247 the mode unconditionally when called from Lisp.
7249 * abbrev.el (abbrev-mode):
7250 * allout.el (allout-mode):
7251 * autoinsert.el (auto-insert-mode):
7252 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7253 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7254 (global-auto-revert-mode):
7255 * battery.el (display-battery-mode):
7256 * composite.el (global-auto-composition-mode)
7257 (auto-composition-mode):
7258 * delsel.el (delete-selection-mode):
7259 * desktop.el (desktop-save-mode):
7260 * dired-x.el (dired-omit-mode):
7261 * dirtrack.el (dirtrack-mode):
7262 * doc-view.el (doc-view-minor-mode):
7263 * double.el (double-mode):
7264 * electric.el (electric-indent-mode, electric-pair-mode):
7265 * emacs-lock.el (emacs-lock-mode):
7266 * epa-hook.el (auto-encryption-mode):
7267 * follow.el (follow-mode):
7268 * font-core.el (font-lock-mode):
7269 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7270 * help.el (temp-buffer-resize-mode):
7271 * hilit-chg.el (highlight-changes-mode)
7272 (highlight-changes-visible-mode):
7273 * hi-lock.el (hi-lock-mode):
7274 * hl-line.el (hl-line-mode, global-hl-line-mode):
7275 * icomplete.el (icomplete-mode):
7276 * ido.el (ido-everywhere):
7277 * image-file.el (auto-image-file-mode):
7278 * image-mode.el (image-minor-mode):
7279 * iswitchb.el (iswitchb-mode):
7280 * jka-cmpr-hook.el (auto-compression-mode):
7281 * linum.el (linum-mode):
7282 * longlines.el (longlines-mode):
7283 * master.el (master-mode):
7284 * mb-depth.el (minibuffer-depth-indicate-mode):
7285 * menu-bar.el (menu-bar-mode):
7286 * minibuf-eldef.el (minibuffer-electric-default-mode):
7287 * mouse-sel.el (mouse-sel-mode):
7288 * msb.el (msb-mode):
7289 * mwheel.el (mouse-wheel-mode):
7290 * outline.el (outline-minor-mode):
7291 * paren.el (show-paren-mode):
7292 * recentf.el (recentf-mode):
7293 * reveal.el (reveal-mode, global-reveal-mode):
7294 * rfn-eshadow.el (file-name-shadow-mode):
7295 * ruler-mode.el (ruler-mode):
7296 * savehist.el (savehist-mode):
7297 * scroll-all.el (scroll-all-mode):
7298 * scroll-bar.el (scroll-bar-mode):
7299 * server.el (server-mode):
7300 * shell.el (shell-dirtrack-mode):
7301 * simple.el (auto-fill-mode, transient-mark-mode)
7302 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7303 (line-number-mode, column-number-mode, size-indication-mode)
7304 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7305 * strokes.el (strokes-mode):
7306 * time.el (display-time-mode):
7307 * t-mouse.el (gpm-mouse-mode):
7308 * tool-bar.el (tool-bar-mode):
7309 * tooltip.el (tooltip-mode):
7310 * type-break.el (type-break-mode-line-message-mode)
7311 (type-break-query-mode):
7312 * view.el (view-mode):
7313 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7314 (global-whitespace-mode, global-whitespace-newline-mode):
7315 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7317 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7318 Fix autogenerated docstring.
7320 2011-10-19 Juri Linkov <juri@jurta.org>
7322 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7323 by checking environment variables "DESKTOP_SESSION" and
7324 "XDG_CURRENT_DESKTOP". (Bug#9779)
7326 2011-10-19 Juri Linkov <juri@jurta.org>
7328 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7329 (browse-url-chromium-program, browse-url-chromium-arguments):
7331 (browse-url-default-browser): Check for `browse-url-chromium' and
7332 call `browse-url-chromium-program'.
7333 (browse-url-chromium): New command. (Bug#9779)
7335 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7337 * facemenu.el (list-colors-duplicates): On Windows, detect more
7338 duplicates by assuming that only colors matching "^System" are
7339 special "system colors". (Bug#9722)
7341 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7343 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7344 to distinguish the author from the committer.
7346 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7348 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7350 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7352 * international/mule.el (sgml-html-meta-auto-coding-function):
7353 Add support for detecting encoding in HTML5 specified only as
7354 <meta charset="UTF-8">. Implementation just makes http-equiv and
7355 content-type parts from HTML4 encoding string optional. (Bug#9716)
7357 2011-10-18 Glenn Morris <rgm@gnu.org>
7359 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7361 2011-10-18 Chong Yidong <cyd@gnu.org>
7363 * faces.el (cursor): Doc fix.
7365 2011-10-17 Chong Yidong <cyd@gnu.org>
7367 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7369 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7371 * dirtrack.el (dirtrack): Support shell buffers with path
7372 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7374 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7376 * json.el: Bump version to 1.3 and note change in History.
7377 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7379 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7381 * comint.el (comint-insert-input, comint-send-input)
7382 (comint-get-old-input-default, comint-backward-matching-input)
7383 (comint-next-prompt): Use nil instead of `input' for field property of
7384 past user input (bug#114).
7386 * minibuffer.el (completion--replace): Inherit surrounding properties
7388 (minibuffer-complete-and-exit): Use it.
7390 * comint.el (comint--table-subvert): Quote the all-completions output
7393 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7395 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7397 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7398 window on right of selected. (Bug#9350) Reword other window
7399 entries and separate them from frame entries.
7401 2011-10-15 Glenn Morris <rgm@gnu.org>
7403 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7406 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7408 * net/network-stream.el (network-stream-open-starttls):
7409 Improve detection of failure due to lack of TLS support.
7411 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7412 putting the input text in front and in bold.
7414 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7416 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7418 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7421 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7422 unread-command-events rather than pushing yet-another event.
7424 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7426 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7427 the explanation of the possible choices. Make the options passed
7428 to completing-read shorter.
7430 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7432 * textmodes/flyspell.el (flyspell-large-region): Make sure
7433 extended character mode is used if defined (Bug#1339).
7435 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7437 * simple.el (what-cursor-position): Fix the display of the
7438 character info for LRE, LRO, RLE, and RLO characters by appending
7441 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7443 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7444 even in case of error; add debug spec; simplify data flow.
7445 (with-timeout-handler): Remove.
7447 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7449 Fix Bug#6019, Bug#9315.
7451 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7452 complete `buffer-file-name', the local file name part could look
7453 remotely (for example on VMS).
7455 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7456 `tramp-run-real-handler'.
7457 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7458 already quoted by '"'.
7460 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7461 Let `file-name-handler-alist' be nil, the local file name part
7462 could look remotely (for example on VMS).
7464 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7466 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7468 (flyspell-post-command-hook): ...to here.
7470 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7472 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7474 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7475 using completion. Protect against "slow" callers.
7476 Remove the "message hack".
7478 2011-10-11 Juri Linkov <juri@jurta.org>
7480 * isearch.el (isearch-lazy-highlight-word): New variable.
7481 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7484 2011-10-11 Glenn Morris <rgm@gnu.org>
7486 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7487 like f90-previous-statement does.
7489 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7491 * eshell/eshell.el (eshell-command): History should be saved
7492 only in interactive use, to avoid error.
7494 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7496 * minibuffer.el (completion-file-name-table): Fix last change,
7497 i.e. ignore normal errors but not the other ones.
7499 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7501 * window.el (special-display-buffer-names)
7502 (special-display-regexps): Remove some remnants of earlier
7503 changes from doc-strings.
7504 (quit-windows-on): New function.
7506 * vc/vc.el (vc-revert, vc-rollback):
7507 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7508 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7509 (Bug#6183) (Bug#7074) (Bug#7447)
7511 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7513 * window.el (frame-auto-hide-function): Add version tag.
7516 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7518 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7521 2011-10-09 Leo Liu <sdl.web@gmail.com>
7523 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7526 2011-10-08 Glenn Morris <rgm@gnu.org>
7528 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7529 before the first code statement zero indent. (Bug#9690)
7531 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7533 * simple.el (count-words-region): Always count in the region.
7534 Report the number of lines and characters too.
7535 (count-words): New command, which counts in the buffer if the
7536 region is inactive, as count-words-region used to.
7537 (count-words--message): New function. Handle plurals.
7538 (count-lines-region): Make it an alias for count-words-region.
7540 * bindings.el (esc-map): Replace count-lines-region with
7543 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7545 * window.el (window--delete): Delete dedicated frame
7546 unconditionally when argument KILL is non-nil. (Bug#9699)
7547 (switch-to-buffer): Fix doc-string typo.
7549 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7551 * eshell/eshell.el (eshell-command): Avoid using hooks.
7553 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7555 * bindings.el ([M-left],[M-right]): Bind to left-word and
7556 right-word respectively.
7558 2011-10-07 Glenn Morris <rgm@gnu.org>
7560 * cus-start.el (debug-on-quit): Fix custom type.
7562 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7564 * subr.el (define-key-after): Clarify that the function is not
7565 useful for non-menu keymaps.
7567 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7569 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7571 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7572 in current minibuffer (Fix bug with recursive minibuffers).
7574 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7576 * progmodes/gdb-mi.el (gdb): Doc fix.
7578 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7580 * window.el (frame-auto-hide-function): New option replacing
7581 frame-auto-delete. Suggested by Stefan Monnier.
7582 (window--delete): Call frame-auto-hide-function instead of
7583 investigating frame-auto-delete.
7584 (window-point-1, set-window-point-1): New functions.
7585 (window-in-direction, record-window-buffer, window-state-get-1)
7586 (display-buffer-record-window): Use window-point-1 instead of
7588 (set-window-buffer-start-and-point): Use set-window-point-1.
7590 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7592 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7594 2011-10-05 Glenn Morris <rgm@gnu.org>
7596 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7597 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7599 2011-10-05 Leo Liu <sdl.web@gmail.com>
7601 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7602 works with buffer object.
7604 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7606 * mpc.el (mpc-tool-bar-map): Add labels.
7608 2011-10-04 Glenn Morris <rgm@gnu.org>
7610 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7612 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7614 * window.el (window--delete): New function.
7615 (frame-auto-delete): Resuscitate option.
7616 (bury-buffer, replace-buffer-in-windows)
7617 (quit-window): Rewrite using window--delete.
7618 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7619 Pass display-buffer-mark-dedicated to window--display-buffer-2
7622 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7624 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7625 returns a list (bug#9554). Add remote file name completion.
7626 * comint.el (comint--table-subvert): Curry and get quote&unquote
7627 functions as arguments.
7628 (comint--complete-file-name-data): Adjust call accordingly.
7629 * pcomplete.el (pcomplete--table-subvert): Remove.
7630 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7632 * minibuffer.el (completion-table-case-fold): Use currying.
7633 (completion--styles-type, completion--cycling-threshold-type):
7635 (completion-styles, completion-category-overrides)
7636 (completion-cycle-threshold): Use them.
7637 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7638 completion-table-case-fold.
7640 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7642 * minibuffer.el (completion-category-overrides): Fix type of styles
7643 and add more user friendly tags (bug#9660).
7645 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7648 (mule-input-method-string): New widget.
7649 (default-input-method, language-info-custom-alist): Use it.
7651 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * pcomplete.el: Require comint.
7654 (pcomplete--common-suffix): Remove.
7655 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7656 (pcomplete--table-subvert): Sync with comint--table-subvert.
7657 (pcomplete--entries): Use comint-completion-file-name-table.
7658 * comint.el (comint-unquote-filename): Simplify.
7659 (comint-completion-file-name-table): New function (bug#9616).
7660 (comint--complete-file-name-data): Use it.
7662 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7663 (pcmpl-gnu-tar-buffer): Remove.
7664 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7665 around. Make sure pcomplete-suffix-list is only changed temporarily.
7666 Don't look inside the tar's file if it's too large.
7668 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7670 * cus-edit.el (custom-mode-map):
7671 * epa.el (epa-key-list-mode-map):
7672 * man.el (Man-mode-map):
7673 * startup.el (splash-screen-keymap):
7674 * simple.el (special-mode-map): Use scroll-up-command and
7675 scroll-down-command.
7677 * progmodes/idlw-help.el (idlwave-help-mode-map):
7678 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7679 * net/newst-plainview.el (newsticker-mode-map):
7680 * emulation/ws-mode.el (wordstar-mode-map):
7681 * emulation/vi.el (vi-com-map):
7682 * calc/calc-graph.el (calc-graph-show-dumb):
7683 * term/sun.el (terminal-init-sun):
7684 * term/ns-win.el (global-map):
7685 * progmodes/grep.el (grep-mode-map):
7686 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7687 * mail/rmail.el (rmail-mode-map):
7688 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7690 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7691 custom-safe-themes as special.
7693 2011-10-01 Julien Danjou <julien@danjou.info>
7695 * notifications.el (notifications-notify): Fix docstring.
7697 2011-10-01 Per Starbäck <per@starback.se>
7699 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7701 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7703 * startup.el (command-line-1): Fix last fix by inserting
7704 initial-scratch-message into *scratch* before displaying it.
7705 (Bug#9605) and (Bug#9636)
7707 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7709 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7710 window is hscrolled, move by logical lines. (Bug#9607)
7711 (line-move-visual): Update the doc string to the above effect.
7713 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7715 * window.el (display-buffer-record-window): When WINDOW is the
7716 selected window use `point' instead of `window-point'. (Bug#9626)
7718 * startup.el (command-line-1): Use insert-before-markers when
7719 inserting initial-scratch-message. (Bug#9605)
7721 * help.el (help-window): Remove variable.
7723 2011-09-29 Glenn Morris <rgm@gnu.org>
7725 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7727 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7729 * descr-text.el (describe-char-categories): Accept category
7730 descriptions more than one line long.
7732 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7734 * simple.el (delete-trailing-whitespace): Fix last change.
7736 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7737 Don't confuse "y => 3" as the beginning of a `y' operation.
7739 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7740 object has more than 4 slots (bug#9613).
7742 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7744 * subr.el (with-output-to-temp-buffer):
7745 * net/quickurl.el (quickurl, quickurl-browse-url):
7746 Fix typos in docstrings.
7748 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7750 * minibuffer.el (completion-styles)
7751 (completion-category-overrides): Cross reference each other in doc
7754 2011-09-27 Glenn Morris <rgm@gnu.org>
7756 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7757 to split-string. (Bug#9606)
7759 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7761 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7764 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7766 * emacs-lisp/package.el (list-packages): Fix echo area message.
7768 2011-09-27 Leo Liu <sdl.web@gmail.com>
7770 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7772 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7774 * net/dbus.el (dbus-unregister-object): Don't release services for
7775 registered signals. (Bug#9581)
7777 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7779 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7780 function that picks between cfengine 2 and 3 support
7781 automatically. Update docs accordingly.
7783 2011-09-22 Kenichi Handa <handa@m17n.org>
7785 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7787 (indian-itrans-v5-table-for-tamil): New variable.
7788 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7790 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7792 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7793 that's true if the current command involved collapsing of text.
7794 It's reset to false at the beginning of the next command.
7795 (allout-post-command-business): Move the cursor to the beginning
7796 of entry if the cursor is hidden and collapsing activity just
7799 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7801 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7802 tracking (Bug#9541).
7804 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7806 * net/newst-reader.el (newsticker-html-renderer)
7807 (newsticker-show-news): Automatically load html rendering package
7808 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7809 because w3m-fill-column is let-bound" and the error "Symbol's value
7810 as variable is void: w3m-fill-column".
7812 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7814 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7815 Release services only if they are defined. (Bug#9581)
7817 2011-09-23 Richard Stallman <rms@gnu.org>
7819 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7820 distinguish start of paragraph from start of its text.
7822 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7824 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7825 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7826 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7828 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7830 * international/mule-diag.el (mule-diag): Insert a newline after
7831 each fontset description.
7833 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7835 * simple.el (delete-trailing-whitespace):
7836 Document last change; simplify.
7838 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7840 * simple.el (delete-trailing-whitespace): Also delete
7841 extra newlines at the end of the buffer.
7843 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7844 (picture-newline): Use forward-line so as to ignore fields.
7846 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7848 * subr.el (with-wrapper-hook): Fix edebug spec.
7850 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7852 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7855 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7857 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7858 Fix nasty bug using wrong cached values.
7860 2011-09-23 Alan Mackenzie <acm@muc.de>
7862 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7864 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7866 * window.el (pop-to-buffer): Ensure right window is selected if we
7867 chose another frame.
7869 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7871 * simple.el (what-cursor-position): Use get-char-property-change
7872 and next-single-char-property-change, to be able to show display
7873 properties that come from overlays as well as text properties.
7875 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7877 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7879 * cmuscheme.el (run-scheme, switch-to-scheme):
7880 * cus-edit.el (customize-group, custom-buffer-create)
7884 * mail/sendmail.el (mail):
7885 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7887 2011-09-22 Richard Stallman <rms@gnu.org>
7889 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7890 move back only to line beg, don't move back over blank lines.
7892 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7894 * files.el (copy-directory): Set directory attributes only in case
7895 they could be retrieved from the source directory. (Bug#9565)
7897 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7899 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7900 (hs-find-block-beginning, hs-hide-level-recursive):
7901 Ignore strings as well as comments. (Bug#9502)
7903 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7905 * progmodes/sql.el (sql-comint-postgres):
7906 Convert port number to a string. (Bug#9566)
7908 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7910 * window.el (quit-window): Undedicate window when switching to
7911 previous buffer. Reported by Thierry Volpiatto
7912 <thierry.volpiatto@gmail.com>.
7913 (special-display-popup-frame): When popping up a new frame reset
7914 its previous buffers to nil. Simplify code.
7916 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7918 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7919 and process filter, as done also in `shell-command'.
7921 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7923 * window.el (set-window-buffer-start-and-point):
7924 Call set-window-start with NOFORCE argument t.
7925 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7926 (quit-window): Reword doc-string. Handle new format of
7927 quit-restore parameter. Don't delete window if it has a
7928 previous buffer we can show instead of the present one.
7929 (display-buffer-record-window): Rewrite using a new format for
7930 the quit-restore window parameter
7931 (special-display-popup-frame, display-buffer-same-window)
7932 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7933 (display-buffer-pop-up-window, display-buffer-use-some-window):
7934 Adapt symbol passed to display-buffer-record-window.
7935 * help.el (help-window-setup): Handle new format of quit-restore
7938 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7940 * faces.el (face-list): Fix docstring (bug#9564).
7942 * window.el (display-buffer--action-function-custom-type):
7943 Don't include internal functions in the Custom interface.
7945 2011-09-20 Juri Linkov <juri@jurta.org>
7947 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7948 (Info-forward-node, Info-backward-node, Info-next-preorder)
7949 (Info-last-preorder): Use it. (Bug#9528)
7951 2011-09-20 Juri Linkov <juri@jurta.org>
7953 * info.el (Info-last-preorder): Visit last menu item only when
7954 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7956 2011-09-20 Julien Danjou <julien@danjou.info>
7958 * password-cache.el (password-cache-remove): Remove entries even if the
7959 value is nil, so that password with a nil value (negative caching) is
7960 possible to invalidate.
7962 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7964 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7965 all whitespace around breakpoint. (Bug#9553)
7966 (f90-find-breakpoint): Only break at whitespace inside a comment.
7968 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7970 * minibuffer.el (completion-file-name-table): Keep track of errors.
7971 (completion-table-with-predicate): Handle the case where pred1 is nil.
7972 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7974 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7976 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7977 (debugger-return-value): Signal an error if the debugging context does
7978 not await any return value.
7980 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7981 * image-mode.el (image-toggle-display-text)
7982 (image-toggle-display-image): Stay away from evil `intangible'.
7984 2011-09-19 Leo Liu <sdl.web@gmail.com>
7986 * replace.el (occur-revert-arguments): Make it permanent-local.
7987 (occur-mode): Don't call font-lock-defontify.
7989 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7991 * net/ldap.el (ldap-search-internal): Don't push empty search
7994 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7996 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7998 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8000 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8001 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8003 2011-09-18 Juri Linkov <juri@jurta.org>
8005 * buff-menu.el (Buffer-menu-mode-map):
8006 * dired.el (dired-mode-map):
8007 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8008 (lisp-interaction-mode-map):
8009 * emacs-lisp/package.el (package-menu-mode-map):
8010 * epa.el (epa-key-list-mode-map):
8011 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8012 (menu-bar-options-menu):
8013 * outline.el (outline-mode-menu-bar-map):
8014 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8015 * vc/vc-dir.el (vc-dir-menu-map):
8016 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8017 Capitalize non-function content words in menu item strings.
8019 * dired.el (dired-mode-map): Add menu item for
8020 `image-dired-dired-toggle-marked-thumbs'.
8022 2011-09-18 Juri Linkov <juri@jurta.org>
8024 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8025 to `isearch-case-fold-search' and restore its original value
8026 after the `isearch-mode' call.
8028 2011-09-18 Juri Linkov <juri@jurta.org>
8030 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8031 because `zgrep' returns 1 for successful matches (bug#9226).
8033 2011-09-18 Juri Linkov <juri@jurta.org>
8035 * info.el (Info-extract-menu-node-name): Check the second match
8036 for empty string (second test-case of bug#9528).
8037 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8038 intermediate nodes to the history (first test-case of bug#9528).
8040 2011-09-18 Juri Linkov <juri@jurta.org>
8042 * info.el (Info-mode-syntax-table): New variable.
8043 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8045 2011-09-18 Juri Linkov <juri@jurta.org>
8047 * info.el (Info-file-supports-index-cookies):
8048 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8049 outputs one more line for long file names (bug#4142).
8051 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8053 * newcomment.el (comment-normalize-vars): If prompting for
8054 comment-start, set comment-start-skip too (Bug#8424).
8056 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8058 * icomplete.el: Fix previous fix of Bug#5849.
8059 (icomplete-mode): Don't set completion-show-inline-help.
8060 (icomplete-minibuffer-setup): Set completion-show-inline-help
8061 locally during icompletion.
8063 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8065 * woman.el (woman2-process-escapes): Don't delete unrecognized
8068 * files.el (inhibit-first-line-modes-regexps): Add image files.
8069 (hack-local-variables-prop-line): Return nil for malformed
8070 prop-lines (Bug#9044).
8072 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8074 * net/tramp.el (top): Don't require 'shell.
8075 (tramp-methods): Fix docstring.
8076 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8077 Return complete remote file name. Handle "smb" case.
8078 Use `tramp-tmpdir', if defined for the respective method.
8079 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8081 * net/tramp-compat.el (top): Require 'shell.
8083 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8084 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8085 `tramp-current-host'.
8086 (tramp-get-remote-tmpdir): Remove.
8088 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8089 `tramp-tmpdir' entries.
8090 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8091 (tramp-smb-handle-file-attributes): Ignore errors.
8092 (tramp-smb-wait-for-output): Check also for process end.
8094 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8096 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8097 when sending QUIT (bug#9312).
8099 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8101 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8102 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8103 occur-mode-display-occurrence.
8104 (occur-edit-mode): Add usage message.
8105 (occur-cease-edit): New command.
8106 (occur-after-change-function): Use text properties to find the
8107 position of the prefix text.
8108 (occur-engine): Set stickiness of prefix text properties.
8110 2011-09-17 Glenn Morris <rgm@gnu.org>
8112 * progmodes/etags.el (complete-tag):
8113 Fix call to completion-in-region. (Bug#9526)
8115 2011-09-17 Juri Linkov <juri@jurta.org>
8117 * textmodes/ispell.el (ispell-word): Add to the error message
8118 the word, ispell program name and current dictionary (bug#9121).
8119 (ispell-tex-arg-end): Capitalize "error" in the error message.
8121 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8123 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8126 2011-09-17 Juri Linkov <juri@jurta.org>
8128 * window.el (window-safe-min-height, window-safe-min-width):
8129 Fix typos (followup to bug#9522).
8131 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8133 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8135 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8137 * simple.el (line-move): If goal-column is set, move by logical
8138 lines, not by display lines. (Bug#971)
8139 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8140 to reflect the above change.
8142 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8144 * image.el (imagemagick-register-types): Use regexp-opt.
8146 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8148 * window.el (display-buffer-base-action): Rename from
8149 display-buffer-default-action. Make default value empty.
8150 (display-buffer-overriding-action): Convert to defvar.
8151 (display-buffer-fallback-action): New var.
8153 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8155 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8157 (package--add-to-archive-contents): If there is a duplicate entry
8158 with an older version, remove it.
8159 (package-menu-mark-delete, package-menu-mark-install)
8160 (package-menu-mark-unmark): Make unused args optional.
8161 (package-menu-mark-obsolete-for-deletion):
8162 Use package-menu-get-status instead of a regexp search.
8163 (package-menu-get-status): Use tabulated-list-entry.
8164 (package-menu-mark-upgrades): New command.
8165 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8166 (package-menu-execute): Do installation before deletion.
8167 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8168 instead of checking major-mode.
8169 (package-menu--find-upgrades): New function.
8171 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8173 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8174 passwords in the log buffer.
8175 (smtpmail-process-filter): Update the process marker so that the
8176 "broken by peer" status message is inserted in the right place.
8178 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8180 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8181 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8182 bibtex-completion-at-point-function.
8183 (bibtex-completion-at-point-function): Use them.
8185 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8187 * mpc.el (mpc-constraints-tag-lookup): New function.
8188 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8189 also to browser "album|playlist".
8191 2011-09-14 Juri Linkov <juri@jurta.org>
8193 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8194 (isearch-edit-string): Use length of `isearch-string' when
8195 `isearch-fail-pos' returns nil.
8196 (isearch-message): Remove duplicate code and call
8197 `isearch-fail-pos' with arg `t'.
8199 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8201 * replace.el (occur-mode-goto-occurrence): Don't force using other
8204 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8206 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8208 * window.el (display-buffer-window): Remove.
8209 (display-buffer-record-window): Use help-setup window parameter
8210 instead of variable display-buffer-window.
8211 (display-buffer-function, special-display-buffer-names)
8212 (special-display-function): Mention help-setup parameter instead
8213 of display-buffer-window in doc-string.
8214 * help.el (help-window-setup): New argument help-window.
8215 Use help-window-setup parameter instead of display-buffer-window.
8216 Reword some messages.
8217 (with-help-window): Pass window used for displaying the buffer
8218 to help-window-setup. Don't set display-buffer-window.
8220 2011-09-13 Glenn Morris <rgm@gnu.org>
8222 * emacs-lisp/debug.el (debugger-make-xrefs):
8223 Preserve point. (Bug#9462)
8225 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8227 * window.el (window-deletable-p): Use next-frame.
8229 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8231 * window.el (window-auto-delete): Remove.
8232 (window-deletable-p): Remove argument FORCE. Don't deal with
8233 dedication and previous buffers.
8234 (switch-to-prev-buffer): Don't delete window.
8235 (delete-windows-on): Delete a window's frame if and only if the
8236 window is dedicated.
8237 (replace-buffer-in-windows): Delete buffer's window or frame if
8238 and only if window is dedicated.
8239 (quit-window): Handle quit-restore as before last change.
8240 (bury-buffer): Delete window only if window-deletable-p returns t.
8242 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8244 * window.el (window-deletable-p): Never delete the last frame on a
8247 2011-09-13 Glenn Morris <rgm@gnu.org>
8249 * help.el (describe-key-briefly): Copy previous standard-output change.
8251 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8253 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8255 2011-09-13 Glenn Morris <rgm@gnu.org>
8257 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8258 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8260 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
8262 * dired-aux.el (dired-mark-read-string): Don't return default
8263 value on empty input (Bug#9361).
8264 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8265 Omit initial minibuffer contents.
8266 (dired-do-chmod): Signal an error on empty input.
8267 (dired-mark-read-string): Don't return default on empty input.
8269 * files.el (file-modes-symbolic-to-number): Doc fix.
8271 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * international/mule-cmds.el (ucs-completions): Remove.
8274 (read-char-by-name): Use complete-with-action instead; add metadata.
8276 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8278 * window.el (display-buffer--action-function-custom-type)
8279 (display-buffer--action-custom-type): New vars.
8280 (display-buffer-alist, display-buffer-default-action)
8281 (display-buffer-overriding-action): Add defcustom types.
8283 * frame.el (delete-other-frames): Doc fix (Bug#276).
8285 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8287 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8289 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8291 Change modes that used same-window-* vars to use switch-to-buffer.
8293 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8294 Use switch-to-buffer.
8296 * cus-edit.el (customize-group, custom-buffer-create)
8297 (customize-browse, custom-buffer-create-other-window):
8298 Use switch-to-buffer or switch-to-buffer-other-window.
8300 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8301 (Info-prev, Info-up, Info-speedbar-goto-node)
8302 (info-display-manual): Use switch-to-buffer.
8303 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8305 * mail/sendmail.el (mail): Use switch-to-buffer.
8306 (mail-recover): Use switch-to-buffer-other-window.
8308 * cmuscheme.el (run-scheme, switch-to-scheme):
8311 * net/rlogin.el (rlogin):
8312 * net/telnet.el (telnet, rsh):
8313 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8315 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8317 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8319 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8321 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8322 so don't mention it (bug#9301).
8323 (dired-sort-toggle-or-edit): Clarify string further.
8325 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8326 match `x', `w32' and `ns', like the manual says (bug#9029).
8328 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8329 (process-kill-buffer-query-function): Mention the buffer name in
8332 * image-mode.el (image-next-line): The line parameter is mandatory
8335 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8336 which can be useful (bug#9301).
8338 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8340 * subr.el (match-string): Mention that the current buffer should
8341 be the same as the search was done in (bug#9282).
8343 * facemenu.el: Disable the remove-* commands if the mark isn't
8346 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8348 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8350 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8352 * replace.el (occur-mode-goto-occurrence)
8353 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8356 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8359 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8360 special-display and same-window variables.
8361 (mail-other-window): Use switch-to-buffer-other-window.
8362 (mail-other-frame): USe switch-to-buffer-other-frame.
8364 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8365 Use display-buffer-other-frame.
8366 (gdb-display-gdb-buffer): Use pop-to-buffer.
8368 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8370 * progmodes/python.el: Don't set same-window-buffer-names.
8372 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8374 * window.el (display-buffer-alist): Add *Python*.
8376 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8378 * window.el (display-buffer-alist): Add entry for buffers
8379 previously handled same-window-*.
8380 (display-buffer-alist, display-buffer-default-action)
8381 (display-buffer-overriding-action): Mark as risky.
8382 (display-buffer-alist): Document action function changes.
8383 (display-buffer--same-window-action)
8384 (display-buffer--other-frame-action): New variables.
8385 (switch-to-buffer, display-buffer-other-frame): Use them.
8386 (display-buffer): Rename reuse-frame entry to reusable-frames.
8387 (display-buffer-reuse-selected-window): Function deleted.
8388 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8389 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8390 (display-buffer-special): New function.
8391 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8392 display-buffer-reuse-or-pop-window. Split off special-display
8393 part into display-buffer-special.
8394 (display-buffer-use-some-window): Don't perform any special
8395 pop-up-frames handling.
8396 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8397 (display-buffer--maybe-same-window): Rename from
8398 display-buffer-maybe-same-window.
8400 * info.el: Don't set same-window-regexps.
8401 (info-setup): New function.
8402 (info-other-window, info): Call it.
8404 * cus-edit.el: Don't set same-window-regexps.
8405 (customize-group): New argument.
8406 (customize-group-other-window): Use it.
8407 (customize-face, customize-face-other-window): Likewise.
8408 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8412 * progmodes/gud.el: Don't set same-window-regexps.
8418 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8420 2011-09-10 Juri Linkov <juri@jurta.org>
8422 * isearch.el (isearch-edit-string): Remove obsolete mention of
8423 `C-w' (`isearch-yank-word-or-char') from docstring.
8424 (isearch-query-replace): Fix typo in docstring (bug#9466).
8426 2011-09-10 Juri Linkov <juri@jurta.org>
8428 * paren.el (show-paren-function): Don't show escaped parens.
8429 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8431 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8433 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8434 (mm-default-file-encoding): Remove autoload forms, they are
8435 replaced with autoload cookies in mml.el and mm-encode.el.
8436 (mail-add-attachment): New command.
8437 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8438 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8440 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8442 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8444 * simple.el (count-words-region): Use buffer if there's no region
8447 2011-09-09 Juri Linkov <juri@jurta.org>
8449 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8450 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8451 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8453 2011-09-09 Alan Mackenzie <acm@muc.de>
8455 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8456 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8458 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8460 Fix for Savannah bug#9392.
8461 * simple.el (mail-encode-mml): New defvar.
8463 * mail/rmail.el (mail-encode-mml): Add a defvar.
8464 (rmail-enable-mime-composing): Default to t.
8465 (rmail-forward): Use MIME method of forwarding only if both
8466 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8467 Set mail-encode-mml non-nil if the MIME method was used.
8469 * mail/sendmail.el (mml-to-mime): Add autoload form.
8470 (mail-encode-mml): Add a defvar.
8471 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8473 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8474 message through mml-to-mime, and reset mail-encode-mml to nil.
8476 2011-09-09 Glenn Morris <rgm@gnu.org>
8478 * woman.el (woman-if-body): When processing an .el block,
8479 do not delete the next .el block as well. (Bug#9447)
8480 (woman-special-characters): Add oq, cq, and hy characters.
8482 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8484 * window.el (window-deletable-p): Make sure window is live before
8485 invoking window-prev-buffers.
8487 2011-09-08 Leo Liu <sdl.web@gmail.com>
8489 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8491 2011-09-08 Juri Linkov <juri@jurta.org>
8493 * progmodes/compile.el (compilation-environment): Make it
8494 a defcustom (bug#8340).
8496 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8498 * window.el (frame-auto-delete): Rename to window-auto-delete.
8499 Make it control auto-deletion of windows and/or frames.
8500 (window-deletable-p): New argument FORCE. Rewrite conditions
8501 for deleting window/frame. (Bug#9419)
8502 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8503 Rewrite handling of case when window/frame can be deleted.
8504 (delete-windows-on): Call window-deletable-p with new FORCE
8505 argument t. (Bug#9456)
8507 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8509 * help-mode.el (help-mode): Restore autoload.
8511 2011-09-07 Juri Linkov <juri@jurta.org>
8513 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8514 `compilation-environment'. Set buffer-local
8515 `compilation-environment' to `thisenv' later after (funcall mode).
8518 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8519 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8520 instead of replacing its value. (Bug#8340)
8522 2011-09-07 Juri Linkov <juri@jurta.org>
8524 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8525 based on text properties put by `grep-filter' instead of matching
8527 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8528 to the value of `grep-error-screen-columns' (bug#9438).
8530 2011-09-07 Juri Linkov <juri@jurta.org>
8532 * simple.el (next-error-highlight, next-error-highlight-no-select):
8535 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8537 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8538 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8540 2011-09-07 Leo Liu <sdl.web@gmail.com>
8542 * net/rcirc.el (rcirc-mode): Conditionally initialize
8545 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8547 * emacs-lisp/find-func.el (find-function-C-source): Only set
8548 find-function-C-source-directory after checking that we found a source
8549 file there (bug#9440).
8551 2011-09-06 Alan Mackenzie <acm@muc.de>
8553 * isearch.el (isearch-other-meta-char): Wherever a key list is
8554 unread, "unread" the prefix arg, too. This fixes bug #8901.
8556 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8558 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8560 2011-09-05 Juri Linkov <juri@jurta.org>
8562 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8564 2011-09-05 Juri Linkov <juri@jurta.org>
8566 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8567 keeping point where processing of grep matches begins, and
8568 continue to delete remaining escape sequences from the same point.
8569 (grep-filter): Make leading zero optional in "0?1;31m" because
8570 git-grep emits "\033[1;31m" escape sequences unlike expected
8571 "\033[01;31m" as GNU Grep does (bug#9408).
8572 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8574 2011-09-05 Juri Linkov <juri@jurta.org>
8576 * subr.el (y-or-n-p): Capitalize "yes".
8578 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8580 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8581 `tramp-cache-unload-hook' where appropriate.
8582 (tramp-methods): Rename `tramp-remote-sh' to
8583 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8584 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8586 * net/tramp-sh.el (top): Don't require 'shell.
8587 (tramp-methods): Add `tramp-remote-shell' and
8588 `tramp-remote-shell-args' entries.
8589 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8590 (tramp-sh-handle-shell-command): Remove.
8591 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8592 Use `tramp-remote-shell'.
8594 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8596 * mail/sendmail.el (sendmail-query-once-function): Delete.
8597 (sendmail-query-once): Save directly to send-mail-function.
8598 Update message-send-mail-function too.
8600 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8602 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8604 * progmodes/python.el (python-mode-map): Use correct function to
8605 start python interpreter from menu-bar (as reported by Geert
8607 (inferior-python-mode-map): Fix typo.
8608 (python-shell-map): Remove.
8610 2011-09-03 Deniz Dogan <deniz@dogan.se>
8612 * net/rcirc.el (rcirc-print): Simplify code for
8613 rcirc-scroll-show-maximum-output. There is no need to walk
8614 through all windows to find the right one.
8616 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8618 * help.el (help-return-method): Doc fix.
8620 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8622 * window.el (window-deletable-p): Don't return a non-nil value
8623 when there's a buffer that was shown in the window before.
8625 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8626 Set window's previous buffers to nil.
8628 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8630 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8631 newline before and after the tag line, so it doesn't interfere
8632 with determining the paragraph direction of bidirectional text.
8634 2011-09-03 Leo Liu <sdl.web@gmail.com>
8636 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8638 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8640 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8641 (pop-to-buffer): Change interactive spec. Pass second argument
8642 directly to display-buffer.
8643 (display-buffer): Fix interactive spec. Use functionp to
8644 distinguish between a function and a list of functions.
8646 * abbrev.el (edit-abbrevs):
8647 * arc-mode.el (archive-extract):
8648 * autoinsert.el (auto-insert):
8649 * bookmark.el (bookmark-bmenu-list):
8650 * files.el (find-file):
8651 * view.el (view-buffer):
8652 * progmodes/compile.el (compilation-goto-locus):
8653 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8655 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8657 * window.el (display-buffer-alist): Doc fix.
8658 (display-buffer): Add docstring. Don't treat
8659 display-buffer-default specially.
8660 (display-buffer-reuse-selected-window)
8661 (display-buffer-same-window, display-buffer-maybe-same-window)
8662 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8663 (display-buffer-pop-up-window)
8664 (display-buffer-reuse-or-pop-window)
8665 (display-buffer-use-some-window): New functions.
8666 (display-buffer-default-action): Use them.
8667 (display-buffer-default): Delete.
8668 (pop-to-buffer-1): Fix choice of actions.
8670 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8672 * minibuffer.el (completion--insert-strings): Don't get confused by
8673 completion entries that end with an LF char.
8675 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8677 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8679 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8681 * window.el (display-buffer): Restore interactive spec.
8682 (display-buffer-same-window, display-buffer-other-window):
8684 (pop-to-buffer-1): New function. Use the above.
8685 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8686 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8688 * view.el (view-buffer-other-window, view-buffer-other-frame):
8689 Just use pop-to-buffer.
8691 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8693 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8695 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8697 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8699 2011-08-31 Richard Stallman <rms@gnu.org>
8701 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8702 of the separation of rmail-view-buffer from rmail-buffer.
8703 If you say no to "replace original", the decrypt is in the
8704 view buffer. If you say yes, the decrypt goes into the
8707 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8709 * window.el (display-buffer-window): Rewrite doc-string.
8710 (display-buffer-record-window): New function.
8711 (display-buffer-macro-specifiers)
8712 (display-buffer-even-window-sizes, display-buffer-set-height)
8713 (display-buffer-set-width, display-buffer-in-window)
8714 (display-buffer-reuse-window, display-buffer-split-specifiers)
8715 (display-buffer-side-specifiers, display-buffer-split-window-1)
8716 (display-buffer-split-window, display-buffer-split-atom-window)
8717 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8718 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8719 (display-buffer-other-window-means-other-frame)
8720 (display-buffer-normalize-special)
8721 (display-buffer-normalize-default)
8722 (display-buffer-normalize-argument)
8723 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8724 (display-buffer-normalize-specifiers, display-buffer-frame)
8725 (display-buffer-same-window, display-buffer-same-frame)
8726 (display-buffer-other-window)
8727 (display-buffer-same-frame-other-window)
8728 (display-buffer-other-frame, pop-to-buffer-same-window)
8729 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8730 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8731 (switch-to-buffer-same-frame)
8732 (switch-to-buffer-other-window-same-frame)
8733 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8734 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8735 (display-buffer-alist-set): Remove.
8736 (display-buffer-function, special-display-buffer-names)
8737 (special-display-regexps, special-display-function):
8738 In doc-string refer to display-buffer-window and quit-restore
8740 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8741 (special-display-frame-alist, special-display-popup-frame)
8742 (same-window-buffer-names, same-window-regexps, same-window-p)
8743 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8744 (split-window-preferred-function, split-height-threshold)
8745 (split-width-threshold, window-splittable-p)
8746 (split-window-sensibly, window--try-to-split-window)
8747 (window--frame-usable-p, even-window-heights)
8748 (window--even-window-heights, window--display-buffer-1)
8749 (window--display-buffer-2, display-buffer-other-frame):
8750 Restore old Emacs 23 code, order and doc-strings where applicable.
8751 (display-buffer-default, display-buffer-assq-regexp): New functions.
8752 (display-buffer-alist): Rewrite doc-string.
8753 (display-buffer-default-action)
8754 (display-buffer-overriding-action): New variables.
8755 (display-buffer, switch-to-buffer): Rewrite.
8756 (pop-to-buffer): Restore Emacs 23 behavior but use
8757 window-normalize-buffer-to-display.
8758 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8759 Restore Emacs 23 behavior but use
8760 window-normalize-buffer-to-switch-to.
8761 (pop-to-buffer-same-window): Rewrite.
8762 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8763 Rewrite using Emacs 23 options.
8765 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8767 * net/tramp.el (tramp-root-regexp): Remove.
8768 (tramp-completion-file-name-regexp-unified)
8769 (tramp-completion-file-name-regexp-separate)
8770 (tramp-completion-file-name-regexp-url): Don't use leading volume
8771 letter on win32 systems. (Bug#5303, Bug#9311)
8772 (tramp-drop-volume-letter): Simplify definition.
8773 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8775 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8777 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8780 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8782 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8784 2011-08-29 Juri Linkov <juri@jurta.org>
8786 * isearch.el (isearch-done): Don't display message "Mark saved"
8787 when arg `edit' is non-nil to prevent its flicker in the echo area.
8789 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8791 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8792 obsolete packages for deletion.
8794 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8796 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8797 (help-mode): Derive help-mode from special-mode. Don't invoke
8798 view-mode from help-mode.
8799 (help-xref-override-view-map): Remove.
8800 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8801 view-mode is not used anymore.
8803 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8805 * server.el (server-port): Doc fix.
8807 * cus-theme.el (custom-theme-choose-mode): Inherit from
8808 special-mode (Bug#9124).
8809 (custom-theme-choose-mode-map): Add special-mode to parent.
8811 2011-08-28 Alan Mackenzie <acm@muc.de>
8813 * progmodes/cc-fonts.el
8814 (c-make-font-lock-BO-decl-search-function): New function.
8815 (c-basic-matchers-after - "Fontify the clauses after various
8816 keywords"): Extract the three keyword lists for the 3 erroneous
8817 constructs from the list of four, and use the new function above
8818 in place of an old one.
8820 2011-08-28 Deniz Dogan <deniz@dogan.se>
8822 * net/rcirc.el (rcirc-insert-prev-input)
8823 (rcirc-insert-next-input): Remove unused argument.
8825 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8829 2011-08-27 Alan Mackenzie <acm@muc.de>
8831 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8832 handle function pointer parameters properly.
8834 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8836 * window.el (display-buffer-reuse-window): Fix case where
8837 selected window was reused with non-nil OTHER-WINDOW argument.
8840 2011-08-27 Deniz Dogan <deniz@dogan.se>
8842 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8843 oftc's NickServ messages.
8845 2011-08-27 Glenn Morris <rgm@gnu.org>
8847 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8849 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8851 * emacs-lisp/package.el (package-install): Call package-initialize
8852 if called interactively.
8854 2011-08-26 Leo Liu <sdl.web@gmail.com>
8856 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8858 2011-08-25 Juri Linkov <juri@jurta.org>
8860 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8861 `search-whitespace-regexp' (bug#9364).
8863 2011-08-25 Juri Linkov <juri@jurta.org>
8865 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8866 `regexp-search-ring' to their global values to protect from
8867 updating by `read-from-minibuffer' (bug#9185).
8869 2011-08-25 Juri Linkov <juri@jurta.org>
8871 * textmodes/ispell.el (ispell-command-loop): Add newline
8872 at the end of the "Use option `i'..." line.
8874 2011-08-25 Juri Linkov <juri@jurta.org>
8876 * battery.el (display-battery-mode): If `battery-status-function'
8877 or `battery-mode-line-format' is nil, display the message and set
8878 `display-battery-mode' to nil (bug#9363).
8880 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8882 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8883 bidi-string-mark-left-to-right; they are unnecessary now.
8885 2011-08-25 Deniz Dogan <deniz@dogan.se>
8887 * net/quickurl.el: Documentation typo fixes.
8889 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8891 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8893 2011-08-25 Glenn Morris <rgm@gnu.org>
8895 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8897 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8898 (smtpmail-via-smtp): Handle nil response from smtp.
8900 2011-08-24 Juri Linkov <juri@jurta.org>
8902 * proced.el (proced-marked): Inherit from `error' instead of
8903 `font-lock-warning-face'.
8905 * ibuffer.el (ibuffer-marked-face): Change default face from
8906 `font-lock-warning-face' to `warning'.
8907 (ibuffer-deletion-face): Change default face from
8908 `font-lock-type-face' to `error'.
8910 * battery.el (battery-update): Use the face `error' instead of
8911 `font-lock-warning-face' (bug#6117).
8913 2011-08-24 Juri Linkov <juri@jurta.org>
8915 * faces.el (success): Change face color from "Green3" to
8916 "ForestGreen" on light background (bug#9353).
8918 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8920 * window.el (quit-window): Rename from quit-restore-window.
8921 Use same arglist as old quit-window.
8922 (frame-auto-delete): Doc fix.
8924 * view.el (view-mode-exit): Use quit-window.
8926 2011-08-24 Juri Linkov <juri@jurta.org>
8928 * isearch.el (isearch-ring-adjust1): Start visiting previous
8929 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8930 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8931 for empty search string (when the last search string is reused
8932 automatically) to adjust the isearch ring to the last element and
8933 prepare the correct index for further M-p commands (bug#9185).
8935 2011-08-24 Kenichi Handa <handa@m17n.org>
8937 * international/ucs-normalize.el: If decomposition property of
8938 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8940 (nfd, nfkd): Likewise.
8942 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8945 from process filters aren't reliably transmitted to the surrounding
8946 accept-process-output.
8947 (mpc-proc-check): New function.
8948 (mpc-proc-sync): Use it (bug#8293)
8950 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8952 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8953 Add compatibility functions (bug#9313).
8955 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8957 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8959 * international/uni-bidi.el: Regenerate.
8961 2011-08-23 Kenichi Handa <handa@m17n.org>
8963 * international/charprop.el:
8964 * international/uni-bidi.el:
8965 * international/uni-category.el:
8966 * international/uni-combining.el:
8967 * international/uni-comment.el:
8968 * international/uni-decimal.el:
8969 * international/uni-decomposition.el:
8970 * international/uni-digit.el:
8971 * international/uni-lowercase.el:
8972 * international/uni-mirrored.el:
8973 * international/uni-name.el:
8974 * international/uni-numeric.el:
8975 * international/uni-old-name.el:
8976 * international/uni-titlecase.el:
8977 * international/uni-uppercase.el: Regenerate.
8979 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8981 * help.el (help-window-setup): Fix message displayed when other
8982 window is reused. (Bug#9341)
8984 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8986 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8987 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8989 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8991 * shell.el (shell-parse-pcomplete-arguments): New function.
8992 (shell-completion-vars): Use it instead (bug#9160).
8994 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8996 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8997 strings and comments (bug#9333).
8999 * emacs-lisp/debug.el (debug-arglist): New function.
9000 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9001 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9003 2011-08-22 Juri Linkov <juri@jurta.org>
9005 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9006 Revert regexp that highlights output switches to its old
9007 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9009 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9010 to check for empty output (bug#9226).
9012 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9014 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9015 symbol-constituent as the default, as that stops font-lock from
9016 working properly (Bug#8843).
9018 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9020 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9021 `coding-system-for-*' around the process open call to avoid
9022 auth-source side effects.
9023 (smtpmail-try-auth-methods): Expand the secret password.
9024 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9027 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9029 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9031 * emacs-lisp/find-func.el (find-function-noselect): New arg
9034 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9035 signal an error for built-in functions (Bug#6664).
9037 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9039 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9040 (smtpmail-try-auth-methods): Use it.
9042 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9044 * font-lock.el (font-lock-fontify-region)
9045 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9046 (font-lock-default-unfontify-buffer)
9047 (font-lock-default-fontify-region)
9048 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9050 * progmodes/compile.el (compilation-error-properties):
9051 Fix confusion between file struct and message struct (Bug#9319).
9052 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9055 * net/browse-url.el (browse-url-firefox): Don't call
9056 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9058 2011-08-20 Glenn Morris <rgm@gnu.org>
9060 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9062 * tutorial.el (tutorial--default-keys): Update some default bindings.
9064 * files.el (hack-local-variables): Fully ignore case for "mode:".
9066 2011-08-20 Alan Mackenzie <acm@muc.de>
9068 Resolve invalid use of a regexp in regexp-opt.
9070 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9071 detection for a java annotation.
9073 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9074 detection for a java annotation.
9076 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9078 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9080 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9082 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9085 2011-08-20 Alan Mackenzie <acm@muc.de>
9087 Fontify CPP expressions correctly when starting in the middle of
9088 such a construct. Mainly for when jit-lock etc. starts a chunk
9091 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9093 (c-make-font-lock-search-form): New function, extracted from
9094 c-make-font-lock-search-function.
9095 (c-make-font-lock-search-function): Use the above function.
9096 (c-make-font-lock-context-search-function): New function.
9097 (c-cpp-matchers): Enhance the preprocessor expression case with
9099 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9100 which takes an expression.
9102 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9104 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9106 * window.el (display-buffer-reuse-window)
9107 (display-buffer-pop-up-window): Don't reuse or split a side
9110 2011-08-19 Glenn Morris <rgm@gnu.org>
9112 * files.el (hack-local-variables-prop-line, hack-local-variables):
9113 Downcase "Mode:". (Bug#9331)
9115 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9117 * international/characters.el: Add L and R categories.
9119 * subr.el (bidi-string-mark-left-to-right): Rename from
9120 string-mark-left-to-right. Use category search.
9122 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9124 2011-08-18 Juri Linkov <juri@jurta.org>
9126 * faces.el (error, warning, success): New faces with definitions
9127 copied from old default values of `font-lock-warning-face',
9128 `compilation-warning', `compilation-info' (bug#6117).
9130 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9132 * progmodes/compile.el (compilation-error): Inherit from `error'.
9133 (compilation-warning): Inherit from `warning'.
9134 (compilation-info): Inherit from `success'.
9136 * dired.el (dired-marked): Inherit from `warning'.
9137 (dired-flagged): Inherit from `error'.
9139 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9141 * mail/smtpmail.el (auth-source): Require to avoid problems with
9142 binding variables (bug#9298). Also clean up some unused
9145 * net/network-stream.el (network-stream-open-starttls):
9146 Support using starttls.el without using gnutls-cli.
9148 2011-08-17 Juri Linkov <juri@jurta.org>
9150 * progmodes/grep.el (rgrep): Handle the case when
9151 `grep-find-command' is a cons cell (bug#9278).
9153 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9155 * window.el (display-buffer-pop-up-frame): Run frame creation
9156 function with BUFFER current (as special-display-popup-frame
9157 does). Reported by Drew Adams.
9159 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9161 * epa-mail.el: Simplify GnuPG group expansion using
9163 (epa-mail-group-alist, epa-mail-group-modtime)
9164 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9165 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9166 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9169 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9171 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9173 2011-08-16 Alan Mackenzie <acm@muc.de>
9175 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9176 Correct, to avoid the inside of macros.
9178 2011-08-16 Richard Stallman <rms@gnu.org>
9180 * epa-mail.el: Handle GnuPG group definitions.
9181 (epa-mail-group-alist, epa-mail-group-modtime)
9182 (epa-mail-gnupg-conf-file): New variables.
9183 (epa-mail-parse-groups, epa-mail-sync-groups)
9184 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9185 (epa-mail-expand-recipients): New functions.
9186 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9188 * mail/rmail.el (rmail-epa-decrypt): New command.
9190 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9191 Don't bind buffer-read-only, just inhibit-read-only.
9192 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9193 (epa-decrypt-armor-in-region): Make error message clearer.
9195 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9197 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9198 and "a2b" to "ab" for `prefix'.
9200 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9202 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9204 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9205 Fourquet (Bug#8804).
9207 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9209 * startup.el (argi): Declare as global variable (bug#9275).
9211 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9213 * subr.el (string-mark-left-to-right): Search the entire string
9214 for RTL script, not just the terminating character. Doc fix.
9216 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9218 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9220 (js--regexp-literal, js-syntax-propertize-function): Remove.
9221 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9222 (js-mode-map): Don't rebind electric keys.
9223 (js-insert-and-indent): Remove.
9224 (js-mode): Setup electric-layout and electric-indent instead.
9226 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9228 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9230 * epa.el (epa-progress-callback-function): Fix the logic of
9231 displaying progress.
9232 * epa-file.el (epa-file-insert-file-contents): Make progress
9233 display more user-friendly.
9234 (epa-file-write-region): Ditto.
9236 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
9238 * subr.el (string-mark-left-to-right): New function.
9240 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9241 Use string-mark-left-to-right.
9242 (list-buffers-noselect): Caller changed.
9244 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9245 Use string-mark-left-to-right.
9246 (tabulated-list-print): Recenter after moving point.
9248 2011-08-10 Juri Linkov <juri@jurta.org>
9250 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9251 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9252 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9254 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9256 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9259 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9261 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9262 character. (Bug#6594)
9264 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9266 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9267 (image-dired--with-db-file): New macro.
9268 (image-dired-write-tags, image-dired-remove-tag)
9269 (image-dired-create-gallery-lists, image-dired-write-comments)
9270 (image-dired-get-comment, image-dired-mark-tagged-files)
9271 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9272 (image-dired-gallery-generate): Use insert-file-contents.
9274 * time.el (display-time-world-list, display-time-world-display):
9275 * time-stamp.el (time-stamp-string):
9276 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9277 set-time-zone-rule (Bug#7337).
9279 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9281 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9282 (epg-error-to-string, epg-errors-to-string): New function.
9283 (epg-wait-for-completion): Reverse errors list.
9284 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9285 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9286 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9287 (epg-sign-keys, epg-generate-key-from-file)
9288 (epg-generate-key-from-string): Format errors by using
9289 epg-errors-to-string (bug#9255).
9290 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9292 2011-08-07 Juri Linkov <juri@jurta.org>
9294 * faces.el (list-faces-display): Remove extra angle bracket
9295 from `help-mode-map'.
9297 * info.el (Info-history-toc-nodes): Doc fix.
9299 * longlines.el (longlines-mode): Doc fix.
9301 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9303 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9304 of statements and in a few more cases (bug#9183).
9306 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9308 (cl-transform-lambda): Use them (bug#9239).
9310 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9312 * window.el (display-buffer-same-window)
9313 (display-buffer-same-frame, display-buffer-other-window)
9314 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9315 (pop-to-buffer-other-window)
9316 (pop-to-buffer-same-frame-other-window)
9317 (pop-to-buffer-other-frame): Make them defuns.
9318 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9320 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9322 * subr.el (make-composed-keymap): Move from C. Change calling
9323 convention, and improve docstring to bring attention to a subtle point.
9324 * minibuffer.el (completing-read-default): Adjust accordingly.
9326 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9328 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9329 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9331 * net/trampver.el: Update release number.
9333 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9335 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9338 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9340 * mail/sendmail.el (sendmail-query-once): Restore the current
9341 buffer after querying (bug#9074).
9343 * dired.el (dired-flagged): Use different faces for marked and
9344 flagged files (bug#6117).
9346 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9349 * ido.el (ido-mode): Switch off the message if called
9352 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9353 before 587, since it appears that that's more likely to work for
9356 * cus-edit.el (custom-file): When running under emacs -q, always
9357 refuse to save the customizations, even if the .emacs file doesn't
9360 * info.el: Remove the `Info-beginning-of-buffer' function
9363 * net/network-stream.el (network-stream-open-starttls):
9364 Use `starttls-available-p' to see whether starttls.el can be used.
9366 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9368 * window.el (display-buffer-in-window): Don't set dedicated status
9369 of window here (Bug#9215).
9370 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9371 (display-buffer-pop-up-side-window)
9372 (display-buffer-in-side-window): Set dedicated status of window here.
9374 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9376 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9377 before binding generated-autoload-file.
9379 2011-08-01 Deniz Dogan <deniz@dogan.se>
9381 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9383 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9385 Sync with Tramp 2.2.2.
9387 * net/trampver.el: Update release number.
9389 2011-07-30 Juri Linkov <juri@jurta.org>
9391 * dired-aux.el (dired-touch-initial): Remove function.
9392 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9393 current time, and `default' to the last modification time of the
9394 current marked file (bug#6887).
9396 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9398 * simple.el (goto-line): Use string-to-number to provide a
9399 numeric argument to read-number (bug#9163).
9401 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9403 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9404 connection process, it could be nil.
9406 2011-07-27 Leo Liu <sdl.web@gmail.com>
9408 Simplify url handling in rcirc-mode.
9410 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9411 (rcirc-browse-url-at-mouse): Remove.
9412 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9414 2011-07-26 Alan Mackenzie <acm@muc.de>
9416 Fontify bitfield declarations properly.
9418 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9419 (c-symbol-chars): Now exported as a lang variable.
9420 (c-not-primitive-type-keywords): New lang variable.
9422 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9423 QT keyword "more" to prevent "more slots: ...." being spuriously
9424 parsed as a bitfield declaration.
9426 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9427 Refactor and enhance to handle bitfield declarations.
9428 (c-punctuation-in): New function.
9429 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9430 declarations properly.
9432 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9434 * calendar/icalendar.el (icalendar--all-events): Take care of
9435 multiple vcalendars in a single file.
9436 (icalendar--convert-float-to-ical): Checkdoc fixes.
9438 2011-07-25 Deniz Dogan <deniz@dogan.se>
9440 * image.el (insert-image): Clarifying docstring.
9442 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9444 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9445 `tramp-send-command-and-check' if there is no error.
9446 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9448 2011-07-22 Alan Mackenzie <acm@muc.de>
9450 Prevent cc-langs.elc being loaded at run time.
9452 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9455 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9456 "(require 'cc-langs)". Quote a form so it will evaluate at
9457 (cc-mode's) compilation time.
9459 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9461 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9464 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9466 * window.el (display-buffer-pop-up-window)
9467 (display-buffer-pop-up-side-window)
9468 (display-buffer-in-side-window): Call display-buffer-set-height
9469 and display-buffer-set-width after setting the new window's
9470 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9472 2011-07-20 Sam Steingold <sds@gnu.org>
9474 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9475 (etags-tags-included-tables): Call `convert-standard-filename' on
9476 the file names contained in TAGS so that windows Emacs can handle
9477 TAGS files created by cygwin ctags.
9479 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9481 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9482 which apparently didn't work.
9484 2011-07-19 Roland Winkler <winkler@gnu.org>
9486 * proced.el (proced-send-signal): For *Marked Processes* buffer
9487 put point at beginning of buffer.
9489 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9491 * proced.el (proced-format): Make header lines align with the text
9494 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9496 * view.el (view-buffer): Allow running in `special' modes if we're
9497 visiting a file (bug#8615).
9499 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9501 * window.el (display-buffer-alist-of-strings-p)
9502 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9504 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9507 2011-07-18 Alan Mackenzie <acm@muc.de>
9509 Fontify declarators properly when, e.g., a jit-lock chunk begins
9510 inside a declaration.
9512 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9514 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9516 (c-complex-decl-matchers): Insert reference to
9517 c-font-lock-enclosing-decls.
9519 * progmodes/cc-engine.el (c-backward-single-comment):
9520 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9521 to nil around calls to (forward-comment -1).
9523 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9525 * image.el (put-image): Doc typo fix.
9527 * progmodes/etags.el (tags-search): Doc typo fix.
9529 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9530 password if we get errors 550 to 554.
9532 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9534 * net/gnutls.el (gnutls-log-level): Remove.
9536 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9537 indentation character (bug#6380).
9539 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9541 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9542 to clarify what the problem is (bug#4291).
9544 * simple.el (current-kill): Clarify what
9545 `interprogram-paste-function' does (bug#7500).
9546 (auto-fill-mode): Document `auto-fill-function' in relation to
9547 `auto-fill-mode' (bug#2470).
9549 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9551 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9552 method if slot is read-only (bug#9035).
9554 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9556 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9557 * window.el (pop-to-buffer): Select window used even if it was
9558 selected before, see discussion of (Bug#8615), (Bug#6954).
9559 Pass argument NORECORD on to select-frame-set-input-focus.
9561 2011-07-15 Glenn Morris <rgm@gnu.org>
9563 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9566 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9568 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9569 (gnutls-negotiate): Use it.
9571 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9573 * net/gnutls.el (gnutls-negotiate):
9574 Upcase `gnutls-algorithm-priority'.
9576 2011-07-15 Glenn Morris <rgm@gnu.org>
9578 * jka-compr.el (jka-compr-verbose): Move from here...
9579 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9580 Add missing :version tag.
9581 * info.el: No need to require jka-compr when compiling.
9583 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9585 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9586 (gnutls-negotiate): Use it.
9588 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9590 * info.el (Info-beginning-of-buffer): New command.
9591 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9592 announcing `b' as the key (bug#8325).
9593 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9595 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9597 * international/mule-cmds.el
9598 (describe-specified-language-support): Make the error message
9601 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9603 * isearch.el (isearch-barrier): Add a doc string, since it's
9604 mentioned in a function doc string (bug#8678).
9606 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9608 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9609 buffer argument (Bug#9083) and self-identifying label argument.
9611 2011-07-15 Glenn Morris <rgm@gnu.org>
9613 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9615 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9617 * man.el (Man-fontify-manpage): Fix message when formatting the
9618 man page (bug#7929).
9620 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9622 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9623 argument LRM; if non-nil, append an invisible LRM character to the
9625 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9626 last argument non-nil, when formatting buffer names.
9627 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9628 paragraph direction.
9630 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9632 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9633 the man page name (bug#7929).
9635 * image.el (put-image): Mention the `put-image' overlay property
9638 * scroll-bar.el (set-scroll-bar-mode): Mention that
9639 `scroll-bar-mode' lists the values (bug#7772).
9641 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9644 * rect.el (apply-on-rectangle): Return the point after the last
9646 (string-rectangle): Go to the point after the last operation
9649 * printing.el (pr-toggle-region): Clarify the documentation
9650 slightly (bug#7493).
9652 * time.el (display-time-update):
9653 Allow `display-time-mail-function' to return nil (bug#7158).
9654 Fix suggested by Detlev Zundel.
9656 * vc/diff.el (diff): Clarify the order the file names are read
9659 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9660 the doc string (bug#7015).
9662 * font-lock.el (font-lock-maximum-decoration): Mention what
9663 numeric levels mean (bug#6935).
9665 * startup.el (initial-buffer-choice): Don't mention the `none'
9666 selection, which is against policy.
9668 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9670 * window.el (display-buffer-normalize-special):
9671 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9673 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9675 * subr.el (version<, version<=, version=): Mention "-CVS" and
9676 "-12345" alpha version numbers.
9678 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9680 * bindings.el: Add advertised binding for set-mark-command
9683 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9685 * bindings.el (mode-line-other-buffer):
9686 * bookmark.el (bookmark-bmenu-2-window):
9687 * bs.el (bs-cycle-next, bs-cycle-previous):
9688 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9691 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9694 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9696 * follow.el (follow-debug-message, follow-redisplay):
9697 * jka-cmpr-hook.el (with-auto-compression-mode):
9698 Fix typos in docstrings.
9700 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9702 * subr.el (with-silent-modifications): Clarify somewhat what the
9703 macro inhibits (bug#6525).
9705 * simple.el (eval-expression): Note what it does if called
9706 interactively (bug#6495).
9708 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9710 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9711 Use pop-to-buffer buffer-or-name if it is nil.
9713 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9714 Remove switch-to-buffer.
9716 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9718 * files.el (make-directory): Clarify that an error will be raised
9719 if there's an error (bug#6397).
9721 * startup.el (initial-buffer-choice): Add `none' as a choice
9724 * subr.el (add-hook): Clarify section about buffer-local hooks
9727 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9729 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9731 * tabify.el (untabify): Preserve the current column so that point
9732 doesn't move (bug#6032).
9734 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9736 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9737 Rewrite to avoid awkward possessive "s" (bug#5986).
9739 2011-07-13 Glenn Morris <rgm@gnu.org>
9741 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9742 (dired-insert-directory): Give a message the first time
9743 if ls is found not to support --dired.
9745 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9747 * simple.el (toggle-truncate-lines): Clarify what is toggled
9748 (bug#5580). Text by Drew Adams.
9750 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9752 * simple.el (blink-matching-open): Make the error message from the
9753 last change less verbose.
9755 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9757 * font-lock.el (font-lock-comment-face): Use the high contrast
9758 "yellow" color for font-lock-comment-face on low color terminals
9759 using a dark background color (bug#4221).
9761 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9763 * dired.el (dired-insert-set-properties): Make the doc string
9764 reflect what it does now (bug#5325).
9766 * simple.el (blink-matching-open): Say that we were unable to find
9767 the match within the limit, if we're limited (bug#5122).
9769 * international/mule-cmds.el (prefer-coding-system): Add an
9772 * progmodes/etags.el (tags-search): Document `file-list-form'
9775 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9777 * net/browse-url.el (browse-url-default-browser)
9778 (browse-url-browser-function): Make the default browser choice a
9779 bit more logical (bug#4300). Also clean up the doc string.
9781 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9783 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9784 binary endings (bug#4440).
9786 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9788 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9789 which can be pretty annoying (bug#8971).
9791 * jka-compr.el (jka-compr-verbose): New variable, and use
9792 throughout (bug#8971).
9794 * info.el (Info-find-file): Fall back on the installation
9795 directory if we can't find the info node anywhere else.
9797 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9799 * vc/vc.el (vc-revert-file):
9800 Don't set file time-stamp in the past. (Bug#5181)
9802 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9804 * files.el (after-find-file): Give a better error message when
9805 trying to find a symlink that points to a file that doesn't exist
9808 * progmodes/cc-vars.el: Remove (probably) misleading comment
9811 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9813 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9815 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9817 * mouse-sel.el: Hack restoring functionality, while keeping
9818 compatibility with 2010-07-03 changes to mouse selection.
9819 (mouse-sel-primary-overlay): New var.
9820 (mouse-sel-selection-alist): Use it.
9821 (mouse-sel-mode): Doc fix; remove points that are default features
9824 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9826 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9827 Fix previous fix (bug#2490).
9829 2011-07-12 Roland Winkler <winkler@gnu.org>
9831 * textmodes/bibtex.el (bibtex-initialize):
9832 Use pop-to-buffer-same-window.
9833 (bibtex-search-entries): Fix interactive call.
9835 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9837 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9838 Fontise bytecomp Error lines more correctly (bug#2490).
9839 Fix suggested by Johan Bockgård.
9841 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9843 * dired-x.el (dired-guess-default): Use `delete-dups'.
9845 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9847 * dired.el (dired-mark-prompt):
9848 * dired-aux.el (dired-read-shell-command): Doc fix.
9850 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9852 * mail/sendmail.el (sendmail-query-once):
9853 Use `customize-save-variable' unconditionally, now that it works under
9856 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9858 * cus-edit.el (custom-file): Take an optional no-error variable.
9859 (customize-save-variable): Set the variable, and give a warning if
9860 running under "emacs -q".
9862 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9864 * loadhist.el (unload-feature-special-hooks):
9865 Add `auto-coding-functions', `fill-nobreak-predicate' and
9866 `find-directory-functions' (bug#5327).
9868 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9870 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9872 * cus-edit.el (custom-guess-name-alist): -alist variables should
9873 use the `alist' type (bug#3120). Suggested by Drew Adams.
9875 * printing.el: Add documentation to all the `pr-toggle-' commands.
9877 2011-07-11 Leo Liu <sdl.web@gmail.com>
9879 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9880 backends where it makes sense (bug#2623).
9882 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9884 * dired-x.el (dired-guess-default): Remove duplicate shell command
9886 (dired-guess-default): Fix grammar in doc string (bug#2028).
9887 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9889 * subr.el (remove-duplicates): New conveniency function.
9891 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9893 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9896 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9898 * window.el (display-buffer-normalize-default): Don't invert
9899 meaning of even-window-heights. Reported by Eli Zaretskii
9902 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9904 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9906 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9908 * window.el (display-buffer): Fix arguments to
9909 display-buffer-reuse-window in last change.
9911 * faces.el (link): Use a less saturated blue on light backgrounds.
9913 * startup.el (fancy-startup-text, fancy-about-text)
9914 (fancy-startup-tail): Use font-lock faces, for background safety.
9916 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9918 * emulation/viper-cmd.el (viper-change-state-to-vi):
9919 Limit triggering of abbrev expansion (Bug#9038).
9921 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9923 * window.el (display-buffer-default-specifiers): Remove.
9924 (display-buffer-macro-specifiers): Remove default specifiers.
9925 (display-buffer-alist): Default to nil.
9926 (display-buffer-reuse-window): New optional argument other-window.
9927 (display-buffer-pop-up-window): Allow splitting internal
9928 windows. Check whether a live window was created.
9929 (display-buffer-other-window-means-other-frame)
9930 (display-buffer-normalize-arguments): Rename to
9931 display-buffer-normalize-argument and rewrite. Set the
9932 other-window specifier.
9933 (display-buffer-normalize-special): New function.
9934 (display-buffer-normalize-options): Rename to
9935 display-buffer-normalize-default and rewrite.
9936 (display-buffer-normalize-options-inhibit): Remove.
9937 (display-buffer-normalize-specifiers): Rewrite.
9938 (display-buffer): Process other-window specifier and call
9939 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9941 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9942 (display-buffer-alist-set): Don't handle 'unset default values.
9943 (display-buffer-in-window, display-buffer-alist-set):
9944 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9945 <tassilo@member.fsf.org>.
9947 2011-07-09 Leo Liu <sdl.web@gmail.com>
9949 * register.el (insert-register): Restore accidental change on
9950 2011-06-26. (Bug#9028)
9952 2011-07-09 Glenn Morris <rgm@gnu.org>
9954 * subr.el (remq): Handle the empty list. (Bug#9024)
9956 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9958 * mail/sendmail.el (send-mail-function): No longer delay custom
9960 * custom.el (custom-initialize-delay): Doc fix.
9962 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9964 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9966 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9968 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9969 human-friendly prompt.
9971 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9973 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9974 provided by a particular plugin.
9976 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9978 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9979 save customizations (with "emacs -Q"), just set the variable
9980 instead of erroring out.
9982 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9984 2011-07-08 Juri Linkov <juri@jurta.org>
9986 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9987 (archive-zip-update-case): Use 7z if found by `executable-find'.
9988 The order of searching the available programs is the same as in
9989 `archive-zip-extract' (bug#8968).
9991 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9993 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9994 (menu-bar-options-menu): Tweak descriptions.
9996 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9998 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9999 menu items into verb phrases (bug#1421). Also refill to fit under
10002 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10004 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10005 (Info-read-node-name): Doc fix (Bug#1084).
10007 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10008 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10009 (end-of-sexp, beginning-of-sexp)
10010 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10011 (forward-symbol, forward-same-syntax, word-at-point)
10012 (sentence-at-point): Doc fix (Bug#1144).
10014 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10016 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10017 should cover it (bug#1281).
10019 * cus-edit.el (custom-show): Mark as obsolete.
10021 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10022 negotiation fails, then possibly try again with a non-encrypted
10023 connection (bug#9017).
10025 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10028 2011-07-07 Richard Stallman <rms@gnu.org>
10030 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10031 property, and handle its changed format.
10032 Look for the correct line number.
10033 Use file's line contents (but not past first =) to find
10034 correct line in message.
10036 2011-07-07 Kenichi Handa <handa@m17n.org>
10038 * international/characters.el (build-unicode-category-table):
10040 (unicode-category-table): Set it by unicode-property-table-internal.
10042 * international/mule-cmds.el (char-code-property-alist): Move to
10044 (get-char-code-property): Call unicode-property-table-internal to
10045 load a file. Call get-unicode-property-internal where necessary.
10046 (put-char-code-property): Call unicode-property-table-internal to
10047 load a file. Call put-unicode-property-internal where necessary.
10048 put-unicode-property-internal where necessary.
10049 (char-code-property-description):
10050 Call unicode-property-table-internal to load a file.
10052 * international/charprop.el:
10053 * international/uni-bidi.el:
10054 * international/uni-category.el:
10055 * international/uni-combining.el:
10056 * international/uni-comment.el:
10057 * international/uni-decimal.el:
10058 * international/uni-decomposition.el:
10059 * international/uni-digit.el:
10060 * international/uni-lowercase.el:
10061 * international/uni-mirrored.el:
10062 * international/uni-name.el:
10063 * international/uni-numeric.el:
10064 * international/uni-old-name.el:
10065 * international/uni-titlecase.el:
10066 * international/uni-uppercase.el: Regenerate.
10068 * loadup.el: Load international/charprop.el before
10069 international/characters.
10071 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10073 * window.el (next-buffer, previous-buffer): Signal an error if
10074 called from a minibuffer window.
10076 * bindings.el: Revert 2011-07-04 change.
10078 2011-07-06 Richard Stallman <rms@gnu.org>
10080 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10081 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10082 Treat markers like ints.
10083 (rmail-mime-entity): Doc fix.
10085 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10087 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10088 defcustom again for backwards compatibility.
10090 * simple.el (shell-command-on-region): Fill.
10092 * dired-aux.el (dired-kill-line): Add a doc string.
10094 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10095 to "\\sw\\|\\s_" (bug#358).
10097 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10098 (dired-unmark-backward): Ditto.
10099 (dired-flag-backup-files): Ditto.
10101 * dired-x.el (dired-mark-sexp): Ditto.
10103 2011-07-06 Richard Stallman <rms@gnu.org>
10105 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10106 (rmail-mime-entity): New arg TRUNCATED.
10107 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10109 (rmail-mime-save): Warn if entity is truncated.
10110 (rmail-mime-toggle-hidden): Likewise, for showing.
10111 (rmail-mime-process-multipart): Record when an entity is truncated.
10113 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10114 if ENTITY is a string.
10116 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10118 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10119 of faces when `M-C-x'-ing their definitions (bug#8378).
10120 Also clean up the code slightly.
10122 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10123 because that makes the colors go away.
10125 * mail/sendmail.el (send-mail-function): Change the default to
10126 `sendmail-query-once'.
10127 (sendmail-query-once): Add an autoload cookie.
10129 * net/network-stream.el (network-stream-open-starttls): Try using
10130 a plain connection even if the server offered STARTTLS, and we
10131 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10132 capability. This should make smtpmail.el work in slightly more
10135 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10137 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10139 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10141 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10143 * progmodes/sql.el: Version 3.0
10144 (sql-product-alist): Add product :completion-object,
10145 :completion-column, and :statement attributes.
10146 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10147 (sql-mode-syntax-table): Mark all punctuation.
10148 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10150 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10151 (sql-mode-oracle-font-lock-keywords): Improve.
10152 (sql-oracle-show-reserved-words): New function for development.
10153 (sql-product-font-lock): Simplify for source code buffers.
10154 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10156 (sql-highlight-product): Set product specific syntax table.
10157 (sql-mode-map): Add statement movement functions.
10158 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10160 (sql-statement-regexp, sql-beginning-of-statement)
10161 (sql-end-of-statement, sql-signum): New functions.
10162 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10163 (sql-show-sqli-buffer): Bug fix.
10164 (sql-interactive-mode): Store connection data as buffer local.
10165 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10166 with sql-interactive-mode.
10167 (sql-save-connection): Save buffer local settings.
10168 (sql-connection-menu-filter): Change menu entry name.
10169 (sql-product-interactive): Bug fix.
10170 (sql-preoutput-hold): New variable.
10171 (sql-interactive-remove-continuation-prompt): Bug fixes.
10172 (sql-debug-redirect): New variable.
10173 (sql-str-literal): New function.
10174 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10176 (sql-oracle-save-settings, sql-oracle-restore-settings)
10177 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10178 (sql-completion-object, sql-completion-column)
10179 (sql-completion-sqlbuf): New variables.
10180 (sql-build-completions-1, sql-build-completions)
10181 (sql-try-completion): New functions.
10182 (sql-read-table-name): Use them.
10183 (sql-contains-names): New buffer local variable.
10184 (sql-list-all, sql-list-table): Use it.
10185 (sql-oracle-completion-types): New variable.
10186 (sql-oracle-completion-object, sql-sqlite-completion-object)
10187 (sql-postgres-completion-object): New functions.
10189 2011-07-06 Glenn Morris <rgm@gnu.org>
10191 * window.el (pop-to-buffer): Doc fix.
10193 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10195 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10197 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10199 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10201 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10203 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10205 * button.el (button): Inherit from link face. Suggested by Dan
10208 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10210 * progmodes/gdb-mi.el: Fit in 80 columns.
10211 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10214 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10215 if imenu is simply not configured (bug#8941).
10217 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10219 * allout.el (allout-post-undo-hook): New allout outline-change
10220 event hook to signal undo activity.
10221 (allout-post-command-business): Run allout-post-undo-hook if an
10222 undo just occurred.
10223 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10224 * allout-widgets.el (allout-widgets-after-undo-function):
10225 Ensure the integrity of the current item's decoration after it has been
10226 in the vicinity of an undo.
10227 (allout-widgets-mode): Include allout-widgets-after-undo-function
10228 on the new allout-post-undo-hook.
10230 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10232 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10233 Let define-derived-mode define it.
10234 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10235 cycles of abbrev-table inheritance (bug#8998).
10237 2011-07-05 Roland Winkler <winkler@gnu.org>
10239 * textmodes/bibtex.el: Add support for biblatex.
10240 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10241 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10242 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10243 (bibtex-entry-alist, bibtex-field-alist): New variables.
10244 (bibtex-entry-field-alist): Obsolete alias for
10245 bibtex-BibTeX-entry-alist.
10246 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10247 (bibtex-set-dialect): New command.
10248 (bibtex-entry-type, bibtex-entry-head)
10249 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10250 Bind via bibtex-set-dialect.
10251 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10252 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10253 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10254 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10255 Define via bibtex-set-dialect.
10256 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10257 Obey bibtex-no-opt-remove-re.
10258 (bibtex-vec-push, bibtex-vec-incr): New functions.
10259 (bibtex-format-entry, bibtex-field-list)
10260 (bibtex-print-help-message, bibtex-validate)
10261 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10263 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10265 * progmodes/compile.el (compilation-goto-locus):
10266 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10267 * bs.el (bs-cycle-next, bs-cycle-previous):
10268 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10269 * bindings.el (mode-line-other-buffer):
10270 * autoinsert.el (auto-insert):
10271 * arc-mode.el (archive-extract):
10272 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10274 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10276 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10277 Fix check of `emacs-lock-unlockable-modes'.
10278 Coerce true values of `emacs-lock--try-unlocking' to t.
10280 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10282 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10283 * emacs-lock.el: New file.
10285 2011-07-05 Julien Danjou <julien@danjou.info>
10287 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10288 than `boundp' to check if face is set.
10290 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10292 * register.el (registerv-make):
10293 * window.el (window-min-height): Fix typos in docstrings.
10295 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10297 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10300 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10302 * server.el (server-execute): Catch quit and call
10303 `server-return-error' to pass the error back to emacsclient and
10304 close the connection (bug#8942).
10306 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10308 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10309 insecure exception for current topic. Also note that auto-saves
10310 are handled differently.
10312 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10313 State variables for tracking auto-save inhibition situation.
10315 (allout-write-contents-hook-handler): Rename from
10316 'allout-write-file-hook-handler', and describe how it depends on
10317 write-contents-functions sensitivity to non-nil value to prevent
10320 (allout-auto-save-hook-handler): Remove. auto-save does not check
10321 this in individual buffers, only in the starting buffer, so this
10322 is not the right way for us to inhibit auto-save in a buffer
10323 according to its condition.
10325 (allout-mode): Use new allout-write-contents-hook-handler, and
10326 only with write-contents-functions. Remove auto-save provisions -
10327 they're implemented elsewhere.
10329 (allout-before-change-handler): If undo is in progress, note that
10330 for attention of allout-post-command-business.
10332 (allout-post-command-business): If the command we're following was
10333 an undo, check for change in the status of encrypted items and
10334 adjust auto-save inhibitions accordingly.
10336 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10337 according to whether there are or aren't any plain-text topics
10338 pending encryption.
10340 (allout-inhibit-auto-save-info-for-decryption):
10341 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10342 if there are plain-text topics pending encryption.
10344 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10345 buffer-saved-size and some allout state to not inhibit auto-saves
10346 if there are no longer any plain-text topics pending encryption.
10348 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10349 No longer provide for exemption of the current topic.
10351 2011-07-04 Juri Linkov <juri@jurta.org>
10353 Add 7z operations to delete and save changed members (bug#8968).
10354 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10356 (archive-7z-write-file-member): New function.
10357 (archive-7z-summarize): Fix the number of dashes in the
10360 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10362 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10365 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10367 * bindings.el: Ignore next-buffer and previous-buffer in
10368 minibuffer-local-map.
10370 * font-lock.el (font-lock-builtin-face): Change light background
10371 color to dark slate blue (Bug#6693).
10373 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10375 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10377 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10379 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10380 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10381 Add switch-to-buffer.
10383 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10385 * isearch.el (isearch-search-fun-function): Clarify further the
10386 meaning of the function returned.
10388 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10390 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10392 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10393 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10395 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10396 `tramp-default-remote-path' does not exist.
10397 (tramp-send-command-and-read): New optional argument NOERROR.
10398 (tramp-open-connection-setup-interactive-shell)
10399 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10400 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10401 (tramp-process-sentinel): Flush also process' connection property.
10402 (tramp-sh-handle-start-file-process): Do not set process
10403 sentinel. It is done now ...
10404 (tramp-maybe-open-connection): ... here. (Bug#8929)
10406 2011-07-04 MON KEY <monkey@sandpframing.com>
10408 * play/animate.el (animate-string): Doc fixes and allow changing
10409 the buffer name (bug#5417).
10411 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10413 * play/animate.el (animation-buffer-name): Rename from *animate*.
10415 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10417 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10418 This is simpler and helps future-proof the code.
10419 (timer-until): Use time-subtract and float-time.
10420 (timer--time-less-p): Use time-less-p.
10422 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10424 * type-break.el (timep): Use the value of `float-time' to avoid a
10425 byte-compiler warning.
10427 * server.el (server-eval-and-print): Return any result, even nil.
10429 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10431 * type-break.el: Accept time formats that the builtins accept.
10432 (timep, type-break-time-difference): Accept any format that
10433 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10434 This is simpler and helps future-proof the code.
10435 (type-break-time-difference): Round rather than ignoring
10436 subseconds components.
10438 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10440 * info.el (Info-apropos-matches): Make non-interactive, since it
10441 doesn't seem to do anything useful as a command (bug#8829).
10443 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10445 * frame.el (frame-background-mode, frame-set-background-mode):
10446 Move from faces.el.
10447 (frame-default-terminal-background): New function.
10449 * custom.el (custom-push-theme): Don't record faces in `changed'
10450 theme; this doesn't work correctly for per-frame face settings.
10451 (disable-theme): Use face-set-after-frame-default to reset faces.
10452 (custom--frame-color-default): New function.
10454 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10456 * dired.el (dired-flagging-regexp): Remove unused variable
10459 2011-03-29 Kevin Ryde <user42@zip.com.au>
10461 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10462 `perl-Test2' extend to match possible "fail #N" rep count
10465 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10467 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10468 `smtpmail-via-smtp' now returns the error instead of nil.
10470 * isearch.el (isearch-search-fun-function): Clarify the doc string
10473 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10475 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10476 unnecessary spaces (bug#8987).
10478 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10480 * net/network-stream.el (open-network-stream): Use the
10481 :end-of-capability command thoughout.
10483 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10485 * net/network-stream.el (open-network-stream): Add the
10486 :end-of-capability command parameter, used by pop3.el.
10488 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10490 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10492 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10493 for list)" (bug#6475).
10495 * files.el (file-expand-wildcards): Ignore non-readable
10496 sub-directories while trying to find matches instead of signaling
10497 an error (bug#6297).
10499 * man.el (Man-reference-regexp): Allow matching possible
10500 word-wrapped references (bug#6289).
10502 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10503 for consistency with the other vc buffers (bug#6197).
10504 (vc-checkin): Ditto.
10506 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10508 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10510 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10512 * custom.el (defcustom): Clarify that :set is only used in the
10513 Customize user interface (bug#6089).
10515 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10516 associated with a file, refuse to run instead of erroring out
10519 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10520 the doc string, since it appears that using `fill-column' always
10521 controls the width (bug#7845).
10523 * simple.el (shell-command-on-region): Say where the error output
10524 went if `shell-command-default-error-buffer' is set (bug#6857).
10526 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10528 * allout.el (allout-yank-processing): Adjust cursor position for
10529 backwards-deleted space.
10531 (allout-rebullet-heading): Register changes with
10532 allout-exposure-changed-hook, so the modified topic is properly
10535 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10537 * minibuffer.el (completion-in-region): Document PREDICATE
10540 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10541 of keyword/argument pairs (bug#6904).
10543 * replace.el (multi-occur):
10544 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10546 2011-07-02 Drew Adams <drew.adams@oracle.com>
10548 * dired.el (dired-mark-if): Make the message about whether it's
10549 marking or unmarking clearer (bug#8523).
10551 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10553 * disp-table.el (display-table-print-array): New function.
10554 (describe-display-table): Use it to print the vectors more pretty
10557 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10559 * window.el (window-state-get-1): Don't assign clone numbers.
10560 Add clone-of item to list of window parameters.
10561 (window-state-put-2): Don't process clone numbers.
10562 (display-buffer-alist): Fix doc-string.
10564 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10566 * subr.el (remq): Don't allocate if it's not needed.
10567 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10568 (keymap--merge-bindings): New functions.
10569 (keymap-canonicalize): Use them to refine the canonicalization.
10570 * minibuffer.el (minibuffer-local-completion-map)
10571 (minibuffer-local-must-match-map): Move initialization from C.
10572 (minibuffer-local-filename-completion-map): Move initialization from C;
10573 don't inherit from anything here.
10574 (minibuffer-local-filename-must-match-map): Make obsolete.
10575 (completing-read-default): Use make-composed-keymap to combine
10576 minibuffer-local-filename-completion-map with either
10577 minibuffer-local-must-match-map or
10578 minibuffer-local-filename-completion-map.
10580 2011-07-01 Glenn Morris <rgm@gnu.org>
10582 * type-break.el (type-break-time-sum): Use dolist.
10584 * textmodes/flyspell.el (flyspell-word-search-backward):
10585 Replace CL function.
10587 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10589 * mouse.el (mouse--strip-first-event): New function.
10590 (function-key-map): Use it to map fringe clicks to normal clicks
10593 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10594 (vc-bzr-revision-completion-table): Add support for annotate and date.
10596 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10597 inherit from parent.
10599 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10601 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10602 (dired-show-file-type): Doc fixup (bug#8818).
10604 * dired.el (dired-mode): Fix up the doc string as suggested by
10605 Drew Adams (bug#8817).
10607 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10608 cookie, since the manual says that it should be possible to add
10609 this function to `find-file-hook' (bug#8709).
10611 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10613 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10614 here. Noted Ted Zlatanov as the maintainer.
10615 (cfengine-common-settings, cfengine-common-syntax): New functions
10616 to set up common things between `cfengine-mode' and
10618 (cfengine3-mode): New mode.
10619 (cfengine3-defuns cfengine3-defuns-regex
10620 (cfengine3-class-selector-regex cfengine3-category-regex)
10621 (cfengine3-vartypes cfengine3-font-lock-keywords)
10622 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10623 (cfengine3-indent-line): Add from cfengine3.el.
10625 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10627 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10629 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10631 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10633 * window.el (same-window-buffer-names, same-window-regexps)
10634 (same-window-p, special-display-frame-alist)
10635 (special-display-popup-frame, special-display-function)
10636 (special-display-buffer-names, special-display-regexps)
10637 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10638 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10639 (split-window-preferred-function, split-height-threshold)
10640 (split-width-threshold, even-window-heights)
10641 (display-buffer-mark-dedicated, window-splittable-p)
10642 (split-window-sensibly, window-safely-shrinkable-p):
10644 (display-buffer): Don't spread args with function specifier
10645 because special-display-popup-frame won't like it.
10647 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10649 Time-stamp simplifications and fixes.
10650 These improve accuracy slightly, and future-proof the code
10651 against some potential changes to current-time format.
10653 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10654 by using time-since and float-time.
10656 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10657 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10658 + NNN microseconds".
10660 * type-break.el (type-break-time-sum): Rewrite using time-add.
10662 * play/hanoi.el (hanoi-current-time-float): Remove.
10663 All uses replaced by float-time.
10665 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10666 This yields a more-accurate answer.
10667 (rng-time-to-float): Remove; no longer needed.
10669 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10671 * calendar/timeclock.el (timeclock-seconds-to-time):
10672 Defalias to seconds-to-time, since they're the same thing.
10674 * emacs-lisp/elp.el (elp-elapsed-time):
10675 * emacs-lisp/benchmark.el (benchmark-elapse):
10676 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10678 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * window.el (bury-buffer): Don't iconify the only frame.
10681 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10682 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10684 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10686 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10687 Add mouse-yank-primary.
10689 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10691 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10693 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10695 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10696 (find-library-name): Use it to find relative load names when provided
10697 absolute file name (bug#8803).
10699 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10701 * textmodes/flyspell.el (flyspell-word): Consider words that
10702 differ only in case as potential doublons (bug#5687).
10704 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10705 Remove two rather uninteresting debugging-like messages to make
10706 debbugs.el more silent.
10708 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10709 a password-like phrase.
10711 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10713 * progmodes/cc-guess.el: New file.
10715 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10717 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10718 derived from `c-basic-common-init'.
10720 * progmodes/cc-mode.el (top-level): Require cc-guess.
10721 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10723 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10725 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10727 2011-06-30 Alan Mackenzie <acm@muc.de>
10729 * progmodes/cc-engine.el (c-guess-continued-construct):
10730 Correct the handling of template-args-cont, particularly for when font
10731 lock is disabled. Name this case as "CASE G".
10733 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10735 * allout.el (allout-yank-processing): Fix injection of extra space
10736 between bullet and non-whitespace character in first topic when
10737 pasting, ensuring that the actual spacing in the pasted topic
10738 following the bullet char is preserved. This extra space was
10739 causing pasted encrypted topics to get a decrypted status even
10740 when the content was actually still encrypted. Now the decryption
10741 status from before the paste is preserved.
10743 (allout-flag-region): Set all allout overlays so they evaporate
10744 when reduced to zero length (evanescent), to prevent overlay
10747 2011-06-30 Glenn Morris <rgm@gnu.org>
10749 * w32-fns.el (w32-charset-info-alist): Declare.
10751 * find-dired.el (find-grep-options): Simplify.
10753 * term/ns-win.el (ns-set-resource): Declare.
10755 * ses.el (row, col): Declare dynamic variables honestly.
10757 * textmodes/reftex-parse.el (index-tags): Declare.
10759 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10761 * cus-edit.el (customize-push-and-save): New function.
10763 * files.el (hack-local-variables-confirm): Use it.
10765 * custom.el (load-theme): New arg NO-CONFIRM.
10766 Use customize-push-and-save (Bug#8720).
10767 (custom-enabled-themes): Doc fix.
10769 * cus-theme.el (customize-create-theme)
10770 (custom-theme-merge-theme): Callers to load-theme changed.
10772 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10774 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10775 short URLs have at least one dot in them (bug #7614).
10777 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10778 nil, because using a pty is apparently too slow (bug #895).
10780 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10782 * mail/sendmail.el (sendmail-query-once): New function.
10783 (sendmail-query-once-function): New variable.
10785 2011-06-29 Glenn Morris <rgm@gnu.org>
10787 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10789 * ses.el (top-level): Require cl when compiling.
10790 (ses-set-localvars): Fix error statement.
10791 Call it at compile time to silence a storm of warnings.
10793 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10795 * window.el (normalize-live-buffer): Rename to
10796 window-normalize-buffer.
10797 (normalize-live-frame): Rename to window-normalize-frame.
10798 (normalize-any-window): Rename to window-normalize-any-window.
10799 (normalize-live-window): Rename to window-normalize-live-window.
10800 (make-window-atom): Rename to window-make-atom.
10801 (window-resize-reset): Rename to window--resize-reset.
10802 (window-resize-reset-1): Rename to window--resize-reset-1.
10803 (resize-mini-window): Rename to window--resize-mini-window.
10804 (resize-subwindows-skip-p): Rename to
10805 window--resize-subwindows-skip-p.
10806 (resize-subwindows-normal): Rename to
10807 window--resize-subwindows-normal.
10808 (resize-subwindows): Rename to window--resize-subwindows.
10809 (resize-other-windows): Rename to window--resize-siblings.
10810 (resize-this-window): Rename to window--resize-this-window.
10811 (resize-root-window): Rename to window--resize-root-window.
10812 (resize-root-window-vertically): Rename to
10813 window--resize-root-window-vertically.
10814 (normalize-buffer-to-display): Rename to
10815 window-normalize-buffer-to-display.
10816 (normalize-buffer-to-switch-to): Rename to
10817 window-normalize-buffer-to-switch-to.
10818 Correspondingly update all callers of the functions listed
10820 (display-buffer-alist, display-buffer-normalize-arguments)
10821 (display-buffer-normalize-options, display-buffer)
10822 (display-buffer-alist-set): Use "function" instead of
10825 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10827 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10828 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10829 debbugs.gnu.org. Mention acknowledgment email.
10831 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10833 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10834 buffer multibyteness, since it shouldn't matter.
10836 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10838 * window.el (display-buffer-in-side-window): Handle dedicated
10839 windows as in display-buffer-reuse-window.
10840 (display-buffer-normalize-alist): Use value of override
10842 (display-buffer-normalize-specifiers): Use value of
10843 other-window-means-other-frame specifier.
10844 (display-buffer-alist): Rewrite some texts in widgets.
10845 (display-buffer): Spread arguments when calling function
10846 specified by fun-with-args.
10848 2011-06-28 Deniz Dogan <deniz@dogan.se>
10850 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10853 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10854 selectors (Bug#5732).
10855 (css-proprietary-nmstart-re): Use `regexp-opt'.
10857 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10859 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10860 (eshell-ls-date-format): New defcustom.
10861 (eshell-ls-file): Use it.
10863 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10865 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10867 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10869 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10870 (ange-ftp-make-tmp-name): New arg.
10871 (ange-ftp-file-local-copy): Use it.
10873 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10875 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10876 no-conversion (Bug#8870).
10878 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10880 * window.el (window-right, window-left, window-child)
10881 (window-child-count, window-last-child)
10882 (window-iso-combination-p, walk-window-tree-1)
10883 (window-atom-check-1, window-tree-1, delete-window)
10884 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10885 new naming conventions - window-vchild, window-hchild,
10886 window-next and window-prev are now called window-top-child,
10887 window-left-child, window-next-sibling and window-prev-sibling
10889 (resize-window-reset): Rename to window-resize-reset.
10890 (resize-window-reset-1): Rename to window-resize-reset-1.
10891 (resize-window): Rename to window-resize.
10892 (window-min-height, window-min-width)
10893 (resize-mini-window, resize-this-window, resize-root-window)
10894 (resize-root-window-vertically, adjust-window-trailing-edge)
10895 (enlarge-window, shrink-window, maximize-window)
10896 (minimize-window, delete-window, quit-restore-window)
10897 (split-window, balance-windows, balance-windows-area-adjust)
10898 (balance-windows-area, window-state-put-2)
10899 (display-buffer-even-window-sizes, display-buffer-set-height)
10900 (display-buffer-set-width, set-window-text-height)
10901 (fit-window-to-buffer): Rename all "resize-window" prefixed
10902 calls to use the "window-resize" prefix convention.
10903 (display-buffer-alist): Fix symbol for label specifier.
10904 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10905 corresponding specifier.
10906 Reported by Juanma Barranquero <lekktu@gmail.com>.
10908 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10910 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10912 (ses-call-printer): Does not pass an empty string to formatter when the
10913 cell is empty to keep from barking printer Calc math-format-value.
10915 2011-06-27 Richard Stallman <rms@gnu.org>
10917 * battery.el (battery-mode-line-limit): New variable.
10918 (battery-update): Handle it.
10920 * mail/rmailmm.el (rmail-mime-process-multipart):
10921 Handle truncated messages.
10923 2011-06-27 Glenn Morris <rgm@gnu.org>
10925 * progmodes/flymake.el (flymake-err-line-patterns):
10926 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10928 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10930 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10931 (ses--clean-!, ses--clean-_): New functions.
10932 (ses-range): Add configurability of readout order, and conversion
10935 * ses.el (ses-repair-cell-reference-all): New function.
10936 (ses-cell-symbol): Set macro as safe, so that it can be used in
10939 * ses.el: Update cycle detection algorithm.
10940 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10941 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10942 (ses-set-localvars): New function.
10943 (ses-make-cell): Add property-list as a cell element.
10944 (ses-cell-property-get-fun, ses-cell-property-get)
10945 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10946 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10948 (ses-cell-property-set, ses-cell-property-pop)
10949 (ses-cell-property-get-handle): New macro.
10950 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10951 New aliases, used for code readability.
10952 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10954 (ses-self-reference-early-detection): New defcustom.
10955 (ses-formula-references): Robustify against self-referring cells.
10956 (ses-mode): Use ses-set-localvars.
10957 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10958 before lauching the update processing.
10959 (ses-initialize-Dijkstra-attempt): New function.
10960 (ses-recalculate-cell): Update for cycle detection based on
10961 Dijkstra algorithm.
10963 * ses.el: Fix commenting and indenting convention.
10965 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10967 * bs.el (bs-cycle-next): Complete last change.
10969 2011-06-27 Drew Adams <drew.adams@oracle.com>
10971 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10973 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10975 * net/network-stream.el (network-stream-open-starttls):
10976 Don't re-get capabilities unless we've reestablished connection.
10977 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10979 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10980 to binary to possibly avoid line encoding issues on Windows (among
10983 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10985 * net/network-stream.el (open-network-stream): Return an :error
10986 saying what the problem was, if possible.
10988 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10991 * net/network-stream.el (network-stream-open-starttls): If we
10992 wanted to use STARTTLS, and the server offered it, but we weren't
10993 able to because we had no STARTTLS support, then close the connection.
10994 (open-network-stream): Return an :error element, if present.
10996 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10998 * hl-line.el (hl-line-sticky-flag): Doc fix.
10999 (global-hl-line-sticky-flag): New option (Bug#8323).
11000 (global-hl-line-highlight): Obey it.
11002 * vc/vc.el (vc-revert-show-diff): Default to t.
11004 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11006 * allout-widgets.el (allout-widgets-post-command-business):
11007 Stop decorating intermediate isearch matches. They're not being
11008 undecorated when an isearch is continued past, and isearch
11009 automatically collapses them. This leads to "widget leaks", where
11010 decorated items accumulate in collapsed areas. Lines with lots of
11011 hidden widgets can slow down cursor travel, substantially.
11012 Too much complicated machinery would be needed to ensure undecoration,
11013 so we're doing without this nicety.
11015 (allout-widgets-tally-string): Don't try to do a hash-table-count
11016 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11017 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11018 *Messages* when allout-widgets-maintain-tally is t.
11020 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11022 * window.el (display-buffer-normalize-argument): Rename to
11023 display-buffer-normalize-arguments. Handle special meaning of
11024 LABEL argument. Respect special-display-function when popping up
11025 a new frame. Fix code searching for a window showing the buffer
11027 (display-buffer-normalize-specifiers):
11028 Call display-buffer-normalize-arguments.
11029 (display-buffer-in-window): Don't undedicate the window if its
11030 buffer remains the same.
11031 Reported by Drew Adams <drew.adams@oracle.com>.
11032 (display-buffer-alist): Add choice for same-window macro
11034 (display-buffer): Mention special meaning of LABEL argument in
11035 doc-string. Fix quoting. Don't pop up a new frame even as
11038 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11040 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11041 avoid deleting the current window in some cases (bug#8911).
11043 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11045 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11048 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11050 * net/network-stream.el (network-stream-open-starttls):
11051 Use built-in TLS support if `gnutls-available-p' is true.
11052 (network-stream-open-tls): Ditto.
11054 2011-06-26 Leo Liu <sdl.web@gmail.com>
11056 * register.el (registerv): New struct.
11057 (registerv-make): New function.
11058 (jump-to-register, describe-register-1, insert-register):
11059 Support the jump-func, print-func and insert-func slot of a registerv
11062 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11064 * vc/vc.el (vc-revert-show-diff): New defcustom.
11065 (vc-diff-internal): New arg specifying diff buffer.
11066 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11067 reuse an existing *vc-diff* buffer (Bug#8927).
11069 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11071 2011-06-26 Glenn Morris <rgm@gnu.org>
11073 * progmodes/f90.el (f90-critical-indent): New option.
11074 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11075 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11076 (f90-mode): Doc fix.
11077 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11078 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11079 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11080 (f90-match-end): Handle block, critical.
11082 2011-06-25 Glenn Morris <rgm@gnu.org>
11084 * calendar/diary-lib.el (diary-included-files): Doc fix.
11085 (diary-include-files): New function, extracted from
11086 diary-include-other-diary-files and diary-mark-included-diary-files.
11087 (diary-include-other-diary-files, diary-mark-included-diary-files):
11088 Just call diary-include-files.
11089 (diary-mark-entries): Reset diary-included-files on first call.
11091 * calendar/diary-lib.el (diary-mark-entries)
11092 (diary-mark-included-diary-files):
11093 Visit included diary-files in temp buffers.
11095 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11096 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11097 (f90-start-block-re, f90-imenu-generic-expression)
11098 (f90-looking-at-program-block-start, f90-no-block-limit):
11099 Add support for submodules.
11101 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11102 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11104 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11106 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11107 buffer-file-type before setting its value, to avoid disastrous
11108 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11110 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11112 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11114 * ses.el (ses-unload-function):
11115 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11117 * proced.el (proced-unload-function):
11118 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11120 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11122 * server.el (server-create-window-system-frame): Add parameters arg.
11123 (server-process-filter): Doc fix. Handle frame-parameters.
11125 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11127 Fix bug#8730, bug#8781.
11129 * loadhist.el (unload--set-major-mode): New function.
11130 (unload-feature): Use it.
11132 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11133 (python-unload-function): New function.
11135 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11137 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11139 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11141 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11142 the candidates list.
11144 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11146 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11148 2011-06-23 Richard Stallman <rms@gnu.org>
11150 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11151 (rmail-variables): Set next-error-move-function.
11152 (rmail-what-message): Take argument POS.
11153 (rmail-next-error-move): New function.
11155 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11157 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11158 messages for adjacent non-terminals.
11160 2011-06-23 Richard Stallman <rms@gnu.org>
11162 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11163 (rmail-show-message-1): Preserve buffer modified flag.
11164 (rmail-start-mail): Don't specify use of rmail-mail-return;
11165 that's done by mail-bury now.
11166 (rmail-mail-return): Handle arg NEWBUF.
11168 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11170 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11173 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11175 * window.el (get-lru-window, get-mru-window)
11176 (get-largest-window): Never return a minibuffer window.
11177 (display-buffer-pop-up-window): Fix a bug that could lead to
11178 reusing the minibuffer window.
11179 (display-buffer): Pass original specifier argument to
11180 display-buffer-function instead of the normalized one.
11181 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11183 2011-06-22 Leo Liu <sdl.web@gmail.com>
11185 * minibuffer.el (completing-read-function)
11186 (completing-read-default): Move from minibuf.c
11188 2011-06-22 Richard Stallman <rms@gnu.org>
11190 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11191 to Rmail even if not started by a special Rmail command.
11193 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11194 Copy the buffer currently showing just one message.
11196 2011-06-22 Roland Winkler <winkler@gnu.org>
11198 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11199 (bibtex-clean-entry): First delete the old key so that a
11200 customized algorithm for generating the new key does not get
11201 confused by the old key.
11202 (bibtex-url): Obey regexp of first step.
11203 (bibtex-search-entries): Do not use add-to-list with local
11206 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11208 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11209 stored a user name, then query for the password first, instead of
11210 waiting for SMTP to give an error message and the trying again.
11212 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11214 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11215 BUFFER in call-process.
11217 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11219 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11221 (smtpmail-try-auth-methods): Require user name and password from
11224 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11226 * window.el (display-buffer-default-specifiers)
11227 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11228 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11229 (split-window): Normalize SIDE argument (Bug#8916).
11231 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11232 (special-display-frame-alist, special-display-popup-frame):
11233 Remove duplicate declarations. These are now in window.el.
11235 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11237 * mail/smtpmail.el (smtpmail-via-smtp):
11238 Set :use-starttls-if-possible so that we always use STARTTLS if the
11239 server supports it. SMTP servers that support STARTTLS commonly
11242 * net/network-stream.el (network-stream-open-starttls): Support
11243 upgrading to STARTTLS always, even if we don't have built-in support.
11244 (open-network-stream): Add the :always-query-capabilities keyword.
11246 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11247 upgrades with `open-network-stream', and rely solely on
11248 auth-source for all credentials. Big changes throughout the file,
11250 (smtpmail-auth-credentials): Remove.
11251 (smtpmail-starttls-credentials): Remove.
11252 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11255 * net/network-stream.el (network-stream-open-starttls):
11256 Provide support for client certificates both for external and built-in
11258 (auth-source): Require.
11259 (open-network-stream): Document the :client-certificate keyword.
11260 (network-stream-certificate): Change cert-cert to cert and
11263 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
11265 * net/tramp-cache.el (top): Don't load the persistency file when
11266 "emacs -Q" has been called.
11268 2011-06-21 Tim Harper <timcharper@gmail.com>
11270 * term/ns-win.el (ns-initialize-window-system):
11271 Set application-specific `ApplePressAndHoldEnabled' system
11272 resource to NO as it is not yet supported by the NS port.
11274 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11276 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11277 (list-dynamic-libraries): ...not here.
11279 2011-06-21 Leo Liu <sdl.web@gmail.com>
11281 * subr.el (sha1): Implement sha1 using secure-hash.
11283 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11285 * window.el (display-buffer-alist): In default value do not
11286 enforce searching a window on any but the selected frame.
11287 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11288 (display-buffer-select-window): Remove function.
11289 (display-buffer-in-window): When a window on another frame gets
11290 reused, do not select it any more but just raise its frame if
11291 necessary (Bug#8851) and (Bug#8856).
11292 (display-buffer-normalize-options): Handle pop-up-frames related
11293 options more faithfully.
11294 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11295 window if it is on another frame.
11296 (display-buffer-alist, display-buffer-default-specifiers):
11297 Don't make new frame unsplittable by default.
11298 (display-buffer-normalize-argument): Fix doc-string typo and use
11299 'same-frame-other-window instead of 'other-window when associating
11300 with display-buffer-macro-specifiers.
11302 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11304 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11306 (5x5-mode-map, 5x5-mode-menu): Bind them.
11307 (5x5-draw-grid): Tweak the solver's rendering.
11309 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11311 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11312 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11314 2011-06-21 Drew Adams <drew.adams@oracle.com>
11316 * menu-bar.el: Use function variable instead of switch-to-buffer.
11317 (menu-bar-select-buffer-function): New variable.
11318 (menu-bar-update-buffers): Use it (bug#8876).
11320 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11322 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11325 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11327 * x-dnd.el (x-dnd-version-from-flags)
11328 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11329 and long as number (Bug#8899).
11330 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11332 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11334 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11335 (completion-try-completion, completion-all-completions): Compute the
11336 metadata argument if it's missing; make it optional (bug#8795).
11338 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11339 (widget-complete): Use new :completion-function property.
11340 (widget-completions-at-point): New function.
11341 (default): Use :completion-function instead of :complete.
11342 (widget-default-completions): Rename from widget-default-complete;
11344 (widget-string-complete, widget-file-complete, widget-color-complete):
11346 (file, symbol, function, variable, coding-system, color):
11347 * international/mule-cmds.el (default-input-method, charset)
11348 (language-info-custom-alist):
11349 * cus-edit.el (face): Use new property :completions.
11351 * progmodes/pascal.el (pascal-completions-at-point): New function.
11352 (pascal-mode): Use it.
11353 (pascal-mode-map): Use completion-at-point.
11354 (pascal-toggle-completions): Make obsolete.
11355 (pascal-complete-word, pascal-show-completions):
11356 * progmodes/octave-mod.el (octave-complete-symbol):
11357 Redefine as obsolete alias.
11358 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11359 Signal absence of completion info for old Octave,
11360 (inferior-octave-complete): Redefine as obsolete alias.
11361 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11362 (meta-completions-at-point): Rename from meta-complete-symbol and
11363 adapt it for use on completion-at-point-functions.
11364 (meta-common-mode): Use it.
11365 (meta-looking-at-backward, meta-match-buffer): Remove.
11366 (meta-complete-symbol): Redefine as obsolete alias.
11367 (meta-common-mode-map): Use completion-at-point.
11368 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11369 (makefile-mode-map): Use completion-at-point.
11370 (makefile-completions-at-point): Rename from makefile-complete and
11371 adapt it for use on completion-at-point-functions.
11372 (makefile-mode): Use it.
11373 (makefile-complete): Redefine as obsolete alias.
11375 2011-06-20 Deniz Dogan <deniz@dogan.se>
11377 * net/rcirc.el: Delete trailing whitespaces once and for all.
11379 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11381 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11383 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11385 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11387 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11389 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11391 * window.el (display-buffer-other-window-means-other-frame):
11392 Call display-buffer-normalize-alist.
11393 (display-buffer-normalize-specifiers-1): Rename to
11394 display-buffer-normalize-argument. New argument other-frame.
11396 (display-buffer-normalize-specifiers-2): Rename to
11397 display-buffer-normalize-options.
11398 (display-buffer-normalize-alist-1): New function.
11399 (display-buffer-normalize-specifiers-3): Rename to
11400 display-buffer-normalize-alist.
11401 Call display-buffer-normalize-alist-1.
11402 (display-buffer-normalize-options-inhibit): New variable.
11403 (display-buffer-normalize-specifiers): Rewrite calling
11404 display-buffer-normalize-alist,
11405 display-buffer-normalize-argument, and
11406 display-buffer-normalize-options. Don't call the latter if
11407 display-buffer-normalize-options-inhibit is non-nil.
11408 (frame-auto-delete): New option.
11409 (window-deletable-p): Use frame-auto-delete.
11410 (window-list-no-nils, window-state-ignored-parameters)
11411 (window-state-get-1, window-state-get, window-state-put-list)
11412 (window-state-put-1, window-state-put-2, window-state-put):
11414 (display-buffer-normalize-options): Move special-display-p group
11415 after pop-up-frame group (Bug#8851) and (Bug#8856).
11417 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11419 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11421 (rx-submatch-n): New function.
11424 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11427 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11429 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11431 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11432 anytime existing face settings are present (Bug#8889).
11434 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11435 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11436 Remove unused argument.
11438 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11440 * window.el (display-buffer-default-specifiers):
11441 Remove pop-up-frame. Add pop-up-window-min-height,
11442 pop-up-window-min-width, and another reuse-window specifier
11443 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11444 (display-buffer-normalize-specifiers-2):
11445 Handle split-height-threshold and split-width-threshold also when
11446 pop-up-windows is unset. Add a reuse-window specifier for the
11447 case popping up a new window fails.
11448 (special-display-popup-frame): Remove double quoting.
11449 (display-buffer-normalize-specifiers-1): Fix thinko.
11451 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11453 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11454 according to comint-completion-addsuffix.
11456 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11457 (pcomplete-suffix-list): Mark as obsolete.
11458 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11459 pcomplete-seen in the closure.
11460 (pcomplete-comint-setup): Setup completion-at-point as well.
11461 (pcomplete--entries): New function.
11462 (pcomplete--env-regexp): New var.
11463 (pcomplete-entries): Rewrite to work with partial-completion and
11464 without relying on pcomplete-suffix-list.
11465 (pcomplete-pare-list): Remove, unused.
11467 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11469 * window.el (display-buffer-alist): Set pop-up-window-min-height
11470 and pop-up-window-min-width in default value. Reported by
11471 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11472 other-window-means-other-frame.
11473 (display-buffer-macro-specifiers): Comment out entry for
11474 other-window specifier.
11475 (display-buffer-other-window-means-other-frame): New function.
11476 (display-buffer-normalize-specifiers-1): New arguments
11477 buffer-name and label. Treat other-window case specially.
11478 (display-buffer-normalize-specifiers-2): Treat other-window case
11480 (display-buffer-normalize-specifiers-3): New function.
11481 (display-buffer-normalize-specifiers):
11482 Call display-buffer-normalize-specifiers-3.
11484 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11486 * window.el (same-window-p): Fix two typos introduced when
11487 adding with-no-warnings.
11488 (display-buffer-normalize-specifiers-1): Don't check
11489 pop-up-frames for 'unset initialization.
11490 (display-buffer-normalize-specifiers-2): Major rewrite using
11491 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11492 (pop-up-frames, display-buffer-reuse-frames)
11493 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11494 Suggested by David Engster <deng@randomsample.de>.
11495 (even-window-heights): Initialize to 'unset.
11496 (display-buffer-alist-set): Handle new 'unset initializations.
11497 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11500 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11502 * window.el (display-buffer-normalize-specifiers-1):
11503 Respect current value of pop-up-frames for most reasonable values of
11504 second argument of display-buffer (Bug#8865).
11505 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11506 (switch-to-buffer-other-window-same-frame)
11507 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11509 (display-buffer): Don't check noninteractive when calling
11510 display-buffer-pop-up-frame.
11511 (display-buffer-pop-up-frame): Never pop up a frame in
11512 noninteractive mode (Bug#8857).
11513 (enlarge-window, shrink-window): Don't report an error when the
11514 window can't be resized as requested (Bug#8862).
11516 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11518 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11520 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11522 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11524 2011-06-15 Alan Mackenzie <acm@muc.de>
11526 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11527 for declarators, disable knr checking to speed up for normal files.
11528 2: Refactor, replacing a sequence of nested if forms by a cond form.
11530 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11532 * net/network-stream.el (open-network-stream): Add the keyword
11533 :always-query-capabilities for the case where you want to force a
11534 `plain' network connection, but the protocol still requires the
11535 capabilitiy command (i.e., SMTP and EHLO).
11537 * subr.el (process-live-p): Rename from `process-alive-p' for
11538 consistency with other `-live-p' functions.
11540 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11542 * window.el (same-window-buffer-names, same-window-regexps)
11543 (special-display-frame-alist, special-display-popup-frame)
11544 (special-display-function, special-display-buffer-names)
11545 (special-display-regexps, pop-up-frame-alist)
11546 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11547 (pop-up-windows, split-window-preferred-function)
11548 (split-height-threshold, split-width-threshold, even-window-heights)
11549 (display-buffer-mark-dedicated): Don't encourage the use of
11550 display-buffer-alist from Elisp code.
11552 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11554 * progmodes/python.el (python-mode): Derive from prog-mode.
11555 * progmodes/ps-mode.el (ps-mode):
11556 * progmodes/mixal-mode.el (mixal-mode):
11557 * progmodes/cfengine.el (cfengine-mode):
11558 * progmodes/ld-script.el (ld-script-mode): Likewise.
11560 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11562 * window.el (display-buffer-alist): Trim default value to avoid
11563 popping up a new frame (Bug#8857) or reusing an arbitrary window
11565 (display-buffer): Do not fall back on popping up a new frame in
11566 batch mode (Bug#8857).
11568 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11570 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11571 (custom-theme-summary): New function.
11572 (customize-themes): Use it.
11574 2011-06-13 Glenn Morris <rgm@gnu.org>
11576 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11578 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11580 * help.el (help-window): Remove variable.
11581 (help-window-point-marker, temp-buffer-max-height)
11582 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11583 (help-print-return-message): Don't set help-window.
11584 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11585 (help-window-setup-finish): Remove.
11586 (help-window-display-message, help-window-setup)
11587 (with-help-window): Major rewrite based on new
11588 display-buffer-window variable.
11590 * help-mode.el (help-mode-finish): Remove help-window related
11593 * view.el (view-exits-all-viewing-windows): Remove reference to
11594 view-return-to-alist in doc-string.
11595 (view-return-to-alist): Make obsolete.
11596 (view-buffer): Call pop-to-buffer-same-window and remove
11598 (view-buffer-other-window): Call pop-to-buffer-other-window and
11599 simplify code. Ignore second argument.
11600 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11601 simplify code. Ignore second argument.
11602 (view-return-to-alist-update): Make obsolete.
11603 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11604 Rewrite using quit-restore window parameters.
11605 (view-mode-exit): Rename second argument to EXIT-ONLY.
11606 Rewrite using quit-restore-window.
11607 (View-exit, View-exit-and-edit, View-leave, View-quit)
11608 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11609 appropriate arguments.
11610 (view-end-message): Use quit-restore window parameter.
11612 * window.el (display-buffer-function): Rewrite doc-string.
11613 (display-buffer-window, display-buffer-alist): New variables.
11614 (display-buffer-split-specifiers)
11615 (display-buffer-side-specifiers)
11616 (display-buffer-macro-specifiers): New constants.
11617 (display-buffer-even-window-sizes, display-buffer-set-height)
11618 (display-buffer-set-width, display-buffer-select-window)
11619 (display-buffer-in-window, display-buffer-reuse-window)
11620 (display-buffer-split-window-1, display-buffer-split-window)
11621 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11622 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11623 (display-buffer-in-side-window, normalize-buffer-to-display)
11624 (display-buffer-normalize-specifiers-1)
11625 (display-buffer-normalize-specifiers-2)
11626 (display-buffer-normalize-specifiers, display-buffer-frame):
11628 (display-buffer): Major rewrite.
11629 (display-buffer-other-window, display-buffer-other-frame)
11630 (pop-to-buffer, switch-to-buffer-other-window)
11631 (switch-to-buffer-other-frame): Rewrite.
11632 (display-buffer-same-window, display-buffer-same-frame)
11633 (display-buffer-same-frame-other-window)
11634 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11635 (pop-to-buffer-other-window)
11636 (pop-to-buffer-same-frame-other-window)
11637 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11638 (switch-to-buffer-other-window-same-frame): New functions.
11639 (same-window-p, special-display-p): Rewrite disabling warnings.
11641 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11642 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11644 (same-window-buffer-names, same-window-regexps)
11645 (special-display-frame-alist, special-display-popup-frame)
11646 (special-display-function, special-display-buffer-names)
11647 (special-display-regexps, pop-up-frame-alist)
11648 (pop-up-frame-function, split-window-preferred-function)
11649 (split-height-threshold, split-width-threshold)
11650 (even-window-heights): Make obsolete.
11652 2011-06-12 Glenn Morris <rgm@gnu.org>
11654 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11655 Misc simplifications.
11657 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11659 * window.el (window-safely-shrinkable-p): Restore function which
11660 was inadvertently removed in change from 2011-06-11. Declare as
11663 * calendar/calendar.el (calendar-generate-window):
11664 Use window-iso-combined-p instead of combination of one-window-p and
11665 window-safely-shrinkable-p.
11667 2011-06-12 Glenn Morris <rgm@gnu.org>
11669 * progmodes/fortran.el (fortran-mode-syntax-table):
11670 * progmodes/f90.el (f90-mode-syntax-table):
11671 Set % to punctuation. (Bug#8820)
11672 (f90-find-tag-default): Remove, no longer needed.
11674 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11676 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11678 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11680 * image.el (image-animated-p): Return animation delay in seconds.
11681 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11682 (image-animate-timeout): Remove DELAY argument. Don't assume
11683 every subimage has the same delay; get it from image-animated-p.
11684 (image-animate): Caller changed.
11686 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11688 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11689 to ignored backtrace functions.
11691 2011-06-11 Glenn Morris <rgm@gnu.org>
11693 * calendar/appt.el (appt-disp-window-function): Doc fix.
11694 (appt-check): Handle overlapping appointments. (Bug#8337)
11696 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11698 * window.el (window-tree-1, window-tree): New functions, moving
11699 the latter to window.el.
11700 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11701 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11702 (bw-refresh-edges): Remove.
11703 (balance-windows-1, balance-windows-2): New functions.
11704 (balance-windows): Rewrite in terms of window tree functions,
11705 balance-windows-1 and balance-windows-2.
11706 (bw-adjust-window): Remove.
11707 (balance-windows-area-adjust): New function with functionality of
11708 bw-adjust-window but using resize-window.
11709 (set-window-text-height): Rewrite doc-string.
11710 Use normalize-live-window and resize-window.
11711 (enlarge-window-horizontally, shrink-window-horizontally):
11712 Rename argument to DELTA.
11713 (window-buffer-height): New function.
11714 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11715 Rewrite using new window resize routines.
11716 (kill-buffer-and-window, mouse-autoselect-window-select):
11717 Use ignore-errors instead of condition-case.
11718 (quit-window): Call delete-frame instead of delete-windows-on
11719 for the only buffer on frame.
11721 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11723 * loadup.el (top-level): Load window before files for the sake
11724 of replace-buffer-in-windows.
11726 * files.el (read-buffer-to-switch)
11727 (switch-to-buffer-other-window)
11728 (switch-to-buffer-other-frame, display-buffer-other-frame):
11731 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11732 (previous-buffer): Move to window.el.
11734 * bindings.el (unbury-buffer): Move to window.el.
11736 * window.el (delete-other-windows-vertically): Move after
11737 definition of delete-other-windows.
11738 (other-window, delete-windows-on, replace-buffer-in-windows):
11739 Move here from window.c.
11740 (record-window-buffer, unrecord-window-buffer)
11741 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11742 (switch-to-next-buffer): New functions.
11743 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11744 from simple.el. Call switch-to-next-buffer.
11745 (previous-buffer): Move here from simple.el.
11746 Call switch-to-prev-buffer.
11747 (bury-buffer): Move here from buffer.c. Switch to previous
11748 buffer when window cannot be deleted.
11749 (unbury-buffer): Move here from bindings.el.
11750 (ctl-x-map): Move binding for other-window from window.c to
11752 (read-buffer-to-switch, switch-to-buffer-other-window)
11753 (switch-to-buffer-other-frame): Move here from files.el.
11754 (normalize-buffer-to-switch-to): New functions.
11755 (switch-to-buffer): Move here from buffer.c.
11756 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11758 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11760 * window.el (window-min-height, window-min-width): Move here
11761 from window.c. Add defcustoms and rewrite doc-strings.
11762 (resize-mini-window, resize-window): New functions.
11763 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11764 Move here from window.c.
11765 (maximize-window, minimize-window): New functions.
11766 (delete-window, delete-other-windows, split-window): Move here
11768 (window-split-min-size): New function.
11769 (split-window-keep-point): Mention split-window-above-each-other
11770 instead of split-window-vertically.
11771 (split-window-above-each-other, split-window-vertically):
11772 Rename split-window-vertically to split-window-above-each-other
11773 and provide defalias for old definition.
11774 (split-window-side-by-side, split-window-horizontally):
11775 Rename split-window-horizontally to split-window-side-by-side
11776 and provide defalias for the old definition.
11777 (ctl-x-map): Move bindings for delete-window,
11778 delete-other-windows and enlarge-window here from window.c.
11779 Replace bindings for split-window-vertically and
11780 split-window-horizontally by bindings for
11781 split-window-above-each-other and split-window-side-by-side.
11783 * cus-start.el (all): Remove entries for window-min-height and
11784 window-min-width. Add entries for window-splits and
11787 2011-06-09 Glenn Morris <rgm@gnu.org>
11789 * calendar/appt.el (appt-mode-line): New function.
11790 (appt-check, appt-disp-window): Use it.
11792 * files.el (hack-one-local-variable-eval-safep):
11793 Allow minor-modes with explicit +/-1 arguments.
11795 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11797 * term/xterm.el (xterm): Add defgroup.
11798 (xterm-extra-capabilities): Add defcustom to supply known xterm
11799 capabilities, skip querying them, or query them (default).
11800 (terminal-init-xterm): Use it.
11801 (terminal-init-xterm-modify-other-keys): New function to set up
11802 modifyOtherKeys support to simplify `terminal-init-xterm'.
11804 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11806 * window.el (resize-window-reset, resize-window-reset-1)
11807 (resize-subwindows-skip-p, resize-subwindows-normal)
11808 (resize-subwindows, resize-other-windows, resize-this-window)
11809 (resize-root-window, resize-root-window-vertically)
11810 (window-deletable-p, window-or-subwindow-p)
11811 (frame-root-window-p): New functions.
11813 2011-06-09 Glenn Morris <rgm@gnu.org>
11815 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11816 (ange-ftp-get-files): Use it.
11818 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11820 * mail/sendmail.el (mail-recover-1, mail-recover):
11821 * files.el (recover-file, recover-session):
11822 Handle dired-listing-switches not being just a single short option.
11824 2011-06-09 Glenn Morris <rgm@gnu.org>
11826 * calendar/appt.el (appt-display-message, appt-disp-window):
11827 Handle lists of appointments.
11829 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11831 * window.el (one-window-p): Move down in code.
11832 Rewrite doc-string.
11833 (window-current-scroll-bars): Rewrite doc-string.
11834 Normalize live window argument.
11835 (walk-windows, get-window-with-predicate, count-windows):
11836 Rewrite doc-string. Use window-list-1.
11837 (window-in-direction-2, window-in-direction, get-mru-window):
11840 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11842 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11843 Doc fix (Bug#8713).
11845 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11847 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11849 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11851 * loadhist.el (unload-feature-special-hooks):
11852 Add `comint-output-filter-functions'.
11854 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11856 * calendar/appt.el (appt-check): Move some initializations into the let.
11858 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11860 * window.el (window-height): Defalias to window-total-height.
11861 (window-width): Defalias to window-body-width.
11863 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11865 * image-mode.el (image-toggle-animation): New command.
11866 (image-mode-map): Bind it to RET.
11867 (image-mode): Update message.
11868 (image-toggle-display-image): Avoid a spurious cache flush.
11869 (image-transform-rotation): Doc fix.
11870 (image-transform-properties): Return quickly in the normal case.
11871 (image-animate-loop): Rename from image-animate-max-time.
11873 * image.el (image-animate-max-time): Move to image-mode.el.
11874 (create-animated-image): Remove unnecessary function.
11875 (image-animate): Rename from image-animate-start. New arg.
11876 (image-animate-stop): Remove; just use image-animate-timer.
11877 (image-animate-timer): Use car-safe.
11878 (image-animate-timeout): Rename argument.
11880 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11882 * window.el (get-lru-window, get-largest-window): Move here from
11883 window.c. Rename first argument to ALL-FRAMES.
11884 Rephrase doc-strings.
11885 (get-buffer-window-list): Rewrite using window-list-1.
11886 Rephrase doc-string.
11887 (window-safe-min-height, window-safe-min-width): New constants.
11888 (window-size-ignore, window-min-size, window-min-size-1)
11889 (window-sizable, window-sizable-p, window-size-fixed-1)
11890 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11891 (window-max-delta-1, window-max-delta, window-resizable)
11892 (window-resizable-p, window-total-height, window-total-width)
11893 (window-body-width): New functions.
11894 (window-full-height-p, window-full-width-p): Rewrite using
11896 (window-body-height): Rewrite using window-body-size.
11898 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11900 * window.el (window-right, window-left, window-child)
11901 (window-child-count, window-last-child, window-any-p)
11902 (normalize-live-buffer, normalize-live-frame)
11903 (normalize-any-window, normalize-live-window)
11904 (window-iso-combination-p, window-iso-combined-p)
11905 (window-iso-combinations)
11906 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11907 (windows-with-parameter, window-with-parameter)
11908 (window-atom-root, make-window-atom, window-atom-check-1)
11909 (window-atom-check, window-side-check, window-check):
11911 (ignore-window-parameters, window-sides, window-sides-vertical)
11912 (window-sides-slots): New variables.
11913 (window-size-fixed): Move down in code. Minor doc-string fix.
11915 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11917 * comint.el (comint-dynamic-complete-as-filename)
11918 (comint-dynamic-complete-filename): Correctly call
11919 completion-in-region.
11921 2011-06-05 Deniz Dogan <deniz@dogan.se>
11923 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11926 2011-06-05 Deniz Dogan <deniz@dogan.se>
11928 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11929 (rcirc): Use it to prompt for encryption.
11931 2011-06-05 Roland Winkler <winkler@gnu.org>
11933 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11934 (bibtex-search-entries): New command bound to C-c C-a.
11935 (bibtex-display-entries): New function.
11937 2011-06-05 Roland Winkler <winkler@gnu.org>
11939 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11940 (bibtex-insert-kill): After yanking insert newline if necessary.
11941 (bibtex-initialize): Call bibtex-string-files-init only once.
11942 (bibtex-mode): Do not call easy-menu-add.
11943 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11944 (bibtex-yank): Set arg properly if nil.
11946 2011-06-05 Roland Winkler <winkler@gnu.org>
11948 * textmodes/bibtex.el (bibtex-search-entry-globally):
11950 (bibtex-search-entry): Use it.
11952 2011-06-05 Roland Winkler <winkler@gnu.org>
11954 * textmodes/bibtex.el (bibtex-entry-format): New option
11956 (bibtex-format-entry, bibtex-reformat): Honor this option.
11957 (bibtex-parse-entry): Return fields in proper order.
11959 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11961 * doc-view.el (doc-view-remove-if): Move computation of result out
11962 of `dolist' to silence misleading lexical-binding warning.
11964 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11966 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11967 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11969 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11971 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11974 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11976 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11977 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11978 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11979 (tramp-parse-putty):
11980 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11981 (tramp-completion-function-alist-ssh)
11982 (tramp-completion-function-alist-telnet)
11983 (tramp-completion-function-alist-su)
11984 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11987 * net/tramp-ftp.el:
11989 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11990 load "tramp.el" `tramp-set-completion-function'.
11992 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11994 * shell.el: Require and use pcomplete.
11995 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11996 (shell-completion-vars): Set pcomplete-default-completion-function.
11998 2011-06-04 Deniz Dogan <deniz@dogan.se>
12000 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12003 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12005 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12007 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12009 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12010 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12011 * vc/log-view.el (log-view-beginning-of-defun):
12012 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12013 (smerge-refine-forward, smerge-refine-chopup-region):
12014 Silence warning for unused `dotimes' counter variables.
12016 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12018 * net/tramp.el (tramp-with-progress-reporter): Rename from
12019 with-progress-reporter. Use `declare'.
12020 * net/tramp-smb.el:
12022 * net/tramp-gvfs.el: Update all uses.
12024 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12026 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12027 buffer isn't killed before making it current.
12029 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12031 Silence various byte-compiler warnings.
12032 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12033 `access-type' and new obsolescence format.
12034 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12036 (byte-compile-check-variable): New `access-type' argument.
12037 Only warn if the access-type is obsolete.
12038 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12039 (byte-compile-variable-set): Adjust callers.
12040 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12041 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12042 setting it as obsolete.
12043 * simple.el (minibuffer-completing-symbol):
12044 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12045 access as obsolete.
12046 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12048 * international/quail.el (quail-mouse-choose-completion): Remove unused
12049 code referring to obsolete var.
12050 (quail-choose-completion-string): Remove.
12051 * server.el (server-clients-with, server-kill-buffer-query-function)
12052 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12053 * proced.el (proced-send-signal):
12054 * emacs-lisp/lisp.el (lisp-complete-symbol):
12055 Replace completion-annotate-function with completion-extra-properties.
12057 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12059 * simple.el (goto-line): Use read-number.
12060 (overriding-map-is-bound): Remove.
12061 (saved-overriding-map): Change default.
12062 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12063 Take the map as argument.
12064 (universal-argument, negative-argument, digit-argument): Use it.
12065 (restore-overriding-map): Adjust.
12066 (do-auto-fill): Use fill-forward-paragraph.
12067 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12069 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12070 (minibuffer-inactive-mode): New major mode.
12071 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12072 the *Messages* buffer" hack.
12073 (mouse-popup-menubar): Don't burp if the event is a normal key.
12075 Miscellaneous tweaks.
12076 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12077 lexical scoping as in subr.el's dolist and dotimes.
12078 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12079 Silence compiler warning.
12080 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12081 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12082 * international/ccl.el (ccl-compile): Trivial simplification.
12083 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12084 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12085 `printflag' argument.
12086 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12087 Purecopy the whole obsolescence data.
12089 2011-06-01 Leo Liu <sdl.web@gmail.com>
12091 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12092 improve doc-string as suggested by Marco Pessotto
12093 <melmothx@gmail.com>.
12094 (rcirc-print): Fix last change.
12096 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12098 * minibuffer.el (complete-with-action): Return nil for the metadata and
12099 boundaries of non-functional tables.
12100 (completion-table-dynamic): Return nil for the metadata.
12101 (completion-table-with-terminator): Add default case, using
12102 complete-with-action.
12103 (completion--metadata): New function.
12104 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12105 to try and avoid pathological performance problems.
12106 (completion--embedded-envvar-table): Return `category' metadata.
12108 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12110 * subr.el (process-alive-p): New tiny convenience function.
12112 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12114 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12115 content but also its previous major mode.
12117 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12119 * emacs-lisp/debug.el (debug): Restore the previous content of the
12120 *Backtrace* buffer when we exit with C-M-c.
12122 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12124 * minibuffer.el: Add metadata method to completion tables.
12125 (completion-category-overrides): New defcustom.
12126 (completion-metadata, completion--field-metadata)
12127 (completion-metadata-get, completion--styles)
12128 (completion--cycle-threshold): New functions.
12129 (completion-try-completion, completion-all-completions):
12130 Add `metadata' argument to choose completion-styles.
12131 (completion--do-completion): Use metadata to choose cycling.
12132 (completion-all-sorted-completions): Use metadata for sorting.
12133 Remove :completion-cycle-penalty which is not needed any more.
12134 (completion--try-word-completion): Add `metadata' argument.
12135 (minibuffer-completion-help): Check metadata for annotation function
12137 (completion-file-name-table): Return `category' metadata.
12138 (minibuffer-completing-file-name): Make obsolete.
12139 * simple.el (minibuffer-completing-symbol): Make obsolete.
12140 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12141 completion-try-completion.
12143 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12145 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12147 2011-05-30 Leo Liu <sdl.web@gmail.com>
12149 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12150 (rcirc-print): Decode all incoming messages (bug#8744).
12151 (rcirc-decode-coding-system): Allow value nil for automatic coding
12154 2011-06-01 Glenn Morris <rgm@gnu.org>
12156 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12158 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12160 * image.el (image-animate-max-time): Allow nil and t values.
12162 (create-animated-image): Doc fix.
12163 (image-animate-start): Remove second arg; just use
12164 image-animate-max-time.
12165 (image-animate-timeout): Doc fix. Args changed.
12167 * image-mode.el (image-toggle-display-image): Ensure that the
12168 image spec passed to the animate timer is the same object as in
12169 the buffer's display property (Bug#6981).
12170 (image-transform-properties): Doc fix.
12172 * image.el (image-animate-max-time): Default to nil.
12174 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12176 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12177 entire buffer list (Bug#8184).
12179 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12181 * image.el (imagemagick-types-inhibit)
12182 (imagemagick-register-types): Doc fix.
12184 2011-05-29 Deniz Dogan <deniz@dogan.se>
12186 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12189 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12191 * select.el: Don't perform clipboard-manager saving in hooks;
12192 leave the hooks empty.
12194 2011-05-28 Leo Liu <sdl.web@gmail.com>
12196 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12197 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12198 (occur-edit-mode): New major mode (Bug#8463).
12199 (occur-after-change-function): New function.
12200 (occur-engine): Give Occur tags a read-only property.
12202 2011-05-28 Kevin Ryde <user42@zip.com.au>
12204 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12206 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12208 * bindings.el (help-echo): Make the initial non-indicator dash
12209 empty on graphical terminals (Bug#7295).
12211 * files.el (auto-mode-alist): Move config rule after the
12212 in-stripping one (Bug#8547).
12214 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12216 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12217 setting (Bug#8740).
12219 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12221 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12222 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12225 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12227 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12229 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12231 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12232 (hs-hide-block-at-point, hs-find-block-beginning)
12233 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12236 2011-05-28 Glenn Morris <rgm@gnu.org>
12238 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12240 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12242 * help-fns.el (describe-function-1): If the function is a derived
12243 major mode, print the parent mode.
12245 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12246 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12248 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12250 * minibuffer.el (completion--capf-wrapper): Check applicability before
12251 returning non-nil for non-exclusive completion data.
12252 * progmodes/etags.el (tags-completion-at-point-function):
12253 * info-look.el (info-lookup-completions-at-point): Mark as
12255 (info-complete): Adjust accordingly.
12257 * info-look.el: Convert to lexical-binding and completion-at-point.
12258 (info-lookup-completions-at-point): New function.
12259 (info-complete): Use it and completion-in-region.
12261 2011-05-28 Drew Adams <drew.adams@oracle.com>
12263 * isearch.el: Let M-e start with point at the first mismatched char.
12264 (isearch-fail-pos): New function.
12265 (isearch-edit-string): Use it.
12267 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12269 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12271 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12273 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12274 traversal functions for avl-trees.
12275 (avl-tree--stack): New struct.
12276 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12277 (avl-tree-enter): Add optional `updatefun' arg.
12278 (avl-tree--do-enter): Add optional `updatefun' arg.
12279 Change return value.
12280 (avl-tree-delete): Add optional `test' and `nilflag' args.
12281 (avl-tree--do-delete): Add `test' and `nilflag' args.
12282 Change return value.
12283 (avl-tree-member): Add optional `nilflag'
12284 (avl-tree-member-p): New function.
12285 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12286 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12287 (avl-tree-stack-empty-p): New functions.
12289 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12290 avl-tree--del-balance1 and make it work both ways.
12291 (avl-tree--del-balance2): Remove.
12292 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12293 make it work both ways.
12294 (avl-tree--enter-balance2): Remove.
12295 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12297 (avl-tree--mapc, avl-tree-map): Add direction argument.
12299 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12301 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12303 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12305 * select.el: Support clipboard managers with built-in function
12306 x-clipboard-manager-save, via delete-frame-functions and
12308 (xselect-convert-to-targets): Add MULTIPLE target to list.
12309 (xselect-convert-to-save-targets): New function.
12311 2011-05-27 Kenichi Handa <handa@m17n.org>
12313 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12314 let-binding rfc2047-encode-encoded-words to nil.
12316 2011-05-27 Glenn Morris <rgm@gnu.org>
12318 * mail/emacsbug.el: Don't require url-util.
12320 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12322 * files.el (set-auto-mode):
12323 Also respect mode: entries at the end of the file. (Bug#8586)
12325 2011-05-26 Glenn Morris <rgm@gnu.org>
12327 * files.el (hack-local-variables-prop-line, hack-local-variables):
12328 Downcase mode names, as seems to be traditional.
12329 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12331 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12332 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12334 2011-05-25 Julien Danjou <julien@danjou.info>
12336 * textmodes/rst.el (rst-define-level-faces): Do not define face
12337 symbol if it is already defined.
12339 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12341 * play/5x5.el (5x5-new-game, 5x5-randomize):
12342 Reset 5x5-solver-output to nil when a new grid is cast.
12343 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12344 these debugging traces, as defmacro breaks the compiled code.
12346 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12348 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12350 2011-05-24 Leo Liu <sdl.web@gmail.com>
12352 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12353 (vc-bzr-sha1): Adapt.
12355 * sha1.el: Remove. Function `sha1' is now builtin.
12357 * bindings.el: Provide sha1 feature.
12359 2011-05-24 Kenichi Handa <handa@m17n.org>
12361 * mail/sendmail.el: Require `rfc2047'.
12362 (mail-insert-from-field): Do not perform RFC2047 encoding.
12363 (mail-encode-header): New function.
12364 (sendmail-send-it): Set buffer-file-coding-system of the work
12365 buffer to the return value of select-message-coding-system.
12366 Call mail-encode-header.
12368 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12370 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12372 * mail/supercite.el (sc-default-cite-frame):
12373 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12375 2011-05-24 Glenn Morris <rgm@gnu.org>
12377 * progmodes/python.el (brm-menu): Declare.
12379 * emulation/viper.el (viper-set-hooks): Declare.
12381 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12382 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12383 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12384 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12385 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12386 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12388 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12390 Add an :exit-function for completion-at-point.
12392 * minibuffer.el (completion--done): New fun.
12393 (completion--do-completion): Use it. New arg `expect-exact'.
12394 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12395 since completion--do-completion does it for us now.
12396 (minibuffer-force-complete): Use completion--done and
12397 completion--replace. Handle sole-completion case with more care.
12398 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12399 (completion-extra-properties): New var.
12400 (completion-annotate-function): Make obsolete.
12401 (minibuffer-completion-help): Adjust accordingly.
12402 Use completion-list-insert-choice-function.
12403 (completion-at-point, completion-help-at-point):
12404 Bind completion-extra-properties.
12405 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12406 * simple.el (completion-list-insert-choice-function): New var.
12407 (completion-setup-function): Preserve it.
12408 (choose-completion): Pay attention to it, shuffle the code a bit.
12409 (choose-completion-string): New arg `insert-function'.
12411 * textmodes/bibtex.el: Convert to lexical binding.
12412 (bibtex-mode-map): Use completion-at-point.
12413 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12414 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12415 (bibtex-complete): Define as obsolete alias.
12416 (bibtex-complete-internal): Remove.
12417 (bibtex-format-entry): Remove unused sub-group in regexp.
12418 * shell.el (shell--command-completion-data)
12419 (shell-environment-variable-completion):
12420 * pcomplete.el (pcomplete-completions-at-point):
12421 * comint.el (comint--complete-file-name-data): Use :exit-function
12422 instead of completion-table-with-terminator so it also works for
12425 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12427 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12429 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12432 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12434 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12436 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12437 customization variable and implement: If non-nil, auto-fill will
12438 be inhibited while on topic's header line.
12440 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12442 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12443 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12444 always have a solution in grid size = 5 cases.
12445 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12446 (5x5-solver-output, 5x5-log-buffer): New vars.
12447 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12448 Make these variables buffer local to achieve 5x5 multi-session-ness.
12449 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12450 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12451 (5x5-solve-suggest): New funs.
12452 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12453 randomize a grid so that we ensure that there is always a solution.
12454 (5x5-make-random-grid): Allow other movement than flipping.
12456 2011-05-23 Kevin Ryde <user42@zip.com.au>
12458 * emacs-lisp/advice.el (ad-read-advised-function):
12459 Use `function-called-at-point' as the default, if it has
12460 advice and passes PREDICATE.
12462 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12464 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12465 byte-compile-lambda if it's actually a lambda.
12467 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12468 Fix function quoting. Use backquote better.
12470 2011-05-22 Yuanle Song <sylecn@gmail.com>
12472 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12473 matching (Bug#8516).
12475 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12477 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12478 different face (Bug#8178).
12480 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12482 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12483 defface (Bug#8144).
12485 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12487 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12488 funcall as well (bug#8712). Warn when performing those conversions.
12489 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12491 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12493 2011-05-22 Glenn Morris <rgm@gnu.org>
12495 * files.el (hack-local-variables-prop-line): Small simplifications.
12496 (hack-local-variables, hack-local-variables-prop-line):
12497 If MODE-ONLY, return the mode, rather than just `t'.
12499 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12501 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12503 2011-05-21 Glenn Morris <rgm@gnu.org>
12505 * files.el (hack-local-variables-prop-line, hack-local-variables):
12506 If only interested in the mode, don't bother doing the other stuff.
12508 * image-mode.el (image-after-revert-hook):
12509 Redraw all frames on which the image is visible. (Bug#8567)
12511 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12513 * wid-edit.el (widget-checklist-match-inline):
12514 Fix 2011-04-19 change. (Bug#8649)
12516 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12518 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12519 Also allow singlespace after single-letter capitals followed by a dot.
12521 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12522 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12524 2011-05-20 Nix <nix@esperi.org.uk>
12526 * files.el (basic-save-buffer-2):
12527 Fix handling of break-hardlink-on-save with non-existent files.
12529 2011-05-19 Deniz Dogan <deniz@dogan.se>
12531 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12532 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12534 2011-05-19 Glenn Morris <rgm@gnu.org>
12536 * progmodes/f90.el (f90-type-def-re):
12537 Handle "type, bind(c)". (Bug#8691)
12539 * emacs-lisp/autoload.el (batch-update-autoloads):
12540 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12542 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12544 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12545 property for the correct connection in case of multihops.
12547 2011-05-18 Glenn Morris <rgm@gnu.org>
12549 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12550 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12552 Rationalize calendar handling of day and month abbrev-arrays.
12553 * calendar/calendar.el (calendar-customized-p): New function.
12554 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12555 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12557 (calendar-abbrev-length, calendar-day-abbrev-array)
12558 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12559 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12560 Elements may no longer be nil.
12561 (calendar-day-name, calendar-month-name):
12562 Update for changed nature of abbrev arrays.
12563 * calendar/diary-lib.el (diary-name-pattern):
12564 Update for changed nature of abbrev arrays.
12565 (diary-mark-entries-1): Update calendar-make-alist calls.
12566 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12567 * calendar/cal-html.el (cal-html-day-abbrev-array):
12568 Simply inherit from calendar-day-abbrev-array.
12570 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12572 * progmodes/grep.el (grep-mode): Disable default
12573 compilation-directory-matcher setting (bug#8684).
12575 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12577 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12578 instead of "head" and "tail". There were problems with SunOS 5.9,
12579 and it performs better.
12581 2011-05-17 Glenn Morris <rgm@gnu.org>
12583 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12585 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12586 Replace obsolete function.
12588 * shell.el (pcomplete-parse-arguments-function): Declare.
12590 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12591 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12592 (appt-check): Doc fixes.
12593 (appt-disp-window-function, appt-delete-window-function):
12594 Remove needless special case in custom :type.
12595 (appt-display-count): Default to 0, not nil.
12596 (appt-check): Reset appt-display-count to 0, not nil.
12598 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12600 * progmodes/python.el (python-font-lock-keywords):
12601 Add the Python 3.X keyword "nonlocal" (bug#8639).
12603 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12605 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12607 2011-05-16 Kevin Ryde <user42@zip.com.au>
12609 * info-look.el (makefile-automake-mode): New setups, looking in
12610 automake manual, then makefile-mode.
12611 (makefile-mode): Remove automake manual, have it just in
12612 makefile-automake-mode since there's various things different or
12613 not relevant to plain make.
12614 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12615 believe a hypothetical automake-mode would go to makefile-mode,
12616 not the other way around.
12618 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12620 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12621 hunk-end tags (Bug#8672).
12623 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12624 vc-annotate-show-diff-revision-at-line (Bug#8671).
12626 2011-05-14 Glenn Morris <rgm@gnu.org>
12628 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12629 in the middle of an existing one with multiple authors. (Bug#8645)
12630 (change-log-font-lock-keywords): Also handle multiple author lines
12631 with leading tabs. (Bug#8644)
12633 * calendar/appt.el (appt-check): Rename some local variables.
12634 Some simplification/reordering.
12636 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12637 (feedmail-sendmail-f-doesnt-sell-me-out)
12638 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12639 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12640 (feedmail-queue-runner-message-sender): Set :version.
12641 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12642 (bbdb-dwim-net-address, vm-mail): Declare.
12643 (feedmail-binmail-gnulinuxish-template):
12644 Rename from feedmail-binmail-linuxish-template.
12645 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12646 Use insert-buffer-substring.
12648 2011-05-14 Bill Carpenter <bill@carpenter.org>
12650 * mail/feedmail.el (feedmail-patch-level): Increase.
12651 (feedmail-debug): New custom group.
12652 (feedmail-confirm-outgoing-timeout)
12653 (feedmail-sendmail-f-doesnt-sell-me-out)
12654 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12655 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12656 (feedmail-sender-line, feedmail-from-line)
12657 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12658 (feedmail-spray-this-address)
12659 (feedmail-spray-address-fiddle-plex-list)
12660 (feedmail-queue-use-send-time-for-date)
12661 (feedmail-queue-use-send-time-for-message-id)
12662 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12663 (feedmail-buffer-eating-function):
12665 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12666 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12667 (feedmail-message-action-scroll-down): New functions.
12668 (feedmail-queue-directory, feedmail-queue-draft-directory):
12669 Use expand-file-name.
12670 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12671 Remove C-v help entry.
12672 (feedmail-queue-buffer-file-name): New variable.
12673 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12674 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12675 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12676 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12677 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12678 (feedmail-message-action-toggle-spray)
12679 (feedmail-run-the-queue-no-prompts)
12680 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12681 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12682 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12683 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12684 (feedmail-envelope-deducer, feedmail-fiddle-from)
12685 (feedmail-fiddle-sender, feedmail-default-date-generator)
12686 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12687 (feedmail-fiddle-spray-address)
12688 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12689 (feedmail-fiddle-list-of-fiddle-plexes)
12690 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12691 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12692 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12693 Change default. Doc fix.
12694 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12695 (feedmail-binmail-linuxish-template): New constant.
12696 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12697 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12698 (feedmail-send-it): Add debug call.
12699 Use feedmail-queue-buffer-file-name, and
12700 feedmail-send-it-immediately-wrapper.
12701 (feedmail-message-action-send): Add debug call.
12702 Use feedmail-send-it-immediately-wrapper.
12703 (feedmail-queue-express-to-queue): Add debug call.
12704 Run feedmail-queue-express-hook.
12705 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12706 (feedmail-message-action-help-blat):
12707 Rename from feedmail-queue-send-edit-prompt-help-first.
12708 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12709 Check line-endings. Handle errors better.
12710 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12711 Doc fix. Add debug call.
12712 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12713 Use feedmail-queue-send-edit-prompt-inner.
12714 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12715 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12716 from feedmail-queue-send-edit-prompt.
12717 (feedmail-queue-send-edit-prompt-help)
12718 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12719 (feedmail-tidy-up-slug): Add debug call.
12720 Respect feedmail-queue-slug-suspect-regexp.
12721 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12722 (feedmail-dump-message-to-queue): Add debug call.
12723 Expand queue-directory.
12724 (feedmail-dump-message-to-queue): Change message slightly.
12725 Use feedmail-say-chatter.
12726 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12727 (feedmail-send-it-immediately-wrapper): New function.
12728 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12729 Insert empty string rather than newline. Handle full-frame case.
12730 Use catch/throw. Use feedmail-say-chatter.
12731 (feedmail-fiddle-from): Try mail-host-address.
12732 (feedmail-default-message-id-generator): Doc fix.
12733 Bind system-time-locale. Handle missing end.
12734 (feedmail-fiddle-x-mailer): Add debug call.
12735 Handle feedmail-x-mailer-line being nil.
12736 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12737 Add debug call. Use buffer-substring-no-properties.
12738 (feedmail-say-debug, feedmail-say-chatter): New functions.
12739 (feedmail-find-eoh): Give an explicit error.
12741 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12743 * net/newst-treeview.el (newsticker-treeview-face): Change default
12744 family from helvetica to sans.
12745 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12746 etc/images/newsticker.
12748 * net/newst-reader.el (newsticker-feed-face): Change default
12749 family from helvetica to sans.
12751 * net/newst-plainview.el (newsticker-new-item-face)
12752 (newsticker-old-item-face, newsticker-immortal-item-face)
12753 (newsticker-obsolete-item-face, newsticker-date-face)
12754 (newsticker-statistics-face): Change default family from
12756 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12757 etc/images/newsticker.
12759 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12760 (newsticker--process-auto-mark-filter-match): Tell user about
12763 2011-05-13 Didier Verna <didier@xemacs.org>
12765 Common Lisp indentation improvements on defmethod and lambda-lists.
12766 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12768 (lisp-lambda-list-keyword-parameter-indentation)
12769 (lisp-lambda-list-keyword-parameter-alignment)
12770 (lisp-lambda-list-keyword-alignment): New customizable user options.
12771 (lisp-indent-defun-method): Improve docstring.
12772 (extended-loop-p): Fix comment.
12773 (lisp-indent-lambda-list-keywords-regexp): New variable.
12774 (lisp-indent-lambda-list): New function.
12775 (lisp-indent-259): Use it.
12776 (lisp-indent-defmethod): Support for more than one
12777 method qualifier and properly indent methods lambda-lists.
12778 (defgeneric): Provide a missing common-lisp-indent-function property.
12780 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12782 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12783 bounds for the empty string (bug#8667).
12785 2011-05-13 Glenn Morris <rgm@gnu.org>
12787 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12789 * mail/sendmail.el (sendmail-program): Try executable-find first.
12790 (sendmail-send-it): `sendmail-program' cannot be unbound.
12792 * calendar/appt.el (appt-make-list): Simplify.
12793 (appt-time-msg-list): Doc fix.
12794 (appt-check): Change mode-line message at the time of the appointment.
12796 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12798 * progmodes/ld-script.el (ld-script-keywords)
12799 (ld-script-builtins): Update keywords list.
12801 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12803 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12805 * shell.el (shell-completion-vars): New function.
12807 * simple.el (read-shell-command): Use it.
12808 (blink-matching-open): No need for " [...]" in minibuffer-message.
12810 2011-05-12 Glenn Morris <rgm@gnu.org>
12812 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12813 (appt-check): Simplify.
12815 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12817 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12818 literal "/dev/null".
12820 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12822 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12825 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12827 * progmodes/which-func.el (which-function):
12828 Use add-log-current-defun instead of add-log-current-defun-function,
12829 which might not be defined (Bug#8260).
12831 2011-05-12 Glenn Morris <rgm@gnu.org>
12833 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12834 Let byte-compile-initial-macro-environment always take precedence.
12836 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12838 * net/rcirc.el: Add support for SSL/TLS connections.
12839 (rcirc-server-alist): New field `encryption'.
12840 (rcirc): Check `encryption' settings.
12841 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12842 Merge make-local-variable into `set'.
12843 (rcirc--connection-open-p): New function.
12844 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12845 the process is not a network process (e.g. running gnutls-cli).
12846 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12847 Make rcirc-(en|de)code-coding-system local here.
12848 (rcirc-mode): Merge make-local-variable into `set'.
12849 (rcirc-parent-buffer): Make permanent buffer-local.
12850 (rcirc-multiline-minor-mode): Don't do it here.
12851 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12852 there's no server buffer.
12854 2011-05-11 Glenn Morris <rgm@gnu.org>
12856 * newcomment.el (comment-kill): Prefix "unused" local.
12858 * term/w32console.el (get-screen-color): Declare.
12860 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12861 Handle symbol elements of byte-compile-initial-macro-environment.
12863 2011-05-10 Leo Liu <sdl.web@gmail.com>
12865 * bookmark.el (bookmark-bmenu-mode-map):
12866 Bind bookmark-bmenu-search to `/'.
12868 * mail/footnote.el: Convert to utf-8 encoding.
12869 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12870 (Footnote-unicode): New function.
12871 (footnote-style-alist): Add unicode style to the list.
12872 (footnote-style): Doc fix.
12874 2011-05-10 Jim Meyering <meyering@redhat.com>
12876 Fix doubled-word typos.
12877 * international/quail.el (quail-insert-kbd-layout): and and -> and
12878 * kermit.el: and and -> and
12879 * net/ldap.el (ldap-search-internal): to to -> to
12880 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12881 * progmodes/js.el (js-mode): and and -> and
12882 * textmodes/artist.el (artist-move-to-xy): at at -> at
12883 (artist-draw-region-trim-line-endings): if if -> if
12884 And Safetyc -> Safety.
12885 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12887 2011-05-10 Glenn Morris <rgm@gnu.org>
12888 Stefan Monnier <monnier@iro.umontreal.ca>
12890 * files.el (hack-one-local-variable-eval-safep):
12891 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12893 2011-05-10 Glenn Morris <rgm@gnu.org>
12895 * calendar/diary-lib.el (diary-list-entries-hook)
12896 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12897 (diary-nongregorian-marking-hook, diary-list-entries)
12898 (diary-include-other-diary-files, diary-mark-entries)
12899 (diary-mark-included-diary-files): Doc fixes.
12901 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12903 * misc.el: Require tabulated-list.el during compilation.
12905 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12907 * progmodes/compile.el (compilation-start):
12908 Run compilation-filter-hook for the async case too.
12909 (compilation-filter-hook): Doc fix.
12911 2011-05-09 Deniz Dogan <deniz@dogan.se>
12913 * wdired.el: Remove outdated installation comment. Fix usage
12916 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12918 * misc.el: Implement new command `list-dynamic-libraries'.
12919 (list-dynamic-libraries--loaded-only-p): New variable.
12920 (list-dynamic-libraries--refresh): New function.
12921 (list-dynamic-libraries): New command.
12923 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12925 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12926 Fix the ant regexp to handle end-line and end-column info from jikes.
12927 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12928 higher priority to avoid clobbering by gnu.
12930 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12932 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12933 if the face has existing theme settings (Bug#8454).
12935 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12937 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12938 Only match variables declared via `my' or `our' (Bug#8261).
12940 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12941 special file names `.' and `..' (Bug#8259).
12943 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12945 * progmodes/grep.el (grep-mode-font-lock-keywords):
12946 Remove buffer-changing entries.
12947 (grep-filter): New function.
12948 (grep-mode): Add it to compilation-filter-hook.
12950 * progmodes/compile.el (compilation-filter-hook)
12951 (compilation-filter-start): New defvars.
12952 (compilation-filter): Call compilation-filter-hook prior to
12953 updating the process mark.
12955 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12957 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12959 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12961 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12962 mailclient-send-it even if window-system is nil. (Bug#8595)
12964 * term/w32console.el (terminal-init-w32console):
12965 Call get-screen-color and use its output to set the frame
12966 background-mode. (Bug#8597)
12968 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12970 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12971 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12973 (defgeneric, eieio--defmethod): Use them.
12974 (eieio-defgeneric): Remove.
12975 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12977 2011-05-07 Glenn Morris <rgm@gnu.org>
12979 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12980 Use let rather than let*.
12981 (timeclock-find-discrep): Remove unused local.
12983 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12985 * calendar/appt.el (appt-time-msg-list): Doc fix.
12987 2011-05-06 Noah Friedman <friedman@splode.com>
12989 * apropos.el (apropos-print-doc): Only use
12990 emacs-lisp-docstring-fill-column when it is bound to an integer,
12991 per that variable's documentation.
12993 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12995 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12996 and warnings are not silently discarded (e.g. use -d instead of -P).
12998 2011-05-06 Glenn Morris <rgm@gnu.org>
13000 * calendar/appt.el (appt-message-warning-time): Doc fix.
13001 (appt-warning-time-regexp): New option.
13002 (appt-make-list): Respect appt-message-warning-time.
13004 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13006 (diary-add-to-list): Strip comments from the displayed string.
13007 (diary-mode): Set comment-start and comment-end.
13009 * vc/diff-mode.el (smerge-refine-subst): Declare.
13010 (diff-refine-hunk): Don't require smerge-mode when compiling.
13012 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13014 * simple.el (list-processes): Return nil as the docstring says.
13016 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13018 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13020 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13021 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13022 determining of binary transfer. (Bug#7383)
13024 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13026 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13027 Fix port computation bug. (Bug#8618)
13029 2011-05-05 Glenn Morris <rgm@gnu.org>
13031 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13033 * simple.el (shell-dynamic-complete-functions)
13034 (comint-dynamic-complete-functions): Declare.
13036 * net/network-stream.el (gnutls-negotiate):
13037 * simple.el (tabulated-list-print): Fix declarations.
13039 * progmodes/gud.el (syntax-symbol, syntax-point):
13040 Remove unnecessary and incorrect declarations.
13042 * emacs-lisp/check-declare.el (check-declare-scan):
13043 Handle byte-compile-initial-macro-environment in bytecomp.el
13045 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13047 Fix earlier half-done eieio-defmethod change (bug#8338).
13048 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13049 Streamline and change calling convention.
13050 (defmethod): Adjust accordingly and simplify.
13051 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13052 new eieio--defmethod.
13053 (slot-boundp): Minor CSE simplification.
13055 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13057 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13058 (glasses-make-readable): Use glasses-separate-capital-groups.
13060 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13062 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13063 (warning-series): Doc fix.
13064 (display-warning): Don't try to create the buffer if we just found it.
13066 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13068 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13069 (autoload-find-generated-file): New function.
13070 (generate-file-autoloads): Bind generated-autoload-file to
13072 (update-file-autoloads, update-directory-autoloads):
13073 Use autoload-find-generated-file. If called interactively, prompt for
13074 output file (Bug#7989).
13075 (batch-update-autoloads): Doc fix.
13077 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13079 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13081 2011-05-04 Glenn Morris <rgm@gnu.org>
13083 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13084 function, so it follows changes in calendar-date-style.
13085 (diary-fancy-date-matcher): New function.
13086 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13087 (diary-fancy-font-lock-fontify-region-function):
13088 Use diary-fancy-date-pattern as a function.
13090 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13091 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13093 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13095 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13096 instead of positional arguments. Allow :keylist and :crlfiles
13098 (open-gnutls-stream): Call it.
13100 * net/network-stream.el (network-stream-open-starttls): Adjust to
13101 call `gnutls-negotiate' with :process and :hostname arguments.
13103 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13105 * minibuffer.el (completion--message): New function.
13106 (completion--do-completion, minibuffer-complete)
13107 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13108 (completion--do-completion): Don't ignore completion-auto-help when in
13111 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13112 internal encoding (e.g. tibetan zero is not whitespace).
13113 (global-whitespace-mode): Prefer save-current-buffer.
13114 (whitespace-trailing-regexp): Remove useless save-match-data.
13115 (whitespace-empty-at-bob-regexp): Minor simplification.
13117 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13119 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13121 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13123 * textmodes/ispell.el (ispell-add-per-file-word-list):
13124 Use `concat' to create string for insertion.
13126 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13128 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13129 Avoid open-line which runs post-self-insert-hook.
13130 (bibtex-fill-entry): Remove unused `end' var.
13132 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13134 * textmodes/ispell.el (ispell-add-per-file-word-list):
13135 Protect against `nil' value of `comment-start' (Bug#8579).
13137 2011-05-03 Leo Liu <sdl.web@gmail.com>
13139 * isearch.el (isearch-yank-pop): New command.
13140 (isearch-mode-map): Bind it to `M-y'.
13141 (isearch-forward): Mention it.
13143 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13145 * simple.el (minibuffer-complete-shell-command): Remove.
13146 (minibuffer-local-shell-command-map): Use completion-at-point.
13147 (read-shell-command): Setup completion vars here instead.
13148 (read-expression-map): Bind TAB to symbol completion.
13150 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13151 error directly rather via storing it into `results'.
13153 2011-05-02 Leo Liu <sdl.web@gmail.com>
13155 * vc/diff.el: Fix description.
13157 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13159 * server.el (server-eval-at): New function.
13161 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13163 * net/network-stream.el (open-network-stream): Take a :nowait
13164 parameter and pass it on to `make-network-process'.
13165 (network-stream-open-plain): Ditto.
13167 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13169 * faces.el (face-spec-set-match-display): Don't match toolkit
13170 options on terminal frames.
13172 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13174 * progmodes/pascal.el: Use lexical binding.
13175 (pascal-mode-map): Remove author preferences.
13177 * pcomplete.el (pcomplete-std-complete): Don't abuse
13178 completion-at-point.
13180 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13182 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13183 removing code that has been dead since 1991 or so.
13185 * startup.el (command-line): When warning about "_emacs", use a
13186 delayed warning to allow the user to filter it out.
13188 2011-04-28 Deniz Dogan <deniz@dogan.se>
13190 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13191 user has not joined.
13193 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13195 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13196 aren't any completions at point.
13198 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13200 * subr.el (display-delayed-warnings): New function.
13201 (delayed-warnings-hook): New variable.
13203 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13205 * minibuffer.el (completion-at-point, completion-help-at-point):
13206 Don't presume that a given completion-at-point-function will always
13207 use the same calling convention.
13209 * pcomplete.el (pcomplete-completions-at-point):
13210 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13211 pcomplete-seen is non-nil.
13212 (pcomplete-comint-setup): Also recognize the new comint/shell
13213 completion functions.
13214 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13215 pcomplete-seen is non-nil.
13217 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13219 * calendar/icalendar.el (diary-lib): Add require statement.
13220 (icalendar--create-uid): Read out a uid from a text-property on
13221 the first character in the entry. This allows for code to add its
13222 own uid to the entry.
13223 (icalendar--convert-float-to-ical): Add export of
13224 `diary-float'-entries save for those with the optional DAY
13227 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13229 * subr.el (shell-quote-argument): Use alternate escaping strategy
13230 when we spot a variable reference in a string.
13232 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13234 * cus-start.el (all): Define customization for debug-on-event.
13236 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13238 * subr.el (shell-quote-argument): Escape correctly under Windows.
13240 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13242 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13244 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
13246 * net/tramp.el (tramp-process-actions): Add POS argument.
13247 Delete region between POS and (pos).
13249 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13250 Use `nil' position in `tramp-process-actions' call.
13251 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13253 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13254 position in `tramp-process-actions' call.
13256 * net/trampver.el: Update release number.
13258 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13260 * custom.el (defcustom): Obey lexical-binding.
13262 Fix octave-inf completion problems reported by Alexander Klimov.
13263 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13264 Inherit from octave-mode-syntax-table.
13265 (inferior-octave-mode): Set info-lookup-mode.
13266 (inferior-octave-completion-at-point): New function.
13267 (inferior-octave-complete): Use it and completion-in-region.
13268 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13269 comint-filename-completion.
13270 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13271 symbol elements which shouldn't be word elements.
13272 (octave-font-lock-keywords, octave-beginning-of-defun)
13273 (octave-function-header-regexp): Adjust regexps accordingly.
13274 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13276 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13278 * net/gnutls.el (gnutls-errorp): Declare before first use.
13280 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13282 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13283 verify-error, and verify-hostname-error parameters. Check whether
13284 default trustfile exists before going to use it. Add missing
13285 argument to gnutls-message-maybe call. Return value.
13286 Reported by Claudio Bley <claudio.bley@gmail.com>.
13287 (open-gnutls-stream): Add usage example.
13289 * net/network-stream.el (network-stream-open-starttls): Give host
13290 parameter to `gnutls-negotiate'.
13291 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13292 * subr.el (shell-quote-argument): Escape correctly under Windows.
13294 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13296 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13297 Use correct match group (bug#8438).
13299 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13301 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13302 (package-menu--generate): New arg specifying packages to show.
13303 (package-menu-refresh, package-menu-execute, list-packages):
13305 (package-show-package-list): New function, replacing deleted
13306 package--list-packages (renamed because it is non-internal).
13308 * finder.el (finder-list-matches): Use package-show-package-list
13309 instead of deleted package--list-packages.
13311 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13312 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13313 (vc-annotate-mode-map): Bind it to RET.
13315 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13317 * progmodes/etags.el (next-file): Don't use set-buffer to change
13318 buffers (Bug#8478).
13320 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13322 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13324 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13325 (apropos-accumulator): Doc fix.
13326 (apropos-function, apropos-macro, apropos-command)
13327 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13328 (apropos-plist): Add face property.
13329 (apropos-symbols-internal): Fix indentation.
13330 (apropos-print): Simplify help, and recognize apropos-multi-type.
13331 (apropos-print-doc): Use button-type-get to extract the button's
13332 face property. Fill docstring (Bug#8352).
13334 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13336 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13338 * play/mpuz.el (mpuz-silent): Doc fix.
13339 (mpuz-mode-map): Use mapc.
13340 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13341 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13342 Fix typos in docstrings.
13344 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13345 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13347 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13349 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13351 * minibuffer.el (completion--do-completion): Avoid the "Next char
13352 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13354 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13355 mouse-2 into unread-command-events, it is interpreted correctly.
13357 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13358 (image-toggle-display): Doc fix.
13360 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13362 * textmodes/page.el (what-page): Use line-number-at-pos to
13363 calculate line number (Bug#6825).
13365 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13367 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13368 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13369 Pass argument NO-DEFAULT to `find-tag-interactive'.
13371 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13373 Lexical-binding cleanup.
13375 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13376 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13377 * progmodes/ada-prj.el (ada-prj-initialize-values)
13378 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13379 (ada-prj-show-value):
13380 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13381 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13382 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13383 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13384 * progmodes/bug-reference.el (bug-reference-push-button):
13385 * progmodes/fortran.el (fortran-line-length):
13386 * progmodes/glasses.el (glasses-change):
13387 * progmodes/octave-mod.el (octave-fill-paragraph):
13388 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13389 (python-pdbtrack-grub-for-buffer, python-sentinel):
13390 * progmodes/sql.el (sql-save-connection):
13391 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13392 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13393 Mark unused parameters.
13395 * progmodes/compile.el (compilation--flush-directory-cache)
13396 (compilation--flush-parse, compile-internal): Mark unused parameters.
13397 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13398 (compilation-next-error-function): Remove unused variable `timestamp'.
13400 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13401 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13403 * progmodes/dcl-mode.el (dcl-end-of-command):
13404 Remove unused variable `start'.
13405 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13406 (dcl-option-value-basic, dcl-option-value-offset)
13407 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13408 Mark unused parameters.
13409 (dcl-save-local-variable): Remove unused variable `val'.
13412 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13413 Mark unused parameters.
13414 (delphi-ignore-changes): Move before first use.
13415 (delphi-charset-token-at): Remove unused variable `start'.
13416 (delphi-else-start): Remove unused variable `if-count'.
13417 (delphi-comment-block-start, delphi-comment-block-end):
13418 Remove unused variable `kind'.
13419 (delphi-indent-line): Remove unused variable `new-point'.
13421 * progmodes/ebrowse.el (ebrowse-files-list)
13422 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13423 Mark unused parameters. Don't quote `lambda'.
13424 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13425 Don't quote `lambda'.
13426 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13427 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13428 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13429 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13430 Use `ignore-errors'.
13431 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13432 (ebrowse-view/find-file-and-search-pattern)
13433 (ebrowse-view/find-member-declaration/definition):
13434 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13435 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13436 Rename parameter PREFIX-ARG to PREFIX.
13437 (ebrowse-tags-read-name): Remove unused variables `start' and
13439 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13442 * progmodes/etags.el (local-find-tag-hook): Declare.
13443 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13444 Mark unused parameters.
13446 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13447 (executable-interpret): Mark unused parameter.
13449 * progmodes/flymake.el (flymake-process-sentinel)
13450 (flymake-after-change-function)
13451 (flymake-create-temp-with-folder-structure)
13452 (flymake-get-include-dirs-dot): Mark unused parameters.
13453 (flymake-safe-delete-directory): Remove unused variable `err'.
13455 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13456 (speedbar-timer-fn, speedbar-line-text)
13457 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13458 (speedbar-center-buffer-smartly): Declare functions.
13459 (gdb-find-watch-expression): Remove unused variable `array'.
13460 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13461 (gdb-starting): Mark unused parameters.
13462 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13463 (gdb-table-string): Remove unused variable `res'.
13464 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13465 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13466 (gdb-display-buffer): Remove unused variable `cur-size'.
13468 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13469 allow lexical-binding compilation.
13470 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13471 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13472 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13473 Mark unused parameters.
13474 (gud-gdb-marker-filter): Remove unused variable `match'.
13475 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13476 lambda expressions and funcall them, instead of using `fset'.
13478 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13479 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13481 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13482 variable `header-beg'; use `let'.
13484 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13485 `restart', `last-sexp' and `at-do'.
13487 * progmodes/js.el (js--debug): Mark unused parameter.
13488 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13489 (js--splice-into-items): Remove unused variable `item'.
13490 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13492 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13493 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13494 (makefile-complete): Remove unused variable `try'.
13495 (makefile-fill-paragraph, makefile-match-function-end):
13496 Mark unused parameters.
13498 * progmodes/octave-inf.el (inferior-octave-complete):
13499 Remove unused variable `proc'.
13500 (inferior-octave-output-digest): Mark unused parameter.
13502 * progmodes/perl-mode.el (perl-calculate-indent):
13503 Remove unused variable `err'.
13505 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13506 (prolog-indent-line): Mark unused parameters.
13507 (prolog-indent-line): Remove unused variable `beg'.
13509 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13510 (reporter-dont-compact-list): Declare.
13512 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13513 Remove unused variable `char'.
13514 (sh-debug): Mark unused parameter.
13515 (sh-get-indent-info): Remove unused variable `start'.
13516 (sh-calculate-indent): Remove unused variable `var'.
13518 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13519 (simula-electric-keyword): Remove unused variable `null'.
13520 (simula-search-backward, simula-search-forward): Remove unused
13521 variables `begin' and `end'.
13523 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13524 Remove unused variable `pos'.
13525 (vera-electric-tab, vera-comment-uncomment-region):
13526 Mark unused parameters.
13527 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13529 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13531 * emacs-lisp/package.el (package--builtins, package-alist)
13532 (package-load-descriptor, package-built-in-p, package-activate)
13533 (define-package, package-installed-p)
13534 (package-compute-transaction, package-buffer-info)
13535 (package--push): Doc fix. Distinguish more clearly between
13536 version strings and version lists.
13538 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13540 Lexical-binding cleanup.
13542 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13543 (5x5-make-mutate-best):
13544 * play/fortune.el (fortune-in-buffer):
13545 * play/gomoku.el (gomoku-init-display):
13546 * play/solitaire.el (solitaire, solitaire-do-check):
13547 * play/tetris.el (tetris-default-update-speed-function):
13548 Mark unused parameters.
13550 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13551 (bubbles--shift): Remove unused variable `char-org'.
13552 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13553 (bubbles--show-images): Remove unused variable `char'.
13555 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13556 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13557 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13558 (decipher-analyze-buffer): Use ?\s.
13559 (decipher-make-checkpoint): Remove unused variable `mapping'.
13561 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13563 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13564 Remove unused variable `result'; use `let'.
13566 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13567 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13568 (gametree-children-shown-p, gametree-compute-reduced-score):
13569 Use `ignore-errors'.
13571 * play/handwrite.el (ps-lpr-switches): Declare.
13572 (handwrite): Remove unused variables `pmin' and `lastp'.
13574 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13576 * play/landmark.el (landmark-init-display)
13577 (landmark-update-naught-weights): Mark unused parameters.
13578 (landmark-y): Remove unused variable `noise'. Simplify.
13579 (landmark-human-plays): Remove unused variable `score'.
13581 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13582 (mpuz-try-proposal): Remove unused variable `game'.
13584 * play/zone.el (life-patterns): Declare.
13586 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13588 * vc/vc.el (ediff-vc-internal): Declare function.
13590 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13592 * shell.el: Use lexical-binding and std completion UI.
13593 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13594 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13595 comint-preoutput-filter-functions rather than on
13596 comint-output-filter-functions.
13597 (shell-command-completion, shell--command-completion-data)
13598 (shell-filename-completion, shell-environment-variable-completion)
13599 (shell-c-a-p-replace-by-expanded-directory): New functions.
13600 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13601 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13602 (shell-dynamic-complete-environment-variable): Use them.
13603 (shell-dynamic-complete-as-environment-variable)
13604 (shell-dynamic-complete-as-command): Remove.
13605 (shell-match-partial-variable): Match past point.
13606 * comint.el: Clean up use of completion-at-point-functions.
13607 (comint-completion-at-point): New function.
13608 (comint-mode): Use it completion-at-point-functions.
13609 (comint-dynamic-complete): Make it obsolete.
13610 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13611 (comint-c-a-p-replace-by-expanded-history): New function.
13612 (comint-dynamic-complete-functions)
13613 (comint-replace-by-expanded-history): Use it.
13614 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13615 termination strings. Try harder to avoid second try-completion.
13616 (completion-in-region-mode-map): Disable bindings that don't work yet.
13618 * comint.el: Use lexical-binding. Require CL.
13619 (comint-dynamic-complete-functions): Use comint-filename-completion.
13620 (comint-completion-addsuffix): Tweak custom type.
13621 (comint-filename-completion, comint--common-suffix)
13622 (comint--common-quoted-suffix, comint--table-subvert)
13623 (comint--complete-file-name-data): New functions.
13624 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13625 (comint-dynamic-list-filename-completions): Use them.
13626 (comint-dynamic-simple-complete): Make obsolete.
13628 * minibuffer.el (completion-in-region-mode):
13629 Keep completion-in-region-mode--predicate global.
13630 (completion-in-region--postch):
13631 Assume completion-in-region-mode--predicate is not null.
13633 * progmodes/flymake.el (flymake-start-syntax-check-process):
13634 Obey `dir'. Simplify.
13636 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13637 we're in VC after all.
13639 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13641 * vc/vc.el (vc-diff-build-argument-list-internal)
13642 (vc-version-ediff, vc-ediff): New commands.
13643 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13645 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13647 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13650 * obsolete/erc-hecomplete.el: Make obsolete.
13651 * obsolete/: Standardize obsolescence info in the header.
13653 2011-04-20 Glenn Morris <rgm@gnu.org>
13655 * calendar/solar.el (solar-horizontal-coordinates):
13656 Use the longitude argument rather than `calendar-longitude'.
13657 (solar-date-next-longitude): Remove unused locals.
13659 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13661 * whitespace.el: New version 13.2.1.
13663 2011-04-20 felix <EmacsWiki> (tiny change)
13665 * whitespace.el (global-whitespace-mode): Keep highlight when
13666 switching between major modes on a file.
13668 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13670 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13671 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13672 multi-line comments as well.
13674 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13676 Lexical-binding cleanup.
13678 * arc-mode.el (archive-mode-revert):
13679 * cmuscheme.el (scheme-interactively-start-process):
13680 * custom.el (custom-initialize-delay):
13681 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13682 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13683 * emacs-lock.el (emacs-lock-clear-sentinel):
13684 * ezimage.el (defezimage):
13685 * follow.el (follow-avoid-tail-recenter):
13686 * fringe.el (set-fringe-mode-1):
13687 * generic-x.el (bat-generic-mode-compile):
13688 * help-mode.el (help-info-variable, help-do-xref)
13689 (help-mode-revert-buffer):
13690 * help.el (view-emacs-todo):
13691 * iswitchb.el (iswitchb-completion-help):
13692 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13693 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13694 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13695 * locate.el (locate-update):
13696 * longlines.el (longlines-encode-region)
13697 (longlines-after-change-function):
13698 * outline.el (outline-isearch-open-invisible):
13699 * ps-def.el (declare-function, charset-dimension, char-width)
13701 * ps-mule.el (ps-mule-plot-string):
13702 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13703 (recentf-edit-list-select, recentf-edit-list-validate)
13704 (recentf-open-files-action):
13705 * rect.el (delete-whitespace-rectangle-line)
13706 (rectangle-number-line-callback):
13707 * register.el (window-configuration-to-register)
13708 (frame-configuration-to-register):
13709 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13710 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13711 (xselect-convert-to-targets, xselect-convert-to-delete)
13712 (xselect-convert-to-filename, xselect-convert-to-charpos)
13713 (xselect-convert-to-lineno, xselect-convert-to-colno)
13714 (xselect-convert-to-os, xselect-convert-to-host)
13715 (xselect-convert-to-user, xselect-convert-to-class)
13716 (xselect-convert-to-name, xselect-convert-to-integer)
13717 (xselect-convert-to-atom, xselect-convert-to-identity):
13718 * subr.el (declare, ignore, process-kill-without-query)
13719 (text-clone-maintain):
13720 * terminal.el (te-get-char, te-tic-sentinel):
13721 * tool-bar.el (tool-bar-make-keymap):
13722 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13723 * type-break.el (type-break-mode, type-break-noninteractive-query):
13724 * view.el (View-back-to-mark):
13725 * wid-browse.el (widget-browse-action, widget-browse-widget)
13726 (widget-browse-widgets, widget-browse-sexp):
13727 * widget.el (define-widget-keywords):
13728 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13729 Mark unused parameters.
13731 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13732 (align-areas): Remove unused variable `look'.
13733 (align-region): Remove unused variables `real-end' and `pos-list'.
13735 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13737 * bindings.el (mode-line-modified, mode-line-remote):
13738 Mark unused parameters.
13739 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13741 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13742 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13744 * comint.el (comint-history-isearch-pop-state)
13745 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13746 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13747 (comint-substitute-in-file-name): Doc fix.
13749 * completion.el (cmpl-statistics-block): Mark unused parameter.
13750 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13751 (save-completions-to-file, load-completions-from-file):
13752 Remove unused local variable `e'.
13754 * composite.el (compose-chars): Remove unused variable `len'.
13755 (lgstring-insert-glyph): Remove unused variable `g'.
13756 (compose-glyph-string): Remove unused variables `ascent',
13757 `descent', `lbearing' and `rbearing'.
13758 (compose-glyph-string-relative): Remove unused variables
13759 `lbearing', `rbearing' and `wadjust'.
13760 (compose-gstring-for-graphic): Remove unused variables `header',
13761 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13762 (compose-gstring-for-terminal): Remove unused variables `header'
13763 and `nchars'. Use `let', not `let*'.
13765 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13766 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13767 (Custom-buffer-done, custom-buffer-create-internal)
13768 (custom-browse-visibility-action, custom-browse-group-tag-action)
13769 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13770 (widget-magic-mouse-down-action, custom-toggle-parent)
13771 (custom-add-parent-links, custom-toggle-hide-variable)
13772 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13773 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13774 (custom-face-menu-create, custom-variable-menu-create, get)
13775 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13776 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13777 (customize-apropos): Remove unused variable `tests'.
13778 (custom-group-value-create): Remove unused variable `hidden-p'.
13779 (sort-fold-case): Declare.
13781 * cus-theme.el (custom-reset-standard-faces-list)
13782 (custom-reset-standard-variables-list): Declare.
13783 (customize-create-theme, custom-theme-revert, custom-theme-write)
13784 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13785 Mark unused parameters.
13787 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13789 * delim-col.el (delimit-columns-max): Move defvar before first use.
13791 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13792 (describe-char): Don't quote `lambda'. Mark unused parameter.
13794 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13795 (auto-insert): Declare.
13796 (desktop-restore-file-buffer): Rename desktop-* parameters;
13798 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13799 (desktop-buffer): Rename desktop-* parameters.
13801 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13802 (dframe-reposition-frame-xemacs, dframe-help-echo)
13803 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13804 Mark unused parameters.
13806 * dired-aux.el (backup-extract-version-start, overwrite-query)
13807 (overwrite-backup-query, rename-regexp-query)
13808 (rename-non-directory-query): Declare.
13809 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13810 (dired-add-entry): Remove unused variable `orig-file-name'.
13811 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13812 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13813 `dired-copy-preserve-time' directly.
13814 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13815 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13817 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13818 (dired-virtual-revert, dired-make-relative-symlink):
13819 Mark unused parameters.
13820 (manual-program): Declare.
13821 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13822 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13823 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13825 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13827 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13829 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13832 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13834 * electric.el (Electric-command-loop): Rename parameter
13835 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13837 * expand.el (expand-in-literal): Remove unused variable `here'.
13839 * facemenu.el (facemenu-add-new-color):
13840 Remove unused variable `docstring'.
13842 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13843 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13844 (face-attr-construct): Mark unused parameter. Doc fix.
13845 (read-color): Remove unused variable `hex-string'.
13847 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13848 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13849 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13850 (display-buffer-other-frame): Remove unused variable `old-window'.
13851 (kill-buffer-hook): Declare.
13852 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13853 Mark unused parameters.
13854 (after-find-file): Pass 1 to `auto-save-mode', not t.
13856 * files-x.el (auto-insert): Declare.
13857 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13859 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13860 variable `buf'. Mark unused parameter.
13861 (find-lisp-insert-directory): Mark unused parameter.
13863 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13864 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13865 (format-common-tail): Remove, unused.
13866 (format-deannotate-region): Remove unused variable `loc'.
13867 (format-annotate-region): Remove unused variable `p'.
13868 (format-annotate-single-property-change): Remove unused variables
13869 `default' and `tail'.
13871 * forms.el (read-file-filter): Declare.
13872 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13874 * frame.el (frame-creation-function-alist): Mark unused parameter.
13875 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13877 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13878 Remove unused parameters.
13879 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13880 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13882 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13883 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13884 (hfy-prepare-tag-map): Mark unused parameters.
13885 (htmlfontify-buffer): Use `called-interactively-p'.
13887 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13888 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13889 (ibuffer-do-occur): Mark unused parameters.
13890 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13891 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13893 * ibuffer.el: Don't quote `lambda'.
13894 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13895 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13896 Mark unused parameters.
13898 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13899 (ido-completing-read): Mark unused parameters.
13900 (ido-copy-current-word): Mark unused parameters;
13901 remove unused variable `name'.
13902 (ido-sort-merged-list): Remove unused parameter `dirs'.
13904 * ielm.el (ielm-input-sender): Mark unused parameter.
13905 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13906 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13907 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13908 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13909 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13911 * image-dired.el (image-dired-display-thumbs): Remove unused
13912 variables `curr-file' and `count'.
13913 (image-dired-remove-tag): Remove unused variable `start'.
13914 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13915 variable `curr-file'
13916 (image-dired-rotate-original): Remove unused variable `temp-file'.
13917 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13918 Remove unused variable `file'.
13919 (image-dired-gallery-generate): Remove unused variable `curr'.
13920 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13922 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13924 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13926 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13928 * isearch.el (minibuffer-history-symbol): Declare.
13929 (isearch-edit-string): Remove unused variable `err'.
13930 (isearch-message-prefix, isearch-message-suffix):
13931 Mark unused parameters.
13933 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13935 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13937 * makesum.el (double-column): Remove unused variable `cnt'.
13939 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13940 (ido-ignore-item-temp-list): Declare.
13942 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13943 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13944 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13945 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13948 * mouse-sel.el (mouse-extend-internal):
13949 Remove unused variable `orig-window-frame'.
13951 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13952 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13953 Move declarations before first use.
13954 (pcomplete-opt): Mark unused parameters; doc fix.
13956 * proced.el (proced-revert): Mark unused parameter.
13957 (proced-send-signal): Remove unused variable `err'.
13959 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13960 Rename parameter PREFIX-ARG to ARG.
13961 (ps-basic-plot-string, ps-basic-plot-whitespace):
13962 Mark unused parameters.
13964 * replace.el (replace-count): Define.
13965 (occur-revert-function): Mark unused parameters.
13966 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13967 (isearch-case-fold-search, isearch-string): Declare.
13968 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13969 bind `case-fold-search'. Remove unused variables `beg' and `end',
13971 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13972 COUNT and bind `replace-count'.
13973 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13976 * savehist.el (print-readably, print-string-length): Declare.
13978 * shadowfile.el (shadow-expand-cluster-in-file-name):
13979 Remove unused variable `cluster'.
13980 (shadow-copy-file): Remove unused variable `i'.
13981 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13982 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13983 (shadow-define-literal-group, shadow-define-regexp-group)
13984 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13986 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13987 (shell): Use `called-interactively-p'.
13988 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13990 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13991 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13992 (delete-backward-char): Remove unused variable `ocol'.
13993 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13994 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13995 (event-apply-hyper-modifier, event-apply-shift-modifier)
13996 (event-apply-control-modifier, event-apply-meta-modifier):
13997 Mark unused parameters.
13998 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13999 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14001 * speedbar.el (speedbar-ignored-directory-expressions)
14002 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14003 (speedbar-find-file, speedbar-dir-follow)
14004 (speedbar-directory-buttons-follow, speedbar-tag-find)
14005 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14006 (speedbar-buffers-line-directory, speedbar-buffer-click):
14007 Mark unused parameters.
14008 (speedbar-tag-file): Remove unused variable `mode'.
14009 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14011 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14013 * talk.el (talk): Remove unused variable `display'.
14015 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14016 (tar-write-region-annotate): Mark unused parameter.
14018 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14019 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14020 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14021 warning by another.
14023 * time-stamp.el (time-stamp-string-preprocess):
14024 Remove unused variable `require-padding'.
14026 * tree-widget.el (widget-glyph-enable): Declare.
14027 (tree-widget-action): Mark unused parameter.
14029 * w32-fns.el (x-get-selection): Mark unused parameter.
14030 (autoload-make-program, generated-autoload-file): Declare.
14032 * wdired.el (wdired-revert): Mark unused parameters.
14033 (wdired-xcase-word): Remove unused variable `err'.
14035 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14036 (whitespace-help-scroll): Remove unused variable `data-help'.
14038 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14039 (widget-image-insert, widget-after-change, default)
14040 (widget-default-format-handler, widget-default-notify)
14041 (widget-default-prompt-value, widget-info-link-action)
14042 (widget-url-link-action, widget-function-link-action)
14043 (widget-variable-link-action, widget-file-link-action)
14044 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14045 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14046 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14047 (widget-insert-button-action, widget-delete-button-action, visibility)
14048 (widget-documentation-link-action, widget-documentation-string-action)
14049 (widget-const-prompt-value, widget-regexp-match, symbol)
14050 (widget-coding-system-prompt-value)
14051 (widget-key-sequence-value-to-external, sexp)
14052 (widget-sexp-value-to-internal, character, vector, cons)
14053 (widget-choice-prompt-value, widget-boolean-prompt-value)
14054 (widget-color--choose-action): Mark unused parameters.
14055 (widget-item-match-inline, widget-choice-match-inline)
14056 (widget-checklist-match, widget-checklist-match-inline)
14057 (widget-group-match): Rename parameter VALUES to VALS.
14058 (widget-field-value-set): Remove unused variable `size'.
14059 (widget-color-action): Remove unused variables `value' and `start'.
14061 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14062 variable `dir'. Doc fix.
14063 (windmove-find-other-window): Don't pass it.
14065 * window.el (count-windows): Mark unused parameter.
14066 (bw-adjust-window): Remove unused variable `err'.
14068 * woman.el (woman-file-name): Remove unused variable `default'.
14069 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14070 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14071 (global-font-lock-mode): Declare.
14072 (woman-decode-region): Mark unused parameter.
14073 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14075 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14076 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14077 (x-dnd-handle-moz-url): Remove unused variable `title'.
14078 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14080 * xml.el (xml-parse-tag, xml-parse-attlist):
14081 Remove unused variable `pos'.
14083 2011-04-19 Glenn Morris <rgm@gnu.org>
14085 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14086 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14087 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14088 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14089 * calendar/cal-html.el (cal-html-insert-minical):
14090 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14091 (calendar-mark-date-pattern):
14092 Prefix "unused" locals.
14094 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14095 optional argument `style'.
14097 * calendar/appt.el (appt-make-list):
14098 * calendar/cal-china.el (calendar-chinese-date-string):
14099 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14100 (diary-hebrew-yahrzeit):
14101 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14102 * calendar/calendar.el (calendar-generate-window):
14103 * calendar/time-date.el (time-to-days):
14104 Remove unused local variables.
14106 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14108 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14109 glyphless-char-display table.
14110 (tabulated-list-glyphless-char-display): New var.
14112 2011-04-18 Sam Steingold <sds@gnu.org>
14114 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14115 to acknowledgments.
14117 2011-04-17 Glenn Morris <rgm@gnu.org>
14119 * calendar/diary-lib.el (diary-sexp-entry):
14120 * calendar/holidays.el (holiday-sexp):
14121 Set debug-on-error rather than the removed stack-trace-on-error.
14123 2011-04-16 Glenn Morris <rgm@gnu.org>
14125 * progmodes/f90.el: Use lexical-binding.
14126 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14128 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14130 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14131 (mail-mode): Setup mailalias completion here instead.
14132 * mail/mailalias.el: Use lexical-binding.
14133 (pattern, mailalias-done): Declare dynamic.
14134 (mail-completion-at-point-function): New function, from mail-complete.
14135 (mail-complete): Use it.
14136 (mail-completion-expand): New function.
14137 (mail-get-names): Use it.
14138 (mail-directory, mail-directory-process, mail-directory-stream):
14139 Don't use `pattern' for lexically bound arg.
14141 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14143 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14144 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14145 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14147 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14148 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14149 (byte-interactive-p): Define them again, for use when inlining
14152 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14154 * loadup.el: Use `string-to-number', not `string-to-int'.
14156 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14158 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14159 gud-gdb-complete-command.
14160 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14161 (gud-gdb-completion-at-point): New function.
14162 (gud-gdb-completions): Remove.
14164 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14166 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14167 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14168 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14169 whether `executable-find' is bound.
14171 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14173 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14175 * minibuffer.el (completion-in-region-mode-predicate)
14176 (completion-in-region-mode--predicate): New vars.
14177 (completion-in-region, completion-in-region--postch)
14178 (completion-in-region-mode): Use them.
14179 (completion--capf-wrapper): Also return the hook function.
14180 (completion-at-point, completion-help-at-point):
14181 Adjust and provide a predicate.
14183 Preserve arg names for advice of subr and lexical functions (bug#8457).
14184 * help-fns.el (help-function-arglist): Consolidate the subr and
14185 new-byte-code cases. Add argument `preserve-names' to extract names
14186 from the docstring when needed.
14187 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14188 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14189 (ad-arglist): Use help-function-arglist's new arg.
14190 (ad-definition-type): Use cond.
14192 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14194 * autorevert.el (auto-revert-handler):
14195 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14196 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14197 Don't quote lambda.
14199 * image-mode.el (image-transform-set-scale):
14200 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14202 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14204 * net/network-stream.el (network-stream-open-starttls): Only do
14205 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14206 Upgrades via gnutls-cli are too slow to be done opportunistically.
14208 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14210 * dframe.el (dframe-current-frame): Remove spurious quote.
14212 2011-04-12 Glenn Morris <rgm@gnu.org>
14214 * calendar/cal-tex.el (cal-tex-end-document):
14215 Try to automatically use latin1 input if needed.
14217 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14218 Don't try to cons a mark onto an empty element.
14220 2011-04-11 Leo Liu <sdl.web@gmail.com>
14222 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14224 (ido-kill-buffer-at-head): Support killing virtual buffers.
14226 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14228 * minibuffer.el (completion-show-inline-help): New var.
14229 (completion--do-completion, minibuffer-complete)
14230 (minibuffer-force-complete, minibuffer-complete-word):
14231 Inhibit minibuffer messages if completion-show-inline-help is nil.
14233 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14234 to avoid interference from inline help (Bug#5849).
14236 2011-04-10 Leo Liu <sdl.web@gmail.com>
14238 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14241 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
14243 * image-mode.el (image-toggle-display-image): Signal an error if
14245 (image-transform-mode, image-transform-resize)
14246 (image-transform-set-rotation): Doc fix.
14247 (image-transform-set-resize): Delete.
14248 (image-transform-set-scale, image-transform-fit-to-height)
14249 (image-transform-fit-to-width): Handle image-toggle-display-image
14250 and image-transform-resize directly.
14252 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14254 * doc-view.el (doc-view-fit-width-to-window)
14255 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14256 New functions for fitting the shown image to the Emacs window size.
14257 (doc-view-mode-map): Add bindings for the new functions.
14259 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
14261 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14262 Fix typo in docstring.
14264 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14266 * files.el (file-size-human-readable): Produce one digit after
14267 decimal, like "ls -lh" does.
14269 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14270 the file size representation.
14272 * simple.el (list-processes): If async subprocesses are not
14273 available, error out with a clear error message.
14275 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14277 * help.el (help-form-show): New function, to be called from C.
14278 Put help-form output in a buffer named differently than *Help*.
14280 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14282 * files.el (file-size-human-readable): New function.
14284 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14285 computing the representation inline. Don't require `cl'.
14287 2011-04-08 Glenn Morris <rgm@gnu.org>
14289 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14291 * net/browse-url.el (browse-url-firefox):
14292 Test system-type, not system-configuration.
14294 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14295 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14296 Use log-edit-empty-buffer-p. (Bug#7598)
14298 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14299 (rlogin-mode-map): Initialize in the defvar.
14300 (rlogin): Use ignore-errors.
14302 * replace.el (occur-mode-map): Some fixes for menu items.
14304 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14306 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14308 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14310 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14311 issuing unused warnings.
14313 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14316 * simple.el: Lisp reimplement of list-processes. Based on an
14317 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14318 (process-menu-mode): New major mode.
14319 (list-processes--refresh, list-processes):
14320 (process-menu-visit-buffer): New functions.
14322 * files.el (save-buffers-kill-emacs): Don't assume any return
14323 value of list-processes, which is undocumented anyway.
14325 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14327 * emacs-lisp/tabulated-list.el: New file.
14329 * emacs-lisp/package.el: Use Tabulated List mode.
14330 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14331 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14332 table format using Tabulated List mode variables.
14333 (package--push): New macro, replacing package-list-maybe-add.
14334 (package-menu--generate): Use package--push. Renamed from
14335 package--generate-package-list.
14336 (package-menu-refresh, list-packages): Use it.
14337 (package-menu--print-info): Rename from package-print-package.
14338 Return insertion data instead of inserting it directly.
14339 (package-menu-describe-package, package-menu-execute):
14340 Use tabulated-list-get-id.
14341 (package-menu-mark-delete, package-menu-mark-install)
14342 (package-menu-mark-unmark, package-menu-backup-unmark)
14343 (package-menu-mark-obsolete-for-deletion):
14344 Use tabulated-list-put-tag.
14345 (package--list-packages, package-menu-revert)
14346 (package-menu-get-package, package-menu-get-version)
14347 (package-menu-sort-by-column): Functions deleted.
14348 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14349 (package-menu--status-predicate, package-menu--version-predicate)
14350 (package-menu--name-predicate)
14351 (package-menu--description-predicate): Handle arguments in the
14352 Tabulated List format.
14353 (package-list-packages-no-fetch): Call list-packages.
14355 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14357 * files.el (after-find-file-from-revert-buffer): Remove variable.
14358 (after-find-file): Don't bind it.
14359 (revert-buffer-in-progress-p): New variable.
14360 (revert-buffer): Bind it.
14361 Pass nil for `after-find-file-from-revert-buffer'.
14363 * saveplace.el (save-place-find-file-hook): Use new variable
14364 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14366 2011-04-06 Glenn Morris <rgm@gnu.org>
14368 * Makefile.in (AUTOGEN_VCS): New variable.
14369 (autoloads): Use $AUTOGEN_VCS.
14371 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14372 * calendar/calendar.el (calendar-mode-map):
14373 Check for toolkit scroll bars. (Bug#8305)
14375 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14377 * minibuffer.el (completion-in-region--postch)
14378 (completion-in-region-mode): Remove unnecessary messages.
14380 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14382 * font-lock.el (font-lock-refresh-defaults):
14383 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14384 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14386 * info.el (Info-directory-list, Info-read-node-name-2)
14387 (Info-split-parameter-string): Doc fixes.
14388 (Info-virtual-nodes): Reflow docstring.
14389 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14390 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14391 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14392 Fix typos in docstrings.
14393 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14394 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14395 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14396 (Info-restore-desktop-buffer): Mark unused parameters.
14397 (Info-directory-find-file, Info-directory-find-node)
14398 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14399 (Info-virtual-index-find-node, Info-apropos-find-file)
14400 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14401 Mark unused parameters; fix typos in docstrings.
14402 (Info-virtual-index): Remove unused local variable `nodename'.
14404 2011-04-05 Deniz Dogan <deniz@dogan.se>
14406 * net/rcirc.el: Update my e-mail address.
14407 (rcirc-mode-map): Remove M-o binding.
14409 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14411 * startup.el (command-line): Save the cursor's theme-face
14412 directly, instead of using face-override-spec.
14414 * custom.el (load-theme): Minor optimization in assigning faces.
14416 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14418 * help-fns.el (describe-variable): Complete all variables having
14419 documentation, including keywords.
14420 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14422 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14424 Convert to lexical-binding.
14426 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14427 (bs--get-marked-string, bs--get-modified-string)
14428 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14429 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14430 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14432 * ehelp.el (electric-help-execute-extended)
14433 (electric-help-ctrl-x-prefix):
14434 * hexl.el (hexl-revert-buffer-function):
14435 * linum.el (linum-after-change, linum-after-scroll):
14436 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14438 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14440 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14447 * epg.el: Use lexical binding.
14449 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14451 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14453 * textmodes/flyspell.el (flyspell-word): Recognize default
14454 dictionary case for flyspell-mark-duplications-exceptions.
14455 Use regexp matching for languages.
14456 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14457 default dictionary (Bug#7926).
14459 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14461 * emacs-lisp/package.el (package--with-work-buffer):
14462 Recognize https URLs.
14464 * net/network-stream.el: Move from gnus/proto-stream.el.
14465 Change prefix to network-stream throughout.
14466 (open-protocol-stream): Merge into open-network-stream, leaving
14467 open-protocol-stream as an alias. Handle nil BUFFER args.
14469 * subr.el (open-network-stream): Move to net/network-stream.el.
14471 2011-04-02 Glenn Morris <rgm@gnu.org>
14473 * find-dired.el (find-exec-terminator): New option.
14474 (find-ls-option): Test for -ls support.
14475 (find-ls-subdir-switches): Test for -b in find-ls-option.
14476 (find-dired, find-grep-dired): Doc fixes.
14477 (find-dired): Use find-exec-terminator.
14479 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14480 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14481 (find-name-arg): Remove purecopy.
14483 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14484 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14485 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14486 accordingly. Don't add the null-device if not needed.
14488 * files.el (save-some-buffers): Doc fix.
14490 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14492 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14494 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14496 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14497 Use `dolist' rather than `mapcar'.
14499 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14501 Add lexical binding.
14503 * subr.el (apply-partially): Use new closures rather than CL.
14504 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14505 (dolist, dotimes): Use slightly different expansion for lexical code.
14506 (functionp): Move to C.
14507 (letrec): New macro.
14508 (with-wrapper-hook): Use it and apply-partially instead of CL.
14509 (eval-after-load): Preserve lexical-binding.
14510 (save-window-excursion, with-output-to-temp-buffer): Turn them
14513 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14515 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14517 (help-add-fundoc-usage): Don't add `Not documented'.
14518 (help-function-arglist): Handle closures, subroutines, and new
14519 byte-code-functions.
14520 (help-make-usage): Remove leading underscores.
14521 (describe-function-1): Handle closures.
14522 (describe-variable): Use special-variable-p for completion.
14524 * files.el (lexical-binding): Declare safe.
14526 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14527 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14528 (pcase): Add `let' pattern.
14529 Change memoization so it actually works.
14530 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14531 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14534 * emacs-lisp/macroexp.el: Use lexical binding.
14535 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14536 Don't convert ' to #' without checking that it's indeed quoting
14539 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14540 Use eval-sexp-add-defvars.
14541 (eval-sexp-add-defvars): New fun.
14543 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14545 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14547 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14548 than the internal `byte-compile-lambda'.
14549 (defmethod): Don't hide code under quotes.
14550 (eieio-defmethod): New `code' argument.
14552 * emacs-lisp/eieio-comp.el: Remove.
14554 * emacs-lisp/edebug.el (edebug-eval-defun)
14555 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14556 (edebug-toggle): Avoid `eval'.
14558 * emacs-lisp/disass.el (disassemble-internal): Handle new
14560 (disassemble-1): Handle new byte codes.
14562 * emacs-lisp/cl.el (pushnew): Silence warning.
14564 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14565 (cl-byte-compile-throw): Remove.
14566 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14568 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14571 * emacs-lisp/cconv.el: New file.
14573 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14574 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14575 (byte-compile-initial-macro-environment):
14576 Handle declare-function here.
14577 (byte-compile--lexical-environment): New var.
14578 (byte-stack-ref, byte-stack-set, byte-discardN)
14579 (byte-discardN-preserve-tos): New lap codes.
14580 (byte-interactive-p): Don't use any more.
14581 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14583 (byte-compile-lapcode): Use them and handle new lap codes.
14584 (byte-compile-obsolete): Remove.
14585 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14586 (byte-compile-arglist-warn): Check late def of inlinable funs.
14587 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14588 since they should have been expanded by now.
14589 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14590 (byte-compile-from-buffer): Remove unused second arg.
14591 (byte-compile-preprocess): New function.
14592 (byte-compile-toplevel-file-form): New function to distinguish
14593 file-form calls from outside from file-form calls from hunk-handlers.
14594 (byte-compile-file-form): Simplify.
14595 (byte-compile-file-form-defsubst): Remove.
14596 (byte-compile-file-form-defmumble): Simplify now that
14597 byte-compile-lambda always returns a byte-code-function.
14598 (byte-compile): Preprocess.
14599 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14600 Remove, not used any more.
14601 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14602 (byte-compile-make-args-desc): New funs.
14603 (byte-compile-lambda): Handle lexical functions. Always return
14604 a byte-code-function.
14605 (byte-compile-reserved-constants): New var, to make up room for
14606 closed-over variables.
14607 (byte-compile-constants-vector): Obey it.
14608 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14609 (byte-compile-macroexpand-declare-function): New function.
14610 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14611 byte-code-functions.
14612 (byte-compile-form): Check obsolescence here.
14613 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14614 (byte-compile-variable-ref): Remove.
14615 (byte-compile-dynamic-variable-op): New fun.
14616 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14617 (byte-compile-variable-set): New funs.
14618 (byte-compile-discard): Add 2 args.
14619 (byte-compile-stack-ref, byte-compile-stack-set)
14620 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14621 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14622 macroexpand-all instead.
14623 (byte-compile-quote-form): Remove.
14624 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14625 (byte-compile-bind, byte-compile-unbind): New funs.
14626 (byte-compile-let): Handle let* and lexical binding.
14627 (byte-compile-let*): Remove.
14628 (byte-compile-catch, byte-compile-unwind-protect)
14629 (byte-compile-track-mouse, byte-compile-condition-case):
14630 Handle a new :fun-body form, used for lexical scoping.
14631 (byte-compile-save-window-excursion)
14632 (byte-compile-with-output-to-temp-buffer): Remove.
14633 (byte-compile-defun): Simplify.
14634 (byte-compile-stack-adjustment): New fun.
14635 (byte-compile-out): Use it.
14636 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14638 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14641 * emacs-lisp/byte-opt.el: Use lexical binding.
14642 (byte-inline-lapcode): Remove (to bytecomp).
14643 (byte-compile-inline-expand): Pay attention to inlining to/from
14644 lexically bound code.
14645 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14647 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14648 any more and don't call compiler-macros.
14649 (byte-compile-splice-in-already-compiled-code): Remove.
14650 (byte-code): Don't inline any more.
14651 (disassemble-offset): Receive `bytes' as argument rather than via
14653 (byte-compile-tag-number): Declare before first use.
14654 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14655 `return' even if make-spliceable.
14656 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14657 obsolete interactive-p.
14658 (byte-optimize-lapcode): Optimize new lap-codes.
14659 Don't trip up on new form of `byte-constant' lap code.
14661 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14663 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14665 * custom.el (custom-initialize-default, custom-declare-variable):
14668 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14670 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14671 (COMPILE_FIRST): Add macroexp and cconv.
14672 * makefile.w32-in: Mirror changes in Makefile.in.
14674 * vc/cvs-status.el:
14678 * vc/smerge-mode.el:
14679 * textmodes/bibtex-style.el:
14680 * textmodes/css.el:
14688 * emacs-lisp/smie.el:
14691 * abbrev.el: Use lexical binding.
14693 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14695 * info.el (info-display-manual): New function.
14697 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14699 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14701 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14703 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14704 an entry for that server in rcirc-authinfo. (Bug#8385)
14706 2011-03-31 Glenn Morris <rgm@gnu.org>
14708 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14710 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14712 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14714 * progmodes/python.el (python-default-interpreter)
14715 (python-python-command-args, python-jython-command-args)
14716 (python-which-shell, python-which-args, python-which-bufname)
14717 (python-file-queue, python-comint-output-filter-function)
14718 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14719 variables and functions.
14721 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14723 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14724 (completion-in-region-mode): New minor mode.
14725 (completion-in-region): Use it.
14726 (completion-in-region--data, completion-in-region-mode-map): New vars.
14727 (completion-in-region--postch): New function.
14728 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14730 (completion--capf-wrapper): New function.
14731 (completion-at-point): Use it to track well-behavedness of
14733 (completion-help-at-point): New command.
14735 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14737 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14738 syntax class to search for whitespace on a single line
14739 (Message-ID: <4D938140.4030905@redhat.com>).
14741 2011-03-30 Leo Liu <sdl.web@gmail.com>
14743 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14745 (edit-abbrevs-map): Bind them here.
14746 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14748 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14750 * allout.el (allout-hide-by-annotation, allout-flag-region):
14751 Reduce possibility of overlay leakage by making them volatile.
14753 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14754 hash is not shared between buffers. Mode initialization is
14755 responsible for giving it a useful starting value.
14756 (allout-item-span): Reduce possibility of overlay leakage by
14757 making them volatile.
14758 (allout-widgets-count-buttons-in-region): Add diagnostic function
14759 for tracking down button overlay leaks.
14761 2011-03-29 Leo Liu <sdl.web@gmail.com>
14763 * ido.el (ido-read-internal): Use the default history var
14764 minibuffer-history if no HISTORY is specified.
14766 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14768 * net/imap.el (imap-shell-open, imap-process-connection-type):
14769 Use imap-process-connection-type for 'shell' streams as well as
14770 Kerberos, SSL, other subprocesses.
14772 2011-03-28 Leo Liu <sdl.web@gmail.com>
14774 * abbrev.el (abbrev-table-empty-p): New function.
14775 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14776 nonempty ones. (Bug#5937)
14778 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14780 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14782 2011-03-27 Leo Liu <sdl.web@gmail.com>
14784 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14785 for foreground and background colors.
14786 (ansi-color-make-color-map): Adapt.
14788 2011-03-25 Leo Liu <sdl.web@gmail.com>
14790 * midnight.el (midnight-time-float): Remove. Note it calculates
14791 the microsecond component incorrectly and seconds-to-time does the
14793 Remove redundant (require 'timer).
14795 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14796 (ido-completions): Remove unused arguments. (Bug#8329)
14798 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14800 * minibuffer.el (completion--flush-all-sorted-completions):
14801 Remove itself from hook.
14802 (completion-at-point): Let the functions perform the completion
14803 immediately and return nil or t.
14804 * comint.el (comint-dynamic-complete-functions): Now identical to
14805 completion-at-point-functions.
14806 (comint-dynamic-list-input-ring): Remove unused var `index'.
14807 (comint--match-partial-filename, comint--unquote&expand-filename):
14808 New funs, split from comint-match-partial-filename.
14809 (comint-dynamic-complete): Use completion-at-point.
14810 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14812 2011-03-24 Drew Adams <drew.adams@oracle.com>
14814 * thingatpt.el: Support `defun'.
14816 2011-03-23 Leo Liu <sdl.web@gmail.com>
14818 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14820 * help-mode.el (help-mode-finish): Tweak regexp.
14822 2011-03-23 Glenn Morris <rgm@gnu.org>
14824 * eshell/esh-opt.el (eshell-eval-using-options):
14825 Do not bind unused local variable `eshell-option-stub'.
14827 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14829 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14831 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14832 keymap variable in `with-no-warnings' to avoid a warning when the
14833 keymap has been already `defconst'ed.
14835 2011-03-22 Leo Liu <sdl.web@gmail.com>
14837 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14838 encode all chars in abbrevs; otherwise use emacs-mule or
14839 utf-8-emacs. (Bug#8308)
14841 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14843 * simple.el (backward-delete-char-untabify):
14844 Avoid warning about using `delete-backward-char'.
14846 * image.el (image-type-file-name-regexps): Make it variable.
14847 `imagemagick-register-types' modifies it, and the user may want
14848 to add new extensions for known image types.
14849 (imagemagick-register-types): Throw error if not using ImageMagick.
14851 2011-03-22 Leo Liu <sdl.web@gmail.com>
14853 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14854 located before rcirc-prompt-end-marker.
14855 (rcirc-complete): Error if point is not after rcirc prompt.
14856 Handle the case when table is nil.
14857 (rcirc-user-authenticated): Define to fix compiler warning.
14859 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14861 * custom.el (custom--inhibit-theme-enable): Make it affect only
14862 custom-theme-set-variables and custom-theme-set-faces.
14863 (provide-theme): Ignore custom--inhibit-theme-enable.
14864 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14865 (custom-enabling-themes): Delete variable.
14866 (enable-theme): Accept only loaded themes as arguments.
14867 Ignore the special custom-enabled-themes variable.
14868 (custom-enabled-themes): Forbid themes from setting this.
14869 Eliminate use of custom-enabling-themes.
14870 (custom-push-theme): Quote "changed" custom var entry.
14872 2011-03-21 Leo Liu <sdl.web@gmail.com>
14874 * ido.el (ido-read-internal): Add ido-selected to history instead
14877 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14879 * subr.el (deferred-action-list, deferred-action-function):
14882 2011-03-21 Leo Liu <sdl.web@gmail.com>
14884 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14885 change on 2011-02-13 (bug#8309).
14887 * minibuffer.el (read-file-name-function): Change default value.
14888 (read-file-name--defaults): Rename from read-file-name-defaults.
14889 (read-file-name-default): Rename from read-file-name.
14890 (read-file-name): Call read-file-name-function.
14892 2011-03-21 Glenn Morris <rgm@gnu.org>
14894 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14897 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14899 * cus-theme.el: Add missing provide statement.
14900 (customize-create-theme): Extract theme value correctly.
14901 (custom-theme-visit-theme): Autoload.
14902 (customize-create-theme): Prompt before inserting default faces.
14904 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14906 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14907 units and musical notes.
14909 2011-03-20 Leo Liu <sdl.web@gmail.com>
14911 * ido.el (ido-read-internal): Use completing-read-default.
14912 (ido-completing-read): Fix compatibility with completing-read.
14914 2011-03-20 Christian Ohler <ohler@gnu.org>
14916 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14917 (ert-delete-all-tests): Use `called-interactively-p' rather than
14919 (ert--make-xrefs-region): Respect END.
14921 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14923 * dired-aux.el (dired-create-directory): Signal an error if the
14924 directory already exists (Bug#8246).
14926 * facemenu.el (list-colors-display): Call list-faces-display
14927 inside with-help-window.
14928 (list-colors-print): Use display property to align the final
14929 column, instead of checking window-width.
14931 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14933 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14934 windows-nt systems.
14935 (emerge-protect-metachars): Quote correctly for ms-dos and
14936 windows-nt systems.
14938 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14940 * info.el (info-initialize): Replace all uses of `:' with
14941 path-separator for compatibility with non-Unix systems.
14942 Cache quoting of path-separator. (Bug#8258)
14944 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14946 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14947 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14948 (mouse-avoidance-mode): Fix typos in docstrings.
14950 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14952 * startup.el (package-subdirectory-regexp): Move from package.el.
14953 Omit \\` and \\', and let callers add them.
14955 * emacs-lisp/package.el (package-strip-version)
14956 (package-load-all-descriptors): Add \\` and \\' to
14957 package-subdirectory-regexp before using it.
14958 (package-untar-buffer): New arg DIR; ensure that file untars only
14959 into this expected directory. Remove superfluous delete-region.
14960 (package-unpack): Caller changed.
14961 (package-tar-file-info): Use package-subdirectory-regexp.
14963 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14965 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14966 diff-mode-shared-map (bug#8284).
14967 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14969 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14971 * calendar/time-date.el (format-seconds): Use assoc instead of
14972 assoc-string, since assoc-string doesn't exist in XEmacs.
14974 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14976 * custom.el (custom-known-themes): Reflow docstring.
14977 (custom-theme-load-path): Fix typo in docstring.
14978 (load-theme): Fix typo in error message.
14979 (custom-available-themes, custom-variable-theme-value):
14980 Use `let', not `let*'.
14982 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14984 * calc/README: Mention inclusion of musical notes.
14986 * calc/calc-units.el (calc-lu-quant): Rename from
14987 `calc-logunits-quantity'.
14988 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14989 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14990 (calc-db): Rename from `calc-dblevel'.
14991 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14992 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14993 (calc-np): Rename from `calc-nplevel'.
14994 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14995 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14996 (calc-lu-plus): Rename from `calc-logunits-add'.
14997 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14998 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14999 (calc-lu-minus): Rename from `calc-logunits-sub'.
15000 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15001 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15002 (calc-lu-times): Rename from `calc-logunits-mul'.
15003 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15004 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15005 (calc-lu-divide): Rename from `calc-logunits-div'.
15006 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15007 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15009 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15010 functions being autoloaded.
15012 * calc/calc.el (calc-lu-power-reference): Rename from
15013 `calc-logunits-power-reference'.
15014 (calc-lu-field-reference): Rename from
15015 `calc-logunits-field-reference'.
15017 * calc/calc-help.el (calc-l-prefix-help):
15018 Mention musical note functions.
15020 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15022 * minibuffer.el (completion-all-sorted-completions):
15023 Use :completion-cycle-penalty text property if present.
15025 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15027 * allout.el (allout-yank-processing): Adjust for new rebulleting
15028 regime so bullet being yanked is used without prompting the user
15031 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15033 * startup.el (command-line): Warn the user that _emacs is deprecated.
15035 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15037 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15038 (delphi-verbose, delphi-comment-face, delphi-string-face)
15039 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15040 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15041 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15042 (delphi-new-comment-line, delphi-font-lock-defaults)
15043 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15044 Fix typos in docstrings.
15046 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15048 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15049 Invert the roles of character and string values for INSTEAD, so a
15050 string is used for the more common case of a defaulting prompt.
15052 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15054 * progmodes/ruby-mode.el (ruby-backward-sexp):
15055 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15056 * play/gamegrid.el (gamegrid-make-face):
15057 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15058 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15059 * notifications.el (notifications-notify):
15060 * net/xesam.el (xesam-search-engines):
15061 * net/quickurl.el (quickurl-list-insert):
15062 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15064 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15066 * startup.el (command-line): Update package subdirectory regexp.
15068 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15070 * allout.el (allout-abbreviate-flattened-numbering)
15071 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15073 * subr.el (read-char-choice): Only show the cursor after the prompt,
15074 not after the answer.
15076 2011-03-15 Kevin Ryde <user42@zip.com.au>
15078 * help-fns.el (variable-at-point): Skip leading quotes, if any
15081 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15083 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15086 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15088 * shell.el (shell): When called interactively, offer to change the
15089 shell file name on remote hosts.
15091 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15093 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15094 integration for LDAP parameters. The host, base, user or binddn,
15095 and secret tokens can be specified in a netrc file, for instance.
15096 This is optional because an `auth-source' parameter must be
15097 specified in the search attributes.
15099 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15101 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15103 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15105 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15106 into declaration. Remove redundant and harmful binding.
15108 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15110 * files.el (file-ownership-preserved-p): Pass `integer' as an
15111 explicit 2nd argument to `file-attributes'. If the file's owner
15112 is the Administrators group on Windows, and the current user is
15113 Administrator, consider that a match.
15115 * server.el (server-ensure-safe-dir): Consider server directory
15116 safe on MS-Windows if its owner is the Administrators group while
15117 the current Emacs user is Administrator. Use `=' to compare
15118 numerical UIDs, since they could be integers or floats.
15120 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15122 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15124 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15126 Sync with Tramp 2.2.1.
15128 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15130 * net/trampver.el: Update release number.
15132 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15134 * progmodes/compile.el (compilation--previous-directory): Fix up
15135 various nil/dead-marker mismatches (bug#8014).
15136 (compilation-directory-properties, compilation-error-properties):
15137 Don't call it at a position past the one we're about to change.
15139 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15140 Disable obsolescence warnings in the file that declares it.
15142 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15144 * allout-widgets.el (allout-widgets-tally):
15145 Initialize allout-widgets-tally as a hash table rather than nil to
15146 prevent mode-line redisplay warnings. Also, clarify the module
15147 description and fix a comment typo.
15149 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15151 * help-fns.el (describe-variable): Don't complete keywords.
15152 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15154 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15156 * emacs-lisp/package.el (package-version-join): Impose a standard
15157 string representation for pre/alpha/beta version lists.
15158 (package-unpack-single): Standardize the directory name by passing
15159 it through package-version-join.
15160 (package-strip-rcs-id): Accept any version string that does not
15161 signal an error in version-to-list.
15163 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15165 * simple.el (delete-trailing-whitespace): Return nil for the
15166 benefit of `write-file-functions'.
15168 2011-03-10 Glenn Morris <rgm@gnu.org>
15170 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15172 * vc/vc-git.el (vc-git-program): New option.
15173 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15174 (vc-git--call): Use it.
15176 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15178 * cus-edit.el (Custom-newline): If no button at point, look
15179 for a subgroup button at start-of-line. (Bug#2298)
15181 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15183 2011-03-10 Julien Danjou <julien@danjou.info>
15185 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15186 `cursor-type' is nil.
15188 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15190 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15192 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15194 * allout.el: Change so yank of distinctive-bullet items
15195 preserves the existing header prefix, rebulleting it if necessary,
15196 rather than replacing it. This is necessary for proper operation
15197 of cooperative addons like allout-widgets.
15198 (allout-make-topic-prefix, allout-rebullet-heading):
15199 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15200 value as alternate bullet to be used, instead of prompting the user
15201 for a bullet character.
15203 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15205 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15206 Do not use `tramp-file-name-port', because this returns also
15207 `tramp-default-port'.
15209 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15211 * net/rcirc.el (rcirc-handler-001): Remove useless
15212 with-rcirc-process-buffer.
15213 (rcirc-check-auth-status): Swap arguments to string-match.
15215 2011-03-09 Glenn Morris <rgm@gnu.org>
15217 * shell.el (shell-mode):
15218 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15220 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15221 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15223 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15225 * emacs-lisp/package.el (package-refresh-contents)
15226 (package-menu-execute): Use condition-case-no-debug.
15228 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15230 * simple.el (shell-command-to-string): Use `process-file'.
15232 * emacs-lisp/package.el (package-tar-file-info): Handle also
15235 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15236 Use `equal' for upload base check.
15238 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15240 * textmodes/texinfo.el (texinfo-environments):
15241 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15243 2011-03-08 Glenn Morris <rgm@gnu.org>
15245 * cus-start.el (cursor-in-non-selected-windows):
15246 Fix :set quoting oddness. (Bug#8192)
15248 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15249 in some setf expressions. (Bug#2159)
15251 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15253 * custom.el (custom-available-themes): Return themes in
15254 alphabetical order.
15256 See ChangeLog.15 for earlier changes.
15258 ;; Local Variables:
15262 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15264 This file is part of GNU Emacs.
15266 GNU Emacs is free software: you can redistribute it and/or modify
15267 it under the terms of the GNU General Public License as published by
15268 the Free Software Foundation, either version 3 of the License, or
15269 (at your option) any later version.
15271 GNU Emacs is distributed in the hope that it will be useful,
15272 but WITHOUT ANY WARRANTY; without even the implied warranty of
15273 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15274 GNU General Public License for more details.
15276 You should have received a copy of the GNU General Public License
15277 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.