1 2012-05-29 Juri Linkov <juri@jurta.org>
3 * isearch.el (isearch-mode-map): Bind `M-s _' to
4 `isearch-toggle-symbol'. Bind `M-s c' to
5 `isearch-toggle-case-fold'.
6 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7 (isearch-forward): Add `M-s _' to the docstring.
8 (isearch-forward-symbol, isearch-toggle-case-fold)
9 (isearch-symbol-regexp): New functions. (Bug#11381)
11 2012-05-29 Juri Linkov <juri@jurta.org>
13 * isearch.el (isearch-word): Add docstring. (Bug#11381)
14 (isearch-occur, isearch-search-and-update): If `isearch-word' is
15 a function, call it to get the regexp.
16 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
17 property `isearch-message-prefix' instead of the string "word ".
18 (isearch-search-fun-default): For the case of `isearch-word',
19 return a lambda that calls re-search-forward/re-search-backward
20 with a regexp returned by `word-search-regexp' or by the function
23 2012-05-29 Juri Linkov <juri@jurta.org>
25 * isearch.el (isearch-search-fun-default): New function.
26 (isearch-search-fun): Move default part to the new function
27 `isearch-search-fun-default'.
28 (isearch-search-fun-function): Set the default value to
29 `isearch-search-fun-default'. (Bug#11381)
31 * comint.el (comint-history-isearch-end):
32 Use `isearch-search-fun-default'.
33 (comint-history-isearch-search): Use `isearch-search-fun-default'
34 and remove spacial case for `isearch-word'.
35 (comint-history-isearch-wrap): Remove spacial case for
38 * hexl.el (hexl-isearch-search-function):
39 Use `isearch-search-fun-default'.
41 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
42 Use `word-search-regexp' for `isearch-word'.
44 * misearch.el (multi-isearch-search-fun):
45 Use `isearch-search-fun-default'.
47 * simple.el (minibuffer-history-isearch-search):
48 Use `isearch-search-fun-default' and remove spacial case for
50 (minibuffer-history-isearch-wrap): Remove spacial case for
53 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
54 Remove spacial case for `isearch-word'.
55 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
57 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
59 Decrease XEmacs incompatibilities.
60 * textmodes/flyspell.el (flyspell-check-pre-word-p):
62 (flyspell-delete-region-overlays): Use alternative definition for
64 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
65 (flyspell-word): Use `process-kill-without-query' if XEmacs.
66 (flyspell-mode-on): Use `interactive-p' if XEmacs.
67 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
68 `define-obsolete-face-alias' under XEmacs, but old method.
70 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
71 `with-no-warnings' definition or Emacs alias.
72 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
73 (ispell-word): Do not use `region-p' if XEmacs.
75 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
77 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
78 Check for `ispell-dictionary-base-alist' instead of full
79 `ispell-dictionary-alist'.
80 (ispell-init-process): Show spellchecker when starting new Ispell
83 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
85 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
86 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
88 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
90 * version.el (motif-version-string, gtk-version-string)
91 (ns-version-string): Declare.
93 2012-05-27 Juri Linkov <juri@jurta.org>
95 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
96 after the `eval-defun-1' specialcaseing
97 like in `edebug-eval-defun' (bug#10181).
99 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
100 like in `eval-defun-1'.
102 2012-05-27 Eli Zaretskii <eliz@gnu.org>
104 * mail/sendmail.el (mail-yank-region):
105 Recognize rmail-yank-current-message in addition to insert-buffer.
106 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
107 a *mail* buffer created through rmail-start-mail with sendmail as
110 2012-05-27 Chong Yidong <cyd@gnu.org>
112 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
113 Default to 256 (Bug#11267).
115 * help.el (describe-mode): Doc fix.
117 2012-05-26 Glenn Morris <rgm@gnu.org>
119 * w32-fns.el (w32-init-info): Remove.
120 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
122 * info.el (info-initialize): For self-contained NS builds, put the
123 included info/ directory at the front. (Bug#2791)
125 * paths.el (Info-default-directory-list): Make it a defcustom,
126 mainly so that we can use custom-initialize-delay.
128 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
130 * subr.el (buffer-has-markers-at): Mark obsolete.
132 * subr.el (lambda): Use declare.
134 * emacs-lisp/lisp-mode.el (lambda):
135 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
137 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
139 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
141 2012-05-26 Glenn Morris <rgm@gnu.org>
143 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
145 2012-05-25 Glenn Morris <rgm@gnu.org>
147 * paths.el: Remove no-byte-compile.
148 * loadup.el: No need to load paths.el uncompiled.
150 * image.el (imagemagick-types-inhibit): Doc fix.
152 * version.el: Remove no-byte-compile and associated formatting.
153 * loadup.el: No need to load version.el uncompiled. AFAICS, this
154 is ancient code from when there was an "inc-vers.el".
156 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
158 * progmodes/gdb-mi.el: Minor style changes.
159 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
160 Turn into minor modes.
161 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
162 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
163 (gdb-shell): Remove unneeded let-binding.
164 (gdb-get-many-fields): Eliminate O(n²) behavior.
166 2012-05-25 Eli Zaretskii <eliz@gnu.org>
168 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
169 platforms that don't link in fontset.c.
171 2012-05-25 Juri Linkov <juri@jurta.org>
173 Use the same diff color scheme as in modern VCSes (bug#10181).
175 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
176 to avoid confusion with `diff-added' that now uses green colors.
177 (diff-removed): Use shades of red.
178 (diff-added): Use shades of green.
179 (diff-changed): Leave just the yellow color.
180 (diff-use-changed-face): New variable.
181 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
182 how to highlight context diff changes.
183 (diff-refine-change): Use shades of yellow.
184 (diff-refine-removed): New face that uses shades of red.
185 (diff-refine-added): New face that uses shades of green.
186 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
187 `diff-refine-removed' in the call to `smerge-refine-subst'
188 depending on the value of `diff-use-changed-face'.
190 * vc/smerge-mode.el (smerge-mine): Use shades of red.
191 (smerge-other): Use shades of green.
192 (smerge-base): Use shades of yellow.
193 (smerge-refined-change): Empty face.
194 (smerge-refined-removed): New face that uses shades of red.
195 (smerge-refined-added): New face that uses shades of green.
196 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
197 args `props-r' and `props-a', and use them. Doc fix.
198 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
199 on its value use different faces `smerge-refined-change',
200 `smerge-refined-removed', `smerge-refined-added' in the call to
201 `smerge-refine-subst'.
203 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
204 Add face condition `min-colors 88' with shades of red.
205 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
206 `min-colors 88' with shades of green.
207 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
208 `min-colors 88' with shades of yellow.
210 2012-05-24 Glenn Morris <rgm@gnu.org>
212 * paths.el (prune-directory-list, remote-shell-program): Move to...
213 * files.el (prune-directory-list, remote-shell-program): ...here.
214 For the latter, delay initialization, prefer ssh, just search PATH.
216 * paths.el (term-file-prefix): Move to faces.el (the only user).
217 * faces.el (term-file-prefix): Move here, make it a defcustom.
219 * paths.el (news-directory, news-path, news-inews-program):
220 Move to gnus/nnspool.el.
222 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
224 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
225 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
226 Make the latter a defcustom, with a delayed initialization.
228 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
229 These were deleted from Gnus itself late 2010.
231 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
233 * progmodes/which-func.el (which-func-ff-hook):
234 Check against user-error, not error.
236 * emacs-lisp/edebug.el (top): Do not load or set up loading of
237 cl-specs.el, which no longer exists.
239 2012-05-22 Glenn Morris <rgm@gnu.org>
241 * info.el (info-emacs-bug): New command.
242 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
243 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
245 2012-05-21 Glenn Morris <rgm@gnu.org>
247 * makefile.w32-in (update-subdirs-SH):
248 * Makefile.in (update-subdirs): Update for moved update-subdirs.
250 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
252 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
254 * progmodes/compile.el (compilation-error-regexp-alist-alist):
255 Simplify Maven regexp, and make sure the file can't start with a space
258 2012-05-21 Glenn Morris <rgm@gnu.org>
260 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
261 Scrap superfluous subshells.
263 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
265 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
266 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
268 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
270 * calc/calc.el (calc-ensure-consistent-units): New variable.
272 * calc/calc-units.el (math-consistent-units-p)
273 (math-check-unit-consistency): New functions.
274 (calc-quick-units, calc-convert-units):
275 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
277 (calc-extract-units): Fix typo.
279 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
281 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
283 * textmodes/flyspell.el: Commenting style, plus code simplifications.
284 (flyspell-default-deplacement-commands): Don't spell check after
285 repeated window/frame switches (e.g. triggered by mouse-movement).
286 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
287 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
288 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
289 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
291 (flyspell-get-casechars, flyspell-get-not-casechars):
292 Simplify; Don't bother removing a ] just to add it back.
293 * textmodes/ispell.el (ispell-program-name): Use executable-find.
295 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
297 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
299 (math-function-table): Add support for more C functions.
301 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
303 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
304 (flyspell-debug-signal-word-checked): Protect delay handling for
305 otherchars against empty otherchars.
307 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
309 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
310 their respective macro declarations.
311 * skeleton.el (define-skeleton):
312 * progmodes/compile.el (define-compilation-mode):
313 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
314 (define-ibuffer-filter):
315 * emacs-lisp/generic.el (define-generic-mode):
316 * emacs-lisp/easy-mmode.el (define-minor-mode)
317 (define-globalized-minor-mode):
318 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
319 * emacs-lisp/byte-run.el (defsubst):
320 * custom.el (deftheme): Add doc-string metadata.
322 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
324 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
326 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
328 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
330 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
331 * emacs-lisp/cl-macs.el: Idem.
332 * emacs-lisp/cl-specs.el: Remove.
334 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
336 Minor renaming of internal CL functions and variables.
337 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
338 (cl--position): Rename from cl-position.
339 (cl--delete-duplicates): Rename from cl-delete-duplicates.
340 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
341 (cl--random-state): Rename from *random-state*.
343 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
345 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
346 parens around the arg list (bug#11499).
348 2012-05-17 Juri Linkov <juri@jurta.org>
350 * isearch.el (word-search-regexp, word-search-backward)
351 (word-search-forward, word-search-backward-lax)
352 (word-search-forward-lax): Move functions from search.c
353 (bug#10145, bug#11381).
355 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
357 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
358 (flyspell-debug-signal-word-checked): Delay for otherchars as for
359 normal word components.
361 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
363 * minibuffer.el (completion--sifn-requote): Fix last change.
364 (minibuffer-local-must-match-filename-map):
365 Move define-obsolete-variable-alias before its var.
367 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
369 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
371 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
373 (completion--string-equal-p): New function.
374 (completion--twq-all): Use it to get better assertion failure data.
376 Only handle ".." and '..' quoting in shell-mode (bug#11466).
377 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
378 (shell--requote-argument): New functions.
379 (shell-completion-vars): Use them.
380 (shell--parse-pcomplete-arguments): Rename from
381 shell-parse-pcomplete-arguments.
382 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
383 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
384 Obey comint-file-name-quote-list.
386 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
387 (smie-indent-keyword): Use it.
389 2012-05-14 Stefan Merten <smerten@oekonux.de>
391 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
393 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
395 * net/rlogin.el (rlogin-mode-map): Fix last change.
397 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
399 * mail/smtpmail.el (smtpmail-send-command): Send the command and
400 the following \r\n using a single `process-send-string', since the
401 Lotus SMTP server refuses to accept any commands if they are sent
402 with two `process-send-string's (Bug#11444).
404 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
406 * shell.el (shell-parse-pcomplete-arguments):
407 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
409 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
411 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
412 (image-transform-scale, image-transform-right-angle-fudge): New vars.
413 (image-transform-width, image-transform-fit-width): New functions.
414 (image-transform-properties): Use them.
415 (image-transform-check-size): New function.
416 (image-toggle-display-image): Use it (for testing).
417 (image-transform-set-rotation): Reduce angle mod 360.
418 Delete obsolete comment.
420 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
422 * image-mode.el: Fix scaling (bug#11399).
423 (image-transform-resize): Doc fix.
424 (image-transform-properties): Default scale is 1 and height should
427 2012-05-13 Johan Bockgård <bojohan@gnu.org>
429 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
430 than hard-coding `car', to fix misbehavior when moving forward.
432 2012-05-13 Chong Yidong <cyd@gnu.org>
434 * emacs-lisp/tabulated-list.el (tabulated-list-format)
435 (tabulated-list-entries, tabulated-list-padding)
436 (tabulated-list-sort-key): Make permanent-local.
438 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
439 (electric-buffer-list): Put electric buffer menu
440 command descriptions in this docstring, instead of the docstring
441 of electric-buffer-menu-mode. Code cleanups.
442 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
443 Electric-buffer-menu-mode.
444 (electric-buffer-update-highlight): Minor code cleanup.
446 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
448 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
451 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
453 Move define-obsolete-variable-alias before the var's definition.
454 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
455 * tooltip.el (tooltip-hook):
456 * textmodes/reftex-toc.el (reftex-toc-map):
457 * textmodes/reftex-sel.el (reftex-select-label-map)
458 (reftex-select-bib-map):
459 * textmodes/reftex-index.el (reftex-index-map)
460 (reftex-index-phrases-map):
461 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
462 * progmodes/meta-mode.el (meta-mode-map):
463 * novice.el (disabled-command-hook):
464 * loadhist.el (unload-hook-features-list):
465 * frame.el (blink-cursor):
466 * files.el (find-file-not-found-hooks, write-file-hooks)
467 (write-contents-hooks):
468 * emulation/tpu-edt.el (GOLD-map):
469 * emacs-lock.el (emacs-lock-from-exiting):
470 * emacs-lisp/generic.el (generic-font-lock-defaults):
471 * emacs-lisp/chart.el (chart-map):
472 * dos-fns.el (register-name-alist):
473 * dired-x.el (dired-omit-files-p):
474 * desktop.el (desktop-enable):
475 * cus-edit.el (custom-mode-hook):
476 * buff-menu.el (buffer-menu-mode-hook):
477 * bookmark.el (bookmark-read-annotation-text-func)
478 (bookmark-exit-hooks):
479 * allout.el (allout-mode-deactivate-hook)
480 (allout-exposure-change-hook, allout-structure-added-hook)
481 (allout-structure-deleted-hook, allout-structure-shifted-hook):
482 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
483 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
484 comes before the corresponding variable's definition.
486 2012-05-12 Chong Yidong <cyd@gnu.org>
488 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
489 (Buffer-menu-mouse-select): Restore function (Bug#11459).
490 (Buffer-menu-mode-map): Bind it.
491 (Buffer-menu--pretty-name): Add a mouse-face property.
493 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
495 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
496 (prolog-upper-case-string, prolog-lower-case-string)
497 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
498 (prolog-use-smie, prolog-smie-grammar): New vars.
499 (prolog-smie-forward-token, prolog-smie-backward-token)
500 (prolog-smie-rules): New funs.
501 (prolog-comment-indent): Remove.
502 (prolog-mode-variables): Use default comment indentation instead.
504 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
505 (prolog-mode): Don't call them any more.
506 (prolog-electric-colon, prolog-electric-dash)
507 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
509 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
511 * minibuffer.el (completion--twq-all): Again, allow case differences.
513 * term.el: Move keymap initialization code to be more idiomatic.
514 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
515 (term-terminal-menu): Move initialization into declaration.
516 (term-escape-char): Let the user set it in her .emacs.
518 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
519 Provide SMIE-based indentation (not enabled by default yet).
520 (sh-mode-map): Don't bind electric keys.
521 Use electric-pair-mode instead of skeleton-pair.
522 (sh-assignment-regexp): Fit within 80 columns.
523 (sh-indent-supported): Specify actual shell name instead of boolean.
524 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
525 (sh-maybe-here-document): Use it. Make obsolete.
526 (sh-electric-here-document-mode) New minor mode.
527 (sh-mode): Use it. Don't set sh-indent-supported-here here.
528 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
529 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
530 (sh-smie-rc-grammar, sh-use-smie): New vars.
531 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
532 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
533 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
534 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
535 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
536 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
537 (sh-set-shell): Use smie-setup if requested.
539 * term.el (term-set-escape-char): Properly set term-escape-char.
540 See http://stackoverflow.com/questions/10524656.
542 2012-05-10 Chong Yidong <cyd@gnu.org>
544 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
545 Use url-generic-parse-url, and handle host names and Windows
547 (ffap-url-unwrap-remote): Use url-generic-parse-url.
548 (ffap-url-unwrap-remote): Accept list values, specifying a list of
549 URL schemes to work on.
550 (ffap--toggle-read-only): New function.
551 (ffap-read-only, ffap-read-only-other-window)
552 (ffap-read-only-other-frame): Use it.
553 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
554 necessary for ffap-url-unwrap-remote.
556 2012-05-10 Dave Abrahams <dave@boostpro.com>
558 * cus-start.el (create-lockfiles): Add it.
560 2012-05-09 Chong Yidong <cyd@gnu.org>
562 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
563 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
565 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
567 * shell.el (shell-completion-vars): Fix last change (bug#11348).
569 2012-05-09 Chong Yidong <cyd@gnu.org>
571 * ansi-color.el (ansi-color-process-output): Check for validity of
572 comint-last-output-start before using it. This avoids a bad
573 interaction with gdb-mi's input/output buffer.
575 2012-05-09 Glenn Morris <rgm@gnu.org>
577 * files.el (dir-locals-read-from-file):
578 Mention dir-locals in any error message.
580 2012-05-09 Chong Yidong <cyd@gnu.org>
582 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
585 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
586 variables into description.
588 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
590 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
591 shell-delimiter-argument-list (bug#11348).
592 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
594 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
596 * textmodes/rst.el: Silence byte-compiler warnings.
597 (rst-re-alist, rst-reset-section-caches): Move around.
598 (rst-re): Use `characterp', not `char-valid-p'.
599 (font-lock-beg, font-lock-end): Declare.
601 * progmodes/idlw-shell.el (specs): Remove reference to deleted
602 variable `idlwave-shell-activate-alt-keybindings' and simplify.
604 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
606 2012-05-08 Glenn Morris <rgm@gnu.org>
608 * files.el (auto-mode-alist): Treat ".make" like ".mk".
610 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
612 * vc/log-edit.el: Add GNU coding standards highlighting.
613 (log-edit-font-lock-gnu-style)
614 (log-edit-font-lock-gnu-keywords): New vars.
615 (log-edit-font-lock-keywords): New fun.
616 (log-edit-mode): Don't fold case in font-lock.
617 (log-edit-font-lock-keywords): Do not assume case-folding.
619 * imenu.el: Misc cleanup. Make docstrings out of comments.
621 (imenu--index-alist, imenu--last-menubar-index-alist)
622 (imenu-menubar-modified-tick): Use defvar-local.
623 (imenu--split-menu): Remove unused var.
624 (imenu--cleanup-seen): Declare as global.
625 (imenu--cleanup): Use dolist.
627 * subr.el (defvar-local): Add debug spec and doc-string position.
629 2012-05-08 Glenn Morris <rgm@gnu.org>
631 * lisp/language/burmese.el, language/cham.el, language/czech.el:
632 * language/english.el, language/georgian.el, language/greek.el:
633 * language/japanese.el, language/khmer.el, language/korean.el:
634 * language/lao.el, language/misc-lang.el, language/romanian.el:
635 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
636 * language/thai.el, language/utf-8-lang.el:
637 Remove no-byte-compile setting.
639 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
641 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
643 * progmodes/make-mode.el (makefile-browse):
644 Remove unnecessary interactive. (Bug#11324)
646 2012-05-07 Glenn Morris <rgm@gnu.org>
648 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
650 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
652 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
654 * loadup.el: Preload newcomment.el.
655 * newcomment.el: Move autoload-only code to toplevel.
657 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
658 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
659 Handle new :right-align column property.
660 (tabulated-list-print-col): Idem, plus use `display' text-property to
661 try and preserve alignment for variable pitch fonts.
663 2012-05-07 Chong Yidong <cyd@gnu.org>
665 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
666 (tabulated-list-use-header-line): New var.
667 (tabulated-list-init-header): Use it.
668 (tabulated-list-print-fake-header): New function.
669 (tabulated-list-print): Use it.
670 (tabulated-list-sort-button-map): Add non-header-line commands.
671 (tabulated-list-init-header): Add column name property to basic
673 (tabulated-list-col-sort): Handle non-header-line button case.
674 (tabulated-list--sort-by-column-name): Fix a corner case.
676 * buff-menu.el (list-buffers--refresh):
677 Handle Buffer-menu-use-header-line.
679 2012-05-06 Chong Yidong <cyd@gnu.org>
681 * buff-menu.el: Convert to Tabulated List mode.
682 (Buffer-menu-buffer+size-width): Make obsolete.
683 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
684 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
685 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
686 documentation into docstring of buffer-menu.
687 (Buffer-menu-toggle-files-only): Add an informative message.
688 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
689 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
690 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
691 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
692 (Buffer-menu-execute, Buffer-menu-select)
693 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
694 (Buffer-menu-bury): Use Tabulated List machinery.
695 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
696 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
698 (list-buffers--refresh): New function.
699 (list-buffers-noselect): Use it.
700 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
701 (Buffer-menu--pretty-file-name): New helper functions.
703 * loadup.el: Preload tabulated-list.
705 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
706 tabulated-list-sort-column.
707 (tabulated-list-init-header): Add the initial aligning space even
708 if tabulated-list-padding is zero.
710 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
712 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
713 whose cdr is not a cons cell correctly (bug#11038).
715 2012-05-06 Chong Yidong <cyd@gnu.org>
717 * emacs-lisp/tabulated-list.el (tabulated-list-format):
718 Accept additional plist in column descriptors.
719 (tabulated-list-init-header): Obey it.
720 (tabulated-list-get-entry): New function.
721 (tabulated-list-put-tag): Use it. Use string-width instead of
723 (tabulated-list--column-number): New function.
724 (tabulated-list-print): Use it.
725 (tabulated-list-print-col): New function.
726 Set `tabulated-list-column-name' property on each column's text.
727 (tabulated-list-print-entry): Use it.
728 (tabulated-list-delete-entry, tabulated-list-set-col):
730 (tabulated-list-sort-column): New command (Bug#11337).
732 * buff-menu.el (list-buffers): Move C-x C-b binding from
733 buff-menu.el to bindings.el.
735 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
736 :advertised-binding feature.
738 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
740 * progmodes/compile.el (compilation-internal-error-properties):
741 Calculate start position correctly when end-col is set but
742 end-line is not (Bug#11382).
744 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
746 * man.el (Man-unindent): Use text-property-default-nonsticky to
747 prevent untabify from inheriting face properties (Bug#11408).
749 2012-05-05 Glenn Morris <rgm@gnu.org>
751 * calendar/cal-html.el: Optionally include holidays in the output.
752 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
753 (cal-html-holidays): New option.
754 (cal-html-css-default): Add holiday entry.
755 (holiday-in-range): Autoload it.
756 (cal-html-htmlify-entry): Add optional class argument.
757 (cal-html-htmlify-list): Add optional holidays argument.
758 (cal-html-insert-agenda-days): Include holidays in the output.
759 (cal-html-one-month): Maybe include holidays.
761 * calendar/holidays.el (holiday-in-range):
762 Move here from cal-tex-list-holidays.
763 * calendar/cal-tex.el (cal-tex-list-holidays):
764 Make it an obsolete alias for holiday-in-range. Update all callers.
766 2012-05-05 Chong Yidong <cyd@gnu.org>
768 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
771 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
773 * files.el (file-auto-mode-skip): New var.
774 (set-auto-mode-1): Use it.
776 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
778 * repeat.el: Use lexical-binding.
779 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
780 (repeat-undo-count): Remove.
782 * progmodes/octave-mod.el (octave-abbrev-start):
783 * progmodes/f90.el (f90-abbrev-start):
784 * face-remap.el (text-scale-adjust):
785 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
787 * emacs-lisp/pcase.el (pcase--let*): New function.
788 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
790 (pcase--split-pred): Be more clever about ruling out overlap between
791 a predicate and some constant pattern.
792 (pcase--q1): Use `null' instead of (eq foo nil).
794 * subr.el (setq-local, defvar-local): New macros.
795 (kbd): Redefine as an alias.
796 (with-selected-window): Leave unrelated frames alone.
797 (set-temporary-overlay-map): New function.
799 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
801 * subr.el (user-error): New function.
802 * window.el (switch-to-buffer):
803 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
804 (smerge-match-conflict):
805 * simple.el (previous-matching-history-element)
806 (next-matching-history-element, goto-history-element, undo-more)
808 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
809 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
810 (next-file, tags-loop-scan, list-tags, complete-tag):
811 * progmodes/compile.el (compilation-loop):
812 * mouse.el (mouse-minibuffer-check):
813 * man.el (Man-bgproc-sentinel, Man-goto-page):
814 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
815 (Info-history-forward, Info-follow-reference, Info-menu)
816 (Info-extract-menu-item, Info-extract-menu-counting)
817 (Info-forward-node, Info-backward-node, Info-next-menu-item)
818 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
819 (Info-next-reference, Info-prev-reference, Info-index)
820 (Info-index-next, Info-follow-nearest-node)
821 (Info-copy-current-node-name):
822 * imenu.el (imenu--make-index-alist)
823 (imenu-default-create-index-function, imenu-add-to-menubar):
824 * files.el (basic-save-buffer, recover-file):
825 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
826 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
827 (checkdoc-message-text, checkdoc-defun):
828 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
829 * cus-edit.el (customize-changed-options, customize-rogue)
830 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
831 (custom-variable-mark-to-reset-standard)
832 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
834 * completion.el (check-completion-length):
835 * comint.el (comint-search-arg)
836 (comint-previous-matching-input-string-position)
837 (comint-previous-matching-input)
838 (comint-replace-by-expanded-history-before-point, comint-send-input)
839 (comint-copy-old-input, comint-backward-matching-input)
840 (comint-goto-process-mark, comint-set-process-mark):
841 * calendar/calendar.el (calendar-cursor-to-date): Use it.
842 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
844 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
846 * dabbrev.el (dabbrev--ignore-case-p): New function.
847 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
850 * files.el (automount-dir-prefix): Mark as obsolete.
852 2012-05-04 Glenn Morris <rgm@gnu.org>
854 * patcomp.el, play/bruce.el: Move to obsolete/.
856 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
859 * arc-mode.el (archive-unixdate):
860 * autoinsert.el (auto-insert-alist):
861 * calc/calc-forms.el (math-this-year):
862 * emacs-lisp/copyright.el (copyright-current-year)
863 (copyright-update-year, copyright):
864 * tar-mode.el (tar-clip-time-string):
865 * time.el (display-time-update):
866 Don't assume years have 4 digits.
868 2012-05-04 Chong Yidong <cyd@gnu.org>
870 * dos-w32.el (file-name-buffer-file-type-alist)
871 (direct-print-region-use-command-dot-com):
872 * ffap.el (ffap-menu-regexp):
873 * find-file.el (ff-special-constructs):
874 * follow.el (follow-debug):
875 * forms.el (forms--debug):
876 * iswitchb.el (iswitchb-all-frames):
877 * ido.el (ido-all-frames):
878 * emacs-lisp/timer.el (timer-max-repeats):
879 * mail/feedmail.el (feedmail-mail-send-hook)
880 (feedmail-mail-send-hook-queued):
881 * mail/footnote.el (footnote-signature-separator):
882 * mail/mailabbrev.el (mail-alias-separator-string)
883 (mail-abbrev-mode-regexp):
884 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
885 * progmodes/idlwave.el (idlwave-libinfo-file)
886 (idlwave-default-completion-case-is-down)
887 (idlwave-library-routines): Convert defvars to defcustoms.
889 * mail/rmail.el (rmail-decode-mime-charset):
890 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
891 (idlwave-shell-fix-inserted-breaks)
892 (idlwave-shell-activate-alt-keybindings)
893 (idlwave-shell-use-breakpoint-glyph):
894 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
896 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
898 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
900 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
902 * progmodes/verilog-mode.el (font-lock-keywords):
903 Fix mis-highligting auto. Reported by Craig Barner.
904 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
905 defines from global name space. Reported by Dan Dever.
906 (verilog-auto-reset, verilog-auto-reset-widths)
907 (verilog-auto-tieoff): Support using unbased numbers for
908 AUTORESET and AUTOTIEOFF.
909 (verilog-submit-bug-report): Update variable list.
910 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
911 parenthesis from not matching. Reported by Michael Rytting.
912 (verilog-auto-template-lint): Fix hash error when linting modules
913 with no used templates.
914 (verilog-warn, verilog-warn-error)
915 (verilog-warn-fatal): When non-interactive report multiple
916 warnings before exiting. Suggested by Brad Dobbie.
917 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
918 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
919 to report unused template errors. Reported by Brad Dobbie.
920 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
921 nets, bug438. Reported by Vns Blore.
922 (verilog-auto-inout-module, verilog-auto-reg)
923 (verilog-read-decls, verilog-read-sub-decls-sig)
924 (verilog-signals-edit-wire-reg, verilog-signals-with):
925 Fix passing of Verilog data types in ANSI input/output ports
926 such as "output logic" into the AUTOs. Special case "wire" and
927 "reg" for backwards compatibility presuming Verilog 2001.
928 (verilog-auto-ascii-enum): Add "auto enum" as alias.
929 (verilog-preprocess): Fix replication of preprocess output.
930 Reported by Brad Dobbie.
931 (verilog-auto-inst-interfaced-ports):
932 Create verilog-auto-inst-interfaced-ports, bug429.
933 Reported by Julian Gorfajn.
934 (verilog-after-save-font-hook)
935 (verilog-before-save-font-hook): New variable.
936 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
937 (verilog-save-font-mods): Wrap disabling fontification, reported
939 (verilog-do-indent, verilog-pretty-declarations-auto)
940 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
941 Reported by Pierre-David Pfister.
942 (verilog-set-auto-endcomments): Fix endtask auto comments outside
943 of class declarations, bug292. Reported by Kevin Heilman.
944 (verilog-read-decls): Fix 'parameter type' not appearing in
945 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
946 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
947 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
948 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
949 Reported by David Kravitz.
951 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
953 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
954 assignment with tests in ifs and for loops.
955 (verilog-extended-complete-re, verilog-complete-reg): Change so
956 that DPI inport functions don't look like fuction declarations.
957 (verilog-pretty-expr): Don't line up assignment
958 operations to the test and increment in if and for loops
959 (verilog-extended-complete-re, verilog-complete-reg): Change so
960 that DPI inport functions don't look like fuction declarations
962 2012-05-03 Kenichi Handa <handa@m17n.org>
964 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
965 decoding, and show a warning message without signaling an error
968 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
970 * emacs-lisp/bytecomp.el
971 (byte-compile-file-form-custom-declare-variable): Compile all elements,
972 since cconv.el might have introduced :fun-body, internal-make-closure,
973 and friends for bytecomp to handle (bug#11391).
974 * custom.el (defcustom): Avoid ((λ ..) ..).
976 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
978 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
980 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
982 * notifications.el (dbus-debug):
983 * term/linux.el (gpm-mouse-enable):
984 * term/screen.el (xterm-register-default-colors): Declare.
986 2012-05-02 Chong Yidong <cyd@gnu.org>
988 * cus-start.el (gc-cons-percentage, exec-suffixes)
989 (dos-display-scancodes, dos-hyper-key, dos-super-key)
990 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
991 (make-cursor-line-fully-visible, void-text-area-pointer)
992 (font-list-limit): Add customization data.
994 * allout.el (allout-exposure-change-functions)
995 (allout-structure-added-functions)
996 (allout-structure-deleted-functions)
997 (allout-structure-shifted-functions): Rename abnormal hooks from
998 *-hook, and convert to defcustoms.
999 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1000 Convert to defcustoms.
1001 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1003 * allout-widgets.el: Hook callers changed.
1005 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1007 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1008 the yanked message in preference to the default value of
1009 buffer-file-coding-system.
1011 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1013 * window.el (display-buffer--action-function-custom-type):
1016 2012-05-02 Alan Mackenzie <acm@muc.de>
1018 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1020 2012-05-01 Glenn Morris <rgm@gnu.org>
1022 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1024 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1026 * cus-edit.el (custom-variable-documentation): Simplify with format.
1028 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1029 Stefan Monnier <monnier@iro.umontreal.ca>
1031 * simple.el (suggest-key-bindings, execute-extended-command):
1032 Move from keyboard.c.
1034 2012-05-01 Chong Yidong <cyd@gnu.org>
1036 * follow.el: Eliminate advice.
1037 (set-process-filter, process-filter, sit-for): Advice deleted.
1038 (follow-mode-off-hook): Obsolete hook removed.
1039 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1041 (follow-auto): Use a :set function.
1042 (follow-mode): Rewritten. Don't advise process filters.
1043 (follow-switch-to-current-buffer-all, follow-scroll-up)
1044 (follow-scroll-down): Assume follow-mode is bound.
1045 (follow-comint-scroll-to-bottom)
1046 (follow-align-compilation-windows): New functions.
1047 (follow--window-sorter): New function.
1048 (follow-all-followers): Use it to explicitly sort windows by their
1049 positions; don't make assumptions about next-window order.
1050 (follow-windows-start-end, follow-delete-other-windows-and-split)
1051 (follow-calc-win-start): Doc fix.
1052 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1053 vertical-motion unnecessarily.
1054 (follow-adjust-window): New function.
1055 (follow-post-command-hook): Use it.
1056 (follow-call-set-process-filter, follow-call-process-filter)
1057 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1058 (follow-stop-intercept-process-output, follow-generic-filter):
1060 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1061 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1062 New functions, replacing advice on scroll-bar-* commands.
1063 (follow-mwheel-scroll): New function (Bug#4112).
1065 * comint.el (comint-adjust-point): New function.
1066 (comint-postoutput-scroll-to-bottom): Use it.
1067 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1069 2012-05-01 Glenn Morris <rgm@gnu.org>
1071 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1072 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1073 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1074 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1075 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1076 Remove no-byte-compile setting.
1078 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1080 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1081 all-completions code to not return a number in the last cdr.
1083 2012-04-30 Leo Liu <sdl.web@gmail.com>
1085 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1088 2012-04-29 Chong Yidong <cyd@gnu.org>
1090 * follow.el (follow-calc-win-end): Rewrite to handle partial
1091 screen lines correctly (Bug#8390).
1092 (follow-avoid-tail-recenter): Minor cleanup.
1094 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1096 Avoid the obsolete `assoc' package.
1097 * speedbar.el (speedbar-refresh): Avoid adelete.
1098 (speedbar-file-lists): Simplify and avoid aput.
1099 * man.el (Man--sections, Man--refpages): New vars, replacing
1100 Man-sections-alist and Man-refpages-alist.
1101 (Man-build-section-alist, Man-build-references-alist):
1102 Use them; avoid aput.
1103 (Man--last-section, Man--last-refpage): New vars.
1104 (Man-follow-manual-reference): Use them.
1105 Use the `default' arg of completing-read.
1106 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1108 2012-04-27 Chong Yidong <cyd@gnu.org>
1110 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1112 * startup.el (x-apply-session-resources): New function.
1114 * term/ns-win.el (ns-initialize-window-system):
1115 * term/w32-win.el (w32-initialize-window-system):
1116 * term/x-win.el (x-initialize-window-system): Use it to properly
1117 set menu-bar-mode and other vars from X resources, even if the
1118 initial frame is not a window-system frame (Bug#2299).
1120 * subr.el (read-key): Avoid running filter function when setting
1121 up temporary tool bar entries (Bug#9922).
1123 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1125 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1128 2012-04-27 Chong Yidong <cyd@gnu.org>
1130 * select.el (xselect--encode-string): New function, split from
1131 xselect-convert-to-string.
1132 (xselect-convert-to-string): Use it.
1133 (xselect-convert-to-filename, xselect-convert-to-os)
1134 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1135 returned strings are properly encoded (Bug#11315).
1137 2012-04-27 Chong Yidong <cyd@gnu.org>
1139 * simple.el (delete-active-region): Move to killing custom group.
1141 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1143 * progmodes/which-func.el (which-func-current): Quote %
1144 characters for mode-line processing.
1146 2012-04-27 Chong Yidong <cyd@gnu.org>
1148 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1149 reaching eob (Bug#11286).
1151 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1153 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1154 (gdb): Make it buffer-local and init to zero.
1155 (gdb-control-commands-regexp): New variable.
1156 (gdb-send): Don't wrap in "-interpreter-exec console" if
1157 gdb-control-level is positive. Increment gdb-control-level
1158 whenever the command matches gdb-control-commands-regexp, and
1159 decrement it each time the command is "end". (Bug#11279)
1161 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1163 * window.el (adjust-window-trailing-edge, enlarge-window)
1164 (shrink-window, window-resize):
1165 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1166 windows (Bug#11276).
1168 2012-04-27 Chong Yidong <cyd@gnu.org>
1170 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1171 fix "missing prefix" warning. All callers changed.
1173 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1175 * emacs-lisp/assoc.el: Move to obsolete/.
1177 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1179 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1181 * term/ns-win.el (ns-define-service):
1182 * progmodes/pascal.el (pascal-goto-defun):
1183 * progmodes/js.el (js--read-tab):
1184 * progmodes/etags.el (tags-lazy-completion-table):
1185 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1186 * emacs-lisp/ewoc.el (ewoc--wrap):
1187 * emacs-lisp/assoc.el (aput, adelete, amake):
1188 * doc-view.el (doc-view-convert-current-doc):
1189 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1191 2012-04-26 Chong Yidong <cyd@gnu.org>
1193 * image.el (image-type-from-buffer): Only return supported image
1196 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1197 value, for symmetry with diff-end-of-hunk.
1198 (diff-split-hunk, diff-find-source-location)
1199 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1200 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1201 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1202 compute the relevant hunk or file properly (Bug#6005).
1203 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1205 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1214 * vc/vc.el: Replace lexical-let by lexical-binding.
1215 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1216 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1217 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1219 2012-04-26 Chong Yidong <cyd@gnu.org>
1221 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1222 (diff-mode-shared-map): Bind it to / and [remap undo].
1224 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1225 (ediff-window-setup-function): Use it as the default, to set up
1226 windows based on whether the current frame is graphical (Bug#2138).
1227 (ediff-choose-window-setup-function-automatically): Make obsolete.
1229 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1231 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1233 * ffap.el: Remove old code for obsolete package.
1234 (ffap-complete-as-file-p): Remove.
1236 Use completion-table-with-quoting for comint and pcomplete.
1237 * comint.el (comint--unquote&requote-argument)
1238 (comint--unquote-argument, comint--requote-argument): New functions.
1239 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1240 (comint-quote-filename): Use regexp-opt-charset.
1241 (comint--common-suffix, comint--common-quoted-suffix)
1242 (comint--table-subvert): Remove.
1243 (comint-unquote-function, comint-requote-function): New vars.
1244 (comint--complete-file-name-data): Use them with
1245 completion-table-with-quoting.
1246 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1247 * pcomplete.el (pcomplete-arg-quote-list)
1248 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1249 (pcomplete-unquote-argument-function): Default to non-nil.
1250 (pcomplete-unquote-argument): Simplify.
1251 (pcomplete--common-quoted-suffix): Remove.
1252 (pcomplete-requote-argument-function): New var.
1253 (pcomplete--common-suffix): New function.
1254 (pcomplete-completions-at-point): Use completion-table-with-quoting
1255 and completion-table-subvert.
1257 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1258 (minibuffer--double-dollars): Preserve properties.
1259 (completion--sifn-requote): New function.
1260 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1262 * minibuffer.el: Add support for completion of quoted/escaped data.
1263 (completion-table-with-quoting, completion-table-subvert): New funs.
1264 (completion--twq-try, completion--twq-all): New functions.
1265 (completion--nth-completion): New function.
1266 (completion-try-completion, completion-all-completions): Use it.
1268 2012-04-25 Leo Liu <sdl.web@gmail.com>
1270 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1271 Use compilation-message if available to find real filename.
1273 2012-04-25 Chong Yidong <cyd@gnu.org>
1275 * vc/diff-mode.el (diff-setup-whitespace): New function.
1276 (diff-mode): Use it.
1278 * vc/diff.el (diff-sentinel):
1279 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1280 Whitespace mode variables based on diff style (Bug#8612).
1282 2012-04-25 Leo Liu <sdl.web@gmail.com>
1284 * progmodes/python.el (python-send-region): Add suffix .py to the
1287 * files.el (auto-mode-alist): Use javascript-mode instead.
1289 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1291 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1293 * soap-client.el (soap-resolve-references-for-sequence-type)
1294 (soap-resolve-references-for-array-type): Hack to prevent self
1295 references, see Bug#9.
1296 (soap-parse-envelope): Report the contents of the 'detail' node
1297 when receiving a fault reply.
1298 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1300 * soap-inspect.el (soap-sample-value-for-simple-type)
1301 (soap-inspect-simple-type): New function.
1303 * soap-client.el (soap-simple-type): New struct.
1304 (soap-default-xsd-types, soap-default-soapenc-types)
1305 (soap-decode-basic-type, soap-encode-basic-type):
1306 support unsignedInt and double basic types.
1307 (soap-resolve-references-for-simple-type)
1308 (soap-parse-simple-type, soap-encode-simple-type): New function.
1309 (soap-parse-schema): Parse xsd:simpleType declarations.
1311 * soap-client.el (soap-default-xsd-types)
1312 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1313 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1314 the local name of "soapenc:Array".
1315 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1316 decoding integer, byte and anyURI xsd types.
1318 2012-04-25 Chong Yidong <cyd@gnu.org>
1320 * cus-edit.el (custom-buffer-create-internal): Update header text.
1322 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1324 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1325 settings on 'system-type', not on 'window-system'. On MS-Windows,
1326 set interactive-mode on in GDB.
1328 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1330 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1331 (ruby-syntax-propertize-regexp): Remove.
1332 (ruby-syntax-propertize-function): Split regexp into chunks.
1333 Match following code directly.
1335 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1337 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1338 (ruby-syntax-propertize-regexp): New function.
1339 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1340 by a special keyword.
1342 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1343 (ruby-syntax-general-delimiters-goto-beg)
1344 (ruby-syntax-propertize-general-delimiters): New functions.
1345 (ruby-syntax-propertize-function): Use them to handle GDL.
1346 (ruby-font-lock-keywords): Move old handling of GDL...
1347 (ruby-font-lock-syntactic-keywords): .. to here.
1348 (ruby-calculate-indent): Adjust indentation for GDL.
1350 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1352 * notifications.el (top): Remove unneeded declarations.
1353 (notifications-specification-version): Change to "1.2".
1354 (notifications-interface, notifications-notify-method)
1355 (notifications-close-notification-method): Fix docstring.
1356 (notifications-get-capabilities-method): New defconst.
1357 (notifications-notify): Add :action-items, :resident and
1358 :transient hints. Change "image_data" to "image-data" and
1359 "image_path" to "image-path".
1360 (notifications-get-capabilities): New defun.
1362 2012-04-24 Leo Liu <sdl.web@gmail.com>
1364 * progmodes/python.el: Move hideshow setup to the end.
1366 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1368 * window.el (handle-select-window): Clear echo area since this is
1369 no more done by read_char (Bug#11304).
1371 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1373 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1374 and `/ M' to filter-derived-mode.
1375 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1376 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1377 (ibuffer-mark-by-mode): Use default rather than initial-input.
1378 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1380 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1382 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1383 (ibuffer-filter-by-derived-mode): New filter.
1384 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1386 2012-04-23 Andreas Politz <politza@fh-trier.de>
1388 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1390 2012-04-23 Chong Yidong <cyd@gnu.org>
1392 * cus-edit.el (customize-apropos, customize-apropos-options):
1393 Disable matching of non-option variables (Bug#11176).
1394 (customize-option, customize-option-other-window)
1395 (customize-changed-options): Doc fix.
1396 (customize-apropos-options, customize-apropos-faces)
1397 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1399 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1400 Fix word list splitting (Bug#11132).
1401 (apropos-symbol, apropos-keybinding, apropos-label)
1402 (apropos-property, apropos-function-button)
1403 (apropos-variable-button, apropos-misc-button): New faces.
1404 (apropos-symbol-face, apropos-keybinding-face)
1405 (apropos-label-face, apropos-property-face, apropos-match-face):
1406 Variables removed (Bug#8396).
1407 (apropos-library-button, apropos-format-plist, apropos-print)
1408 (apropos-print-doc, apropos-describe-plist): Callers changed.
1410 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1412 * net/xesam.el (xesam-mode-map): Use let-bound map in
1413 initialization. (Bug#11292)
1415 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1417 Preserve ispell session localwords when switching back to
1420 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1421 variable to hold buffer session localwords.
1422 (ispell-kill-ispell): add option 'clear to delete session
1424 (ispell-command-loop, ispell-change-dictionary)
1425 (ispell-buffer-local-words): Preserve session localwords when
1428 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1429 Preserve session localwords when needed.
1431 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1433 * ispell.el (ispell-insert-word) Remove unneeded function using
1434 obsolete `translation-table-for-input'.
1435 (ispell-word, ispell-process-line, ispell-complete-word):
1436 Use plain `insert' instead of removed `ispell-insert-word'.
1438 2012-04-22 Chong Yidong <cyd@gnu.org>
1440 * cus-edit.el (custom-variable-menu)
1441 (custom-variable-reset-saved, custom-face-menu)
1442 (custom-face-reset-saved): If there is no saved value, make the
1443 "reset-saved" operation bring back the default (Bug#9509).
1444 (custom-face-state): Properly detect themed faces.
1446 * faces.el (face-spec-set): Stop supporting deprecated form of
1449 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1451 Move functions from C to Lisp. Make non-blocking method calls
1452 the default. Implement further D-Bus standard interfaces.
1454 * net/dbus.el (dbus-message-internal): Declare function.
1455 Remove unneeded function declarations.
1456 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1457 (dbus-message-type-method-return, dbus-message-type-error)
1458 (dbus-message-type-signal): Declare variables. Remove local
1460 (dbus-interface-dbus, dbus-interface-peer)
1461 (dbus-interface-introspectable, dbus-interface-properties)
1462 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1464 (dbus-interface-objectmanager): New defconst.
1465 (dbus-call-method, dbus-call-method-asynchronously)
1466 (dbus-send-signal, dbus-method-return-internal)
1467 (dbus-method-error-internal, dbus-register-service)
1468 (dbus-register-signal, dbus-register-method): New defuns, moved
1470 (dbus-call-method-handler, dbus-setenv)
1471 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1473 (dbus-call-method-non-blocking): Make it an obsolete function.
1474 (dbus-unregister-object, dbus-unregister-service)
1475 (dbus-handle-event, dbus-register-property)
1476 (dbus-property-handler): Obey the new structure of
1477 `bus-registered-objects'.
1478 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1479 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1480 Use `dbus-call-method'.
1482 2012-04-22 Chong Yidong <cyd@gnu.org>
1484 * cus-edit.el (custom-commands, custom-reset-menu)
1485 (Custom-reset-standard): Tweak labels.
1486 (custom-reset-button-menu): Change default to t.
1487 (custom-buffer-create-internal): For the custom-reset-button-menu
1488 case, put the revert button first.
1489 (custom-group-subtitle): New face.
1490 (custom-group-value-create): Align docstring to a specific column.
1492 * wid-edit.el (widget-documentation-link-add): Don't handle
1493 indentation in this function.
1494 (widget-documentation-string-indent-to): New function.
1495 (widget-documentation-string-value-create): Use it.
1497 * autorevert.el (auto-revert):
1498 * epg-config.el (epg):
1499 * ibuffer.el (ibuffer):
1502 * eshell/eshell.el (eshell):
1503 * net/ange-ftp.el (ange-ftp):
1504 * progmodes/ebnf2ps.el (postscript):
1505 * progmodes/flymake.el (flymake):
1506 * progmodes/prolog.el (prolog):
1507 * progmodes/verilog-mode.el (verilog-mode):
1508 * progmodes/which-func.el (which-func):
1509 * term/xterm.el (xterm):
1510 * textmodes/picture.el (picture):
1511 * textmodes/tildify.el (tildify):
1512 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1513 customization buffers.
1515 2012-04-22 Alan Mackenzie <acm@muc.de>
1517 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1518 Adding a ) can hide the resulting (..) from searches. Fix it.
1519 Bound the backward search to the position of the existing (.
1521 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1523 * progmodes/verilog-mode.el (verilog-mode): Check whether
1524 which-func-modes is t before adding verilog-mode.
1525 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1527 2012-04-21 Leo Liu <sdl.web@gmail.com>
1529 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1531 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1533 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1534 filling of the last column of a table (Bug#5635).
1535 (woman-find-next-control-line): New arg, specifying an additional
1536 regexp component for the control line.
1537 (woman2-roff-buffer): Use it.
1538 (woman-break-table): New function.
1539 (woman2-TS): Use it.
1541 2012-04-21 Chong Yidong <cyd@gnu.org>
1543 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1544 (woman-horizontal-escapes, woman-negative-vertical-space)
1545 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1546 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1548 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1550 * minibuffer.el (completion-file-name-table): Complete user names.
1552 2012-04-20 Leo Liu <sdl.web@gmail.com>
1554 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1557 2012-04-20 Chong Yidong <cyd@gnu.org>
1559 * server.el (server-execute): Respect initial-buffer-choice if it
1560 is a string and there are no files to open (Bug#2825).
1561 (server-create-window-system-frame, server-create-tty-frame):
1562 Don't switch buffers here.
1563 (server-process-filter): Only try to open a window system frame if
1564 compiled with graphical support (Bug#8314).
1566 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1568 * battery.el (battery-echo-area-format): Display remaining time
1569 for sysfs backend too (Bug#11269).
1570 (battery-linux-sysfs): Fix conditional for the charge.
1572 2012-04-20 Chong Yidong <cyd@gnu.org>
1574 * progmodes/gdb-mi.el (gdb): Revert previous change.
1575 (gdb-inferior-io--init-proc): New function.
1576 (gdb-init-1): Use it.
1577 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1578 responsible for allocating a new pty and hooking it to gdb when
1579 the old pty gets an EIO due to process exit.
1580 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1581 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1582 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1584 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1586 * window.el (window-min-size, window-sizable, window-min-delta)
1587 (window-max-delta, window--resizable, window-resizable)
1588 (window-total-size, window-full-height-p, window-full-width-p)
1589 (window-in-direction, window--resize-mini-window, window-resize)
1590 (window--resize-child-windows-normal)
1591 (window--resize-child-windows, window--resize-siblings)
1592 (window--resize-this-window, adjust-window-trailing-edge)
1593 (enlarge-window, shrink-window): Doc fixes.
1595 2012-04-20 Chong Yidong <cyd@gnu.org>
1597 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1598 New function to call delete-process on the gdb-inferior buffer's pty.
1599 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1600 pty process (Bug#11273).
1601 (gdb-update): New arg to suppress talking to the gdb process.
1602 (gdb-done-or-error): Use it.
1603 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1604 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1605 sentinel not being called.
1607 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1609 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1611 2012-04-20 Glenn Morris <rgm@gnu.org>
1613 * net/network-stream.el (open-network-stream): Doc fix.
1615 2012-04-20 Chong Yidong <cyd@gnu.org>
1617 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1619 2012-04-20 Alan Mackenzie <acm@muc.de>
1621 Ensure searching for keywords is case sensitive.
1623 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1624 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1625 (c-defun-name, c-mark-function, c-cpp-define-name)
1626 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1627 (c-context-line-break): Bind case-fold-search to nil.
1629 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1630 Bind case-fold-search to nil.
1632 2012-04-20 Chong Yidong <cyd@gnu.org>
1634 * mail/sendmail.el (mail-bury): Call return action with the right
1635 Rmail buffer (Bug#11242).
1637 * server.el (server-process-filter): Handle corner case where both
1638 tty and nowait options are present (Bug#11102).
1640 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1642 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1643 (top level): Put into the executable the ident-style '$Id:' tag on
1646 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * electric.el (electric-indent-post-self-insert-function): Check that
1649 electric-indent-mode is enabled in current buffer.
1651 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1653 * imenu.el (imenu-progress-message): Restore; it is "used" in
1654 erc/erc-imenu.el and net/snmp-mode.el.
1656 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1658 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1659 (mouse-avoidance-nudge-mouse): Remove unused binding.
1661 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1663 * descr-text.el (describe-char):
1664 * progmodes/python.el (python-describe-symbol):
1665 Don't call `toggle-read-only', set `buffer-read-only'.
1667 * imenu.el (imenu-default-goto-function): Mark unused args.
1668 (imenu-progress-message): Remove obsolete macro; all callers changed.
1670 * subr.el (keymap-canonicalize): Remove unused binding.
1671 (read-passwd): Mark unused arg.
1673 * tutorial.el (tutorial--display-changes): Remove unused binding.
1674 (tutorial--save-tutorial-to): Remove unused variable.
1676 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1677 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1678 (package-generate-autoloads, package-menu--generate)
1679 (package-menu--find-upgrades): Remove unused bindings.
1681 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1682 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1683 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1684 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1685 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1686 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1687 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1688 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1689 (cua-delete-char-rectangle): Mark unused args.
1690 (cua-align-rectangle): Remove unused binding.
1692 * mail/rmail.el (compilation--message->loc)
1693 (epa--find-coding-system-for-mime-charset): Declare.
1695 * net/dbus.el (dbus-register-service): Declare.
1696 (dbus-name-owner-changed-handler): Remove unused binding.
1698 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1699 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1700 (nxml-scan-backward-within): Mark unused arg.
1701 (nxml-dynamic-markup-word): Remove unused binding.
1703 * mouse.el (mouse-menu-major-mode-map):
1704 * emacs-lisp/authors.el (authors-scan-change-log)
1705 (authors-add-to-author-list):
1706 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1707 * emacs-lisp/smie.el (smie-auto-fill):
1708 * mail/sendmail.el (mail-bury):
1709 * mail/unrmail.el (unrmail):
1710 * net/tls.el (open-tls-stream):
1711 * textmodes/picture.el (picture-mouse-set-point):
1712 Remove unused bindings.
1714 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1716 * net/tramp.el (tramp-action-password): Let-bind
1717 `enable-recursive-minibuffers' to t.
1719 2012-04-18 Sam Steingold <sds@gnu.org>
1721 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1722 instead of 'string to accommodate values like [f11].
1723 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1724 * progmodes/gdb-mi.el: Likewise.
1726 2012-04-18 Leo Liu <sdl.web@gmail.com>
1728 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1730 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1733 2012-04-18 Chong Yidong <cyd@gnu.org>
1735 * simple.el (line-move): Use forward-line if in batch mode
1738 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1740 * files.el (after-find-file): Do not try to add a final newline if
1741 the buffer is read-only (Bug#11156).
1743 2012-04-17 Richard Stallman <rms@gnu.org>
1745 * mail/rmail.el (rmail-start-mail):
1746 Pass (rmail-mail-return...) for the return-action.
1747 Pass (rmail-yank-current-message...) for the yank-action.
1748 (rmail-yank-current-message): New function.
1749 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1750 (rmail-reply): Likewise.
1751 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1753 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1754 buffer, not the last. Reject temp buffers. Use the rmail-mode
1757 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1759 * server.el (server-ensure-safe-dir): Simplify.
1761 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1763 * emacs-lisp/smie.el: Provide smarter auto-filling.
1764 (smie-auto-fill): New function.
1765 (smie-setup): Use it.
1767 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1769 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1771 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1772 (comment-indent): Use it.
1774 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1776 * ses.el: The overall change is to add cell renaming, that is
1777 setting fancy names for cell symbols other than name matching
1778 "\\`[A-Z]+[0-9]+\\'" regexp .
1779 (ses-localvars): Add ses--renamed-cell-symb-list.
1780 (ses-create-cell-variable): New defun.
1781 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1782 (ses-relocate-formula): Relocate formulas only for cells the
1783 symbols of which are not renamed, i.e. symbols whose names do not
1784 match regexp "\\`[A-Z]+[0-9]+\\'".
1785 (ses-relocate-all): Relocate values only for cells the symbols of
1786 which are not renamed.
1787 (ses-load): Create cells variables as the (ses-cell ...) are read,
1788 in order to check row col consistency with cell symbol name only
1789 for cells that are not renamed.
1790 (ses-replace-name-in-formula): New defun.
1791 (ses-rename-cell): New defun.
1793 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1795 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1796 New option (bug#11118).
1797 (perl-calculate-indent): Respect it.
1799 2012-04-17 Glenn Morris <rgm@gnu.org>
1801 * dired-aux.el (dired-mark-read-string): Doc fix.
1803 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1805 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1806 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1808 2012-04-17 Glenn Morris <rgm@gnu.org>
1810 * mouse.el (mouse-drag-track):
1811 * speedbar.el (speedbar-frame-mode):
1812 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1814 2012-04-16 Leo Liu <sdl.web@gmail.com>
1816 * progmodes/python.el: Trivial cleanup.
1818 2012-04-16 Glenn Morris <rgm@gnu.org>
1820 * vc/vc.el (vc-string-prefix-p):
1821 * vc/pcvs-util.el (cvs-string-prefix-p):
1822 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1823 * mpc.el (mpc-string-prefix-p):
1824 Make all of these into obsolete aliases for string-prefix-p.
1826 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1828 * textmodes/two-column.el: Move custom options to the start.
1829 (frame-width): Remove compat definition.
1830 (2C-associate-buffer, 2C-dissociate):
1831 Use with-current-buffer rather than save-excursion.
1832 (2C-dissociate): Force a mode-line update.
1833 (2C-autoscroll): Use ignore-errors.
1835 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1838 * emacs-lisp/cl-extra.el (*random-state*):
1839 Remove unnecessary declaration.
1841 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1843 * play/cookie1.el (cookie-snarf):
1844 Give an explicit error if input file cannot be read.
1846 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1848 * progmodes/perl-mode.el (c-macro-expand):
1849 Remove unnecessary autoload (it is in loaddefs.el).
1851 * textmodes/picture.el (picture-desired-column)
1852 (picture-update-desired-column): Convert comments to doc-strings.
1853 (picture-substitute): Remove function.
1854 (picture-mode-map): Initialize in the defvar.
1856 * woman.el: Remove eval-after-load for tar-mode.
1857 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1858 (woman-tar-extract-file): Autoload it.
1860 * frame.el (automatic-hscrolling): Make this alias obsolete.
1862 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1864 * ispell.el (ispell-set-spellchecker-params): Post-process
1865 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1866 (ispell-dictionary-base-alist): Revert to original XEmacs
1867 friendly version for default. [:alpha:] will be added in
1868 `ispell-set-spellchecker-params' if needed
1870 2012-04-16 Chong Yidong <cyd@gnu.org>
1872 * image.el (imagemagick--extension-regexp): New variable.
1873 (imagemagick-register-types): Use it.
1874 (imagemagick-types-inhibit): Add :set function. Allow new value
1875 of t to inhibit all types.
1877 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1878 so we can preload it.
1880 * loadup.el (fboundp): Preload regexp-opt, needed by
1881 imagemagick-register-types.
1883 2012-04-15 Chong Yidong <cyd@gnu.org>
1885 * frame.el (scrolling): Remove nearly unused customization group.
1887 * scroll-all.el (scroll-all-mode): Move to windows group.
1889 2012-04-15 Chong Yidong <cyd@gnu.org>
1891 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1893 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1895 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1896 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1898 2012-04-15 Glenn Morris <rgm@gnu.org>
1900 * simple.el (process-file-side-effects): Doc fix.
1902 2012-04-15 Glenn Morris <rgm@gnu.org>
1904 * international/mule-cmds.el (set-language-environment): Doc fix.
1906 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1908 * server.el (server-auth-key, server-generate-key): Doc fixes.
1909 (server-get-auth-key): Doc fix. Use `string-match-p'.
1910 (server-start): Reflow docstring.
1912 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1914 * server.el (server-generate-key): `called-interactively-p'
1915 requires a parameter.
1917 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1919 * server.el (server-auth-key): New variable.
1920 (server-generate-key, server-get-auth-key): New function.
1921 (server-start): Use the new variable and functions to allow
1922 setting a permanent server key (bug#9423).
1924 2012-04-14 Leo Liu <sdl.web@gmail.com>
1926 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1928 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1931 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1932 Emacs uses American spelling.
1934 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1936 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1937 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1938 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1939 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1941 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1943 * progmodes/which-func.el (which-func-modes): Change default.
1945 2012-04-14 Kim F. Storm <storm@cua.dk>
1947 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1948 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1950 2012-04-14 Chong Yidong <cyd@gnu.org>
1952 * custom.el (custom-theme-set-variables): Doc fix.
1954 2012-04-14 Glenn Morris <rgm@gnu.org>
1956 * international/mule.el (set-auto-coding-for-load): Doc fix.
1958 2012-04-14 Alan Mackenzie <acm@muc.de>
1960 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1961 imenu work again for Objective C Mode. Correct the *-index values,
1962 these having been disturbed by a previous change in 2011-08.
1964 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1965 Correct two search limits.
1967 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1971 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1973 * international/characters.el: Fix sorting.
1975 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1977 * international/characters.el: Add more missing Latin case pairs.
1979 2012-04-14 Glenn Morris <rgm@gnu.org>
1981 * files.el (dir-locals-set-class-variables): Doc fix.
1983 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1985 * international/characters.el: Add set-case-syntax-pair call for
1986 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1987 counterpart. (Bug#11209)
1989 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1991 2012-04-14 Glenn Morris <rgm@gnu.org>
1993 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1995 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1997 * textmodes/ispell.el (ispell-dictionary-base-alist):
1998 Add data for Hebrew.
2000 2012-04-14 Chong Yidong <cyd@gnu.org>
2002 * net/rcirc.el (rcirc-cmd-quit):
2003 Revert 2012-03-18 change (Bug#11192).
2005 2012-04-14 Glenn Morris <rgm@gnu.org>
2007 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2009 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2011 * minibuffer.el (completion-in-region-mode-map):
2012 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2014 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2016 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2018 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2020 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2021 to allow `C-M-f' and `C-M-b' to move to the nearest path
2022 separator (bug#9511).
2024 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2026 * avoid.el: Require cl when compiling. And also move the
2027 `provide' to the end.
2029 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2031 * avoid.el (mouse-avoidance-banish-position): New variable.
2032 (mouse-avoidance-banish-destination): Use it (bug#10165).
2034 2012-04-13 Leo Liu <sdl.web@gmail.com>
2036 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2038 2012-04-13 Ken Brown <kbrown@cornell.edu>
2040 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2041 this is no longer needed now that cygstart understands file:// URLs.
2042 (browse-url-filename-alist): For the same reason, don't modify
2043 file:// URLs on Cygwin.
2045 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2047 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2048 the region on shift if the binding is already shifted (bug#11221).
2050 2012-04-12 Glenn Morris <rgm@gnu.org>
2052 * mail/mailpost.el: Move to obsolete/.
2054 2012-04-12 Drew Adams <drew.adams@oracle.com>
2056 * imenu.el (imenu--generic-function): Ignore invisible definitions
2059 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2061 * hexl.el (hexl-bits): New variable.
2062 (hexl-options): Mention the variable in the doc string.
2063 (hexl-rulerise, hexl-line-displen): New functions.
2064 (hexl-mode): Mention the new variable.
2065 (hexl-mode, hexl-current-address, hexl-current-address):
2067 (hexl-ascii-start-column): New function.
2068 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2069 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2071 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2073 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2074 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2075 the encoding, as expected by hunspell.
2077 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2079 * battery.el (battery--linux-sysfs-regexp): New const.
2080 (battery-status-function): Use it. Remove yeeloong special case.
2081 (battery-yeeloong-sysfs): Remove.
2082 (battery-echo-area-format): Remove yeeloong special case.
2084 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2086 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2087 Reported by Noah Friedman.
2089 * subr.el (read-passwd): Use read-string.
2091 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2093 * vcursor.el (vcursor-move): Increase the priority of the overlay
2096 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2098 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2099 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2101 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2103 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2104 define-minor-mode (bug#10760).
2106 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2108 * progmodes/grep.el (rgrep): Tweak the find command line so
2109 that directories matching `grep-find-ignored-files' won't be
2112 2012-04-11 Chong Yidong <cyd@gnu.org>
2114 * startup.el (command-line): Remove support for long-obsolete
2115 variable font-lock-face-attributes.
2117 2012-04-11 Glenn Morris <rgm@gnu.org>
2119 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2121 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2123 * window.el (window--state-get-1): Obey window-point-insertion-type.
2125 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2127 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2128 to previous function when point is on the first character of a
2129 function. Take care of that in `narrow-to-defun' (bug#6157).
2131 2012-04-11 Glenn Morris <rgm@gnu.org>
2133 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2134 not just file-errors.
2136 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2137 (vc-bzr-sha1): Use internal sha1.
2139 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2141 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2143 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2145 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2146 that start in the middle of the line (bug#10496).
2148 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2150 * battery.el (battery-linux-proc-acpi): Only one battery is
2151 discharged at a time, but that seems to confuse battery.el when
2152 computing `rate-type' for the battery not being discharged
2155 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2159 * international/quail.el: Use dolist and simplify.
2160 (quail-define-package, quail-update-keyboard-layout)
2161 (quail-define-rules): Use dolist.
2162 (quail-insert-kbd-layout, quail-get-translation): CSE.
2164 * tmm.el: Use dolist, remove left over hook.
2165 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2167 (calendar-load-hook): Don't mess with it.
2169 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2170 Use derived-mode-p. Run the diff asynchronously.
2172 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2174 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2176 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2178 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2179 (list-dynamic-libraries--loaded): New function.
2180 (list-dynamic-libraries--refresh): Use it.
2182 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2184 * progmodes/python.el (python-fill-paragraph):
2185 Make python-fill-region in a multiline string work when font-lock is
2186 disabled (bug#7018).
2188 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2190 * language/european.el (cp775): Add oem/legacy (en)coding on
2191 DOS/MS Windows for the Baltic languages. There are still plenty
2192 of texts written in this encoding/codepage (bug#6519).
2194 2012-04-10 Glenn Morris <rgm@gnu.org>
2196 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2197 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2199 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2201 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2202 next-line "n" and previous-line "p" in order to make recentf more
2203 consistent with ibuffer, dired or org-mode (bug#9387).
2205 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2207 * image.el (put-image): Return the overlay created instead of the
2208 optional input string (bug#7834). Note that this may break code
2209 that is (for some reason or other) depending on `put-image'
2210 returning the string.
2212 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2214 * simple.el (zap-to-char): Allow zapping using input methods
2217 * textmodes/fill.el (fill-region): Leave point and mark where they
2218 were before filling (bug#5399).
2220 2012-04-09 Glenn Morris <rgm@gnu.org>
2222 * version.el (emacs-bzr-get-version):
2223 Handle lightweight checkouts of local branches.
2225 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2227 * international/characters.el: Recover lost case pairs. (Bug#11209)
2229 2012-04-09 Chong Yidong <cyd@gnu.org>
2231 * custom.el (custom-variable-p): Return nil for non-symbol
2232 arguments instead of signaling an error.
2233 (user-variable-p): Obsolete alias for custom-variable-p.
2235 * apropos.el (apropos-variable):
2236 * files-x.el (read-file-local-variable):
2237 * simple.el (set-variable):
2238 * woman.el (woman-mini-help):
2239 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2241 2012-04-09 Glenn Morris <rgm@gnu.org>
2243 * startup.el (normal-top-level): Don't look for leim-list.el
2244 in places where it will not be found. (Bug#910)
2246 * international/mule-cmds.el (set-default-coding-systems):
2247 * files.el (normal-mode):
2248 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2249 This function was removed with ucs-tables.el in 2008.
2251 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2253 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2254 ispell-encoding8-command to "-i", without a trailing space.
2255 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2256 separate command-line arguments, to specify the encoding, since
2257 that's how hunspell expects it.
2259 2012-04-08 Glenn Morris <rgm@gnu.org>
2261 * loadup.el: Load bindings before cus-start.
2262 This reduces somewhat the number of "rogue" settings in emacs -Q.
2264 2012-04-07 Glenn Morris <rgm@gnu.org>
2266 * version.el (emacs-bzr-get-version): New function.
2267 (emacs-bzr-version): New variable.
2268 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2269 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2271 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2273 * international/uni-bidi.el, international/uni-category.el:
2274 * international/uni-combining.el, international/uni-decimal.el:
2275 * international/uni-decomposition.el, international/uni-digit.el:
2276 * international/uni-lowercase.el, international/uni-mirrored.el:
2277 * international/uni-name.el, international/uni-numeric.el:
2278 * international/uni-titlecase.el, international/uni-uppercase.el:
2279 Update for Unicode 6.1.
2281 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2283 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2285 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2287 * window.el (shrink-window): Mention the `window-min-height'
2288 variable in the doc string.
2290 2012-04-05 Bastien Guerry <bzg@altern.org>
2292 * color.el (color-lighten-name): Fix typo.
2294 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2296 * server.el (server--on-display-p): New function.
2297 (server--on-display-p): Use it.
2299 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2301 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2304 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2306 * comint.el (comint--common-quoted-suffix): Check string boundary
2307 before comparing (bug#11158).
2308 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2310 2012-04-04 Chong Yidong <cyd@gnu.org>
2312 * minibuffer.el (completion-extra-properties): Doc fix.
2314 * subr.el (delayed-warnings-hook): Doc fix.
2316 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2318 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2319 selection (Bug#11159).
2320 (epa-insert-keys): Inform that the default public key will be
2321 exported if no key is selected.
2323 2012-04-04 Richard Stallman <rms@gnu.org>
2325 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2327 2012-04-03 Chong Yidong <cyd@gnu.org>
2329 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2330 mail-insert-file, not its obsolete alias mail-attach-file.
2332 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2334 * notifications.el (notifications-notify): Fix docstring.
2336 2012-04-02 Glenn Morris <rgm@gnu.org>
2338 * emacs-lisp/authors.el (authors-aliases): Another addition.
2340 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2342 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2343 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2344 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2346 2012-04-01 Chong Yidong <cyd@gnu.org>
2348 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2349 Handle root directory properly.
2350 (copy-directory): Caller changed.
2352 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2353 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2355 2012-03-31 Glenn Morris <rgm@gnu.org>
2357 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2359 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2361 * calendar/calendar.el (calendar-window-list)
2362 (calendar-hide-window): Restore. (Bug#11140)
2363 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2365 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2367 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2369 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2370 Check if file is a symlink (Bug#10489).
2372 * files.el (copy-directory): Likewise.
2374 2012-03-30 Chong Yidong <cyd@gnu.org>
2376 * image.el (imagemagick-types-inhibit)
2377 (imagemagick-register-types): Doc fix.
2379 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2381 * ispell.el (ispell-get-extended-character-mode):
2382 Disable extended-char-mode for hunspell. hunspell does not support it
2383 and treats ~word as ordinary words in pipe mode.
2385 2012-03-30 Glenn Morris <rgm@gnu.org>
2387 * tutorial.el (help-with-tutorial): Ensure local variables don't
2388 happen to make the buffer read-only. (Bug#11127)
2390 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2392 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2393 (perl-calculate-indent): Return `noindent' in strings.
2395 2012-03-28 Sam Steingold <sds@gnu.org>
2397 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2398 instead of the broken adhockery which does not prevent calendar
2399 buffers from being displayed at random after exit.
2400 (calendar-window-list, calendar-hide-window): Remove the broken
2403 2012-03-28 Glenn Morris <rgm@gnu.org>
2405 * replace.el (query-replace-map): Doc fix.
2407 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2409 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2410 contents. (Bug#11109)
2412 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2414 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2416 (avl-tree--check, avl-tree--check-node): New funs.
2418 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2420 * window.el (switch-to-visible-buffer): New option.
2421 (switch-to-prev-buffer, switch-to-next-buffer):
2422 Observe switch-to-visible-buffer. Make sure that checking for a window
2423 showing a buffer already is done on the same frame.
2425 2012-03-27 Glenn Morris <rgm@gnu.org>
2427 * startup.el (mail-host-address): Doc fix.
2429 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2431 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2434 2012-03-26 Ami Fischman <ami@fischman.org>
2436 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2438 2012-03-26 Glenn Morris <rgm@gnu.org>
2440 * files.el (save-buffers-kill-emacs): Doc fix.
2442 * startup.el (normal-top-level, command-line, command-line-1):
2443 Give them doc strings.
2445 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2447 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2448 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2450 2012-03-25 Chong Yidong <cyd@gnu.org>
2452 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2453 theme if it was previously enabled before (Bug#11031).
2455 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2456 spec with custom-face-get-current-spec if its :shown-value is not
2457 determined yet (Bug#9337).
2458 (customize-create-theme, custom-theme-revert): Doc fixes.
2460 * button.el (button-at): Minor addition to docstring.
2462 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2464 * vc/vc.el (vc-merge): Fix a prompt.
2466 2012-03-24 Chong Yidong <cyd@gnu.org>
2468 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2471 * button.el (button-at): Minor addition to docstring.
2473 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2475 * newcomment.el (comment-choose-indent): No space after BOL.
2477 2012-03-22 Sam Steingold <sds@gnu.org>
2479 * window.el (switch-to-prev-buffer): Revert last patch because the
2480 bug turned out to be an advertised feature (Elisp manual 28.14).
2482 2012-03-22 Glenn Morris <rgm@gnu.org>
2484 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2485 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2487 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2489 * net/network-stream.el (network-stream-open-starttls): Make error
2490 message under Windows be less misleading.
2492 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2494 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2495 understands (bug#9942).
2497 2012-03-22 Chong Yidong <cyd@gnu.org>
2499 * simple.el (end-of-visible-line): Handle return value of
2500 next-single-property-change properly (Bug#9371).
2502 2012-03-22 Kenichi Handa <handa@m17n.org>
2504 * international/quail.el (quail-insert-kbd-layout): Fix previous
2505 change. To avoid unwanted bidi reordering, use
2506 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2508 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2510 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2511 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2512 (ruby-beginning-of-indent): Be more careful with the difference
2513 between word-boundary and symbol boundary.
2514 (ruby-mode-syntax-table): Make : a symbol constituent.
2516 2012-03-21 Andreas Politz <politza@fh-trier.de>
2518 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2520 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2522 * progmodes/etags.el (tags-completion-at-point-function):
2525 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2527 2012-03-21 Sam Steingold <sds@gnu.org>
2529 * progmodes/etags.el (tags-completion-at-point-function):
2530 Avoid the error when point is inside the pattern.
2532 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2534 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2537 2012-03-21 Drew Adams <drew.adams@oracle.com>
2539 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2541 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2543 * ido.el (ido-set-current-directory, ido-read-internal)
2544 (ido-choose-completion-string, ido-completion-help): Handle nil
2545 value of ido-completion-buffer (Bug#11008).
2547 2012-03-21 Sam Steingold <sds@gnu.org>
2549 * window.el (switch-to-prev-buffer): Do not switch to a visible
2550 window previous buffer, just like with the frame previous buffers.
2552 2012-03-21 Chong Yidong <cyd@gnu.org>
2554 * faces.el (make-face, make-empty-face, copy-face):
2555 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2558 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2560 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2561 (widget-complete): Remove broken use of it.
2563 2012-03-20 Chong Yidong <cyd@gnu.org>
2565 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2566 Use string-width and truncate-string-width to handle arbitrary
2569 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2571 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2572 to draw rectangles, not squares. (Regression introduced by revno
2573 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2575 2012-03-18 Chong Yidong <cyd@gnu.org>
2577 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2578 it is not yet defined (for temacs).
2580 2012-03-18 Leo Liu <sdl.web@gmail.com>
2582 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2584 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2586 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2587 (ispell-choices-win-default-height, ispell-silently-savep)
2588 (ispell-dictionary-alist, ispell-encoding8-command)
2589 (ispell-check-version, ispell-aspell-find-dictionary)
2590 (ispell-valid-dictionary-list, ispell-words-keyword)
2591 (ispell-get-word, ispell-internal-change-dictionary)
2592 (ispell-region, ispell-skip-region-list)
2593 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2594 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2595 (ispell-message-text-end, ispell-message)
2596 (ispell-buffer-local-parsing): Doc fix.
2598 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2600 * htmlfontify.el: Add support for code block fontification for ODT
2602 (hfy-optimisations): Define new option
2604 (hfy-fontify-buffer): Honor above setting.
2605 (hfy-begin-span, hfy-end-span): New routines factored out form
2606 `hfy-fontify-buffer'.
2607 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2608 that permit insertion of custom tags.
2609 (hfy-fontify-buffer): Use above handlers.
2610 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2611 (hfy-face-to-css): Re-defined to be a variable.
2612 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2613 over multiple runs. This is made possible by having the caller let
2614 bind a special variable `hfy-user-sheet-assoc'.
2615 (htmlfontify-string): New defun.
2616 (hfy-compile-face-map): Make sure that the last char in the
2617 buffer is correctly fontified.
2618 (hfy-face-resolve-face): Whitespace only change.
2620 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2622 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2625 2012-03-16 Leo Liu <sdl.web@gmail.com>
2627 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2629 2012-03-16 Alan Mackenzie <acm@muc.de>
2631 Further optimise the handling of large macros.
2633 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2634 limit to a call of `c-literal-limits'.
2635 (c-determine-+ve-limit): New function.
2636 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2637 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2638 In CASE 5B, restrict a search limit to 500.
2639 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2641 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2642 Restrict macro bounds to +-500 from after-change's BEG END.
2644 2012-03-16 Leo Liu <sdl.web@gmail.com>
2646 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2648 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2650 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2651 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2653 2012-03-16 Glenn Morris <rgm@gnu.org>
2655 * view.el (view-buffer, view-buffer-other-window)
2656 (view-buffer-other-frame): Doc fixes re special mode-class.
2658 * subr.el (eval-after-load): If named feature is provided not from
2659 a file, run after-load forms. (Bug#10946)
2661 * calendar/calendar.el (calendar-insert-at-column):
2662 Handle non-unit-width characters a bit better. (Bug#10978)
2664 2012-03-15 Chong Yidong <cyd@gnu.org>
2666 * emacs-lisp/ring.el (ring-extend): New function.
2667 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2669 * comint.el (comint-read-input-ring)
2670 (comint-add-to-input-history): Grow comint-input-ring lazily.
2672 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2674 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2675 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2677 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2678 (imenu-add-to-menubar): Don't add a redundant index.
2679 (imenu-update-menubar): Handle a dynamically composed keymap.
2681 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2683 * mail/sendmail.el (mail-encode-header):
2684 Bind rfc2047-encode-encoded-words to nil.
2686 2012-03-13 Glenn Morris <rgm@gnu.org>
2688 * calendar/calendar.el (calendar-string-spread):
2689 Handle non-unit-width characters a bit better. (Bug#10978)
2691 2012-03-13 Leo Liu <sdl.web@gmail.com>
2693 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2694 directory and file as argument (Bug#10822).
2696 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2698 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2699 For dynamically generated code, follow $PC.
2700 (gdb-disassembly-handler-custom): Handle no function name case.
2702 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2704 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2705 * emulation/ws-mode.el (ws-query-replace):
2706 * sort.el (sort-regexp-fields):
2707 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2709 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2711 * dabbrev.el: Fix cycle completion order (bug#10963).
2712 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2713 (dabbrev-completion): Don't use an obarray; provide
2714 a cycle-sort-function.
2716 2012-03-12 Leo Liu <sdl.web@gmail.com>
2718 * simple.el (kill-new): Use equal-including-properties for comparison.
2719 (kill-do-not-save-duplicates): Doc fix.
2721 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2723 * dabbrev.el: Fix cycle completion (bug#10963).
2724 Use lexical binding and wrap to 80 columns.
2725 (dabbrev-completion): Delay computing the list of completions.
2727 2012-03-12 Kenichi Handa <handa@m17n.org>
2729 * international/quail.el (quail-insert-kbd-layout): Surround each
2730 row by LRO and PDF instead of inserting many LRMs. Pad the left
2731 and right of each non-spacing marks. Insert invisible space
2732 between lower and upper characters to prevent composition.
2734 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2736 * minibuffer.el (minibuffer-complete): Don't get confused when the
2737 function is run twice via different commands (bug#10958).
2738 (complete-with-action): Fix docstring.
2740 2012-03-12 Chong Yidong <cyd@gnu.org>
2742 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2743 (nxml-completion-at-point-function): New function.
2744 (nxml-mode): Use it.
2745 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2747 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2748 Load generated autoloads file before byte compiling (Bug#10970).
2749 (package--make-autoloads-and-compile): New helper fun.
2751 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2753 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2755 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2757 * autorevert.el (auto-revert-handler): Ensure, that
2758 file-readable-p is applied only for local files or in
2759 auto-revert-tail-mode.
2761 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2763 * server.el (server-eval-at): Handle non-tcp connections.
2764 Decode result string.
2766 * server.el (server-msg-size): New constant.
2767 (server-reply-print): New function.
2768 (server-eval-and-print): Use it.
2769 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2772 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2774 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2777 2012-03-11 Chong Yidong <cyd@gnu.org>
2779 * simple.el (goto-line): Doc fix (Bug#9938).
2781 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2783 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2784 when finished (Bug#10963).
2786 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2788 * window.el (split-window-below): Fix bug in case where
2789 split-window-keep-point is nil (Bug#10971).
2791 2012-03-11 Juri Linkov <juri@jurta.org>
2793 * replace.el (replace-highlight): Set isearch-word to nil
2794 unconditionally. (Bug#10887)
2796 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2798 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2799 mairix-replace-illegal-chars; all callers changed. Don't remove
2800 ^, ~, and = characters: they are meaningful in mairix search specs.
2801 (mairix-widget-create-query): Add usage information about mairix
2802 search forms: negating words, searching for substrings, etc.
2804 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2806 * international/fontset.el (font-encoding-alist): Add an entry for
2809 2012-03-10 Richard Stallman <rms@gnu.org>
2811 * mail/sendmail.el (mail-encode-header):
2812 Set rfc2047-encode-encoded-words.
2814 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2816 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2817 view buffer means not swapped.
2818 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2819 (rmail-write-region-annotate): Error if real text has disappeared.
2821 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2823 2012-03-10 Chong Yidong <cyd@gnu.org>
2825 * emulation/cua-rect.el (cua--init-rectangles):
2826 * emulation/cua-base.el (cua--init-keymaps):
2827 Add delete-forward-char to remappings (Bug#9666).
2829 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2831 * speedbar.el (speedbar-unhighlight-one-tag-line):
2832 Avoid unhighlighting due to frame switching (Bug#10275).
2834 2012-03-10 Chong Yidong <cyd@gnu.org>
2836 * minibuffer.el (completion-in-region, completion-help-at-point):
2837 Give the completion field overlay a high priority (Bug#6830).
2839 * dired.el (dired-goto-file): Recognize absolute file name
2840 listings (Bug#7126).
2841 (dired-goto-file-1): New helper function.
2842 (dired-toggle-read-only): Inhibit warnings.
2844 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2846 * net/dbus.el (dbus-property-handler): Return empty array if
2847 there are no properties.
2849 2012-03-09 Leo Liu <sdl.web@gmail.com>
2851 * savehist.el (savehist-printable): Stricter check for string
2854 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2856 * mail/smtpmail.el (smtpmail-send-it):
2857 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2860 2012-03-09 Glenn Morris <rgm@gnu.org>
2862 * files.el (dir-locals-find-file):
2863 Don't check result is regular, readable.
2864 (dir-locals-read-from-file): Demote errors.
2866 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2868 * international/quail.el (quail-insert-kbd-layout):
2869 Insert invisible LRM characters before each character in a keyboard
2870 layout cell, to prevent their reordering by bidi display engine.
2871 For details, see the discussion in
2872 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2874 2012-03-08 Alan Mackenzie <acm@muc.de>
2876 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2877 the starting position; make it extend the marked region when
2878 invoked repeatedly - all under appropriate circumstances.
2879 Fixes bugs #5525, #10906.
2881 2012-03-08 Glenn Morris <rgm@gnu.org>
2883 * files.el (locate-dominating-file, dir-locals-find-file):
2884 Undo 2012-03-06 change.
2886 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2888 * international/quail.el (quail-help):
2889 Force bidi-paragraph-direction be left-to-right. See discussion in
2890 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2893 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2895 Avoid superfluous registering of signals. (Bug#10807)
2897 * notifications.el (notifications-on-action-object)
2898 (notifications-on-close-object): New defvars.
2899 (notifications-on-action-signal, notifications-on-closed-signal):
2900 Unregister the signal if not needed any longer.
2901 (notifications-notify): Register `notifications-action-signal' or
2902 `notifications-closed-signal', if :on-action or :on-close has been
2905 2012-03-07 Chong Yidong <cyd@gnu.org>
2907 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2910 2012-03-06 Glenn Morris <rgm@gnu.org>
2912 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2913 (x-disown-selection-internal, x-get-selection-internal):
2914 Doc fix (add arglist signatures). (Bug#10783)
2916 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2918 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2919 Handle breakpoints with no "type".
2921 2012-03-06 Glenn Morris <rgm@gnu.org>
2923 * files.el (locate-dominating-file): Add optional predicate argument.
2924 (dir-locals-find-file): Make use of above change.
2926 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2928 * info.el (Info-insert-dir): Also try "dir.gz".
2930 2012-03-06 Glenn Morris <rgm@gnu.org>
2932 * files.el (dir-locals-find-file):
2933 Ignore non-readable or non-regular files. (Bug#10928)
2935 * files.el (locate-dominating-file): Doc fix.
2937 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2939 * calendar/calendar.el (calendar-set-mode-line):
2940 `getenv' returns a string. (Bug#10951)
2942 2012-03-05 Leo Liu <sdl.web@gmail.com>
2944 * simple.el (backward-delete-char-untabify): Constrain point to
2947 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2949 2012-03-05 Chong Yidong <cyd@gnu.org>
2951 * simple.el (count-words): If called from Lisp, return the word
2952 count, for symmetry with `count-lines'. Arglist changed.
2953 (count-words--message): Args changed. Consolidate counting code
2954 from count-words and count-words-region.
2955 (count-words-region): Caller changed.
2956 (count-lines-region): Make it an obsolete alias.
2958 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2960 * saveplace.el (save-place-to-alist)
2961 (save-place-ignore-files-regexp): Allow value nil to disable this
2964 2012-03-04 Chong Yidong <cyd@gnu.org>
2966 * faces.el (face-spec-reset-face): For the default face, reset the
2967 attributes to default values (Bug#10748).
2969 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2971 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2972 previous patch: Check `message-send-mail-function', and not the
2973 default function (bug#10897).
2975 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2977 * notifications.el (notifications-on-action-signal)
2978 (notifications-on-closed-signal): Check for unique service name of
2979 incoming event. Fix error in removing entry.
2980 (top): Register for signals with wildcard service name.
2981 (notifications-notify): Use daemon unique service name for map entries.
2983 2012-03-04 Chong Yidong <cyd@gnu.org>
2985 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2987 2012-03-04 Glenn Morris <rgm@gnu.org>
2989 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2990 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2991 (expand-abbrev, define-abbrev-table): Doc fixes.
2993 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2995 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2996 `message-default-send-mail-function' and not `send-mail-function'
2997 when doing the prompting for `sendmail-query-once' before sending
2998 in Message buffers (bug#10897).
3000 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3001 This is inconsistent with all the other stream functions, which leave
3002 the setting up to the higher levels (if so wanted) (bug#10931).
3004 2012-03-02 Alan Mackenzie <acm@muc.de>
3006 Depessimize the handling of very large macros.
3008 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3009 (c-macro-cache-syntactic): New variables to implement a one
3010 element macro cache.
3011 (c-invalidate-macro-cache): New function.
3012 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3013 Adapt to use the new cache.
3014 (c-state-safe-place): Use better the cache of safe positions.
3015 (c-state-semi-nonlit-pos-cache)
3016 (c-state-semi-nonlit-pos-cache-limit):
3017 New variables for...
3018 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3019 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3020 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3021 Use c-state-semi-safe-place.
3023 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3024 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3026 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3028 * jka-compr.el (jka-compr-call-process):
3029 Apply `file-accessible-directory-p' only when the default directory is
3032 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3034 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3035 access of FILE2, if FILE1 does not exist.
3037 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3038 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3040 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3041 Add "PAGER=" to `process-environment'.
3043 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3045 * progmodes/sql.el: Bug fix
3046 (sql-get-login-ext): Save login values in globals.
3047 (sql-get-login): Use new version of `sql-get-login-ext'.
3048 (sql-interactive-mode): Set global `sql-connection' to nil.
3049 (sql-connect): Set global values for connection.
3050 (sql-product-interactive): Save global values as buffer local.
3052 2012-02-29 Leo Liu <sdl.web@gmail.com>
3054 * abbrev.el (define-abbrevs): Reset sys to nil.
3056 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3058 * files.el (file-equal-p): Rename from `files-equal-p'.
3059 Return nil when one or both files don't exist.
3060 (file-subdir-of-p): Now only top directory must exists,
3061 return nil if it doesn't.
3062 (copy-directory): No need to test with `file-subdir-of-p' after
3064 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3067 2012-02-28 Glenn Morris <rgm@gnu.org>
3069 * shell.el (shell-mode):
3070 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3071 * play/landmark.el (landmark-font-lock-face-O):
3072 * play/handwrite.el (handwrite):
3073 * play/gomoku.el (gomoku-O):
3074 * net/browse-url.el (browse-url-browser-display):
3075 * international/mule.el (define-charset):
3076 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3077 * filesets.el (filesets-find-file-delay):
3078 * eshell/em-xtra.el (eshell-xtra):
3079 * eshell/em-unix.el (eshell-grep):
3080 * emulation/viper.el (viper-mode):
3081 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3082 * emacs-lisp/easymenu.el (easy-menu-define):
3083 * calendar/timeclock.el (timeclock-use-display-time):
3085 * bookmark.el (bookmark-save-flag):
3086 Doc fix (standardize possessive apostrophe usage).
3088 2012-02-27 Chong Yidong <cyd@gnu.org>
3090 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3091 Fix key-binding lookup for ESC key (Bug#9146).
3093 * font-lock.el (font-lock-specified-p): Rename from
3094 font-lock-spec-present. Callers changed.
3096 2012-02-27 Daniel Hackney <dan@haxney.org>
3098 * emacs-lisp/package.el (package-compute-transaction):
3099 Handle holding a package version to t in package-load-list.
3101 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3103 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3104 (tramp-get-inode, tramp-get-device): Use cached values.
3106 2012-02-26 Alan Mackenzie <acm@muc.de>
3108 Check there is a font-lock specification before doing initial
3111 * font-core.el (font-lock-mode): Move the conditional from
3112 :after-hook to font-lock-initial-fontify.
3113 (font-lock-default-function): Move the check for a specification
3114 to font-lock-spec-present.
3116 * font-lock.el (font-lock-initial-fontify): Call ...
3117 (font-lock-spec-present): New function.
3119 2012-02-26 Jim Blandy <jimb@red-bean.com>
3121 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3122 (gdb-send): Apply it to the operand of the '-interpreter-exec
3123 console' command, so that we can pass arguments with (say) quotes
3124 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3126 2012-02-26 Chong Yidong <cyd@gnu.org>
3128 * help-fns.el (describe-function-1): Clarify description of
3129 remapping (Bug#10844).
3131 * files.el (files-equal-p): Doc fix.
3132 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3133 and quit the loop once a mismatch is found.
3135 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3137 * bs.el (bs--show-with-configuration): Don't throw an error
3138 if the window cannot be split; otherwise, subsequent calls to
3139 bs-show fail, restoring a stale window config. (Bug#10882)
3141 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3143 * term/ns-win.el (global-map): Bind ns-drag-file to
3144 ns-find-file (Bug#5855, Bug#10050).
3146 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3148 * calendar/parse-time.el (parse-time-string): Allow extractor to
3151 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3153 * net/tramp.el (tramp-file-name-for-operation):
3154 Add `files-equal-p' and `file-subdir-of-p'.
3156 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3157 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3158 Add COPY-CONTENTS argument.
3160 2012-02-25 Chong Yidong <cyd@gnu.org>
3162 Add custom groups for VC backends, for consistency with vc-bzr.
3164 * vc/vc-arch.el (vc-arch):
3165 * vc/vc-cvs.el (vc-cvs):
3166 * vc/vc-git.el (vc-git):
3167 * vc/vc-hg.el (vc-hg):
3168 * vc/vc-mtn.el (vc-mtn):
3169 * vc/vc-rcs.el (vc-rcs):
3170 * vc/vc-sccs.el (vc-sccs):
3171 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3172 All relevant defcustoms reassigned.
3174 2012-02-25 Chong Yidong <cyd@gnu.org>
3176 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3178 * term/x-win.el (x-initialize-window-system): Reduce default for
3179 x-selection-timeout to 5 seconds (Bug#8869).
3181 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3183 * files.el (files-equal-p, file-subdir-of-p): New functions.
3184 (copy-directory): Error when trying to copy a directory on itself.
3185 Add missing copy-contents arg to tramp handler.
3186 * dired-aux.el (dired-copy-file-recursive): Same.
3187 (dired-create-files): Modify destination when source is equal to
3188 dest when copying files.
3189 Return also when dest is a subdir of source. (Bug#10489)
3191 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3193 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3196 2012-02-23 Alan Mackenzie <acm@muc.de>
3198 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3199 parameter "after-hook:" to allow the expansion to run code after
3200 the execution of the mode hooks.
3202 * font-lock.el (font-lock-initial-fontify): New function extracted
3203 from font-lock-mode-internal.
3205 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3208 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3210 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3211 (completion--cache-all-sorted-completions): New function.
3212 (completion-all-sorted-completions): Use it.
3213 (completion--do-completion, minibuffer-force-complete):
3214 Use it to re-instate the flush hook.
3216 * icomplete.el (icomplete-completions): Replace last fix with a better
3219 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3221 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3222 when it might call us back infinitely (bug#10797).
3224 2012-02-23 Glenn Morris <rgm@gnu.org>
3226 * minibuffer.el (completion-category-overrides): Doc fix.
3228 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3230 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3231 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3233 2012-02-23 Glenn Morris <rgm@gnu.org>
3235 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3236 (authors-obsolete-files-regexps, authors-ignored-files)
3237 (authors-ambiguous-files, authors-renamed-files-alist):
3240 2012-02-23 Juri Linkov <juri@jurta.org>
3242 * isearch.el (isearch-occur): Sync interactive spec with occur's
3243 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3245 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3247 2012-02-22 Juri Linkov <juri@jurta.org>
3249 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3250 (ucs-insert): Doc fix. Check for hex digits in the string.
3251 Don't display `nil' in the error message. (Bug#10857)
3253 2012-02-22 Alan Mackenzie <acm@muc.de>
3255 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3257 2012-02-22 Glenn Morris <rgm@gnu.org>
3259 * ffap.el (ffap-c-path):
3260 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3262 2012-02-22 Chong Yidong <cyd@gnu.org>
3264 * custom.el (load-theme): Doc fix.
3266 2012-02-22 Glenn Morris <rgm@gnu.org>
3268 * dired-x.el (dired-guess-shell-alist-default):
3269 Remove escape sequences from nroff output. (Bug#172)
3271 2012-02-21 Glenn Morris <rgm@gnu.org>
3273 * vc/emerge.el (emerge-defvar-local):
3274 Set `permanent-local' property rather than unused `preserved'.
3276 * textmodes/picture.el (picture-delete-char): New alias.
3277 (picture-mode-map): Use it. (Bug#10860)
3278 (picture-mode): Doc fix.
3280 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3282 * newcomment.el (uncomment-region-default): Remove unused binding.
3284 2012-02-21 Glenn Morris <rgm@gnu.org>
3286 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3287 (picture-self-insert, picture-tab-chars): Doc fix.
3288 (picture-mode-map): Fix C-a, C-e.
3290 2012-02-20 Glenn Morris <rgm@gnu.org>
3292 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3294 2012-02-20 Leo Liu <sdl.web@gmail.com>
3296 * icomplete.el (icomplete-completions): Check FROM arg before
3297 passing to substring (Bug#10850).
3299 2012-02-19 Chong Yidong <cyd@gnu.org>
3301 * comint.el: Require ansi-color.
3302 (comint-output-filter-functions): Add ansi-color-process-output.
3304 * ansi-color.el: Don't set comint-output-filter-functions; it is
3305 now in the initial value defined in comint.el.
3306 (ansi-color-apply-face-function): New variable.
3307 (ansi-color-apply-on-region): Use it.
3308 (ansi-color-apply-overlay-face): New function.
3310 * shell.el (shell): No need to require ansi-color.
3311 (shell-mode): Use ansi-color-apply-face-function to highlight
3312 color escapes using font-lock-face property (Bug#10835).
3314 2012-02-19 Chong Yidong <cyd@gnu.org>
3316 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3317 mode-line formats (Bug#10839).
3319 2012-02-18 Glenn Morris <rgm@gnu.org>
3321 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3323 * mail/undigest.el (unforward-rmail-message): Doc fix.
3325 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3327 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3329 * international/characters.el (script-list): Sync with the latest
3330 Unicode Character Database.
3332 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3334 * international/titdic-cnv.el: Remove duplicate coding tag.
3335 * language/cham.el: Likewise.
3336 * language/tai-viet.el: Likewise.
3338 2012-02-18 Glenn Morris <rgm@gnu.org>
3340 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3341 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3342 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3343 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3344 * calendar/holidays.el (holiday-bahai-holidays)
3345 (calendar-holidays, list-holidays):
3346 Use utf-8 Bahá'í in doc-strings, menus, etc.
3348 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3350 * saveplace.el (save-place-ignore-files-regexp): New variable
3351 allowing for excluding files from saving their location of point.
3352 The default value matches the temporary commit message editing
3353 files from Git, SVN, Bazaar, and Mercurial.
3354 (save-place-to-alist): Use it.
3356 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3357 Stefan Monnier <monnier@iro.umontreal.ca>
3359 * newcomment.el (uncomment-region-default): Don't leave extra space
3360 when an arg is provided (bug#8150).
3362 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3364 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3366 2012-02-17 Glenn Morris <rgm@gnu.org>
3368 * net/socks.el: Require network-stream. (Bug#10599)
3370 2012-02-17 Kenichi Handa <handa@m17n.org>
3372 * international/charprop.el:
3373 * international/uni-name.el:
3374 * international/uni-old-name.el:
3375 * international/uni-comment.el: Regenerate.
3377 2012-02-16 Glenn Morris <rgm@gnu.org>
3379 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3380 Interactively in calendar buffer, give an error if not on a date.
3382 2012-02-15 Glenn Morris <rgm@gnu.org>
3384 * shell.el (shell-delimiter-argument-list):
3385 Revert 2011-02-17 change. (Bug#8027)
3387 2012-02-15 Chong Yidong <cyd@gnu.org>
3389 * minibuffer.el (completion-at-point-functions): Doc fix.
3391 * custom.el (defcustom): Doc fix; note use of defvar.
3393 2012-02-15 Glenn Morris <rgm@gnu.org>
3395 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3398 2012-02-14 Glenn Morris <rgm@gnu.org>
3400 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3402 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3404 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3405 way the ports list is computed.
3406 (smtpmail-query-smtp-server): Prompt the user for a port number if
3407 we can't connect to any of the standard ports (bug#10810).
3409 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3411 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3413 2012-02-13 Glenn Morris <rgm@gnu.org>
3415 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3417 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3419 * net/gnutls.el (gnutls-trustfiles): New variable.
3420 (gnutls-negotiate): Use it.
3422 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3424 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3425 does its stuff if Gnus is running.
3427 2012-02-13 Alan Mackenzie <acm@muc.de>
3429 Fix a loop in c-set-fl-decl-start.
3431 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3432 c-backward-syntactic-ws actually moves backwards.
3434 2012-02-13 Leo Liu <sdl.web@gmail.com>
3436 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3437 beginning so that all \C-o chars are removed.
3439 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3441 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3443 2012-02-12 Alan Mackenzie <acm@muc.de>
3445 Fix infinite loop with long macros.
3446 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3448 2012-02-12 Chong Yidong <cyd@gnu.org>
3450 * window.el (display-buffer): Doc fix (Bug#10785).
3452 2012-02-12 Glenn Morris <rgm@gnu.org>
3454 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3455 (x-disown-selection-internal, x-get-selection-internal):
3456 Sync docs with the xselect.c versions.
3458 * allout-widgets.el: Add missing license notice.
3460 2012-02-11 Glenn Morris <rgm@gnu.org>
3462 * select.el (x-get-selection-internal, x-own-selection-internal)
3463 (x-disown-selection-internal):
3464 * x-dnd.el (x-get-selection-internal): Update declarations.
3466 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3468 * window.el (window-sides-slots):
3469 * tool-bar.el (tool-bar-position):
3470 * term/xterm.el (xterm-extra-capabilities):
3471 * ses.el (ses-self-reference-early-detection):
3472 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3473 (verilog-auto-wire-type)
3474 (verilog-auto-delete-trailing-whitespace)
3475 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3476 (verilog-auto-tieoff-declaration):
3477 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3478 (sql-oracle-statement-starters, sql-oracle-scan-on):
3479 * progmodes/prolog.el (prolog-align-comments-flag)
3480 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3481 (prolog-left-indent-regexp, prolog-paren-indent-p)
3482 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3483 (prolog-types, prolog-mode-specificators)
3484 (prolog-determinism-specificators, prolog-directives)
3485 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3486 (prolog-electric-dot-flag)
3487 (prolog-electric-dot-full-predicate-template)
3488 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3489 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3490 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3491 (prolog-program-switches, prolog-prompt-regexp)
3492 (prolog-debug-on-string, prolog-debug-off-string)
3493 (prolog-trace-on-string, prolog-trace-off-string)
3494 (prolog-zip-on-string, prolog-zip-off-string)
3495 (prolog-use-standard-consult-compile-method-flag)
3496 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3497 (prolog-imenu-max-lines, prolog-info-predicate-index)
3498 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3499 (prolog-char-quote-workaround):
3500 * progmodes/cc-vars.el (c-defun-tactic):
3501 * net/tramp.el (tramp-encoding-command-interactive)
3502 (tramp-local-end-of-line):
3503 * net/soap-client.el (soap-client):
3504 * net/netrc.el (netrc-file):
3505 * net/gnutls.el (gnutls):
3506 * minibuffer.el (completion-category-overrides)
3507 (completion-cycle-threshold)
3508 (completion-pcm-complete-word-inserts-delimiters):
3509 * man.el (Man-name-local-regexp):
3510 * mail/feedmail.el (feedmail-display-full-frame):
3511 * international/characters.el (glyphless-char-display-control):
3512 * eshell/em-ls.el (eshell-ls-date-format):
3513 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3514 (lisp-lambda-list-keyword-parameter-indentation)
3515 (lisp-lambda-list-keyword-parameter-alignment):
3516 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3517 * dired-x.el (dired-omit-verbose):
3518 * cus-theme.el (custom-theme-allow-multiple-selections):
3519 * calc/calc.el (calc-highlight-selections-with-faces)
3520 (calc-lu-field-reference, calc-lu-power-reference)
3521 (calc-note-threshold):
3522 * battery.el (battery-mode-line-limit):
3523 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3524 (archive-7z-update):
3525 * allout.el (allout-prefixed-keybindings)
3526 (allout-unprefixed-keybindings)
3527 (allout-inhibit-auto-fill-on-headline)
3528 (allout-flattened-numbering-abbreviation):
3529 * allout-widgets.el (allout-widgets-auto-activation)
3530 (allout-widgets-icons-dark-subdir)
3531 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3532 (allout-widgets-theme-dark-background)
3533 (allout-widgets-theme-light-background)
3534 (allout-widgets-item-image-properties-emacs)
3535 (allout-widgets-item-image-properties-xemacs)
3536 (allout-widgets-run-unit-tests-on-load)
3537 (allout-widgets-time-decoration-activity)
3538 (allout-widgets-hook-error-post-time)
3539 (allout-widgets-track-decoration):
3540 Add missing :version tags to new defcustoms and defgroups.
3542 * progmodes/sql.el (sql-ansi-statement-starters)
3543 (sql-oracle-statement-starters): Add custom type.
3545 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3546 (prolog-system-version): Give it a type.
3548 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3550 * term/pc-win.el (x-select-text, x-selection-owner-p)
3551 (x-own-selection-internal, x-disown-selection-internal)
3552 (x-get-selection-internal): Sync doc strings and argument lists
3553 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3555 2012-02-11 Leo Liu <sdl.web@gmail.com>
3557 * progmodes/python.el (python-end-of-statement): Fix infinite
3560 2012-02-10 Glenn Morris <rgm@gnu.org>
3562 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3563 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3565 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3567 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3568 about SMTP before checking the From header.
3570 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3571 into own function for reuse by emacsbug.el.
3573 2012-02-10 Leo Liu <sdl.web@gmail.com>
3575 * subr.el (condition-case-unless-debug): Rename from
3576 condition-case-no-debug. All callers changed.
3577 (with-demoted-errors): Fix caller.
3579 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3580 * nxml/rng-valid.el (rng-do-some-validation):
3581 * emacs-lisp/package.el (package-refresh-contents)
3582 (package-menu-execute):
3583 * desktop.el (desktop-create-buffer):
3584 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3586 2012-02-10 Glenn Morris <rgm@gnu.org>
3588 * textmodes/bibtex.el:
3589 Add missing :version tags for new/changed defcustoms.
3591 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3593 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3595 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3596 (smtpmail-via-smtp): Use it, or fall back on the From address.
3597 (smtpmail-send-it): Ditto.
3599 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3601 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3602 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3603 (byte-compile-tmp-var): New const.
3604 (byte-compile-defvar): Use it to minimize .elc size.
3605 Just use `defvar' rather than simulate it (bug#10761).
3607 2012-02-09 Glenn Morris <rgm@gnu.org>
3609 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3611 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3614 * progmodes/compile.el (compilation-error-screen-columns)
3615 (compilation-first-column, compilation-filter-start): Doc fixes.
3617 * vc/log-view.el (log-view-toggle-entry-display):
3618 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3620 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3621 (report-emacs-bug-can-use-xdg-email):
3622 (report-emacs-bug-insert-to-mailer): Doc fixes.
3623 (report-emacs-bug): Message fix.
3625 * net/browse-url.el (browse-url-can-use-xdg-open)
3626 (browse-url-xdg-open): Doc fixes.
3628 * electric.el (electric-indent-mode, electric-pair-mode)
3629 (electric-layout-rules, electric-layout-mode): Doc fixes.
3630 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3632 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3634 * server.el (server-unselect-display): Don't inadvertently kill
3635 the current buffer. (Bug#10729)
3637 2012-02-08 Glenn Morris <rgm@gnu.org>
3639 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3640 (sql-list-table): Doc fixes.
3642 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3643 Comment out (does nothing).
3645 * completion.el (dynamic-completion-mode):
3646 * dirtrack.el (dirtrack-debug-mode):
3647 * electric.el (electric-layout-mode):
3648 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3649 * face-remap.el (text-scale-mode, buffer-face-mode):
3650 * iimage.el (iimage-mode):
3651 * image-mode.el (image-transform-mode):
3652 * minibuffer.el (completion-in-region-mode):
3653 * scroll-lock.el (scroll-lock-mode):
3654 * simple.el (next-error-follow-minor-mode):
3655 * tar-mode.el (tar-subfile-mode):
3656 * tooltip.el (tooltip-mode):
3657 * vcursor.el (vcursor-use-vcursor-map):
3658 * wid-browse.el (widget-minor-mode):
3659 * emulation/tpu-edt.el (tpu-edt-mode):
3660 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3661 * international/iso-ascii.el (iso-ascii-mode):
3662 * language/thai-util.el (thai-word-mode):
3663 * mail/supercite.el (sc-minor-mode):
3664 * net/goto-addr.el (goto-address-mode):
3665 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3666 * progmodes/cwarn.el (cwarn-mode):
3667 * progmodes/flymake.el (flymake-mode):
3668 * progmodes/glasses.el (glasses-mode):
3669 * progmodes/hideshow.el (hs-minor-mode):
3670 * progmodes/pascal.el (pascal-outline-mode):
3671 * textmodes/enriched.el (enriched-mode):
3672 * vc/smerge-mode.el (smerge-mode):
3673 Doc fixes (minor mode argument).
3675 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3677 * ls-lisp.el (ls-lisp-sanitize): New function.
3678 (ls-lisp-insert-directory): Use it to fix or remove any elements
3679 in file-alist with missing attributes. (Bug#4673)
3681 2012-02-07 Alan Mackenzie <acm@muc.de>
3683 Fix spurious recognition of c-in-knr-argdecl.
3685 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3686 putative K&R region.
3688 2012-02-07 Alan Mackenzie <acm@muc.de>
3690 * progmodes/cc-engine.el (c-forward-objc-directive):
3691 Prevent looping in "#pragma mark @implementation".
3693 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3695 * notifications.el (notifications-on-closed-signal): Make `reason'
3696 optional. (Bug#10744)
3698 2012-02-07 Glenn Morris <rgm@gnu.org>
3700 * emacs-lisp/easy-mmode.el (define-minor-mode):
3701 Doc fixes for the macro and the mode it defines.
3703 * image.el (imagemagick-types-inhibit): Doc fix.
3705 * cus-start.el (imagemagick-render-type): Add it.
3707 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3709 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3710 Set the default at load time, too, so that `font-lock-fontify-buffer'
3711 can be called without setting up the entire mode first. This fixes
3712 a bug in `mm-inline-text' with C MIME parts.
3714 2012-02-06 Chong Yidong <cyd@gnu.org>
3716 * simple.el (list-processes--refresh): Delete exited processes
3719 * comint.el (comint-next-prompt): next-single-char-property-change
3720 and prev-single-char-property-change never return nil (Bug#8657).
3722 * custom.el (defcustom): Doc fix (Bug#9711).
3724 2012-02-05 Chong Yidong <cyd@gnu.org>
3726 * cus-edit.el (custom-variable-reset-backup): Quote the value
3727 before storing it in the customized-value property (Bug#6712).
3728 (custom-display): Add a customization type tag.
3729 (custom-buffer-create-internal): Improve tooltip message.
3731 * wid-edit.el (widget-field-value-get): New optional arg to
3732 suppress trailing whitespace truncation.
3733 (character): Use it (Bug#2689).
3735 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3737 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3738 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3740 2012-02-05 Chong Yidong <cyd@gnu.org>
3742 * cus-edit.el (custom-variable-value-create): For mismatched
3743 types, show the current value (Bug#7600).
3745 * custom.el (defcustom): Doc fix.
3747 2012-02-05 Glenn Morris <rgm@gnu.org>
3749 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3751 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3753 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3754 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3755 (pp-last-sexp): Use `looking-at-p'.
3757 2012-02-04 Glenn Morris <rgm@gnu.org>
3759 * files.el (revert-buffer):
3760 Doc fix (mention revert-buffer-in-progress-p).
3762 * emacs-lisp/ert-x.el (ert-simulate-command):
3763 Check deferred-action-list (which is obsolete) is bound.
3765 * subr.el (with-wrapper-hook): Doc fixes.
3767 * simple.el (filter-buffer-substring-functions)
3768 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3770 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3772 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3773 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3775 2012-02-04 Leo Liu <sdl.web@gmail.com>
3777 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3779 2012-02-04 Glenn Morris <rgm@gnu.org>
3781 * image.el (image-extension-data): Add obsolete alias.
3783 * isearch.el (isearch-update): Doc fix.
3785 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3787 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3789 2012-02-03 Glenn Morris <rgm@gnu.org>
3791 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3792 (image-animate-timeout): Doc fix.
3794 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3796 2012-02-02 Glenn Morris <rgm@gnu.org>
3798 * server.el (server-auth-dir): Doc fix.
3799 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3801 * subr.el (run-mode-hooks): Doc fix.
3803 2012-02-02 Juri Linkov <juri@jurta.org>
3805 * image-mode.el (image-toggle-display-image): Remove tautological
3806 `major-mode' from the `derived-mode-p' test.
3808 2012-02-02 Kenichi Handa <handa@m17n.org>
3810 * composite.el (compose-region): Cancel previous change.
3812 2012-02-02 Kenichi Handa <handa@m17n.org>
3814 * composite.el (compose-region, compose-string): Signal error for
3815 a null string component (Bug#6988).
3817 2012-02-01 Chong Yidong <cyd@gnu.org>
3819 * view.el (view-buffer-other-window, view-buffer-other-frame):
3820 Handle special modes like view-buffer (Bug#10650).
3821 (view-buffer): Simplify.
3823 * frame.el (set-frame-font): Tweak meaning of third argument.
3825 * dynamic-setting.el (font-setting-change-default-font):
3826 Use set-frame-font (Bug#9982).
3828 2012-02-01 Glenn Morris <rgm@gnu.org>
3830 * progmodes/compile.el (compilation-internal-error-properties):
3831 Respect compilation-first-column in the "*compilation*" buffer.
3833 * emacs-lisp/easy-mmode.el (define-minor-mode):
3834 Relax :variable's test for a named function.
3836 2012-01-31 Alan Mackenzie <acm@muc.de>
3838 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3841 2012-01-31 Chong Yidong <cyd@gnu.org>
3843 * frame.el (set-frame-font): New arg ALL-FRAMES.
3845 * menu-bar.el (menu-set-font): Use set-frame-font.
3847 * faces.el (face-spec-reset-face): Don't apply unspecified
3848 attribute values to the default face.
3850 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3852 * progmodes/cwarn.el (cwarn): Remove dead link.
3853 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3854 Remove * from defcustom docstrings.
3855 (turn-on-cwarn-mode): Make obsolete.
3856 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3857 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3859 2012-01-31 Glenn Morris <rgm@gnu.org>
3861 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3862 Fix :variable handling of mode a symbol not equal to modefun.
3863 Allow named functions to be used as the cdr of :variable.
3865 2012-01-30 Glenn Morris <rgm@gnu.org>
3867 * emacs-lisp/authors.el (authors-fixed-entries):
3868 Remove reference to deleted file rnewspost.el.
3870 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3872 * window.el (window-with-parameter): Remove unused variable `windows'.
3873 (window--side-check): Remove unused variable `code'.
3874 (window--resize-siblings): Remove unused variable `first'.
3875 (adjust-window-trailing-edge): Remove unused variable `failed'.
3876 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3877 Use `let', not `let*'.
3878 (balance-windows-2): Remove unused variable `found'.
3879 (window--state-put-2): Remove unused variable `splits'.
3880 (window-state-put): Remove unused variable `selected'.
3881 (same-window-p): Use `string-match-p'.
3882 (display-buffer-assq-regexp): Remove unused variable `value'.
3883 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3884 Mark argument ALIST as ignored.
3885 (pop-to-buffer): Remove unused variable `old-window'.
3887 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3889 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3890 and .lzma compressed files.
3892 2012-01-29 Chong Yidong <cyd@gnu.org>
3894 * frame.el (window-system-default-frame-alist): Doc fix.
3896 * dynamic-setting.el (font-setting-change-default-font): Don't
3897 change the default face if SET-FONT argument is non-nil (Bug#9982).
3899 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3901 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3903 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3905 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3906 breakpoints in files outside current directory (Bug#6098).
3908 2012-01-29 Chong Yidong <cyd@gnu.org>
3910 * progmodes/python.el: Require ansi-color at top-level.
3912 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3913 Define and use in Emacs Lisp mode (Bug#9360).
3914 (lisp-mode-abbrev-table): Add doc.
3915 (lisp-mode-variables): Don't set local-abbrev-table.
3916 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3918 2012-01-28 Roland Winkler <winkler@gnu.org>
3920 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3922 2012-01-28 Roland Winkler <winkler@gnu.org>
3924 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3925 (bibtex-set-dialect): Use it. Either set global values of
3926 dialect-dependent variables or bind these variables buffer-locally
3928 (bibtex-mode): Call bibtex-set-dialect via
3929 hack-local-variables-hook.
3930 (bibtex-dialect): Update docstring.
3931 Add safe-local-variable predicate.
3932 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3934 (bibtex-mode-map): Define menu for each dialect.
3935 (bibtex-entry): Fix docstring.
3937 2012-01-28 Chong Yidong <cyd@gnu.org>
3939 * eshell/esh-arg.el (eshell-quote-argument): New function.
3941 * eshell/esh-ext.el (eshell-invoke-batch-file):
3942 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3943 first arg to eshell-parse-command (Bug#10523).
3945 2012-01-28 Drew Adams <drew.adams@oracle.com>
3947 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3948 `default-directory' is non-nil.
3950 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3952 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3953 line that displays system-configuration-options. (Bug#9924)
3955 2012-01-28 Drew Adams <drew.adams@oracle.com>
3957 * descr-text.el (describe-char): Show information about POS, in
3958 addition to information about the character at POS. Improve and
3959 update the doc string. Change "code point" to "code point in
3960 charset", to avoid confusion with the character's Unicode code
3961 point shown above that. (Bug#10129)
3963 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3965 * descr-text.el (describe-char): Show the raw character, not only
3966 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3967 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3970 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3972 * emacs-lisp/package.el (package-install):
3973 Run package-refresh-contents if there is no archive yet (Bug#9798).
3975 2012-01-28 Chong Yidong <cyd@gnu.org>
3977 * emacs-lisp/package.el (package-maybe-load-descriptor):
3978 New function, split from package-maybe-load-descriptor.
3979 (package-maybe-load-descriptor): Use it.
3980 (package-download-transaction): Fully load required packages
3981 inside the loop, so that `require' calls work (Bug#10593).
3982 (package-install): No need to call package-initialize now.
3984 2012-01-28 Chong Yidong <cyd@gnu.org>
3986 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3988 * tooltip.el (tooltip-mode): Doc fix.
3989 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3991 * frame.el (set-cursor-color): Doc fix (Bug#352).
3993 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3994 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3996 * cus-edit.el (custom-buffer-create-internal): Fix search button
3998 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4000 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4002 * dired.el (dired-mark-files-regexp):
4003 Include any subdirectory components. (Bug#10445)
4005 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4007 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4008 Handle [host]:port syntax. (Bug#10533)
4010 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4012 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4014 2012-01-26 Glenn Morris <rgm@gnu.org>
4016 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4017 * term.el (term-raw-escape-map): Use Control-X-prefix.
4018 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4020 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4022 * window.el (window-state-get, window--state-get-1): Don't deal
4023 with fixed-sizeness of windows. Simplify code.
4025 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4027 * window.el (window--state-get-1, window--state-put-2):
4028 Don't save and restore the mark.
4030 2012-01-25 Chong Yidong <cyd@gnu.org>
4032 * custom.el (custom-variable-p): Doc fix.
4034 2012-01-25 Glenn Morris <rgm@gnu.org>
4036 * dired.el (dired-goto-file): Handle some of the more common
4037 characters that `ls -b' escapes. (Bug#10596)
4039 * progmodes/compile.el (compilation-next-error-function):
4040 Respect compilation-first-column in the "*compilation*" buffer.
4041 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4043 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4045 2012-01-24 Glenn Morris <rgm@gnu.org>
4047 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4049 2012-01-24 Julien Danjou <julien@danjou.info>
4051 * color.el (color-rgb-to-hsl): Fix value computing.
4052 (color-hue-to-rgb): New function.
4053 (color-hsl-to-rgb): New function.
4054 (color-clamp, color-saturate-hsl, color-saturate-name)
4055 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4056 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4058 2012-01-24 Glenn Morris <rgm@gnu.org>
4060 * vc/vc-rcs.el (vc-rcs-create-tag):
4061 * vc/vc-sccs.el (vc-sccs-create-tag):
4062 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4064 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4066 * eshell/esh-util.el (eshell-read-hosts-file):
4067 Skip comment lines. (Bug#10549)
4069 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4071 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4073 * subr.el (display-delayed-warnings): Doc fix.
4074 (collapse-delayed-warnings): New function to collapse identical
4076 (delayed-warnings-hook): Add it.
4078 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4080 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4082 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4083 properties, when "login-as" is set.
4085 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4086 (tramp-default-user-alist): Don't add "pscp".
4087 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4088 property "login-as", if set. (Bug#10530)
4090 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4092 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4093 "plink1" and "psftp". (Bug#10530)
4095 2012-01-21 Kenichi Handa <handa@m17n.org>
4097 * international/mule-cmds.el (prefer-coding-system): Show a
4098 warning message if the default value of file-name-coding-system
4101 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4103 * windmove.el (windmove-reference-loc):
4104 Fix windmove-reference-loc miscalculation.
4106 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4108 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4111 2012-01-21 Glenn Morris <rgm@gnu.org>
4113 * international/mule.el (auto-coding-alist): Add .tbz.
4115 * files.el (local-enable-local-variables): Doc fix.
4116 (inhibit-local-variables-regexps): Rename from
4117 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4118 Doc fix. Add some extensions from auto-coding-alist.
4119 (inhibit-local-variables-suffixes):
4120 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4121 (inhibit-local-variables-p):
4122 New function, extracted from set-auto-mode-1.
4123 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4124 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4125 (hack-local-variables): Doc fix. Make the mode-only case
4126 respect enable-local-variables and friends.
4127 Respect inhibit-local-variables-regexps for file-locals, but
4128 not for directory-locals.
4129 (set-visited-file-name):
4130 Take account of inhibit-local-variables-regexps.
4131 Whether it applies may change as the file name is changed.
4132 * jka-cmpr-hook.el (jka-compr-install):
4133 * jka-compr.el (jka-compr-uninstall):
4134 Update for inhibit-first-line-modes-suffixes name change.
4136 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4138 * help-macro.el (make-help-screen): Temporarily restore original
4139 binding for minor-mode-map-alist (Bug#10454).
4141 2012-01-19 Julien Danjou <julien@danjou.info>
4143 * color.el (color-name-to-rgb): Use the white color to find the max
4144 color component value and return correctly computed values.
4145 (color-name-to-rgb): Add missing float conversion for max value.
4147 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4149 * window.el (window--state-get-1, window-state-get): Do not use
4150 special state value for window-persistent-parameters.
4151 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4152 (window--state-put-2): Reset all window parameters to nil before
4153 assigning values of persistent parameters.
4155 2012-01-18 Alan Mackenzie <acm@muc.de>
4157 Eliminate sluggishness and hangs in fontification of "semicolon
4160 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4161 Change value 10000 -> 3000.
4162 (c-state-safe-place): Reformulate so it doesn't stack up an
4163 infinite number of wrong entries in c-state-nonlit-pos-cache.
4164 (c-determine-limit-get-base, c-determine-limit): New functions to
4165 determine backward search limits disregarding literals.
4166 (c-find-decl-spots): Amend commenting.
4167 (c-cheap-inside-bracelist-p): New function which detects "={".
4169 * progmodes/cc-fonts.el
4170 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4172 (c-font-lock-declarations): Fix an occurrence of point being
4173 undefined. Check additionally for point being in a bracelist or
4174 near a macro invocation without a semicolon so as to avoid a
4175 fruitless time consuming search for a declarator. Give a more
4176 precise search limit for declarators using the new
4179 2012-01-18 Glenn Morris <rgm@gnu.org>
4181 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4182 (set-auto-mode): Doc fixes.
4184 2012-01-17 Glenn Morris <rgm@gnu.org>
4186 * isearch.el (search-nonincremental-instead): Fix doc typo.
4188 * dired.el (dired-insert-directory): Handle newlines in directory name.
4189 (dired-build-subdir-alist): Unescape newlines in directory name.
4191 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4193 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4194 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4195 (tramp-action-terminal): Use it. (Bug#10530)
4197 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4199 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4201 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4203 * window.el (window-state-ignored-parameters): Remove variable.
4204 (window--state-get-1): Rename argument MARKERS to IGNORE.
4205 Handle persistent window parameters. Make copy of clone-of
4206 parameter only if requested. (Bug#10348)
4207 (window--state-put-2): Install a window parameter only if it has
4208 a non-nil value or an existing parameter shall be overwritten.
4210 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4212 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4214 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4216 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4217 don't pass the (nil) value of `upnode' to string-match.
4219 2012-01-14 Chong Yidong <cyd@gnu.org>
4221 * startup.el (command-line): Fix X resource class for cursorColor.
4222 Fix values recognized by the cursorBlink resource.
4224 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4226 * epg.el (epg--make-temp-file): Avoid permission race condition
4227 when running on old Emacs versions (bug#10403).
4229 2012-01-14 Glenn Morris <rgm@gnu.org>
4231 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4233 2012-01-13 Alan Mackenzie <acm@muc.de>
4235 Fix filling for when filladapt mode is enabled.
4237 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4238 c-mask-paragraph, pass in `fill-paragraph' rather than
4239 `fill-region-as-paragraph'. (This is a reversion of a previous
4241 * progmodes/cc-mode.el (c-basic-common-init):
4242 Make fill-paragraph-handle-comment buffer local and set it to nil.
4244 2012-01-13 Glenn Morris <rgm@gnu.org>
4246 * dired.el (dired-switches-escape-p): New function.
4247 (dired-insert-directory): Use dired-switches-escape-p.
4248 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4250 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4252 2012-01-12 Glenn Morris <rgm@gnu.org>
4254 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4255 changes in adaptive-fill-regexp. (Bug#10276)
4257 2012-01-11 Alan Mackenzie <acm@muc.de>
4259 Fix Emacs bug #10463 - put `widen's around the critical spots.
4261 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4262 widen around each invocation of c-state-pp-to-literal. Remove an
4263 unused let variable.
4265 2012-01-11 Glenn Morris <rgm@gnu.org>
4267 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4270 2012-01-10 Chong Yidong <cyd@gnu.org>
4272 * net/network-stream.el (network-stream-open-starttls):
4273 Avoid emitting a confusing error message when the server gives a bad
4274 response to the capability command.
4276 2012-01-10 Glenn Morris <rgm@gnu.org>
4278 * mail/unrmail.el (unrmail): Tweak previous change.
4280 2012-01-09 Chong Yidong <cyd@gnu.org>
4282 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4284 2012-01-08 Alan Mackenzie <acm@muc.de>
4286 Optimise font locking in long enum definitions.
4288 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4289 arm to a cond form to handle enums.
4290 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4291 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4293 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4295 * files.el (move-file-to-trash): Preserve default file modes on error.
4298 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4300 * faces.el (set-face-attribute): Clarify the meaning of the nil
4303 * subr.el (with-selected-frame): Mention that the selected frame
4304 is restored (bug#9980).
4306 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4309 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4310 (password-read): Don't autoload unused function.
4312 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4314 * progmodes/which-func.el (which-func-mode): Turn into a
4315 non-interactive function and mark as obsolete (bug#10428).
4317 2012-01-06 Chong Yidong <cyd@gnu.org>
4319 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4320 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4321 functions, along with 1 and -1.
4323 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4325 * time.el (display-time-load-average)
4326 (display-time-default-load-average): Doc fixes. See the thread
4328 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4331 2012-01-06 Glenn Morris <rgm@gnu.org>
4333 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4334 has no messages. (Bug#10377)
4336 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4337 than Info-edit. (Bug#10385)
4339 * time.el (display-time-load-average, display-time-next-load-average):
4342 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4343 local setting of buffer-read-only to the input buffer. (Bug#10419)
4345 * calendar/calendar.el (calendar-mode):
4346 Locally set scroll-margin to 0. (Bug#10379)
4348 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4350 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4352 2012-01-05 Glenn Morris <rgm@gnu.org>
4354 * eshell/em-unix.el (diff-no-select): Autoload it.
4355 (eshell/diff): Use diff-no-select. (Bug#10420)
4357 2012-01-05 Chong Yidong <cyd@gnu.org>
4359 * shell.el (shell-dynamic-complete-functions): Revert last change.
4360 (shell-command-completion-function): New function.
4361 (shell-completion-vars): Use it to implement
4362 shell-completion-execonly (Bug#10417).
4364 * custom.el (enable-theme): Don't set custom-safe-themes.
4366 * cus-theme.el (custom-theme-merge-theme):
4367 Ignore custom-enabled-themes and custom-safe-themes.
4369 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4371 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4372 first prompt in `sql-interacive-mode'.
4373 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4375 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4376 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4377 context of original buffer. Invoke `sql-login-hook'.
4379 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4381 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4382 letters in cite-prefix.
4384 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4386 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4388 2012-01-03 Chong Yidong <cyd@gnu.org>
4390 * shell.el (shell-dynamic-complete-functions):
4391 Put pcomplete-completions-at-point, so as to try
4392 comint-filename-completion first (Bug#10417).
4394 2012-01-02 Richard Stallman <rms@gnu.org>
4396 * battery.el (battery-status-function):
4397 Detect when to use battery-yeeloong-sysfs.
4398 (battery-echo-area-format): Add string for Yeeloong.
4399 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4400 (battery-yeeloong-sysfs): New function.
4402 2012-01-02 Chong Yidong <cyd@gnu.org>
4404 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4405 (dirtrack): Merge code for handling relative filenames in prompt
4406 from shell-dir-cookie-watcher.
4407 (dirtrack-debug-message): New arg to avoid excess format calls.
4409 * shell.el (shell-dir-cookie-re): Variable deleted.
4410 (shell-dir-cookie-watcher): Function deleted.
4411 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4414 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4416 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4417 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4420 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4422 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4424 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4426 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4427 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4429 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4431 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4432 also for alternative shells.
4433 (tramp-open-connection-setup-interactive-shell): Check, whether
4434 the shell is a busybox.
4435 (tramp-send-command): Don't suppress multiple prompts for
4436 busyboxes, it hurts.
4438 2011-12-28 Chong Yidong <cyd@gnu.org>
4440 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4441 (gdb-get-source-file): Move mode line update to
4442 gdb-get-source-file (Bug#10087).
4444 2011-12-25 Chong Yidong <cyd@gnu.org>
4446 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4447 gud-gdb-marker-filter without taking it as an argument.
4448 (gud-gdb-run-command-fetch-lines): Caller changed.
4449 (gud-gdb-completion-function): New variable.
4450 (gud-gdb-completion-at-point): Use it.
4451 (gud-gdb-completions-1): Split from gud-gdb-completions.
4453 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4454 function as separate arguments.
4455 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4456 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4457 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4458 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4459 (gdb-stopped, def-gdb-auto-update-trigger)
4460 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4461 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4463 (gud-gdbmi-completions): New function.
4464 (gdb): Use it for generating the completion table.
4466 2011-12-24 Alan Mackenzie <acm@muc.de>
4468 Introduce a mechanism to widen the region used in context font
4469 locking. Use this to protect declarations from losing their contexts.
4471 * progmodes/cc-langs.el (c-before-font-lock-functions):
4472 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4473 (c-before-context-fontification-functions): New defvar, a list of
4474 functions to be run just before context (etc.) font locking.
4476 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4477 New, functionality extracted from
4478 c-neutralize-syntax-in-and-mark-CPP.
4479 (c-in-after-change-fontification): New variable.
4480 (c-after-change): Set c-in-after-change-fontification.
4481 (c-set-fl-decl-start): Rejig its interface, so it can be called
4482 from both after-change and context fontifying.
4483 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4485 (c-standard-font-lock-fontify-region-function): New variable.
4486 (c-font-lock-fontify-region): New function.
4488 2011-12-24 Juri Linkov <juri@jurta.org>
4490 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4493 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4495 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4496 existence of source file. (Bug#10325)
4498 2011-12-23 Alan Mackenzie <acm@muc.de>
4500 Fix unstable fontification inside templates.
4502 * progmodes/cc-langs.el (c-before-font-lock-functions):
4503 Newly created from the singular version. The (c c++ objc) entry now
4504 additionally has c-set-fl-decl-start. The other languages (apart
4505 from AWK) have that as a single entry.
4507 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4508 The functionality for "local" declarations has been extracted to
4509 c-set-fl-decl-start.
4511 * progmodes/cc-mode.el (c-common-init, c-after-change):
4512 Changes due to pluralisation of c-before-font-lock-functions.
4513 (c-set-fl-decl-start): New function, extracted from
4514 c-font-lock-enclosing-decls and enhanced.
4516 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4518 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4520 2011-12-22 Juri Linkov <juri@jurta.org>
4522 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4524 2011-12-22 Chong Yidong <cyd@gnu.org>
4526 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4528 2011-12-21 Drew Adams <drew.adams@oracle.com>
4530 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4532 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4534 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4536 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4538 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4539 highlighting and support. Fix up comments for capitalization.
4540 (cfengine-mode-debug): New var.
4541 (cfengine3-mode): Change the modeline indicator to "CFE3".
4542 (cfengine3-font-lock-keywords): Improve defun highlighting.
4543 (cfengine2-actions): Rename from `cfengine-actions'.
4544 (cfengine2-font-lock-keywords): Rename from
4545 `cfengine-font-lock-keywords'.
4546 (cfengine2-imenu-expression): Rename from
4547 `cfengine-imenu-expression'.
4548 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4549 (cfengine2-beginning-of-defun): Rename from
4550 `cfengine-beginning-of-defun'.
4551 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4552 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4553 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4554 modeline indicator to "CFE2".
4555 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4556 (cfengine-mode-abbrevs): Mark obsolete.
4558 2011-12-21 Chong Yidong <cyd@gnu.org>
4560 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4563 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4565 * window.el (window-normalize-buffer-to-display): Remove.
4566 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4568 2011-12-19 Chong Yidong <cyd@gnu.org>
4570 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4571 Don't signal an error in a predicate function; return non-nil.
4572 (vc-dir-mark-file): Move the error here.
4573 (vc-dir-mark-unmark): If acting on the region, keep going if one
4574 of the entries cannot be marked/unmarked.
4575 (vc-dir-mark-all-files): If current entry is a directory, mark
4576 only child files, as documented.
4578 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4580 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4581 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4584 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4586 * term/ns-win.el (ns-get-selection-internal)
4587 (ns-store-selection-internal): Declare.
4588 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4589 Declare as obsolete.
4590 (ns-get-pasteboard, ns-paste-secondary):
4591 Use ns-get-selection-internal.
4592 (ns-set-pasteboard, ns-copy-including-secondary):
4593 Use ns-store-selection-internal.
4595 2011-12-17 Chong Yidong <cyd@gnu.org>
4597 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4598 (vc-deduce-fileset): Doc fix.
4600 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4602 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4604 2011-12-13 Sam Steingold <sds@gnu.org>
4606 * man.el (Man-getpage-in-background): When running under a
4607 window-system, ignore $MANWIDTH and $COLUMNS.
4609 2011-12-15 Kenichi Handa <handa@m17n.org>
4611 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4612 (setup-ethiopic-environment-internal): Comment out key-binding for
4613 ethio-toggle-punctuation.
4615 2011-12-13 Alan Mackenzie <acm@muc.de>
4617 Add the switch statement to AWK Mode.
4619 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4620 "default" to the keywords regexp.
4622 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4623 expression as the rest.
4624 (c-nonlabel-token-key): Allow string literals for AWK.
4625 Refactor for the other modes.
4627 Large brace-block initialisation makes CC Mode slow: Fix.
4628 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4629 routines. Limit backward searching in c-font-lock-enclosing.decl.
4631 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4632 pp-state and literal type in addition to the limits.
4633 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4634 (c-state-literal-at): Use the above new defun.
4635 (c-slow-in-literal, c-fast-in-literal): Remove.
4636 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4638 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4639 being in a literal. Add a limit for backward searching.
4641 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4644 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4646 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4648 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4650 * window.el (delete-other-windows): Use correct frame in call to
4651 window-with-parameter.
4653 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4655 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4656 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4657 (makefile-gmake-statements, makefile-makepp-statements):
4658 Use it and add new makepp keywords.
4659 (makefile-makepp-font-lock-keywords): Add new patterns.
4660 (makefile-match-function-end): Match new [...] and [[...]].
4662 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4664 * ses.el (ses-call-printer-return, ses-cell-property-get)
4665 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4666 (ses-create-cell-variable, ses-reset-header-string)
4667 (ses-cell-set-formula, ses-repair-cell-reference-all)
4668 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4669 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4670 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4671 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4672 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4673 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4674 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4675 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4676 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4677 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4678 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4679 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4681 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4683 * ses.el: The overall change is to add cell renaming, that is
4684 setting fancy names for cell symbols other than name matching
4685 "\\`[A-Z]+[0-9]+\\'" regexp .
4686 (ses-create-cell-variable): New defun.
4687 (ses-relocate-formula): Relocate formulas only for cells the
4688 symbols of which are not renamed, i.e. symbols whose names do not
4689 match regexp "\\`[A-Z]+[0-9]+\\'".
4690 (ses-relocate-all): Relocate values only for cells the symbols of
4691 which are not renamed.
4692 (ses-load): Create cells variables as the (ses-cell ...) are read,
4693 in order to check row col consistency with cell symbol name only
4694 for cells that are not renamed.
4695 (ses-replace-name-in-formula): New defun.
4696 (ses-rename-cell): New defun.
4698 2011-12-11 Chong Yidong <cyd@gnu.org>
4700 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4701 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4703 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4705 * window.el (other-window): Fix docstring.
4707 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4709 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4710 `from' or `to' address before taking its substring.
4711 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4712 encoded name is chopped in the middle of the encoded string, and
4713 thus displayed encoded.
4715 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4717 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4719 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4721 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4722 to use texinfo-update-node and commands that call it if the
4723 Texinfo file uses @node lines without next/prev/up pointers.
4724 Correct outdated description about texinfo-master-menu.
4725 (texinfo-all-menus-update, texinfo-master-menu)
4726 (texinfo-update-node, texinfo-every-node-update)
4727 (texinfo-multiple-files-update): Doc fix. Warn against updating
4728 all the @node lines.
4729 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4730 argument is numeric. Explain better in the doc string what the
4731 function really does.
4732 (texinfo-insert-master-menu-list): Improve the error message
4733 displayed if there's no menu in the Top node.
4734 (Bug#2975) See also this thread:
4735 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4737 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4739 * speedbar.el (speedbar-supported-extension-expressions):
4740 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4742 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4744 * printing.el (pr-mode-alist):
4745 * simple.el (filter-buffer-substring-functions)
4746 (completion-list-insert-choice-function):
4747 * window.el (window-with-parameter, window-atom-root)
4748 (window-sides-slots, window-size-fixed, window-min-delta)
4749 (window-max-delta, window--resize-mini-window)
4750 (window--resize-child-windows-normal, window-tree)
4751 (delete-other-windows, quit-window, split-window)
4752 (display-buffer-record-window, special-display-buffer-names)
4753 (special-display-regexps, special-display-popup-frame)
4754 (same-window-p, split-window-sensibly)
4755 (display-buffer-overriding-action, display-buffer-alist)
4756 (display-buffer-base-action, display-buffer, switch-to-buffer)
4757 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4758 (fit-window-to-buffer, recenter-positions)
4759 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4760 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4761 and remove unneeded backslashes in docstrings.
4763 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4765 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4767 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4768 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4770 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4771 when reading the makefile (bug#10116).
4773 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4775 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4778 2011-12-06 Glenn Morris <rgm@gnu.org>
4780 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4782 2011-12-06 Chong Yidong <cyd@gnu.org>
4784 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4786 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4788 * textmodes/table.el (table-shorten-cell): Fix typo.
4790 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4792 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4794 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4796 * descr-text.el (describe-char): Fix display of strong
4797 right-to-left characters and directional embeddings and overrides.
4799 * simple.el (what-cursor-position): Fix display of codepoints of
4800 strong right-to-left characters.
4802 2011-12-05 Chong Yidong <cyd@gnu.org>
4804 * faces.el (read-color): Doc fix.
4806 2011-12-05 Glenn Morris <rgm@gnu.org>
4808 * align.el (align--set-marker): Add doc-string.
4809 Don't try to move something that is not a marker. (Bug#10216)
4811 2011-12-04 Glenn Morris <rgm@gnu.org>
4813 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4814 overly zealous deletion of trailing whitespace.
4816 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4818 * server.el (server-delete-client): On Windows, do not try to delete
4820 (server-process-filter): On Windows, treat requests for a tty frame as
4821 if they were for a GUI frame if the running server is in GUI mode.
4823 2011-12-03 Glenn Morris <rgm@gnu.org>
4825 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4827 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4829 * electric.el: Streamline electric-indent's hook.
4830 (electric-indent-chars): Revert to simple list.
4831 (electric-indent-functions): New var.
4832 (electric-indent-post-self-insert-function): Use it.
4834 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4835 there's no inferior buffer (bug#10196).
4836 (prolog-consult-compile): Don't use toggle-read-only.
4838 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4840 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4841 interrupt. (Bug#10187)
4843 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4845 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4848 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4851 2011-12-02 Juri Linkov <juri@jurta.org>
4853 * info.el (Info-search): Display "end of manual" when Isearch
4854 reaches the end of single-file Info manual. (Bug#9918)
4856 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4858 * isearch.el (isearch-message-prefix): Run the input method part
4859 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4861 2011-12-02 Juri Linkov <juri@jurta.org>
4863 * isearch.el (isearch-occur): Use `word-search-regexp' for
4865 (isearch-search-and-update): Add condition for `isearch-word' and
4866 call `word-search-regexp'. (Bug#10145)
4868 2011-12-01 Glenn Morris <rgm@gnu.org>
4870 * eshell/em-hist.el (eshell-hist-initialize):
4871 Handle eshell-history-size nil and HISTSIZE set or unset.
4872 (eshell-history-file-name, eshell-history-size): Fix custom type.
4874 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4876 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4878 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4880 * progmodes/verilog-mode.el (verilog-pretty-expr):
4881 Rework verilog-pretty-expr to handle new assignment operators in system
4882 verilog, such as += *= and the like.
4883 (verilog-assignment-operator-re): Regular expression to find the
4884 assigment operator in a verilog assignment.
4885 (verilog-assignment-operation-re): Regular expression to find an
4886 assignment statement for pretty-expr.
4887 (verilog-in-attribute-p): Query returns true if point is in an
4888 attribute context; used to skip these for expression line up from
4890 (verilog-in-parameter-p): Query returns true if point is in an
4891 parameter definition context; used to skip these for expression
4892 line up from pretty-expr.
4893 (verilog-in-parenthesis-p): Query returns true if point is in a
4894 parenthetical expression, specifically ( ) but not [ ] or { };
4895 used by pretty-expr.
4896 (verilog-just-one-space): If there is no space, don't add one.
4897 (verilog-get-lineup-indent-2): Specifically skip just attribute
4898 contexts for expression lineup, rather than skipping all
4899 parenthetical expressions.
4900 (verilog-calculate-indent): Fix comment, and fix indent.
4901 (verilog-do-indent): Indent declarations in lists (suggested by
4903 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4905 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4908 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4910 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4911 parameters with embedded comments. Reported by Ray Stevens.
4912 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4913 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4914 Reported by Tim Holt.
4915 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4916 instantiated by upper module causing wrong expansion until AUTOed a
4917 second time. Reported by K C Buckenmaier.
4918 (verilog-diff-auto): Fix showing .* as a difference when
4919 `verilog-auto-star-save' off. Reported by Dan Dever.
4920 (verilog-auto-reset, verilog-read-always-signals)
4921 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4922 temporary signals in reset list if
4923 verilog-auto-reset-blocking-in-non is nil, and match assignment
4924 style to each signal's assignment type, bug381.
4925 Reported by Thomas Esposito.
4926 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4927 (verilog-uvm-statement-re): Support UVM indentation and
4928 highlighting, with old OVM keywords only.
4929 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4930 Support AUTOTIEOFF creating non-wire data types.
4931 Suggested by Jonathan Greenlaw.
4932 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4933 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4934 (verilog-inject-sense, verilog-read-inst-pins)
4935 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4936 Fix mismatching parenthesis inside commented out code when deleting
4937 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4938 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4939 non-numeric vector width. Reported by Alex Reed.
4940 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4941 detecting signals with parameter widths. Reported by Alex Reed.
4942 (verilog-auto-delete-trailing-whitespace):
4943 With `verilog-auto-delete-trailing-whitespace' remove trailing
4944 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4945 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4946 Fix verilog-scan-cache corruption when running user AUTO expansion
4947 hooks that call indentation routines.
4948 (verilog-simplify-range-expression): Fix typo ignoring lower case
4950 (verilog-delete-auto): Fix delete-autos to also remove user created
4951 automatics, as long as they start with AUTO.
4952 (verilog-batch-diff-auto, verilog-diff-auto)
4953 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4954 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4955 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4956 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4957 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4958 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4959 is disabled and its cache will get corrupt, causing AUTOS not to
4960 expand. Instead use only -quick functions.
4961 (verilog-scan-region): Fix scanning over escaped quotes.
4962 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4963 (verilog-re-search-backward-quick)
4964 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4965 related functions now ignore strings, to fix misparsing of strings
4966 with magic comments embedded in them.
4967 (verilog-read-auto-template):
4968 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4969 Reported by Brad Dobbie.
4970 (verilog-read-auto-template):
4971 Fix 'verilog-auto-inst-template-numbers' with comments.
4972 Reported by Brad Dobbie.
4973 (verilog-auto-inst, verilog-auto-inst-param)
4974 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4975 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4976 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4977 debugging templates without merge conflicts, bug357.
4978 Reported by Brad Dobbie.
4979 (verilog-read-auto-template):
4980 Fix verilog-auto-inst-template-numbers with multiple templates.
4981 Reported by Brad Dobbie.
4982 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4983 abbrevs so user won't be asked to save.
4984 (verilog-read-auto-lisp-present): Fix to start at beginning of
4985 buffer in case called outside of verilog-auto.
4986 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4987 to "X-2". Reported by Matthew Myers.
4988 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4989 all inputs from module templates. Reported by Leith Johnson.
4990 (verilog-module-inside-filename-p): Fix locating programs as with
4992 (verilog-auto-inst-port): Fix vl-width expressions when using
4993 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4994 (verilog-decls-get-regs, verilog-decls-get-signals,
4995 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4996 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4997 verilog-read-decls): Combine reg and wire structures into one var
4998 structure to represent SystemVerilog concepts.
4999 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5000 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5001 (verilog-auto-wire-type, verilog-insert-definition):
5002 Add verilog-auto-wire-type and AUTOLOGIC to support using
5003 SystemVerilog "logic" keyword instead of "wire"/"reg".
5004 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5005 to declares outputs that also have assignments (presumably in an
5006 ifdef or generate if so there's not a driver conflict).
5007 Reported by Matthew Myers.
5008 (verilog-auto-declare-nettype, verilog-insert-definition):
5009 Add verilog-auto-declare-nettype to fix declarations using
5010 `default_nettype none. Reported by Julian Gorfajn.
5011 (verilog-read-always-signals-recurse, verilog-read-decls)
5012 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5013 malformed end statement, bug325. Reported by Joshua Wise and
5015 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5016 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5017 when expanding .* in interfaces, bug320.
5018 Reported by Pierre-David Pfister.
5019 (verilog-read-module-name): Fix import statements between module
5020 name and open parenthesis, bug317.
5021 Reported by Pierre-David Pfister.
5022 (verilog-simplify-range-expression): Fix simplification of
5023 multiplications inside AUTOWIRE connections, bug303.
5024 (verilog-auto-inst-port): Support parameter expansion in
5025 multidimensional arrays.
5026 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5027 after "assert property". Reported by Julian Gorfajn.
5028 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5029 with multiplication, bug303.
5030 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5031 Reported by Jan Frode Lonnum.
5033 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5035 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5036 (hfy-shell-file-name, hfy-shell):
5037 * international/fontset.el (x-decompose-font-name): Fix typos.
5039 2011-11-29 Ken Brown <kbrown@cornell.edu>
5041 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5042 (gdb-version): Remove defvar.
5043 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5044 (gdb-gud-context-command, gdb-non-stop-handler)
5045 (gdb-current-context-command, gdb-stopped): Use it.
5046 (gdb-init-1): Enable pretty printing here.
5047 (gdb-non-stop-handler): Don't enable pretty-printing here.
5048 Check to see if the target supports non-stop mode; if not, turn off
5049 non-stop mode. Use the following.
5050 (gdb-check-target-async): New defun.
5051 (gud-watch, gdb-stopped): Fix whitespace.
5052 (gdb-get-source-file): Don't try to display the source file if
5053 `gdb-main-file' is nil.
5055 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5057 * align.el: Try to generate fewer markers (bug#10047).
5058 (align--set-marker): New macro.
5059 (align-region): Use it.
5061 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5063 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5065 2011-11-29 Chong Yidong <cyd@gnu.org>
5067 * indent.el (indent-for-tab-command, indent-according-to-mode):
5069 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5071 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5073 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5074 aware of remote file names. (Bug#10124)
5076 2011-11-29 Chong Yidong <cyd@gnu.org>
5078 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5080 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5082 * files.el (find-file): Don't use force-same-window (bug#10144).
5083 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5084 use pop-to-buffer if the selected window can't be used.
5085 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5087 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5089 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5092 2011-11-28 Chong Yidong <cyd@gnu.org>
5094 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5096 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5098 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5099 gdb-get-source-file-list on gdb-create-source-file-list.
5101 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5103 * whitespace.el (whitespace-newline): Use a different foreground
5104 color for 16-color light-background displays.
5106 2011-11-24 Chong Yidong <cyd@gnu.org>
5108 * window.el (display-buffer--special-action): Doc fix.
5110 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5112 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5113 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5114 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5115 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5116 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5117 (avl-tree-stack-first):
5118 * emacs-lisp/cconv.el (cconv--analyse-use):
5119 * net/gnutls.el (gnutls-negotiate): Fix typos.
5121 2011-11-24 Glenn Morris <rgm@gnu.org>
5123 * lpr.el (lpr-windows-system, lpr-lp-system):
5124 * mail/binhex.el (binhex-begin-line):
5125 * progmodes/grep.el (grep-history, grep-find-history):
5126 * textmodes/flyspell.el:
5127 * vc/pcvs-defs.el (cvs-global-menu):
5128 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5129 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5130 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5132 * net/tls.el: Fix case of "GnuTLS".
5134 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5136 * version.el (emacs-build-system): Give it a doc-string.
5138 2011-11-24 Juri Linkov <juri@jurta.org>
5140 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5142 2011-11-24 Glenn Morris <rgm@gnu.org>
5144 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5145 if called on a non-mime message just toggle the headers. (Bug#8006)
5147 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5149 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5150 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5151 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5152 (allout-rebullet-heading, allout-open-sibtopic)
5153 (allout-toggle-current-subtree-encryption)
5154 (allout-toggle-subtree-encryption, allout-encrypt-string)
5155 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5156 (allout-distinctive-bullets-string, allout-auto-activation):
5157 * window.el (window-normalize-buffer-to-display):
5158 * progmodes/verilog-mode.el (verilog-batch-indent):
5159 * textmodes/bibtex.el (bibtex-field-braces-opt)
5160 (bibtex-field-strings-opt):
5161 * vc/cvs-status.el (cvs-tree-merge):
5164 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5166 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5167 `non-essential' to t, in order to avoid remote connections.
5169 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5171 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5172 On MS-DOS and MS-Windows, compare with loaddefs.el
5175 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5177 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5179 2011-11-23 Glenn Morris <rgm@gnu.org>
5181 * paths.el (rmail-file-name): Reformat the doc-string so that it
5184 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5185 (rmail-auto-file): Ignore case in the "special" field names,
5186 as mail-fetch-field does for all others.
5188 * mail/rmail.el (rmail-forward):
5189 * mail/rmailkwd.el (rmail-set-label):
5190 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5191 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5193 * mail/rmail.el (rmail-current-message): Doc fix.
5195 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5197 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5199 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5201 2011-11-22 Glenn Morris <rgm@gnu.org>
5203 * mail/rmailmm.el (test-rmail-mime-handler)
5204 (test-rmail-mime-bulk-handler)
5205 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5207 2011-11-21 Juri Linkov <juri@jurta.org>
5209 * calc/calc.el (calc-read-key-sequence):
5210 Let-bind `input-method-function' to nil. (Bug#10018)
5212 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5214 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5215 Tell the caller that the next line needs recomputation, even
5216 though it doesn't start a sexp (bug#10094).
5218 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5220 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5222 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5224 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5225 Use force-same-window.
5227 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5229 * descr-text.el (describe-char-unicode-data):
5230 * json.el (json-string-escape):
5231 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5232 (Footnote-unicode, Footnote-style-p):
5233 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5235 2011-11-20 Chong Yidong <cyd@gnu.org>
5237 * window.el (replace-buffer-in-windows): Restore interactive spec.
5239 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5241 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5243 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5244 (byte-compile-global-not-obsolete-vars): New var.
5245 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5247 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5249 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5251 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5252 * progmodes/pascal.el (electric-pascal-equal):
5253 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5254 * xml.el (xml-substitute-special): Fix typos.
5256 2011-11-20 Glenn Morris <rgm@gnu.org>
5258 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5259 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5261 (rmail-decode-mime-charset): Mark as obsolete.
5263 * mail/rmailsum.el (rmail-message-regexp-p-1):
5264 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5265 Before using mime functions, check they are set. (Bug#10077)
5267 2011-11-19 Juri Linkov <juri@jurta.org>
5269 * info.el (Info-finder-find-node): Use `package--builtins' instead
5270 of `package-alist'. Use node names formed by the pattern "Keyword "
5271 and the keyword name.
5273 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5275 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5277 2011-11-19 Juri Linkov <juri@jurta.org>
5279 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5280 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5281 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5282 `old-history', `old-history-forward'. Add let-binding
5283 `window-selected'. Remove calls to `kill-buffer',
5284 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5285 before calling `Info-find-node', so `Info-find-node-2' will reread
5286 the Info file. Restore window positions only when `window-selected'
5289 2011-11-19 Juri Linkov <juri@jurta.org>
5291 * isearch.el (isearch-lazy-highlight-new-loop):
5292 Remove condition `(not isearch-error)'. (Bug#9918)
5294 * misearch.el (multi-isearch-search-fun): Add condition
5295 `(not bound)' to ignore lazy-highlighting search.
5296 Add the search-failed message "end of multi" when the end of
5297 multi-sequence is reached. Uncapitalize the search-failed
5298 message "Repeat for next buffer".
5300 * info.el (Info-search): Add the search-failed message
5301 "end of the manual" when the end of the manual is reached
5304 2011-11-19 Juri Linkov <juri@jurta.org>
5306 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5307 Use non-destructive `remove' instead of `delete' because
5308 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5309 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5311 2011-11-19 Juri Linkov <juri@jurta.org>
5313 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5314 to nil instead of binding `search-ring' and `regexp-search-ring'.
5317 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5319 * simple.el (line-move): Force movement by logical lines for any
5320 hscrolled window, not only when auto-hscroll-mode is on.
5321 (line-move-visual): Update doc string to that effect. (Bug#10076)
5323 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5325 * language/european.el (macintosh): Define as alias for mac-roman.
5327 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5329 * mail/rmailmm.el (rmail-mime-display-header)
5330 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5331 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5332 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5333 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5334 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5336 (rmail-mime-entity-segment): To get past the tagline, move forward
5337 2 more lines, to account for the 2 empty lines that precede and
5338 follow the line with the buttons.
5339 (rmail-mime-update-tagline): Move one more line, to get past the
5340 empty line that follows the buttons in the tagline. (Bug#9520)
5342 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5344 * window.el (window-max-delta-1, window-min-delta-1)
5345 (window-min-size-1, window-state-get-1, window-state-put-1)
5346 (window-state-put-2): Use "window--" prefix.
5348 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5350 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5351 (smie-warning-count): New var.
5352 (smie-set-prec2tab): Use it.
5353 (smie-bnf->prec2): Improve warnings. Add docstring.
5354 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5355 (smie-bnf--set-class): New function.
5356 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5359 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5360 (compilation-error-properties, compilation-move-to-column):
5361 Handle compilation-first-column while in the target buffer.
5363 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5364 Don't hardcode point-min==1.
5366 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5367 (eshell-rewrite-for-command): Remove workaround.
5368 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5369 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5370 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5372 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5374 2011-11-17 Glenn Morris <rgm@gnu.org>
5376 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5377 Ignore buffer-local generated-autoload-file if it is the same
5378 as the global value. (Bug#10049)
5380 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5382 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5383 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5384 (reftex-toc-previous-heading, reftex-toc-max-level)
5385 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5386 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5387 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5388 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5389 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5390 (reftex-toc-rename-label, reftex-toc-visit-location)
5391 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5392 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5393 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5394 leaving "*toc*" only for references to the buffer.
5396 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5398 * window.el (window-resize, delete-window, split-window):
5399 Replace window-splits by window-combination-resize.
5400 * cus-start.el (window-splits): Replace by window-combination-resize.
5402 2011-11-17 Glenn Morris <rgm@gnu.org>
5404 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5405 Make bash entry derive from sh entry, not shell entry.
5407 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5409 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5410 properties of linked files. (Bug#9879)
5412 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5415 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5417 * menu-bar.el (menu-bar-file-menu):
5418 * printing.el (pr-ps-utility):
5419 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5420 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5421 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5422 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5423 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5424 (icalendar--convert-cyclic-to-ical)
5425 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5426 (icalendar--convert-ical-to-diary)
5427 (icalendar--convert-recurring-to-diary)
5428 (icalendar--convert-non-recurring-all-day-to-diary)
5429 (icalendar-import-format-sample):
5430 * progmodes/idlw-shell.el (idlwave-shell-mode):
5431 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5432 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5433 (vhdl-ps-print-init): Fix typos.
5435 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5437 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5438 FSF and collapse date sequence, obscure author/maintainer email address
5439 better, remove extra version line, track relocation of author's webpage.
5441 * progmodes/python.el (python-pdbtrack-input-prompt)
5442 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5443 regular python pdb prompts. Adjustments shamelessly taken exactly as
5444 suggested in EmacsWiki page (tiny change):
5445 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5447 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5449 * expand.el (expand-pos, expand-index, expand-point):
5450 Remove redundant info from docstring.
5451 (expand-add-abbrevs): Doc fix.
5452 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5453 (expand-sample-perl-mode-expand-list): Fix typos.
5455 * net/dbus.el (dbus-event-member-name):
5456 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5457 * term/pc-win.el (msdos-create-frame-with-faces):
5458 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5460 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5462 * window.el (split-window, window-state-get-1)
5463 (window-state-put-1, window-state-put-2): Rename occurrences of
5464 window-nest to window-combination-limit.
5465 * cus-start.el (window-nest): Rename to window-combination-limit.
5467 2011-11-16 Chong Yidong <cyd@gnu.org>
5469 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5472 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5474 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5475 `completing-read' will remove *Completions* and will preserve
5476 current-buffer for us.
5477 (tmm-add-prompt): Users of *Completions* will always (re)set its
5479 (tmm-old-comp-map): Remove.
5481 2011-11-16 Glenn Morris <rgm@gnu.org>
5483 * mail/rmailedit.el: Require rmailmm when compiling.
5484 (rmail-old-mime-state): New declaration.
5485 (rmail-edit-current-message): If editing a mime message,
5486 edit the "raw" message from the mbox buffer.
5487 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5489 2011-11-15 Glenn Morris <rgm@gnu.org>
5491 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5492 which wasn't being used. Add optional arg to force given state.
5493 (rmail-mime): Add optional arg to force given state.
5495 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5497 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5498 * frame.el (display-mm-dimensions-alist):
5499 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5500 (outline-move-subtree-down):
5501 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5502 (newsticker--treeview-do-get-node):
5503 * net/quickurl.el (quickurl-list-buffer-name):
5504 * progmodes/dcl-mode.el (dcl-mode):
5505 * progmodes/gdb-mi.el (gdb-mapcar*):
5506 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5508 2011-11-15 Glenn Morris <rgm@gnu.org>
5510 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5511 in a boolean sense, so just make it a boolean, and fix the doc.
5512 (rmail-show-mime-function, rmail-mime-feature)
5513 (rmail-require-mime-maybe): Doc fixes.
5514 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5516 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5518 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5520 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5521 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5522 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5523 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5525 2011-11-15 Glenn Morris <rgm@gnu.org>
5527 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5528 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5529 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5530 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5531 (rmail-mime, rmail-show-mime): Doc fixes.
5533 * term/ns-win.el (mode-line-frame-identification):
5534 Leave it alone. (Bug#10051)
5536 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5538 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5539 Handle empty buffers. (Bug#9978)
5541 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5543 * international/mule.el (define-charset):
5544 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5545 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5546 * progmodes/verilog-mode.el (verilog-backward-token):
5547 * textmodes/ispell.el (lookup-words):
5548 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5550 2011-11-14 Glenn Morris <rgm@gnu.org>
5552 * progmodes/executable.el
5553 (executable-make-buffer-file-executable-if-script-p):
5554 Handle file-modes returning nil.
5556 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5557 message - not necessary, and causes problems. (Bug#9831)
5559 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5561 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5563 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5564 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5565 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5567 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5569 * window.el (window-resize, delete-window): Use window-splits
5570 variable instead of function.
5571 (window-state-get-1, window-state-put-2, window-state-put):
5572 Don't deal with windows' splits status.
5574 2011-11-12 Glenn Morris <rgm@gnu.org>
5576 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5577 (apropos-documentation): Doc fixes.
5579 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5581 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5582 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5584 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5586 * electric.el (electric-indent-post-self-insert-function): Make it
5587 possible for a char to only indent in some circumstances.
5588 (electric-indent-mode): Simplify.
5590 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5592 * window.el (windows-with-parameter): Remove unused function.
5593 (windows-at-side): Rename to window-at-side-list.
5594 (window-check, window-atom-check, window-atom-check-1)
5595 (window-side-check, window-size-ignore, window-size-fixed-1)
5596 (window-in-direction-2): Prefix with "window--".
5597 (window-tree-1): Rename to window--subtree, fix doc-string.
5599 2011-11-11 Glenn Morris <rgm@gnu.org>
5601 * subr.el (eval-after-load): If FILE is already loaded,
5602 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5604 2011-11-10 Glenn Morris <rgm@gnu.org>
5606 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5607 Call svn via vc-svn-command rather than vc-do-command.
5608 (vc-svn-command): Add --non-interactive. (Bug#9993)
5609 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5611 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5612 Add toggle-read-only. (Bug#7292)
5613 * files.el (toggle-read-only): Mention that it should only
5614 be used interactively. (Bug#10006)
5616 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5618 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5619 Adjust regexp for OCaml warnings.
5621 * electric.el (electric-pair-post-self-insert-function): Let user
5622 turn it off buffer-locally (bug#9932).
5624 * progmodes/python.el (python-beginning-of-statement):
5627 * progmodes/compile.el: Better handle TABs (bug#9749).
5628 (compilation-internal-error-properties)
5629 (compilation-next-error-function): Obey the target buffer's
5630 compilation-error-screen-columns.
5632 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5634 * progmodes/meta-mode.el: Remove obsolete comments.
5635 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5636 Fix typos in docstrings.
5638 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5640 * window.el (window-size-fixed-p): Rewrite doc-string.
5641 (window-resizable-p): Rename to window--resizable-p. Update callers.
5642 (window--resizable): New function. Make all callers of
5643 window-resizable call window--resizable instead.
5644 (window-resizable): Rewrite in terms of window--resizable.
5646 2011-11-08 Glenn Morris <rgm@gnu.org>
5648 * progmodes/delphi.el (delphi-mode-syntax-table):
5649 Let define-derived-mode define a proper syntax table. (Bug#9994)
5651 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5653 * window.el: Stay away from defsubst.
5654 (window-list-no-nils): Remove.
5655 (window-state-get-1, window-state-get): Use backquote instead.
5657 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5659 * emacs-lisp/find-func.el (find-function-read):
5660 Fix incorrect use of default argument in `completing-read'.
5662 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5664 * window.el (display-buffer-function, special-display-function):
5665 Mention display-buffer-record-window but do not mention
5666 help-setup parameter in doc-strings.
5667 (window-min-delta): Fix doc-string typo.
5669 2011-11-08 Chong Yidong <cyd@gnu.org>
5671 * window.el (window-total-height, window-total-width): Doc fix.
5672 (window-body-size): Move from C.
5673 (window-body-height, window-body-width): Move to C.
5675 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5677 * window.el: Make special-display like display-buffer-alist (bug#9532).
5678 (display-buffer--special-action): New function, morphed
5679 from display-buffer--special.
5680 (display-buffer): Use it to handle special-display-buffers at higher
5681 priority (just after display-buffer-alist).
5682 (display-buffer-fallback-action, display-buffer--other-frame-action)
5683 (pop-to-buffer-same-window): Remove display-buffer--special.
5685 2011-11-07 Glenn Morris <rgm@gnu.org>
5687 * calendar/cal-menu.el (cal-menu-set-date-title):
5688 Do nothing if not in a calendar. (Bug#9976)
5690 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5692 * files.el (find-file): Always use selected-window.
5694 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5696 * window.el (window-combinations): Make WINDOW argument
5697 mandatory. Rewrite doc-string.
5698 (walk-window-subtree, window-atom-check, window-min-delta)
5699 (window-max-delta, window--resize-this-window)
5700 (window--resize-root-window-vertically, window-tree)
5701 (balance-windows, window-state-put): Rewrite doc-strings as to
5702 not mention the term "subwindow".
5703 (window--resize-subwindows-skip-p): Rename to
5704 window--resize-child-windows-skip-p.
5705 (window--resize-subwindows-normal): Rename to
5706 window--resize-child-windows-normal.
5707 (window--resize-subwindows): Rename to
5708 window--resize-child-windows.
5709 (window-or-subwindow-p): Rename to window--in-subtree-p.
5711 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5713 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5714 Ensure that mbox format messages end in two newlines (Bug#9974).
5716 2011-11-06 Chong Yidong <cyd@gnu.org>
5718 * window.el (window-combination-p): Function deleted; its
5719 side-effect is not used in any existing code.
5720 (window-combinations, window-combined-p): Call window-*-child
5723 2011-11-05 Chong Yidong <cyd@gnu.org>
5725 * window.el (window-valid-p): Rename from window-any-p.
5726 (window-size-ignore, window-state-get): Callers changed.
5727 (window-normalize-window): Rename from window-normalize-any-window.
5728 New arg LIVE-ONLY, replacing window-normalize-live-window.
5729 (window-normalize-live-window): Delete.
5730 (window-combination-p, window-combined-p, window-combinations)
5731 (walk-window-subtree, window-atom-root, window-min-size)
5732 (window-sizable, window-sizable-p, window-size-fixed-p)
5733 (window-min-delta, window-max-delta, window-resizable)
5734 (window-resizable-p, window-full-height-p, window-full-width-p)
5735 (window-current-scroll-bars, window-point-1, set-window-point-1)
5736 (window-at-side-p, window-in-direction, window-resize)
5737 (adjust-window-trailing-edge, maximize-window, minimize-window)
5738 (window-deletable-p, delete-window, delete-other-windows)
5739 (record-window-buffer, unrecord-window-buffer)
5740 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5741 (quit-window, split-window, window-state-put)
5742 (set-window-text-height, fit-window-to-buffer)
5743 (shrink-window-if-larger-than-buffer): Callers changed.
5745 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5747 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5748 rfc2047-decode-string.
5749 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5752 * window.el (window-body-height, window-body-width): Mention in
5753 the doc string that the return values are in frame's canonical
5756 2011-11-03 Alan Mackenzie <acm@muc.de>
5758 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5759 change in cc-engine.el.
5761 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5763 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5765 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5767 * window.el (quit-window): Call unrecord-window-buffer after
5768 showing another buffer in the window. (Bug#9937)
5769 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5771 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5773 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5774 Accept status with more than 9 shelves. (Bug#9935)
5775 Reported by Colin D Bennett <colin@gibibit.com>.
5777 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5779 * help.el (with-help-window): Don't reference
5780 temp-buffer-show-specifiers in doc-string.
5782 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5784 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5787 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5789 * whitespace.el: New version 13.2.2.
5790 (whitespace-newline-mode): Disable properly. Reported by Sarah
5793 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5795 * net/newst-treeview.el: Remove "Time-stamp".
5796 (newsticker--group-manage-orphan-feeds): Do not call
5797 newsticker--treeview-tree-update.
5798 (newsticker-treeview-update, newsticker-treeview):
5799 Call newsticker--treeview-tree-update if necessary.
5801 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5803 * window.el (window-iso-combination-p, window-iso-combined-p)
5804 (window-iso-combinations): Remove "iso-" infix.
5805 Suggested by Chong Yidong.
5806 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5807 (window-max-delta-1, window-resize, window--resize-siblings)
5808 (window--resize-this-window, adjust-window-trailing-edge)
5809 (split-window, balance-windows-1)
5810 (shrink-window-if-larger-than-buffer):
5811 * calendar/calendar.el (calendar-generate-window):
5812 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5814 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5816 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5817 in place (bug#9907).
5818 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5819 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5820 (eshell-structure-basic-command, eshell-rewrite-while-command)
5821 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5822 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5823 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5824 (eshell-do-pipelines-synchronously, eshell-eval-command):
5825 Use backquotes and prefer setq to set.
5826 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5827 (eshell-macrop): Use functionp.
5828 (eshell-do-eval): Handle multiple expressions in `while' body.
5830 2011-10-30 Chong Yidong <cyd@gnu.org>
5832 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5833 instead of set-mark (Bug#9810).
5835 2011-10-30 Chong Yidong <cyd@gnu.org>
5837 * window.el (split-window-below, split-window-right): Rename from
5838 split-window-above-each-other and split-window-side-by-side
5839 respectively. All callers changed.
5840 (split-window-sensibly, split-window-sensibly): Use them.
5841 (split-window-keep-point): Doc fix.
5843 * isearch.el: Add isearch-scroll property to split-window-below
5844 and split-window-right.
5846 * follow.el (follow-mode):
5847 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5848 * progmodes/ada-xref.el (ada-gdb-application):
5849 * emulation/vip.el (vip-buffer-in-two-windows):
5850 * image-dired.el (image-dired-dired-with-window-configuration):
5851 * dired-x.el (dired-do-find-marked-files):
5852 * dired.el (dired-pop-to-buffer):
5853 * bs.el (bs--show-with-configuration):
5854 * vc/emerge.el (emerge-setup-windows):
5855 * textmodes/two-column.el (2C-two-columns):
5856 * textmodes/reftex-toc.el (reftex-toc):
5857 * progmodes/gdb-mi.el (gdb-setup-windows):
5858 * progmodes/fortran.el (fortran-window-create):
5859 * net/newst-treeview.el (newsticker--treeview-window-init):
5860 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5861 * emulation/tpu-edt.el (tpu-gold-map):
5862 * emulation/crisp.el (crisp-mode-map):
5863 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5865 2011-10-29 Chong Yidong <cyd@gnu.org>
5867 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5869 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5871 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5872 forged Ispell output (Bug#7904).
5874 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5876 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5878 * doc-view.el: Avoid ugly errors about not finding nil.
5879 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5880 (doc-view-dvipdf-program, doc-view-unoconv-program)
5881 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5882 Avoid nil or absolute file name as default value.
5883 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5885 2011-10-28 Alan Mackenzie <acm@muc.de>
5887 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5889 2011-10-28 Alan Mackenzie <acm@muc.de>
5891 Amend the handling of c-beginning/end-of-defun in nested declaration
5894 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5895 cc-langs.el. Change it to a defcustom.
5897 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5900 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5901 Prevent "class foo : bar" being spuriously recognized as a label.
5903 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5904 Add parameter `inclusive' (to include enclosing braces in the region).
5905 (c-widen-to-enclosing-decl-scope): New function.
5906 (c-while-widening-to-decl-block): New macro.
5907 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5908 outward for defun boundaries, and correspondingly change symbol
5909 `respect-enclosure' to `go-outward'.
5910 (c-declaration-limits): Change algorithm to report only the "innermost"
5913 2011-10-28 Deniz Dogan <deniz@dogan.se>
5915 * net/rcirc.el (rcirc-mode): Use hard newlines.
5917 2011-10-28 Alan Mackenzie <acm@muc.de>
5919 Amend to indent and fontify macros "which include their own semicolon"
5920 correctly, using the "virtual semicolon" mechanism.
5922 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5924 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5925 Recode to scan one line at a time rather than having \n and \r
5926 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5927 (c-forward-label): Amend for virtual semicolons.
5928 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5930 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5931 of the new C macros.
5933 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5934 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5935 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5936 (c-opt-cpp-macro-define): Make into a full language variable.
5937 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5938 AWK Mode (including \n, \r) removed, no longer needed.
5940 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5941 Invoke c-make-macro-with-semi-re.
5943 * progmodes/cc-vars.el (c-macro-with-semi-re):
5944 (c-macro-names-with-semicolon): New variables.
5945 (c-make-macro-with-semi-re): New function.
5947 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5949 * vc/log-edit.el: Fill empty field rather than adding new one.
5950 (log-edit-add-field): New function.
5951 (log-edit-insert-changelog): Use it.
5953 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5955 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5957 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5959 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5960 (gdb--check-interpreter): New function.
5963 2011-10-27 Glenn Morris <rgm@gnu.org>
5965 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5966 (least-positive-float, least-negative-float)
5967 (least-positive-normalized-float, least-negative-normalized-float)
5968 (float-epsilon, float-negative-epsilon):
5969 Remove unnecessary declarations.
5971 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5972 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5973 (least-positive-float, least-negative-float)
5974 (least-positive-normalized-float, least-negative-normalized-float)
5975 (float-epsilon, float-negative-epsilon): Add doc-strings,
5976 based on those in cl.texi.
5978 * files.el (set-visited-file-name): If the major-mode changed,
5979 reload the local variables. (Bug#9796)
5981 2011-10-27 Chong Yidong <cyd@gnu.org>
5983 * subr.el (change-major-mode-after-body-hook): New hook.
5984 (run-mode-hooks): Run it.
5986 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5987 Use change-major-mode-before-body-hook.
5989 * simple.el (fundamental-mode):
5990 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5991 change introducing fundamental-mode-hook.
5993 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5995 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5997 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5999 * ido.el (ido-file-name-all-completions-1): Do not require
6000 tramp.el explicitly. (Bug#7583)
6002 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6004 * progmodes/octave-mod.el:
6005 * progmodes/octave-inf.el: Update maintainer.
6007 2011-10-26 Chong Yidong <cyd@gnu.org>
6009 * subr.el (with-wrapper-hook): Rewrite doc.
6011 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6013 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6014 filenames "/method:foo:". (Bug#9793)
6016 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6018 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6021 2011-10-24 Glenn Morris <rgm@gnu.org>
6023 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6025 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6027 * notifications.el: Add the requirement of a running D-Bus session
6028 bus to the Commentary.
6030 2011-10-24 Juri Linkov <juri@jurta.org>
6032 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6033 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6036 2011-10-24 Juri Linkov <juri@jurta.org>
6038 * info.el (Info-following-node-name-re): Add newline to the list
6039 of allowed characters for leading space. (Bug#9824)
6041 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6043 * progmodes/octave-inf.el (inferior-octave-mode-map):
6044 Fix C-c C-h binding.
6045 * progmodes/octave-mod.el (octave-help): Remove.
6047 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6049 Sync with Tramp 2.2.3.
6051 * net/tramp-cache.el (top): Pacify byte-compiler using
6052 `init-file-user' and `site-run-file'.
6054 * net/trampver.el: Update release number.
6056 2011-10-23 Chong Yidong <cyd@gnu.org>
6058 * files.el (toggle-read-only): Remove obsolete comment about
6061 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6062 for toggle-read-only. Note that this hasn't called vc-next-action
6063 since 2008-05-02, though it wasn't documented at the time.
6065 * vc/ediff-init.el (ediff-toggle-read-only-function):
6066 Use toggle-read-only.
6068 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6070 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6073 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6074 correct faulty logical expression.
6075 (c-parse-state-state, c-record-parse-state-state):
6076 (c-replay-parse-state-state): New defvar/defuns.
6077 (c-debug-parse-state): Use new functions.
6079 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6081 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6082 last fix. Use window-in-direction correctly.
6084 2011-10-21 Chong Yidong <cyd@gnu.org>
6086 * progmodes/idlwave.el (idlwave-mode):
6087 * progmodes/vera-mode.el (vera-mode): No need to set
6088 require-final-newline; that's done in prog-mode.
6089 Suggested by Stefan Monnier.
6091 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6093 * mouse.el (mouse-drag-window-above)
6094 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6095 (mouse-drag-mode-line-1, mouse-drag-header-line)
6096 (mouse-drag-vertical-line-rightward-window): Remove.
6097 (mouse-drag-line): New function.
6098 (mouse-drag-mode-line, mouse-drag-header-line)
6099 (mouse-drag-vertical-line): Call mouse-drag-line.
6100 * window.el (window-at-side-p, windows-at-side): New functions.
6102 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6104 * tar-mode.el (tar-grind-file-mode):
6105 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6107 2011-10-21 Chong Yidong <cyd@gnu.org>
6109 * progmodes/idlwave.el (idlwave-mode):
6110 * progmodes/vera-mode.el (vera-mode):
6111 Use mode-require-final-newline.
6113 2011-10-20 Glenn Morris <rgm@gnu.org>
6115 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6117 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6119 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6121 2011-10-20 Chong Yidong <cyd@gnu.org>
6123 * emulation/cua-base.el (cua-mode):
6124 * mail/footnote.el (footnote-mode):
6125 * mail/mailabbrev.el (mail-abbrevs-mode):
6126 * net/xesam.el (xesam-minor-mode):
6127 * progmodes/bug-reference.el (bug-reference-mode):
6128 * progmodes/cap-words.el (capitalized-words-mode):
6129 * progmodes/compile.el (compilation-minor-mode)
6130 (compilation-shell-minor-mode):
6131 * progmodes/gud.el (gud-tooltip-mode):
6132 * progmodes/hideif.el (hide-ifdef-mode):
6133 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6134 * progmodes/subword.el (subword-mode):
6135 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6136 * progmodes/which-func.el (which-function-mode):
6137 * term/tvi970.el (tvi970-set-keypad-mode):
6138 * term/vt100.el (vt100-wide-mode):
6139 * textmodes/flyspell.el (flyspell-mode):
6140 * textmodes/ispell.el (ispell-minor-mode):
6141 * textmodes/nroff-mode.el (nroff-electric-mode):
6142 * textmodes/paragraphs.el (use-hard-newlines):
6143 * textmodes/refill.el (refill-mode):
6144 * textmodes/reftex.el (reftex-mode):
6145 * textmodes/rst.el (rst-minor-mode):
6146 * textmodes/sgml-mode.el (html-autoview-mode)
6147 (sgml-electric-tag-pair-mode):
6148 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6149 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6150 * emulation/crisp.el (crisp-mode):
6151 * emacs-lisp/eldoc.el (eldoc-mode):
6152 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6153 minor mode behavior.
6155 2011-10-19 Juri Linkov <juri@jurta.org>
6157 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6158 the list of hard-coded chars with escape-glyph face.
6160 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6162 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6164 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6166 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6169 2011-10-19 Glenn Morris <rgm@gnu.org>
6171 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6172 Ignore ignored files. (Bug#9726)
6174 2011-10-19 Chong Yidong <cyd@gnu.org>
6176 Doc fix for minor modes, stating that an omitted argument enables
6177 the mode unconditionally when called from Lisp.
6179 * abbrev.el (abbrev-mode):
6180 * allout.el (allout-mode):
6181 * autoinsert.el (auto-insert-mode):
6182 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6183 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6184 (global-auto-revert-mode):
6185 * battery.el (display-battery-mode):
6186 * composite.el (global-auto-composition-mode)
6187 (auto-composition-mode):
6188 * delsel.el (delete-selection-mode):
6189 * desktop.el (desktop-save-mode):
6190 * dired-x.el (dired-omit-mode):
6191 * dirtrack.el (dirtrack-mode):
6192 * doc-view.el (doc-view-minor-mode):
6193 * double.el (double-mode):
6194 * electric.el (electric-indent-mode, electric-pair-mode):
6195 * emacs-lock.el (emacs-lock-mode):
6196 * epa-hook.el (auto-encryption-mode):
6197 * follow.el (follow-mode):
6198 * font-core.el (font-lock-mode):
6199 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6200 * help.el (temp-buffer-resize-mode):
6201 * hilit-chg.el (highlight-changes-mode)
6202 (highlight-changes-visible-mode):
6203 * hi-lock.el (hi-lock-mode):
6204 * hl-line.el (hl-line-mode, global-hl-line-mode):
6205 * icomplete.el (icomplete-mode):
6206 * ido.el (ido-everywhere):
6207 * image-file.el (auto-image-file-mode):
6208 * image-mode.el (image-minor-mode):
6209 * iswitchb.el (iswitchb-mode):
6210 * jka-cmpr-hook.el (auto-compression-mode):
6211 * linum.el (linum-mode):
6212 * longlines.el (longlines-mode):
6213 * master.el (master-mode):
6214 * mb-depth.el (minibuffer-depth-indicate-mode):
6215 * menu-bar.el (menu-bar-mode):
6216 * minibuf-eldef.el (minibuffer-electric-default-mode):
6217 * mouse-sel.el (mouse-sel-mode):
6218 * msb.el (msb-mode):
6219 * mwheel.el (mouse-wheel-mode):
6220 * outline.el (outline-minor-mode):
6221 * paren.el (show-paren-mode):
6222 * recentf.el (recentf-mode):
6223 * reveal.el (reveal-mode, global-reveal-mode):
6224 * rfn-eshadow.el (file-name-shadow-mode):
6225 * ruler-mode.el (ruler-mode):
6226 * savehist.el (savehist-mode):
6227 * scroll-all.el (scroll-all-mode):
6228 * scroll-bar.el (scroll-bar-mode):
6229 * server.el (server-mode):
6230 * shell.el (shell-dirtrack-mode):
6231 * simple.el (auto-fill-mode, transient-mark-mode)
6232 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6233 (line-number-mode, column-number-mode, size-indication-mode)
6234 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6235 * strokes.el (strokes-mode):
6236 * time.el (display-time-mode):
6237 * t-mouse.el (gpm-mouse-mode):
6238 * tool-bar.el (tool-bar-mode):
6239 * tooltip.el (tooltip-mode):
6240 * type-break.el (type-break-mode-line-message-mode)
6241 (type-break-query-mode):
6242 * view.el (view-mode):
6243 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6244 (global-whitespace-mode, global-whitespace-newline-mode):
6245 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6247 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6248 Fix autogenerated docstring.
6250 2011-10-19 Juri Linkov <juri@jurta.org>
6252 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6253 by checking environment variables "DESKTOP_SESSION" and
6254 "XDG_CURRENT_DESKTOP". (Bug#9779)
6256 2011-10-19 Juri Linkov <juri@jurta.org>
6258 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6259 (browse-url-chromium-program, browse-url-chromium-arguments):
6261 (browse-url-default-browser): Check for `browse-url-chromium' and
6262 call `browse-url-chromium-program'.
6263 (browse-url-chromium): New command. (Bug#9779)
6265 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6267 * facemenu.el (list-colors-duplicates): On Windows, detect more
6268 duplicates by assuming that only colors matching "^System" are
6269 special "system colors". (Bug#9722)
6271 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6273 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6274 to distinguish the author from the committer.
6276 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6278 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6280 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6282 * international/mule.el (sgml-html-meta-auto-coding-function):
6283 Add support for detecting encoding in HTML5 specified only as
6284 <meta charset="UTF-8">. Implementation just makes http-equiv and
6285 content-type parts from HTML4 encoding string optional. (Bug#9716)
6287 2011-10-18 Glenn Morris <rgm@gnu.org>
6289 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6291 2011-10-18 Chong Yidong <cyd@gnu.org>
6293 * faces.el (cursor): Doc fix.
6295 2011-10-17 Chong Yidong <cyd@gnu.org>
6297 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6299 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6301 * dirtrack.el (dirtrack): Support shell buffers with path
6302 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6304 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6306 * json.el: Bump version to 1.3 and note change in History.
6307 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6309 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6311 * comint.el (comint-insert-input, comint-send-input)
6312 (comint-get-old-input-default, comint-backward-matching-input)
6313 (comint-next-prompt): Use nil instead of `input' for field property of
6314 past user input (bug#114).
6316 * minibuffer.el (completion--replace): Inherit surrounding properties
6318 (minibuffer-complete-and-exit): Use it.
6320 * comint.el (comint--table-subvert): Quote the all-completions output
6323 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6325 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6327 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6328 window on right of selected. (Bug#9350) Reword other window
6329 entries and separate them from frame entries.
6331 2011-10-15 Glenn Morris <rgm@gnu.org>
6333 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6336 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6338 * net/network-stream.el (network-stream-open-starttls):
6339 Improve detection of failure due to lack of TLS support.
6341 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6342 putting the input text in front and in bold.
6344 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6346 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6348 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6351 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6352 unread-command-events rather than pushing yet-another event.
6354 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6356 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6357 the explanation of the possible choices. Make the options passed
6358 to completing-read shorter.
6360 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6362 * textmodes/flyspell.el (flyspell-large-region): Make sure
6363 extended character mode is used if defined (Bug#1339).
6365 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6367 * simple.el (what-cursor-position): Fix the display of the
6368 character info for LRE, LRO, RLE, and RLO characters by appending
6371 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6373 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6374 even in case of error; add debug spec; simplify data flow.
6375 (with-timeout-handler): Remove.
6377 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6379 Fix Bug#6019, Bug#9315.
6381 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6382 complete `buffer-file-name', the local file name part could look
6383 remotely (for example on VMS).
6385 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6386 `tramp-run-real-handler'.
6387 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6388 already quoted by '"'.
6390 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6391 Let `file-name-handler-alist' be nil, the local file name part
6392 could look remotely (for example on VMS).
6394 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6396 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6398 (flyspell-post-command-hook): ...to here.
6400 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6402 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6404 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6405 using completion. Protect against "slow" callers.
6406 Remove the "message hack".
6408 2011-10-11 Juri Linkov <juri@jurta.org>
6410 * isearch.el (isearch-lazy-highlight-word): New variable.
6411 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6414 2011-10-11 Glenn Morris <rgm@gnu.org>
6416 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6417 like f90-previous-statement does.
6419 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6421 * eshell/eshell.el (eshell-command): History should be saved
6422 only in interactive use, to avoid error.
6424 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6426 * minibuffer.el (completion-file-name-table): Fix last change,
6427 i.e. ignore normal errors but not the other ones.
6429 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6431 * window.el (special-display-buffer-names)
6432 (special-display-regexps): Remove some remnants of earlier
6433 changes from doc-strings.
6434 (quit-windows-on): New function.
6436 * vc/vc.el (vc-revert, vc-rollback):
6437 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6438 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6439 (Bug#6183) (Bug#7074) (Bug#7447)
6441 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6443 * window.el (frame-auto-hide-function): Add version tag.
6446 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6448 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6451 2011-10-09 Leo Liu <sdl.web@gmail.com>
6453 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6456 2011-10-08 Glenn Morris <rgm@gnu.org>
6458 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6459 before the first code statement zero indent. (Bug#9690)
6461 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6463 * simple.el (count-words-region): Always count in the region.
6464 Report the number of lines and characters too.
6465 (count-words): New command, which counts in the buffer if the
6466 region is inactive, as count-words-region used to.
6467 (count-words--message): New function. Handle plurals.
6468 (count-lines-region): Make it an alias for count-words-region.
6470 * bindings.el (esc-map): Replace count-lines-region with
6473 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6475 * window.el (window--delete): Delete dedicated frame
6476 unconditionally when argument KILL is non-nil. (Bug#9699)
6477 (switch-to-buffer): Fix doc-string typo.
6479 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6481 * eshell/eshell.el (eshell-command): Avoid using hooks.
6483 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6485 * bindings.el ([M-left],[M-right]): Bind to left-word and
6486 right-word respectively.
6488 2011-10-07 Glenn Morris <rgm@gnu.org>
6490 * cus-start.el (debug-on-quit): Fix custom type.
6492 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6494 * subr.el (define-key-after): Clarify that the function is not
6495 useful for non-menu keymaps.
6497 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6499 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6501 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6502 in current minibuffer (Fix bug with recursive minibuffers).
6504 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6506 * progmodes/gdb-mi.el (gdb): Doc fix.
6508 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6510 * window.el (frame-auto-hide-function): New option replacing
6511 frame-auto-delete. Suggested by Stefan Monnier.
6512 (window--delete): Call frame-auto-hide-function instead of
6513 investigating frame-auto-delete.
6514 (window-point-1, set-window-point-1): New functions.
6515 (window-in-direction, record-window-buffer, window-state-get-1)
6516 (display-buffer-record-window): Use window-point-1 instead of
6518 (set-window-buffer-start-and-point): Use set-window-point-1.
6520 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6522 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6524 2011-10-05 Glenn Morris <rgm@gnu.org>
6526 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6527 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6529 2011-10-05 Leo Liu <sdl.web@gmail.com>
6531 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6532 works with buffer object.
6534 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6536 * mpc.el (mpc-tool-bar-map): Add labels.
6538 2011-10-04 Glenn Morris <rgm@gnu.org>
6540 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6542 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6544 * window.el (window--delete): New function.
6545 (frame-auto-delete): Resuscitate option.
6546 (bury-buffer, replace-buffer-in-windows)
6547 (quit-window): Rewrite using window--delete.
6548 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6549 Pass display-buffer-mark-dedicated to window--display-buffer-2
6552 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6554 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6555 returns a list (bug#9554). Add remote file name completion.
6556 * comint.el (comint--table-subvert): Curry and get quote&unquote
6557 functions as arguments.
6558 (comint--complete-file-name-data): Adjust call accordingly.
6559 * pcomplete.el (pcomplete--table-subvert): Remove.
6560 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6562 * minibuffer.el (completion-table-case-fold): Use currying.
6563 (completion--styles-type, completion--cycling-threshold-type):
6565 (completion-styles, completion-category-overrides)
6566 (completion-cycle-threshold): Use them.
6567 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6568 completion-table-case-fold.
6570 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6572 * minibuffer.el (completion-category-overrides): Fix type of styles
6573 and add more user friendly tags (bug#9660).
6575 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6577 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6578 (mule-input-method-string): New widget.
6579 (default-input-method, language-info-custom-alist): Use it.
6581 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6583 * pcomplete.el: Require comint.
6584 (pcomplete--common-suffix): Remove.
6585 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6586 (pcomplete--table-subvert): Sync with comint--table-subvert.
6587 (pcomplete--entries): Use comint-completion-file-name-table.
6588 * comint.el (comint-unquote-filename): Simplify.
6589 (comint-completion-file-name-table): New function (bug#9616).
6590 (comint--complete-file-name-data): Use it.
6592 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6593 (pcmpl-gnu-tar-buffer): Remove.
6594 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6595 around. Make sure pcomplete-suffix-list is only changed temporarily.
6596 Don't look inside the tar's file if it's too large.
6598 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6600 * cus-edit.el (custom-mode-map):
6601 * epa.el (epa-key-list-mode-map):
6602 * man.el (Man-mode-map):
6603 * startup.el (splash-screen-keymap):
6604 * simple.el (special-mode-map): Use scroll-up-command and
6605 scroll-down-command.
6607 * progmodes/idlw-help.el (idlwave-help-mode-map):
6608 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6609 * net/newst-plainview.el (newsticker-mode-map):
6610 * emulation/ws-mode.el (wordstar-mode-map):
6611 * emulation/vi.el (vi-com-map):
6612 * calc/calc-graph.el (calc-graph-show-dumb):
6613 * term/sun.el (terminal-init-sun):
6614 * term/ns-win.el (global-map):
6615 * progmodes/grep.el (grep-mode-map):
6616 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6617 * mail/rmail.el (rmail-mode-map):
6618 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6620 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6621 custom-safe-themes as special.
6623 2011-10-01 Julien Danjou <julien@danjou.info>
6625 * notifications.el (notifications-notify): Fix docstring.
6627 2011-10-01 Per Starbäck <per@starback.se>
6629 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6631 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6633 * startup.el (command-line-1): Fix last fix by inserting
6634 initial-scratch-message into *scratch* before displaying it.
6635 (Bug#9605) and (Bug#9636)
6637 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6639 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6640 window is hscrolled, move by logical lines. (Bug#9607)
6641 (line-move-visual): Update the doc string to the above effect.
6643 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6645 * window.el (display-buffer-record-window): When WINDOW is the
6646 selected window use `point' instead of `window-point'. (Bug#9626)
6648 * startup.el (command-line-1): Use insert-before-markers when
6649 inserting initial-scratch-message. (Bug#9605)
6651 * help.el (help-window): Remove variable.
6653 2011-09-29 Glenn Morris <rgm@gnu.org>
6655 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6657 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6659 * descr-text.el (describe-char-categories): Accept category
6660 descriptions more than one line long.
6662 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6664 * simple.el (delete-trailing-whitespace): Fix last change.
6666 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6667 Don't confuse "y => 3" as the beginning of a `y' operation.
6669 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6670 object has more than 4 slots (bug#9613).
6672 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6674 * subr.el (with-output-to-temp-buffer):
6675 * net/quickurl.el (quickurl, quickurl-browse-url):
6676 Fix typos in docstrings.
6678 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6680 * minibuffer.el (completion-styles)
6681 (completion-category-overrides): Cross reference each other in doc
6684 2011-09-27 Glenn Morris <rgm@gnu.org>
6686 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6687 to split-string. (Bug#9606)
6689 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6691 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6694 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6696 * emacs-lisp/package.el (list-packages): Fix echo area message.
6698 2011-09-27 Leo Liu <sdl.web@gmail.com>
6700 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6702 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6704 * net/dbus.el (dbus-unregister-object): Don't release services for
6705 registered signals. (Bug#9581)
6707 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6709 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6710 function that picks between cfengine 2 and 3 support
6711 automatically. Update docs accordingly.
6713 2011-09-22 Kenichi Handa <handa@m17n.org>
6715 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6717 (indian-itrans-v5-table-for-tamil): New variable.
6718 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6720 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6722 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6723 that's true if the current command involved collapsing of text.
6724 It's reset to false at the beginning of the next command.
6725 (allout-post-command-business): Move the cursor to the beginning
6726 of entry if the cursor is hidden and collapsing activity just
6729 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6731 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6732 tracking (Bug#9541).
6734 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6736 * net/newst-reader.el (newsticker-html-renderer)
6737 (newsticker-show-news): Automatically load html rendering package
6738 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6739 because w3m-fill-column is let-bound" and the error "Symbol's value
6740 as variable is void: w3m-fill-column".
6742 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6744 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6745 Release services only if they are defined. (Bug#9581)
6747 2011-09-23 Richard Stallman <rms@gnu.org>
6749 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6750 distinguish start of paragraph from start of its text.
6752 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6754 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6755 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6756 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6758 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6760 * international/mule-diag.el (mule-diag): Insert a newline after
6761 each fontset description.
6763 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * simple.el (delete-trailing-whitespace):
6766 Document last change; simplify.
6768 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6770 * simple.el (delete-trailing-whitespace): Also delete
6771 extra newlines at the end of the buffer.
6773 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6774 (picture-newline): Use forward-line so as to ignore fields.
6776 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6778 * subr.el (with-wrapper-hook): Fix edebug spec.
6780 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6782 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6785 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6787 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6788 Fix nasty bug using wrong cached values.
6790 2011-09-23 Alan Mackenzie <acm@muc.de>
6792 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6794 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6796 * window.el (pop-to-buffer): Ensure right window is selected if we
6797 chose another frame.
6799 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6801 * simple.el (what-cursor-position): Use get-char-property-change
6802 and next-single-char-property-change, to be able to show display
6803 properties that come from overlays as well as text properties.
6805 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6807 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6809 * cmuscheme.el (run-scheme, switch-to-scheme):
6810 * cus-edit.el (customize-group, custom-buffer-create)
6814 * mail/sendmail.el (mail):
6815 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6817 2011-09-22 Richard Stallman <rms@gnu.org>
6819 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6820 move back only to line beg, don't move back over blank lines.
6822 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6824 * files.el (copy-directory): Set directory attributes only in case
6825 they could be retrieved from the source directory. (Bug#9565)
6827 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6829 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6830 (hs-find-block-beginning, hs-hide-level-recursive):
6831 Ignore strings as well as comments. (Bug#9502)
6833 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6835 * progmodes/sql.el (sql-comint-postgres):
6836 Convert port number to a string. (Bug#9566)
6838 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6840 * window.el (quit-window): Undedicate window when switching to
6841 previous buffer. Reported by Thierry Volpiatto
6842 <thierry.volpiatto@gmail.com>.
6843 (special-display-popup-frame): When popping up a new frame reset
6844 its previous buffers to nil. Simplify code.
6846 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6848 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6849 and process filter, as done also in `shell-command'.
6851 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6853 * window.el (set-window-buffer-start-and-point):
6854 Call set-window-start with NOFORCE argument t.
6855 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6856 (quit-window): Reword doc-string. Handle new format of
6857 quit-restore parameter. Don't delete window if it has a
6858 previous buffer we can show instead of the present one.
6859 (display-buffer-record-window): Rewrite using a new format for
6860 the quit-restore window parameter
6861 (special-display-popup-frame, display-buffer-same-window)
6862 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6863 (display-buffer-pop-up-window, display-buffer-use-some-window):
6864 Adapt symbol passed to display-buffer-record-window.
6865 * help.el (help-window-setup): Handle new format of quit-restore
6868 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6870 * faces.el (face-list): Fix docstring (bug#9564).
6872 * window.el (display-buffer--action-function-custom-type):
6873 Don't include internal functions in the Custom interface.
6875 2011-09-20 Juri Linkov <juri@jurta.org>
6877 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6878 (Info-forward-node, Info-backward-node, Info-next-preorder)
6879 (Info-last-preorder): Use it. (Bug#9528)
6881 2011-09-20 Juri Linkov <juri@jurta.org>
6883 * info.el (Info-last-preorder): Visit last menu item only when
6884 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6886 2011-09-20 Julien Danjou <julien@danjou.info>
6888 * password-cache.el (password-cache-remove): Remove entries even if the
6889 value is nil, so that password with a nil value (negative caching) is
6890 possible to invalidate.
6892 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6894 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6895 all whitespace around breakpoint. (Bug#9553)
6896 (f90-find-breakpoint): Only break at whitespace inside a comment.
6898 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6900 * minibuffer.el (completion-file-name-table): Keep track of errors.
6901 (completion-table-with-predicate): Handle the case where pred1 is nil.
6902 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6904 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6906 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6907 (debugger-return-value): Signal an error if the debugging context does
6908 not await any return value.
6910 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6911 * image-mode.el (image-toggle-display-text)
6912 (image-toggle-display-image): Stay away from evil `intangible'.
6914 2011-09-19 Leo Liu <sdl.web@gmail.com>
6916 * replace.el (occur-revert-arguments): Make it permanent-local.
6917 (occur-mode): Don't call font-lock-defontify.
6919 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6921 * net/ldap.el (ldap-search-internal): Don't push empty search
6924 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6926 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6928 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6930 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6931 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6933 2011-09-18 Juri Linkov <juri@jurta.org>
6935 * buff-menu.el (Buffer-menu-mode-map):
6936 * dired.el (dired-mode-map):
6937 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6938 (lisp-interaction-mode-map):
6939 * emacs-lisp/package.el (package-menu-mode-map):
6940 * epa.el (epa-key-list-mode-map):
6941 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6942 (menu-bar-options-menu):
6943 * outline.el (outline-mode-menu-bar-map):
6944 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6945 * vc/vc-dir.el (vc-dir-menu-map):
6946 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6947 Capitalize non-function content words in menu item strings.
6949 * dired.el (dired-mode-map): Add menu item for
6950 `image-dired-dired-toggle-marked-thumbs'.
6952 2011-09-18 Juri Linkov <juri@jurta.org>
6954 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6955 to `isearch-case-fold-search' and restore its original value
6956 after the `isearch-mode' call.
6958 2011-09-18 Juri Linkov <juri@jurta.org>
6960 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6961 because `zgrep' returns 1 for successful matches (bug#9226).
6963 2011-09-18 Juri Linkov <juri@jurta.org>
6965 * info.el (Info-extract-menu-node-name): Check the second match
6966 for empty string (second test-case of bug#9528).
6967 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6968 intermediate nodes to the history (first test-case of bug#9528).
6970 2011-09-18 Juri Linkov <juri@jurta.org>
6972 * info.el (Info-mode-syntax-table): New variable.
6973 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6975 2011-09-18 Juri Linkov <juri@jurta.org>
6977 * info.el (Info-file-supports-index-cookies):
6978 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6979 outputs one more line for long file names (bug#4142).
6981 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6983 * newcomment.el (comment-normalize-vars): If prompting for
6984 comment-start, set comment-start-skip too (Bug#8424).
6986 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6988 * icomplete.el: Fix previous fix of Bug#5849.
6989 (icomplete-mode): Don't set completion-show-inline-help.
6990 (icomplete-minibuffer-setup): Set completion-show-inline-help
6991 locally during icompletion.
6993 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6995 * woman.el (woman2-process-escapes): Don't delete unrecognized
6998 * files.el (inhibit-first-line-modes-regexps): Add image files.
6999 (hack-local-variables-prop-line): Return nil for malformed
7000 prop-lines (Bug#9044).
7002 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7004 * net/tramp.el (top): Don't require 'shell.
7005 (tramp-methods): Fix docstring.
7006 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7007 Return complete remote file name. Handle "smb" case.
7008 Use `tramp-tmpdir', if defined for the respective method.
7009 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7011 * net/tramp-compat.el (top): Require 'shell.
7013 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7014 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7015 `tramp-current-host'.
7016 (tramp-get-remote-tmpdir): Remove.
7018 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7019 `tramp-tmpdir' entries.
7020 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7021 (tramp-smb-handle-file-attributes): Ignore errors.
7022 (tramp-smb-wait-for-output): Check also for process end.
7024 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7026 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7027 when sending QUIT (bug#9312).
7029 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7031 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7032 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7033 occur-mode-display-occurrence.
7034 (occur-edit-mode): Add usage message.
7035 (occur-cease-edit): New command.
7036 (occur-after-change-function): Use text properties to find the
7037 position of the prefix text.
7038 (occur-engine): Set stickiness of prefix text properties.
7040 2011-09-17 Glenn Morris <rgm@gnu.org>
7042 * progmodes/etags.el (complete-tag):
7043 Fix call to completion-in-region. (Bug#9526)
7045 2011-09-17 Juri Linkov <juri@jurta.org>
7047 * textmodes/ispell.el (ispell-word): Add to the error message
7048 the word, ispell program name and current dictionary (bug#9121).
7049 (ispell-tex-arg-end): Capitalize "error" in the error message.
7051 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7053 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7056 2011-09-17 Juri Linkov <juri@jurta.org>
7058 * window.el (window-safe-min-height, window-safe-min-width):
7059 Fix typos (followup to bug#9522).
7061 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7063 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7065 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7067 * simple.el (line-move): If goal-column is set, move by logical
7068 lines, not by display lines. (Bug#971)
7069 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7070 to reflect the above change.
7072 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7074 * image.el (imagemagick-register-types): Use regexp-opt.
7076 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7078 * window.el (display-buffer-base-action): Rename from
7079 display-buffer-default-action. Make default value empty.
7080 (display-buffer-overriding-action): Convert to defvar.
7081 (display-buffer-fallback-action): New var.
7083 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7085 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7087 (package--add-to-archive-contents): If there is a duplicate entry
7088 with an older version, remove it.
7089 (package-menu-mark-delete, package-menu-mark-install)
7090 (package-menu-mark-unmark): Make unused args optional.
7091 (package-menu-mark-obsolete-for-deletion):
7092 Use package-menu-get-status instead of a regexp search.
7093 (package-menu-get-status): Use tabulated-list-entry.
7094 (package-menu-mark-upgrades): New command.
7095 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7096 (package-menu-execute): Do installation before deletion.
7097 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7098 instead of checking major-mode.
7099 (package-menu--find-upgrades): New function.
7101 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7103 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7104 passwords in the log buffer.
7105 (smtpmail-process-filter): Update the process marker so that the
7106 "broken by peer" status message is inserted in the right place.
7108 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7110 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7111 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7112 bibtex-completion-at-point-function.
7113 (bibtex-completion-at-point-function): Use them.
7115 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7117 * mpc.el (mpc-constraints-tag-lookup): New function.
7118 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7119 also to browser "album|playlist".
7121 2011-09-14 Juri Linkov <juri@jurta.org>
7123 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7124 (isearch-edit-string): Use length of `isearch-string' when
7125 `isearch-fail-pos' returns nil.
7126 (isearch-message): Remove duplicate code and call
7127 `isearch-fail-pos' with arg `t'.
7129 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7131 * replace.el (occur-mode-goto-occurrence): Don't force using other
7134 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7136 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7138 * window.el (display-buffer-window): Remove.
7139 (display-buffer-record-window): Use help-setup window parameter
7140 instead of variable display-buffer-window.
7141 (display-buffer-function, special-display-buffer-names)
7142 (special-display-function): Mention help-setup parameter instead
7143 of display-buffer-window in doc-string.
7144 * help.el (help-window-setup): New argument help-window.
7145 Use help-window-setup parameter instead of display-buffer-window.
7146 Reword some messages.
7147 (with-help-window): Pass window used for displaying the buffer
7148 to help-window-setup. Don't set display-buffer-window.
7150 2011-09-13 Glenn Morris <rgm@gnu.org>
7152 * emacs-lisp/debug.el (debugger-make-xrefs):
7153 Preserve point. (Bug#9462)
7155 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7157 * window.el (window-deletable-p): Use next-frame.
7159 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7161 * window.el (window-auto-delete): Remove.
7162 (window-deletable-p): Remove argument FORCE. Don't deal with
7163 dedication and previous buffers.
7164 (switch-to-prev-buffer): Don't delete window.
7165 (delete-windows-on): Delete a window's frame if and only if the
7166 window is dedicated.
7167 (replace-buffer-in-windows): Delete buffer's window or frame if
7168 and only if window is dedicated.
7169 (quit-window): Handle quit-restore as before last change.
7170 (bury-buffer): Delete window only if window-deletable-p returns t.
7172 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7174 * window.el (window-deletable-p): Never delete the last frame on a
7177 2011-09-13 Glenn Morris <rgm@gnu.org>
7179 * help.el (describe-key-briefly): Copy previous standard-output change.
7181 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7183 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7185 2011-09-13 Glenn Morris <rgm@gnu.org>
7187 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7188 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7190 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7192 * dired-aux.el (dired-mark-read-string): Don't return default
7193 value on empty input (Bug#9361).
7194 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7195 Omit initial minibuffer contents.
7196 (dired-do-chmod): Signal an error on empty input.
7197 (dired-mark-read-string): Don't return default on empty input.
7199 * files.el (file-modes-symbolic-to-number): Doc fix.
7201 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7203 * international/mule-cmds.el (ucs-completions): Remove.
7204 (read-char-by-name): Use complete-with-action instead; add metadata.
7206 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7208 * window.el (display-buffer--action-function-custom-type)
7209 (display-buffer--action-custom-type): New vars.
7210 (display-buffer-alist, display-buffer-default-action)
7211 (display-buffer-overriding-action): Add defcustom types.
7213 * frame.el (delete-other-frames): Doc fix (Bug#276).
7215 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7217 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7219 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7221 Change modes that used same-window-* vars to use switch-to-buffer.
7223 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7224 Use switch-to-buffer.
7226 * cus-edit.el (customize-group, custom-buffer-create)
7227 (customize-browse, custom-buffer-create-other-window):
7228 Use switch-to-buffer or switch-to-buffer-other-window.
7230 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7231 (Info-prev, Info-up, Info-speedbar-goto-node)
7232 (info-display-manual): Use switch-to-buffer.
7233 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7235 * mail/sendmail.el (mail): Use switch-to-buffer.
7236 (mail-recover): Use switch-to-buffer-other-window.
7238 * cmuscheme.el (run-scheme, switch-to-scheme):
7241 * net/rlogin.el (rlogin):
7242 * net/telnet.el (telnet, rsh):
7243 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7245 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7247 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7249 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7251 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7252 so don't mention it (bug#9301).
7253 (dired-sort-toggle-or-edit): Clarify string further.
7255 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7256 match `x', `w32' and `ns', like the manual says (bug#9029).
7258 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7259 (process-kill-buffer-query-function): Mention the buffer name in
7262 * image-mode.el (image-next-line): The line parameter is mandatory
7265 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7266 which can be useful (bug#9301).
7268 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7270 * subr.el (match-string): Mention that the current buffer should
7271 be the same as the search was done in (bug#9282).
7273 * facemenu.el: Disable the remove-* commands if the mark isn't
7276 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7278 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7280 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7282 * replace.el (occur-mode-goto-occurrence)
7283 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7286 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7289 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7290 special-display and same-window variables.
7291 (mail-other-window): Use switch-to-buffer-other-window.
7292 (mail-other-frame): USe switch-to-buffer-other-frame.
7294 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7295 Use display-buffer-other-frame.
7296 (gdb-display-gdb-buffer): Use pop-to-buffer.
7298 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7300 * progmodes/python.el: Don't set same-window-buffer-names.
7302 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7304 * window.el (display-buffer-alist): Add *Python*.
7306 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7308 * window.el (display-buffer-alist): Add entry for buffers
7309 previously handled same-window-*.
7310 (display-buffer-alist, display-buffer-default-action)
7311 (display-buffer-overriding-action): Mark as risky.
7312 (display-buffer-alist): Document action function changes.
7313 (display-buffer--same-window-action)
7314 (display-buffer--other-frame-action): New variables.
7315 (switch-to-buffer, display-buffer-other-frame): Use them.
7316 (display-buffer): Rename reuse-frame entry to reusable-frames.
7317 (display-buffer-reuse-selected-window): Function deleted.
7318 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7319 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7320 (display-buffer-special): New function.
7321 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7322 display-buffer-reuse-or-pop-window. Split off special-display
7323 part into display-buffer-special.
7324 (display-buffer-use-some-window): Don't perform any special
7325 pop-up-frames handling.
7326 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7327 (display-buffer--maybe-same-window): Rename from
7328 display-buffer-maybe-same-window.
7330 * info.el: Don't set same-window-regexps.
7331 (info-setup): New function.
7332 (info-other-window, info): Call it.
7334 * cus-edit.el: Don't set same-window-regexps.
7335 (customize-group): New argument.
7336 (customize-group-other-window): Use it.
7337 (customize-face, customize-face-other-window): Likewise.
7338 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7342 * progmodes/gud.el: Don't set same-window-regexps.
7348 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7350 2011-09-10 Juri Linkov <juri@jurta.org>
7352 * isearch.el (isearch-edit-string): Remove obsolete mention of
7353 `C-w' (`isearch-yank-word-or-char') from docstring.
7354 (isearch-query-replace): Fix typo in docstring (bug#9466).
7356 2011-09-10 Juri Linkov <juri@jurta.org>
7358 * paren.el (show-paren-function): Don't show escaped parens.
7359 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7361 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7363 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7364 (mm-default-file-encoding): Remove autoload forms, they are
7365 replaced with autoload cookies in mml.el and mm-encode.el.
7366 (mail-add-attachment): New command.
7367 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7368 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7370 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7372 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7374 * simple.el (count-words-region): Use buffer if there's no region
7377 2011-09-09 Juri Linkov <juri@jurta.org>
7379 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7380 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7381 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7383 2011-09-09 Alan Mackenzie <acm@muc.de>
7385 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7386 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7388 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7390 Fix for Savannah bug#9392.
7391 * simple.el (mail-encode-mml): New defvar.
7393 * mail/rmail.el (mail-encode-mml): Add a defvar.
7394 (rmail-enable-mime-composing): Default to t.
7395 (rmail-forward): Use MIME method of forwarding only if both
7396 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7397 Set mail-encode-mml non-nil if the MIME method was used.
7399 * mail/sendmail.el (mml-to-mime): Add autoload form.
7400 (mail-encode-mml): Add a defvar.
7401 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7403 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7404 message through mml-to-mime, and reset mail-encode-mml to nil.
7406 2011-09-09 Glenn Morris <rgm@gnu.org>
7408 * woman.el (woman-if-body): When processing an .el block,
7409 do not delete the next .el block as well. (Bug#9447)
7410 (woman-special-characters): Add oq, cq, and hy characters.
7412 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7414 * window.el (window-deletable-p): Make sure window is live before
7415 invoking window-prev-buffers.
7417 2011-09-08 Leo Liu <sdl.web@gmail.com>
7419 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7421 2011-09-08 Juri Linkov <juri@jurta.org>
7423 * progmodes/compile.el (compilation-environment): Make it
7424 a defcustom (bug#8340).
7426 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7428 * window.el (frame-auto-delete): Rename to window-auto-delete.
7429 Make it control auto-deletion of windows and/or frames.
7430 (window-deletable-p): New argument FORCE. Rewrite conditions
7431 for deleting window/frame. (Bug#9419)
7432 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7433 Rewrite handling of case when window/frame can be deleted.
7434 (delete-windows-on): Call window-deletable-p with new FORCE
7435 argument t. (Bug#9456)
7437 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7439 * help-mode.el (help-mode): Restore autoload.
7441 2011-09-07 Juri Linkov <juri@jurta.org>
7443 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7444 `compilation-environment'. Set buffer-local
7445 `compilation-environment' to `thisenv' later after (funcall mode).
7448 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7449 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7450 instead of replacing its value. (Bug#8340)
7452 2011-09-07 Juri Linkov <juri@jurta.org>
7454 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7455 based on text properties put by `grep-filter' instead of matching
7457 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7458 to the value of `grep-error-screen-columns' (bug#9438).
7460 2011-09-07 Juri Linkov <juri@jurta.org>
7462 * simple.el (next-error-highlight, next-error-highlight-no-select):
7465 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7467 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7468 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7470 2011-09-07 Leo Liu <sdl.web@gmail.com>
7472 * net/rcirc.el (rcirc-mode): Conditionally initialize
7475 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7477 * emacs-lisp/find-func.el (find-function-C-source): Only set
7478 find-function-C-source-directory after checking that we found a source
7479 file there (bug#9440).
7481 2011-09-06 Alan Mackenzie <acm@muc.de>
7483 * isearch.el (isearch-other-meta-char): Wherever a key list is
7484 unread, "unread" the prefix arg, too. This fixes bug #8901.
7486 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7488 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7490 2011-09-05 Juri Linkov <juri@jurta.org>
7492 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7494 2011-09-05 Juri Linkov <juri@jurta.org>
7496 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7497 keeping point where processing of grep matches begins, and
7498 continue to delete remaining escape sequences from the same point.
7499 (grep-filter): Make leading zero optional in "0?1;31m" because
7500 git-grep emits "\033[1;31m" escape sequences unlike expected
7501 "\033[01;31m" as GNU Grep does (bug#9408).
7502 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7504 2011-09-05 Juri Linkov <juri@jurta.org>
7506 * subr.el (y-or-n-p): Capitalize "yes".
7508 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7510 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7511 `tramp-cache-unload-hook' where appropriate.
7512 (tramp-methods): Rename `tramp-remote-sh' to
7513 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7514 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7516 * net/tramp-sh.el (top): Don't require 'shell.
7517 (tramp-methods): Add `tramp-remote-shell' and
7518 `tramp-remote-shell-args' entries.
7519 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7520 (tramp-sh-handle-shell-command): Remove.
7521 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7522 Use `tramp-remote-shell'.
7524 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7526 * mail/sendmail.el (sendmail-query-once-function): Delete.
7527 (sendmail-query-once): Save directly to send-mail-function.
7528 Update message-send-mail-function too.
7530 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7532 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7534 * progmodes/python.el (python-mode-map): Use correct function to
7535 start python interpreter from menu-bar (as reported by Geert
7537 (inferior-python-mode-map): Fix typo.
7538 (python-shell-map): Remove.
7540 2011-09-03 Deniz Dogan <deniz@dogan.se>
7542 * net/rcirc.el (rcirc-print): Simplify code for
7543 rcirc-scroll-show-maximum-output. There is no need to walk
7544 through all windows to find the right one.
7546 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7548 * help.el (help-return-method): Doc fix.
7550 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7552 * window.el (window-deletable-p): Don't return a non-nil value
7553 when there's a buffer that was shown in the window before.
7555 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7556 Set window's previous buffers to nil.
7558 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7560 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7561 newline before and after the tag line, so it doesn't interfere
7562 with determining the paragraph direction of bidirectional text.
7564 2011-09-03 Leo Liu <sdl.web@gmail.com>
7566 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7568 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7570 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7571 (pop-to-buffer): Change interactive spec. Pass second argument
7572 directly to display-buffer.
7573 (display-buffer): Fix interactive spec. Use functionp to
7574 distinguish between a function and a list of functions.
7576 * abbrev.el (edit-abbrevs):
7577 * arc-mode.el (archive-extract):
7578 * autoinsert.el (auto-insert):
7579 * bookmark.el (bookmark-bmenu-list):
7580 * files.el (find-file):
7581 * view.el (view-buffer):
7582 * progmodes/compile.el (compilation-goto-locus):
7583 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7585 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7587 * window.el (display-buffer-alist): Doc fix.
7588 (display-buffer): Add docstring. Don't treat
7589 display-buffer-default specially.
7590 (display-buffer-reuse-selected-window)
7591 (display-buffer-same-window, display-buffer-maybe-same-window)
7592 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7593 (display-buffer-pop-up-window)
7594 (display-buffer-reuse-or-pop-window)
7595 (display-buffer-use-some-window): New functions.
7596 (display-buffer-default-action): Use them.
7597 (display-buffer-default): Delete.
7598 (pop-to-buffer-1): Fix choice of actions.
7600 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7602 * minibuffer.el (completion--insert-strings): Don't get confused by
7603 completion entries that end with an LF char.
7605 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7607 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7609 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7611 * window.el (display-buffer): Restore interactive spec.
7612 (display-buffer-same-window, display-buffer-other-window):
7614 (pop-to-buffer-1): New function. Use the above.
7615 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7616 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7618 * view.el (view-buffer-other-window, view-buffer-other-frame):
7619 Just use pop-to-buffer.
7621 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7623 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7625 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7627 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7629 2011-08-31 Richard Stallman <rms@gnu.org>
7631 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7632 of the separation of rmail-view-buffer from rmail-buffer.
7633 If you say no to "replace original", the decrypt is in the
7634 view buffer. If you say yes, the decrypt goes into the
7637 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7639 * window.el (display-buffer-window): Rewrite doc-string.
7640 (display-buffer-record-window): New function.
7641 (display-buffer-macro-specifiers)
7642 (display-buffer-even-window-sizes, display-buffer-set-height)
7643 (display-buffer-set-width, display-buffer-in-window)
7644 (display-buffer-reuse-window, display-buffer-split-specifiers)
7645 (display-buffer-side-specifiers, display-buffer-split-window-1)
7646 (display-buffer-split-window, display-buffer-split-atom-window)
7647 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7648 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7649 (display-buffer-other-window-means-other-frame)
7650 (display-buffer-normalize-special)
7651 (display-buffer-normalize-default)
7652 (display-buffer-normalize-argument)
7653 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7654 (display-buffer-normalize-specifiers, display-buffer-frame)
7655 (display-buffer-same-window, display-buffer-same-frame)
7656 (display-buffer-other-window)
7657 (display-buffer-same-frame-other-window)
7658 (display-buffer-other-frame, pop-to-buffer-same-window)
7659 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7660 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7661 (switch-to-buffer-same-frame)
7662 (switch-to-buffer-other-window-same-frame)
7663 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7664 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7665 (display-buffer-alist-set): Remove.
7666 (display-buffer-function, special-display-buffer-names)
7667 (special-display-regexps, special-display-function):
7668 In doc-string refer to display-buffer-window and quit-restore
7670 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7671 (special-display-frame-alist, special-display-popup-frame)
7672 (same-window-buffer-names, same-window-regexps, same-window-p)
7673 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7674 (split-window-preferred-function, split-height-threshold)
7675 (split-width-threshold, window-splittable-p)
7676 (split-window-sensibly, window--try-to-split-window)
7677 (window--frame-usable-p, even-window-heights)
7678 (window--even-window-heights, window--display-buffer-1)
7679 (window--display-buffer-2, display-buffer-other-frame):
7680 Restore old Emacs 23 code, order and doc-strings where applicable.
7681 (display-buffer-default, display-buffer-assq-regexp): New functions.
7682 (display-buffer-alist): Rewrite doc-string.
7683 (display-buffer-default-action)
7684 (display-buffer-overriding-action): New variables.
7685 (display-buffer, switch-to-buffer): Rewrite.
7686 (pop-to-buffer): Restore Emacs 23 behavior but use
7687 window-normalize-buffer-to-display.
7688 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7689 Restore Emacs 23 behavior but use
7690 window-normalize-buffer-to-switch-to.
7691 (pop-to-buffer-same-window): Rewrite.
7692 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7693 Rewrite using Emacs 23 options.
7695 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7697 * net/tramp.el (tramp-root-regexp): Remove.
7698 (tramp-completion-file-name-regexp-unified)
7699 (tramp-completion-file-name-regexp-separate)
7700 (tramp-completion-file-name-regexp-url): Don't use leading volume
7701 letter on win32 systems. (Bug#5303, Bug#9311)
7702 (tramp-drop-volume-letter): Simplify definition.
7703 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7705 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7710 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7712 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7714 2011-08-29 Juri Linkov <juri@jurta.org>
7716 * isearch.el (isearch-done): Don't display message "Mark saved"
7717 when arg `edit' is non-nil to prevent its flicker in the echo area.
7719 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7721 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7722 obsolete packages for deletion.
7724 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7726 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7727 (help-mode): Derive help-mode from special-mode. Don't invoke
7728 view-mode from help-mode.
7729 (help-xref-override-view-map): Remove.
7730 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7731 view-mode is not used anymore.
7733 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7735 * server.el (server-port): Doc fix.
7737 * cus-theme.el (custom-theme-choose-mode): Inherit from
7738 special-mode (Bug#9124).
7739 (custom-theme-choose-mode-map): Add special-mode to parent.
7741 2011-08-28 Alan Mackenzie <acm@muc.de>
7743 * progmodes/cc-fonts.el
7744 (c-make-font-lock-BO-decl-search-function): New function.
7745 (c-basic-matchers-after - "Fontify the clauses after various
7746 keywords"): Extract the three keyword lists for the 3 erroneous
7747 constructs from the list of four, and use the new function above
7748 in place of an old one.
7750 2011-08-28 Deniz Dogan <deniz@dogan.se>
7752 * net/rcirc.el (rcirc-insert-prev-input)
7753 (rcirc-insert-next-input): Remove unused argument.
7755 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7757 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7759 2011-08-27 Alan Mackenzie <acm@muc.de>
7761 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7762 handle function pointer parameters properly.
7764 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7766 * window.el (display-buffer-reuse-window): Fix case where
7767 selected window was reused with non-nil OTHER-WINDOW argument.
7770 2011-08-27 Deniz Dogan <deniz@dogan.se>
7772 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7773 oftc's NickServ messages.
7775 2011-08-27 Glenn Morris <rgm@gnu.org>
7777 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7779 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7781 * emacs-lisp/package.el (package-install): Call package-initialize
7782 if called interactively.
7784 2011-08-26 Leo Liu <sdl.web@gmail.com>
7786 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7788 2011-08-25 Juri Linkov <juri@jurta.org>
7790 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7791 `search-whitespace-regexp' (bug#9364).
7793 2011-08-25 Juri Linkov <juri@jurta.org>
7795 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7796 `regexp-search-ring' to their global values to protect from
7797 updating by `read-from-minibuffer' (bug#9185).
7799 2011-08-25 Juri Linkov <juri@jurta.org>
7801 * textmodes/ispell.el (ispell-command-loop): Add newline
7802 at the end of the "Use option `i'..." line.
7804 2011-08-25 Juri Linkov <juri@jurta.org>
7806 * battery.el (display-battery-mode): If `battery-status-function'
7807 or `battery-mode-line-format' is nil, display the message and set
7808 `display-battery-mode' to nil (bug#9363).
7810 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7812 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7813 bidi-string-mark-left-to-right; they are unnecessary now.
7815 2011-08-25 Deniz Dogan <deniz@dogan.se>
7817 * net/quickurl.el: Documentation typo fixes.
7819 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7821 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7823 2011-08-25 Glenn Morris <rgm@gnu.org>
7825 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7827 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7828 (smtpmail-via-smtp): Handle nil response from smtp.
7830 2011-08-24 Juri Linkov <juri@jurta.org>
7832 * proced.el (proced-marked): Inherit from `error' instead of
7833 `font-lock-warning-face'.
7835 * ibuffer.el (ibuffer-marked-face): Change default face from
7836 `font-lock-warning-face' to `warning'.
7837 (ibuffer-deletion-face): Change default face from
7838 `font-lock-type-face' to `error'.
7840 * battery.el (battery-update): Use the face `error' instead of
7841 `font-lock-warning-face' (bug#6117).
7843 2011-08-24 Juri Linkov <juri@jurta.org>
7845 * faces.el (success): Change face color from "Green3" to
7846 "ForestGreen" on light background (bug#9353).
7848 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7850 * window.el (quit-window): Rename from quit-restore-window.
7851 Use same arglist as old quit-window.
7852 (frame-auto-delete): Doc fix.
7854 * view.el (view-mode-exit): Use quit-window.
7856 2011-08-24 Juri Linkov <juri@jurta.org>
7858 * isearch.el (isearch-ring-adjust1): Start visiting previous
7859 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7860 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7861 for empty search string (when the last search string is reused
7862 automatically) to adjust the isearch ring to the last element and
7863 prepare the correct index for further M-p commands (bug#9185).
7865 2011-08-24 Kenichi Handa <handa@m17n.org>
7867 * international/ucs-normalize.el: If decomposition property of
7868 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7870 (nfd, nfkd): Likewise.
7872 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7874 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7875 from process filters aren't reliably transmitted to the surrounding
7876 accept-process-output.
7877 (mpc-proc-check): New function.
7878 (mpc-proc-sync): Use it (bug#8293)
7880 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7882 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7883 Add compatibility functions (bug#9313).
7885 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7887 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7889 * international/uni-bidi.el: Regenerate.
7891 2011-08-23 Kenichi Handa <handa@m17n.org>
7893 * international/charprop.el:
7894 * international/uni-bidi.el:
7895 * international/uni-category.el:
7896 * international/uni-combining.el:
7897 * international/uni-comment.el:
7898 * international/uni-decimal.el:
7899 * international/uni-decomposition.el:
7900 * international/uni-digit.el:
7901 * international/uni-lowercase.el:
7902 * international/uni-mirrored.el:
7903 * international/uni-name.el:
7904 * international/uni-numeric.el:
7905 * international/uni-old-name.el:
7906 * international/uni-titlecase.el:
7907 * international/uni-uppercase.el: Regenerate.
7909 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7911 * help.el (help-window-setup): Fix message displayed when other
7912 window is reused. (Bug#9341)
7914 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7916 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7917 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7919 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7921 * shell.el (shell-parse-pcomplete-arguments): New function.
7922 (shell-completion-vars): Use it instead (bug#9160).
7924 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7926 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7927 strings and comments (bug#9333).
7929 * emacs-lisp/debug.el (debug-arglist): New function.
7930 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7931 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7933 2011-08-22 Juri Linkov <juri@jurta.org>
7935 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7936 Revert regexp that highlights output switches to its old
7937 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7939 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7940 to check for empty output (bug#9226).
7942 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7944 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7945 symbol-constituent as the default, as that stops font-lock from
7946 working properly (Bug#8843).
7948 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7950 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7951 `coding-system-for-*' around the process open call to avoid
7952 auth-source side effects.
7953 (smtpmail-try-auth-methods): Expand the secret password.
7954 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7957 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7959 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7961 * emacs-lisp/find-func.el (find-function-noselect): New arg
7964 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7965 signal an error for built-in functions (Bug#6664).
7967 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7969 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7970 (smtpmail-try-auth-methods): Use it.
7972 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7974 * font-lock.el (font-lock-fontify-region)
7975 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7976 (font-lock-default-unfontify-buffer)
7977 (font-lock-default-fontify-region)
7978 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7980 * progmodes/compile.el (compilation-error-properties):
7981 Fix confusion between file struct and message struct (Bug#9319).
7982 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7985 * net/browse-url.el (browse-url-firefox): Don't call
7986 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7988 2011-08-20 Glenn Morris <rgm@gnu.org>
7990 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7992 * tutorial.el (tutorial--default-keys): Update some default bindings.
7994 * files.el (hack-local-variables): Fully ignore case for "mode:".
7996 2011-08-20 Alan Mackenzie <acm@muc.de>
7998 Resolve invalid use of a regexp in regexp-opt.
8000 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8001 detection for a java annotation.
8003 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8004 detection for a java annotation.
8006 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8008 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8010 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8012 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8015 2011-08-20 Alan Mackenzie <acm@muc.de>
8017 Fontify CPP expressions correctly when starting in the middle of
8018 such a construct. Mainly for when jit-lock etc. starts a chunk
8021 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8023 (c-make-font-lock-search-form): New function, extracted from
8024 c-make-font-lock-search-function.
8025 (c-make-font-lock-search-function): Use the above function.
8026 (c-make-font-lock-context-search-function): New function.
8027 (c-cpp-matchers): Enhance the preprocessor expression case with
8029 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8030 which takes an expression.
8032 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8034 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8036 * window.el (display-buffer-reuse-window)
8037 (display-buffer-pop-up-window): Don't reuse or split a side
8040 2011-08-19 Glenn Morris <rgm@gnu.org>
8042 * files.el (hack-local-variables-prop-line, hack-local-variables):
8043 Downcase "Mode:". (Bug#9331)
8045 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8047 * international/characters.el: Add L and R categories.
8049 * subr.el (bidi-string-mark-left-to-right): Rename from
8050 string-mark-left-to-right. Use category search.
8052 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8054 2011-08-18 Juri Linkov <juri@jurta.org>
8056 * faces.el (error, warning, success): New faces with definitions
8057 copied from old default values of `font-lock-warning-face',
8058 `compilation-warning', `compilation-info' (bug#6117).
8060 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8062 * progmodes/compile.el (compilation-error): Inherit from `error'.
8063 (compilation-warning): Inherit from `warning'.
8064 (compilation-info): Inherit from `success'.
8066 * dired.el (dired-marked): Inherit from `warning'.
8067 (dired-flagged): Inherit from `error'.
8069 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8071 * mail/smtpmail.el (auth-source): Require to avoid problems with
8072 binding variables (bug#9298). Also clean up some unused
8075 * net/network-stream.el (network-stream-open-starttls):
8076 Support using starttls.el without using gnutls-cli.
8078 2011-08-17 Juri Linkov <juri@jurta.org>
8080 * progmodes/grep.el (rgrep): Handle the case when
8081 `grep-find-command' is a cons cell (bug#9278).
8083 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8085 * window.el (display-buffer-pop-up-frame): Run frame creation
8086 function with BUFFER current (as special-display-popup-frame
8087 does). Reported by Drew Adams.
8089 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8091 * epa-mail.el: Simplify GnuPG group expansion using
8093 (epa-mail-group-alist, epa-mail-group-modtime)
8094 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8095 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8096 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8099 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8101 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8103 2011-08-16 Alan Mackenzie <acm@muc.de>
8105 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8106 Correct, to avoid the inside of macros.
8108 2011-08-16 Richard Stallman <rms@gnu.org>
8110 * epa-mail.el: Handle GnuPG group definitions.
8111 (epa-mail-group-alist, epa-mail-group-modtime)
8112 (epa-mail-gnupg-conf-file): New variables.
8113 (epa-mail-parse-groups, epa-mail-sync-groups)
8114 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8115 (epa-mail-expand-recipients): New functions.
8116 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8118 * mail/rmail.el (rmail-epa-decrypt): New command.
8120 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8121 Don't bind buffer-read-only, just inhibit-read-only.
8122 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8123 (epa-decrypt-armor-in-region): Make error message clearer.
8125 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8127 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8128 and "a2b" to "ab" for `prefix'.
8130 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8132 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8134 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8135 Fourquet (Bug#8804).
8137 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8139 * startup.el (argi): Declare as global variable (bug#9275).
8141 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8143 * subr.el (string-mark-left-to-right): Search the entire string
8144 for RTL script, not just the terminating character. Doc fix.
8146 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8148 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8150 (js--regexp-literal, js-syntax-propertize-function): Remove.
8151 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8152 (js-mode-map): Don't rebind electric keys.
8153 (js-insert-and-indent): Remove.
8154 (js-mode): Setup electric-layout and electric-indent instead.
8156 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8158 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8160 * epa.el (epa-progress-callback-function): Fix the logic of
8161 displaying progress.
8162 * epa-file.el (epa-file-insert-file-contents): Make progress
8163 display more user-friendly.
8164 (epa-file-write-region): Ditto.
8166 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8168 * subr.el (string-mark-left-to-right): New function.
8170 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8171 Use string-mark-left-to-right.
8172 (list-buffers-noselect): Caller changed.
8174 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8175 Use string-mark-left-to-right.
8176 (tabulated-list-print): Recenter after moving point.
8178 2011-08-10 Juri Linkov <juri@jurta.org>
8180 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8181 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8182 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8184 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8186 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8189 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8191 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8192 character. (Bug#6594)
8194 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8196 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8197 (image-dired--with-db-file): New macro.
8198 (image-dired-write-tags, image-dired-remove-tag)
8199 (image-dired-create-gallery-lists, image-dired-write-comments)
8200 (image-dired-get-comment, image-dired-mark-tagged-files)
8201 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8202 (image-dired-gallery-generate): Use insert-file-contents.
8204 * time.el (display-time-world-list, display-time-world-display):
8205 * time-stamp.el (time-stamp-string):
8206 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8207 set-time-zone-rule (Bug#7337).
8209 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8211 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8212 (epg-error-to-string, epg-errors-to-string): New function.
8213 (epg-wait-for-completion): Reverse errors list.
8214 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8215 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8216 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8217 (epg-sign-keys, epg-generate-key-from-file)
8218 (epg-generate-key-from-string): Format errors by using
8219 epg-errors-to-string (bug#9255).
8220 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8222 2011-08-07 Juri Linkov <juri@jurta.org>
8224 * faces.el (list-faces-display): Remove extra angle bracket
8225 from `help-mode-map'.
8227 * info.el (Info-history-toc-nodes): Doc fix.
8229 * longlines.el (longlines-mode): Doc fix.
8231 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8233 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8234 of statements and in a few more cases (bug#9183).
8236 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8238 (cl-transform-lambda): Use them (bug#9239).
8240 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8242 * window.el (display-buffer-same-window)
8243 (display-buffer-same-frame, display-buffer-other-window)
8244 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8245 (pop-to-buffer-other-window)
8246 (pop-to-buffer-same-frame-other-window)
8247 (pop-to-buffer-other-frame): Make them defuns.
8248 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8250 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8252 * subr.el (make-composed-keymap): Move from C. Change calling
8253 convention, and improve docstring to bring attention to a subtle point.
8254 * minibuffer.el (completing-read-default): Adjust accordingly.
8256 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8258 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8259 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8261 * net/trampver.el: Update release number.
8263 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8265 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8268 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8270 * mail/sendmail.el (sendmail-query-once): Restore the current
8271 buffer after querying (bug#9074).
8273 * dired.el (dired-flagged): Use different faces for marked and
8274 flagged files (bug#6117).
8276 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8279 * ido.el (ido-mode): Switch off the message if called
8282 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8283 before 587, since it appears that that's more likely to work for
8286 * cus-edit.el (custom-file): When running under emacs -q, always
8287 refuse to save the customizations, even if the .emacs file doesn't
8290 * info.el: Remove the `Info-beginning-of-buffer' function
8293 * net/network-stream.el (network-stream-open-starttls):
8294 Use `starttls-available-p' to see whether starttls.el can be used.
8296 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8298 * window.el (display-buffer-in-window): Don't set dedicated status
8299 of window here (Bug#9215).
8300 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8301 (display-buffer-pop-up-side-window)
8302 (display-buffer-in-side-window): Set dedicated status of window here.
8304 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8306 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8307 before binding generated-autoload-file.
8309 2011-08-01 Deniz Dogan <deniz@dogan.se>
8311 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8313 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8315 Sync with Tramp 2.2.2.
8317 * net/trampver.el: Update release number.
8319 2011-07-30 Juri Linkov <juri@jurta.org>
8321 * dired-aux.el (dired-touch-initial): Remove function.
8322 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8323 current time, and `default' to the last modification time of the
8324 current marked file (bug#6887).
8326 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8328 * simple.el (goto-line): Use string-to-number to provide a
8329 numeric argument to read-number (bug#9163).
8331 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8333 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8334 connection process, it could be nil.
8336 2011-07-27 Leo Liu <sdl.web@gmail.com>
8338 Simplify url handling in rcirc-mode.
8340 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8341 (rcirc-browse-url-at-mouse): Remove.
8342 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8344 2011-07-26 Alan Mackenzie <acm@muc.de>
8346 Fontify bitfield declarations properly.
8348 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8349 (c-symbol-chars): Now exported as a lang variable.
8350 (c-not-primitive-type-keywords): New lang variable.
8352 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8353 QT keyword "more" to prevent "more slots: ...." being spuriously
8354 parsed as a bitfield declaration.
8356 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8357 Refactor and enhance to handle bitfield declarations.
8358 (c-punctuation-in): New function.
8359 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8360 declarations properly.
8362 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8364 * calendar/icalendar.el (icalendar--all-events): Take care of
8365 multiple vcalendars in a single file.
8366 (icalendar--convert-float-to-ical): Checkdoc fixes.
8368 2011-07-25 Deniz Dogan <deniz@dogan.se>
8370 * image.el (insert-image): Clarifying docstring.
8372 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8374 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8375 `tramp-send-command-and-check' if there is no error.
8376 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8378 2011-07-22 Alan Mackenzie <acm@muc.de>
8380 Prevent cc-langs.elc being loaded at run time.
8382 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8385 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8386 "(require 'cc-langs)". Quote a form so it will evaluate at
8387 (cc-mode's) compilation time.
8389 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8391 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8394 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8396 * window.el (display-buffer-pop-up-window)
8397 (display-buffer-pop-up-side-window)
8398 (display-buffer-in-side-window): Call display-buffer-set-height
8399 and display-buffer-set-width after setting the new window's
8400 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8402 2011-07-20 Sam Steingold <sds@gnu.org>
8404 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8405 (etags-tags-included-tables): Call `convert-standard-filename' on
8406 the file names contained in TAGS so that windows Emacs can handle
8407 TAGS files created by cygwin ctags.
8409 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8411 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8412 which apparently didn't work.
8414 2011-07-19 Roland Winkler <winkler@gnu.org>
8416 * proced.el (proced-send-signal): For *Marked Processes* buffer
8417 put point at beginning of buffer.
8419 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8421 * proced.el (proced-format): Make header lines align with the text
8424 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8426 * view.el (view-buffer): Allow running in `special' modes if we're
8427 visiting a file (bug#8615).
8429 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8431 * window.el (display-buffer-alist-of-strings-p)
8432 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8434 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8437 2011-07-18 Alan Mackenzie <acm@muc.de>
8439 Fontify declarators properly when, e.g., a jit-lock chunk begins
8440 inside a declaration.
8442 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8444 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8446 (c-complex-decl-matchers): Insert reference to
8447 c-font-lock-enclosing-decls.
8449 * progmodes/cc-engine.el (c-backward-single-comment):
8450 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8451 to nil around calls to (forward-comment -1).
8453 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8455 * image.el (put-image): Doc typo fix.
8457 * progmodes/etags.el (tags-search): Doc typo fix.
8459 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8460 password if we get errors 550 to 554.
8462 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8464 * net/gnutls.el (gnutls-log-level): Remove.
8466 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8467 indentation character (bug#6380).
8469 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8471 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8472 to clarify what the problem is (bug#4291).
8474 * simple.el (current-kill): Clarify what
8475 `interprogram-paste-function' does (bug#7500).
8476 (auto-fill-mode): Document `auto-fill-function' in relation to
8477 `auto-fill-mode' (bug#2470).
8479 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8481 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8482 method if slot is read-only (bug#9035).
8484 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8486 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8487 * window.el (pop-to-buffer): Select window used even if it was
8488 selected before, see discussion of (Bug#8615), (Bug#6954).
8489 Pass argument NORECORD on to select-frame-set-input-focus.
8491 2011-07-15 Glenn Morris <rgm@gnu.org>
8493 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8496 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8498 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8499 (gnutls-negotiate): Use it.
8501 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8503 * net/gnutls.el (gnutls-negotiate):
8504 Upcase `gnutls-algorithm-priority'.
8506 2011-07-15 Glenn Morris <rgm@gnu.org>
8508 * jka-compr.el (jka-compr-verbose): Move from here...
8509 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8510 Add missing :version tag.
8511 * info.el: No need to require jka-compr when compiling.
8513 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8515 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8516 (gnutls-negotiate): Use it.
8518 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8520 * info.el (Info-beginning-of-buffer): New command.
8521 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8522 announcing `b' as the key (bug#8325).
8523 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8525 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8527 * international/mule-cmds.el
8528 (describe-specified-language-support): Make the error message
8531 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8533 * isearch.el (isearch-barrier): Add a doc string, since it's
8534 mentioned in a function doc string (bug#8678).
8536 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8538 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8539 buffer argument (Bug#9083) and self-identifying label argument.
8541 2011-07-15 Glenn Morris <rgm@gnu.org>
8543 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8545 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8547 * man.el (Man-fontify-manpage): Fix message when formatting the
8548 man page (bug#7929).
8550 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8552 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8553 argument LRM; if non-nil, append an invisible LRM character to the
8555 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8556 last argument non-nil, when formatting buffer names.
8557 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8558 paragraph direction.
8560 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8562 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8563 the man page name (bug#7929).
8565 * image.el (put-image): Mention the `put-image' overlay property
8568 * scroll-bar.el (set-scroll-bar-mode): Mention that
8569 `scroll-bar-mode' lists the values (bug#7772).
8571 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8574 * rect.el (apply-on-rectangle): Return the point after the last
8576 (string-rectangle): Go to the point after the last operation
8579 * printing.el (pr-toggle-region): Clarify the documentation
8580 slightly (bug#7493).
8582 * time.el (display-time-update):
8583 Allow `display-time-mail-function' to return nil (bug#7158).
8584 Fix suggested by Detlev Zundel.
8586 * vc/diff.el (diff): Clarify the order the file names are read
8589 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8590 the doc string (bug#7015).
8592 * font-lock.el (font-lock-maximum-decoration): Mention what
8593 numeric levels mean (bug#6935).
8595 * startup.el (initial-buffer-choice): Don't mention the `none'
8596 selection, which is against policy.
8598 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8600 * window.el (display-buffer-normalize-special):
8601 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8603 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8605 * subr.el (version<, version<=, version=): Mention "-CVS" and
8606 "-12345" alpha version numbers.
8608 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8610 * bindings.el: Add advertised binding for set-mark-command
8613 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8615 * bindings.el (mode-line-other-buffer):
8616 * bookmark.el (bookmark-bmenu-2-window):
8617 * bs.el (bs-cycle-next, bs-cycle-previous):
8618 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8621 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8624 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8626 * follow.el (follow-debug-message, follow-redisplay):
8627 * jka-cmpr-hook.el (with-auto-compression-mode):
8628 Fix typos in docstrings.
8630 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8632 * subr.el (with-silent-modifications): Clarify somewhat what the
8633 macro inhibits (bug#6525).
8635 * simple.el (eval-expression): Note what it does if called
8636 interactively (bug#6495).
8638 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8640 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8641 Use pop-to-buffer buffer-or-name if it is nil.
8643 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8644 Remove switch-to-buffer.
8646 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8648 * files.el (make-directory): Clarify that an error will be raised
8649 if there's an error (bug#6397).
8651 * startup.el (initial-buffer-choice): Add `none' as a choice
8654 * subr.el (add-hook): Clarify section about buffer-local hooks
8657 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8659 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8661 * tabify.el (untabify): Preserve the current column so that point
8662 doesn't move (bug#6032).
8664 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8666 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8667 Rewrite to avoid awkward possessive "s" (bug#5986).
8669 2011-07-13 Glenn Morris <rgm@gnu.org>
8671 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8672 (dired-insert-directory): Give a message the first time
8673 if ls is found not to support --dired.
8675 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8677 * simple.el (toggle-truncate-lines): Clarify what is toggled
8678 (bug#5580). Text by Drew Adams.
8680 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8682 * simple.el (blink-matching-open): Make the error message from the
8683 last change less verbose.
8685 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8687 * font-lock.el (font-lock-comment-face): Use the high contrast
8688 "yellow" color for font-lock-comment-face on low color terminals
8689 using a dark background color (bug#4221).
8691 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8693 * dired.el (dired-insert-set-properties): Make the doc string
8694 reflect what it does now (bug#5325).
8696 * simple.el (blink-matching-open): Say that we were unable to find
8697 the match within the limit, if we're limited (bug#5122).
8699 * international/mule-cmds.el (prefer-coding-system): Add an
8702 * progmodes/etags.el (tags-search): Document `file-list-form'
8705 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8707 * net/browse-url.el (browse-url-default-browser)
8708 (browse-url-browser-function): Make the default browser choice a
8709 bit more logical (bug#4300). Also clean up the doc string.
8711 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8713 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8714 binary endings (bug#4440).
8716 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8718 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8719 which can be pretty annoying (bug#8971).
8721 * jka-compr.el (jka-compr-verbose): New variable, and use
8722 throughout (bug#8971).
8724 * info.el (Info-find-file): Fall back on the installation
8725 directory if we can't find the info node anywhere else.
8727 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8729 * vc/vc.el (vc-revert-file):
8730 Don't set file time-stamp in the past. (Bug#5181)
8732 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8734 * files.el (after-find-file): Give a better error message when
8735 trying to find a symlink that points to a file that doesn't exist
8738 * progmodes/cc-vars.el: Remove (probably) misleading comment
8741 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8743 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8745 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8747 * mouse-sel.el: Hack restoring functionality, while keeping
8748 compatibility with 2010-07-03 changes to mouse selection.
8749 (mouse-sel-primary-overlay): New var.
8750 (mouse-sel-selection-alist): Use it.
8751 (mouse-sel-mode): Doc fix; remove points that are default features
8754 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8756 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8757 Fix previous fix (bug#2490).
8759 2011-07-12 Roland Winkler <winkler@gnu.org>
8761 * textmodes/bibtex.el (bibtex-initialize):
8762 Use pop-to-buffer-same-window.
8763 (bibtex-search-entries): Fix interactive call.
8765 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8767 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8768 Fontise bytecomp Error lines more correctly (bug#2490).
8769 Fix suggested by Johan Bockgård.
8771 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8773 * dired-x.el (dired-guess-default): Use `delete-dups'.
8775 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8777 * dired.el (dired-mark-prompt):
8778 * dired-aux.el (dired-read-shell-command): Doc fix.
8780 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8782 * mail/sendmail.el (sendmail-query-once):
8783 Use `customize-save-variable' unconditionally, now that it works under
8786 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8788 * cus-edit.el (custom-file): Take an optional no-error variable.
8789 (customize-save-variable): Set the variable, and give a warning if
8790 running under "emacs -q".
8792 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8794 * loadhist.el (unload-feature-special-hooks):
8795 Add `auto-coding-functions', `fill-nobreak-predicate' and
8796 `find-directory-functions' (bug#5327).
8798 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8800 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8802 * cus-edit.el (custom-guess-name-alist): -alist variables should
8803 use the `alist' type (bug#3120). Suggested by Drew Adams.
8805 * printing.el: Add documentation to all the `pr-toggle-' commands.
8807 2011-07-11 Leo Liu <sdl.web@gmail.com>
8809 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8810 backends where it makes sense (bug#2623).
8812 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8814 * dired-x.el (dired-guess-default): Remove duplicate shell command
8816 (dired-guess-default): Fix grammar in doc string (bug#2028).
8817 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8819 * subr.el (remove-duplicates): New conveniency function.
8821 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8823 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8826 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8828 * window.el (display-buffer-normalize-default): Don't invert
8829 meaning of even-window-heights. Reported by Eli Zaretskii
8832 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8834 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8836 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8838 * window.el (display-buffer): Fix arguments to
8839 display-buffer-reuse-window in last change.
8841 * faces.el (link): Use a less saturated blue on light backgrounds.
8843 * startup.el (fancy-startup-text, fancy-about-text)
8844 (fancy-startup-tail): Use font-lock faces, for background safety.
8846 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8848 * emulation/viper-cmd.el (viper-change-state-to-vi):
8849 Limit triggering of abbrev expansion (Bug#9038).
8851 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8853 * window.el (display-buffer-default-specifiers): Remove.
8854 (display-buffer-macro-specifiers): Remove default specifiers.
8855 (display-buffer-alist): Default to nil.
8856 (display-buffer-reuse-window): New optional argument other-window.
8857 (display-buffer-pop-up-window): Allow splitting internal
8858 windows. Check whether a live window was created.
8859 (display-buffer-other-window-means-other-frame)
8860 (display-buffer-normalize-arguments): Rename to
8861 display-buffer-normalize-argument and rewrite. Set the
8862 other-window specifier.
8863 (display-buffer-normalize-special): New function.
8864 (display-buffer-normalize-options): Rename to
8865 display-buffer-normalize-default and rewrite.
8866 (display-buffer-normalize-options-inhibit): Remove.
8867 (display-buffer-normalize-specifiers): Rewrite.
8868 (display-buffer): Process other-window specifier and call
8869 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8871 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8872 (display-buffer-alist-set): Don't handle 'unset default values.
8873 (display-buffer-in-window, display-buffer-alist-set):
8874 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8875 <tassilo@member.fsf.org>.
8877 2011-07-09 Leo Liu <sdl.web@gmail.com>
8879 * register.el (insert-register): Restore accidental change on
8880 2011-06-26. (Bug#9028)
8882 2011-07-09 Glenn Morris <rgm@gnu.org>
8884 * subr.el (remq): Handle the empty list. (Bug#9024)
8886 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8888 * mail/sendmail.el (send-mail-function): No longer delay custom
8890 * custom.el (custom-initialize-delay): Doc fix.
8892 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8896 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8898 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8899 human-friendly prompt.
8901 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8903 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8904 provided by a particular plugin.
8906 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8908 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8909 save customizations (with "emacs -Q"), just set the variable
8910 instead of erroring out.
8912 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8914 2011-07-08 Juri Linkov <juri@jurta.org>
8916 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8917 (archive-zip-update-case): Use 7z if found by `executable-find'.
8918 The order of searching the available programs is the same as in
8919 `archive-zip-extract' (bug#8968).
8921 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8923 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8924 (menu-bar-options-menu): Tweak descriptions.
8926 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8928 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8929 menu items into verb phrases (bug#1421). Also refill to fit under
8932 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8934 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8935 (Info-read-node-name): Doc fix (Bug#1084).
8937 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8938 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8939 (end-of-sexp, beginning-of-sexp)
8940 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8941 (forward-symbol, forward-same-syntax, word-at-point)
8942 (sentence-at-point): Doc fix (Bug#1144).
8944 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8946 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8947 should cover it (bug#1281).
8949 * cus-edit.el (custom-show): Mark as obsolete.
8951 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8952 negotiation fails, then possibly try again with a non-encrypted
8953 connection (bug#9017).
8955 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8958 2011-07-07 Richard Stallman <rms@gnu.org>
8960 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8961 property, and handle its changed format.
8962 Look for the correct line number.
8963 Use file's line contents (but not past first =) to find
8964 correct line in message.
8966 2011-07-07 Kenichi Handa <handa@m17n.org>
8968 * international/characters.el (build-unicode-category-table):
8970 (unicode-category-table): Set it by unicode-property-table-internal.
8972 * international/mule-cmds.el (char-code-property-alist): Move to
8974 (get-char-code-property): Call unicode-property-table-internal to
8975 load a file. Call get-unicode-property-internal where necessary.
8976 (put-char-code-property): Call unicode-property-table-internal to
8977 load a file. Call put-unicode-property-internal where necessary.
8978 put-unicode-property-internal where necessary.
8979 (char-code-property-description):
8980 Call unicode-property-table-internal to load a file.
8982 * international/charprop.el:
8983 * international/uni-bidi.el:
8984 * international/uni-category.el:
8985 * international/uni-combining.el:
8986 * international/uni-comment.el:
8987 * international/uni-decimal.el:
8988 * international/uni-decomposition.el:
8989 * international/uni-digit.el:
8990 * international/uni-lowercase.el:
8991 * international/uni-mirrored.el:
8992 * international/uni-name.el:
8993 * international/uni-numeric.el:
8994 * international/uni-old-name.el:
8995 * international/uni-titlecase.el:
8996 * international/uni-uppercase.el: Regenerate.
8998 * loadup.el: Load international/charprop.el before
8999 international/characters.
9001 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9003 * window.el (next-buffer, previous-buffer): Signal an error if
9004 called from a minibuffer window.
9006 * bindings.el: Revert 2011-07-04 change.
9008 2011-07-06 Richard Stallman <rms@gnu.org>
9010 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9011 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9012 Treat markers like ints.
9013 (rmail-mime-entity): Doc fix.
9015 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9017 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9018 defcustom again for backwards compatibility.
9020 * simple.el (shell-command-on-region): Fill.
9022 * dired-aux.el (dired-kill-line): Add a doc string.
9024 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9025 to "\\sw\\|\\s_" (bug#358).
9027 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9028 (dired-unmark-backward): Ditto.
9029 (dired-flag-backup-files): Ditto.
9031 * dired-x.el (dired-mark-sexp): Ditto.
9033 2011-07-06 Richard Stallman <rms@gnu.org>
9035 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9036 (rmail-mime-entity): New arg TRUNCATED.
9037 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9039 (rmail-mime-save): Warn if entity is truncated.
9040 (rmail-mime-toggle-hidden): Likewise, for showing.
9041 (rmail-mime-process-multipart): Record when an entity is truncated.
9043 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9044 if ENTITY is a string.
9046 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9048 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9049 of faces when `M-C-x'-ing their definitions (bug#8378).
9050 Also clean up the code slightly.
9052 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9053 because that makes the colors go away.
9055 * mail/sendmail.el (send-mail-function): Change the default to
9056 `sendmail-query-once'.
9057 (sendmail-query-once): Add an autoload cookie.
9059 * net/network-stream.el (network-stream-open-starttls): Try using
9060 a plain connection even if the server offered STARTTLS, and we
9061 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9062 capability. This should make smtpmail.el work in slightly more
9065 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9067 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9069 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9071 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9073 * progmodes/sql.el: Version 3.0
9074 (sql-product-alist): Add product :completion-object,
9075 :completion-column, and :statement attributes.
9076 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9077 (sql-mode-syntax-table): Mark all punctuation.
9078 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9080 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9081 (sql-mode-oracle-font-lock-keywords): Improve.
9082 (sql-oracle-show-reserved-words): New function for development.
9083 (sql-product-font-lock): Simplify for source code buffers.
9084 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9086 (sql-highlight-product): Set product specific syntax table.
9087 (sql-mode-map): Add statement movement functions.
9088 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9090 (sql-statement-regexp, sql-beginning-of-statement)
9091 (sql-end-of-statement, sql-signum): New functions.
9092 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9093 (sql-show-sqli-buffer): Bug fix.
9094 (sql-interactive-mode): Store connection data as buffer local.
9095 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9096 with sql-interactive-mode.
9097 (sql-save-connection): Save buffer local settings.
9098 (sql-connection-menu-filter): Change menu entry name.
9099 (sql-product-interactive): Bug fix.
9100 (sql-preoutput-hold): New variable.
9101 (sql-interactive-remove-continuation-prompt): Bug fixes.
9102 (sql-debug-redirect): New variable.
9103 (sql-str-literal): New function.
9104 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9106 (sql-oracle-save-settings, sql-oracle-restore-settings)
9107 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9108 (sql-completion-object, sql-completion-column)
9109 (sql-completion-sqlbuf): New variables.
9110 (sql-build-completions-1, sql-build-completions)
9111 (sql-try-completion): New functions.
9112 (sql-read-table-name): Use them.
9113 (sql-contains-names): New buffer local variable.
9114 (sql-list-all, sql-list-table): Use it.
9115 (sql-oracle-completion-types): New variable.
9116 (sql-oracle-completion-object, sql-sqlite-completion-object)
9117 (sql-postgres-completion-object): New functions.
9119 2011-07-06 Glenn Morris <rgm@gnu.org>
9121 * window.el (pop-to-buffer): Doc fix.
9123 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9125 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9127 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9129 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9131 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9133 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9135 * button.el (button): Inherit from link face. Suggested by Dan
9138 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9140 * progmodes/gdb-mi.el: Fit in 80 columns.
9141 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9144 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9145 if imenu is simply not configured (bug#8941).
9147 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9149 * allout.el (allout-post-undo-hook): New allout outline-change
9150 event hook to signal undo activity.
9151 (allout-post-command-business): Run allout-post-undo-hook if an
9153 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9154 * allout-widgets.el (allout-widgets-after-undo-function):
9155 Ensure the integrity of the current item's decoration after it has been
9156 in the vicinity of an undo.
9157 (allout-widgets-mode): Include allout-widgets-after-undo-function
9158 on the new allout-post-undo-hook.
9160 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9162 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9163 Let define-derived-mode define it.
9164 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9165 cycles of abbrev-table inheritance (bug#8998).
9167 2011-07-05 Roland Winkler <winkler@gnu.org>
9169 * textmodes/bibtex.el: Add support for biblatex.
9170 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9171 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9172 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9173 (bibtex-entry-alist, bibtex-field-alist): New variables.
9174 (bibtex-entry-field-alist): Obsolete alias for
9175 bibtex-BibTeX-entry-alist.
9176 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9177 (bibtex-set-dialect): New command.
9178 (bibtex-entry-type, bibtex-entry-head)
9179 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9180 Bind via bibtex-set-dialect.
9181 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9182 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9183 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9184 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9185 Define via bibtex-set-dialect.
9186 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9187 Obey bibtex-no-opt-remove-re.
9188 (bibtex-vec-push, bibtex-vec-incr): New functions.
9189 (bibtex-format-entry, bibtex-field-list)
9190 (bibtex-print-help-message, bibtex-validate)
9191 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9193 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9195 * progmodes/compile.el (compilation-goto-locus):
9196 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9197 * bs.el (bs-cycle-next, bs-cycle-previous):
9198 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9199 * bindings.el (mode-line-other-buffer):
9200 * autoinsert.el (auto-insert):
9201 * arc-mode.el (archive-extract):
9202 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9204 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9206 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9207 Fix check of `emacs-lock-unlockable-modes'.
9208 Coerce true values of `emacs-lock--try-unlocking' to t.
9210 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9212 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9213 * emacs-lock.el: New file.
9215 2011-07-05 Julien Danjou <julien@danjou.info>
9217 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9218 than `boundp' to check if face is set.
9220 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9222 * register.el (registerv-make):
9223 * window.el (window-min-height): Fix typos in docstrings.
9225 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9227 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9230 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9232 * server.el (server-execute): Catch quit and call
9233 `server-return-error' to pass the error back to emacsclient and
9234 close the connection (bug#8942).
9236 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9238 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9239 insecure exception for current topic. Also note that auto-saves
9240 are handled differently.
9242 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9243 State variables for tracking auto-save inhibition situation.
9245 (allout-write-contents-hook-handler): Rename from
9246 'allout-write-file-hook-handler', and describe how it depends on
9247 write-contents-functions sensitivity to non-nil value to prevent
9250 (allout-auto-save-hook-handler): Remove. auto-save does not check
9251 this in individual buffers, only in the starting buffer, so this
9252 is not the right way for us to inhibit auto-save in a buffer
9253 according to its condition.
9255 (allout-mode): Use new allout-write-contents-hook-handler, and
9256 only with write-contents-functions. Remove auto-save provisions -
9257 they're implemented elsewhere.
9259 (allout-before-change-handler): If undo is in progress, note that
9260 for attention of allout-post-command-business.
9262 (allout-post-command-business): If the command we're following was
9263 an undo, check for change in the status of encrypted items and
9264 adjust auto-save inhibitions accordingly.
9266 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9267 according to whether there are or aren't any plain-text topics
9270 (allout-inhibit-auto-save-info-for-decryption):
9271 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9272 if there are plain-text topics pending encryption.
9274 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9275 buffer-saved-size and some allout state to not inhibit auto-saves
9276 if there are no longer any plain-text topics pending encryption.
9278 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9279 No longer provide for exemption of the current topic.
9281 2011-07-04 Juri Linkov <juri@jurta.org>
9283 Add 7z operations to delete and save changed members (bug#8968).
9284 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9286 (archive-7z-write-file-member): New function.
9287 (archive-7z-summarize): Fix the number of dashes in the
9290 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9292 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9295 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9297 * bindings.el: Ignore next-buffer and previous-buffer in
9298 minibuffer-local-map.
9300 * font-lock.el (font-lock-builtin-face): Change light background
9301 color to dark slate blue (Bug#6693).
9303 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9305 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9307 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9309 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9310 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9311 Add switch-to-buffer.
9313 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9315 * isearch.el (isearch-search-fun-function): Clarify further the
9316 meaning of the function returned.
9318 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9320 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9322 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9323 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9325 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9326 `tramp-default-remote-path' does not exist.
9327 (tramp-send-command-and-read): New optional argument NOERROR.
9328 (tramp-open-connection-setup-interactive-shell)
9329 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9330 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9331 (tramp-process-sentinel): Flush also process' connection property.
9332 (tramp-sh-handle-start-file-process): Do not set process
9333 sentinel. It is done now ...
9334 (tramp-maybe-open-connection): ... here. (Bug#8929)
9336 2011-07-04 MON KEY <monkey@sandpframing.com>
9338 * play/animate.el (animate-string): Doc fixes and allow changing
9339 the buffer name (bug#5417).
9341 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9343 * play/animate.el (animation-buffer-name): Rename from *animate*.
9345 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9347 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9348 This is simpler and helps future-proof the code.
9349 (timer-until): Use time-subtract and float-time.
9350 (timer--time-less-p): Use time-less-p.
9352 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9354 * type-break.el (timep): Use the value of `float-time' to avoid a
9355 byte-compiler warning.
9357 * server.el (server-eval-and-print): Return any result, even nil.
9359 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9361 * type-break.el: Accept time formats that the builtins accept.
9362 (timep, type-break-time-difference): Accept any format that
9363 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9364 This is simpler and helps future-proof the code.
9365 (type-break-time-difference): Round rather than ignoring
9366 subseconds components.
9368 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9370 * info.el (Info-apropos-matches): Make non-interactive, since it
9371 doesn't seem to do anything useful as a command (bug#8829).
9373 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9375 * frame.el (frame-background-mode, frame-set-background-mode):
9377 (frame-default-terminal-background): New function.
9379 * custom.el (custom-push-theme): Don't record faces in `changed'
9380 theme; this doesn't work correctly for per-frame face settings.
9381 (disable-theme): Use face-set-after-frame-default to reset faces.
9382 (custom--frame-color-default): New function.
9384 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9386 * dired.el (dired-flagging-regexp): Remove unused variable
9389 2011-03-29 Kevin Ryde <user42@zip.com.au>
9391 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9392 `perl-Test2' extend to match possible "fail #N" rep count
9395 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9397 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9398 `smtpmail-via-smtp' now returns the error instead of nil.
9400 * isearch.el (isearch-search-fun-function): Clarify the doc string
9403 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9405 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9406 unnecessary spaces (bug#8987).
9408 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9410 * net/network-stream.el (open-network-stream): Use the
9411 :end-of-capability command thoughout.
9413 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9415 * net/network-stream.el (open-network-stream): Add the
9416 :end-of-capability command parameter, used by pop3.el.
9418 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9420 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9422 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9423 for list)" (bug#6475).
9425 * files.el (file-expand-wildcards): Ignore non-readable
9426 sub-directories while trying to find matches instead of signaling
9427 an error (bug#6297).
9429 * man.el (Man-reference-regexp): Allow matching possible
9430 word-wrapped references (bug#6289).
9432 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9433 for consistency with the other vc buffers (bug#6197).
9434 (vc-checkin): Ditto.
9436 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9438 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9440 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9442 * custom.el (defcustom): Clarify that :set is only used in the
9443 Customize user interface (bug#6089).
9445 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9446 associated with a file, refuse to run instead of erroring out
9449 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9450 the doc string, since it appears that using `fill-column' always
9451 controls the width (bug#7845).
9453 * simple.el (shell-command-on-region): Say where the error output
9454 went if `shell-command-default-error-buffer' is set (bug#6857).
9456 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9458 * allout.el (allout-yank-processing): Adjust cursor position for
9459 backwards-deleted space.
9461 (allout-rebullet-heading): Register changes with
9462 allout-exposure-changed-hook, so the modified topic is properly
9465 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9467 * minibuffer.el (completion-in-region): Document PREDICATE
9470 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9471 of keyword/argument pairs (bug#6904).
9473 * replace.el (multi-occur):
9474 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9476 2011-07-02 Drew Adams <drew.adams@oracle.com>
9478 * dired.el (dired-mark-if): Make the message about whether it's
9479 marking or unmarking clearer (bug#8523).
9481 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9483 * disp-table.el (display-table-print-array): New function.
9484 (describe-display-table): Use it to print the vectors more pretty
9487 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9489 * window.el (window-state-get-1): Don't assign clone numbers.
9490 Add clone-of item to list of window parameters.
9491 (window-state-put-2): Don't process clone numbers.
9492 (display-buffer-alist): Fix doc-string.
9494 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9496 * subr.el (remq): Don't allocate if it's not needed.
9497 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9498 (keymap--merge-bindings): New functions.
9499 (keymap-canonicalize): Use them to refine the canonicalization.
9500 * minibuffer.el (minibuffer-local-completion-map)
9501 (minibuffer-local-must-match-map): Move initialization from C.
9502 (minibuffer-local-filename-completion-map): Move initialization from C;
9503 don't inherit from anything here.
9504 (minibuffer-local-filename-must-match-map): Make obsolete.
9505 (completing-read-default): Use make-composed-keymap to combine
9506 minibuffer-local-filename-completion-map with either
9507 minibuffer-local-must-match-map or
9508 minibuffer-local-filename-completion-map.
9510 2011-07-01 Glenn Morris <rgm@gnu.org>
9512 * type-break.el (type-break-time-sum): Use dolist.
9514 * textmodes/flyspell.el (flyspell-word-search-backward):
9515 Replace CL function.
9517 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9519 * mouse.el (mouse--strip-first-event): New function.
9520 (function-key-map): Use it to map fringe clicks to normal clicks
9523 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9524 (vc-bzr-revision-completion-table): Add support for annotate and date.
9526 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9527 inherit from parent.
9529 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9531 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9532 (dired-show-file-type): Doc fixup (bug#8818).
9534 * dired.el (dired-mode): Fix up the doc string as suggested by
9535 Drew Adams (bug#8817).
9537 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9538 cookie, since the manual says that it should be possible to add
9539 this function to `find-file-hook' (bug#8709).
9541 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9543 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9544 here. Noted Ted Zlatanov as the maintainer.
9545 (cfengine-common-settings, cfengine-common-syntax): New functions
9546 to set up common things between `cfengine-mode' and
9548 (cfengine3-mode): New mode.
9549 (cfengine3-defuns cfengine3-defuns-regex
9550 (cfengine3-class-selector-regex cfengine3-category-regex)
9551 (cfengine3-vartypes cfengine3-font-lock-keywords)
9552 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9553 (cfengine3-indent-line): Add from cfengine3.el.
9555 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9557 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9559 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9561 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9563 * window.el (same-window-buffer-names, same-window-regexps)
9564 (same-window-p, special-display-frame-alist)
9565 (special-display-popup-frame, special-display-function)
9566 (special-display-buffer-names, special-display-regexps)
9567 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9568 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9569 (split-window-preferred-function, split-height-threshold)
9570 (split-width-threshold, even-window-heights)
9571 (display-buffer-mark-dedicated, window-splittable-p)
9572 (split-window-sensibly, window-safely-shrinkable-p):
9574 (display-buffer): Don't spread args with function specifier
9575 because special-display-popup-frame won't like it.
9577 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9579 Time-stamp simplifications and fixes.
9580 These improve accuracy slightly, and future-proof the code
9581 against some potential changes to current-time format.
9583 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9584 by using time-since and float-time.
9586 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9587 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9588 + NNN microseconds".
9590 * type-break.el (type-break-time-sum): Rewrite using time-add.
9592 * play/hanoi.el (hanoi-current-time-float): Remove.
9593 All uses replaced by float-time.
9595 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9596 This yields a more-accurate answer.
9597 (rng-time-to-float): Remove; no longer needed.
9599 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9601 * calendar/timeclock.el (timeclock-seconds-to-time):
9602 Defalias to seconds-to-time, since they're the same thing.
9604 * emacs-lisp/elp.el (elp-elapsed-time):
9605 * emacs-lisp/benchmark.el (benchmark-elapse):
9606 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9608 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9610 * window.el (bury-buffer): Don't iconify the only frame.
9611 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9612 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9614 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9616 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9617 Add mouse-yank-primary.
9619 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9621 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9623 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9625 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9626 (find-library-name): Use it to find relative load names when provided
9627 absolute file name (bug#8803).
9629 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9631 * textmodes/flyspell.el (flyspell-word): Consider words that
9632 differ only in case as potential doublons (bug#5687).
9634 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9635 Remove two rather uninteresting debugging-like messages to make
9636 debbugs.el more silent.
9638 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9639 a password-like phrase.
9641 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9643 * progmodes/cc-guess.el: New file.
9645 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9647 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9648 derived from `c-basic-common-init'.
9650 * progmodes/cc-mode.el (top-level): Require cc-guess.
9651 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9653 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9655 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9657 2011-06-30 Alan Mackenzie <acm@muc.de>
9659 * progmodes/cc-engine.el (c-guess-continued-construct):
9660 Correct the handling of template-args-cont, particularly for when font
9661 lock is disabled. Name this case as "CASE G".
9663 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9665 * allout.el (allout-yank-processing): Fix injection of extra space
9666 between bullet and non-whitespace character in first topic when
9667 pasting, ensuring that the actual spacing in the pasted topic
9668 following the bullet char is preserved. This extra space was
9669 causing pasted encrypted topics to get a decrypted status even
9670 when the content was actually still encrypted. Now the decryption
9671 status from before the paste is preserved.
9673 (allout-flag-region): Set all allout overlays so they evaporate
9674 when reduced to zero length (evanescent), to prevent overlay
9677 2011-06-30 Glenn Morris <rgm@gnu.org>
9679 * w32-fns.el (w32-charset-info-alist): Declare.
9681 * find-dired.el (find-grep-options): Simplify.
9683 * term/ns-win.el (ns-set-resource): Declare.
9685 * ses.el (row, col): Declare dynamic variables honestly.
9687 * textmodes/reftex-parse.el (index-tags): Declare.
9689 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9691 * cus-edit.el (customize-push-and-save): New function.
9693 * files.el (hack-local-variables-confirm): Use it.
9695 * custom.el (load-theme): New arg NO-CONFIRM.
9696 Use customize-push-and-save (Bug#8720).
9697 (custom-enabled-themes): Doc fix.
9699 * cus-theme.el (customize-create-theme)
9700 (custom-theme-merge-theme): Callers to load-theme changed.
9702 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9704 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9705 short URLs have at least one dot in them (bug #7614).
9707 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9708 nil, because using a pty is apparently too slow (bug #895).
9710 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9712 * mail/sendmail.el (sendmail-query-once): New function.
9713 (sendmail-query-once-function): New variable.
9715 2011-06-29 Glenn Morris <rgm@gnu.org>
9717 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9719 * ses.el (top-level): Require cl when compiling.
9720 (ses-set-localvars): Fix error statement.
9721 Call it at compile time to silence a storm of warnings.
9723 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9725 * window.el (normalize-live-buffer): Rename to
9726 window-normalize-buffer.
9727 (normalize-live-frame): Rename to window-normalize-frame.
9728 (normalize-any-window): Rename to window-normalize-any-window.
9729 (normalize-live-window): Rename to window-normalize-live-window.
9730 (make-window-atom): Rename to window-make-atom.
9731 (window-resize-reset): Rename to window--resize-reset.
9732 (window-resize-reset-1): Rename to window--resize-reset-1.
9733 (resize-mini-window): Rename to window--resize-mini-window.
9734 (resize-subwindows-skip-p): Rename to
9735 window--resize-subwindows-skip-p.
9736 (resize-subwindows-normal): Rename to
9737 window--resize-subwindows-normal.
9738 (resize-subwindows): Rename to window--resize-subwindows.
9739 (resize-other-windows): Rename to window--resize-siblings.
9740 (resize-this-window): Rename to window--resize-this-window.
9741 (resize-root-window): Rename to window--resize-root-window.
9742 (resize-root-window-vertically): Rename to
9743 window--resize-root-window-vertically.
9744 (normalize-buffer-to-display): Rename to
9745 window-normalize-buffer-to-display.
9746 (normalize-buffer-to-switch-to): Rename to
9747 window-normalize-buffer-to-switch-to.
9748 Correspondingly update all callers of the functions listed
9750 (display-buffer-alist, display-buffer-normalize-arguments)
9751 (display-buffer-normalize-options, display-buffer)
9752 (display-buffer-alist-set): Use "function" instead of
9755 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9757 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9758 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9759 debbugs.gnu.org. Mention acknowledgment email.
9761 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9763 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9764 buffer multibyteness, since it shouldn't matter.
9766 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9768 * window.el (display-buffer-in-side-window): Handle dedicated
9769 windows as in display-buffer-reuse-window.
9770 (display-buffer-normalize-alist): Use value of override
9772 (display-buffer-normalize-specifiers): Use value of
9773 other-window-means-other-frame specifier.
9774 (display-buffer-alist): Rewrite some texts in widgets.
9775 (display-buffer): Spread arguments when calling function
9776 specified by fun-with-args.
9778 2011-06-28 Deniz Dogan <deniz@dogan.se>
9780 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9783 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9784 selectors (Bug#5732).
9785 (css-proprietary-nmstart-re): Use `regexp-opt'.
9787 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9789 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9790 (eshell-ls-date-format): New defcustom.
9791 (eshell-ls-file): Use it.
9793 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9795 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9797 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9799 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9800 (ange-ftp-make-tmp-name): New arg.
9801 (ange-ftp-file-local-copy): Use it.
9803 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9805 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9806 no-conversion (Bug#8870).
9808 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9810 * window.el (window-right, window-left, window-child)
9811 (window-child-count, window-last-child)
9812 (window-iso-combination-p, walk-window-tree-1)
9813 (window-atom-check-1, window-tree-1, delete-window)
9814 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9815 new naming conventions - window-vchild, window-hchild,
9816 window-next and window-prev are now called window-top-child,
9817 window-left-child, window-next-sibling and window-prev-sibling
9819 (resize-window-reset): Rename to window-resize-reset.
9820 (resize-window-reset-1): Rename to window-resize-reset-1.
9821 (resize-window): Rename to window-resize.
9822 (window-min-height, window-min-width)
9823 (resize-mini-window, resize-this-window, resize-root-window)
9824 (resize-root-window-vertically, adjust-window-trailing-edge)
9825 (enlarge-window, shrink-window, maximize-window)
9826 (minimize-window, delete-window, quit-restore-window)
9827 (split-window, balance-windows, balance-windows-area-adjust)
9828 (balance-windows-area, window-state-put-2)
9829 (display-buffer-even-window-sizes, display-buffer-set-height)
9830 (display-buffer-set-width, set-window-text-height)
9831 (fit-window-to-buffer): Rename all "resize-window" prefixed
9832 calls to use the "window-resize" prefix convention.
9833 (display-buffer-alist): Fix symbol for label specifier.
9834 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9835 corresponding specifier.
9836 Reported by Juanma Barranquero <lekktu@gmail.com>.
9838 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9840 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9842 (ses-call-printer): Does not pass an empty string to formatter when the
9843 cell is empty to keep from barking printer Calc math-format-value.
9845 2011-06-27 Richard Stallman <rms@gnu.org>
9847 * battery.el (battery-mode-line-limit): New variable.
9848 (battery-update): Handle it.
9850 * mail/rmailmm.el (rmail-mime-process-multipart):
9851 Handle truncated messages.
9853 2011-06-27 Glenn Morris <rgm@gnu.org>
9855 * progmodes/flymake.el (flymake-err-line-patterns):
9856 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9858 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9860 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9861 (ses--clean-!, ses--clean-_): New functions.
9862 (ses-range): Add configurability of readout order, and conversion
9865 * ses.el (ses-repair-cell-reference-all): New function.
9866 (ses-cell-symbol): Set macro as safe, so that it can be used in
9869 * ses.el: Update cycle detection algorithm.
9870 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9871 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9872 (ses-set-localvars): New function.
9873 (ses-make-cell): Add property-list as a cell element.
9874 (ses-cell-property-get-fun, ses-cell-property-get)
9875 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9876 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9878 (ses-cell-property-set, ses-cell-property-pop)
9879 (ses-cell-property-get-handle): New macro.
9880 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9881 New aliases, used for code readability.
9882 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9884 (ses-self-reference-early-detection): New defcustom.
9885 (ses-formula-references): Robustify against self-referring cells.
9886 (ses-mode): Use ses-set-localvars.
9887 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9888 before lauching the update processing.
9889 (ses-initialize-Dijkstra-attempt): New function.
9890 (ses-recalculate-cell): Update for cycle detection based on
9893 * ses.el: Fix commenting and indenting convention.
9895 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9897 * bs.el (bs-cycle-next): Complete last change.
9899 2011-06-27 Drew Adams <drew.adams@oracle.com>
9901 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9903 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9905 * net/network-stream.el (network-stream-open-starttls):
9906 Don't re-get capabilities unless we've reestablished connection.
9907 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9909 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9910 to binary to possibly avoid line encoding issues on Windows (among
9913 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9915 * net/network-stream.el (open-network-stream): Return an :error
9916 saying what the problem was, if possible.
9918 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9921 * net/network-stream.el (network-stream-open-starttls): If we
9922 wanted to use STARTTLS, and the server offered it, but we weren't
9923 able to because we had no STARTTLS support, then close the connection.
9924 (open-network-stream): Return an :error element, if present.
9926 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9928 * hl-line.el (hl-line-sticky-flag): Doc fix.
9929 (global-hl-line-sticky-flag): New option (Bug#8323).
9930 (global-hl-line-highlight): Obey it.
9932 * vc/vc.el (vc-revert-show-diff): Default to t.
9934 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9936 * allout-widgets.el (allout-widgets-post-command-business):
9937 Stop decorating intermediate isearch matches. They're not being
9938 undecorated when an isearch is continued past, and isearch
9939 automatically collapses them. This leads to "widget leaks", where
9940 decorated items accumulate in collapsed areas. Lines with lots of
9941 hidden widgets can slow down cursor travel, substantially.
9942 Too much complicated machinery would be needed to ensure undecoration,
9943 so we're doing without this nicety.
9945 (allout-widgets-tally-string): Don't try to do a hash-table-count
9946 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9947 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9948 *Messages* when allout-widgets-maintain-tally is t.
9950 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9952 * window.el (display-buffer-normalize-argument): Rename to
9953 display-buffer-normalize-arguments. Handle special meaning of
9954 LABEL argument. Respect special-display-function when popping up
9955 a new frame. Fix code searching for a window showing the buffer
9957 (display-buffer-normalize-specifiers):
9958 Call display-buffer-normalize-arguments.
9959 (display-buffer-in-window): Don't undedicate the window if its
9960 buffer remains the same.
9961 Reported by Drew Adams <drew.adams@oracle.com>.
9962 (display-buffer-alist): Add choice for same-window macro
9964 (display-buffer): Mention special meaning of LABEL argument in
9965 doc-string. Fix quoting. Don't pop up a new frame even as
9968 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9970 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9971 avoid deleting the current window in some cases (bug#8911).
9973 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9975 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9978 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9980 * net/network-stream.el (network-stream-open-starttls):
9981 Use built-in TLS support if `gnutls-available-p' is true.
9982 (network-stream-open-tls): Ditto.
9984 2011-06-26 Leo Liu <sdl.web@gmail.com>
9986 * register.el (registerv): New struct.
9987 (registerv-make): New function.
9988 (jump-to-register, describe-register-1, insert-register):
9989 Support the jump-func, print-func and insert-func slot of a registerv
9992 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9994 * vc/vc.el (vc-revert-show-diff): New defcustom.
9995 (vc-diff-internal): New arg specifying diff buffer.
9996 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9997 reuse an existing *vc-diff* buffer (Bug#8927).
9999 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10001 2011-06-26 Glenn Morris <rgm@gnu.org>
10003 * progmodes/f90.el (f90-critical-indent): New option.
10004 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10005 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10006 (f90-mode): Doc fix.
10007 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10008 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10009 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10010 (f90-match-end): Handle block, critical.
10012 2011-06-25 Glenn Morris <rgm@gnu.org>
10014 * calendar/diary-lib.el (diary-included-files): Doc fix.
10015 (diary-include-files): New function, extracted from
10016 diary-include-other-diary-files and diary-mark-included-diary-files.
10017 (diary-include-other-diary-files, diary-mark-included-diary-files):
10018 Just call diary-include-files.
10019 (diary-mark-entries): Reset diary-included-files on first call.
10021 * calendar/diary-lib.el (diary-mark-entries)
10022 (diary-mark-included-diary-files):
10023 Visit included diary-files in temp buffers.
10025 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10026 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10027 (f90-start-block-re, f90-imenu-generic-expression)
10028 (f90-looking-at-program-block-start, f90-no-block-limit):
10029 Add support for submodules.
10031 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10032 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10034 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10036 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10037 buffer-file-type before setting its value, to avoid disastrous
10038 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10040 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10042 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10044 * ses.el (ses-unload-function):
10045 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10047 * proced.el (proced-unload-function):
10048 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10050 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10052 * server.el (server-create-window-system-frame): Add parameters arg.
10053 (server-process-filter): Doc fix. Handle frame-parameters.
10055 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10057 Fix bug#8730, bug#8781.
10059 * loadhist.el (unload--set-major-mode): New function.
10060 (unload-feature): Use it.
10062 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10063 (python-unload-function): New function.
10065 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10067 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10069 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10071 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10072 the candidates list.
10074 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10076 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10078 2011-06-23 Richard Stallman <rms@gnu.org>
10080 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10081 (rmail-variables): Set next-error-move-function.
10082 (rmail-what-message): Take argument POS.
10083 (rmail-next-error-move): New function.
10085 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10087 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10088 messages for adjacent non-terminals.
10090 2011-06-23 Richard Stallman <rms@gnu.org>
10092 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10093 (rmail-show-message-1): Preserve buffer modified flag.
10094 (rmail-start-mail): Don't specify use of rmail-mail-return;
10095 that's done by mail-bury now.
10096 (rmail-mail-return): Handle arg NEWBUF.
10098 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10100 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10103 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10105 * window.el (get-lru-window, get-mru-window)
10106 (get-largest-window): Never return a minibuffer window.
10107 (display-buffer-pop-up-window): Fix a bug that could lead to
10108 reusing the minibuffer window.
10109 (display-buffer): Pass original specifier argument to
10110 display-buffer-function instead of the normalized one.
10111 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10113 2011-06-22 Leo Liu <sdl.web@gmail.com>
10115 * minibuffer.el (completing-read-function)
10116 (completing-read-default): Move from minibuf.c
10118 2011-06-22 Richard Stallman <rms@gnu.org>
10120 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10121 to Rmail even if not started by a special Rmail command.
10123 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10124 Copy the buffer currently showing just one message.
10126 2011-06-22 Roland Winkler <winkler@gnu.org>
10128 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10129 (bibtex-clean-entry): First delete the old key so that a
10130 customized algorithm for generating the new key does not get
10131 confused by the old key.
10132 (bibtex-url): Obey regexp of first step.
10133 (bibtex-search-entries): Do not use add-to-list with local
10136 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10138 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10139 stored a user name, then query for the password first, instead of
10140 waiting for SMTP to give an error message and the trying again.
10142 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10144 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10145 BUFFER in call-process.
10147 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10149 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10151 (smtpmail-try-auth-methods): Require user name and password from
10154 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10156 * window.el (display-buffer-default-specifiers)
10157 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10158 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10159 (split-window): Normalize SIDE argument (Bug#8916).
10161 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10162 (special-display-frame-alist, special-display-popup-frame):
10163 Remove duplicate declarations. These are now in window.el.
10165 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10167 * mail/smtpmail.el (smtpmail-via-smtp):
10168 Set :use-starttls-if-possible so that we always use STARTTLS if the
10169 server supports it. SMTP servers that support STARTTLS commonly
10172 * net/network-stream.el (network-stream-open-starttls): Support
10173 upgrading to STARTTLS always, even if we don't have built-in support.
10174 (open-network-stream): Add the :always-query-capabilities keyword.
10176 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10177 upgrades with `open-network-stream', and rely solely on
10178 auth-source for all credentials. Big changes throughout the file,
10180 (smtpmail-auth-credentials): Remove.
10181 (smtpmail-starttls-credentials): Remove.
10182 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10185 * net/network-stream.el (network-stream-open-starttls):
10186 Provide support for client certificates both for external and built-in
10188 (auth-source): Require.
10189 (open-network-stream): Document the :client-certificate keyword.
10190 (network-stream-certificate): Change cert-cert to cert and
10193 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10195 * net/tramp-cache.el (top): Don't load the persistency file when
10196 "emacs -Q" has been called.
10198 2011-06-21 Tim Harper <timcharper@gmail.com>
10200 * term/ns-win.el (ns-initialize-window-system):
10201 Set application-specific `ApplePressAndHoldEnabled' system
10202 resource to NO as it is not yet supported by the NS port.
10204 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10206 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10207 (list-dynamic-libraries): ...not here.
10209 2011-06-21 Leo Liu <sdl.web@gmail.com>
10211 * subr.el (sha1): Implement sha1 using secure-hash.
10213 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10215 * window.el (display-buffer-alist): In default value do not
10216 enforce searching a window on any but the selected frame.
10217 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10218 (display-buffer-select-window): Remove function.
10219 (display-buffer-in-window): When a window on another frame gets
10220 reused, do not select it any more but just raise its frame if
10221 necessary (Bug#8851) and (Bug#8856).
10222 (display-buffer-normalize-options): Handle pop-up-frames related
10223 options more faithfully.
10224 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10225 window if it is on another frame.
10226 (display-buffer-alist, display-buffer-default-specifiers):
10227 Don't make new frame unsplittable by default.
10228 (display-buffer-normalize-argument): Fix doc-string typo and use
10229 'same-frame-other-window instead of 'other-window when associating
10230 with display-buffer-macro-specifiers.
10232 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10234 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10236 (5x5-mode-map, 5x5-mode-menu): Bind them.
10237 (5x5-draw-grid): Tweak the solver's rendering.
10239 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10241 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10242 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10244 2011-06-21 Drew Adams <drew.adams@oracle.com>
10246 * menu-bar.el: Use function variable instead of switch-to-buffer.
10247 (menu-bar-select-buffer-function): New variable.
10248 (menu-bar-update-buffers): Use it (bug#8876).
10250 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10252 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10255 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10257 * x-dnd.el (x-dnd-version-from-flags)
10258 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10259 and long as number (Bug#8899).
10260 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10262 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10265 (completion-try-completion, completion-all-completions): Compute the
10266 metadata argument if it's missing; make it optional (bug#8795).
10268 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10269 (widget-complete): Use new :completion-function property.
10270 (widget-completions-at-point): New function.
10271 (default): Use :completion-function instead of :complete.
10272 (widget-default-completions): Rename from widget-default-complete;
10274 (widget-string-complete, widget-file-complete, widget-color-complete):
10276 (file, symbol, function, variable, coding-system, color):
10277 * international/mule-cmds.el (default-input-method, charset)
10278 (language-info-custom-alist):
10279 * cus-edit.el (face): Use new property :completions.
10281 * progmodes/pascal.el (pascal-completions-at-point): New function.
10282 (pascal-mode): Use it.
10283 (pascal-mode-map): Use completion-at-point.
10284 (pascal-toggle-completions): Make obsolete.
10285 (pascal-complete-word, pascal-show-completions):
10286 * progmodes/octave-mod.el (octave-complete-symbol):
10287 Redefine as obsolete alias.
10288 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10289 Signal absence of completion info for old Octave,
10290 (inferior-octave-complete): Redefine as obsolete alias.
10291 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10292 (meta-completions-at-point): Rename from meta-complete-symbol and
10293 adapt it for use on completion-at-point-functions.
10294 (meta-common-mode): Use it.
10295 (meta-looking-at-backward, meta-match-buffer): Remove.
10296 (meta-complete-symbol): Redefine as obsolete alias.
10297 (meta-common-mode-map): Use completion-at-point.
10298 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10299 (makefile-mode-map): Use completion-at-point.
10300 (makefile-completions-at-point): Rename from makefile-complete and
10301 adapt it for use on completion-at-point-functions.
10302 (makefile-mode): Use it.
10303 (makefile-complete): Redefine as obsolete alias.
10305 2011-06-20 Deniz Dogan <deniz@dogan.se>
10307 * net/rcirc.el: Delete trailing whitespaces once and for all.
10309 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10311 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10313 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10315 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10317 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10319 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10321 * window.el (display-buffer-other-window-means-other-frame):
10322 Call display-buffer-normalize-alist.
10323 (display-buffer-normalize-specifiers-1): Rename to
10324 display-buffer-normalize-argument. New argument other-frame.
10326 (display-buffer-normalize-specifiers-2): Rename to
10327 display-buffer-normalize-options.
10328 (display-buffer-normalize-alist-1): New function.
10329 (display-buffer-normalize-specifiers-3): Rename to
10330 display-buffer-normalize-alist.
10331 Call display-buffer-normalize-alist-1.
10332 (display-buffer-normalize-options-inhibit): New variable.
10333 (display-buffer-normalize-specifiers): Rewrite calling
10334 display-buffer-normalize-alist,
10335 display-buffer-normalize-argument, and
10336 display-buffer-normalize-options. Don't call the latter if
10337 display-buffer-normalize-options-inhibit is non-nil.
10338 (frame-auto-delete): New option.
10339 (window-deletable-p): Use frame-auto-delete.
10340 (window-list-no-nils, window-state-ignored-parameters)
10341 (window-state-get-1, window-state-get, window-state-put-list)
10342 (window-state-put-1, window-state-put-2, window-state-put):
10344 (display-buffer-normalize-options): Move special-display-p group
10345 after pop-up-frame group (Bug#8851) and (Bug#8856).
10347 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10349 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10351 (rx-submatch-n): New function.
10354 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10357 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10359 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10361 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10362 anytime existing face settings are present (Bug#8889).
10364 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10365 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10366 Remove unused argument.
10368 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10370 * window.el (display-buffer-default-specifiers):
10371 Remove pop-up-frame. Add pop-up-window-min-height,
10372 pop-up-window-min-width, and another reuse-window specifier
10373 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10374 (display-buffer-normalize-specifiers-2):
10375 Handle split-height-threshold and split-width-threshold also when
10376 pop-up-windows is unset. Add a reuse-window specifier for the
10377 case popping up a new window fails.
10378 (special-display-popup-frame): Remove double quoting.
10379 (display-buffer-normalize-specifiers-1): Fix thinko.
10381 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10383 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10384 according to comint-completion-addsuffix.
10386 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10387 (pcomplete-suffix-list): Mark as obsolete.
10388 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10389 pcomplete-seen in the closure.
10390 (pcomplete-comint-setup): Setup completion-at-point as well.
10391 (pcomplete--entries): New function.
10392 (pcomplete--env-regexp): New var.
10393 (pcomplete-entries): Rewrite to work with partial-completion and
10394 without relying on pcomplete-suffix-list.
10395 (pcomplete-pare-list): Remove, unused.
10397 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10399 * window.el (display-buffer-alist): Set pop-up-window-min-height
10400 and pop-up-window-min-width in default value. Reported by
10401 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10402 other-window-means-other-frame.
10403 (display-buffer-macro-specifiers): Comment out entry for
10404 other-window specifier.
10405 (display-buffer-other-window-means-other-frame): New function.
10406 (display-buffer-normalize-specifiers-1): New arguments
10407 buffer-name and label. Treat other-window case specially.
10408 (display-buffer-normalize-specifiers-2): Treat other-window case
10410 (display-buffer-normalize-specifiers-3): New function.
10411 (display-buffer-normalize-specifiers):
10412 Call display-buffer-normalize-specifiers-3.
10414 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10416 * window.el (same-window-p): Fix two typos introduced when
10417 adding with-no-warnings.
10418 (display-buffer-normalize-specifiers-1): Don't check
10419 pop-up-frames for 'unset initialization.
10420 (display-buffer-normalize-specifiers-2): Major rewrite using
10421 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10422 (pop-up-frames, display-buffer-reuse-frames)
10423 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10424 Suggested by David Engster <deng@randomsample.de>.
10425 (even-window-heights): Initialize to 'unset.
10426 (display-buffer-alist-set): Handle new 'unset initializations.
10427 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10430 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10432 * window.el (display-buffer-normalize-specifiers-1):
10433 Respect current value of pop-up-frames for most reasonable values of
10434 second argument of display-buffer (Bug#8865).
10435 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10436 (switch-to-buffer-other-window-same-frame)
10437 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10439 (display-buffer): Don't check noninteractive when calling
10440 display-buffer-pop-up-frame.
10441 (display-buffer-pop-up-frame): Never pop up a frame in
10442 noninteractive mode (Bug#8857).
10443 (enlarge-window, shrink-window): Don't report an error when the
10444 window can't be resized as requested (Bug#8862).
10446 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10448 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10450 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10452 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10454 2011-06-15 Alan Mackenzie <acm@muc.de>
10456 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10457 for declarators, disable knr checking to speed up for normal files.
10458 2: Refactor, replacing a sequence of nested if forms by a cond form.
10460 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10462 * net/network-stream.el (open-network-stream): Add the keyword
10463 :always-query-capabilities for the case where you want to force a
10464 `plain' network connection, but the protocol still requires the
10465 capabilitiy command (i.e., SMTP and EHLO).
10467 * subr.el (process-live-p): Rename from `process-alive-p' for
10468 consistency with other `-live-p' functions.
10470 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10472 * window.el (same-window-buffer-names, same-window-regexps)
10473 (special-display-frame-alist, special-display-popup-frame)
10474 (special-display-function, special-display-buffer-names)
10475 (special-display-regexps, pop-up-frame-alist)
10476 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10477 (pop-up-windows, split-window-preferred-function)
10478 (split-height-threshold, split-width-threshold, even-window-heights)
10479 (display-buffer-mark-dedicated): Don't encourage the use of
10480 display-buffer-alist from Elisp code.
10482 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10484 * progmodes/python.el (python-mode): Derive from prog-mode.
10485 * progmodes/ps-mode.el (ps-mode):
10486 * progmodes/mixal-mode.el (mixal-mode):
10487 * progmodes/cfengine.el (cfengine-mode):
10488 * progmodes/ld-script.el (ld-script-mode): Likewise.
10490 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10492 * window.el (display-buffer-alist): Trim default value to avoid
10493 popping up a new frame (Bug#8857) or reusing an arbitrary window
10495 (display-buffer): Do not fall back on popping up a new frame in
10496 batch mode (Bug#8857).
10498 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10500 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10501 (custom-theme-summary): New function.
10502 (customize-themes): Use it.
10504 2011-06-13 Glenn Morris <rgm@gnu.org>
10506 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10508 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10510 * help.el (help-window): Remove variable.
10511 (help-window-point-marker, temp-buffer-max-height)
10512 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10513 (help-print-return-message): Don't set help-window.
10514 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10515 (help-window-setup-finish): Remove.
10516 (help-window-display-message, help-window-setup)
10517 (with-help-window): Major rewrite based on new
10518 display-buffer-window variable.
10520 * help-mode.el (help-mode-finish): Remove help-window related
10523 * view.el (view-exits-all-viewing-windows): Remove reference to
10524 view-return-to-alist in doc-string.
10525 (view-return-to-alist): Make obsolete.
10526 (view-buffer): Call pop-to-buffer-same-window and remove
10528 (view-buffer-other-window): Call pop-to-buffer-other-window and
10529 simplify code. Ignore second argument.
10530 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10531 simplify code. Ignore second argument.
10532 (view-return-to-alist-update): Make obsolete.
10533 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10534 Rewrite using quit-restore window parameters.
10535 (view-mode-exit): Rename second argument to EXIT-ONLY.
10536 Rewrite using quit-restore-window.
10537 (View-exit, View-exit-and-edit, View-leave, View-quit)
10538 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10539 appropriate arguments.
10540 (view-end-message): Use quit-restore window parameter.
10542 * window.el (display-buffer-function): Rewrite doc-string.
10543 (display-buffer-window, display-buffer-alist): New variables.
10544 (display-buffer-split-specifiers)
10545 (display-buffer-side-specifiers)
10546 (display-buffer-macro-specifiers): New constants.
10547 (display-buffer-even-window-sizes, display-buffer-set-height)
10548 (display-buffer-set-width, display-buffer-select-window)
10549 (display-buffer-in-window, display-buffer-reuse-window)
10550 (display-buffer-split-window-1, display-buffer-split-window)
10551 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10552 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10553 (display-buffer-in-side-window, normalize-buffer-to-display)
10554 (display-buffer-normalize-specifiers-1)
10555 (display-buffer-normalize-specifiers-2)
10556 (display-buffer-normalize-specifiers, display-buffer-frame):
10558 (display-buffer): Major rewrite.
10559 (display-buffer-other-window, display-buffer-other-frame)
10560 (pop-to-buffer, switch-to-buffer-other-window)
10561 (switch-to-buffer-other-frame): Rewrite.
10562 (display-buffer-same-window, display-buffer-same-frame)
10563 (display-buffer-same-frame-other-window)
10564 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10565 (pop-to-buffer-other-window)
10566 (pop-to-buffer-same-frame-other-window)
10567 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10568 (switch-to-buffer-other-window-same-frame): New functions.
10569 (same-window-p, special-display-p): Rewrite disabling warnings.
10571 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10572 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10574 (same-window-buffer-names, same-window-regexps)
10575 (special-display-frame-alist, special-display-popup-frame)
10576 (special-display-function, special-display-buffer-names)
10577 (special-display-regexps, pop-up-frame-alist)
10578 (pop-up-frame-function, split-window-preferred-function)
10579 (split-height-threshold, split-width-threshold)
10580 (even-window-heights): Make obsolete.
10582 2011-06-12 Glenn Morris <rgm@gnu.org>
10584 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10585 Misc simplifications.
10587 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10589 * window.el (window-safely-shrinkable-p): Restore function which
10590 was inadvertently removed in change from 2011-06-11. Declare as
10593 * calendar/calendar.el (calendar-generate-window):
10594 Use window-iso-combined-p instead of combination of one-window-p and
10595 window-safely-shrinkable-p.
10597 2011-06-12 Glenn Morris <rgm@gnu.org>
10599 * progmodes/fortran.el (fortran-mode-syntax-table):
10600 * progmodes/f90.el (f90-mode-syntax-table):
10601 Set % to punctuation. (Bug#8820)
10602 (f90-find-tag-default): Remove, no longer needed.
10604 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10606 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10608 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10610 * image.el (image-animated-p): Return animation delay in seconds.
10611 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10612 (image-animate-timeout): Remove DELAY argument. Don't assume
10613 every subimage has the same delay; get it from image-animated-p.
10614 (image-animate): Caller changed.
10616 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10618 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10619 to ignored backtrace functions.
10621 2011-06-11 Glenn Morris <rgm@gnu.org>
10623 * calendar/appt.el (appt-disp-window-function): Doc fix.
10624 (appt-check): Handle overlapping appointments. (Bug#8337)
10626 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10628 * window.el (window-tree-1, window-tree): New functions, moving
10629 the latter to window.el.
10630 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10631 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10632 (bw-refresh-edges): Remove.
10633 (balance-windows-1, balance-windows-2): New functions.
10634 (balance-windows): Rewrite in terms of window tree functions,
10635 balance-windows-1 and balance-windows-2.
10636 (bw-adjust-window): Remove.
10637 (balance-windows-area-adjust): New function with functionality of
10638 bw-adjust-window but using resize-window.
10639 (set-window-text-height): Rewrite doc-string.
10640 Use normalize-live-window and resize-window.
10641 (enlarge-window-horizontally, shrink-window-horizontally):
10642 Rename argument to DELTA.
10643 (window-buffer-height): New function.
10644 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10645 Rewrite using new window resize routines.
10646 (kill-buffer-and-window, mouse-autoselect-window-select):
10647 Use ignore-errors instead of condition-case.
10648 (quit-window): Call delete-frame instead of delete-windows-on
10649 for the only buffer on frame.
10651 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10653 * loadup.el (top-level): Load window before files for the sake
10654 of replace-buffer-in-windows.
10656 * files.el (read-buffer-to-switch)
10657 (switch-to-buffer-other-window)
10658 (switch-to-buffer-other-frame, display-buffer-other-frame):
10661 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10662 (previous-buffer): Move to window.el.
10664 * bindings.el (unbury-buffer): Move to window.el.
10666 * window.el (delete-other-windows-vertically): Move after
10667 definition of delete-other-windows.
10668 (other-window, delete-windows-on, replace-buffer-in-windows):
10669 Move here from window.c.
10670 (record-window-buffer, unrecord-window-buffer)
10671 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10672 (switch-to-next-buffer): New functions.
10673 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10674 from simple.el. Call switch-to-next-buffer.
10675 (previous-buffer): Move here from simple.el.
10676 Call switch-to-prev-buffer.
10677 (bury-buffer): Move here from buffer.c. Switch to previous
10678 buffer when window cannot be deleted.
10679 (unbury-buffer): Move here from bindings.el.
10680 (ctl-x-map): Move binding for other-window from window.c to
10682 (read-buffer-to-switch, switch-to-buffer-other-window)
10683 (switch-to-buffer-other-frame): Move here from files.el.
10684 (normalize-buffer-to-switch-to): New functions.
10685 (switch-to-buffer): Move here from buffer.c.
10686 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10688 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10690 * window.el (window-min-height, window-min-width): Move here
10691 from window.c. Add defcustoms and rewrite doc-strings.
10692 (resize-mini-window, resize-window): New functions.
10693 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10694 Move here from window.c.
10695 (maximize-window, minimize-window): New functions.
10696 (delete-window, delete-other-windows, split-window): Move here
10698 (window-split-min-size): New function.
10699 (split-window-keep-point): Mention split-window-above-each-other
10700 instead of split-window-vertically.
10701 (split-window-above-each-other, split-window-vertically):
10702 Rename split-window-vertically to split-window-above-each-other
10703 and provide defalias for old definition.
10704 (split-window-side-by-side, split-window-horizontally):
10705 Rename split-window-horizontally to split-window-side-by-side
10706 and provide defalias for the old definition.
10707 (ctl-x-map): Move bindings for delete-window,
10708 delete-other-windows and enlarge-window here from window.c.
10709 Replace bindings for split-window-vertically and
10710 split-window-horizontally by bindings for
10711 split-window-above-each-other and split-window-side-by-side.
10713 * cus-start.el (all): Remove entries for window-min-height and
10714 window-min-width. Add entries for window-splits and
10717 2011-06-09 Glenn Morris <rgm@gnu.org>
10719 * calendar/appt.el (appt-mode-line): New function.
10720 (appt-check, appt-disp-window): Use it.
10722 * files.el (hack-one-local-variable-eval-safep):
10723 Allow minor-modes with explicit +/-1 arguments.
10725 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10727 * term/xterm.el (xterm): Add defgroup.
10728 (xterm-extra-capabilities): Add defcustom to supply known xterm
10729 capabilities, skip querying them, or query them (default).
10730 (terminal-init-xterm): Use it.
10731 (terminal-init-xterm-modify-other-keys): New function to set up
10732 modifyOtherKeys support to simplify `terminal-init-xterm'.
10734 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10736 * window.el (resize-window-reset, resize-window-reset-1)
10737 (resize-subwindows-skip-p, resize-subwindows-normal)
10738 (resize-subwindows, resize-other-windows, resize-this-window)
10739 (resize-root-window, resize-root-window-vertically)
10740 (window-deletable-p, window-or-subwindow-p)
10741 (frame-root-window-p): New functions.
10743 2011-06-09 Glenn Morris <rgm@gnu.org>
10745 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10746 (ange-ftp-get-files): Use it.
10748 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10750 * mail/sendmail.el (mail-recover-1, mail-recover):
10751 * files.el (recover-file, recover-session):
10752 Handle dired-listing-switches not being just a single short option.
10754 2011-06-09 Glenn Morris <rgm@gnu.org>
10756 * calendar/appt.el (appt-display-message, appt-disp-window):
10757 Handle lists of appointments.
10759 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10761 * window.el (one-window-p): Move down in code.
10762 Rewrite doc-string.
10763 (window-current-scroll-bars): Rewrite doc-string.
10764 Normalize live window argument.
10765 (walk-windows, get-window-with-predicate, count-windows):
10766 Rewrite doc-string. Use window-list-1.
10767 (window-in-direction-2, window-in-direction, get-mru-window):
10770 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10772 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10773 Doc fix (Bug#8713).
10775 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10777 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10779 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10781 * loadhist.el (unload-feature-special-hooks):
10782 Add `comint-output-filter-functions'.
10784 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10786 * calendar/appt.el (appt-check): Move some initializations into the let.
10788 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10790 * window.el (window-height): Defalias to window-total-height.
10791 (window-width): Defalias to window-body-width.
10793 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10795 * image-mode.el (image-toggle-animation): New command.
10796 (image-mode-map): Bind it to RET.
10797 (image-mode): Update message.
10798 (image-toggle-display-image): Avoid a spurious cache flush.
10799 (image-transform-rotation): Doc fix.
10800 (image-transform-properties): Return quickly in the normal case.
10801 (image-animate-loop): Rename from image-animate-max-time.
10803 * image.el (image-animate-max-time): Move to image-mode.el.
10804 (create-animated-image): Remove unnecessary function.
10805 (image-animate): Rename from image-animate-start. New arg.
10806 (image-animate-stop): Remove; just use image-animate-timer.
10807 (image-animate-timer): Use car-safe.
10808 (image-animate-timeout): Rename argument.
10810 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10812 * window.el (get-lru-window, get-largest-window): Move here from
10813 window.c. Rename first argument to ALL-FRAMES.
10814 Rephrase doc-strings.
10815 (get-buffer-window-list): Rewrite using window-list-1.
10816 Rephrase doc-string.
10817 (window-safe-min-height, window-safe-min-width): New constants.
10818 (window-size-ignore, window-min-size, window-min-size-1)
10819 (window-sizable, window-sizable-p, window-size-fixed-1)
10820 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10821 (window-max-delta-1, window-max-delta, window-resizable)
10822 (window-resizable-p, window-total-height, window-total-width)
10823 (window-body-width): New functions.
10824 (window-full-height-p, window-full-width-p): Rewrite using
10826 (window-body-height): Rewrite using window-body-size.
10828 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10830 * window.el (window-right, window-left, window-child)
10831 (window-child-count, window-last-child, window-any-p)
10832 (normalize-live-buffer, normalize-live-frame)
10833 (normalize-any-window, normalize-live-window)
10834 (window-iso-combination-p, window-iso-combined-p)
10835 (window-iso-combinations)
10836 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10837 (windows-with-parameter, window-with-parameter)
10838 (window-atom-root, make-window-atom, window-atom-check-1)
10839 (window-atom-check, window-side-check, window-check):
10841 (ignore-window-parameters, window-sides, window-sides-vertical)
10842 (window-sides-slots): New variables.
10843 (window-size-fixed): Move down in code. Minor doc-string fix.
10845 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10847 * comint.el (comint-dynamic-complete-as-filename)
10848 (comint-dynamic-complete-filename): Correctly call
10849 completion-in-region.
10851 2011-06-05 Deniz Dogan <deniz@dogan.se>
10853 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10856 2011-06-05 Deniz Dogan <deniz@dogan.se>
10858 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10859 (rcirc): Use it to prompt for encryption.
10861 2011-06-05 Roland Winkler <winkler@gnu.org>
10863 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10864 (bibtex-search-entries): New command bound to C-c C-a.
10865 (bibtex-display-entries): New function.
10867 2011-06-05 Roland Winkler <winkler@gnu.org>
10869 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10870 (bibtex-insert-kill): After yanking insert newline if necessary.
10871 (bibtex-initialize): Call bibtex-string-files-init only once.
10872 (bibtex-mode): Do not call easy-menu-add.
10873 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10874 (bibtex-yank): Set arg properly if nil.
10876 2011-06-05 Roland Winkler <winkler@gnu.org>
10878 * textmodes/bibtex.el (bibtex-search-entry-globally):
10880 (bibtex-search-entry): Use it.
10882 2011-06-05 Roland Winkler <winkler@gnu.org>
10884 * textmodes/bibtex.el (bibtex-entry-format): New option
10886 (bibtex-format-entry, bibtex-reformat): Honor this option.
10887 (bibtex-parse-entry): Return fields in proper order.
10889 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10891 * doc-view.el (doc-view-remove-if): Move computation of result out
10892 of `dolist' to silence misleading lexical-binding warning.
10894 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10896 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10897 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10899 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10901 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10904 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10906 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10907 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10908 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10909 (tramp-parse-putty):
10910 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10911 (tramp-completion-function-alist-ssh)
10912 (tramp-completion-function-alist-telnet)
10913 (tramp-completion-function-alist-su)
10914 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10917 * net/tramp-ftp.el:
10919 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10920 load "tramp.el" `tramp-set-completion-function'.
10922 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10924 * shell.el: Require and use pcomplete.
10925 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10926 (shell-completion-vars): Set pcomplete-default-completion-function.
10928 2011-06-04 Deniz Dogan <deniz@dogan.se>
10930 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10933 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10935 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10937 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10939 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10940 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10941 * vc/log-view.el (log-view-beginning-of-defun):
10942 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10943 (smerge-refine-forward, smerge-refine-chopup-region):
10944 Silence warning for unused `dotimes' counter variables.
10946 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10948 * net/tramp.el (tramp-with-progress-reporter): Rename from
10949 with-progress-reporter. Use `declare'.
10950 * net/tramp-smb.el:
10952 * net/tramp-gvfs.el: Update all uses.
10954 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10956 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10957 buffer isn't killed before making it current.
10959 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10961 Silence various byte-compiler warnings.
10962 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10963 `access-type' and new obsolescence format.
10964 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10966 (byte-compile-check-variable): New `access-type' argument.
10967 Only warn if the access-type is obsolete.
10968 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10969 (byte-compile-variable-set): Adjust callers.
10970 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10971 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10972 setting it as obsolete.
10973 * simple.el (minibuffer-completing-symbol):
10974 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10975 access as obsolete.
10976 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10978 * international/quail.el (quail-mouse-choose-completion): Remove unused
10979 code referring to obsolete var.
10980 (quail-choose-completion-string): Remove.
10981 * server.el (server-clients-with, server-kill-buffer-query-function)
10982 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10983 * proced.el (proced-send-signal):
10984 * emacs-lisp/lisp.el (lisp-complete-symbol):
10985 Replace completion-annotate-function with completion-extra-properties.
10987 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10989 * simple.el (goto-line): Use read-number.
10990 (overriding-map-is-bound): Remove.
10991 (saved-overriding-map): Change default.
10992 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10993 Take the map as argument.
10994 (universal-argument, negative-argument, digit-argument): Use it.
10995 (restore-overriding-map): Adjust.
10996 (do-auto-fill): Use fill-forward-paragraph.
10997 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10999 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11000 (minibuffer-inactive-mode): New major mode.
11001 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11002 the *Messages* buffer" hack.
11003 (mouse-popup-menubar): Don't burp if the event is a normal key.
11005 Miscellaneous tweaks.
11006 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11007 lexical scoping as in subr.el's dolist and dotimes.
11008 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11009 Silence compiler warning.
11010 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11011 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11012 * international/ccl.el (ccl-compile): Trivial simplification.
11013 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11014 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11015 `printflag' argument.
11016 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11017 Purecopy the whole obsolescence data.
11019 2011-06-01 Leo Liu <sdl.web@gmail.com>
11021 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11022 improve doc-string as suggested by Marco Pessotto
11023 <melmothx@gmail.com>.
11024 (rcirc-print): Fix last change.
11026 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11028 * minibuffer.el (complete-with-action): Return nil for the metadata and
11029 boundaries of non-functional tables.
11030 (completion-table-dynamic): Return nil for the metadata.
11031 (completion-table-with-terminator): Add default case, using
11032 complete-with-action.
11033 (completion--metadata): New function.
11034 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11035 to try and avoid pathological performance problems.
11036 (completion--embedded-envvar-table): Return `category' metadata.
11038 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11040 * subr.el (process-alive-p): New tiny convenience function.
11042 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11044 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11045 content but also its previous major mode.
11047 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11049 * emacs-lisp/debug.el (debug): Restore the previous content of the
11050 *Backtrace* buffer when we exit with C-M-c.
11052 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11054 * minibuffer.el: Add metadata method to completion tables.
11055 (completion-category-overrides): New defcustom.
11056 (completion-metadata, completion--field-metadata)
11057 (completion-metadata-get, completion--styles)
11058 (completion--cycle-threshold): New functions.
11059 (completion-try-completion, completion-all-completions):
11060 Add `metadata' argument to choose completion-styles.
11061 (completion--do-completion): Use metadata to choose cycling.
11062 (completion-all-sorted-completions): Use metadata for sorting.
11063 Remove :completion-cycle-penalty which is not needed any more.
11064 (completion--try-word-completion): Add `metadata' argument.
11065 (minibuffer-completion-help): Check metadata for annotation function
11067 (completion-file-name-table): Return `category' metadata.
11068 (minibuffer-completing-file-name): Make obsolete.
11069 * simple.el (minibuffer-completing-symbol): Make obsolete.
11070 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11071 completion-try-completion.
11073 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11075 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11077 2011-05-30 Leo Liu <sdl.web@gmail.com>
11079 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11080 (rcirc-print): Decode all incoming messages (bug#8744).
11081 (rcirc-decode-coding-system): Allow value nil for automatic coding
11084 2011-06-01 Glenn Morris <rgm@gnu.org>
11086 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11088 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11090 * image.el (image-animate-max-time): Allow nil and t values.
11092 (create-animated-image): Doc fix.
11093 (image-animate-start): Remove second arg; just use
11094 image-animate-max-time.
11095 (image-animate-timeout): Doc fix. Args changed.
11097 * image-mode.el (image-toggle-display-image): Ensure that the
11098 image spec passed to the animate timer is the same object as in
11099 the buffer's display property (Bug#6981).
11100 (image-transform-properties): Doc fix.
11102 * image.el (image-animate-max-time): Default to nil.
11104 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11106 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11107 entire buffer list (Bug#8184).
11109 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11111 * image.el (imagemagick-types-inhibit)
11112 (imagemagick-register-types): Doc fix.
11114 2011-05-29 Deniz Dogan <deniz@dogan.se>
11116 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11119 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11121 * select.el: Don't perform clipboard-manager saving in hooks;
11122 leave the hooks empty.
11124 2011-05-28 Leo Liu <sdl.web@gmail.com>
11126 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11127 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11128 (occur-edit-mode): New major mode (Bug#8463).
11129 (occur-after-change-function): New function.
11130 (occur-engine): Give Occur tags a read-only property.
11132 2011-05-28 Kevin Ryde <user42@zip.com.au>
11134 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11136 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11138 * bindings.el (help-echo): Make the initial non-indicator dash
11139 empty on graphical terminals (Bug#7295).
11141 * files.el (auto-mode-alist): Move config rule after the
11142 in-stripping one (Bug#8547).
11144 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11146 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11147 setting (Bug#8740).
11149 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11151 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11152 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11155 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11157 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11159 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11161 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11162 (hs-hide-block-at-point, hs-find-block-beginning)
11163 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11166 2011-05-28 Glenn Morris <rgm@gnu.org>
11168 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11170 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11172 * help-fns.el (describe-function-1): If the function is a derived
11173 major mode, print the parent mode.
11175 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11176 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11178 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * minibuffer.el (completion--capf-wrapper): Check applicability before
11181 returning non-nil for non-exclusive completion data.
11182 * progmodes/etags.el (tags-completion-at-point-function):
11183 * info-look.el (info-lookup-completions-at-point): Mark as
11185 (info-complete): Adjust accordingly.
11187 * info-look.el: Convert to lexical-binding and completion-at-point.
11188 (info-lookup-completions-at-point): New function.
11189 (info-complete): Use it and completion-in-region.
11191 2011-05-28 Drew Adams <drew.adams@oracle.com>
11193 * isearch.el: Let M-e start with point at the first mismatched char.
11194 (isearch-fail-pos): New function.
11195 (isearch-edit-string): Use it.
11197 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11199 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11201 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11203 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11204 traversal functions for avl-trees.
11205 (avl-tree--stack): New struct.
11206 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11207 (avl-tree-enter): Add optional `updatefun' arg.
11208 (avl-tree--do-enter): Add optional `updatefun' arg.
11209 Change return value.
11210 (avl-tree-delete): Add optional `test' and `nilflag' args.
11211 (avl-tree--do-delete): Add `test' and `nilflag' args.
11212 Change return value.
11213 (avl-tree-member): Add optional `nilflag'
11214 (avl-tree-member-p): New function.
11215 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11216 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11217 (avl-tree-stack-empty-p): New functions.
11219 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11220 avl-tree--del-balance1 and make it work both ways.
11221 (avl-tree--del-balance2): Remove.
11222 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11223 make it work both ways.
11224 (avl-tree--enter-balance2): Remove.
11225 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11227 (avl-tree--mapc, avl-tree-map): Add direction argument.
11229 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11231 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11233 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11235 * select.el: Support clipboard managers with built-in function
11236 x-clipboard-manager-save, via delete-frame-functions and
11238 (xselect-convert-to-targets): Add MULTIPLE target to list.
11239 (xselect-convert-to-save-targets): New function.
11241 2011-05-27 Kenichi Handa <handa@m17n.org>
11243 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11244 let-binding rfc2047-encode-encoded-words to nil.
11246 2011-05-27 Glenn Morris <rgm@gnu.org>
11248 * mail/emacsbug.el: Don't require url-util.
11250 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11252 * files.el (set-auto-mode):
11253 Also respect mode: entries at the end of the file. (Bug#8586)
11255 2011-05-26 Glenn Morris <rgm@gnu.org>
11257 * files.el (hack-local-variables-prop-line, hack-local-variables):
11258 Downcase mode names, as seems to be traditional.
11259 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11261 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11262 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11264 2011-05-25 Julien Danjou <julien@danjou.info>
11266 * textmodes/rst.el (rst-define-level-faces): Do not define face
11267 symbol if it is already defined.
11269 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11271 * play/5x5.el (5x5-new-game, 5x5-randomize):
11272 Reset 5x5-solver-output to nil when a new grid is cast.
11273 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11274 these debugging traces, as defmacro breaks the compiled code.
11276 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11278 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11280 2011-05-24 Leo Liu <sdl.web@gmail.com>
11282 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11283 (vc-bzr-sha1): Adapt.
11285 * sha1.el: Remove. Function `sha1' is now builtin.
11287 * bindings.el: Provide sha1 feature.
11289 2011-05-24 Kenichi Handa <handa@m17n.org>
11291 * mail/sendmail.el: Require `rfc2047'.
11292 (mail-insert-from-field): Do not perform RFC2047 encoding.
11293 (mail-encode-header): New function.
11294 (sendmail-send-it): Set buffer-file-coding-system of the work
11295 buffer to the return value of select-message-coding-system.
11296 Call mail-encode-header.
11298 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11300 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11302 * mail/supercite.el (sc-default-cite-frame):
11303 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11305 2011-05-24 Glenn Morris <rgm@gnu.org>
11307 * progmodes/python.el (brm-menu): Declare.
11309 * emulation/viper.el (viper-set-hooks): Declare.
11311 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11312 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11313 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11314 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11315 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11316 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11318 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11320 Add an :exit-function for completion-at-point.
11322 * minibuffer.el (completion--done): New fun.
11323 (completion--do-completion): Use it. New arg `expect-exact'.
11324 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11325 since completion--do-completion does it for us now.
11326 (minibuffer-force-complete): Use completion--done and
11327 completion--replace. Handle sole-completion case with more care.
11328 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11329 (completion-extra-properties): New var.
11330 (completion-annotate-function): Make obsolete.
11331 (minibuffer-completion-help): Adjust accordingly.
11332 Use completion-list-insert-choice-function.
11333 (completion-at-point, completion-help-at-point):
11334 Bind completion-extra-properties.
11335 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11336 * simple.el (completion-list-insert-choice-function): New var.
11337 (completion-setup-function): Preserve it.
11338 (choose-completion): Pay attention to it, shuffle the code a bit.
11339 (choose-completion-string): New arg `insert-function'.
11341 * textmodes/bibtex.el: Convert to lexical binding.
11342 (bibtex-mode-map): Use completion-at-point.
11343 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11344 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11345 (bibtex-complete): Define as obsolete alias.
11346 (bibtex-complete-internal): Remove.
11347 (bibtex-format-entry): Remove unused sub-group in regexp.
11348 * shell.el (shell--command-completion-data)
11349 (shell-environment-variable-completion):
11350 * pcomplete.el (pcomplete-completions-at-point):
11351 * comint.el (comint--complete-file-name-data): Use :exit-function
11352 instead of completion-table-with-terminator so it also works for
11355 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11357 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11359 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11362 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11364 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11366 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11367 customization variable and implement: If non-nil, auto-fill will
11368 be inhibited while on topic's header line.
11370 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11372 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11373 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11374 always have a solution in grid size = 5 cases.
11375 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11376 (5x5-solver-output, 5x5-log-buffer): New vars.
11377 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11378 Make these variables buffer local to achieve 5x5 multi-session-ness.
11379 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11380 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11381 (5x5-solve-suggest): New funs.
11382 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11383 randomize a grid so that we ensure that there is always a solution.
11384 (5x5-make-random-grid): Allow other movement than flipping.
11386 2011-05-23 Kevin Ryde <user42@zip.com.au>
11388 * emacs-lisp/advice.el (ad-read-advised-function):
11389 Use `function-called-at-point' as the default, if it has
11390 advice and passes PREDICATE.
11392 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11394 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11395 byte-compile-lambda if it's actually a lambda.
11397 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11398 Fix function quoting. Use backquote better.
11400 2011-05-22 Yuanle Song <sylecn@gmail.com>
11402 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11403 matching (Bug#8516).
11405 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11407 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11408 different face (Bug#8178).
11410 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11412 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11413 defface (Bug#8144).
11415 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11417 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11418 funcall as well (bug#8712). Warn when performing those conversions.
11419 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11421 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11423 2011-05-22 Glenn Morris <rgm@gnu.org>
11425 * files.el (hack-local-variables-prop-line): Small simplifications.
11426 (hack-local-variables, hack-local-variables-prop-line):
11427 If MODE-ONLY, return the mode, rather than just `t'.
11429 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11431 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11433 2011-05-21 Glenn Morris <rgm@gnu.org>
11435 * files.el (hack-local-variables-prop-line, hack-local-variables):
11436 If only interested in the mode, don't bother doing the other stuff.
11438 * image-mode.el (image-after-revert-hook):
11439 Redraw all frames on which the image is visible. (Bug#8567)
11441 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11443 * wid-edit.el (widget-checklist-match-inline):
11444 Fix 2011-04-19 change. (Bug#8649)
11446 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11448 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11449 Also allow singlespace after single-letter capitals followed by a dot.
11451 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11452 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11454 2011-05-20 Nix <nix@esperi.org.uk>
11456 * files.el (basic-save-buffer-2):
11457 Fix handling of break-hardlink-on-save with non-existent files.
11459 2011-05-19 Deniz Dogan <deniz@dogan.se>
11461 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11462 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11464 2011-05-19 Glenn Morris <rgm@gnu.org>
11466 * progmodes/f90.el (f90-type-def-re):
11467 Handle "type, bind(c)". (Bug#8691)
11469 * emacs-lisp/autoload.el (batch-update-autoloads):
11470 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11472 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11474 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11475 property for the correct connection in case of multihops.
11477 2011-05-18 Glenn Morris <rgm@gnu.org>
11479 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11480 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11482 Rationalize calendar handling of day and month abbrev-arrays.
11483 * calendar/calendar.el (calendar-customized-p): New function.
11484 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11485 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11487 (calendar-abbrev-length, calendar-day-abbrev-array)
11488 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11489 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11490 Elements may no longer be nil.
11491 (calendar-day-name, calendar-month-name):
11492 Update for changed nature of abbrev arrays.
11493 * calendar/diary-lib.el (diary-name-pattern):
11494 Update for changed nature of abbrev arrays.
11495 (diary-mark-entries-1): Update calendar-make-alist calls.
11496 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11497 * calendar/cal-html.el (cal-html-day-abbrev-array):
11498 Simply inherit from calendar-day-abbrev-array.
11500 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11502 * progmodes/grep.el (grep-mode): Disable default
11503 compilation-directory-matcher setting (bug#8684).
11505 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11507 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11508 instead of "head" and "tail". There were problems with SunOS 5.9,
11509 and it performs better.
11511 2011-05-17 Glenn Morris <rgm@gnu.org>
11513 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11515 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11516 Replace obsolete function.
11518 * shell.el (pcomplete-parse-arguments-function): Declare.
11520 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11521 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11522 (appt-check): Doc fixes.
11523 (appt-disp-window-function, appt-delete-window-function):
11524 Remove needless special case in custom :type.
11525 (appt-display-count): Default to 0, not nil.
11526 (appt-check): Reset appt-display-count to 0, not nil.
11528 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11530 * progmodes/python.el (python-font-lock-keywords):
11531 Add the Python 3.X keyword "nonlocal" (bug#8639).
11533 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11535 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11537 2011-05-16 Kevin Ryde <user42@zip.com.au>
11539 * info-look.el (makefile-automake-mode): New setups, looking in
11540 automake manual, then makefile-mode.
11541 (makefile-mode): Remove automake manual, have it just in
11542 makefile-automake-mode since there's various things different or
11543 not relevant to plain make.
11544 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11545 believe a hypothetical automake-mode would go to makefile-mode,
11546 not the other way around.
11548 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11550 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11551 hunk-end tags (Bug#8672).
11553 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11554 vc-annotate-show-diff-revision-at-line (Bug#8671).
11556 2011-05-14 Glenn Morris <rgm@gnu.org>
11558 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11559 in the middle of an existing one with multiple authors. (Bug#8645)
11560 (change-log-font-lock-keywords): Also handle multiple author lines
11561 with leading tabs. (Bug#8644)
11563 * calendar/appt.el (appt-check): Rename some local variables.
11564 Some simplification/reordering.
11566 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11567 (feedmail-sendmail-f-doesnt-sell-me-out)
11568 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11569 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11570 (feedmail-queue-runner-message-sender): Set :version.
11571 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11572 (bbdb-dwim-net-address, vm-mail): Declare.
11573 (feedmail-binmail-gnulinuxish-template):
11574 Rename from feedmail-binmail-linuxish-template.
11575 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11576 Use insert-buffer-substring.
11578 2011-05-14 Bill Carpenter <bill@carpenter.org>
11580 * mail/feedmail.el (feedmail-patch-level): Increase.
11581 (feedmail-debug): New custom group.
11582 (feedmail-confirm-outgoing-timeout)
11583 (feedmail-sendmail-f-doesnt-sell-me-out)
11584 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11585 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11586 (feedmail-sender-line, feedmail-from-line)
11587 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11588 (feedmail-spray-this-address)
11589 (feedmail-spray-address-fiddle-plex-list)
11590 (feedmail-queue-use-send-time-for-date)
11591 (feedmail-queue-use-send-time-for-message-id)
11592 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11593 (feedmail-buffer-eating-function):
11595 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11596 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11597 (feedmail-message-action-scroll-down): New functions.
11598 (feedmail-queue-directory, feedmail-queue-draft-directory):
11599 Use expand-file-name.
11600 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11601 Remove C-v help entry.
11602 (feedmail-queue-buffer-file-name): New variable.
11603 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11604 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11605 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11606 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11607 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11608 (feedmail-message-action-toggle-spray)
11609 (feedmail-run-the-queue-no-prompts)
11610 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11611 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11612 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11613 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11614 (feedmail-envelope-deducer, feedmail-fiddle-from)
11615 (feedmail-fiddle-sender, feedmail-default-date-generator)
11616 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11617 (feedmail-fiddle-spray-address)
11618 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11619 (feedmail-fiddle-list-of-fiddle-plexes)
11620 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11621 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11622 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11623 Change default. Doc fix.
11624 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11625 (feedmail-binmail-linuxish-template): New constant.
11626 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11627 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11628 (feedmail-send-it): Add debug call.
11629 Use feedmail-queue-buffer-file-name, and
11630 feedmail-send-it-immediately-wrapper.
11631 (feedmail-message-action-send): Add debug call.
11632 Use feedmail-send-it-immediately-wrapper.
11633 (feedmail-queue-express-to-queue): Add debug call.
11634 Run feedmail-queue-express-hook.
11635 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11636 (feedmail-message-action-help-blat):
11637 Rename from feedmail-queue-send-edit-prompt-help-first.
11638 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11639 Check line-endings. Handle errors better.
11640 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11641 Doc fix. Add debug call.
11642 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11643 Use feedmail-queue-send-edit-prompt-inner.
11644 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11645 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11646 from feedmail-queue-send-edit-prompt.
11647 (feedmail-queue-send-edit-prompt-help)
11648 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11649 (feedmail-tidy-up-slug): Add debug call.
11650 Respect feedmail-queue-slug-suspect-regexp.
11651 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11652 (feedmail-dump-message-to-queue): Add debug call.
11653 Expand queue-directory.
11654 (feedmail-dump-message-to-queue): Change message slightly.
11655 Use feedmail-say-chatter.
11656 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11657 (feedmail-send-it-immediately-wrapper): New function.
11658 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11659 Insert empty string rather than newline. Handle full-frame case.
11660 Use catch/throw. Use feedmail-say-chatter.
11661 (feedmail-fiddle-from): Try mail-host-address.
11662 (feedmail-default-message-id-generator): Doc fix.
11663 Bind system-time-locale. Handle missing end.
11664 (feedmail-fiddle-x-mailer): Add debug call.
11665 Handle feedmail-x-mailer-line being nil.
11666 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11667 Add debug call. Use buffer-substring-no-properties.
11668 (feedmail-say-debug, feedmail-say-chatter): New functions.
11669 (feedmail-find-eoh): Give an explicit error.
11671 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11673 * net/newst-treeview.el (newsticker-treeview-face): Change default
11674 family from helvetica to sans.
11675 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11676 etc/images/newsticker.
11678 * net/newst-reader.el (newsticker-feed-face): Change default
11679 family from helvetica to sans.
11681 * net/newst-plainview.el (newsticker-new-item-face)
11682 (newsticker-old-item-face, newsticker-immortal-item-face)
11683 (newsticker-obsolete-item-face, newsticker-date-face)
11684 (newsticker-statistics-face): Change default family from
11686 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11687 etc/images/newsticker.
11689 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11690 (newsticker--process-auto-mark-filter-match): Tell user about
11693 2011-05-13 Didier Verna <didier@xemacs.org>
11695 Common Lisp indentation improvements on defmethod and lambda-lists.
11696 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11698 (lisp-lambda-list-keyword-parameter-indentation)
11699 (lisp-lambda-list-keyword-parameter-alignment)
11700 (lisp-lambda-list-keyword-alignment): New customizable user options.
11701 (lisp-indent-defun-method): Improve docstring.
11702 (extended-loop-p): Fix comment.
11703 (lisp-indent-lambda-list-keywords-regexp): New variable.
11704 (lisp-indent-lambda-list): New function.
11705 (lisp-indent-259): Use it.
11706 (lisp-indent-defmethod): Support for more than one
11707 method qualifier and properly indent methods lambda-lists.
11708 (defgeneric): Provide a missing common-lisp-indent-function property.
11710 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11712 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11713 bounds for the empty string (bug#8667).
11715 2011-05-13 Glenn Morris <rgm@gnu.org>
11717 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11719 * mail/sendmail.el (sendmail-program): Try executable-find first.
11720 (sendmail-send-it): `sendmail-program' cannot be unbound.
11722 * calendar/appt.el (appt-make-list): Simplify.
11723 (appt-time-msg-list): Doc fix.
11724 (appt-check): Change mode-line message at the time of the appointment.
11726 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11728 * progmodes/ld-script.el (ld-script-keywords)
11729 (ld-script-builtins): Update keywords list.
11731 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11733 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11735 * shell.el (shell-completion-vars): New function.
11737 * simple.el (read-shell-command): Use it.
11738 (blink-matching-open): No need for " [...]" in minibuffer-message.
11740 2011-05-12 Glenn Morris <rgm@gnu.org>
11742 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11743 (appt-check): Simplify.
11745 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11747 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11748 literal "/dev/null".
11750 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11752 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11755 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11757 * progmodes/which-func.el (which-function):
11758 Use add-log-current-defun instead of add-log-current-defun-function,
11759 which might not be defined (Bug#8260).
11761 2011-05-12 Glenn Morris <rgm@gnu.org>
11763 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11764 Let byte-compile-initial-macro-environment always take precedence.
11766 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11768 * net/rcirc.el: Add support for SSL/TLS connections.
11769 (rcirc-server-alist): New field `encryption'.
11770 (rcirc): Check `encryption' settings.
11771 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11772 Merge make-local-variable into `set'.
11773 (rcirc--connection-open-p): New function.
11774 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11775 the process is not a network process (e.g. running gnutls-cli).
11776 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11777 Make rcirc-(en|de)code-coding-system local here.
11778 (rcirc-mode): Merge make-local-variable into `set'.
11779 (rcirc-parent-buffer): Make permanent buffer-local.
11780 (rcirc-multiline-minor-mode): Don't do it here.
11781 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11782 there's no server buffer.
11784 2011-05-11 Glenn Morris <rgm@gnu.org>
11786 * newcomment.el (comment-kill): Prefix "unused" local.
11788 * term/w32console.el (get-screen-color): Declare.
11790 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11791 Handle symbol elements of byte-compile-initial-macro-environment.
11793 2011-05-10 Leo Liu <sdl.web@gmail.com>
11795 * bookmark.el (bookmark-bmenu-mode-map):
11796 Bind bookmark-bmenu-search to `/'.
11798 * mail/footnote.el: Convert to utf-8 encoding.
11799 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11800 (Footnote-unicode): New function.
11801 (footnote-style-alist): Add unicode style to the list.
11802 (footnote-style): Doc fix.
11804 2011-05-10 Jim Meyering <meyering@redhat.com>
11806 Fix doubled-word typos.
11807 * international/quail.el (quail-insert-kbd-layout): and and -> and
11808 * kermit.el: and and -> and
11809 * net/ldap.el (ldap-search-internal): to to -> to
11810 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11811 * progmodes/js.el (js-mode): and and -> and
11812 * textmodes/artist.el (artist-move-to-xy): at at -> at
11813 (artist-draw-region-trim-line-endings): if if -> if
11814 And Safetyc -> Safety.
11815 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11817 2011-05-10 Glenn Morris <rgm@gnu.org>
11818 Stefan Monnier <monnier@iro.umontreal.ca>
11820 * files.el (hack-one-local-variable-eval-safep):
11821 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11823 2011-05-10 Glenn Morris <rgm@gnu.org>
11825 * calendar/diary-lib.el (diary-list-entries-hook)
11826 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11827 (diary-nongregorian-marking-hook, diary-list-entries)
11828 (diary-include-other-diary-files, diary-mark-entries)
11829 (diary-mark-included-diary-files): Doc fixes.
11831 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11833 * misc.el: Require tabulated-list.el during compilation.
11835 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11837 * progmodes/compile.el (compilation-start):
11838 Run compilation-filter-hook for the async case too.
11839 (compilation-filter-hook): Doc fix.
11841 2011-05-09 Deniz Dogan <deniz@dogan.se>
11843 * wdired.el: Remove outdated installation comment. Fix usage
11846 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11848 * misc.el: Implement new command `list-dynamic-libraries'.
11849 (list-dynamic-libraries--loaded-only-p): New variable.
11850 (list-dynamic-libraries--refresh): New function.
11851 (list-dynamic-libraries): New command.
11853 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11855 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11856 Fix the ant regexp to handle end-line and end-column info from jikes.
11857 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11858 higher priority to avoid clobbering by gnu.
11860 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11862 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11863 if the face has existing theme settings (Bug#8454).
11865 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11867 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11868 Only match variables declared via `my' or `our' (Bug#8261).
11870 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11871 special file names `.' and `..' (Bug#8259).
11873 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11875 * progmodes/grep.el (grep-mode-font-lock-keywords):
11876 Remove buffer-changing entries.
11877 (grep-filter): New function.
11878 (grep-mode): Add it to compilation-filter-hook.
11880 * progmodes/compile.el (compilation-filter-hook)
11881 (compilation-filter-start): New defvars.
11882 (compilation-filter): Call compilation-filter-hook prior to
11883 updating the process mark.
11885 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11887 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11889 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11891 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11892 mailclient-send-it even if window-system is nil. (Bug#8595)
11894 * term/w32console.el (terminal-init-w32console):
11895 Call get-screen-color and use its output to set the frame
11896 background-mode. (Bug#8597)
11898 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11900 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11901 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11903 (defgeneric, eieio--defmethod): Use them.
11904 (eieio-defgeneric): Remove.
11905 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11907 2011-05-07 Glenn Morris <rgm@gnu.org>
11909 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11910 Use let rather than let*.
11911 (timeclock-find-discrep): Remove unused local.
11913 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11915 * calendar/appt.el (appt-time-msg-list): Doc fix.
11917 2011-05-06 Noah Friedman <friedman@splode.com>
11919 * apropos.el (apropos-print-doc): Only use
11920 emacs-lisp-docstring-fill-column when it is bound to an integer,
11921 per that variable's documentation.
11923 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11925 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11926 and warnings are not silently discarded (e.g. use -d instead of -P).
11928 2011-05-06 Glenn Morris <rgm@gnu.org>
11930 * calendar/appt.el (appt-message-warning-time): Doc fix.
11931 (appt-warning-time-regexp): New option.
11932 (appt-make-list): Respect appt-message-warning-time.
11934 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11936 (diary-add-to-list): Strip comments from the displayed string.
11937 (diary-mode): Set comment-start and comment-end.
11939 * vc/diff-mode.el (smerge-refine-subst): Declare.
11940 (diff-refine-hunk): Don't require smerge-mode when compiling.
11942 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11944 * simple.el (list-processes): Return nil as the docstring says.
11946 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11948 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11950 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11951 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11952 determining of binary transfer. (Bug#7383)
11954 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11956 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11957 Fix port computation bug. (Bug#8618)
11959 2011-05-05 Glenn Morris <rgm@gnu.org>
11961 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11963 * simple.el (shell-dynamic-complete-functions)
11964 (comint-dynamic-complete-functions): Declare.
11966 * net/network-stream.el (gnutls-negotiate):
11967 * simple.el (tabulated-list-print): Fix declarations.
11969 * progmodes/gud.el (syntax-symbol, syntax-point):
11970 Remove unnecessary and incorrect declarations.
11972 * emacs-lisp/check-declare.el (check-declare-scan):
11973 Handle byte-compile-initial-macro-environment in bytecomp.el
11975 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11977 Fix earlier half-done eieio-defmethod change (bug#8338).
11978 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11979 Streamline and change calling convention.
11980 (defmethod): Adjust accordingly and simplify.
11981 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11982 new eieio--defmethod.
11983 (slot-boundp): Minor CSE simplification.
11985 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11987 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11988 (glasses-make-readable): Use glasses-separate-capital-groups.
11990 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11992 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11993 (warning-series): Doc fix.
11994 (display-warning): Don't try to create the buffer if we just found it.
11996 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11998 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11999 (autoload-find-generated-file): New function.
12000 (generate-file-autoloads): Bind generated-autoload-file to
12002 (update-file-autoloads, update-directory-autoloads):
12003 Use autoload-find-generated-file. If called interactively, prompt for
12004 output file (Bug#7989).
12005 (batch-update-autoloads): Doc fix.
12007 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12009 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12011 2011-05-04 Glenn Morris <rgm@gnu.org>
12013 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12014 function, so it follows changes in calendar-date-style.
12015 (diary-fancy-date-matcher): New function.
12016 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12017 (diary-fancy-font-lock-fontify-region-function):
12018 Use diary-fancy-date-pattern as a function.
12020 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12021 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12023 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12025 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12026 instead of positional arguments. Allow :keylist and :crlfiles
12028 (open-gnutls-stream): Call it.
12030 * net/network-stream.el (network-stream-open-starttls): Adjust to
12031 call `gnutls-negotiate' with :process and :hostname arguments.
12033 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12035 * minibuffer.el (completion--message): New function.
12036 (completion--do-completion, minibuffer-complete)
12037 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12038 (completion--do-completion): Don't ignore completion-auto-help when in
12041 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12042 internal encoding (e.g. tibetan zero is not whitespace).
12043 (global-whitespace-mode): Prefer save-current-buffer.
12044 (whitespace-trailing-regexp): Remove useless save-match-data.
12045 (whitespace-empty-at-bob-regexp): Minor simplification.
12047 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12049 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12051 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12053 * textmodes/ispell.el (ispell-add-per-file-word-list):
12054 Use `concat' to create string for insertion.
12056 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12058 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12059 Avoid open-line which runs post-self-insert-hook.
12060 (bibtex-fill-entry): Remove unused `end' var.
12062 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12064 * textmodes/ispell.el (ispell-add-per-file-word-list):
12065 Protect against `nil' value of `comment-start' (Bug#8579).
12067 2011-05-03 Leo Liu <sdl.web@gmail.com>
12069 * isearch.el (isearch-yank-pop): New command.
12070 (isearch-mode-map): Bind it to `M-y'.
12071 (isearch-forward): Mention it.
12073 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12075 * simple.el (minibuffer-complete-shell-command): Remove.
12076 (minibuffer-local-shell-command-map): Use completion-at-point.
12077 (read-shell-command): Setup completion vars here instead.
12078 (read-expression-map): Bind TAB to symbol completion.
12080 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12081 error directly rather via storing it into `results'.
12083 2011-05-02 Leo Liu <sdl.web@gmail.com>
12085 * vc/diff.el: Fix description.
12087 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12089 * server.el (server-eval-at): New function.
12091 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12093 * net/network-stream.el (open-network-stream): Take a :nowait
12094 parameter and pass it on to `make-network-process'.
12095 (network-stream-open-plain): Ditto.
12097 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12099 * faces.el (face-spec-set-match-display): Don't match toolkit
12100 options on terminal frames.
12102 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12104 * progmodes/pascal.el: Use lexical binding.
12105 (pascal-mode-map): Remove author preferences.
12107 * pcomplete.el (pcomplete-std-complete): Don't abuse
12108 completion-at-point.
12110 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12112 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12113 removing code that has been dead since 1991 or so.
12115 * startup.el (command-line): When warning about "_emacs", use a
12116 delayed warning to allow the user to filter it out.
12118 2011-04-28 Deniz Dogan <deniz@dogan.se>
12120 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12121 user has not joined.
12123 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12125 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12126 aren't any completions at point.
12128 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12130 * subr.el (display-delayed-warnings): New function.
12131 (delayed-warnings-hook): New variable.
12133 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12135 * minibuffer.el (completion-at-point, completion-help-at-point):
12136 Don't presume that a given completion-at-point-function will always
12137 use the same calling convention.
12139 * pcomplete.el (pcomplete-completions-at-point):
12140 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12141 pcomplete-seen is non-nil.
12142 (pcomplete-comint-setup): Also recognize the new comint/shell
12143 completion functions.
12144 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12145 pcomplete-seen is non-nil.
12147 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12149 * calendar/icalendar.el (diary-lib): Add require statement.
12150 (icalendar--create-uid): Read out a uid from a text-property on
12151 the first character in the entry. This allows for code to add its
12152 own uid to the entry.
12153 (icalendar--convert-float-to-ical): Add export of
12154 `diary-float'-entries save for those with the optional DAY
12157 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12159 * subr.el (shell-quote-argument): Use alternate escaping strategy
12160 when we spot a variable reference in a string.
12162 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12164 * cus-start.el (all): Define customization for debug-on-event.
12166 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12168 * subr.el (shell-quote-argument): Escape correctly under Windows.
12170 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12172 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12174 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12176 * net/tramp.el (tramp-process-actions): Add POS argument.
12177 Delete region between POS and (pos).
12179 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12180 Use `nil' position in `tramp-process-actions' call.
12181 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12183 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12184 position in `tramp-process-actions' call.
12186 * net/trampver.el: Update release number.
12188 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12190 * custom.el (defcustom): Obey lexical-binding.
12192 Fix octave-inf completion problems reported by Alexander Klimov.
12193 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12194 Inherit from octave-mode-syntax-table.
12195 (inferior-octave-mode): Set info-lookup-mode.
12196 (inferior-octave-completion-at-point): New function.
12197 (inferior-octave-complete): Use it and completion-in-region.
12198 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12199 comint-filename-completion.
12200 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12201 symbol elements which shouldn't be word elements.
12202 (octave-font-lock-keywords, octave-beginning-of-defun)
12203 (octave-function-header-regexp): Adjust regexps accordingly.
12204 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12206 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12208 * net/gnutls.el (gnutls-errorp): Declare before first use.
12210 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12212 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12213 verify-error, and verify-hostname-error parameters. Check whether
12214 default trustfile exists before going to use it. Add missing
12215 argument to gnutls-message-maybe call. Return value.
12216 Reported by Claudio Bley <claudio.bley@gmail.com>.
12217 (open-gnutls-stream): Add usage example.
12219 * net/network-stream.el (network-stream-open-starttls): Give host
12220 parameter to `gnutls-negotiate'.
12221 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12222 * subr.el (shell-quote-argument): Escape correctly under Windows.
12224 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12226 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12227 Use correct match group (bug#8438).
12229 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12231 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12232 (package-menu--generate): New arg specifying packages to show.
12233 (package-menu-refresh, package-menu-execute, list-packages):
12235 (package-show-package-list): New function, replacing deleted
12236 package--list-packages (renamed because it is non-internal).
12238 * finder.el (finder-list-matches): Use package-show-package-list
12239 instead of deleted package--list-packages.
12241 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12242 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12243 (vc-annotate-mode-map): Bind it to RET.
12245 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12247 * progmodes/etags.el (next-file): Don't use set-buffer to change
12248 buffers (Bug#8478).
12250 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12252 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12254 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12255 (apropos-accumulator): Doc fix.
12256 (apropos-function, apropos-macro, apropos-command)
12257 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12258 (apropos-plist): Add face property.
12259 (apropos-symbols-internal): Fix indentation.
12260 (apropos-print): Simplify help, and recognize apropos-multi-type.
12261 (apropos-print-doc): Use button-type-get to extract the button's
12262 face property. Fill docstring (Bug#8352).
12264 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12266 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12268 * play/mpuz.el (mpuz-silent): Doc fix.
12269 (mpuz-mode-map): Use mapc.
12270 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12271 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12272 Fix typos in docstrings.
12274 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12275 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12277 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12279 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12281 * minibuffer.el (completion--do-completion): Avoid the "Next char
12282 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12284 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12285 mouse-2 into unread-command-events, it is interpreted correctly.
12287 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12288 (image-toggle-display): Doc fix.
12290 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12292 * textmodes/page.el (what-page): Use line-number-at-pos to
12293 calculate line number (Bug#6825).
12295 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12297 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12298 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12299 Pass argument NO-DEFAULT to `find-tag-interactive'.
12301 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12303 Lexical-binding cleanup.
12305 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12306 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12307 * progmodes/ada-prj.el (ada-prj-initialize-values)
12308 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12309 (ada-prj-show-value):
12310 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12311 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12312 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12313 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12314 * progmodes/bug-reference.el (bug-reference-push-button):
12315 * progmodes/fortran.el (fortran-line-length):
12316 * progmodes/glasses.el (glasses-change):
12317 * progmodes/octave-mod.el (octave-fill-paragraph):
12318 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12319 (python-pdbtrack-grub-for-buffer, python-sentinel):
12320 * progmodes/sql.el (sql-save-connection):
12321 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12322 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12323 Mark unused parameters.
12325 * progmodes/compile.el (compilation--flush-directory-cache)
12326 (compilation--flush-parse, compile-internal): Mark unused parameters.
12327 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12328 (compilation-next-error-function): Remove unused variable `timestamp'.
12330 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12331 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12333 * progmodes/dcl-mode.el (dcl-end-of-command):
12334 Remove unused variable `start'.
12335 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12336 (dcl-option-value-basic, dcl-option-value-offset)
12337 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12338 Mark unused parameters.
12339 (dcl-save-local-variable): Remove unused variable `val'.
12342 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12343 Mark unused parameters.
12344 (delphi-ignore-changes): Move before first use.
12345 (delphi-charset-token-at): Remove unused variable `start'.
12346 (delphi-else-start): Remove unused variable `if-count'.
12347 (delphi-comment-block-start, delphi-comment-block-end):
12348 Remove unused variable `kind'.
12349 (delphi-indent-line): Remove unused variable `new-point'.
12351 * progmodes/ebrowse.el (ebrowse-files-list)
12352 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12353 Mark unused parameters. Don't quote `lambda'.
12354 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12355 Don't quote `lambda'.
12356 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12357 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12358 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12359 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12360 Use `ignore-errors'.
12361 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12362 (ebrowse-view/find-file-and-search-pattern)
12363 (ebrowse-view/find-member-declaration/definition):
12364 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12365 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12366 Rename parameter PREFIX-ARG to PREFIX.
12367 (ebrowse-tags-read-name): Remove unused variables `start' and
12369 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12372 * progmodes/etags.el (local-find-tag-hook): Declare.
12373 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12374 Mark unused parameters.
12376 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12377 (executable-interpret): Mark unused parameter.
12379 * progmodes/flymake.el (flymake-process-sentinel)
12380 (flymake-after-change-function)
12381 (flymake-create-temp-with-folder-structure)
12382 (flymake-get-include-dirs-dot): Mark unused parameters.
12383 (flymake-safe-delete-directory): Remove unused variable `err'.
12385 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12386 (speedbar-timer-fn, speedbar-line-text)
12387 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12388 (speedbar-center-buffer-smartly): Declare functions.
12389 (gdb-find-watch-expression): Remove unused variable `array'.
12390 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12391 (gdb-starting): Mark unused parameters.
12392 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12393 (gdb-table-string): Remove unused variable `res'.
12394 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12395 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12396 (gdb-display-buffer): Remove unused variable `cur-size'.
12398 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12399 allow lexical-binding compilation.
12400 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12401 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12402 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12403 Mark unused parameters.
12404 (gud-gdb-marker-filter): Remove unused variable `match'.
12405 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12406 lambda expressions and funcall them, instead of using `fset'.
12408 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12409 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12411 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12412 variable `header-beg'; use `let'.
12414 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12415 `restart', `last-sexp' and `at-do'.
12417 * progmodes/js.el (js--debug): Mark unused parameter.
12418 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12419 (js--splice-into-items): Remove unused variable `item'.
12420 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12422 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12423 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12424 (makefile-complete): Remove unused variable `try'.
12425 (makefile-fill-paragraph, makefile-match-function-end):
12426 Mark unused parameters.
12428 * progmodes/octave-inf.el (inferior-octave-complete):
12429 Remove unused variable `proc'.
12430 (inferior-octave-output-digest): Mark unused parameter.
12432 * progmodes/perl-mode.el (perl-calculate-indent):
12433 Remove unused variable `err'.
12435 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12436 (prolog-indent-line): Mark unused parameters.
12437 (prolog-indent-line): Remove unused variable `beg'.
12439 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12440 (reporter-dont-compact-list): Declare.
12442 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12443 Remove unused variable `char'.
12444 (sh-debug): Mark unused parameter.
12445 (sh-get-indent-info): Remove unused variable `start'.
12446 (sh-calculate-indent): Remove unused variable `var'.
12448 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12449 (simula-electric-keyword): Remove unused variable `null'.
12450 (simula-search-backward, simula-search-forward): Remove unused
12451 variables `begin' and `end'.
12453 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12454 Remove unused variable `pos'.
12455 (vera-electric-tab, vera-comment-uncomment-region):
12456 Mark unused parameters.
12457 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12459 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12461 * emacs-lisp/package.el (package--builtins, package-alist)
12462 (package-load-descriptor, package-built-in-p, package-activate)
12463 (define-package, package-installed-p)
12464 (package-compute-transaction, package-buffer-info)
12465 (package--push): Doc fix. Distinguish more clearly between
12466 version strings and version lists.
12468 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12470 Lexical-binding cleanup.
12472 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12473 (5x5-make-mutate-best):
12474 * play/fortune.el (fortune-in-buffer):
12475 * play/gomoku.el (gomoku-init-display):
12476 * play/solitaire.el (solitaire, solitaire-do-check):
12477 * play/tetris.el (tetris-default-update-speed-function):
12478 Mark unused parameters.
12480 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12481 (bubbles--shift): Remove unused variable `char-org'.
12482 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12483 (bubbles--show-images): Remove unused variable `char'.
12485 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12486 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12487 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12488 (decipher-analyze-buffer): Use ?\s.
12489 (decipher-make-checkpoint): Remove unused variable `mapping'.
12491 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12493 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12494 Remove unused variable `result'; use `let'.
12496 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12497 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12498 (gametree-children-shown-p, gametree-compute-reduced-score):
12499 Use `ignore-errors'.
12501 * play/handwrite.el (ps-lpr-switches): Declare.
12502 (handwrite): Remove unused variables `pmin' and `lastp'.
12504 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12506 * play/landmark.el (landmark-init-display)
12507 (landmark-update-naught-weights): Mark unused parameters.
12508 (landmark-y): Remove unused variable `noise'. Simplify.
12509 (landmark-human-plays): Remove unused variable `score'.
12511 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12512 (mpuz-try-proposal): Remove unused variable `game'.
12514 * play/zone.el (life-patterns): Declare.
12516 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12518 * vc/vc.el (ediff-vc-internal): Declare function.
12520 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12522 * shell.el: Use lexical-binding and std completion UI.
12523 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12524 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12525 comint-preoutput-filter-functions rather than on
12526 comint-output-filter-functions.
12527 (shell-command-completion, shell--command-completion-data)
12528 (shell-filename-completion, shell-environment-variable-completion)
12529 (shell-c-a-p-replace-by-expanded-directory): New functions.
12530 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12531 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12532 (shell-dynamic-complete-environment-variable): Use them.
12533 (shell-dynamic-complete-as-environment-variable)
12534 (shell-dynamic-complete-as-command): Remove.
12535 (shell-match-partial-variable): Match past point.
12536 * comint.el: Clean up use of completion-at-point-functions.
12537 (comint-completion-at-point): New function.
12538 (comint-mode): Use it completion-at-point-functions.
12539 (comint-dynamic-complete): Make it obsolete.
12540 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12541 (comint-c-a-p-replace-by-expanded-history): New function.
12542 (comint-dynamic-complete-functions)
12543 (comint-replace-by-expanded-history): Use it.
12544 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12545 termination strings. Try harder to avoid second try-completion.
12546 (completion-in-region-mode-map): Disable bindings that don't work yet.
12548 * comint.el: Use lexical-binding. Require CL.
12549 (comint-dynamic-complete-functions): Use comint-filename-completion.
12550 (comint-completion-addsuffix): Tweak custom type.
12551 (comint-filename-completion, comint--common-suffix)
12552 (comint--common-quoted-suffix, comint--table-subvert)
12553 (comint--complete-file-name-data): New functions.
12554 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12555 (comint-dynamic-list-filename-completions): Use them.
12556 (comint-dynamic-simple-complete): Make obsolete.
12558 * minibuffer.el (completion-in-region-mode):
12559 Keep completion-in-region-mode--predicate global.
12560 (completion-in-region--postch):
12561 Assume completion-in-region-mode--predicate is not null.
12563 * progmodes/flymake.el (flymake-start-syntax-check-process):
12564 Obey `dir'. Simplify.
12566 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12567 we're in VC after all.
12569 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12571 * vc/vc.el (vc-diff-build-argument-list-internal)
12572 (vc-version-ediff, vc-ediff): New commands.
12573 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12575 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12577 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12580 * obsolete/erc-hecomplete.el: Make obsolete.
12581 * obsolete/: Standardize obsolescence info in the header.
12583 2011-04-20 Glenn Morris <rgm@gnu.org>
12585 * calendar/solar.el (solar-horizontal-coordinates):
12586 Use the longitude argument rather than `calendar-longitude'.
12587 (solar-date-next-longitude): Remove unused locals.
12589 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12591 * whitespace.el: New version 13.2.1.
12593 2011-04-20 felix <EmacsWiki> (tiny change)
12595 * whitespace.el (global-whitespace-mode): Keep highlight when
12596 switching between major modes on a file.
12598 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12600 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12601 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12602 multi-line comments as well.
12604 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12606 Lexical-binding cleanup.
12608 * arc-mode.el (archive-mode-revert):
12609 * cmuscheme.el (scheme-interactively-start-process):
12610 * custom.el (custom-initialize-delay):
12611 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12612 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12613 * emacs-lock.el (emacs-lock-clear-sentinel):
12614 * ezimage.el (defezimage):
12615 * follow.el (follow-avoid-tail-recenter):
12616 * fringe.el (set-fringe-mode-1):
12617 * generic-x.el (bat-generic-mode-compile):
12618 * help-mode.el (help-info-variable, help-do-xref)
12619 (help-mode-revert-buffer):
12620 * help.el (view-emacs-todo):
12621 * iswitchb.el (iswitchb-completion-help):
12622 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12623 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12624 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12625 * locate.el (locate-update):
12626 * longlines.el (longlines-encode-region)
12627 (longlines-after-change-function):
12628 * outline.el (outline-isearch-open-invisible):
12629 * ps-def.el (declare-function, charset-dimension, char-width)
12631 * ps-mule.el (ps-mule-plot-string):
12632 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12633 (recentf-edit-list-select, recentf-edit-list-validate)
12634 (recentf-open-files-action):
12635 * rect.el (delete-whitespace-rectangle-line)
12636 (rectangle-number-line-callback):
12637 * register.el (window-configuration-to-register)
12638 (frame-configuration-to-register):
12639 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12640 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12641 (xselect-convert-to-targets, xselect-convert-to-delete)
12642 (xselect-convert-to-filename, xselect-convert-to-charpos)
12643 (xselect-convert-to-lineno, xselect-convert-to-colno)
12644 (xselect-convert-to-os, xselect-convert-to-host)
12645 (xselect-convert-to-user, xselect-convert-to-class)
12646 (xselect-convert-to-name, xselect-convert-to-integer)
12647 (xselect-convert-to-atom, xselect-convert-to-identity):
12648 * subr.el (declare, ignore, process-kill-without-query)
12649 (text-clone-maintain):
12650 * terminal.el (te-get-char, te-tic-sentinel):
12651 * tool-bar.el (tool-bar-make-keymap):
12652 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12653 * type-break.el (type-break-mode, type-break-noninteractive-query):
12654 * view.el (View-back-to-mark):
12655 * wid-browse.el (widget-browse-action, widget-browse-widget)
12656 (widget-browse-widgets, widget-browse-sexp):
12657 * widget.el (define-widget-keywords):
12658 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12659 Mark unused parameters.
12661 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12662 (align-areas): Remove unused variable `look'.
12663 (align-region): Remove unused variables `real-end' and `pos-list'.
12665 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12667 * bindings.el (mode-line-modified, mode-line-remote):
12668 Mark unused parameters.
12669 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12671 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12672 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12674 * comint.el (comint-history-isearch-pop-state)
12675 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12676 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12677 (comint-substitute-in-file-name): Doc fix.
12679 * completion.el (cmpl-statistics-block): Mark unused parameter.
12680 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12681 (save-completions-to-file, load-completions-from-file):
12682 Remove unused local variable `e'.
12684 * composite.el (compose-chars): Remove unused variable `len'.
12685 (lgstring-insert-glyph): Remove unused variable `g'.
12686 (compose-glyph-string): Remove unused variables `ascent',
12687 `descent', `lbearing' and `rbearing'.
12688 (compose-glyph-string-relative): Remove unused variables
12689 `lbearing', `rbearing' and `wadjust'.
12690 (compose-gstring-for-graphic): Remove unused variables `header',
12691 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12692 (compose-gstring-for-terminal): Remove unused variables `header'
12693 and `nchars'. Use `let', not `let*'.
12695 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12696 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12697 (Custom-buffer-done, custom-buffer-create-internal)
12698 (custom-browse-visibility-action, custom-browse-group-tag-action)
12699 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12700 (widget-magic-mouse-down-action, custom-toggle-parent)
12701 (custom-add-parent-links, custom-toggle-hide-variable)
12702 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12703 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12704 (custom-face-menu-create, custom-variable-menu-create, get)
12705 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12706 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12707 (customize-apropos): Remove unused variable `tests'.
12708 (custom-group-value-create): Remove unused variable `hidden-p'.
12709 (sort-fold-case): Declare.
12711 * cus-theme.el (custom-reset-standard-faces-list)
12712 (custom-reset-standard-variables-list): Declare.
12713 (customize-create-theme, custom-theme-revert, custom-theme-write)
12714 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12715 Mark unused parameters.
12717 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12719 * delim-col.el (delimit-columns-max): Move defvar before first use.
12721 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12722 (describe-char): Don't quote `lambda'. Mark unused parameter.
12724 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12725 (auto-insert): Declare.
12726 (desktop-restore-file-buffer): Rename desktop-* parameters;
12728 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12729 (desktop-buffer): Rename desktop-* parameters.
12731 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12732 (dframe-reposition-frame-xemacs, dframe-help-echo)
12733 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12734 Mark unused parameters.
12736 * dired-aux.el (backup-extract-version-start, overwrite-query)
12737 (overwrite-backup-query, rename-regexp-query)
12738 (rename-non-directory-query): Declare.
12739 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12740 (dired-add-entry): Remove unused variable `orig-file-name'.
12741 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12742 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12743 `dired-copy-preserve-time' directly.
12744 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12745 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12747 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12748 (dired-virtual-revert, dired-make-relative-symlink):
12749 Mark unused parameters.
12750 (manual-program): Declare.
12751 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12752 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12753 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12755 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12757 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12759 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12762 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12764 * electric.el (Electric-command-loop): Rename parameter
12765 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12767 * expand.el (expand-in-literal): Remove unused variable `here'.
12769 * facemenu.el (facemenu-add-new-color):
12770 Remove unused variable `docstring'.
12772 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12773 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12774 (face-attr-construct): Mark unused parameter. Doc fix.
12775 (read-color): Remove unused variable `hex-string'.
12777 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12778 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12779 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12780 (display-buffer-other-frame): Remove unused variable `old-window'.
12781 (kill-buffer-hook): Declare.
12782 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12783 Mark unused parameters.
12784 (after-find-file): Pass 1 to `auto-save-mode', not t.
12786 * files-x.el (auto-insert): Declare.
12787 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12789 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12790 variable `buf'. Mark unused parameter.
12791 (find-lisp-insert-directory): Mark unused parameter.
12793 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12794 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12795 (format-common-tail): Remove, unused.
12796 (format-deannotate-region): Remove unused variable `loc'.
12797 (format-annotate-region): Remove unused variable `p'.
12798 (format-annotate-single-property-change): Remove unused variables
12799 `default' and `tail'.
12801 * forms.el (read-file-filter): Declare.
12802 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12804 * frame.el (frame-creation-function-alist): Mark unused parameter.
12805 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12807 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12808 Remove unused parameters.
12809 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12810 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12812 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12813 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12814 (hfy-prepare-tag-map): Mark unused parameters.
12815 (htmlfontify-buffer): Use `called-interactively-p'.
12817 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12818 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12819 (ibuffer-do-occur): Mark unused parameters.
12820 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12821 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12823 * ibuffer.el: Don't quote `lambda'.
12824 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12825 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12826 Mark unused parameters.
12828 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12829 (ido-completing-read): Mark unused parameters.
12830 (ido-copy-current-word): Mark unused parameters;
12831 remove unused variable `name'.
12832 (ido-sort-merged-list): Remove unused parameter `dirs'.
12834 * ielm.el (ielm-input-sender): Mark unused parameter.
12835 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12836 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12837 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12838 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12839 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12841 * image-dired.el (image-dired-display-thumbs): Remove unused
12842 variables `curr-file' and `count'.
12843 (image-dired-remove-tag): Remove unused variable `start'.
12844 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12845 variable `curr-file'
12846 (image-dired-rotate-original): Remove unused variable `temp-file'.
12847 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12848 Remove unused variable `file'.
12849 (image-dired-gallery-generate): Remove unused variable `curr'.
12850 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12852 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12854 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12856 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12858 * isearch.el (minibuffer-history-symbol): Declare.
12859 (isearch-edit-string): Remove unused variable `err'.
12860 (isearch-message-prefix, isearch-message-suffix):
12861 Mark unused parameters.
12863 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12865 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12867 * makesum.el (double-column): Remove unused variable `cnt'.
12869 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12870 (ido-ignore-item-temp-list): Declare.
12872 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12873 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12874 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12875 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12878 * mouse-sel.el (mouse-extend-internal):
12879 Remove unused variable `orig-window-frame'.
12881 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12882 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12883 Move declarations before first use.
12884 (pcomplete-opt): Mark unused parameters; doc fix.
12886 * proced.el (proced-revert): Mark unused parameter.
12887 (proced-send-signal): Remove unused variable `err'.
12889 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12890 Rename parameter PREFIX-ARG to ARG.
12891 (ps-basic-plot-string, ps-basic-plot-whitespace):
12892 Mark unused parameters.
12894 * replace.el (replace-count): Define.
12895 (occur-revert-function): Mark unused parameters.
12896 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12897 (isearch-case-fold-search, isearch-string): Declare.
12898 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12899 bind `case-fold-search'. Remove unused variables `beg' and `end',
12901 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12902 COUNT and bind `replace-count'.
12903 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12906 * savehist.el (print-readably, print-string-length): Declare.
12908 * shadowfile.el (shadow-expand-cluster-in-file-name):
12909 Remove unused variable `cluster'.
12910 (shadow-copy-file): Remove unused variable `i'.
12911 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12912 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12913 (shadow-define-literal-group, shadow-define-regexp-group)
12914 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12916 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12917 (shell): Use `called-interactively-p'.
12918 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12920 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12921 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12922 (delete-backward-char): Remove unused variable `ocol'.
12923 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12924 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12925 (event-apply-hyper-modifier, event-apply-shift-modifier)
12926 (event-apply-control-modifier, event-apply-meta-modifier):
12927 Mark unused parameters.
12928 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12929 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12931 * speedbar.el (speedbar-ignored-directory-expressions)
12932 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12933 (speedbar-find-file, speedbar-dir-follow)
12934 (speedbar-directory-buttons-follow, speedbar-tag-find)
12935 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12936 (speedbar-buffers-line-directory, speedbar-buffer-click):
12937 Mark unused parameters.
12938 (speedbar-tag-file): Remove unused variable `mode'.
12939 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12941 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12943 * talk.el (talk): Remove unused variable `display'.
12945 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12946 (tar-write-region-annotate): Mark unused parameter.
12948 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12949 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12950 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12951 warning by another.
12953 * time-stamp.el (time-stamp-string-preprocess):
12954 Remove unused variable `require-padding'.
12956 * tree-widget.el (widget-glyph-enable): Declare.
12957 (tree-widget-action): Mark unused parameter.
12959 * w32-fns.el (x-get-selection): Mark unused parameter.
12960 (autoload-make-program, generated-autoload-file): Declare.
12962 * wdired.el (wdired-revert): Mark unused parameters.
12963 (wdired-xcase-word): Remove unused variable `err'.
12965 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12966 (whitespace-help-scroll): Remove unused variable `data-help'.
12968 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12969 (widget-image-insert, widget-after-change, default)
12970 (widget-default-format-handler, widget-default-notify)
12971 (widget-default-prompt-value, widget-info-link-action)
12972 (widget-url-link-action, widget-function-link-action)
12973 (widget-variable-link-action, widget-file-link-action)
12974 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12975 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12976 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12977 (widget-insert-button-action, widget-delete-button-action, visibility)
12978 (widget-documentation-link-action, widget-documentation-string-action)
12979 (widget-const-prompt-value, widget-regexp-match, symbol)
12980 (widget-coding-system-prompt-value)
12981 (widget-key-sequence-value-to-external, sexp)
12982 (widget-sexp-value-to-internal, character, vector, cons)
12983 (widget-choice-prompt-value, widget-boolean-prompt-value)
12984 (widget-color--choose-action): Mark unused parameters.
12985 (widget-item-match-inline, widget-choice-match-inline)
12986 (widget-checklist-match, widget-checklist-match-inline)
12987 (widget-group-match): Rename parameter VALUES to VALS.
12988 (widget-field-value-set): Remove unused variable `size'.
12989 (widget-color-action): Remove unused variables `value' and `start'.
12991 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12992 variable `dir'. Doc fix.
12993 (windmove-find-other-window): Don't pass it.
12995 * window.el (count-windows): Mark unused parameter.
12996 (bw-adjust-window): Remove unused variable `err'.
12998 * woman.el (woman-file-name): Remove unused variable `default'.
12999 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13000 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13001 (global-font-lock-mode): Declare.
13002 (woman-decode-region): Mark unused parameter.
13003 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13005 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13006 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13007 (x-dnd-handle-moz-url): Remove unused variable `title'.
13008 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13010 * xml.el (xml-parse-tag, xml-parse-attlist):
13011 Remove unused variable `pos'.
13013 2011-04-19 Glenn Morris <rgm@gnu.org>
13015 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13016 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13017 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13018 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13019 * calendar/cal-html.el (cal-html-insert-minical):
13020 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13021 (calendar-mark-date-pattern):
13022 Prefix "unused" locals.
13024 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13025 optional argument `style'.
13027 * calendar/appt.el (appt-make-list):
13028 * calendar/cal-china.el (calendar-chinese-date-string):
13029 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13030 (diary-hebrew-yahrzeit):
13031 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13032 * calendar/calendar.el (calendar-generate-window):
13033 * calendar/time-date.el (time-to-days):
13034 Remove unused local variables.
13036 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13038 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13039 glyphless-char-display table.
13040 (tabulated-list-glyphless-char-display): New var.
13042 2011-04-18 Sam Steingold <sds@gnu.org>
13044 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13045 to acknowledgments.
13047 2011-04-17 Glenn Morris <rgm@gnu.org>
13049 * calendar/diary-lib.el (diary-sexp-entry):
13050 * calendar/holidays.el (holiday-sexp):
13051 Set debug-on-error rather than the removed stack-trace-on-error.
13053 2011-04-16 Glenn Morris <rgm@gnu.org>
13055 * progmodes/f90.el: Use lexical-binding.
13056 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13058 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13060 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13061 (mail-mode): Setup mailalias completion here instead.
13062 * mail/mailalias.el: Use lexical-binding.
13063 (pattern, mailalias-done): Declare dynamic.
13064 (mail-completion-at-point-function): New function, from mail-complete.
13065 (mail-complete): Use it.
13066 (mail-completion-expand): New function.
13067 (mail-get-names): Use it.
13068 (mail-directory, mail-directory-process, mail-directory-stream):
13069 Don't use `pattern' for lexically bound arg.
13071 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13073 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13074 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13075 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13077 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13078 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13079 (byte-interactive-p): Define them again, for use when inlining
13082 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13084 * loadup.el: Use `string-to-number', not `string-to-int'.
13086 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13088 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13089 gud-gdb-complete-command.
13090 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13091 (gud-gdb-completion-at-point): New function.
13092 (gud-gdb-completions): Remove.
13094 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13096 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13097 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13098 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13099 whether `executable-find' is bound.
13101 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13103 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13105 * minibuffer.el (completion-in-region-mode-predicate)
13106 (completion-in-region-mode--predicate): New vars.
13107 (completion-in-region, completion-in-region--postch)
13108 (completion-in-region-mode): Use them.
13109 (completion--capf-wrapper): Also return the hook function.
13110 (completion-at-point, completion-help-at-point):
13111 Adjust and provide a predicate.
13113 Preserve arg names for advice of subr and lexical functions (bug#8457).
13114 * help-fns.el (help-function-arglist): Consolidate the subr and
13115 new-byte-code cases. Add argument `preserve-names' to extract names
13116 from the docstring when needed.
13117 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13118 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13119 (ad-arglist): Use help-function-arglist's new arg.
13120 (ad-definition-type): Use cond.
13122 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13124 * autorevert.el (auto-revert-handler):
13125 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13126 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13127 Don't quote lambda.
13129 * image-mode.el (image-transform-set-scale):
13130 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13132 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13134 * net/network-stream.el (network-stream-open-starttls): Only do
13135 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13136 Upgrades via gnutls-cli are too slow to be done opportunistically.
13138 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13140 * dframe.el (dframe-current-frame): Remove spurious quote.
13142 2011-04-12 Glenn Morris <rgm@gnu.org>
13144 * calendar/cal-tex.el (cal-tex-end-document):
13145 Try to automatically use latin1 input if needed.
13147 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13148 Don't try to cons a mark onto an empty element.
13150 2011-04-11 Leo Liu <sdl.web@gmail.com>
13152 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13154 (ido-kill-buffer-at-head): Support killing virtual buffers.
13156 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13158 * minibuffer.el (completion-show-inline-help): New var.
13159 (completion--do-completion, minibuffer-complete)
13160 (minibuffer-force-complete, minibuffer-complete-word):
13161 Inhibit minibuffer messages if completion-show-inline-help is nil.
13163 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13164 to avoid interference from inline help (Bug#5849).
13166 2011-04-10 Leo Liu <sdl.web@gmail.com>
13168 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13171 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13173 * image-mode.el (image-toggle-display-image): Signal an error if
13175 (image-transform-mode, image-transform-resize)
13176 (image-transform-set-rotation): Doc fix.
13177 (image-transform-set-resize): Delete.
13178 (image-transform-set-scale, image-transform-fit-to-height)
13179 (image-transform-fit-to-width): Handle image-toggle-display-image
13180 and image-transform-resize directly.
13182 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13184 * doc-view.el (doc-view-fit-width-to-window)
13185 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13186 New functions for fitting the shown image to the Emacs window size.
13187 (doc-view-mode-map): Add bindings for the new functions.
13189 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13191 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13192 Fix typo in docstring.
13194 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13196 * files.el (file-size-human-readable): Produce one digit after
13197 decimal, like "ls -lh" does.
13199 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13200 the file size representation.
13202 * simple.el (list-processes): If async subprocesses are not
13203 available, error out with a clear error message.
13205 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13207 * help.el (help-form-show): New function, to be called from C.
13208 Put help-form output in a buffer named differently than *Help*.
13210 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13212 * files.el (file-size-human-readable): New function.
13214 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13215 computing the representation inline. Don't require `cl'.
13217 2011-04-08 Glenn Morris <rgm@gnu.org>
13219 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13221 * net/browse-url.el (browse-url-firefox):
13222 Test system-type, not system-configuration.
13224 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13225 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13226 Use log-edit-empty-buffer-p. (Bug#7598)
13228 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13229 (rlogin-mode-map): Initialize in the defvar.
13230 (rlogin): Use ignore-errors.
13232 * replace.el (occur-mode-map): Some fixes for menu items.
13234 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13236 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13238 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13240 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13241 issuing unused warnings.
13243 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13246 * simple.el: Lisp reimplement of list-processes. Based on an
13247 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13248 (process-menu-mode): New major mode.
13249 (list-processes--refresh, list-processes):
13250 (process-menu-visit-buffer): New functions.
13252 * files.el (save-buffers-kill-emacs): Don't assume any return
13253 value of list-processes, which is undocumented anyway.
13255 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13257 * emacs-lisp/tabulated-list.el: New file.
13259 * emacs-lisp/package.el: Use Tabulated List mode.
13260 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13261 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13262 table format using Tabulated List mode variables.
13263 (package--push): New macro, replacing package-list-maybe-add.
13264 (package-menu--generate): Use package--push. Renamed from
13265 package--generate-package-list.
13266 (package-menu-refresh, list-packages): Use it.
13267 (package-menu--print-info): Rename from package-print-package.
13268 Return insertion data instead of inserting it directly.
13269 (package-menu-describe-package, package-menu-execute):
13270 Use tabulated-list-get-id.
13271 (package-menu-mark-delete, package-menu-mark-install)
13272 (package-menu-mark-unmark, package-menu-backup-unmark)
13273 (package-menu-mark-obsolete-for-deletion):
13274 Use tabulated-list-put-tag.
13275 (package--list-packages, package-menu-revert)
13276 (package-menu-get-package, package-menu-get-version)
13277 (package-menu-sort-by-column): Functions deleted.
13278 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13279 (package-menu--status-predicate, package-menu--version-predicate)
13280 (package-menu--name-predicate)
13281 (package-menu--description-predicate): Handle arguments in the
13282 Tabulated List format.
13283 (package-list-packages-no-fetch): Call list-packages.
13285 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13287 * files.el (after-find-file-from-revert-buffer): Remove variable.
13288 (after-find-file): Don't bind it.
13289 (revert-buffer-in-progress-p): New variable.
13290 (revert-buffer): Bind it.
13291 Pass nil for `after-find-file-from-revert-buffer'.
13293 * saveplace.el (save-place-find-file-hook): Use new variable
13294 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13296 2011-04-06 Glenn Morris <rgm@gnu.org>
13298 * Makefile.in (AUTOGEN_VCS): New variable.
13299 (autoloads): Use $AUTOGEN_VCS.
13301 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13302 * calendar/calendar.el (calendar-mode-map):
13303 Check for toolkit scroll bars. (Bug#8305)
13305 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13307 * minibuffer.el (completion-in-region--postch)
13308 (completion-in-region-mode): Remove unnecessary messages.
13310 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13312 * font-lock.el (font-lock-refresh-defaults):
13313 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13314 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13316 * info.el (Info-directory-list, Info-read-node-name-2)
13317 (Info-split-parameter-string): Doc fixes.
13318 (Info-virtual-nodes): Reflow docstring.
13319 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13320 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13321 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13322 Fix typos in docstrings.
13323 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13324 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13325 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13326 (Info-restore-desktop-buffer): Mark unused parameters.
13327 (Info-directory-find-file, Info-directory-find-node)
13328 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13329 (Info-virtual-index-find-node, Info-apropos-find-file)
13330 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13331 Mark unused parameters; fix typos in docstrings.
13332 (Info-virtual-index): Remove unused local variable `nodename'.
13334 2011-04-05 Deniz Dogan <deniz@dogan.se>
13336 * net/rcirc.el: Update my e-mail address.
13337 (rcirc-mode-map): Remove M-o binding.
13339 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13341 * startup.el (command-line): Save the cursor's theme-face
13342 directly, instead of using face-override-spec.
13344 * custom.el (load-theme): Minor optimization in assigning faces.
13346 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13348 * help-fns.el (describe-variable): Complete all variables having
13349 documentation, including keywords.
13350 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13352 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13354 Convert to lexical-binding.
13356 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13357 (bs--get-marked-string, bs--get-modified-string)
13358 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13359 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13360 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13362 * ehelp.el (electric-help-execute-extended)
13363 (electric-help-ctrl-x-prefix):
13364 * hexl.el (hexl-revert-buffer-function):
13365 * linum.el (linum-after-change, linum-after-scroll):
13366 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13368 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13370 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13377 * epg.el: Use lexical binding.
13379 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13381 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13383 * textmodes/flyspell.el (flyspell-word): Recognize default
13384 dictionary case for flyspell-mark-duplications-exceptions.
13385 Use regexp matching for languages.
13386 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13387 default dictionary (Bug#7926).
13389 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13391 * emacs-lisp/package.el (package--with-work-buffer):
13392 Recognize https URLs.
13394 * net/network-stream.el: Move from gnus/proto-stream.el.
13395 Change prefix to network-stream throughout.
13396 (open-protocol-stream): Merge into open-network-stream, leaving
13397 open-protocol-stream as an alias. Handle nil BUFFER args.
13399 * subr.el (open-network-stream): Move to net/network-stream.el.
13401 2011-04-02 Glenn Morris <rgm@gnu.org>
13403 * find-dired.el (find-exec-terminator): New option.
13404 (find-ls-option): Test for -ls support.
13405 (find-ls-subdir-switches): Test for -b in find-ls-option.
13406 (find-dired, find-grep-dired): Doc fixes.
13407 (find-dired): Use find-exec-terminator.
13409 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13410 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13411 (find-name-arg): Remove purecopy.
13413 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13414 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13415 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13416 accordingly. Don't add the null-device if not needed.
13418 * files.el (save-some-buffers): Doc fix.
13420 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13422 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13424 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13426 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13427 Use `dolist' rather than `mapcar'.
13429 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13431 Add lexical binding.
13433 * subr.el (apply-partially): Use new closures rather than CL.
13434 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13435 (dolist, dotimes): Use slightly different expansion for lexical code.
13436 (functionp): Move to C.
13437 (letrec): New macro.
13438 (with-wrapper-hook): Use it and apply-partially instead of CL.
13439 (eval-after-load): Preserve lexical-binding.
13440 (save-window-excursion, with-output-to-temp-buffer): Turn them
13443 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13445 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13447 (help-add-fundoc-usage): Don't add `Not documented'.
13448 (help-function-arglist): Handle closures, subroutines, and new
13449 byte-code-functions.
13450 (help-make-usage): Remove leading underscores.
13451 (describe-function-1): Handle closures.
13452 (describe-variable): Use special-variable-p for completion.
13454 * files.el (lexical-binding): Declare safe.
13456 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13457 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13458 (pcase): Add `let' pattern.
13459 Change memoization so it actually works.
13460 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13461 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13464 * emacs-lisp/macroexp.el: Use lexical binding.
13465 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13466 Don't convert ' to #' without checking that it's indeed quoting
13469 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13470 Use eval-sexp-add-defvars.
13471 (eval-sexp-add-defvars): New fun.
13473 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13475 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13477 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13478 than the internal `byte-compile-lambda'.
13479 (defmethod): Don't hide code under quotes.
13480 (eieio-defmethod): New `code' argument.
13482 * emacs-lisp/eieio-comp.el: Remove.
13484 * emacs-lisp/edebug.el (edebug-eval-defun)
13485 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13486 (edebug-toggle): Avoid `eval'.
13488 * emacs-lisp/disass.el (disassemble-internal): Handle new
13490 (disassemble-1): Handle new byte codes.
13492 * emacs-lisp/cl.el (pushnew): Silence warning.
13494 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13495 (cl-byte-compile-throw): Remove.
13496 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13498 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13501 * emacs-lisp/cconv.el: New file.
13503 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13504 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13505 (byte-compile-initial-macro-environment):
13506 Handle declare-function here.
13507 (byte-compile--lexical-environment): New var.
13508 (byte-stack-ref, byte-stack-set, byte-discardN)
13509 (byte-discardN-preserve-tos): New lap codes.
13510 (byte-interactive-p): Don't use any more.
13511 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13513 (byte-compile-lapcode): Use them and handle new lap codes.
13514 (byte-compile-obsolete): Remove.
13515 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13516 (byte-compile-arglist-warn): Check late def of inlinable funs.
13517 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13518 since they should have been expanded by now.
13519 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13520 (byte-compile-from-buffer): Remove unused second arg.
13521 (byte-compile-preprocess): New function.
13522 (byte-compile-toplevel-file-form): New function to distinguish
13523 file-form calls from outside from file-form calls from hunk-handlers.
13524 (byte-compile-file-form): Simplify.
13525 (byte-compile-file-form-defsubst): Remove.
13526 (byte-compile-file-form-defmumble): Simplify now that
13527 byte-compile-lambda always returns a byte-code-function.
13528 (byte-compile): Preprocess.
13529 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13530 Remove, not used any more.
13531 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13532 (byte-compile-make-args-desc): New funs.
13533 (byte-compile-lambda): Handle lexical functions. Always return
13534 a byte-code-function.
13535 (byte-compile-reserved-constants): New var, to make up room for
13536 closed-over variables.
13537 (byte-compile-constants-vector): Obey it.
13538 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13539 (byte-compile-macroexpand-declare-function): New function.
13540 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13541 byte-code-functions.
13542 (byte-compile-form): Check obsolescence here.
13543 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13544 (byte-compile-variable-ref): Remove.
13545 (byte-compile-dynamic-variable-op): New fun.
13546 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13547 (byte-compile-variable-set): New funs.
13548 (byte-compile-discard): Add 2 args.
13549 (byte-compile-stack-ref, byte-compile-stack-set)
13550 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13551 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13552 macroexpand-all instead.
13553 (byte-compile-quote-form): Remove.
13554 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13555 (byte-compile-bind, byte-compile-unbind): New funs.
13556 (byte-compile-let): Handle let* and lexical binding.
13557 (byte-compile-let*): Remove.
13558 (byte-compile-catch, byte-compile-unwind-protect)
13559 (byte-compile-track-mouse, byte-compile-condition-case):
13560 Handle a new :fun-body form, used for lexical scoping.
13561 (byte-compile-save-window-excursion)
13562 (byte-compile-with-output-to-temp-buffer): Remove.
13563 (byte-compile-defun): Simplify.
13564 (byte-compile-stack-adjustment): New fun.
13565 (byte-compile-out): Use it.
13566 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13568 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13571 * emacs-lisp/byte-opt.el: Use lexical binding.
13572 (byte-inline-lapcode): Remove (to bytecomp).
13573 (byte-compile-inline-expand): Pay attention to inlining to/from
13574 lexically bound code.
13575 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13577 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13578 any more and don't call compiler-macros.
13579 (byte-compile-splice-in-already-compiled-code): Remove.
13580 (byte-code): Don't inline any more.
13581 (disassemble-offset): Receive `bytes' as argument rather than via
13583 (byte-compile-tag-number): Declare before first use.
13584 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13585 `return' even if make-spliceable.
13586 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13587 obsolete interactive-p.
13588 (byte-optimize-lapcode): Optimize new lap-codes.
13589 Don't trip up on new form of `byte-constant' lap code.
13591 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13593 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13595 * custom.el (custom-initialize-default, custom-declare-variable):
13598 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13600 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13601 (COMPILE_FIRST): Add macroexp and cconv.
13602 * makefile.w32-in: Mirror changes in Makefile.in.
13604 * vc/cvs-status.el:
13608 * vc/smerge-mode.el:
13609 * textmodes/bibtex-style.el:
13610 * textmodes/css.el:
13618 * emacs-lisp/smie.el:
13621 * abbrev.el: Use lexical binding.
13623 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13625 * info.el (info-display-manual): New function.
13627 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13629 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13631 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13633 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13634 an entry for that server in rcirc-authinfo. (Bug#8385)
13636 2011-03-31 Glenn Morris <rgm@gnu.org>
13638 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13640 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13642 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13644 * progmodes/python.el (python-default-interpreter)
13645 (python-python-command-args, python-jython-command-args)
13646 (python-which-shell, python-which-args, python-which-bufname)
13647 (python-file-queue, python-comint-output-filter-function)
13648 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13649 variables and functions.
13651 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13653 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13654 (completion-in-region-mode): New minor mode.
13655 (completion-in-region): Use it.
13656 (completion-in-region--data, completion-in-region-mode-map): New vars.
13657 (completion-in-region--postch): New function.
13658 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13660 (completion--capf-wrapper): New function.
13661 (completion-at-point): Use it to track well-behavedness of
13663 (completion-help-at-point): New command.
13665 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13667 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13668 syntax class to search for whitespace on a single line
13669 (Message-ID: <4D938140.4030905@redhat.com>).
13671 2011-03-30 Leo Liu <sdl.web@gmail.com>
13673 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13675 (edit-abbrevs-map): Bind them here.
13676 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13678 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13680 * allout.el (allout-hide-by-annotation, allout-flag-region):
13681 Reduce possibility of overlay leakage by making them volatile.
13683 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13684 hash is not shared between buffers. Mode initialization is
13685 responsible for giving it a useful starting value.
13686 (allout-item-span): Reduce possibility of overlay leakage by
13687 making them volatile.
13688 (allout-widgets-count-buttons-in-region): Add diagnostic function
13689 for tracking down button overlay leaks.
13691 2011-03-29 Leo Liu <sdl.web@gmail.com>
13693 * ido.el (ido-read-internal): Use the default history var
13694 minibuffer-history if no HISTORY is specified.
13696 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13698 * net/imap.el (imap-shell-open, imap-process-connection-type):
13699 Use imap-process-connection-type for 'shell' streams as well as
13700 Kerberos, SSL, other subprocesses.
13702 2011-03-28 Leo Liu <sdl.web@gmail.com>
13704 * abbrev.el (abbrev-table-empty-p): New function.
13705 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13706 nonempty ones. (Bug#5937)
13708 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13710 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13712 2011-03-27 Leo Liu <sdl.web@gmail.com>
13714 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13715 for foreground and background colors.
13716 (ansi-color-make-color-map): Adapt.
13718 2011-03-25 Leo Liu <sdl.web@gmail.com>
13720 * midnight.el (midnight-time-float): Remove. Note it calculates
13721 the microsecond component incorrectly and seconds-to-time does the
13723 Remove redundant (require 'timer).
13725 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13726 (ido-completions): Remove unused arguments. (Bug#8329)
13728 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13730 * minibuffer.el (completion--flush-all-sorted-completions):
13731 Remove itself from hook.
13732 (completion-at-point): Let the functions perform the completion
13733 immediately and return nil or t.
13734 * comint.el (comint-dynamic-complete-functions): Now identical to
13735 completion-at-point-functions.
13736 (comint-dynamic-list-input-ring): Remove unused var `index'.
13737 (comint--match-partial-filename, comint--unquote&expand-filename):
13738 New funs, split from comint-match-partial-filename.
13739 (comint-dynamic-complete): Use completion-at-point.
13740 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13742 2011-03-24 Drew Adams <drew.adams@oracle.com>
13744 * thingatpt.el: Support `defun'.
13746 2011-03-23 Leo Liu <sdl.web@gmail.com>
13748 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13750 * help-mode.el (help-mode-finish): Tweak regexp.
13752 2011-03-23 Glenn Morris <rgm@gnu.org>
13754 * eshell/esh-opt.el (eshell-eval-using-options):
13755 Do not bind unused local variable `eshell-option-stub'.
13757 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13759 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13761 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13762 keymap variable in `with-no-warnings' to avoid a warning when the
13763 keymap has been already `defconst'ed.
13765 2011-03-22 Leo Liu <sdl.web@gmail.com>
13767 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13768 encode all chars in abbrevs; otherwise use emacs-mule or
13769 utf-8-emacs. (Bug#8308)
13771 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13773 * simple.el (backward-delete-char-untabify):
13774 Avoid warning about using `delete-backward-char'.
13776 * image.el (image-type-file-name-regexps): Make it variable.
13777 `imagemagick-register-types' modifies it, and the user may want
13778 to add new extensions for known image types.
13779 (imagemagick-register-types): Throw error if not using ImageMagick.
13781 2011-03-22 Leo Liu <sdl.web@gmail.com>
13783 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13784 located before rcirc-prompt-end-marker.
13785 (rcirc-complete): Error if point is not after rcirc prompt.
13786 Handle the case when table is nil.
13787 (rcirc-user-authenticated): Define to fix compiler warning.
13789 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13791 * custom.el (custom--inhibit-theme-enable): Make it affect only
13792 custom-theme-set-variables and custom-theme-set-faces.
13793 (provide-theme): Ignore custom--inhibit-theme-enable.
13794 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13795 (custom-enabling-themes): Delete variable.
13796 (enable-theme): Accept only loaded themes as arguments.
13797 Ignore the special custom-enabled-themes variable.
13798 (custom-enabled-themes): Forbid themes from setting this.
13799 Eliminate use of custom-enabling-themes.
13800 (custom-push-theme): Quote "changed" custom var entry.
13802 2011-03-21 Leo Liu <sdl.web@gmail.com>
13804 * ido.el (ido-read-internal): Add ido-selected to history instead
13807 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13809 * subr.el (deferred-action-list, deferred-action-function):
13812 2011-03-21 Leo Liu <sdl.web@gmail.com>
13814 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13815 change on 2011-02-13 (bug#8309).
13817 * minibuffer.el (read-file-name-function): Change default value.
13818 (read-file-name--defaults): Rename from read-file-name-defaults.
13819 (read-file-name-default): Rename from read-file-name.
13820 (read-file-name): Call read-file-name-function.
13822 2011-03-21 Glenn Morris <rgm@gnu.org>
13824 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13827 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13829 * cus-theme.el: Add missing provide statement.
13830 (customize-create-theme): Extract theme value correctly.
13831 (custom-theme-visit-theme): Autoload.
13832 (customize-create-theme): Prompt before inserting default faces.
13834 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13836 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13837 units and musical notes.
13839 2011-03-20 Leo Liu <sdl.web@gmail.com>
13841 * ido.el (ido-read-internal): Use completing-read-default.
13842 (ido-completing-read): Fix compatibility with completing-read.
13844 2011-03-20 Christian Ohler <ohler@gnu.org>
13846 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13847 (ert-delete-all-tests): Use `called-interactively-p' rather than
13849 (ert--make-xrefs-region): Respect END.
13851 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13853 * dired-aux.el (dired-create-directory): Signal an error if the
13854 directory already exists (Bug#8246).
13856 * facemenu.el (list-colors-display): Call list-faces-display
13857 inside with-help-window.
13858 (list-colors-print): Use display property to align the final
13859 column, instead of checking window-width.
13861 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13863 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13864 windows-nt systems.
13865 (emerge-protect-metachars): Quote correctly for ms-dos and
13866 windows-nt systems.
13868 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13870 * info.el (info-initialize): Replace all uses of `:' with
13871 path-separator for compatibility with non-Unix systems.
13872 Cache quoting of path-separator. (Bug#8258)
13874 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13876 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13877 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13878 (mouse-avoidance-mode): Fix typos in docstrings.
13880 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13882 * startup.el (package-subdirectory-regexp): Move from package.el.
13883 Omit \\` and \\', and let callers add them.
13885 * emacs-lisp/package.el (package-strip-version)
13886 (package-load-all-descriptors): Add \\` and \\' to
13887 package-subdirectory-regexp before using it.
13888 (package-untar-buffer): New arg DIR; ensure that file untars only
13889 into this expected directory. Remove superfluous delete-region.
13890 (package-unpack): Caller changed.
13891 (package-tar-file-info): Use package-subdirectory-regexp.
13893 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13895 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13896 diff-mode-shared-map (bug#8284).
13897 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13899 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13901 * calendar/time-date.el (format-seconds): Use assoc instead of
13902 assoc-string, since assoc-string doesn't exist in XEmacs.
13904 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13906 * custom.el (custom-known-themes): Reflow docstring.
13907 (custom-theme-load-path): Fix typo in docstring.
13908 (load-theme): Fix typo in error message.
13909 (custom-available-themes, custom-variable-theme-value):
13910 Use `let', not `let*'.
13912 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13914 * calc/README: Mention inclusion of musical notes.
13916 * calc/calc-units.el (calc-lu-quant): Rename from
13917 `calc-logunits-quantity'.
13918 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13919 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13920 (calc-db): Rename from `calc-dblevel'.
13921 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13922 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13923 (calc-np): Rename from `calc-nplevel'.
13924 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13925 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13926 (calc-lu-plus): Rename from `calc-logunits-add'.
13927 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13928 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13929 (calc-lu-minus): Rename from `calc-logunits-sub'.
13930 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13931 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13932 (calc-lu-times): Rename from `calc-logunits-mul'.
13933 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13934 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13935 (calc-lu-divide): Rename from `calc-logunits-div'.
13936 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13937 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13939 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13940 functions being autoloaded.
13942 * calc/calc.el (calc-lu-power-reference): Rename from
13943 `calc-logunits-power-reference'.
13944 (calc-lu-field-reference): Rename from
13945 `calc-logunits-field-reference'.
13947 * calc/calc-help.el (calc-l-prefix-help):
13948 Mention musical note functions.
13950 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13952 * minibuffer.el (completion-all-sorted-completions):
13953 Use :completion-cycle-penalty text property if present.
13955 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13957 * allout.el (allout-yank-processing): Adjust for new rebulleting
13958 regime so bullet being yanked is used without prompting the user
13961 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13963 * startup.el (command-line): Warn the user that _emacs is deprecated.
13965 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13967 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13968 (delphi-verbose, delphi-comment-face, delphi-string-face)
13969 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13970 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13971 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13972 (delphi-new-comment-line, delphi-font-lock-defaults)
13973 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13974 Fix typos in docstrings.
13976 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13978 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13979 Invert the roles of character and string values for INSTEAD, so a
13980 string is used for the more common case of a defaulting prompt.
13982 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13984 * progmodes/ruby-mode.el (ruby-backward-sexp):
13985 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13986 * play/gamegrid.el (gamegrid-make-face):
13987 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13988 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13989 * notifications.el (notifications-notify):
13990 * net/xesam.el (xesam-search-engines):
13991 * net/quickurl.el (quickurl-list-insert):
13992 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13994 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13996 * startup.el (command-line): Update package subdirectory regexp.
13998 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14000 * allout.el (allout-abbreviate-flattened-numbering)
14001 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14003 * subr.el (read-char-choice): Only show the cursor after the prompt,
14004 not after the answer.
14006 2011-03-15 Kevin Ryde <user42@zip.com.au>
14008 * help-fns.el (variable-at-point): Skip leading quotes, if any
14011 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14013 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14016 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14018 * shell.el (shell): When called interactively, offer to change the
14019 shell file name on remote hosts.
14021 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14023 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14024 integration for LDAP parameters. The host, base, user or binddn,
14025 and secret tokens can be specified in a netrc file, for instance.
14026 This is optional because an `auth-source' parameter must be
14027 specified in the search attributes.
14029 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14031 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14033 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14035 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14036 into declaration. Remove redundant and harmful binding.
14038 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14040 * files.el (file-ownership-preserved-p): Pass `integer' as an
14041 explicit 2nd argument to `file-attributes'. If the file's owner
14042 is the Administrators group on Windows, and the current user is
14043 Administrator, consider that a match.
14045 * server.el (server-ensure-safe-dir): Consider server directory
14046 safe on MS-Windows if its owner is the Administrators group while
14047 the current Emacs user is Administrator. Use `=' to compare
14048 numerical UIDs, since they could be integers or floats.
14050 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14052 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14054 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14056 Sync with Tramp 2.2.1.
14058 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14060 * net/trampver.el: Update release number.
14062 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14064 * progmodes/compile.el (compilation--previous-directory): Fix up
14065 various nil/dead-marker mismatches (bug#8014).
14066 (compilation-directory-properties, compilation-error-properties):
14067 Don't call it at a position past the one we're about to change.
14069 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14070 Disable obsolescence warnings in the file that declares it.
14072 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14074 * allout-widgets.el (allout-widgets-tally):
14075 Initialize allout-widgets-tally as a hash table rather than nil to
14076 prevent mode-line redisplay warnings. Also, clarify the module
14077 description and fix a comment typo.
14079 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14081 * help-fns.el (describe-variable): Don't complete keywords.
14082 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14084 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14086 * emacs-lisp/package.el (package-version-join): Impose a standard
14087 string representation for pre/alpha/beta version lists.
14088 (package-unpack-single): Standardize the directory name by passing
14089 it through package-version-join.
14090 (package-strip-rcs-id): Accept any version string that does not
14091 signal an error in version-to-list.
14093 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14095 * simple.el (delete-trailing-whitespace): Return nil for the
14096 benefit of `write-file-functions'.
14098 2011-03-10 Glenn Morris <rgm@gnu.org>
14100 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14102 * vc/vc-git.el (vc-git-program): New option.
14103 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14104 (vc-git--call): Use it.
14106 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14108 * cus-edit.el (Custom-newline): If no button at point, look
14109 for a subgroup button at start-of-line. (Bug#2298)
14111 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14113 2011-03-10 Julien Danjou <julien@danjou.info>
14115 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14116 `cursor-type' is nil.
14118 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14120 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14122 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14124 * allout.el: Change so yank of distinctive-bullet items
14125 preserves the existing header prefix, rebulleting it if necessary,
14126 rather than replacing it. This is necessary for proper operation
14127 of cooperative addons like allout-widgets.
14128 (allout-make-topic-prefix, allout-rebullet-heading):
14129 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14130 value as alternate bullet to be used, instead of prompting the user
14131 for a bullet character.
14133 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14135 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14136 Do not use `tramp-file-name-port', because this returns also
14137 `tramp-default-port'.
14139 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14141 * net/rcirc.el (rcirc-handler-001): Remove useless
14142 with-rcirc-process-buffer.
14143 (rcirc-check-auth-status): Swap arguments to string-match.
14145 2011-03-09 Glenn Morris <rgm@gnu.org>
14147 * shell.el (shell-mode):
14148 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14150 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14151 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14153 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14155 * emacs-lisp/package.el (package-refresh-contents)
14156 (package-menu-execute): Use condition-case-no-debug.
14158 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14160 * simple.el (shell-command-to-string): Use `process-file'.
14162 * emacs-lisp/package.el (package-tar-file-info): Handle also
14165 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14166 Use `equal' for upload base check.
14168 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14170 * textmodes/texinfo.el (texinfo-environments):
14171 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14173 2011-03-08 Glenn Morris <rgm@gnu.org>
14175 * cus-start.el (cursor-in-non-selected-windows):
14176 Fix :set quoting oddness. (Bug#8192)
14178 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14179 in some setf expressions. (Bug#2159)
14181 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14183 * custom.el (custom-available-themes): Return themes in
14184 alphabetical order.
14186 See ChangeLog.15 for earlier changes.
14188 ;; Local Variables:
14192 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14194 This file is part of GNU Emacs.
14196 GNU Emacs is free software: you can redistribute it and/or modify
14197 it under the terms of the GNU General Public License as published by
14198 the Free Software Foundation, either version 3 of the License, or
14199 (at your option) any later version.
14201 GNU Emacs is distributed in the hope that it will be useful,
14202 but WITHOUT ANY WARRANTY; without even the implied warranty of
14203 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14204 GNU General Public License for more details.
14206 You should have received a copy of the GNU General Public License
14207 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.