1 2012-05-25 Glenn Morris <rgm@gnu.org>
3 * paths.el: Remove no-byte-compile.
4 * loadup.el: No need to load paths.el uncompiled.
6 * image.el (imagemagick-types-inhibit): Doc fix.
8 * version.el: Remove no-byte-compile and associated formatting.
9 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10 is ancient code from when there was an "inc-vers.el".
12 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14 * progmodes/gdb-mi.el: Minor style changes.
15 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
16 Turn into minor modes.
17 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
18 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
19 (gdb-shell): Remove unneeded let-binding.
20 (gdb-get-many-fields): Eliminate O(n²) behavior.
22 2012-05-25 Eli Zaretskii <eliz@gnu.org>
24 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
25 platforms that don't link in fontset.c.
27 2012-05-25 Juri Linkov <juri@jurta.org>
29 Use the same diff color scheme as in modern VCSes (bug#10181).
31 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
32 to avoid confusion with `diff-added' that now uses green colors.
33 (diff-removed): Use shades of red.
34 (diff-added): Use shades of green.
35 (diff-changed): Leave just the yellow color.
36 (diff-use-changed-face): New variable.
37 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
38 how to highlight context diff changes.
39 (diff-refine-change): Use shades of yellow.
40 (diff-refine-removed): New face that uses shades of red.
41 (diff-refine-added): New face that uses shades of green.
42 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
43 `diff-refine-removed' in the call to `smerge-refine-subst'
44 depending on the value of `diff-use-changed-face'.
46 * vc/smerge-mode.el (smerge-mine): Use shades of red.
47 (smerge-other): Use shades of green.
48 (smerge-base): Use shades of yellow.
49 (smerge-refined-change): Empty face.
50 (smerge-refined-removed): New face that uses shades of red.
51 (smerge-refined-added): New face that uses shades of green.
52 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
53 args `props-r' and `props-a', and use them. Doc fix.
54 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
55 on its value use different faces `smerge-refined-change',
56 `smerge-refined-removed', `smerge-refined-added' in the call to
57 `smerge-refine-subst'.
59 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
60 Add face condition `min-colors 88' with shades of red.
61 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
62 `min-colors 88' with shades of green.
63 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
64 `min-colors 88' with shades of yellow.
66 2012-05-24 Glenn Morris <rgm@gnu.org>
68 * paths.el (prune-directory-list, remote-shell-program): Move to...
69 * files.el (prune-directory-list, remote-shell-program): ...here.
70 For the latter, delay initialization, prefer ssh, just search PATH.
72 * paths.el (term-file-prefix): Move to faces.el (the only user).
73 * faces.el (term-file-prefix): Move here, make it a defcustom.
75 * paths.el (news-directory, news-path, news-inews-program):
76 Move to gnus/nnspool.el.
78 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
80 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
81 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
82 Make the latter a defcustom, with a delayed initialization.
84 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
85 These were deleted from Gnus itself late 2010.
87 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
89 * progmodes/which-func.el (which-func-ff-hook):
90 Check against user-error, not error.
92 * emacs-lisp/edebug.el (top): Do not load or set up loading of
93 cl-specs.el, which no longer exists.
95 2012-05-22 Glenn Morris <rgm@gnu.org>
97 * info.el (info-emacs-bug): New command.
98 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
99 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
101 2012-05-21 Glenn Morris <rgm@gnu.org>
103 * makefile.w32-in (update-subdirs-SH):
104 * Makefile.in (update-subdirs): Update for moved update-subdirs.
106 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
108 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
110 * progmodes/compile.el (compilation-error-regexp-alist-alist):
111 Simplify Maven regexp, and make sure the file can't start with a space
114 2012-05-21 Glenn Morris <rgm@gnu.org>
116 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
117 Scrap superfluous subshells.
119 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
121 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
122 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
124 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
126 * calc/calc.el (calc-ensure-consistent-units): New variable.
128 * calc/calc-units.el (math-consistent-units-p)
129 (math-check-unit-consistency): New functions.
130 (calc-quick-units, calc-convert-units):
131 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
133 (calc-extract-units): Fix typo.
135 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
137 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
139 * textmodes/flyspell.el: Commenting style, plus code simplifications.
140 (flyspell-default-deplacement-commands): Don't spell check after
141 repeated window/frame switches (e.g. triggered by mouse-movement).
142 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
143 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
144 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
145 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
147 (flyspell-get-casechars, flyspell-get-not-casechars):
148 Simplify; Don't bother removing a ] just to add it back.
149 * textmodes/ispell.el (ispell-program-name): Use executable-find.
151 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
153 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
155 (math-function-table): Add support for more C functions.
157 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
159 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
160 (flyspell-debug-signal-word-checked): Protect delay handling for
161 otherchars against empty otherchars.
163 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
165 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
166 their respective macro declarations.
167 * skeleton.el (define-skeleton):
168 * progmodes/compile.el (define-compilation-mode):
169 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
170 (define-ibuffer-filter):
171 * emacs-lisp/generic.el (define-generic-mode):
172 * emacs-lisp/easy-mmode.el (define-minor-mode)
173 (define-globalized-minor-mode):
174 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
175 * emacs-lisp/byte-run.el (defsubst):
176 * custom.el (deftheme): Add doc-string metadata.
178 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
180 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
182 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
184 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
186 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
187 * emacs-lisp/cl-macs.el: Idem.
188 * emacs-lisp/cl-specs.el: Remove.
190 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
192 Minor renaming of internal CL functions and variables.
193 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
194 (cl--position): Rename from cl-position.
195 (cl--delete-duplicates): Rename from cl-delete-duplicates.
196 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
197 (cl--random-state): Rename from *random-state*.
199 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
201 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
202 parens around the arg list (bug#11499).
204 2012-05-17 Juri Linkov <juri@jurta.org>
206 * isearch.el (word-search-regexp, word-search-backward)
207 (word-search-forward, word-search-backward-lax)
208 (word-search-forward-lax): Move functions from search.c
209 (bug#10145, bug#11381).
211 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
213 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
214 (flyspell-debug-signal-word-checked): Delay for otherchars as for
215 normal word components.
217 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
219 * minibuffer.el (completion--sifn-requote): Fix last change.
220 (minibuffer-local-must-match-filename-map):
221 Move define-obsolete-variable-alias before its var.
223 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
225 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
227 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
229 (completion--string-equal-p): New function.
230 (completion--twq-all): Use it to get better assertion failure data.
232 Only handle ".." and '..' quoting in shell-mode (bug#11466).
233 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
234 (shell--requote-argument): New functions.
235 (shell-completion-vars): Use them.
236 (shell--parse-pcomplete-arguments): Rename from
237 shell-parse-pcomplete-arguments.
238 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
239 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
240 Obey comint-file-name-quote-list.
242 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
243 (smie-indent-keyword): Use it.
245 2012-05-14 Stefan Merten <smerten@oekonux.de>
247 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
249 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
251 * net/rlogin.el (rlogin-mode-map): Fix last change.
253 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
255 * mail/smtpmail.el (smtpmail-send-command): Send the command and
256 the following \r\n using a single `process-send-string', since the
257 Lotus SMTP server refuses to accept any commands if they are sent
258 with two `process-send-string's (Bug#11444).
260 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
262 * shell.el (shell-parse-pcomplete-arguments):
263 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
265 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
267 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
268 (image-transform-scale, image-transform-right-angle-fudge): New vars.
269 (image-transform-width, image-transform-fit-width): New functions.
270 (image-transform-properties): Use them.
271 (image-transform-check-size): New function.
272 (image-toggle-display-image): Use it (for testing).
273 (image-transform-set-rotation): Reduce angle mod 360.
274 Delete obsolete comment.
276 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
278 * image-mode.el: Fix scaling (bug#11399).
279 (image-transform-resize): Doc fix.
280 (image-transform-properties): Default scale is 1 and height should
283 2012-05-13 Johan Bockgård <bojohan@gnu.org>
285 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
286 than hard-coding `car', to fix misbehavior when moving forward.
288 2012-05-13 Chong Yidong <cyd@gnu.org>
290 * emacs-lisp/tabulated-list.el (tabulated-list-format)
291 (tabulated-list-entries, tabulated-list-padding)
292 (tabulated-list-sort-key): Make permanent-local.
294 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
295 (electric-buffer-list): Put electric buffer menu
296 command descriptions in this docstring, instead of the docstring
297 of electric-buffer-menu-mode. Code cleanups.
298 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
299 Electric-buffer-menu-mode.
300 (electric-buffer-update-highlight): Minor code cleanup.
302 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
304 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
307 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
309 Move define-obsolete-variable-alias before the var's definition.
310 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
311 * tooltip.el (tooltip-hook):
312 * textmodes/reftex-toc.el (reftex-toc-map):
313 * textmodes/reftex-sel.el (reftex-select-label-map)
314 (reftex-select-bib-map):
315 * textmodes/reftex-index.el (reftex-index-map)
316 (reftex-index-phrases-map):
317 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
318 * progmodes/meta-mode.el (meta-mode-map):
319 * novice.el (disabled-command-hook):
320 * loadhist.el (unload-hook-features-list):
321 * frame.el (blink-cursor):
322 * files.el (find-file-not-found-hooks, write-file-hooks)
323 (write-contents-hooks):
324 * emulation/tpu-edt.el (GOLD-map):
325 * emacs-lock.el (emacs-lock-from-exiting):
326 * emacs-lisp/generic.el (generic-font-lock-defaults):
327 * emacs-lisp/chart.el (chart-map):
328 * dos-fns.el (register-name-alist):
329 * dired-x.el (dired-omit-files-p):
330 * desktop.el (desktop-enable):
331 * cus-edit.el (custom-mode-hook):
332 * buff-menu.el (buffer-menu-mode-hook):
333 * bookmark.el (bookmark-read-annotation-text-func)
334 (bookmark-exit-hooks):
335 * allout.el (allout-mode-deactivate-hook)
336 (allout-exposure-change-hook, allout-structure-added-hook)
337 (allout-structure-deleted-hook, allout-structure-shifted-hook):
338 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
339 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
340 comes before the corresponding variable's definition.
342 2012-05-12 Chong Yidong <cyd@gnu.org>
344 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
345 (Buffer-menu-mouse-select): Restore function (Bug#11459).
346 (Buffer-menu-mode-map): Bind it.
347 (Buffer-menu--pretty-name): Add a mouse-face property.
349 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
351 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
352 (prolog-upper-case-string, prolog-lower-case-string)
353 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
354 (prolog-use-smie, prolog-smie-grammar): New vars.
355 (prolog-smie-forward-token, prolog-smie-backward-token)
356 (prolog-smie-rules): New funs.
357 (prolog-comment-indent): Remove.
358 (prolog-mode-variables): Use default comment indentation instead.
360 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
361 (prolog-mode): Don't call them any more.
362 (prolog-electric-colon, prolog-electric-dash)
363 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
365 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
367 * minibuffer.el (completion--twq-all): Again, allow case differences.
369 * term.el: Move keymap initialization code to be more idiomatic.
370 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
371 (term-terminal-menu): Move initialization into declaration.
372 (term-escape-char): Let the user set it in her .emacs.
374 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
375 Provide SMIE-based indentation (not enabled by default yet).
376 (sh-mode-map): Don't bind electric keys.
377 Use electric-pair-mode instead of skeleton-pair.
378 (sh-assignment-regexp): Fit within 80 columns.
379 (sh-indent-supported): Specify actual shell name instead of boolean.
380 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
381 (sh-maybe-here-document): Use it. Make obsolete.
382 (sh-electric-here-document-mode) New minor mode.
383 (sh-mode): Use it. Don't set sh-indent-supported-here here.
384 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
385 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
386 (sh-smie-rc-grammar, sh-use-smie): New vars.
387 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
388 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
389 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
390 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
391 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
392 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
393 (sh-set-shell): Use smie-setup if requested.
395 * term.el (term-set-escape-char): Properly set term-escape-char.
396 See http://stackoverflow.com/questions/10524656.
398 2012-05-10 Chong Yidong <cyd@gnu.org>
400 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
401 Use url-generic-parse-url, and handle host names and Windows
403 (ffap-url-unwrap-remote): Use url-generic-parse-url.
404 (ffap-url-unwrap-remote): Accept list values, specifying a list of
405 URL schemes to work on.
406 (ffap--toggle-read-only): New function.
407 (ffap-read-only, ffap-read-only-other-window)
408 (ffap-read-only-other-frame): Use it.
409 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
410 necessary for ffap-url-unwrap-remote.
412 2012-05-10 Dave Abrahams <dave@boostpro.com>
414 * cus-start.el (create-lockfiles): Add it.
416 2012-05-09 Chong Yidong <cyd@gnu.org>
418 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
419 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
421 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
423 * shell.el (shell-completion-vars): Fix last change (bug#11348).
425 2012-05-09 Chong Yidong <cyd@gnu.org>
427 * ansi-color.el (ansi-color-process-output): Check for validity of
428 comint-last-output-start before using it. This avoids a bad
429 interaction with gdb-mi's input/output buffer.
431 2012-05-09 Glenn Morris <rgm@gnu.org>
433 * files.el (dir-locals-read-from-file):
434 Mention dir-locals in any error message.
436 2012-05-09 Chong Yidong <cyd@gnu.org>
438 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
441 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
442 variables into description.
444 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
446 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
447 shell-delimiter-argument-list (bug#11348).
448 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
450 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
452 * textmodes/rst.el: Silence byte-compiler warnings.
453 (rst-re-alist, rst-reset-section-caches): Move around.
454 (rst-re): Use `characterp', not `char-valid-p'.
455 (font-lock-beg, font-lock-end): Declare.
457 * progmodes/idlw-shell.el (specs): Remove reference to deleted
458 variable `idlwave-shell-activate-alt-keybindings' and simplify.
460 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
462 2012-05-08 Glenn Morris <rgm@gnu.org>
464 * files.el (auto-mode-alist): Treat ".make" like ".mk".
466 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
468 * vc/log-edit.el: Add GNU coding standards highlighting.
469 (log-edit-font-lock-gnu-style)
470 (log-edit-font-lock-gnu-keywords): New vars.
471 (log-edit-font-lock-keywords): New fun.
472 (log-edit-mode): Don't fold case in font-lock.
473 (log-edit-font-lock-keywords): Do not assume case-folding.
475 * imenu.el: Misc cleanup. Make docstrings out of comments.
477 (imenu--index-alist, imenu--last-menubar-index-alist)
478 (imenu-menubar-modified-tick): Use defvar-local.
479 (imenu--split-menu): Remove unused var.
480 (imenu--cleanup-seen): Declare as global.
481 (imenu--cleanup): Use dolist.
483 * subr.el (defvar-local): Add debug spec and doc-string position.
485 2012-05-08 Glenn Morris <rgm@gnu.org>
487 * lisp/language/burmese.el, language/cham.el, language/czech.el:
488 * language/english.el, language/georgian.el, language/greek.el:
489 * language/japanese.el, language/khmer.el, language/korean.el:
490 * language/lao.el, language/misc-lang.el, language/romanian.el:
491 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
492 * language/thai.el, language/utf-8-lang.el:
493 Remove no-byte-compile setting.
495 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
497 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
499 * progmodes/make-mode.el (makefile-browse):
500 Remove unnecessary interactive. (Bug#11324)
502 2012-05-07 Glenn Morris <rgm@gnu.org>
504 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
506 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
508 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
510 * loadup.el: Preload newcomment.el.
511 * newcomment.el: Move autoload-only code to toplevel.
513 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
514 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
515 Handle new :right-align column property.
516 (tabulated-list-print-col): Idem, plus use `display' text-property to
517 try and preserve alignment for variable pitch fonts.
519 2012-05-07 Chong Yidong <cyd@gnu.org>
521 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
522 (tabulated-list-use-header-line): New var.
523 (tabulated-list-init-header): Use it.
524 (tabulated-list-print-fake-header): New function.
525 (tabulated-list-print): Use it.
526 (tabulated-list-sort-button-map): Add non-header-line commands.
527 (tabulated-list-init-header): Add column name property to basic
529 (tabulated-list-col-sort): Handle non-header-line button case.
530 (tabulated-list--sort-by-column-name): Fix a corner case.
532 * buff-menu.el (list-buffers--refresh):
533 Handle Buffer-menu-use-header-line.
535 2012-05-06 Chong Yidong <cyd@gnu.org>
537 * buff-menu.el: Convert to Tabulated List mode.
538 (Buffer-menu-buffer+size-width): Make obsolete.
539 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
540 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
541 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
542 documentation into docstring of buffer-menu.
543 (Buffer-menu-toggle-files-only): Add an informative message.
544 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
545 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
546 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
547 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
548 (Buffer-menu-execute, Buffer-menu-select)
549 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
550 (Buffer-menu-bury): Use Tabulated List machinery.
551 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
552 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
554 (list-buffers--refresh): New function.
555 (list-buffers-noselect): Use it.
556 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
557 (Buffer-menu--pretty-file-name): New helper functions.
559 * loadup.el: Preload tabulated-list.
561 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
562 tabulated-list-sort-column.
563 (tabulated-list-init-header): Add the initial aligning space even
564 if tabulated-list-padding is zero.
566 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
568 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
569 whose cdr is not a cons cell correctly (bug#11038).
571 2012-05-06 Chong Yidong <cyd@gnu.org>
573 * emacs-lisp/tabulated-list.el (tabulated-list-format):
574 Accept additional plist in column descriptors.
575 (tabulated-list-init-header): Obey it.
576 (tabulated-list-get-entry): New function.
577 (tabulated-list-put-tag): Use it. Use string-width instead of
579 (tabulated-list--column-number): New function.
580 (tabulated-list-print): Use it.
581 (tabulated-list-print-col): New function.
582 Set `tabulated-list-column-name' property on each column's text.
583 (tabulated-list-print-entry): Use it.
584 (tabulated-list-delete-entry, tabulated-list-set-col):
586 (tabulated-list-sort-column): New command (Bug#11337).
588 * buff-menu.el (list-buffers): Move C-x C-b binding from
589 buff-menu.el to bindings.el.
591 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
592 :advertised-binding feature.
594 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
596 * progmodes/compile.el (compilation-internal-error-properties):
597 Calculate start position correctly when end-col is set but
598 end-line is not (Bug#11382).
600 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
602 * man.el (Man-unindent): Use text-property-default-nonsticky to
603 prevent untabify from inheriting face properties (Bug#11408).
605 2012-05-05 Glenn Morris <rgm@gnu.org>
607 * calendar/cal-html.el: Optionally include holidays in the output.
608 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
609 (cal-html-holidays): New option.
610 (cal-html-css-default): Add holiday entry.
611 (holiday-in-range): Autoload it.
612 (cal-html-htmlify-entry): Add optional class argument.
613 (cal-html-htmlify-list): Add optional holidays argument.
614 (cal-html-insert-agenda-days): Include holidays in the output.
615 (cal-html-one-month): Maybe include holidays.
617 * calendar/holidays.el (holiday-in-range):
618 Move here from cal-tex-list-holidays.
619 * calendar/cal-tex.el (cal-tex-list-holidays):
620 Make it an obsolete alias for holiday-in-range. Update all callers.
622 2012-05-05 Chong Yidong <cyd@gnu.org>
624 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
627 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
629 * files.el (file-auto-mode-skip): New var.
630 (set-auto-mode-1): Use it.
632 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
634 * repeat.el: Use lexical-binding.
635 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
636 (repeat-undo-count): Remove.
638 * progmodes/octave-mod.el (octave-abbrev-start):
639 * progmodes/f90.el (f90-abbrev-start):
640 * face-remap.el (text-scale-adjust):
641 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
643 * emacs-lisp/pcase.el (pcase--let*): New function.
644 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
646 (pcase--split-pred): Be more clever about ruling out overlap between
647 a predicate and some constant pattern.
648 (pcase--q1): Use `null' instead of (eq foo nil).
650 * subr.el (setq-local, defvar-local): New macros.
651 (kbd): Redefine as an alias.
652 (with-selected-window): Leave unrelated frames alone.
653 (set-temporary-overlay-map): New function.
655 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
657 * subr.el (user-error): New function.
658 * window.el (switch-to-buffer):
659 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
660 (smerge-match-conflict):
661 * simple.el (previous-matching-history-element)
662 (next-matching-history-element, goto-history-element, undo-more)
664 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
665 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
666 (next-file, tags-loop-scan, list-tags, complete-tag):
667 * progmodes/compile.el (compilation-loop):
668 * mouse.el (mouse-minibuffer-check):
669 * man.el (Man-bgproc-sentinel, Man-goto-page):
670 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
671 (Info-history-forward, Info-follow-reference, Info-menu)
672 (Info-extract-menu-item, Info-extract-menu-counting)
673 (Info-forward-node, Info-backward-node, Info-next-menu-item)
674 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
675 (Info-next-reference, Info-prev-reference, Info-index)
676 (Info-index-next, Info-follow-nearest-node)
677 (Info-copy-current-node-name):
678 * imenu.el (imenu--make-index-alist)
679 (imenu-default-create-index-function, imenu-add-to-menubar):
680 * files.el (basic-save-buffer, recover-file):
681 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
682 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
683 (checkdoc-message-text, checkdoc-defun):
684 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
685 * cus-edit.el (customize-changed-options, customize-rogue)
686 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
687 (custom-variable-mark-to-reset-standard)
688 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
690 * completion.el (check-completion-length):
691 * comint.el (comint-search-arg)
692 (comint-previous-matching-input-string-position)
693 (comint-previous-matching-input)
694 (comint-replace-by-expanded-history-before-point, comint-send-input)
695 (comint-copy-old-input, comint-backward-matching-input)
696 (comint-goto-process-mark, comint-set-process-mark):
697 * calendar/calendar.el (calendar-cursor-to-date): Use it.
698 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
700 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
702 * dabbrev.el (dabbrev--ignore-case-p): New function.
703 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
706 * files.el (automount-dir-prefix): Mark as obsolete.
708 2012-05-04 Glenn Morris <rgm@gnu.org>
710 * patcomp.el, play/bruce.el: Move to obsolete/.
712 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
715 * arc-mode.el (archive-unixdate):
716 * autoinsert.el (auto-insert-alist):
717 * calc/calc-forms.el (math-this-year):
718 * emacs-lisp/copyright.el (copyright-current-year)
719 (copyright-update-year, copyright):
720 * tar-mode.el (tar-clip-time-string):
721 * time.el (display-time-update):
722 Don't assume years have 4 digits.
724 2012-05-04 Chong Yidong <cyd@gnu.org>
726 * dos-w32.el (file-name-buffer-file-type-alist)
727 (direct-print-region-use-command-dot-com):
728 * ffap.el (ffap-menu-regexp):
729 * find-file.el (ff-special-constructs):
730 * follow.el (follow-debug):
731 * forms.el (forms--debug):
732 * iswitchb.el (iswitchb-all-frames):
733 * ido.el (ido-all-frames):
734 * emacs-lisp/timer.el (timer-max-repeats):
735 * mail/feedmail.el (feedmail-mail-send-hook)
736 (feedmail-mail-send-hook-queued):
737 * mail/footnote.el (footnote-signature-separator):
738 * mail/mailabbrev.el (mail-alias-separator-string)
739 (mail-abbrev-mode-regexp):
740 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
741 * progmodes/idlwave.el (idlwave-libinfo-file)
742 (idlwave-default-completion-case-is-down)
743 (idlwave-library-routines): Convert defvars to defcustoms.
745 * mail/rmail.el (rmail-decode-mime-charset):
746 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
747 (idlwave-shell-fix-inserted-breaks)
748 (idlwave-shell-activate-alt-keybindings)
749 (idlwave-shell-use-breakpoint-glyph):
750 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
752 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
754 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
756 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
758 * progmodes/verilog-mode.el (font-lock-keywords):
759 Fix mis-highligting auto. Reported by Craig Barner.
760 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
761 defines from global name space. Reported by Dan Dever.
762 (verilog-auto-reset, verilog-auto-reset-widths)
763 (verilog-auto-tieoff): Support using unbased numbers for
764 AUTORESET and AUTOTIEOFF.
765 (verilog-submit-bug-report): Update variable list.
766 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
767 parenthesis from not matching. Reported by Michael Rytting.
768 (verilog-auto-template-lint): Fix hash error when linting modules
769 with no used templates.
770 (verilog-warn, verilog-warn-error)
771 (verilog-warn-fatal): When non-interactive report multiple
772 warnings before exiting. Suggested by Brad Dobbie.
773 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
774 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
775 to report unused template errors. Reported by Brad Dobbie.
776 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
777 nets, bug438. Reported by Vns Blore.
778 (verilog-auto-inout-module, verilog-auto-reg)
779 (verilog-read-decls, verilog-read-sub-decls-sig)
780 (verilog-signals-edit-wire-reg, verilog-signals-with):
781 Fix passing of Verilog data types in ANSI input/output ports
782 such as "output logic" into the AUTOs. Special case "wire" and
783 "reg" for backwards compatibility presuming Verilog 2001.
784 (verilog-auto-ascii-enum): Add "auto enum" as alias.
785 (verilog-preprocess): Fix replication of preprocess output.
786 Reported by Brad Dobbie.
787 (verilog-auto-inst-interfaced-ports):
788 Create verilog-auto-inst-interfaced-ports, bug429.
789 Reported by Julian Gorfajn.
790 (verilog-after-save-font-hook)
791 (verilog-before-save-font-hook): New variable.
792 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
793 (verilog-save-font-mods): Wrap disabling fontification, reported
795 (verilog-do-indent, verilog-pretty-declarations-auto)
796 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
797 Reported by Pierre-David Pfister.
798 (verilog-set-auto-endcomments): Fix endtask auto comments outside
799 of class declarations, bug292. Reported by Kevin Heilman.
800 (verilog-read-decls): Fix 'parameter type' not appearing in
801 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
802 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
803 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
804 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
805 Reported by David Kravitz.
807 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
809 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
810 assignment with tests in ifs and for loops.
811 (verilog-extended-complete-re, verilog-complete-reg): Change so
812 that DPI inport functions don't look like fuction declarations.
813 (verilog-pretty-expr): Don't line up assignment
814 operations to the test and increment in if and for loops
815 (verilog-extended-complete-re, verilog-complete-reg): Change so
816 that DPI inport functions don't look like fuction declarations
818 2012-05-03 Kenichi Handa <handa@m17n.org>
820 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
821 decoding, and show a warning message without signalling an error
824 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
826 * emacs-lisp/bytecomp.el
827 (byte-compile-file-form-custom-declare-variable): Compile all elements,
828 since cconv.el might have introduced :fun-body, internal-make-closure,
829 and friends for bytecomp to handle (bug#11391).
830 * custom.el (defcustom): Avoid ((λ ..) ..).
832 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
834 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
836 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
838 * notifications.el (dbus-debug):
839 * term/linux.el (gpm-mouse-enable):
840 * term/screen.el (xterm-register-default-colors): Declare.
842 2012-05-02 Chong Yidong <cyd@gnu.org>
844 * cus-start.el (gc-cons-percentage, exec-suffixes)
845 (dos-display-scancodes, dos-hyper-key, dos-super-key)
846 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
847 (make-cursor-line-fully-visible, void-text-area-pointer)
848 (font-list-limit): Add customization data.
850 * allout.el (allout-exposure-change-functions)
851 (allout-structure-added-functions)
852 (allout-structure-deleted-functions)
853 (allout-structure-shifted-functions): Rename abnormal hooks from
854 *-hook, and convert to defcustoms.
855 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
856 Convert to defcustoms.
857 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
859 * allout-widgets.el: Hook callers changed.
861 2012-05-02 Eli Zaretskii <eliz@gnu.org>
863 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
864 the yanked message in preference to the default value of
865 buffer-file-coding-system.
867 2012-05-02 Martin Rudalics <rudalics@gmx.at>
869 * window.el (display-buffer--action-function-custom-type):
872 2012-05-02 Alan Mackenzie <acm@muc.de>
874 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
876 2012-05-01 Glenn Morris <rgm@gnu.org>
878 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
880 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
882 * cus-edit.el (custom-variable-documentation): Simplify with format.
884 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
885 Stefan Monnier <monnier@iro.umontreal.ca>
887 * simple.el (suggest-key-bindings, execute-extended-command):
888 Move from keyboard.c.
890 2012-05-01 Chong Yidong <cyd@gnu.org>
892 * follow.el: Eliminate advice.
893 (set-process-filter, process-filter, sit-for): Advice deleted.
894 (follow-mode-off-hook): Obsolete hook removed.
895 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
897 (follow-auto): Use a :set function.
898 (follow-mode): Rewritten. Don't advise process filters.
899 (follow-switch-to-current-buffer-all, follow-scroll-up)
900 (follow-scroll-down): Assume follow-mode is bound.
901 (follow-comint-scroll-to-bottom)
902 (follow-align-compilation-windows): New functions.
903 (follow--window-sorter): New function.
904 (follow-all-followers): Use it to explicitly sort windows by their
905 positions; don't make assumptions about next-window order.
906 (follow-windows-start-end, follow-delete-other-windows-and-split)
907 (follow-calc-win-start): Doc fix.
908 (follow-windows-aligned-p, follow-select-if-visible): Don't call
909 vertical-motion unnecessarily.
910 (follow-adjust-window): New function.
911 (follow-post-command-hook): Use it.
912 (follow-call-set-process-filter, follow-call-process-filter)
913 (follow-intercept-process-output, follow-tidy-process-filter-alist)
914 (follow-stop-intercept-process-output, follow-generic-filter):
916 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
917 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
918 New functions, replacing advice on scroll-bar-* commands.
919 (follow-mwheel-scroll): New function (Bug#4112).
921 * comint.el (comint-adjust-point): New function.
922 (comint-postoutput-scroll-to-bottom): Use it.
923 Call follow-comint-scroll-to-bottom for Follow mode buffers.
925 2012-05-01 Glenn Morris <rgm@gnu.org>
927 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
928 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
929 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
930 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
931 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
932 Remove no-byte-compile setting.
934 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
936 * minibuffer.el (completion-table-with-quoting): Fix compatibility
937 all-completions code to not return a number in the last cdr.
939 2012-04-30 Leo Liu <sdl.web@gmail.com>
941 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
944 2012-04-29 Chong Yidong <cyd@gnu.org>
946 * follow.el (follow-calc-win-end): Rewrite to handle partial
947 screen lines correctly (Bug#8390).
948 (follow-avoid-tail-recenter): Minor cleanup.
950 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
952 Avoid the obsolete `assoc' package.
953 * speedbar.el (speedbar-refresh): Avoid adelete.
954 (speedbar-file-lists): Simplify and avoid aput.
955 * man.el (Man--sections, Man--refpages): New vars, replacing
956 Man-sections-alist and Man-refpages-alist.
957 (Man-build-section-alist, Man-build-references-alist):
958 Use them; avoid aput.
959 (Man--last-section, Man--last-refpage): New vars.
960 (Man-follow-manual-reference): Use them.
961 Use the `default' arg of completing-read.
962 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
964 2012-04-27 Chong Yidong <cyd@gnu.org>
966 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
968 * startup.el (x-apply-session-resources): New function.
970 * term/ns-win.el (ns-initialize-window-system):
971 * term/w32-win.el (w32-initialize-window-system):
972 * term/x-win.el (x-initialize-window-system): Use it to properly
973 set menu-bar-mode and other vars from X resources, even if the
974 initial frame is not a window-system frame (Bug#2299).
976 * subr.el (read-key): Avoid running filter function when setting
977 up temporary tool bar entries (Bug#9922).
979 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
981 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
984 2012-04-27 Chong Yidong <cyd@gnu.org>
986 * select.el (xselect--encode-string): New function, split from
987 xselect-convert-to-string.
988 (xselect-convert-to-string): Use it.
989 (xselect-convert-to-filename, xselect-convert-to-os)
990 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
991 returned strings are properly encoded (Bug#11315).
993 2012-04-27 Chong Yidong <cyd@gnu.org>
995 * simple.el (delete-active-region): Move to killing custom group.
997 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
999 * progmodes/which-func.el (which-func-current): Quote %
1000 characters for mode-line processing.
1002 2012-04-27 Chong Yidong <cyd@gnu.org>
1004 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1005 reaching eob (Bug#11286).
1007 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1009 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1010 (gdb): Make it buffer-local and init to zero.
1011 (gdb-control-commands-regexp): New variable.
1012 (gdb-send): Don't wrap in "-interpreter-exec console" if
1013 gdb-control-level is positive. Increment gdb-control-level
1014 whenever the command matches gdb-control-commands-regexp, and
1015 decrement it each time the command is "end". (Bug#11279)
1017 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1019 * window.el (adjust-window-trailing-edge, enlarge-window)
1020 (shrink-window, window-resize):
1021 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1022 windows (Bug#11276).
1024 2012-04-27 Chong Yidong <cyd@gnu.org>
1026 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1027 fix "missing prefix" warning. All callers changed.
1029 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1031 * emacs-lisp/assoc.el: Move to obsolete/.
1033 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1035 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1037 * term/ns-win.el (ns-define-service):
1038 * progmodes/pascal.el (pascal-goto-defun):
1039 * progmodes/js.el (js--read-tab):
1040 * progmodes/etags.el (tags-lazy-completion-table):
1041 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1042 * emacs-lisp/ewoc.el (ewoc--wrap):
1043 * emacs-lisp/assoc.el (aput, adelete, amake):
1044 * doc-view.el (doc-view-convert-current-doc):
1045 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1047 2012-04-26 Chong Yidong <cyd@gnu.org>
1049 * image.el (image-type-from-buffer): Only return supported image
1052 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1053 value, for symmetry with diff-end-of-hunk.
1054 (diff-split-hunk, diff-find-source-location)
1055 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1056 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1057 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1058 compute the relevant hunk or file properly (Bug#6005).
1059 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1061 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1070 * vc/vc.el: Replace lexical-let by lexical-binding.
1071 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1072 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1073 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1075 2012-04-26 Chong Yidong <cyd@gnu.org>
1077 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1078 (diff-mode-shared-map): Bind it to / and [remap undo].
1080 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1081 (ediff-window-setup-function): Use it as the default, to set up
1082 windows based on whether the current frame is graphical (Bug#2138).
1083 (ediff-choose-window-setup-function-automatically): Make obsolete.
1085 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1087 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1089 * ffap.el: Remove old code for obsolete package.
1090 (ffap-complete-as-file-p): Remove.
1092 Use completion-table-with-quoting for comint and pcomplete.
1093 * comint.el (comint--unquote&requote-argument)
1094 (comint--unquote-argument, comint--requote-argument): New functions.
1095 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1096 (comint-quote-filename): Use regexp-opt-charset.
1097 (comint--common-suffix, comint--common-quoted-suffix)
1098 (comint--table-subvert): Remove.
1099 (comint-unquote-function, comint-requote-function): New vars.
1100 (comint--complete-file-name-data): Use them with
1101 completion-table-with-quoting.
1102 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1103 * pcomplete.el (pcomplete-arg-quote-list)
1104 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1105 (pcomplete-unquote-argument-function): Default to non-nil.
1106 (pcomplete-unquote-argument): Simplify.
1107 (pcomplete--common-quoted-suffix): Remove.
1108 (pcomplete-requote-argument-function): New var.
1109 (pcomplete--common-suffix): New function.
1110 (pcomplete-completions-at-point): Use completion-table-with-quoting
1111 and completion-table-subvert.
1113 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1114 (minibuffer--double-dollars): Preserve properties.
1115 (completion--sifn-requote): New function.
1116 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1118 * minibuffer.el: Add support for completion of quoted/escaped data.
1119 (completion-table-with-quoting, completion-table-subvert): New funs.
1120 (completion--twq-try, completion--twq-all): New functions.
1121 (completion--nth-completion): New function.
1122 (completion-try-completion, completion-all-completions): Use it.
1124 2012-04-25 Leo Liu <sdl.web@gmail.com>
1126 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1127 Use compilation-message if available to find real filename.
1129 2012-04-25 Chong Yidong <cyd@gnu.org>
1131 * vc/diff-mode.el (diff-setup-whitespace): New function.
1132 (diff-mode): Use it.
1134 * vc/diff.el (diff-sentinel):
1135 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1136 Whitespace mode variables based on diff style (Bug#8612).
1138 2012-04-25 Leo Liu <sdl.web@gmail.com>
1140 * progmodes/python.el (python-send-region): Add suffix .py to the
1143 * files.el (auto-mode-alist): Use javascript-mode instead.
1145 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1147 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1149 * soap-client.el (soap-resolve-references-for-sequence-type)
1150 (soap-resolve-references-for-array-type): Hack to prevent self
1151 references, see Bug#9.
1152 (soap-parse-envelope): Report the contents of the 'detail' node
1153 when receiving a fault reply.
1154 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1156 * soap-inspect.el (soap-sample-value-for-simple-type)
1157 (soap-inspect-simple-type): New function.
1159 * soap-client.el (soap-simple-type): New struct.
1160 (soap-default-xsd-types, soap-default-soapenc-types)
1161 (soap-decode-basic-type, soap-encode-basic-type):
1162 support unsignedInt and double basic types.
1163 (soap-resolve-references-for-simple-type)
1164 (soap-parse-simple-type, soap-encode-simple-type): New function.
1165 (soap-parse-schema): Parse xsd:simpleType declarations.
1167 * soap-client.el (soap-default-xsd-types)
1168 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1169 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1170 the local name of "soapenc:Array".
1171 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1172 decoding integer, byte and anyURI xsd types.
1174 2012-04-25 Chong Yidong <cyd@gnu.org>
1176 * cus-edit.el (custom-buffer-create-internal): Update header text.
1178 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1180 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1181 settings on 'system-type', not on 'window-system'. On MS-Windows,
1182 set interactive-mode on in GDB.
1184 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1186 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1187 (ruby-syntax-propertize-regexp): Remove.
1188 (ruby-syntax-propertize-function): Split regexp into chunks.
1189 Match following code directly.
1191 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1193 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1194 (ruby-syntax-propertize-regexp): New function.
1195 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1196 by a special keyword.
1198 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1199 (ruby-syntax-general-delimiters-goto-beg)
1200 (ruby-syntax-propertize-general-delimiters): New functions.
1201 (ruby-syntax-propertize-function): Use them to handle GDL.
1202 (ruby-font-lock-keywords): Move old handling of GDL...
1203 (ruby-font-lock-syntactic-keywords): .. to here.
1204 (ruby-calculate-indent): Adjust indentation for GDL.
1206 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1208 * notifications.el (top): Remove unneeded declarations.
1209 (notifications-specification-version): Change to "1.2".
1210 (notifications-interface, notifications-notify-method)
1211 (notifications-close-notification-method): Fix docstring.
1212 (notifications-get-capabilities-method): New defconst.
1213 (notifications-notify): Add :action-items, :resident and
1214 :transient hints. Change "image_data" to "image-data" and
1215 "image_path" to "image-path".
1216 (notifications-get-capabilities): New defun.
1218 2012-04-24 Leo Liu <sdl.web@gmail.com>
1220 * progmodes/python.el: Move hideshow setup to the end.
1222 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1224 * window.el (handle-select-window): Clear echo area since this is
1225 no more done by read_char (Bug#11304).
1227 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1229 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1230 and `/ M' to filter-derived-mode.
1231 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1232 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1233 (ibuffer-mark-by-mode): Use default rather than initial-input.
1234 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1236 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1238 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1239 (ibuffer-filter-by-derived-mode): New filter.
1240 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1242 2012-04-23 Andreas Politz <politza@fh-trier.de>
1244 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1246 2012-04-23 Chong Yidong <cyd@gnu.org>
1248 * cus-edit.el (customize-apropos, customize-apropos-options):
1249 Disable matching of non-option variables (Bug#11176).
1250 (customize-option, customize-option-other-window)
1251 (customize-changed-options): Doc fix.
1252 (customize-apropos-options, customize-apropos-faces)
1253 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1255 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1256 Fix word list splitting (Bug#11132).
1257 (apropos-symbol, apropos-keybinding, apropos-label)
1258 (apropos-property, apropos-function-button)
1259 (apropos-variable-button, apropos-misc-button): New faces.
1260 (apropos-symbol-face, apropos-keybinding-face)
1261 (apropos-label-face, apropos-property-face, apropos-match-face):
1262 Variables removed (Bug#8396).
1263 (apropos-library-button, apropos-format-plist, apropos-print)
1264 (apropos-print-doc, apropos-describe-plist): Callers changed.
1266 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1268 * net/xesam.el (xesam-mode-map): Use let-bound map in
1269 initialization. (Bug#11292)
1271 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1273 Preserve ispell session localwords when switching back to
1276 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1277 variable to hold buffer session localwords.
1278 (ispell-kill-ispell): add option 'clear to delete session
1280 (ispell-command-loop, ispell-change-dictionary)
1281 (ispell-buffer-local-words): Preserve session localwords when
1284 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1285 Preserve session localwords when needed.
1287 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1289 * ispell.el (ispell-insert-word) Remove unneeded function using
1290 obsolete `translation-table-for-input'.
1291 (ispell-word, ispell-process-line, ispell-complete-word):
1292 Use plain `insert' instead of removed `ispell-insert-word'.
1294 2012-04-22 Chong Yidong <cyd@gnu.org>
1296 * cus-edit.el (custom-variable-menu)
1297 (custom-variable-reset-saved, custom-face-menu)
1298 (custom-face-reset-saved): If there is no saved value, make the
1299 "reset-saved" operation bring back the default (Bug#9509).
1300 (custom-face-state): Properly detect themed faces.
1302 * faces.el (face-spec-set): Stop supporting deprecated form of
1305 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1307 Move functions from C to Lisp. Make non-blocking method calls
1308 the default. Implement further D-Bus standard interfaces.
1310 * net/dbus.el (dbus-message-internal): Declare function.
1311 Remove unneeded function declarations.
1312 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1313 (dbus-message-type-method-return, dbus-message-type-error)
1314 (dbus-message-type-signal): Declare variables. Remove local
1316 (dbus-interface-dbus, dbus-interface-peer)
1317 (dbus-interface-introspectable, dbus-interface-properties)
1318 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1320 (dbus-interface-objectmanager): New defconst.
1321 (dbus-call-method, dbus-call-method-asynchronously)
1322 (dbus-send-signal, dbus-method-return-internal)
1323 (dbus-method-error-internal, dbus-register-service)
1324 (dbus-register-signal, dbus-register-method): New defuns, moved
1326 (dbus-call-method-handler, dbus-setenv)
1327 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1329 (dbus-call-method-non-blocking): Make it an obsolete function.
1330 (dbus-unregister-object, dbus-unregister-service)
1331 (dbus-handle-event, dbus-register-property)
1332 (dbus-property-handler): Obey the new structure of
1333 `bus-registered-objects'.
1334 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1335 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1336 Use `dbus-call-method'.
1338 2012-04-22 Chong Yidong <cyd@gnu.org>
1340 * cus-edit.el (custom-commands, custom-reset-menu)
1341 (Custom-reset-standard): Tweak labels.
1342 (custom-reset-button-menu): Change default to t.
1343 (custom-buffer-create-internal): For the custom-reset-button-menu
1344 case, put the revert button first.
1345 (custom-group-subtitle): New face.
1346 (custom-group-value-create): Align docstring to a specific column.
1348 * wid-edit.el (widget-documentation-link-add): Don't handle
1349 indentation in this function.
1350 (widget-documentation-string-indent-to): New function.
1351 (widget-documentation-string-value-create): Use it.
1353 * autorevert.el (auto-revert):
1354 * epg-config.el (epg):
1355 * ibuffer.el (ibuffer):
1358 * eshell/eshell.el (eshell):
1359 * net/ange-ftp.el (ange-ftp):
1360 * progmodes/ebnf2ps.el (postscript):
1361 * progmodes/flymake.el (flymake):
1362 * progmodes/prolog.el (prolog):
1363 * progmodes/verilog-mode.el (verilog-mode):
1364 * progmodes/which-func.el (which-func):
1365 * term/xterm.el (xterm):
1366 * textmodes/picture.el (picture):
1367 * textmodes/tildify.el (tildify):
1368 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1369 customization buffers.
1371 2012-04-22 Alan Mackenzie <acm@muc.de>
1373 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1374 Adding a ) can hide the resulting (..) from searches. Fix it.
1375 Bound the backward search to the position of the existing (.
1377 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1379 * progmodes/verilog-mode.el (verilog-mode): Check whether
1380 which-func-modes is t before adding verilog-mode.
1381 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1383 2012-04-21 Leo Liu <sdl.web@gmail.com>
1385 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1387 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1389 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1390 filling of the last column of a table (Bug#5635).
1391 (woman-find-next-control-line): New arg, specifying an additional
1392 regexp component for the control line.
1393 (woman2-roff-buffer): Use it.
1394 (woman-break-table): New function.
1395 (woman2-TS): Use it.
1397 2012-04-21 Chong Yidong <cyd@gnu.org>
1399 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1400 (woman-horizontal-escapes, woman-negative-vertical-space)
1401 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1402 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1404 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * minibuffer.el (completion-file-name-table): Complete user names.
1408 2012-04-20 Leo Liu <sdl.web@gmail.com>
1410 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1413 2012-04-20 Chong Yidong <cyd@gnu.org>
1415 * server.el (server-execute): Respect initial-buffer-choice if it
1416 is a string and there are no files to open (Bug#2825).
1417 (server-create-window-system-frame, server-create-tty-frame):
1418 Don't switch buffers here.
1419 (server-process-filter): Only try to open a window system frame if
1420 compiled with graphical support (Bug#8314).
1422 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1424 * battery.el (battery-echo-area-format): Display remaining time
1425 for sysfs backend too (Bug#11269).
1426 (battery-linux-sysfs): Fix conditional for the charge.
1428 2012-04-20 Chong Yidong <cyd@gnu.org>
1430 * progmodes/gdb-mi.el (gdb): Revert previous change.
1431 (gdb-inferior-io--init-proc): New function.
1432 (gdb-init-1): Use it.
1433 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1434 responsible for allocating a new pty and hooking it to gdb when
1435 the old pty gets an EIO due to process exit.
1436 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1437 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1438 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1440 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1442 * window.el (window-min-size, window-sizable, window-min-delta)
1443 (window-max-delta, window--resizable, window-resizable)
1444 (window-total-size, window-full-height-p, window-full-width-p)
1445 (window-in-direction, window--resize-mini-window, window-resize)
1446 (window--resize-child-windows-normal)
1447 (window--resize-child-windows, window--resize-siblings)
1448 (window--resize-this-window, adjust-window-trailing-edge)
1449 (enlarge-window, shrink-window): Doc fixes.
1451 2012-04-20 Chong Yidong <cyd@gnu.org>
1453 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1454 New function to call delete-process on the gdb-inferior buffer's pty.
1455 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1456 pty process (Bug#11273).
1457 (gdb-update): New arg to suppress talking to the gdb process.
1458 (gdb-done-or-error): Use it.
1459 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1460 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1461 sentinel not being called.
1463 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1465 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1467 2012-04-20 Glenn Morris <rgm@gnu.org>
1469 * net/network-stream.el (open-network-stream): Doc fix.
1471 2012-04-20 Chong Yidong <cyd@gnu.org>
1473 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1475 2012-04-20 Alan Mackenzie <acm@muc.de>
1477 Ensure searching for keywords is case sensitive.
1479 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1480 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1481 (c-defun-name, c-mark-function, c-cpp-define-name)
1482 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1483 (c-context-line-break): Bind case-fold-search to nil.
1485 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1486 Bind case-fold-search to nil.
1488 2012-04-20 Chong Yidong <cyd@gnu.org>
1490 * mail/sendmail.el (mail-bury): Call return action with the right
1491 Rmail buffer (Bug#11242).
1493 * server.el (server-process-filter): Handle corner case where both
1494 tty and nowait options are present (Bug#11102).
1496 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1498 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1499 (top level): Put into the executable the ident-style '$Id:' tag on
1502 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1504 * electric.el (electric-indent-post-self-insert-function): Check that
1505 electric-indent-mode is enabled in current buffer.
1507 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1509 * imenu.el (imenu-progress-message): Restore; it is "used" in
1510 erc/erc-imenu.el and net/snmp-mode.el.
1512 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1514 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1515 (mouse-avoidance-nudge-mouse): Remove unused binding.
1517 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1519 * descr-text.el (describe-char):
1520 * progmodes/python.el (python-describe-symbol):
1521 Don't call `toggle-read-only', set `buffer-read-only'.
1523 * imenu.el (imenu-default-goto-function): Mark unused args.
1524 (imenu-progress-message): Remove obsolete macro; all callers changed.
1526 * subr.el (keymap-canonicalize): Remove unused binding.
1527 (read-passwd): Mark unused arg.
1529 * tutorial.el (tutorial--display-changes): Remove unused binding.
1530 (tutorial--save-tutorial-to): Remove unused variable.
1532 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1533 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1534 (package-generate-autoloads, package-menu--generate)
1535 (package-menu--find-upgrades): Remove unused bindings.
1537 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1538 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1539 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1540 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1541 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1542 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1543 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1544 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1545 (cua-delete-char-rectangle): Mark unused args.
1546 (cua-align-rectangle): Remove unused binding.
1548 * mail/rmail.el (compilation--message->loc)
1549 (epa--find-coding-system-for-mime-charset): Declare.
1551 * net/dbus.el (dbus-register-service): Declare.
1552 (dbus-name-owner-changed-handler): Remove unused binding.
1554 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1555 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1556 (nxml-scan-backward-within): Mark unused arg.
1557 (nxml-dynamic-markup-word): Remove unused binding.
1559 * mouse.el (mouse-menu-major-mode-map):
1560 * emacs-lisp/authors.el (authors-scan-change-log)
1561 (authors-add-to-author-list):
1562 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1563 * emacs-lisp/smie.el (smie-auto-fill):
1564 * mail/sendmail.el (mail-bury):
1565 * mail/unrmail.el (unrmail):
1566 * net/tls.el (open-tls-stream):
1567 * textmodes/picture.el (picture-mouse-set-point):
1568 Remove unused bindings.
1570 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1572 * net/tramp.el (tramp-action-password): Let-bind
1573 `enable-recursive-minibuffers' to t.
1575 2012-04-18 Sam Steingold <sds@gnu.org>
1577 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1578 instead of 'string to accommodate values like [f11].
1579 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1580 * progmodes/gdb-mi.el: Likewise.
1582 2012-04-18 Leo Liu <sdl.web@gmail.com>
1584 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1586 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1589 2012-04-18 Chong Yidong <cyd@gnu.org>
1591 * simple.el (line-move): Use forward-line if in batch mode
1594 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1596 * files.el (after-find-file): Do not try to add a final newline if
1597 the buffer is read-only (Bug#11156).
1599 2012-04-17 Richard Stallman <rms@gnu.org>
1601 * mail/rmail.el (rmail-start-mail):
1602 Pass (rmail-mail-return...) for the return-action.
1603 Pass (rmail-yank-current-message...) for the yank-action.
1604 (rmail-yank-current-message): New function.
1605 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1606 (rmail-reply): Likewise.
1607 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1609 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1610 buffer, not the last. Reject temp buffers. Use the rmail-mode
1613 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1615 * server.el (server-ensure-safe-dir): Simplify.
1617 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1619 * emacs-lisp/smie.el: Provide smarter auto-filling.
1620 (smie-auto-fill): New function.
1621 (smie-setup): Use it.
1623 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1625 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1627 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1628 (comment-indent): Use it.
1630 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1632 * ses.el: The overall change is to add cell renaming, that is
1633 setting fancy names for cell symbols other than name matching
1634 "\\`[A-Z]+[0-9]+\\'" regexp .
1635 (ses-localvars): Add ses--renamed-cell-symb-list.
1636 (ses-create-cell-variable): New defun.
1637 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1638 (ses-relocate-formula): Relocate formulas only for cells the
1639 symbols of which are not renamed, i.e. symbols whose names do not
1640 match regexp "\\`[A-Z]+[0-9]+\\'".
1641 (ses-relocate-all): Relocate values only for cells the symbols of
1642 which are not renamed.
1643 (ses-load): Create cells variables as the (ses-cell ...) are read,
1644 in order to check row col consistency with cell symbol name only
1645 for cells that are not renamed.
1646 (ses-replace-name-in-formula): New defun.
1647 (ses-rename-cell): New defun.
1649 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1651 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1652 New option (bug#11118).
1653 (perl-calculate-indent): Respect it.
1655 2012-04-17 Glenn Morris <rgm@gnu.org>
1657 * dired-aux.el (dired-mark-read-string): Doc fix.
1659 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1661 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1662 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1664 2012-04-17 Glenn Morris <rgm@gnu.org>
1666 * mouse.el (mouse-drag-track):
1667 * speedbar.el (speedbar-frame-mode):
1668 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1670 2012-04-16 Leo Liu <sdl.web@gmail.com>
1672 * progmodes/python.el: Trivial cleanup.
1674 2012-04-16 Glenn Morris <rgm@gnu.org>
1676 * vc/vc.el (vc-string-prefix-p):
1677 * vc/pcvs-util.el (cvs-string-prefix-p):
1678 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1679 * mpc.el (mpc-string-prefix-p):
1680 Make all of these into obsolete aliases for string-prefix-p.
1682 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1684 * textmodes/two-column.el: Move custom options to the start.
1685 (frame-width): Remove compat definition.
1686 (2C-associate-buffer, 2C-dissociate):
1687 Use with-current-buffer rather than save-excursion.
1688 (2C-dissociate): Force a mode-line update.
1689 (2C-autoscroll): Use ignore-errors.
1691 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1694 * emacs-lisp/cl-extra.el (*random-state*):
1695 Remove unnecessary declaration.
1697 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1699 * play/cookie1.el (cookie-snarf):
1700 Give an explicit error if input file cannot be read.
1702 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1704 * progmodes/perl-mode.el (c-macro-expand):
1705 Remove unnecessary autoload (it is in loaddefs.el).
1707 * textmodes/picture.el (picture-desired-column)
1708 (picture-update-desired-column): Convert comments to doc-strings.
1709 (picture-substitute): Remove function.
1710 (picture-mode-map): Initialize in the defvar.
1712 * woman.el: Remove eval-after-load for tar-mode.
1713 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1714 (woman-tar-extract-file): Autoload it.
1716 * frame.el (automatic-hscrolling): Make this alias obsolete.
1718 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1720 * ispell.el (ispell-set-spellchecker-params): Post-process
1721 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1722 (ispell-dictionary-base-alist): Revert to original XEmacs
1723 friendly version for default. [:alpha:] will be added in
1724 `ispell-set-spellchecker-params' if needed
1726 2012-04-16 Chong Yidong <cyd@gnu.org>
1728 * image.el (imagemagick--extension-regexp): New variable.
1729 (imagemagick-register-types): Use it.
1730 (imagemagick-types-inhibit): Add :set function. Allow new value
1731 of t to inhibit all types.
1733 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1734 so we can preload it.
1736 * loadup.el (fboundp): Preload regexp-opt, needed by
1737 imagemagick-register-types.
1739 2012-04-15 Chong Yidong <cyd@gnu.org>
1741 * frame.el (scrolling): Remove nearly unused customization group.
1743 * scroll-all.el (scroll-all-mode): Move to windows group.
1745 2012-04-15 Chong Yidong <cyd@gnu.org>
1747 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1749 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1751 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1752 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1754 2012-04-15 Glenn Morris <rgm@gnu.org>
1756 * simple.el (process-file-side-effects): Doc fix.
1758 2012-04-15 Glenn Morris <rgm@gnu.org>
1760 * international/mule-cmds.el (set-language-environment): Doc fix.
1762 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1764 * server.el (server-auth-key, server-generate-key): Doc fixes.
1765 (server-get-auth-key): Doc fix. Use `string-match-p'.
1766 (server-start): Reflow docstring.
1768 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1770 * server.el (server-generate-key): `called-interactively-p'
1771 requires a parameter.
1773 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1775 * server.el (server-auth-key): New variable.
1776 (server-generate-key, server-get-auth-key): New function.
1777 (server-start): Use the new variable and functions to allow
1778 setting a permanent server key (bug#9423).
1780 2012-04-14 Leo Liu <sdl.web@gmail.com>
1782 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1784 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1787 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1788 Emacs uses American spelling.
1790 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1792 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1793 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1794 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1795 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1797 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1799 * progmodes/which-func.el (which-func-modes): Change default.
1801 2012-04-14 Kim F. Storm <storm@cua.dk>
1803 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1804 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1806 2012-04-14 Chong Yidong <cyd@gnu.org>
1808 * custom.el (custom-theme-set-variables): Doc fix.
1810 2012-04-14 Glenn Morris <rgm@gnu.org>
1812 * international/mule.el (set-auto-coding-for-load): Doc fix.
1814 2012-04-14 Alan Mackenzie <acm@muc.de>
1816 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1817 imenu work again for Objective C Mode. Correct the *-index values,
1818 these having been disturbed by a previous change in 2011-08.
1820 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1821 Correct two search limits.
1823 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1825 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1827 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1829 * international/characters.el: Fix sorting.
1831 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1833 * international/characters.el: Add more missing Latin case pairs.
1835 2012-04-14 Glenn Morris <rgm@gnu.org>
1837 * files.el (dir-locals-set-class-variables): Doc fix.
1839 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1841 * international/characters.el: Add set-case-syntax-pair call for
1842 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1843 counterpart. (Bug#11209)
1845 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1847 2012-04-14 Glenn Morris <rgm@gnu.org>
1849 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1851 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1853 * textmodes/ispell.el (ispell-dictionary-base-alist):
1854 Add data for Hebrew.
1856 2012-04-14 Chong Yidong <cyd@gnu.org>
1858 * net/rcirc.el (rcirc-cmd-quit):
1859 Revert 2012-03-18 change (Bug#11192).
1861 2012-04-14 Glenn Morris <rgm@gnu.org>
1863 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1865 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1867 * minibuffer.el (completion-in-region-mode-map):
1868 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1870 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1872 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1874 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1876 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1877 to allow `C-M-f' and `C-M-b' to move to the nearest path
1878 separator (bug#9511).
1880 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1882 * avoid.el: Require cl when compiling. And also move the
1883 `provide' to the end.
1885 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1887 * avoid.el (mouse-avoidance-banish-position): New variable.
1888 (mouse-avoidance-banish-destination): Use it (bug#10165).
1890 2012-04-13 Leo Liu <sdl.web@gmail.com>
1892 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1894 2012-04-13 Ken Brown <kbrown@cornell.edu>
1896 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1897 this is no longer needed now that cygstart understands file:// URLs.
1898 (browse-url-filename-alist): For the same reason, don't modify
1899 file:// URLs on Cygwin.
1901 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1903 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1904 the region on shift if the binding is already shifted (bug#11221).
1906 2012-04-12 Glenn Morris <rgm@gnu.org>
1908 * mail/mailpost.el: Move to obsolete/.
1910 2012-04-12 Drew Adams <drew.adams@oracle.com>
1912 * imenu.el (imenu--generic-function): Ignore invisible definitions
1915 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1917 * hexl.el (hexl-bits): New variable.
1918 (hexl-options): Mention the variable in the doc string.
1919 (hexl-rulerise, hexl-line-displen): New functions.
1920 (hexl-mode): Mention the new variable.
1921 (hexl-mode, hexl-current-address, hexl-current-address):
1923 (hexl-ascii-start-column): New function.
1924 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1925 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1927 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1929 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1930 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1931 the encoding, as expected by hunspell.
1933 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * battery.el (battery--linux-sysfs-regexp): New const.
1936 (battery-status-function): Use it. Remove yeeloong special case.
1937 (battery-yeeloong-sysfs): Remove.
1938 (battery-echo-area-format): Remove yeeloong special case.
1940 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1942 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1943 Reported by Noah Friedman.
1945 * subr.el (read-passwd): Use read-string.
1947 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1949 * vcursor.el (vcursor-move): Increase the priority of the overlay
1952 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1954 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1955 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1957 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1959 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1960 define-minor-mode (bug#10760).
1962 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1964 * progmodes/grep.el (rgrep): Tweak the find command line so
1965 that directories matching `grep-find-ignored-files' won't be
1968 2012-04-11 Chong Yidong <cyd@gnu.org>
1970 * startup.el (command-line): Remove support for long-obsolete
1971 variable font-lock-face-attributes.
1973 2012-04-11 Glenn Morris <rgm@gnu.org>
1975 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1977 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1979 * window.el (window--state-get-1): Obey window-point-insertion-type.
1981 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1983 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1984 to previous function when point is on the first character of a
1985 function. Take care of that in `narrow-to-defun' (bug#6157).
1987 2012-04-11 Glenn Morris <rgm@gnu.org>
1989 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1990 not just file-errors.
1992 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1993 (vc-bzr-sha1): Use internal sha1.
1995 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1997 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1999 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2001 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2002 that start in the middle of the line (bug#10496).
2004 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2006 * battery.el (battery-linux-proc-acpi): Only one battery is
2007 discharged at a time, but that seems to confuse battery.el when
2008 computing `rate-type' for the battery not being discharged
2011 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2013 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2015 * international/quail.el: Use dolist and simplify.
2016 (quail-define-package, quail-update-keyboard-layout)
2017 (quail-define-rules): Use dolist.
2018 (quail-insert-kbd-layout, quail-get-translation): CSE.
2020 * tmm.el: Use dolist, remove left over hook.
2021 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2023 (calendar-load-hook): Don't mess with it.
2025 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2026 Use derived-mode-p. Run the diff asynchronously.
2028 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2030 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2032 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2034 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2035 (list-dynamic-libraries--loaded): New function.
2036 (list-dynamic-libraries--refresh): Use it.
2038 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2040 * progmodes/python.el (python-fill-paragraph):
2041 Make python-fill-region in a multiline string work when font-lock is
2042 disabled (bug#7018).
2044 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2046 * language/european.el (cp775): Add oem/legacy (en)coding on
2047 DOS/MS Windows for the Baltic languages. There are still plenty
2048 of texts written in this encoding/codepage (bug#6519).
2050 2012-04-10 Glenn Morris <rgm@gnu.org>
2052 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2053 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2055 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2057 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2058 next-line "n" and previous-line "p" in order to make recentf more
2059 consistent with ibuffer, dired or org-mode (bug#9387).
2061 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2063 * image.el (put-image): Return the overlay created instead of the
2064 optional input string (bug#7834). Note that this may break code
2065 that is (for some reason or other) depending on `put-image'
2066 returning the string.
2068 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2070 * simple.el (zap-to-char): Allow zapping using input methods
2073 * textmodes/fill.el (fill-region): Leave point and mark where they
2074 were before filling (bug#5399).
2076 2012-04-09 Glenn Morris <rgm@gnu.org>
2078 * version.el (emacs-bzr-get-version):
2079 Handle lightweight checkouts of local branches.
2081 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2083 * international/characters.el: Recover lost case pairs. (Bug#11209)
2085 2012-04-09 Chong Yidong <cyd@gnu.org>
2087 * custom.el (custom-variable-p): Return nil for non-symbol
2088 arguments instead of signaling an error.
2089 (user-variable-p): Obsolete alias for custom-variable-p.
2091 * apropos.el (apropos-variable):
2092 * files-x.el (read-file-local-variable):
2093 * simple.el (set-variable):
2094 * woman.el (woman-mini-help):
2095 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2097 2012-04-09 Glenn Morris <rgm@gnu.org>
2099 * startup.el (normal-top-level): Don't look for leim-list.el
2100 in places where it will not be found. (Bug#910)
2102 * international/mule-cmds.el (set-default-coding-systems):
2103 * files.el (normal-mode):
2104 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2105 This function was removed with ucs-tables.el in 2008.
2107 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2109 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2110 ispell-encoding8-command to "-i", without a trailing space.
2111 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2112 separate command-line arguments, to specify the encoding, since
2113 that's how hunspell expects it.
2115 2012-04-08 Glenn Morris <rgm@gnu.org>
2117 * loadup.el: Load bindings before cus-start.
2118 This reduces somewhat the number of "rogue" settings in emacs -Q.
2120 2012-04-07 Glenn Morris <rgm@gnu.org>
2122 * version.el (emacs-bzr-get-version): New function.
2123 (emacs-bzr-version): New variable.
2124 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2125 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2127 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2129 * international/uni-bidi.el, international/uni-category.el:
2130 * international/uni-combining.el, international/uni-decimal.el:
2131 * international/uni-decomposition.el, international/uni-digit.el:
2132 * international/uni-lowercase.el, international/uni-mirrored.el:
2133 * international/uni-name.el, international/uni-numeric.el:
2134 * international/uni-titlecase.el, international/uni-uppercase.el:
2135 Update for Unicode 6.1.
2137 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2139 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2141 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2143 * window.el (shrink-window): Mention the `window-min-height'
2144 variable in the doc string.
2146 2012-04-05 Bastien Guerry <bzg@altern.org>
2148 * color.el (color-lighten-name): Fix typo.
2150 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2152 * server.el (server--on-display-p): New function.
2153 (server--on-display-p): Use it.
2155 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2157 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2160 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2162 * comint.el (comint--common-quoted-suffix): Check string boundary
2163 before comparing (bug#11158).
2164 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2166 2012-04-04 Chong Yidong <cyd@gnu.org>
2168 * minibuffer.el (completion-extra-properties): Doc fix.
2170 * subr.el (delayed-warnings-hook): Doc fix.
2172 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2174 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2175 selection (Bug#11159).
2176 (epa-insert-keys): Inform that the default public key will be
2177 exported if no key is selected.
2179 2012-04-04 Richard Stallman <rms@gnu.org>
2181 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2183 2012-04-03 Chong Yidong <cyd@gnu.org>
2185 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2186 mail-insert-file, not its obsolete alias mail-attach-file.
2188 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2190 * notifications.el (notifications-notify): Fix docstring.
2192 2012-04-02 Glenn Morris <rgm@gnu.org>
2194 * emacs-lisp/authors.el (authors-aliases): Another addition.
2196 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2198 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2199 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2200 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2202 2012-04-01 Chong Yidong <cyd@gnu.org>
2204 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2205 Handle root directory properly.
2206 (copy-directory): Caller changed.
2208 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2209 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2211 2012-03-31 Glenn Morris <rgm@gnu.org>
2213 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2215 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2217 * calendar/calendar.el (calendar-window-list)
2218 (calendar-hide-window): Restore. (Bug#11140)
2219 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2221 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2223 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2225 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2226 Check if file is a symlink (Bug#10489).
2228 * files.el (copy-directory): Likewise.
2230 2012-03-30 Chong Yidong <cyd@gnu.org>
2232 * image.el (imagemagick-types-inhibit)
2233 (imagemagick-register-types): Doc fix.
2235 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2237 * ispell.el (ispell-get-extended-character-mode):
2238 Disable extended-char-mode for hunspell. hunspell does not support it
2239 and treats ~word as ordinary words in pipe mode.
2241 2012-03-30 Glenn Morris <rgm@gnu.org>
2243 * tutorial.el (help-with-tutorial): Ensure local variables don't
2244 happen to make the buffer read-only. (Bug#11127)
2246 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2248 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2249 (perl-calculate-indent): Return `noindent' in strings.
2251 2012-03-28 Sam Steingold <sds@gnu.org>
2253 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2254 instead of the broken adhockery which does not prevent calendar
2255 buffers from being displayed at random after exit.
2256 (calendar-window-list, calendar-hide-window): Remove the broken
2259 2012-03-28 Glenn Morris <rgm@gnu.org>
2261 * replace.el (query-replace-map): Doc fix.
2263 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2265 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2266 contents. (Bug#11109)
2268 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2270 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2272 (avl-tree--check, avl-tree--check-node): New funs.
2274 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2276 * window.el (switch-to-visible-buffer): New option.
2277 (switch-to-prev-buffer, switch-to-next-buffer):
2278 Observe switch-to-visible-buffer. Make sure that checking for a window
2279 showing a buffer already is done on the same frame.
2281 2012-03-27 Glenn Morris <rgm@gnu.org>
2283 * startup.el (mail-host-address): Doc fix.
2285 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2287 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2290 2012-03-26 Ami Fischman <ami@fischman.org>
2292 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2294 2012-03-26 Glenn Morris <rgm@gnu.org>
2296 * files.el (save-buffers-kill-emacs): Doc fix.
2298 * startup.el (normal-top-level, command-line, command-line-1):
2299 Give them doc strings.
2301 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2303 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2304 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2306 2012-03-25 Chong Yidong <cyd@gnu.org>
2308 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2309 theme if it was previously enabled before (Bug#11031).
2311 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2312 spec with custom-face-get-current-spec if its :shown-value is not
2313 determined yet (Bug#9337).
2314 (customize-create-theme, custom-theme-revert): Doc fixes.
2316 * button.el (button-at): Minor addition to docstring.
2318 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2320 * vc/vc.el (vc-merge): Fix a prompt.
2322 2012-03-24 Chong Yidong <cyd@gnu.org>
2324 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2327 * button.el (button-at): Minor addition to docstring.
2329 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2331 * newcomment.el (comment-choose-indent): No space after BOL.
2333 2012-03-22 Sam Steingold <sds@gnu.org>
2335 * window.el (switch-to-prev-buffer): Revert last patch because the
2336 bug turned out to be an advertised feature (Elisp manual 28.14).
2338 2012-03-22 Glenn Morris <rgm@gnu.org>
2340 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2341 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2343 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2345 * net/network-stream.el (network-stream-open-starttls): Make error
2346 message under Windows be less misleading.
2348 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2350 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2351 understands (bug#9942).
2353 2012-03-22 Chong Yidong <cyd@gnu.org>
2355 * simple.el (end-of-visible-line): Handle return value of
2356 next-single-property-change properly (Bug#9371).
2358 2012-03-22 Kenichi Handa <handa@m17n.org>
2360 * international/quail.el (quail-insert-kbd-layout): Fix previous
2361 change. To avoid unwanted bidi reordering, use
2362 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2364 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2366 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2367 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2368 (ruby-beginning-of-indent): Be more careful with the difference
2369 between word-boundary and symbol boundary.
2370 (ruby-mode-syntax-table): Make : a symbol constituent.
2372 2012-03-21 Andreas Politz <politza@fh-trier.de>
2374 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2376 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2378 * progmodes/etags.el (tags-completion-at-point-function):
2381 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2383 2012-03-21 Sam Steingold <sds@gnu.org>
2385 * progmodes/etags.el (tags-completion-at-point-function):
2386 Avoid the error when point is inside the pattern.
2388 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2390 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2393 2012-03-21 Drew Adams <drew.adams@oracle.com>
2395 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2397 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2399 * ido.el (ido-set-current-directory, ido-read-internal)
2400 (ido-choose-completion-string, ido-completion-help): Handle nil
2401 value of ido-completion-buffer (Bug#11008).
2403 2012-03-21 Sam Steingold <sds@gnu.org>
2405 * window.el (switch-to-prev-buffer): Do not switch to a visible
2406 window previous buffer, just like with the frame previous buffers.
2408 2012-03-21 Chong Yidong <cyd@gnu.org>
2410 * faces.el (make-face, make-empty-face, copy-face):
2411 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2414 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2416 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2417 (widget-complete): Remove broken use of it.
2419 2012-03-20 Chong Yidong <cyd@gnu.org>
2421 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2422 Use string-width and truncate-string-width to handle arbitrary
2425 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2427 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2428 to draw rectangles, not squares. (Regression introduced by revno
2429 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2431 2012-03-18 Chong Yidong <cyd@gnu.org>
2433 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2434 it is not yet defined (for temacs).
2436 2012-03-18 Leo Liu <sdl.web@gmail.com>
2438 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2440 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2442 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2443 (ispell-choices-win-default-height, ispell-silently-savep)
2444 (ispell-dictionary-alist, ispell-encoding8-command)
2445 (ispell-check-version, ispell-aspell-find-dictionary)
2446 (ispell-valid-dictionary-list, ispell-words-keyword)
2447 (ispell-get-word, ispell-internal-change-dictionary)
2448 (ispell-region, ispell-skip-region-list)
2449 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2450 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2451 (ispell-message-text-end, ispell-message)
2452 (ispell-buffer-local-parsing): Doc fix.
2454 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2456 * htmlfontify.el: Add support for code block fontification for ODT
2458 (hfy-optimisations): Define new option
2460 (hfy-fontify-buffer): Honor above setting.
2461 (hfy-begin-span, hfy-end-span): New routines factored out form
2462 `hfy-fontify-buffer'.
2463 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2464 that permit insertion of custom tags.
2465 (hfy-fontify-buffer): Use above handlers.
2466 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2467 (hfy-face-to-css): Re-defined to be a variable.
2468 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2469 over multiple runs. This is made possible by having the caller let
2470 bind a special variable `hfy-user-sheet-assoc'.
2471 (htmlfontify-string): New defun.
2472 (hfy-compile-face-map): Make sure that the last char in the
2473 buffer is correctly fontified.
2474 (hfy-face-resolve-face): Whitespace only change.
2476 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2478 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2481 2012-03-16 Leo Liu <sdl.web@gmail.com>
2483 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2485 2012-03-16 Alan Mackenzie <acm@muc.de>
2487 Further optimise the handling of large macros.
2489 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2490 limit to a call of `c-literal-limits'.
2491 (c-determine-+ve-limit): New function.
2492 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2493 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2494 In CASE 5B, restrict a search limit to 500.
2495 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2497 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2498 Restrict macro bounds to +-500 from after-change's BEG END.
2500 2012-03-16 Leo Liu <sdl.web@gmail.com>
2502 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2504 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2506 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2507 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2509 2012-03-16 Glenn Morris <rgm@gnu.org>
2511 * view.el (view-buffer, view-buffer-other-window)
2512 (view-buffer-other-frame): Doc fixes re special mode-class.
2514 * subr.el (eval-after-load): If named feature is provided not from
2515 a file, run after-load forms. (Bug#10946)
2517 * calendar/calendar.el (calendar-insert-at-column):
2518 Handle non-unit-width characters a bit better. (Bug#10978)
2520 2012-03-15 Chong Yidong <cyd@gnu.org>
2522 * emacs-lisp/ring.el (ring-extend): New function.
2523 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2525 * comint.el (comint-read-input-ring)
2526 (comint-add-to-input-history): Grow comint-input-ring lazily.
2528 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2530 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2531 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2533 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2534 (imenu-add-to-menubar): Don't add a redundant index.
2535 (imenu-update-menubar): Handle a dynamically composed keymap.
2537 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2539 * mail/sendmail.el (mail-encode-header):
2540 Bind rfc2047-encode-encoded-words to nil.
2542 2012-03-13 Glenn Morris <rgm@gnu.org>
2544 * calendar/calendar.el (calendar-string-spread):
2545 Handle non-unit-width characters a bit better. (Bug#10978)
2547 2012-03-13 Leo Liu <sdl.web@gmail.com>
2549 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2550 directory and file as argument (Bug#10822).
2552 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2554 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2555 For dynamically generated code, follow $PC.
2556 (gdb-disassembly-handler-custom): Handle no function name case.
2558 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2560 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2561 * emulation/ws-mode.el (ws-query-replace):
2562 * sort.el (sort-regexp-fields):
2563 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2565 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2567 * dabbrev.el: Fix cycle completion order (bug#10963).
2568 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2569 (dabbrev-completion): Don't use an obarray; provide
2570 a cycle-sort-function.
2572 2012-03-12 Leo Liu <sdl.web@gmail.com>
2574 * simple.el (kill-new): Use equal-including-properties for comparison.
2575 (kill-do-not-save-duplicates): Doc fix.
2577 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2579 * dabbrev.el: Fix cycle completion (bug#10963).
2580 Use lexical binding and wrap to 80 columns.
2581 (dabbrev-completion): Delay computing the list of completions.
2583 2012-03-12 Kenichi Handa <handa@m17n.org>
2585 * international/quail.el (quail-insert-kbd-layout): Surround each
2586 row by LRO and PDF instead of inserting many LRMs. Pad the left
2587 and right of each non-spacing marks. Insert invisible space
2588 between lower and upper characters to prevent composition.
2590 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2592 * minibuffer.el (minibuffer-complete): Don't get confused when the
2593 function is run twice via different commands (bug#10958).
2594 (complete-with-action): Fix docstring.
2596 2012-03-12 Chong Yidong <cyd@gnu.org>
2598 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2599 (nxml-completion-at-point-function): New function.
2600 (nxml-mode): Use it.
2601 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2603 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2604 Load generated autoloads file before byte compiling (Bug#10970).
2605 (package--make-autoloads-and-compile): New helper fun.
2607 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2609 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2611 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2613 * autorevert.el (auto-revert-handler): Ensure, that
2614 file-readable-p is applied only for local files or in
2615 auto-revert-tail-mode.
2617 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2619 * server.el (server-eval-at): Handle non-tcp connections.
2620 Decode result string.
2622 * server.el (server-msg-size): New constant.
2623 (server-reply-print): New function.
2624 (server-eval-and-print): Use it.
2625 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2628 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2630 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2633 2012-03-11 Chong Yidong <cyd@gnu.org>
2635 * simple.el (goto-line): Doc fix (Bug#9938).
2637 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2639 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2640 when finished (Bug#10963).
2642 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2644 * window.el (split-window-below): Fix bug in case where
2645 split-window-keep-point is nil (Bug#10971).
2647 2012-03-11 Juri Linkov <juri@jurta.org>
2649 * replace.el (replace-highlight): Set isearch-word to nil
2650 unconditionally. (Bug#10887)
2652 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2654 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2655 mairix-replace-illegal-chars; all callers changed. Don't remove
2656 ^, ~, and = characters: they are meaningful in mairix search specs.
2657 (mairix-widget-create-query): Add usage information about mairix
2658 search forms: negating words, searching for substrings, etc.
2660 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2662 * international/fontset.el (font-encoding-alist): Add an entry for
2665 2012-03-10 Richard Stallman <rms@gnu.org>
2667 * mail/sendmail.el (mail-encode-header):
2668 Set rfc2047-encode-encoded-words.
2670 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2672 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2673 view buffer means not swapped.
2674 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2675 (rmail-write-region-annotate): Error if real text has disappeared.
2677 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2679 2012-03-10 Chong Yidong <cyd@gnu.org>
2681 * emulation/cua-rect.el (cua--init-rectangles):
2682 * emulation/cua-base.el (cua--init-keymaps):
2683 Add delete-forward-char to remappings (Bug#9666).
2685 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2687 * speedbar.el (speedbar-unhighlight-one-tag-line):
2688 Avoid unhighlighting due to frame switching (Bug#10275).
2690 2012-03-10 Chong Yidong <cyd@gnu.org>
2692 * minibuffer.el (completion-in-region, completion-help-at-point):
2693 Give the completion field overlay a high priority (Bug#6830).
2695 * dired.el (dired-goto-file): Recognize absolute file name
2696 listings (Bug#7126).
2697 (dired-goto-file-1): New helper function.
2698 (dired-toggle-read-only): Inhibit warnings.
2700 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2702 * net/dbus.el (dbus-property-handler): Return empty array if
2703 there are no properties.
2705 2012-03-09 Leo Liu <sdl.web@gmail.com>
2707 * savehist.el (savehist-printable): Stricter check for string
2710 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2712 * mail/smtpmail.el (smtpmail-send-it):
2713 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2716 2012-03-09 Glenn Morris <rgm@gnu.org>
2718 * files.el (dir-locals-find-file):
2719 Don't check result is regular, readable.
2720 (dir-locals-read-from-file): Demote errors.
2722 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2724 * international/quail.el (quail-insert-kbd-layout):
2725 Insert invisible LRM characters before each character in a keyboard
2726 layout cell, to prevent their reordering by bidi display engine.
2727 For details, see the discussion in
2728 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2730 2012-03-08 Alan Mackenzie <acm@muc.de>
2732 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2733 the starting position; make it extend the marked region when
2734 invoked repeatedly - all under appropriate circumstances.
2735 Fixes bugs #5525, #10906.
2737 2012-03-08 Glenn Morris <rgm@gnu.org>
2739 * files.el (locate-dominating-file, dir-locals-find-file):
2740 Undo 2012-03-06 change.
2742 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2744 * international/quail.el (quail-help):
2745 Force bidi-paragraph-direction be left-to-right. See discussion in
2746 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2749 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2751 Avoid superfluous registering of signals. (Bug#10807)
2753 * notifications.el (notifications-on-action-object)
2754 (notifications-on-close-object): New defvars.
2755 (notifications-on-action-signal, notifications-on-closed-signal):
2756 Unregister the signal if not needed any longer.
2757 (notifications-notify): Register `notifications-action-signal' or
2758 `notifications-closed-signal', if :on-action or :on-close has been
2761 2012-03-07 Chong Yidong <cyd@gnu.org>
2763 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2766 2012-03-06 Glenn Morris <rgm@gnu.org>
2768 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2769 (x-disown-selection-internal, x-get-selection-internal):
2770 Doc fix (add arglist signatures). (Bug#10783)
2772 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2774 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2775 Handle breakpoints with no "type".
2777 2012-03-06 Glenn Morris <rgm@gnu.org>
2779 * files.el (locate-dominating-file): Add optional predicate argument.
2780 (dir-locals-find-file): Make use of above change.
2782 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2784 * info.el (Info-insert-dir): Also try "dir.gz".
2786 2012-03-06 Glenn Morris <rgm@gnu.org>
2788 * files.el (dir-locals-find-file):
2789 Ignore non-readable or non-regular files. (Bug#10928)
2791 * files.el (locate-dominating-file): Doc fix.
2793 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2795 * calendar/calendar.el (calendar-set-mode-line):
2796 `getenv' returns a string. (Bug#10951)
2798 2012-03-05 Leo Liu <sdl.web@gmail.com>
2800 * simple.el (backward-delete-char-untabify): Constrain point to
2803 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2805 2012-03-05 Chong Yidong <cyd@gnu.org>
2807 * simple.el (count-words): If called from Lisp, return the word
2808 count, for symmetry with `count-lines'. Arglist changed.
2809 (count-words--message): Args changed. Consolidate counting code
2810 from count-words and count-words-region.
2811 (count-words-region): Caller changed.
2812 (count-lines-region): Make it an obsolete alias.
2814 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2816 * saveplace.el (save-place-to-alist)
2817 (save-place-ignore-files-regexp): Allow value nil to disable this
2820 2012-03-04 Chong Yidong <cyd@gnu.org>
2822 * faces.el (face-spec-reset-face): For the default face, reset the
2823 attributes to default values (Bug#10748).
2825 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2827 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2828 previous patch: Check `message-send-mail-function', and not the
2829 default function (bug#10897).
2831 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2833 * notifications.el (notifications-on-action-signal)
2834 (notifications-on-closed-signal): Check for unique service name of
2835 incoming event. Fix error in removing entry.
2836 (top): Register for signals with wildcard service name.
2837 (notifications-notify): Use daemon unique service name for map entries.
2839 2012-03-04 Chong Yidong <cyd@gnu.org>
2841 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2843 2012-03-04 Glenn Morris <rgm@gnu.org>
2845 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2846 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2847 (expand-abbrev, define-abbrev-table): Doc fixes.
2849 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2851 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2852 `message-default-send-mail-function' and not `send-mail-function'
2853 when doing the prompting for `sendmail-query-once' before sending
2854 in Message buffers (bug#10897).
2856 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2857 This is inconsistent with all the other stream functions, which leave
2858 the setting up to the higher levels (if so wanted) (bug#10931).
2860 2012-03-02 Alan Mackenzie <acm@muc.de>
2862 Depessimize the handling of very large macros.
2864 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2865 (c-macro-cache-syntactic): New variables to implement a one
2866 element macro cache.
2867 (c-invalidate-macro-cache): New function.
2868 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2869 Adapt to use the new cache.
2870 (c-state-safe-place): Use better the cache of safe positions.
2871 (c-state-semi-nonlit-pos-cache)
2872 (c-state-semi-nonlit-pos-cache-limit):
2873 New variables for...
2874 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2875 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2876 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2877 Use c-state-semi-safe-place.
2879 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2880 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2882 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2884 * jka-compr.el (jka-compr-call-process):
2885 Apply `file-accessible-directory-p' only when the default directory is
2888 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2890 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2891 access of FILE2, if FILE1 does not exist.
2893 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2894 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2896 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2897 Add "PAGER=" to `process-environment'.
2899 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2901 * progmodes/sql.el: Bug fix
2902 (sql-get-login-ext): Save login values in globals.
2903 (sql-get-login): Use new version of `sql-get-login-ext'.
2904 (sql-interactive-mode): Set global `sql-connection' to nil.
2905 (sql-connect): Set global values for connection.
2906 (sql-product-interactive): Save global values as buffer local.
2908 2012-02-29 Leo Liu <sdl.web@gmail.com>
2910 * abbrev.el (define-abbrevs): Reset sys to nil.
2912 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2914 * files.el (file-equal-p): Rename from `files-equal-p'.
2915 Return nil when one or both files don't exist.
2916 (file-subdir-of-p): Now only top directory must exists,
2917 return nil if it doesn't.
2918 (copy-directory): No need to test with `file-subdir-of-p' after
2920 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2923 2012-02-28 Glenn Morris <rgm@gnu.org>
2925 * shell.el (shell-mode):
2926 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2927 * play/landmark.el (landmark-font-lock-face-O):
2928 * play/handwrite.el (handwrite):
2929 * play/gomoku.el (gomoku-O):
2930 * net/browse-url.el (browse-url-browser-display):
2931 * international/mule.el (define-charset):
2932 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2933 * filesets.el (filesets-find-file-delay):
2934 * eshell/em-xtra.el (eshell-xtra):
2935 * eshell/em-unix.el (eshell-grep):
2936 * emulation/viper.el (viper-mode):
2937 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2938 * emacs-lisp/easymenu.el (easy-menu-define):
2939 * calendar/timeclock.el (timeclock-use-display-time):
2941 * bookmark.el (bookmark-save-flag):
2942 Doc fix (standardize possessive apostrophe usage).
2944 2012-02-27 Chong Yidong <cyd@gnu.org>
2946 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2947 Fix key-binding lookup for ESC key (Bug#9146).
2949 * font-lock.el (font-lock-specified-p): Rename from
2950 font-lock-spec-present. Callers changed.
2952 2012-02-27 Daniel Hackney <dan@haxney.org>
2954 * emacs-lisp/package.el (package-compute-transaction):
2955 Handle holding a package version to t in package-load-list.
2957 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2959 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2960 (tramp-get-inode, tramp-get-device): Use cached values.
2962 2012-02-26 Alan Mackenzie <acm@muc.de>
2964 Check there is a font-lock specification before doing initial
2967 * font-core.el (font-lock-mode): Move the conditional from
2968 :after-hook to font-lock-initial-fontify.
2969 (font-lock-default-function): Move the check for a specification
2970 to font-lock-spec-present.
2972 * font-lock.el (font-lock-initial-fontify): Call ...
2973 (font-lock-spec-present): New function.
2975 2012-02-26 Jim Blandy <jimb@red-bean.com>
2977 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2978 (gdb-send): Apply it to the operand of the '-interpreter-exec
2979 console' command, so that we can pass arguments with (say) quotes
2980 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2982 2012-02-26 Chong Yidong <cyd@gnu.org>
2984 * help-fns.el (describe-function-1): Clarify description of
2985 remapping (Bug#10844).
2987 * files.el (files-equal-p): Doc fix.
2988 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2989 and quit the loop once a mismatch is found.
2991 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2993 * bs.el (bs--show-with-configuration): Don't throw an error
2994 if the window cannot be split; otherwise, subsequent calls to
2995 bs-show fail, restoring a stale window config. (Bug#10882)
2997 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2999 * term/ns-win.el (global-map): Bind ns-drag-file to
3000 ns-find-file (Bug#5855, Bug#10050).
3002 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3004 * calendar/parse-time.el (parse-time-string): Allow extractor to
3007 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3009 * net/tramp.el (tramp-file-name-for-operation):
3010 Add `files-equal-p' and `file-subdir-of-p'.
3012 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3013 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3014 Add COPY-CONTENTS argument.
3016 2012-02-25 Chong Yidong <cyd@gnu.org>
3018 Add custom groups for VC backends, for consistency with vc-bzr.
3020 * vc/vc-arch.el (vc-arch):
3021 * vc/vc-cvs.el (vc-cvs):
3022 * vc/vc-git.el (vc-git):
3023 * vc/vc-hg.el (vc-hg):
3024 * vc/vc-mtn.el (vc-mtn):
3025 * vc/vc-rcs.el (vc-rcs):
3026 * vc/vc-sccs.el (vc-sccs):
3027 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3028 All relevant defcustoms reassigned.
3030 2012-02-25 Chong Yidong <cyd@gnu.org>
3032 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3034 * term/x-win.el (x-initialize-window-system): Reduce default for
3035 x-selection-timeout to 5 seconds (Bug#8869).
3037 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3039 * files.el (files-equal-p, file-subdir-of-p): New functions.
3040 (copy-directory): Error when trying to copy a directory on itself.
3041 Add missing copy-contents arg to tramp handler.
3042 * dired-aux.el (dired-copy-file-recursive): Same.
3043 (dired-create-files): Modify destination when source is equal to
3044 dest when copying files.
3045 Return also when dest is a subdir of source. (Bug#10489)
3047 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3049 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3052 2012-02-23 Alan Mackenzie <acm@muc.de>
3054 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3055 parameter "after-hook:" to allow the expansion to run code after
3056 the execution of the mode hooks.
3058 * font-lock.el (font-lock-initial-fontify): New function extracted
3059 from font-lock-mode-internal.
3061 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3064 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3066 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3067 (completion--cache-all-sorted-completions): New function.
3068 (completion-all-sorted-completions): Use it.
3069 (completion--do-completion, minibuffer-force-complete):
3070 Use it to re-instate the flush hook.
3072 * icomplete.el (icomplete-completions): Replace last fix with a better
3075 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3077 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3078 when it might call us back infinitely (bug#10797).
3080 2012-02-23 Glenn Morris <rgm@gnu.org>
3082 * minibuffer.el (completion-category-overrides): Doc fix.
3084 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3086 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3087 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3089 2012-02-23 Glenn Morris <rgm@gnu.org>
3091 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3092 (authors-obsolete-files-regexps, authors-ignored-files)
3093 (authors-ambiguous-files, authors-renamed-files-alist):
3096 2012-02-23 Juri Linkov <juri@jurta.org>
3098 * isearch.el (isearch-occur): Sync interactive spec with occur's
3099 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3101 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3103 2012-02-22 Juri Linkov <juri@jurta.org>
3105 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3106 (ucs-insert): Doc fix. Check for hex digits in the string.
3107 Don't display `nil' in the error message. (Bug#10857)
3109 2012-02-22 Alan Mackenzie <acm@muc.de>
3111 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3113 2012-02-22 Glenn Morris <rgm@gnu.org>
3115 * ffap.el (ffap-c-path):
3116 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3118 2012-02-22 Chong Yidong <cyd@gnu.org>
3120 * custom.el (load-theme): Doc fix.
3122 2012-02-22 Glenn Morris <rgm@gnu.org>
3124 * dired-x.el (dired-guess-shell-alist-default):
3125 Remove escape sequences from nroff output. (Bug#172)
3127 2012-02-21 Glenn Morris <rgm@gnu.org>
3129 * vc/emerge.el (emerge-defvar-local):
3130 Set `permanent-local' property rather than unused `preserved'.
3132 * textmodes/picture.el (picture-delete-char): New alias.
3133 (picture-mode-map): Use it. (Bug#10860)
3134 (picture-mode): Doc fix.
3136 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3138 * newcomment.el (uncomment-region-default): Remove unused binding.
3140 2012-02-21 Glenn Morris <rgm@gnu.org>
3142 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3143 (picture-self-insert, picture-tab-chars): Doc fix.
3144 (picture-mode-map): Fix C-a, C-e.
3146 2012-02-20 Glenn Morris <rgm@gnu.org>
3148 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3150 2012-02-20 Leo Liu <sdl.web@gmail.com>
3152 * icomplete.el (icomplete-completions): Check FROM arg before
3153 passing to substring (Bug#10850).
3155 2012-02-19 Chong Yidong <cyd@gnu.org>
3157 * comint.el: Require ansi-color.
3158 (comint-output-filter-functions): Add ansi-color-process-output.
3160 * ansi-color.el: Don't set comint-output-filter-functions; it is
3161 now in the initial value defined in comint.el.
3162 (ansi-color-apply-face-function): New variable.
3163 (ansi-color-apply-on-region): Use it.
3164 (ansi-color-apply-overlay-face): New function.
3166 * shell.el (shell): No need to require ansi-color.
3167 (shell-mode): Use ansi-color-apply-face-function to highlight
3168 color escapes using font-lock-face property (Bug#10835).
3170 2012-02-19 Chong Yidong <cyd@gnu.org>
3172 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3173 mode-line formats (Bug#10839).
3175 2012-02-18 Glenn Morris <rgm@gnu.org>
3177 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3179 * mail/undigest.el (unforward-rmail-message): Doc fix.
3181 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3183 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3185 * international/characters.el (script-list): Sync with the latest
3186 Unicode Character Database.
3188 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3190 * international/titdic-cnv.el: Remove duplicate coding tag.
3191 * language/cham.el: Likewise.
3192 * language/tai-viet.el: Likewise.
3194 2012-02-18 Glenn Morris <rgm@gnu.org>
3196 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3197 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3198 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3199 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3200 * calendar/holidays.el (holiday-bahai-holidays)
3201 (calendar-holidays, list-holidays):
3202 Use utf-8 Bahá'í in doc-strings, menus, etc.
3204 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3206 * saveplace.el (save-place-ignore-files-regexp): New variable
3207 allowing for excluding files from saving their location of point.
3208 The default value matches the temporary commit message editing
3209 files from Git, SVN, Bazaar, and Mercurial.
3210 (save-place-to-alist): Use it.
3212 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3213 Stefan Monnier <monnier@iro.umontreal.ca>
3215 * newcomment.el (uncomment-region-default): Don't leave extra space
3216 when an arg is provided (bug#8150).
3218 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3220 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3222 2012-02-17 Glenn Morris <rgm@gnu.org>
3224 * net/socks.el: Require network-stream. (Bug#10599)
3226 2012-02-17 Kenichi Handa <handa@m17n.org>
3228 * international/charprop.el:
3229 * international/uni-name.el:
3230 * international/uni-old-name.el:
3231 * international/uni-comment.el: Regenerate.
3233 2012-02-16 Glenn Morris <rgm@gnu.org>
3235 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3236 Interactively in calendar buffer, give an error if not on a date.
3238 2012-02-15 Glenn Morris <rgm@gnu.org>
3240 * shell.el (shell-delimiter-argument-list):
3241 Revert 2011-02-17 change. (Bug#8027)
3243 2012-02-15 Chong Yidong <cyd@gnu.org>
3245 * minibuffer.el (completion-at-point-functions): Doc fix.
3247 * custom.el (defcustom): Doc fix; note use of defvar.
3249 2012-02-15 Glenn Morris <rgm@gnu.org>
3251 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3254 2012-02-14 Glenn Morris <rgm@gnu.org>
3256 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3258 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3260 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3261 way the ports list is computed.
3262 (smtpmail-query-smtp-server): Prompt the user for a port number if
3263 we can't connect to any of the standard ports (bug#10810).
3265 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3267 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3269 2012-02-13 Glenn Morris <rgm@gnu.org>
3271 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3273 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3275 * net/gnutls.el (gnutls-trustfiles): New variable.
3276 (gnutls-negotiate): Use it.
3278 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3280 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3281 does its stuff if Gnus is running.
3283 2012-02-13 Alan Mackenzie <acm@muc.de>
3285 Fix a loop in c-set-fl-decl-start.
3287 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3288 c-backward-syntactic-ws actually moves backwards.
3290 2012-02-13 Leo Liu <sdl.web@gmail.com>
3292 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3293 beginning so that all \C-o chars are removed.
3295 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3297 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3299 2012-02-12 Alan Mackenzie <acm@muc.de>
3301 Fix infinite loop with long macros.
3302 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3304 2012-02-12 Chong Yidong <cyd@gnu.org>
3306 * window.el (display-buffer): Doc fix (Bug#10785).
3308 2012-02-12 Glenn Morris <rgm@gnu.org>
3310 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3311 (x-disown-selection-internal, x-get-selection-internal):
3312 Sync docs with the xselect.c versions.
3314 * allout-widgets.el: Add missing license notice.
3316 2012-02-11 Glenn Morris <rgm@gnu.org>
3318 * select.el (x-get-selection-internal, x-own-selection-internal)
3319 (x-disown-selection-internal):
3320 * x-dnd.el (x-get-selection-internal): Update declarations.
3322 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3324 * window.el (window-sides-slots):
3325 * tool-bar.el (tool-bar-position):
3326 * term/xterm.el (xterm-extra-capabilities):
3327 * ses.el (ses-self-reference-early-detection):
3328 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3329 (verilog-auto-wire-type)
3330 (verilog-auto-delete-trailing-whitespace)
3331 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3332 (verilog-auto-tieoff-declaration):
3333 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3334 (sql-oracle-statement-starters, sql-oracle-scan-on):
3335 * progmodes/prolog.el (prolog-align-comments-flag)
3336 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3337 (prolog-left-indent-regexp, prolog-paren-indent-p)
3338 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3339 (prolog-types, prolog-mode-specificators)
3340 (prolog-determinism-specificators, prolog-directives)
3341 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3342 (prolog-electric-dot-flag)
3343 (prolog-electric-dot-full-predicate-template)
3344 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3345 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3346 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3347 (prolog-program-switches, prolog-prompt-regexp)
3348 (prolog-debug-on-string, prolog-debug-off-string)
3349 (prolog-trace-on-string, prolog-trace-off-string)
3350 (prolog-zip-on-string, prolog-zip-off-string)
3351 (prolog-use-standard-consult-compile-method-flag)
3352 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3353 (prolog-imenu-max-lines, prolog-info-predicate-index)
3354 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3355 (prolog-char-quote-workaround):
3356 * progmodes/cc-vars.el (c-defun-tactic):
3357 * net/tramp.el (tramp-encoding-command-interactive)
3358 (tramp-local-end-of-line):
3359 * net/soap-client.el (soap-client):
3360 * net/netrc.el (netrc-file):
3361 * net/gnutls.el (gnutls):
3362 * minibuffer.el (completion-category-overrides)
3363 (completion-cycle-threshold)
3364 (completion-pcm-complete-word-inserts-delimiters):
3365 * man.el (Man-name-local-regexp):
3366 * mail/feedmail.el (feedmail-display-full-frame):
3367 * international/characters.el (glyphless-char-display-control):
3368 * eshell/em-ls.el (eshell-ls-date-format):
3369 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3370 (lisp-lambda-list-keyword-parameter-indentation)
3371 (lisp-lambda-list-keyword-parameter-alignment):
3372 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3373 * dired-x.el (dired-omit-verbose):
3374 * cus-theme.el (custom-theme-allow-multiple-selections):
3375 * calc/calc.el (calc-highlight-selections-with-faces)
3376 (calc-lu-field-reference, calc-lu-power-reference)
3377 (calc-note-threshold):
3378 * battery.el (battery-mode-line-limit):
3379 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3380 (archive-7z-update):
3381 * allout.el (allout-prefixed-keybindings)
3382 (allout-unprefixed-keybindings)
3383 (allout-inhibit-auto-fill-on-headline)
3384 (allout-flattened-numbering-abbreviation):
3385 * allout-widgets.el (allout-widgets-auto-activation)
3386 (allout-widgets-icons-dark-subdir)
3387 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3388 (allout-widgets-theme-dark-background)
3389 (allout-widgets-theme-light-background)
3390 (allout-widgets-item-image-properties-emacs)
3391 (allout-widgets-item-image-properties-xemacs)
3392 (allout-widgets-run-unit-tests-on-load)
3393 (allout-widgets-time-decoration-activity)
3394 (allout-widgets-hook-error-post-time)
3395 (allout-widgets-track-decoration):
3396 Add missing :version tags to new defcustoms and defgroups.
3398 * progmodes/sql.el (sql-ansi-statement-starters)
3399 (sql-oracle-statement-starters): Add custom type.
3401 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3402 (prolog-system-version): Give it a type.
3404 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3406 * term/pc-win.el (x-select-text, x-selection-owner-p)
3407 (x-own-selection-internal, x-disown-selection-internal)
3408 (x-get-selection-internal): Sync doc strings and argument lists
3409 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3411 2012-02-11 Leo Liu <sdl.web@gmail.com>
3413 * progmodes/python.el (python-end-of-statement): Fix infinite
3416 2012-02-10 Glenn Morris <rgm@gnu.org>
3418 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3419 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3421 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3423 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3424 about SMTP before checking the From header.
3426 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3427 into own function for reuse by emacsbug.el.
3429 2012-02-10 Leo Liu <sdl.web@gmail.com>
3431 * subr.el (condition-case-unless-debug): Rename from
3432 condition-case-no-debug. All callers changed.
3433 (with-demoted-errors): Fix caller.
3435 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3436 * nxml/rng-valid.el (rng-do-some-validation):
3437 * emacs-lisp/package.el (package-refresh-contents)
3438 (package-menu-execute):
3439 * desktop.el (desktop-create-buffer):
3440 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3442 2012-02-10 Glenn Morris <rgm@gnu.org>
3444 * textmodes/bibtex.el:
3445 Add missing :version tags for new/changed defcustoms.
3447 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3449 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3451 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3452 (smtpmail-via-smtp): Use it, or fall back on the From address.
3453 (smtpmail-send-it): Ditto.
3455 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3457 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3458 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3459 (byte-compile-tmp-var): New const.
3460 (byte-compile-defvar): Use it to minimize .elc size.
3461 Just use `defvar' rather than simulate it (bug#10761).
3463 2012-02-09 Glenn Morris <rgm@gnu.org>
3465 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3467 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3470 * progmodes/compile.el (compilation-error-screen-columns)
3471 (compilation-first-column, compilation-filter-start): Doc fixes.
3473 * vc/log-view.el (log-view-toggle-entry-display):
3474 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3476 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3477 (report-emacs-bug-can-use-xdg-email):
3478 (report-emacs-bug-insert-to-mailer): Doc fixes.
3479 (report-emacs-bug): Message fix.
3481 * net/browse-url.el (browse-url-can-use-xdg-open)
3482 (browse-url-xdg-open): Doc fixes.
3484 * electric.el (electric-indent-mode, electric-pair-mode)
3485 (electric-layout-rules, electric-layout-mode): Doc fixes.
3486 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3488 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3490 * server.el (server-unselect-display): Don't inadvertently kill
3491 the current buffer. (Bug#10729)
3493 2012-02-08 Glenn Morris <rgm@gnu.org>
3495 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3496 (sql-list-table): Doc fixes.
3498 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3499 Comment out (does nothing).
3501 * completion.el (dynamic-completion-mode):
3502 * dirtrack.el (dirtrack-debug-mode):
3503 * electric.el (electric-layout-mode):
3504 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3505 * face-remap.el (text-scale-mode, buffer-face-mode):
3506 * iimage.el (iimage-mode):
3507 * image-mode.el (image-transform-mode):
3508 * minibuffer.el (completion-in-region-mode):
3509 * scroll-lock.el (scroll-lock-mode):
3510 * simple.el (next-error-follow-minor-mode):
3511 * tar-mode.el (tar-subfile-mode):
3512 * tooltip.el (tooltip-mode):
3513 * vcursor.el (vcursor-use-vcursor-map):
3514 * wid-browse.el (widget-minor-mode):
3515 * emulation/tpu-edt.el (tpu-edt-mode):
3516 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3517 * international/iso-ascii.el (iso-ascii-mode):
3518 * language/thai-util.el (thai-word-mode):
3519 * mail/supercite.el (sc-minor-mode):
3520 * net/goto-addr.el (goto-address-mode):
3521 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3522 * progmodes/cwarn.el (cwarn-mode):
3523 * progmodes/flymake.el (flymake-mode):
3524 * progmodes/glasses.el (glasses-mode):
3525 * progmodes/hideshow.el (hs-minor-mode):
3526 * progmodes/pascal.el (pascal-outline-mode):
3527 * textmodes/enriched.el (enriched-mode):
3528 * vc/smerge-mode.el (smerge-mode):
3529 Doc fixes (minor mode argument).
3531 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3533 * ls-lisp.el (ls-lisp-sanitize): New function.
3534 (ls-lisp-insert-directory): Use it to fix or remove any elements
3535 in file-alist with missing attributes. (Bug#4673)
3537 2012-02-07 Alan Mackenzie <acm@muc.de>
3539 Fix spurious recognition of c-in-knr-argdecl.
3541 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3542 putative K&R region.
3544 2012-02-07 Alan Mackenzie <acm@muc.de>
3546 * progmodes/cc-engine.el (c-forward-objc-directive):
3547 Prevent looping in "#pragma mark @implementation".
3549 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3551 * notifications.el (notifications-on-closed-signal): Make `reason'
3552 optional. (Bug#10744)
3554 2012-02-07 Glenn Morris <rgm@gnu.org>
3556 * emacs-lisp/easy-mmode.el (define-minor-mode):
3557 Doc fixes for the macro and the mode it defines.
3559 * image.el (imagemagick-types-inhibit): Doc fix.
3561 * cus-start.el (imagemagick-render-type): Add it.
3563 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3565 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3566 Set the default at load time, too, so that `font-lock-fontify-buffer'
3567 can be called without setting up the entire mode first. This fixes
3568 a bug in `mm-inline-text' with C MIME parts.
3570 2012-02-06 Chong Yidong <cyd@gnu.org>
3572 * simple.el (list-processes--refresh): Delete exited processes
3575 * comint.el (comint-next-prompt): next-single-char-property-change
3576 and prev-single-char-property-change never return nil (Bug#8657).
3578 * custom.el (defcustom): Doc fix (Bug#9711).
3580 2012-02-05 Chong Yidong <cyd@gnu.org>
3582 * cus-edit.el (custom-variable-reset-backup): Quote the value
3583 before storing it in the customized-value property (Bug#6712).
3584 (custom-display): Add a customization type tag.
3585 (custom-buffer-create-internal): Improve tooltip message.
3587 * wid-edit.el (widget-field-value-get): New optional arg to
3588 suppress trailing whitespace truncation.
3589 (character): Use it (Bug#2689).
3591 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3593 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3594 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3596 2012-02-05 Chong Yidong <cyd@gnu.org>
3598 * cus-edit.el (custom-variable-value-create): For mismatched
3599 types, show the current value (Bug#7600).
3601 * custom.el (defcustom): Doc fix.
3603 2012-02-05 Glenn Morris <rgm@gnu.org>
3605 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3607 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3609 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3610 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3611 (pp-last-sexp): Use `looking-at-p'.
3613 2012-02-04 Glenn Morris <rgm@gnu.org>
3615 * files.el (revert-buffer):
3616 Doc fix (mention revert-buffer-in-progress-p).
3618 * emacs-lisp/ert-x.el (ert-simulate-command):
3619 Check deferred-action-list (which is obsolete) is bound.
3621 * subr.el (with-wrapper-hook): Doc fixes.
3623 * simple.el (filter-buffer-substring-functions)
3624 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3626 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3628 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3629 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3631 2012-02-04 Leo Liu <sdl.web@gmail.com>
3633 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3635 2012-02-04 Glenn Morris <rgm@gnu.org>
3637 * image.el (image-extension-data): Add obsolete alias.
3639 * isearch.el (isearch-update): Doc fix.
3641 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3643 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3645 2012-02-03 Glenn Morris <rgm@gnu.org>
3647 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3648 (image-animate-timeout): Doc fix.
3650 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3652 2012-02-02 Glenn Morris <rgm@gnu.org>
3654 * server.el (server-auth-dir): Doc fix.
3655 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3657 * subr.el (run-mode-hooks): Doc fix.
3659 2012-02-02 Juri Linkov <juri@jurta.org>
3661 * image-mode.el (image-toggle-display-image): Remove tautological
3662 `major-mode' from the `derived-mode-p' test.
3664 2012-02-02 Kenichi Handa <handa@m17n.org>
3666 * composite.el (compose-region): Cancel previous change.
3668 2012-02-02 Kenichi Handa <handa@m17n.org>
3670 * composite.el (compose-region, compose-string): Signal error for
3671 a null string component (Bug#6988).
3673 2012-02-01 Chong Yidong <cyd@gnu.org>
3675 * view.el (view-buffer-other-window, view-buffer-other-frame):
3676 Handle special modes like view-buffer (Bug#10650).
3677 (view-buffer): Simplify.
3679 * frame.el (set-frame-font): Tweak meaning of third argument.
3681 * dynamic-setting.el (font-setting-change-default-font):
3682 Use set-frame-font (Bug#9982).
3684 2012-02-01 Glenn Morris <rgm@gnu.org>
3686 * progmodes/compile.el (compilation-internal-error-properties):
3687 Respect compilation-first-column in the "*compilation*" buffer.
3689 * emacs-lisp/easy-mmode.el (define-minor-mode):
3690 Relax :variable's test for a named function.
3692 2012-01-31 Alan Mackenzie <acm@muc.de>
3694 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3697 2012-01-31 Chong Yidong <cyd@gnu.org>
3699 * frame.el (set-frame-font): New arg ALL-FRAMES.
3701 * menu-bar.el (menu-set-font): Use set-frame-font.
3703 * faces.el (face-spec-reset-face): Don't apply unspecified
3704 attribute values to the default face.
3706 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3708 * progmodes/cwarn.el (cwarn): Remove dead link.
3709 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3710 Remove * from defcustom docstrings.
3711 (turn-on-cwarn-mode): Make obsolete.
3712 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3713 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3715 2012-01-31 Glenn Morris <rgm@gnu.org>
3717 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3718 Fix :variable handling of mode a symbol not equal to modefun.
3719 Allow named functions to be used as the cdr of :variable.
3721 2012-01-30 Glenn Morris <rgm@gnu.org>
3723 * emacs-lisp/authors.el (authors-fixed-entries):
3724 Remove reference to deleted file rnewspost.el.
3726 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3728 * window.el (window-with-parameter): Remove unused variable `windows'.
3729 (window--side-check): Remove unused variable `code'.
3730 (window--resize-siblings): Remove unused variable `first'.
3731 (adjust-window-trailing-edge): Remove unused variable `failed'.
3732 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3733 Use `let', not `let*'.
3734 (balance-windows-2): Remove unused variable `found'.
3735 (window--state-put-2): Remove unused variable `splits'.
3736 (window-state-put): Remove unused variable `selected'.
3737 (same-window-p): Use `string-match-p'.
3738 (display-buffer-assq-regexp): Remove unused variable `value'.
3739 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3740 Mark argument ALIST as ignored.
3741 (pop-to-buffer): Remove unused variable `old-window'.
3743 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3745 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3746 and .lzma compressed files.
3748 2012-01-29 Chong Yidong <cyd@gnu.org>
3750 * frame.el (window-system-default-frame-alist): Doc fix.
3752 * dynamic-setting.el (font-setting-change-default-font): Don't
3753 change the default face if SET-FONT argument is non-nil (Bug#9982).
3755 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3757 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3759 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3761 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3762 breakpoints in files outside current directory (Bug#6098).
3764 2012-01-29 Chong Yidong <cyd@gnu.org>
3766 * progmodes/python.el: Require ansi-color at top-level.
3768 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3769 Define and use in Emacs Lisp mode (Bug#9360).
3770 (lisp-mode-abbrev-table): Add doc.
3771 (lisp-mode-variables): Don't set local-abbrev-table.
3772 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3774 2012-01-28 Roland Winkler <winkler@gnu.org>
3776 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3778 2012-01-28 Roland Winkler <winkler@gnu.org>
3780 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3781 (bibtex-set-dialect): Use it. Either set global values of
3782 dialect-dependent variables or bind these variables buffer-locally
3784 (bibtex-mode): Call bibtex-set-dialect via
3785 hack-local-variables-hook.
3786 (bibtex-dialect): Update docstring.
3787 Add safe-local-variable predicate.
3788 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3790 (bibtex-mode-map): Define menu for each dialect.
3791 (bibtex-entry): Fix docstring.
3793 2012-01-28 Chong Yidong <cyd@gnu.org>
3795 * eshell/esh-arg.el (eshell-quote-argument): New function.
3797 * eshell/esh-ext.el (eshell-invoke-batch-file):
3798 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3799 first arg to eshell-parse-command (Bug#10523).
3801 2012-01-28 Drew Adams <drew.adams@oracle.com>
3803 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3804 `default-directory' is non-nil.
3806 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3808 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3809 line that displays system-configuration-options. (Bug#9924)
3811 2012-01-28 Drew Adams <drew.adams@oracle.com>
3813 * descr-text.el (describe-char): Show information about POS, in
3814 addition to information about the character at POS. Improve and
3815 update the doc string. Change "code point" to "code point in
3816 charset", to avoid confusion with the character's Unicode code
3817 point shown above that. (Bug#10129)
3819 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3821 * descr-text.el (describe-char): Show the raw character, not only
3822 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3823 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3826 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3828 * emacs-lisp/package.el (package-install):
3829 Run package-refresh-contents if there is no archive yet (Bug#9798).
3831 2012-01-28 Chong Yidong <cyd@gnu.org>
3833 * emacs-lisp/package.el (package-maybe-load-descriptor):
3834 New function, split from package-maybe-load-descriptor.
3835 (package-maybe-load-descriptor): Use it.
3836 (package-download-transaction): Fully load required packages
3837 inside the loop, so that `require' calls work (Bug#10593).
3838 (package-install): No need to call package-initialize now.
3840 2012-01-28 Chong Yidong <cyd@gnu.org>
3842 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3844 * tooltip.el (tooltip-mode): Doc fix.
3845 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3847 * frame.el (set-cursor-color): Doc fix (Bug#352).
3849 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3850 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3852 * cus-edit.el (custom-buffer-create-internal): Fix search button
3854 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3856 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3858 * dired.el (dired-mark-files-regexp):
3859 Include any subdirectory components. (Bug#10445)
3861 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3863 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3864 Handle [host]:port syntax. (Bug#10533)
3866 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3868 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3870 2012-01-26 Glenn Morris <rgm@gnu.org>
3872 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3873 * term.el (term-raw-escape-map): Use Control-X-prefix.
3874 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3876 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3878 * window.el (window-state-get, window--state-get-1): Don't deal
3879 with fixed-sizeness of windows. Simplify code.
3881 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3883 * window.el (window--state-get-1, window--state-put-2):
3884 Don't save and restore the mark.
3886 2012-01-25 Chong Yidong <cyd@gnu.org>
3888 * custom.el (custom-variable-p): Doc fix.
3890 2012-01-25 Glenn Morris <rgm@gnu.org>
3892 * dired.el (dired-goto-file): Handle some of the more common
3893 characters that `ls -b' escapes. (Bug#10596)
3895 * progmodes/compile.el (compilation-next-error-function):
3896 Respect compilation-first-column in the "*compilation*" buffer.
3897 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3899 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3901 2012-01-24 Glenn Morris <rgm@gnu.org>
3903 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3905 2012-01-24 Julien Danjou <julien@danjou.info>
3907 * color.el (color-rgb-to-hsl): Fix value computing.
3908 (color-hue-to-rgb): New function.
3909 (color-hsl-to-rgb): New function.
3910 (color-clamp, color-saturate-hsl, color-saturate-name)
3911 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3912 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3914 2012-01-24 Glenn Morris <rgm@gnu.org>
3916 * vc/vc-rcs.el (vc-rcs-create-tag):
3917 * vc/vc-sccs.el (vc-sccs-create-tag):
3918 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3920 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3922 * eshell/esh-util.el (eshell-read-hosts-file):
3923 Skip comment lines. (Bug#10549)
3925 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3927 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3929 * subr.el (display-delayed-warnings): Doc fix.
3930 (collapse-delayed-warnings): New function to collapse identical
3932 (delayed-warnings-hook): Add it.
3934 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3936 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3938 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3939 properties, when "login-as" is set.
3941 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3942 (tramp-default-user-alist): Don't add "pscp".
3943 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3944 property "login-as", if set. (Bug#10530)
3946 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3948 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3949 "plink1" and "psftp". (Bug#10530)
3951 2012-01-21 Kenichi Handa <handa@m17n.org>
3953 * international/mule-cmds.el (prefer-coding-system): Show a
3954 warning message if the default value of file-name-coding-system
3957 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3959 * windmove.el (windmove-reference-loc):
3960 Fix windmove-reference-loc miscalculation.
3962 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3964 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3967 2012-01-21 Glenn Morris <rgm@gnu.org>
3969 * international/mule.el (auto-coding-alist): Add .tbz.
3971 * files.el (local-enable-local-variables): Doc fix.
3972 (inhibit-local-variables-regexps): Rename from
3973 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3974 Doc fix. Add some extensions from auto-coding-alist.
3975 (inhibit-local-variables-suffixes):
3976 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3977 (inhibit-local-variables-p):
3978 New function, extracted from set-auto-mode-1.
3979 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3980 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3981 (hack-local-variables): Doc fix. Make the mode-only case
3982 respect enable-local-variables and friends.
3983 Respect inhibit-local-variables-regexps for file-locals, but
3984 not for directory-locals.
3985 (set-visited-file-name):
3986 Take account of inhibit-local-variables-regexps.
3987 Whether it applies may change as the file name is changed.
3988 * jka-cmpr-hook.el (jka-compr-install):
3989 * jka-compr.el (jka-compr-uninstall):
3990 Update for inhibit-first-line-modes-suffixes name change.
3992 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3994 * help-macro.el (make-help-screen): Temporarily restore original
3995 binding for minor-mode-map-alist (Bug#10454).
3997 2012-01-19 Julien Danjou <julien@danjou.info>
3999 * color.el (color-name-to-rgb): Use the white color to find the max
4000 color component value and return correctly computed values.
4001 (color-name-to-rgb): Add missing float conversion for max value.
4003 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4005 * window.el (window--state-get-1, window-state-get): Do not use
4006 special state value for window-persistent-parameters.
4007 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4008 (window--state-put-2): Reset all window parameters to nil before
4009 assigning values of persistent parameters.
4011 2012-01-18 Alan Mackenzie <acm@muc.de>
4013 Eliminate sluggishness and hangs in fontification of "semicolon
4016 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4017 Change value 10000 -> 3000.
4018 (c-state-safe-place): Reformulate so it doesn't stack up an
4019 infinite number of wrong entries in c-state-nonlit-pos-cache.
4020 (c-determine-limit-get-base, c-determine-limit): New functions to
4021 determine backward search limits disregarding literals.
4022 (c-find-decl-spots): Amend commenting.
4023 (c-cheap-inside-bracelist-p): New function which detects "={".
4025 * progmodes/cc-fonts.el
4026 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4028 (c-font-lock-declarations): Fix an occurrence of point being
4029 undefined. Check additionally for point being in a bracelist or
4030 near a macro invocation without a semicolon so as to avoid a
4031 fruitless time consuming search for a declarator. Give a more
4032 precise search limit for declarators using the new
4035 2012-01-18 Glenn Morris <rgm@gnu.org>
4037 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4038 (set-auto-mode): Doc fixes.
4040 2012-01-17 Glenn Morris <rgm@gnu.org>
4042 * isearch.el (search-nonincremental-instead): Fix doc typo.
4044 * dired.el (dired-insert-directory): Handle newlines in directory name.
4045 (dired-build-subdir-alist): Unescape newlines in directory name.
4047 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4049 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4050 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4051 (tramp-action-terminal): Use it. (Bug#10530)
4053 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4055 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4057 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4059 * window.el (window-state-ignored-parameters): Remove variable.
4060 (window--state-get-1): Rename argument MARKERS to IGNORE.
4061 Handle persistent window parameters. Make copy of clone-of
4062 parameter only if requested. (Bug#10348)
4063 (window--state-put-2): Install a window parameter only if it has
4064 a non-nil value or an existing parameter shall be overwritten.
4066 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4068 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4070 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4072 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4073 don't pass the (nil) value of `upnode' to string-match.
4075 2012-01-14 Chong Yidong <cyd@gnu.org>
4077 * startup.el (command-line): Fix X resource class for cursorColor.
4078 Fix values recognized by the cursorBlink resource.
4080 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4082 * epg.el (epg--make-temp-file): Avoid permission race condition
4083 when running on old Emacs versions (bug#10403).
4085 2012-01-14 Glenn Morris <rgm@gnu.org>
4087 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4089 2012-01-13 Alan Mackenzie <acm@muc.de>
4091 Fix filling for when filladapt mode is enabled.
4093 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4094 c-mask-paragraph, pass in `fill-paragraph' rather than
4095 `fill-region-as-paragraph'. (This is a reversion of a previous
4097 * progmodes/cc-mode.el (c-basic-common-init):
4098 Make fill-paragraph-handle-comment buffer local and set it to nil.
4100 2012-01-13 Glenn Morris <rgm@gnu.org>
4102 * dired.el (dired-switches-escape-p): New function.
4103 (dired-insert-directory): Use dired-switches-escape-p.
4104 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4106 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4108 2012-01-12 Glenn Morris <rgm@gnu.org>
4110 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4111 changes in adaptive-fill-regexp. (Bug#10276)
4113 2012-01-11 Alan Mackenzie <acm@muc.de>
4115 Fix Emacs bug #10463 - put `widen's around the critical spots.
4117 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4118 widen around each invocation of c-state-pp-to-literal. Remove an
4119 unused let variable.
4121 2012-01-11 Glenn Morris <rgm@gnu.org>
4123 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4126 2012-01-10 Chong Yidong <cyd@gnu.org>
4128 * net/network-stream.el (network-stream-open-starttls):
4129 Avoid emitting a confusing error message when the server gives a bad
4130 response to the capability command.
4132 2012-01-10 Glenn Morris <rgm@gnu.org>
4134 * mail/unrmail.el (unrmail): Tweak previous change.
4136 2012-01-09 Chong Yidong <cyd@gnu.org>
4138 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4140 2012-01-08 Alan Mackenzie <acm@muc.de>
4142 Optimise font locking in long enum definitions.
4144 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4145 arm to a cond form to handle enums.
4146 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4147 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4149 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4151 * files.el (move-file-to-trash): Preserve default file modes on error.
4154 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4156 * faces.el (set-face-attribute): Clarify the meaning of the nil
4159 * subr.el (with-selected-frame): Mention that the selected frame
4160 is restored (bug#9980).
4162 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4165 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4166 (password-read): Don't autoload unused function.
4168 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4170 * progmodes/which-func.el (which-func-mode): Turn into a
4171 non-interactive function and mark as obsolete (bug#10428).
4173 2012-01-06 Chong Yidong <cyd@gnu.org>
4175 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4176 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4177 functions, along with 1 and -1.
4179 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4181 * time.el (display-time-load-average)
4182 (display-time-default-load-average): Doc fixes. See the thread
4184 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4187 2012-01-06 Glenn Morris <rgm@gnu.org>
4189 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4190 has no messages. (Bug#10377)
4192 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4193 than Info-edit. (Bug#10385)
4195 * time.el (display-time-load-average, display-time-next-load-average):
4198 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4199 local setting of buffer-read-only to the input buffer. (Bug#10419)
4201 * calendar/calendar.el (calendar-mode):
4202 Locally set scroll-margin to 0. (Bug#10379)
4204 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4206 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4208 2012-01-05 Glenn Morris <rgm@gnu.org>
4210 * eshell/em-unix.el (diff-no-select): Autoload it.
4211 (eshell/diff): Use diff-no-select. (Bug#10420)
4213 2012-01-05 Chong Yidong <cyd@gnu.org>
4215 * shell.el (shell-dynamic-complete-functions): Revert last change.
4216 (shell-command-completion-function): New function.
4217 (shell-completion-vars): Use it to implement
4218 shell-completion-execonly (Bug#10417).
4220 * custom.el (enable-theme): Don't set custom-safe-themes.
4222 * cus-theme.el (custom-theme-merge-theme):
4223 Ignore custom-enabled-themes and custom-safe-themes.
4225 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4227 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4228 first prompt in `sql-interacive-mode'.
4229 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4231 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4232 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4233 context of original buffer. Invoke `sql-login-hook'.
4235 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4237 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4238 letters in cite-prefix.
4240 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4242 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4244 2012-01-03 Chong Yidong <cyd@gnu.org>
4246 * shell.el (shell-dynamic-complete-functions):
4247 Put pcomplete-completions-at-point, so as to try
4248 comint-filename-completion first (Bug#10417).
4250 2012-01-02 Richard Stallman <rms@gnu.org>
4252 * battery.el (battery-status-function):
4253 Detect when to use battery-yeeloong-sysfs.
4254 (battery-echo-area-format): Add string for Yeeloong.
4255 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4256 (battery-yeeloong-sysfs): New function.
4258 2012-01-02 Chong Yidong <cyd@gnu.org>
4260 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4261 (dirtrack): Merge code for handling relative filenames in prompt
4262 from shell-dir-cookie-watcher.
4263 (dirtrack-debug-message): New arg to avoid excess format calls.
4265 * shell.el (shell-dir-cookie-re): Variable deleted.
4266 (shell-dir-cookie-watcher): Function deleted.
4267 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4270 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4272 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4273 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4276 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4278 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4280 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4282 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4283 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4285 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4287 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4288 also for alternative shells.
4289 (tramp-open-connection-setup-interactive-shell): Check, whether
4290 the shell is a busybox.
4291 (tramp-send-command): Don't suppress multiple prompts for
4292 busyboxes, it hurts.
4294 2011-12-28 Chong Yidong <cyd@gnu.org>
4296 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4297 (gdb-get-source-file): Move mode line update to
4298 gdb-get-source-file (Bug#10087).
4300 2011-12-25 Chong Yidong <cyd@gnu.org>
4302 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4303 gud-gdb-marker-filter without taking it as an argument.
4304 (gud-gdb-run-command-fetch-lines): Caller changed.
4305 (gud-gdb-completion-function): New variable.
4306 (gud-gdb-completion-at-point): Use it.
4307 (gud-gdb-completions-1): Split from gud-gdb-completions.
4309 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4310 function as separate arguments.
4311 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4312 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4313 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4314 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4315 (gdb-stopped, def-gdb-auto-update-trigger)
4316 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4317 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4319 (gud-gdbmi-completions): New function.
4320 (gdb): Use it for generating the completion table.
4322 2011-12-24 Alan Mackenzie <acm@muc.de>
4324 Introduce a mechanism to widen the region used in context font
4325 locking. Use this to protect declarations from losing their contexts.
4327 * progmodes/cc-langs.el (c-before-font-lock-functions):
4328 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4329 (c-before-context-fontification-functions): New defvar, a list of
4330 functions to be run just before context (etc.) font locking.
4332 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4333 New, functionality extracted from
4334 c-neutralize-syntax-in-and-mark-CPP.
4335 (c-in-after-change-fontification): New variable.
4336 (c-after-change): Set c-in-after-change-fontification.
4337 (c-set-fl-decl-start): Rejig its interface, so it can be called
4338 from both after-change and context fontifying.
4339 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4341 (c-standard-font-lock-fontify-region-function): New variable.
4342 (c-font-lock-fontify-region): New function.
4344 2011-12-24 Juri Linkov <juri@jurta.org>
4346 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4349 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4351 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4352 existence of source file. (Bug#10325)
4354 2011-12-23 Alan Mackenzie <acm@muc.de>
4356 Fix unstable fontification inside templates.
4358 * progmodes/cc-langs.el (c-before-font-lock-functions):
4359 Newly created from the singular version. The (c c++ objc) entry now
4360 additionally has c-set-fl-decl-start. The other languages (apart
4361 from AWK) have that as a single entry.
4363 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4364 The functionality for "local" declarations has been extracted to
4365 c-set-fl-decl-start.
4367 * progmodes/cc-mode.el (c-common-init, c-after-change):
4368 Changes due to pluralisation of c-before-font-lock-functions.
4369 (c-set-fl-decl-start): New function, extracted from
4370 c-font-lock-enclosing-decls and enhanced.
4372 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4374 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4376 2011-12-22 Juri Linkov <juri@jurta.org>
4378 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4380 2011-12-22 Chong Yidong <cyd@gnu.org>
4382 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4384 2011-12-21 Drew Adams <drew.adams@oracle.com>
4386 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4388 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4390 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4392 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4394 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4395 highlighting and support. Fix up comments for capitalization.
4396 (cfengine-mode-debug): New var.
4397 (cfengine3-mode): Change the modeline indicator to "CFE3".
4398 (cfengine3-font-lock-keywords): Improve defun highlighting.
4399 (cfengine2-actions): Rename from `cfengine-actions'.
4400 (cfengine2-font-lock-keywords): Rename from
4401 `cfengine-font-lock-keywords'.
4402 (cfengine2-imenu-expression): Rename from
4403 `cfengine-imenu-expression'.
4404 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4405 (cfengine2-beginning-of-defun): Rename from
4406 `cfengine-beginning-of-defun'.
4407 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4408 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4409 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4410 modeline indicator to "CFE2".
4411 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4412 (cfengine-mode-abbrevs): Mark obsolete.
4414 2011-12-21 Chong Yidong <cyd@gnu.org>
4416 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4419 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4421 * window.el (window-normalize-buffer-to-display): Remove.
4422 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4424 2011-12-19 Chong Yidong <cyd@gnu.org>
4426 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4427 Don't signal an error in a predicate function; return non-nil.
4428 (vc-dir-mark-file): Move the error here.
4429 (vc-dir-mark-unmark): If acting on the region, keep going if one
4430 of the entries cannot be marked/unmarked.
4431 (vc-dir-mark-all-files): If current entry is a directory, mark
4432 only child files, as documented.
4434 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4436 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4437 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4440 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4442 * term/ns-win.el (ns-get-selection-internal)
4443 (ns-store-selection-internal): Declare.
4444 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4445 Declare as obsolete.
4446 (ns-get-pasteboard, ns-paste-secondary):
4447 Use ns-get-selection-internal.
4448 (ns-set-pasteboard, ns-copy-including-secondary):
4449 Use ns-store-selection-internal.
4451 2011-12-17 Chong Yidong <cyd@gnu.org>
4453 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4454 (vc-deduce-fileset): Doc fix.
4456 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4458 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4460 2011-12-13 Sam Steingold <sds@gnu.org>
4462 * man.el (Man-getpage-in-background): When running under a
4463 window-system, ignore $MANWIDTH and $COLUMNS.
4465 2011-12-15 Kenichi Handa <handa@m17n.org>
4467 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4468 (setup-ethiopic-environment-internal): Comment out key-binding for
4469 ethio-toggle-punctuation.
4471 2011-12-13 Alan Mackenzie <acm@muc.de>
4473 Add the switch statement to AWK Mode.
4475 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4476 "default" to the keywords regexp.
4478 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4479 expression as the rest.
4480 (c-nonlabel-token-key): Allow string literals for AWK.
4481 Refactor for the other modes.
4483 Large brace-block initialisation makes CC Mode slow: Fix.
4484 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4485 routines. Limit backward searching in c-font-lock-enclosing.decl.
4487 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4488 pp-state and literal type in addition to the limits.
4489 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4490 (c-state-literal-at): Use the above new defun.
4491 (c-slow-in-literal, c-fast-in-literal): Remove.
4492 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4494 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4495 being in a literal. Add a limit for backward searching.
4497 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4500 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4502 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4504 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4506 * window.el (delete-other-windows): Use correct frame in call to
4507 window-with-parameter.
4509 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4511 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4512 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4513 (makefile-gmake-statements, makefile-makepp-statements):
4514 Use it and add new makepp keywords.
4515 (makefile-makepp-font-lock-keywords): Add new patterns.
4516 (makefile-match-function-end): Match new [...] and [[...]].
4518 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4520 * ses.el (ses-call-printer-return, ses-cell-property-get)
4521 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4522 (ses-create-cell-variable, ses-reset-header-string)
4523 (ses-cell-set-formula, ses-repair-cell-reference-all)
4524 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4525 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4526 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4527 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4528 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4529 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4530 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4531 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4532 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4533 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4534 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4535 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4537 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4539 * ses.el: The overall change is to add cell renaming, that is
4540 setting fancy names for cell symbols other than name matching
4541 "\\`[A-Z]+[0-9]+\\'" regexp .
4542 (ses-create-cell-variable): New defun.
4543 (ses-relocate-formula): Relocate formulas only for cells the
4544 symbols of which are not renamed, i.e. symbols whose names do not
4545 match regexp "\\`[A-Z]+[0-9]+\\'".
4546 (ses-relocate-all): Relocate values only for cells the symbols of
4547 which are not renamed.
4548 (ses-load): Create cells variables as the (ses-cell ...) are read,
4549 in order to check row col consistency with cell symbol name only
4550 for cells that are not renamed.
4551 (ses-replace-name-in-formula): New defun.
4552 (ses-rename-cell): New defun.
4554 2011-12-11 Chong Yidong <cyd@gnu.org>
4556 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4557 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4559 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4561 * window.el (other-window): Fix docstring.
4563 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4565 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4566 `from' or `to' address before taking its substring.
4567 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4568 encoded name is chopped in the middle of the encoded string, and
4569 thus displayed encoded.
4571 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4573 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4575 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4577 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4578 to use texinfo-update-node and commands that call it if the
4579 Texinfo file uses @node lines without next/prev/up pointers.
4580 Correct outdated description about texinfo-master-menu.
4581 (texinfo-all-menus-update, texinfo-master-menu)
4582 (texinfo-update-node, texinfo-every-node-update)
4583 (texinfo-multiple-files-update): Doc fix. Warn against updating
4584 all the @node lines.
4585 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4586 argument is numeric. Explain better in the doc string what the
4587 function really does.
4588 (texinfo-insert-master-menu-list): Improve the error message
4589 displayed if there's no menu in the Top node.
4590 (Bug#2975) See also this thread:
4591 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4593 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4595 * speedbar.el (speedbar-supported-extension-expressions):
4596 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4598 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4600 * printing.el (pr-mode-alist):
4601 * simple.el (filter-buffer-substring-functions)
4602 (completion-list-insert-choice-function):
4603 * window.el (window-with-parameter, window-atom-root)
4604 (window-sides-slots, window-size-fixed, window-min-delta)
4605 (window-max-delta, window--resize-mini-window)
4606 (window--resize-child-windows-normal, window-tree)
4607 (delete-other-windows, quit-window, split-window)
4608 (display-buffer-record-window, special-display-buffer-names)
4609 (special-display-regexps, special-display-popup-frame)
4610 (same-window-p, split-window-sensibly)
4611 (display-buffer-overriding-action, display-buffer-alist)
4612 (display-buffer-base-action, display-buffer, switch-to-buffer)
4613 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4614 (fit-window-to-buffer, recenter-positions)
4615 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4616 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4617 and remove unneeded backslashes in docstrings.
4619 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4621 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4623 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4624 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4626 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4627 when reading the makefile (bug#10116).
4629 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4631 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4634 2011-12-06 Glenn Morris <rgm@gnu.org>
4636 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4638 2011-12-06 Chong Yidong <cyd@gnu.org>
4640 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4642 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4644 * textmodes/table.el (table-shorten-cell): Fix typo.
4646 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4648 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4650 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4652 * descr-text.el (describe-char): Fix display of strong
4653 right-to-left characters and directional embeddings and overrides.
4655 * simple.el (what-cursor-position): Fix display of codepoints of
4656 strong right-to-left characters.
4658 2011-12-05 Chong Yidong <cyd@gnu.org>
4660 * faces.el (read-color): Doc fix.
4662 2011-12-05 Glenn Morris <rgm@gnu.org>
4664 * align.el (align--set-marker): Add doc-string.
4665 Don't try to move something that is not a marker. (Bug#10216)
4667 2011-12-04 Glenn Morris <rgm@gnu.org>
4669 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4670 overly zealous deletion of trailing whitespace.
4672 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4674 * server.el (server-delete-client): On Windows, do not try to delete
4676 (server-process-filter): On Windows, treat requests for a tty frame as
4677 if they were for a GUI frame if the running server is in GUI mode.
4679 2011-12-03 Glenn Morris <rgm@gnu.org>
4681 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4683 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4685 * electric.el: Streamline electric-indent's hook.
4686 (electric-indent-chars): Revert to simple list.
4687 (electric-indent-functions): New var.
4688 (electric-indent-post-self-insert-function): Use it.
4690 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4691 there's no inferior buffer (bug#10196).
4692 (prolog-consult-compile): Don't use toggle-read-only.
4694 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4696 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4697 interrupt. (Bug#10187)
4699 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4701 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4704 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4707 2011-12-02 Juri Linkov <juri@jurta.org>
4709 * info.el (Info-search): Display "end of manual" when Isearch
4710 reaches the end of single-file Info manual. (Bug#9918)
4712 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4714 * isearch.el (isearch-message-prefix): Run the input method part
4715 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4717 2011-12-02 Juri Linkov <juri@jurta.org>
4719 * isearch.el (isearch-occur): Use `word-search-regexp' for
4721 (isearch-search-and-update): Add condition for `isearch-word' and
4722 call `word-search-regexp'. (Bug#10145)
4724 2011-12-01 Glenn Morris <rgm@gnu.org>
4726 * eshell/em-hist.el (eshell-hist-initialize):
4727 Handle eshell-history-size nil and HISTSIZE set or unset.
4728 (eshell-history-file-name, eshell-history-size): Fix custom type.
4730 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4732 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4734 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4736 * progmodes/verilog-mode.el (verilog-pretty-expr):
4737 Rework verilog-pretty-expr to handle new assignment operators in system
4738 verilog, such as += *= and the like.
4739 (verilog-assignment-operator-re): Regular expression to find the
4740 assigment operator in a verilog assignment.
4741 (verilog-assignment-operation-re): Regular expression to find an
4742 assignment statement for pretty-expr.
4743 (verilog-in-attribute-p): Query returns true if point is in an
4744 attribute context; used to skip these for expression line up from
4746 (verilog-in-parameter-p): Query returns true if point is in an
4747 parameter definition context; used to skip these for expression
4748 line up from pretty-expr.
4749 (verilog-in-parenthesis-p): Query returns true if point is in a
4750 parenthetical expression, specifically ( ) but not [ ] or { };
4751 used by pretty-expr.
4752 (verilog-just-one-space): If there is no space, don't add one.
4753 (verilog-get-lineup-indent-2): Specifically skip just attribute
4754 contexts for expression lineup, rather than skipping all
4755 parenthetical expressions.
4756 (verilog-calculate-indent): Fix comment, and fix indent.
4757 (verilog-do-indent): Indent declarations in lists (suggested by
4759 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4761 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4764 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4766 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4767 parameters with embedded comments. Reported by Ray Stevens.
4768 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4769 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4770 Reported by Tim Holt.
4771 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4772 instantiated by upper module causing wrong expansion until AUTOed a
4773 second time. Reported by K C Buckenmaier.
4774 (verilog-diff-auto): Fix showing .* as a difference when
4775 `verilog-auto-star-save' off. Reported by Dan Dever.
4776 (verilog-auto-reset, verilog-read-always-signals)
4777 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4778 temporary signals in reset list if
4779 verilog-auto-reset-blocking-in-non is nil, and match assignment
4780 style to each signal's assignment type, bug381.
4781 Reported by Thomas Esposito.
4782 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4783 (verilog-uvm-statement-re): Support UVM indentation and
4784 highlighting, with old OVM keywords only.
4785 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4786 Support AUTOTIEOFF creating non-wire data types.
4787 Suggested by Jonathan Greenlaw.
4788 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4789 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4790 (verilog-inject-sense, verilog-read-inst-pins)
4791 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4792 Fix mismatching parenthesis inside commented out code when deleting
4793 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4794 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4795 non-numeric vector width. Reported by Alex Reed.
4796 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4797 detecting signals with parameter widths. Reported by Alex Reed.
4798 (verilog-auto-delete-trailing-whitespace):
4799 With `verilog-auto-delete-trailing-whitespace' remove trailing
4800 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4801 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4802 Fix verilog-scan-cache corruption when running user AUTO expansion
4803 hooks that call indentation routines.
4804 (verilog-simplify-range-expression): Fix typo ignoring lower case
4806 (verilog-delete-auto): Fix delete-autos to also remove user created
4807 automatics, as long as they start with AUTO.
4808 (verilog-batch-diff-auto, verilog-diff-auto)
4809 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4810 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4811 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4812 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4813 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4814 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4815 is disabled and its cache will get corrupt, causing AUTOS not to
4816 expand. Instead use only -quick functions.
4817 (verilog-scan-region): Fix scanning over escaped quotes.
4818 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4819 (verilog-re-search-backward-quick)
4820 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4821 related functions now ignore strings, to fix misparsing of strings
4822 with magic comments embedded in them.
4823 (verilog-read-auto-template):
4824 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4825 Reported by Brad Dobbie.
4826 (verilog-read-auto-template):
4827 Fix 'verilog-auto-inst-template-numbers' with comments.
4828 Reported by Brad Dobbie.
4829 (verilog-auto-inst, verilog-auto-inst-param)
4830 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4831 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4832 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4833 debugging templates without merge conflicts, bug357.
4834 Reported by Brad Dobbie.
4835 (verilog-read-auto-template):
4836 Fix verilog-auto-inst-template-numbers with multiple templates.
4837 Reported by Brad Dobbie.
4838 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4839 abbrevs so user won't be asked to save.
4840 (verilog-read-auto-lisp-present): Fix to start at beginning of
4841 buffer in case called outside of verilog-auto.
4842 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4843 to "X-2". Reported by Matthew Myers.
4844 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4845 all inputs from module templates. Reported by Leith Johnson.
4846 (verilog-module-inside-filename-p): Fix locating programs as with
4848 (verilog-auto-inst-port): Fix vl-width expressions when using
4849 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4850 (verilog-decls-get-regs, verilog-decls-get-signals,
4851 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4852 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4853 verilog-read-decls): Combine reg and wire structures into one var
4854 structure to represent SystemVerilog concepts.
4855 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4856 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4857 (verilog-auto-wire-type, verilog-insert-definition):
4858 Add verilog-auto-wire-type and AUTOLOGIC to support using
4859 SystemVerilog "logic" keyword instead of "wire"/"reg".
4860 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4861 to declares outputs that also have assignments (presumably in an
4862 ifdef or generate if so there's not a driver conflict).
4863 Reported by Matthew Myers.
4864 (verilog-auto-declare-nettype, verilog-insert-definition):
4865 Add verilog-auto-declare-nettype to fix declarations using
4866 `default_nettype none. Reported by Julian Gorfajn.
4867 (verilog-read-always-signals-recurse, verilog-read-decls)
4868 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4869 malformed end statement, bug325. Reported by Joshua Wise and
4871 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4872 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4873 when expanding .* in interfaces, bug320.
4874 Reported by Pierre-David Pfister.
4875 (verilog-read-module-name): Fix import statements between module
4876 name and open parenthesis, bug317.
4877 Reported by Pierre-David Pfister.
4878 (verilog-simplify-range-expression): Fix simplification of
4879 multiplications inside AUTOWIRE connections, bug303.
4880 (verilog-auto-inst-port): Support parameter expansion in
4881 multidimensional arrays.
4882 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4883 after "assert property". Reported by Julian Gorfajn.
4884 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4885 with multiplication, bug303.
4886 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4887 Reported by Jan Frode Lonnum.
4889 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4891 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4892 (hfy-shell-file-name, hfy-shell):
4893 * international/fontset.el (x-decompose-font-name): Fix typos.
4895 2011-11-29 Ken Brown <kbrown@cornell.edu>
4897 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4898 (gdb-version): Remove defvar.
4899 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4900 (gdb-gud-context-command, gdb-non-stop-handler)
4901 (gdb-current-context-command, gdb-stopped): Use it.
4902 (gdb-init-1): Enable pretty printing here.
4903 (gdb-non-stop-handler): Don't enable pretty-printing here.
4904 Check to see if the target supports non-stop mode; if not, turn off
4905 non-stop mode. Use the following.
4906 (gdb-check-target-async): New defun.
4907 (gud-watch, gdb-stopped): Fix whitespace.
4908 (gdb-get-source-file): Don't try to display the source file if
4909 `gdb-main-file' is nil.
4911 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4913 * align.el: Try to generate fewer markers (bug#10047).
4914 (align--set-marker): New macro.
4915 (align-region): Use it.
4917 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4919 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4921 2011-11-29 Chong Yidong <cyd@gnu.org>
4923 * indent.el (indent-for-tab-command, indent-according-to-mode):
4925 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4927 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4929 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4930 aware of remote file names. (Bug#10124)
4932 2011-11-29 Chong Yidong <cyd@gnu.org>
4934 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4936 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4938 * files.el (find-file): Don't use force-same-window (bug#10144).
4939 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4940 use pop-to-buffer if the selected window can't be used.
4941 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4943 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4945 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4948 2011-11-28 Chong Yidong <cyd@gnu.org>
4950 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4952 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4954 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4955 gdb-get-source-file-list on gdb-create-source-file-list.
4957 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4959 * whitespace.el (whitespace-newline): Use a different foreground
4960 color for 16-color light-background displays.
4962 2011-11-24 Chong Yidong <cyd@gnu.org>
4964 * window.el (display-buffer--special-action): Doc fix.
4966 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4968 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4969 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4970 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4971 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4972 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4973 (avl-tree-stack-first):
4974 * emacs-lisp/cconv.el (cconv--analyse-use):
4975 * net/gnutls.el (gnutls-negotiate): Fix typos.
4977 2011-11-24 Glenn Morris <rgm@gnu.org>
4979 * lpr.el (lpr-windows-system, lpr-lp-system):
4980 * mail/binhex.el (binhex-begin-line):
4981 * progmodes/grep.el (grep-history, grep-find-history):
4982 * textmodes/flyspell.el:
4983 * vc/pcvs-defs.el (cvs-global-menu):
4984 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4985 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4986 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4988 * net/tls.el: Fix case of "GnuTLS".
4990 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4992 * version.el (emacs-build-system): Give it a doc-string.
4994 2011-11-24 Juri Linkov <juri@jurta.org>
4996 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4998 2011-11-24 Glenn Morris <rgm@gnu.org>
5000 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5001 if called on a non-mime message just toggle the headers. (Bug#8006)
5003 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5005 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5006 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5007 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5008 (allout-rebullet-heading, allout-open-sibtopic)
5009 (allout-toggle-current-subtree-encryption)
5010 (allout-toggle-subtree-encryption, allout-encrypt-string)
5011 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5012 (allout-distinctive-bullets-string, allout-auto-activation):
5013 * window.el (window-normalize-buffer-to-display):
5014 * progmodes/verilog-mode.el (verilog-batch-indent):
5015 * textmodes/bibtex.el (bibtex-field-braces-opt)
5016 (bibtex-field-strings-opt):
5017 * vc/cvs-status.el (cvs-tree-merge):
5020 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5022 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5023 `non-essential' to t, in order to avoid remote connections.
5025 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5027 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5028 On MS-DOS and MS-Windows, compare with loaddefs.el
5031 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5033 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5035 2011-11-23 Glenn Morris <rgm@gnu.org>
5037 * paths.el (rmail-file-name): Reformat the doc-string so that it
5040 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5041 (rmail-auto-file): Ignore case in the "special" field names,
5042 as mail-fetch-field does for all others.
5044 * mail/rmail.el (rmail-forward):
5045 * mail/rmailkwd.el (rmail-set-label):
5046 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5047 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5049 * mail/rmail.el (rmail-current-message): Doc fix.
5051 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5053 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5055 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5057 2011-11-22 Glenn Morris <rgm@gnu.org>
5059 * mail/rmailmm.el (test-rmail-mime-handler)
5060 (test-rmail-mime-bulk-handler)
5061 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5063 2011-11-21 Juri Linkov <juri@jurta.org>
5065 * calc/calc.el (calc-read-key-sequence):
5066 Let-bind `input-method-function' to nil. (Bug#10018)
5068 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5070 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5071 Tell the caller that the next line needs recomputation, even
5072 though it doesn't start a sexp (bug#10094).
5074 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5076 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5078 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5080 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5081 Use force-same-window.
5083 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5085 * descr-text.el (describe-char-unicode-data):
5086 * json.el (json-string-escape):
5087 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5088 (Footnote-unicode, Footnote-style-p):
5089 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5091 2011-11-20 Chong Yidong <cyd@gnu.org>
5093 * window.el (replace-buffer-in-windows): Restore interactive spec.
5095 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5097 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5099 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5100 (byte-compile-global-not-obsolete-vars): New var.
5101 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5103 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5105 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5107 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5108 * progmodes/pascal.el (electric-pascal-equal):
5109 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5110 * xml.el (xml-substitute-special): Fix typos.
5112 2011-11-20 Glenn Morris <rgm@gnu.org>
5114 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5115 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5117 (rmail-decode-mime-charset): Mark as obsolete.
5119 * mail/rmailsum.el (rmail-message-regexp-p-1):
5120 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5121 Before using mime functions, check they are set. (Bug#10077)
5123 2011-11-19 Juri Linkov <juri@jurta.org>
5125 * info.el (Info-finder-find-node): Use `package--builtins' instead
5126 of `package-alist'. Use node names formed by the pattern "Keyword "
5127 and the keyword name.
5129 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5131 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5133 2011-11-19 Juri Linkov <juri@jurta.org>
5135 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5136 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5137 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5138 `old-history', `old-history-forward'. Add let-binding
5139 `window-selected'. Remove calls to `kill-buffer',
5140 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5141 before calling `Info-find-node', so `Info-find-node-2' will reread
5142 the Info file. Restore window positions only when `window-selected'
5145 2011-11-19 Juri Linkov <juri@jurta.org>
5147 * isearch.el (isearch-lazy-highlight-new-loop):
5148 Remove condition `(not isearch-error)'. (Bug#9918)
5150 * misearch.el (multi-isearch-search-fun): Add condition
5151 `(not bound)' to ignore lazy-highlighting search.
5152 Add the search-failed message "end of multi" when the end of
5153 multi-sequence is reached. Uncapitalize the search-failed
5154 message "Repeat for next buffer".
5156 * info.el (Info-search): Add the search-failed message
5157 "end of the manual" when the end of the manual is reached
5160 2011-11-19 Juri Linkov <juri@jurta.org>
5162 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5163 Use non-destructive `remove' instead of `delete' because
5164 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5165 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5167 2011-11-19 Juri Linkov <juri@jurta.org>
5169 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5170 to nil instead of binding `search-ring' and `regexp-search-ring'.
5173 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5175 * simple.el (line-move): Force movement by logical lines for any
5176 hscrolled window, not only when auto-hscroll-mode is on.
5177 (line-move-visual): Update doc string to that effect. (Bug#10076)
5179 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5181 * language/european.el (macintosh): Define as alias for mac-roman.
5183 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5185 * mail/rmailmm.el (rmail-mime-display-header)
5186 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5187 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5188 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5189 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5190 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5192 (rmail-mime-entity-segment): To get past the tagline, move forward
5193 2 more lines, to account for the 2 empty lines that precede and
5194 follow the line with the buttons.
5195 (rmail-mime-update-tagline): Move one more line, to get past the
5196 empty line that follows the buttons in the tagline. (Bug#9520)
5198 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5200 * window.el (window-max-delta-1, window-min-delta-1)
5201 (window-min-size-1, window-state-get-1, window-state-put-1)
5202 (window-state-put-2): Use "window--" prefix.
5204 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5207 (smie-warning-count): New var.
5208 (smie-set-prec2tab): Use it.
5209 (smie-bnf->prec2): Improve warnings. Add docstring.
5210 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5211 (smie-bnf--set-class): New function.
5212 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5215 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5216 (compilation-error-properties, compilation-move-to-column):
5217 Handle compilation-first-column while in the target buffer.
5219 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5220 Don't hardcode point-min==1.
5222 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5223 (eshell-rewrite-for-command): Remove workaround.
5224 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5225 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5226 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5228 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5230 2011-11-17 Glenn Morris <rgm@gnu.org>
5232 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5233 Ignore buffer-local generated-autoload-file if it is the same
5234 as the global value. (Bug#10049)
5236 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5238 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5239 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5240 (reftex-toc-previous-heading, reftex-toc-max-level)
5241 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5242 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5243 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5244 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5245 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5246 (reftex-toc-rename-label, reftex-toc-visit-location)
5247 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5248 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5249 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5250 leaving "*toc*" only for references to the buffer.
5252 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5254 * window.el (window-resize, delete-window, split-window):
5255 Replace window-splits by window-combination-resize.
5256 * cus-start.el (window-splits): Replace by window-combination-resize.
5258 2011-11-17 Glenn Morris <rgm@gnu.org>
5260 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5261 Make bash entry derive from sh entry, not shell entry.
5263 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5265 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5266 properties of linked files. (Bug#9879)
5268 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5271 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5273 * menu-bar.el (menu-bar-file-menu):
5274 * printing.el (pr-ps-utility):
5275 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5276 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5277 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5278 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5279 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5280 (icalendar--convert-cyclic-to-ical)
5281 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5282 (icalendar--convert-ical-to-diary)
5283 (icalendar--convert-recurring-to-diary)
5284 (icalendar--convert-non-recurring-all-day-to-diary)
5285 (icalendar-import-format-sample):
5286 * progmodes/idlw-shell.el (idlwave-shell-mode):
5287 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5288 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5289 (vhdl-ps-print-init): Fix typos.
5291 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5293 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5294 FSF and collapse date sequence, obscure author/maintainer email address
5295 better, remove extra version line, track relocation of author's webpage.
5297 * progmodes/python.el (python-pdbtrack-input-prompt)
5298 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5299 regular python pdb prompts. Adjustments shamelessly taken exactly as
5300 suggested in EmacsWiki page (tiny change):
5301 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5303 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5305 * expand.el (expand-pos, expand-index, expand-point):
5306 Remove redundant info from docstring.
5307 (expand-add-abbrevs): Doc fix.
5308 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5309 (expand-sample-perl-mode-expand-list): Fix typos.
5311 * net/dbus.el (dbus-event-member-name):
5312 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5313 * term/pc-win.el (msdos-create-frame-with-faces):
5314 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5316 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5318 * window.el (split-window, window-state-get-1)
5319 (window-state-put-1, window-state-put-2): Rename occurrences of
5320 window-nest to window-combination-limit.
5321 * cus-start.el (window-nest): Rename to window-combination-limit.
5323 2011-11-16 Chong Yidong <cyd@gnu.org>
5325 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5328 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5330 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5331 `completing-read' will remove *Completions* and will preserve
5332 current-buffer for us.
5333 (tmm-add-prompt): Users of *Completions* will always (re)set its
5335 (tmm-old-comp-map): Remove.
5337 2011-11-16 Glenn Morris <rgm@gnu.org>
5339 * mail/rmailedit.el: Require rmailmm when compiling.
5340 (rmail-old-mime-state): New declaration.
5341 (rmail-edit-current-message): If editing a mime message,
5342 edit the "raw" message from the mbox buffer.
5343 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5345 2011-11-15 Glenn Morris <rgm@gnu.org>
5347 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5348 which wasn't being used. Add optional arg to force given state.
5349 (rmail-mime): Add optional arg to force given state.
5351 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5353 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5354 * frame.el (display-mm-dimensions-alist):
5355 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5356 (outline-move-subtree-down):
5357 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5358 (newsticker--treeview-do-get-node):
5359 * net/quickurl.el (quickurl-list-buffer-name):
5360 * progmodes/dcl-mode.el (dcl-mode):
5361 * progmodes/gdb-mi.el (gdb-mapcar*):
5362 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5364 2011-11-15 Glenn Morris <rgm@gnu.org>
5366 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5367 in a boolean sense, so just make it a boolean, and fix the doc.
5368 (rmail-show-mime-function, rmail-mime-feature)
5369 (rmail-require-mime-maybe): Doc fixes.
5370 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5372 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5374 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5376 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5377 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5378 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5379 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5381 2011-11-15 Glenn Morris <rgm@gnu.org>
5383 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5384 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5385 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5386 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5387 (rmail-mime, rmail-show-mime): Doc fixes.
5389 * term/ns-win.el (mode-line-frame-identification):
5390 Leave it alone. (Bug#10051)
5392 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5394 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5395 Handle empty buffers. (Bug#9978)
5397 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5399 * international/mule.el (define-charset):
5400 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5401 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5402 * progmodes/verilog-mode.el (verilog-backward-token):
5403 * textmodes/ispell.el (lookup-words):
5404 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5406 2011-11-14 Glenn Morris <rgm@gnu.org>
5408 * progmodes/executable.el
5409 (executable-make-buffer-file-executable-if-script-p):
5410 Handle file-modes returning nil.
5412 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5413 message - not necessary, and causes problems. (Bug#9831)
5415 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5417 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5419 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5420 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5421 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5423 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5425 * window.el (window-resize, delete-window): Use window-splits
5426 variable instead of function.
5427 (window-state-get-1, window-state-put-2, window-state-put):
5428 Don't deal with windows' splits status.
5430 2011-11-12 Glenn Morris <rgm@gnu.org>
5432 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5433 (apropos-documentation): Doc fixes.
5435 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5437 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5438 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5440 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5442 * electric.el (electric-indent-post-self-insert-function): Make it
5443 possible for a char to only indent in some circumstances.
5444 (electric-indent-mode): Simplify.
5446 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5448 * window.el (windows-with-parameter): Remove unused function.
5449 (windows-at-side): Rename to window-at-side-list.
5450 (window-check, window-atom-check, window-atom-check-1)
5451 (window-side-check, window-size-ignore, window-size-fixed-1)
5452 (window-in-direction-2): Prefix with "window--".
5453 (window-tree-1): Rename to window--subtree, fix doc-string.
5455 2011-11-11 Glenn Morris <rgm@gnu.org>
5457 * subr.el (eval-after-load): If FILE is already loaded,
5458 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5460 2011-11-10 Glenn Morris <rgm@gnu.org>
5462 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5463 Call svn via vc-svn-command rather than vc-do-command.
5464 (vc-svn-command): Add --non-interactive. (Bug#9993)
5465 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5467 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5468 Add toggle-read-only. (Bug#7292)
5469 * files.el (toggle-read-only): Mention that it should only
5470 be used interactively. (Bug#10006)
5472 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5474 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5475 Adjust regexp for OCaml warnings.
5477 * electric.el (electric-pair-post-self-insert-function): Let user
5478 turn it off buffer-locally (bug#9932).
5480 * progmodes/python.el (python-beginning-of-statement):
5483 * progmodes/compile.el: Better handle TABs (bug#9749).
5484 (compilation-internal-error-properties)
5485 (compilation-next-error-function): Obey the target buffer's
5486 compilation-error-screen-columns.
5488 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5490 * progmodes/meta-mode.el: Remove obsolete comments.
5491 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5492 Fix typos in docstrings.
5494 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5496 * window.el (window-size-fixed-p): Rewrite doc-string.
5497 (window-resizable-p): Rename to window--resizable-p. Update callers.
5498 (window--resizable): New function. Make all callers of
5499 window-resizable call window--resizable instead.
5500 (window-resizable): Rewrite in terms of window--resizable.
5502 2011-11-08 Glenn Morris <rgm@gnu.org>
5504 * progmodes/delphi.el (delphi-mode-syntax-table):
5505 Let define-derived-mode define a proper syntax table. (Bug#9994)
5507 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5509 * window.el: Stay away from defsubst.
5510 (window-list-no-nils): Remove.
5511 (window-state-get-1, window-state-get): Use backquote instead.
5513 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5515 * emacs-lisp/find-func.el (find-function-read):
5516 Fix incorrect use of default argument in `completing-read'.
5518 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5520 * window.el (display-buffer-function, special-display-function):
5521 Mention display-buffer-record-window but do not mention
5522 help-setup parameter in doc-strings.
5523 (window-min-delta): Fix doc-string typo.
5525 2011-11-08 Chong Yidong <cyd@gnu.org>
5527 * window.el (window-total-height, window-total-width): Doc fix.
5528 (window-body-size): Move from C.
5529 (window-body-height, window-body-width): Move to C.
5531 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5533 * window.el: Make special-display like display-buffer-alist (bug#9532).
5534 (display-buffer--special-action): New function, morphed
5535 from display-buffer--special.
5536 (display-buffer): Use it to handle special-display-buffers at higher
5537 priority (just after display-buffer-alist).
5538 (display-buffer-fallback-action, display-buffer--other-frame-action)
5539 (pop-to-buffer-same-window): Remove display-buffer--special.
5541 2011-11-07 Glenn Morris <rgm@gnu.org>
5543 * calendar/cal-menu.el (cal-menu-set-date-title):
5544 Do nothing if not in a calendar. (Bug#9976)
5546 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5548 * files.el (find-file): Always use selected-window.
5550 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5552 * window.el (window-combinations): Make WINDOW argument
5553 mandatory. Rewrite doc-string.
5554 (walk-window-subtree, window-atom-check, window-min-delta)
5555 (window-max-delta, window--resize-this-window)
5556 (window--resize-root-window-vertically, window-tree)
5557 (balance-windows, window-state-put): Rewrite doc-strings as to
5558 not mention the term "subwindow".
5559 (window--resize-subwindows-skip-p): Rename to
5560 window--resize-child-windows-skip-p.
5561 (window--resize-subwindows-normal): Rename to
5562 window--resize-child-windows-normal.
5563 (window--resize-subwindows): Rename to
5564 window--resize-child-windows.
5565 (window-or-subwindow-p): Rename to window--in-subtree-p.
5567 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5569 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5570 Ensure that mbox format messages end in two newlines (Bug#9974).
5572 2011-11-06 Chong Yidong <cyd@gnu.org>
5574 * window.el (window-combination-p): Function deleted; its
5575 side-effect is not used in any existing code.
5576 (window-combinations, window-combined-p): Call window-*-child
5579 2011-11-05 Chong Yidong <cyd@gnu.org>
5581 * window.el (window-valid-p): Rename from window-any-p.
5582 (window-size-ignore, window-state-get): Callers changed.
5583 (window-normalize-window): Rename from window-normalize-any-window.
5584 New arg LIVE-ONLY, replacing window-normalize-live-window.
5585 (window-normalize-live-window): Delete.
5586 (window-combination-p, window-combined-p, window-combinations)
5587 (walk-window-subtree, window-atom-root, window-min-size)
5588 (window-sizable, window-sizable-p, window-size-fixed-p)
5589 (window-min-delta, window-max-delta, window-resizable)
5590 (window-resizable-p, window-full-height-p, window-full-width-p)
5591 (window-current-scroll-bars, window-point-1, set-window-point-1)
5592 (window-at-side-p, window-in-direction, window-resize)
5593 (adjust-window-trailing-edge, maximize-window, minimize-window)
5594 (window-deletable-p, delete-window, delete-other-windows)
5595 (record-window-buffer, unrecord-window-buffer)
5596 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5597 (quit-window, split-window, window-state-put)
5598 (set-window-text-height, fit-window-to-buffer)
5599 (shrink-window-if-larger-than-buffer): Callers changed.
5601 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5603 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5604 rfc2047-decode-string.
5605 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5608 * window.el (window-body-height, window-body-width): Mention in
5609 the doc string that the return values are in frame's canonical
5612 2011-11-03 Alan Mackenzie <acm@muc.de>
5614 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5615 change in cc-engine.el.
5617 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5619 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5621 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5623 * window.el (quit-window): Call unrecord-window-buffer after
5624 showing another buffer in the window. (Bug#9937)
5625 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5627 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5629 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5630 Accept status with more than 9 shelves. (Bug#9935)
5631 Reported by Colin D Bennett <colin@gibibit.com>.
5633 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5635 * help.el (with-help-window): Don't reference
5636 temp-buffer-show-specifiers in doc-string.
5638 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5640 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5643 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5645 * whitespace.el: New version 13.2.2.
5646 (whitespace-newline-mode): Disable properly. Reported by Sarah
5649 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5651 * net/newst-treeview.el: Remove "Time-stamp".
5652 (newsticker--group-manage-orphan-feeds): Do not call
5653 newsticker--treeview-tree-update.
5654 (newsticker-treeview-update, newsticker-treeview):
5655 Call newsticker--treeview-tree-update if necessary.
5657 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5659 * window.el (window-iso-combination-p, window-iso-combined-p)
5660 (window-iso-combinations): Remove "iso-" infix.
5661 Suggested by Chong Yidong.
5662 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5663 (window-max-delta-1, window-resize, window--resize-siblings)
5664 (window--resize-this-window, adjust-window-trailing-edge)
5665 (split-window, balance-windows-1)
5666 (shrink-window-if-larger-than-buffer):
5667 * calendar/calendar.el (calendar-generate-window):
5668 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5670 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5672 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5673 in place (bug#9907).
5674 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5675 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5676 (eshell-structure-basic-command, eshell-rewrite-while-command)
5677 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5678 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5679 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5680 (eshell-do-pipelines-synchronously, eshell-eval-command):
5681 Use backquotes and prefer setq to set.
5682 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5683 (eshell-macrop): Use functionp.
5684 (eshell-do-eval): Handle multiple expressions in `while' body.
5686 2011-10-30 Chong Yidong <cyd@gnu.org>
5688 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5689 instead of set-mark (Bug#9810).
5691 2011-10-30 Chong Yidong <cyd@gnu.org>
5693 * window.el (split-window-below, split-window-right): Rename from
5694 split-window-above-each-other and split-window-side-by-side
5695 respectively. All callers changed.
5696 (split-window-sensibly, split-window-sensibly): Use them.
5697 (split-window-keep-point): Doc fix.
5699 * isearch.el: Add isearch-scroll property to split-window-below
5700 and split-window-right.
5702 * follow.el (follow-mode):
5703 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5704 * progmodes/ada-xref.el (ada-gdb-application):
5705 * emulation/vip.el (vip-buffer-in-two-windows):
5706 * image-dired.el (image-dired-dired-with-window-configuration):
5707 * dired-x.el (dired-do-find-marked-files):
5708 * dired.el (dired-pop-to-buffer):
5709 * bs.el (bs--show-with-configuration):
5710 * vc/emerge.el (emerge-setup-windows):
5711 * textmodes/two-column.el (2C-two-columns):
5712 * textmodes/reftex-toc.el (reftex-toc):
5713 * progmodes/gdb-mi.el (gdb-setup-windows):
5714 * progmodes/fortran.el (fortran-window-create):
5715 * net/newst-treeview.el (newsticker--treeview-window-init):
5716 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5717 * emulation/tpu-edt.el (tpu-gold-map):
5718 * emulation/crisp.el (crisp-mode-map):
5719 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5721 2011-10-29 Chong Yidong <cyd@gnu.org>
5723 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5725 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5727 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5728 forged Ispell output (Bug#7904).
5730 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5732 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5734 * doc-view.el: Avoid ugly errors about not finding nil.
5735 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5736 (doc-view-dvipdf-program, doc-view-unoconv-program)
5737 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5738 Avoid nil or absolute file name as default value.
5739 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5741 2011-10-28 Alan Mackenzie <acm@muc.de>
5743 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5745 2011-10-28 Alan Mackenzie <acm@muc.de>
5747 Amend the handling of c-beginning/end-of-defun in nested declaration
5750 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5751 cc-langs.el. Change it to a defcustom.
5753 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5756 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5757 Prevent "class foo : bar" being spuriously recognized as a label.
5759 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5760 Add parameter `inclusive' (to include enclosing braces in the region).
5761 (c-widen-to-enclosing-decl-scope): New function.
5762 (c-while-widening-to-decl-block): New macro.
5763 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5764 outward for defun boundaries, and correspondingly change symbol
5765 `respect-enclosure' to `go-outward'.
5766 (c-declaration-limits): Change algorithm to report only the "innermost"
5769 2011-10-28 Deniz Dogan <deniz@dogan.se>
5771 * net/rcirc.el (rcirc-mode): Use hard newlines.
5773 2011-10-28 Alan Mackenzie <acm@muc.de>
5775 Amend to indent and fontify macros "which include their own semicolon"
5776 correctly, using the "virtual semicolon" mechanism.
5778 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5780 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5781 Recode to scan one line at a time rather than having \n and \r
5782 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5783 (c-forward-label): Amend for virtual semicolons.
5784 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5786 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5787 of the new C macros.
5789 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5790 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5791 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5792 (c-opt-cpp-macro-define): Make into a full language variable.
5793 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5794 AWK Mode (including \n, \r) removed, no longer needed.
5796 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5797 Invoke c-make-macro-with-semi-re.
5799 * progmodes/cc-vars.el (c-macro-with-semi-re):
5800 (c-macro-names-with-semicolon): New variables.
5801 (c-make-macro-with-semi-re): New function.
5803 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * vc/log-edit.el: Fill empty field rather than adding new one.
5806 (log-edit-add-field): New function.
5807 (log-edit-insert-changelog): Use it.
5809 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5811 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5813 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5815 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5816 (gdb--check-interpreter): New function.
5819 2011-10-27 Glenn Morris <rgm@gnu.org>
5821 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5822 (least-positive-float, least-negative-float)
5823 (least-positive-normalized-float, least-negative-normalized-float)
5824 (float-epsilon, float-negative-epsilon):
5825 Remove unnecessary declarations.
5827 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5828 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5829 (least-positive-float, least-negative-float)
5830 (least-positive-normalized-float, least-negative-normalized-float)
5831 (float-epsilon, float-negative-epsilon): Add doc-strings,
5832 based on those in cl.texi.
5834 * files.el (set-visited-file-name): If the major-mode changed,
5835 reload the local variables. (Bug#9796)
5837 2011-10-27 Chong Yidong <cyd@gnu.org>
5839 * subr.el (change-major-mode-after-body-hook): New hook.
5840 (run-mode-hooks): Run it.
5842 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5843 Use change-major-mode-before-body-hook.
5845 * simple.el (fundamental-mode):
5846 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5847 change introducing fundamental-mode-hook.
5849 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5851 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5853 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5855 * ido.el (ido-file-name-all-completions-1): Do not require
5856 tramp.el explicitly. (Bug#7583)
5858 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5860 * progmodes/octave-mod.el:
5861 * progmodes/octave-inf.el: Update maintainer.
5863 2011-10-26 Chong Yidong <cyd@gnu.org>
5865 * subr.el (with-wrapper-hook): Rewrite doc.
5867 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5869 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5870 filenames "/method:foo:". (Bug#9793)
5872 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5877 2011-10-24 Glenn Morris <rgm@gnu.org>
5879 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5881 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5883 * notifications.el: Add the requirement of a running D-Bus session
5884 bus to the Commentary.
5886 2011-10-24 Juri Linkov <juri@jurta.org>
5888 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5889 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5892 2011-10-24 Juri Linkov <juri@jurta.org>
5894 * info.el (Info-following-node-name-re): Add newline to the list
5895 of allowed characters for leading space. (Bug#9824)
5897 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5899 * progmodes/octave-inf.el (inferior-octave-mode-map):
5900 Fix C-c C-h binding.
5901 * progmodes/octave-mod.el (octave-help): Remove.
5903 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5905 Sync with Tramp 2.2.3.
5907 * net/tramp-cache.el (top): Pacify byte-compiler using
5908 `init-file-user' and `site-run-file'.
5910 * net/trampver.el: Update release number.
5912 2011-10-23 Chong Yidong <cyd@gnu.org>
5914 * files.el (toggle-read-only): Remove obsolete comment about
5917 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5918 for toggle-read-only. Note that this hasn't called vc-next-action
5919 since 2008-05-02, though it wasn't documented at the time.
5921 * vc/ediff-init.el (ediff-toggle-read-only-function):
5922 Use toggle-read-only.
5924 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5926 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5929 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5930 correct faulty logical expression.
5931 (c-parse-state-state, c-record-parse-state-state):
5932 (c-replay-parse-state-state): New defvar/defuns.
5933 (c-debug-parse-state): Use new functions.
5935 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5937 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5938 last fix. Use window-in-direction correctly.
5940 2011-10-21 Chong Yidong <cyd@gnu.org>
5942 * progmodes/idlwave.el (idlwave-mode):
5943 * progmodes/vera-mode.el (vera-mode): No need to set
5944 require-final-newline; that's done in prog-mode.
5945 Suggested by Stefan Monnier.
5947 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5949 * mouse.el (mouse-drag-window-above)
5950 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5951 (mouse-drag-mode-line-1, mouse-drag-header-line)
5952 (mouse-drag-vertical-line-rightward-window): Remove.
5953 (mouse-drag-line): New function.
5954 (mouse-drag-mode-line, mouse-drag-header-line)
5955 (mouse-drag-vertical-line): Call mouse-drag-line.
5956 * window.el (window-at-side-p, windows-at-side): New functions.
5958 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5960 * tar-mode.el (tar-grind-file-mode):
5961 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5963 2011-10-21 Chong Yidong <cyd@gnu.org>
5965 * progmodes/idlwave.el (idlwave-mode):
5966 * progmodes/vera-mode.el (vera-mode):
5967 Use mode-require-final-newline.
5969 2011-10-20 Glenn Morris <rgm@gnu.org>
5971 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5973 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5975 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5977 2011-10-20 Chong Yidong <cyd@gnu.org>
5979 * emulation/cua-base.el (cua-mode):
5980 * mail/footnote.el (footnote-mode):
5981 * mail/mailabbrev.el (mail-abbrevs-mode):
5982 * net/xesam.el (xesam-minor-mode):
5983 * progmodes/bug-reference.el (bug-reference-mode):
5984 * progmodes/cap-words.el (capitalized-words-mode):
5985 * progmodes/compile.el (compilation-minor-mode)
5986 (compilation-shell-minor-mode):
5987 * progmodes/gud.el (gud-tooltip-mode):
5988 * progmodes/hideif.el (hide-ifdef-mode):
5989 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5990 * progmodes/subword.el (subword-mode):
5991 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5992 * progmodes/which-func.el (which-function-mode):
5993 * term/tvi970.el (tvi970-set-keypad-mode):
5994 * term/vt100.el (vt100-wide-mode):
5995 * textmodes/flyspell.el (flyspell-mode):
5996 * textmodes/ispell.el (ispell-minor-mode):
5997 * textmodes/nroff-mode.el (nroff-electric-mode):
5998 * textmodes/paragraphs.el (use-hard-newlines):
5999 * textmodes/refill.el (refill-mode):
6000 * textmodes/reftex.el (reftex-mode):
6001 * textmodes/rst.el (rst-minor-mode):
6002 * textmodes/sgml-mode.el (html-autoview-mode)
6003 (sgml-electric-tag-pair-mode):
6004 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6005 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6006 * emulation/crisp.el (crisp-mode):
6007 * emacs-lisp/eldoc.el (eldoc-mode):
6008 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6009 minor mode behavior.
6011 2011-10-19 Juri Linkov <juri@jurta.org>
6013 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6014 the list of hard-coded chars with escape-glyph face.
6016 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6018 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6020 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6022 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6025 2011-10-19 Glenn Morris <rgm@gnu.org>
6027 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6028 Ignore ignored files. (Bug#9726)
6030 2011-10-19 Chong Yidong <cyd@gnu.org>
6032 Doc fix for minor modes, stating that an omitted argument enables
6033 the mode unconditionally when called from Lisp.
6035 * abbrev.el (abbrev-mode):
6036 * allout.el (allout-mode):
6037 * autoinsert.el (auto-insert-mode):
6038 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6039 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6040 (global-auto-revert-mode):
6041 * battery.el (display-battery-mode):
6042 * composite.el (global-auto-composition-mode)
6043 (auto-composition-mode):
6044 * delsel.el (delete-selection-mode):
6045 * desktop.el (desktop-save-mode):
6046 * dired-x.el (dired-omit-mode):
6047 * dirtrack.el (dirtrack-mode):
6048 * doc-view.el (doc-view-minor-mode):
6049 * double.el (double-mode):
6050 * electric.el (electric-indent-mode, electric-pair-mode):
6051 * emacs-lock.el (emacs-lock-mode):
6052 * epa-hook.el (auto-encryption-mode):
6053 * follow.el (follow-mode):
6054 * font-core.el (font-lock-mode):
6055 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6056 * help.el (temp-buffer-resize-mode):
6057 * hilit-chg.el (highlight-changes-mode)
6058 (highlight-changes-visible-mode):
6059 * hi-lock.el (hi-lock-mode):
6060 * hl-line.el (hl-line-mode, global-hl-line-mode):
6061 * icomplete.el (icomplete-mode):
6062 * ido.el (ido-everywhere):
6063 * image-file.el (auto-image-file-mode):
6064 * image-mode.el (image-minor-mode):
6065 * iswitchb.el (iswitchb-mode):
6066 * jka-cmpr-hook.el (auto-compression-mode):
6067 * linum.el (linum-mode):
6068 * longlines.el (longlines-mode):
6069 * master.el (master-mode):
6070 * mb-depth.el (minibuffer-depth-indicate-mode):
6071 * menu-bar.el (menu-bar-mode):
6072 * minibuf-eldef.el (minibuffer-electric-default-mode):
6073 * mouse-sel.el (mouse-sel-mode):
6074 * msb.el (msb-mode):
6075 * mwheel.el (mouse-wheel-mode):
6076 * outline.el (outline-minor-mode):
6077 * paren.el (show-paren-mode):
6078 * recentf.el (recentf-mode):
6079 * reveal.el (reveal-mode, global-reveal-mode):
6080 * rfn-eshadow.el (file-name-shadow-mode):
6081 * ruler-mode.el (ruler-mode):
6082 * savehist.el (savehist-mode):
6083 * scroll-all.el (scroll-all-mode):
6084 * scroll-bar.el (scroll-bar-mode):
6085 * server.el (server-mode):
6086 * shell.el (shell-dirtrack-mode):
6087 * simple.el (auto-fill-mode, transient-mark-mode)
6088 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6089 (line-number-mode, column-number-mode, size-indication-mode)
6090 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6091 * strokes.el (strokes-mode):
6092 * time.el (display-time-mode):
6093 * t-mouse.el (gpm-mouse-mode):
6094 * tool-bar.el (tool-bar-mode):
6095 * tooltip.el (tooltip-mode):
6096 * type-break.el (type-break-mode-line-message-mode)
6097 (type-break-query-mode):
6098 * view.el (view-mode):
6099 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6100 (global-whitespace-mode, global-whitespace-newline-mode):
6101 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6103 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6104 Fix autogenerated docstring.
6106 2011-10-19 Juri Linkov <juri@jurta.org>
6108 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6109 by checking environment variables "DESKTOP_SESSION" and
6110 "XDG_CURRENT_DESKTOP". (Bug#9779)
6112 2011-10-19 Juri Linkov <juri@jurta.org>
6114 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6115 (browse-url-chromium-program, browse-url-chromium-arguments):
6117 (browse-url-default-browser): Check for `browse-url-chromium' and
6118 call `browse-url-chromium-program'.
6119 (browse-url-chromium): New command. (Bug#9779)
6121 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6123 * facemenu.el (list-colors-duplicates): On Windows, detect more
6124 duplicates by assuming that only colors matching "^System" are
6125 special "system colors". (Bug#9722)
6127 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6129 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6130 to distinguish the author from the committer.
6132 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6134 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6136 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6138 * international/mule.el (sgml-html-meta-auto-coding-function):
6139 Add support for detecting encoding in HTML5 specified only as
6140 <meta charset="UTF-8">. Implementation just makes http-equiv and
6141 content-type parts from HTML4 encoding string optional. (Bug#9716)
6143 2011-10-18 Glenn Morris <rgm@gnu.org>
6145 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6147 2011-10-18 Chong Yidong <cyd@gnu.org>
6149 * faces.el (cursor): Doc fix.
6151 2011-10-17 Chong Yidong <cyd@gnu.org>
6153 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6155 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6157 * dirtrack.el (dirtrack): Support shell buffers with path
6158 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6160 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6162 * json.el: Bump version to 1.3 and note change in History.
6163 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6165 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6167 * comint.el (comint-insert-input, comint-send-input)
6168 (comint-get-old-input-default, comint-backward-matching-input)
6169 (comint-next-prompt): Use nil instead of `input' for field property of
6170 past user input (bug#114).
6172 * minibuffer.el (completion--replace): Inherit surrounding properties
6174 (minibuffer-complete-and-exit): Use it.
6176 * comint.el (comint--table-subvert): Quote the all-completions output
6179 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6181 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6183 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6184 window on right of selected. (Bug#9350) Reword other window
6185 entries and separate them from frame entries.
6187 2011-10-15 Glenn Morris <rgm@gnu.org>
6189 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6192 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6194 * net/network-stream.el (network-stream-open-starttls):
6195 Improve detection of failure due to lack of TLS support.
6197 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6198 putting the input text in front and in bold.
6200 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6202 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6204 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6207 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6208 unread-command-events rather than pushing yet-another event.
6210 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6212 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6213 the explanation of the possible choices. Make the options passed
6214 to completing-read shorter.
6216 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6218 * textmodes/flyspell.el (flyspell-large-region): Make sure
6219 extended character mode is used if defined (Bug#1339).
6221 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6223 * simple.el (what-cursor-position): Fix the display of the
6224 character info for LRE, LRO, RLE, and RLO characters by appending
6227 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6229 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6230 even in case of error; add debug spec; simplify data flow.
6231 (with-timeout-handler): Remove.
6233 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6235 Fix Bug#6019, Bug#9315.
6237 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6238 complete `buffer-file-name', the local file name part could look
6239 remotely (for example on VMS).
6241 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6242 `tramp-run-real-handler'.
6243 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6244 already quoted by '"'.
6246 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6247 Let `file-name-handler-alist' be nil, the local file name part
6248 could look remotely (for example on VMS).
6250 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6252 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6254 (flyspell-post-command-hook): ...to here.
6256 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6258 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6260 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6261 using completion. Protect against "slow" callers.
6262 Remove the "message hack".
6264 2011-10-11 Juri Linkov <juri@jurta.org>
6266 * isearch.el (isearch-lazy-highlight-word): New variable.
6267 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6270 2011-10-11 Glenn Morris <rgm@gnu.org>
6272 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6273 like f90-previous-statement does.
6275 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6277 * eshell/eshell.el (eshell-command): History should be saved
6278 only in interactive use, to avoid error.
6280 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6282 * minibuffer.el (completion-file-name-table): Fix last change,
6283 i.e. ignore normal errors but not the other ones.
6285 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6287 * window.el (special-display-buffer-names)
6288 (special-display-regexps): Remove some remnants of earlier
6289 changes from doc-strings.
6290 (quit-windows-on): New function.
6292 * vc/vc.el (vc-revert, vc-rollback):
6293 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6294 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6295 (Bug#6183) (Bug#7074) (Bug#7447)
6297 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6299 * window.el (frame-auto-hide-function): Add version tag.
6302 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6304 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6307 2011-10-09 Leo Liu <sdl.web@gmail.com>
6309 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6312 2011-10-08 Glenn Morris <rgm@gnu.org>
6314 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6315 before the first code statement zero indent. (Bug#9690)
6317 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6319 * simple.el (count-words-region): Always count in the region.
6320 Report the number of lines and characters too.
6321 (count-words): New command, which counts in the buffer if the
6322 region is inactive, as count-words-region used to.
6323 (count-words--message): New function. Handle plurals.
6324 (count-lines-region): Make it an alias for count-words-region.
6326 * bindings.el (esc-map): Replace count-lines-region with
6329 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6331 * window.el (window--delete): Delete dedicated frame
6332 unconditionally when argument KILL is non-nil. (Bug#9699)
6333 (switch-to-buffer): Fix doc-string typo.
6335 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6337 * eshell/eshell.el (eshell-command): Avoid using hooks.
6339 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6341 * bindings.el ([M-left],[M-right]): Bind to left-word and
6342 right-word respectively.
6344 2011-10-07 Glenn Morris <rgm@gnu.org>
6346 * cus-start.el (debug-on-quit): Fix custom type.
6348 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6350 * subr.el (define-key-after): Clarify that the function is not
6351 useful for non-menu keymaps.
6353 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6355 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6357 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6358 in current minibuffer (Fix bug with recursive minibuffers).
6360 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6362 * progmodes/gdb-mi.el (gdb): Doc fix.
6364 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6366 * window.el (frame-auto-hide-function): New option replacing
6367 frame-auto-delete. Suggested by Stefan Monnier.
6368 (window--delete): Call frame-auto-hide-function instead of
6369 investigating frame-auto-delete.
6370 (window-point-1, set-window-point-1): New functions.
6371 (window-in-direction, record-window-buffer, window-state-get-1)
6372 (display-buffer-record-window): Use window-point-1 instead of
6374 (set-window-buffer-start-and-point): Use set-window-point-1.
6376 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6378 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6380 2011-10-05 Glenn Morris <rgm@gnu.org>
6382 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6383 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6385 2011-10-05 Leo Liu <sdl.web@gmail.com>
6387 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6388 works with buffer object.
6390 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6392 * mpc.el (mpc-tool-bar-map): Add labels.
6394 2011-10-04 Glenn Morris <rgm@gnu.org>
6396 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6398 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6400 * window.el (window--delete): New function.
6401 (frame-auto-delete): Resuscitate option.
6402 (bury-buffer, replace-buffer-in-windows)
6403 (quit-window): Rewrite using window--delete.
6404 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6405 Pass display-buffer-mark-dedicated to window--display-buffer-2
6408 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6410 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6411 returns a list (bug#9554). Add remote file name completion.
6412 * comint.el (comint--table-subvert): Curry and get quote&unquote
6413 functions as arguments.
6414 (comint--complete-file-name-data): Adjust call accordingly.
6415 * pcomplete.el (pcomplete--table-subvert): Remove.
6416 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6418 * minibuffer.el (completion-table-case-fold): Use currying.
6419 (completion--styles-type, completion--cycling-threshold-type):
6421 (completion-styles, completion-category-overrides)
6422 (completion-cycle-threshold): Use them.
6423 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6424 completion-table-case-fold.
6426 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6428 * minibuffer.el (completion-category-overrides): Fix type of styles
6429 and add more user friendly tags (bug#9660).
6431 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6433 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6434 (mule-input-method-string): New widget.
6435 (default-input-method, language-info-custom-alist): Use it.
6437 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6439 * pcomplete.el: Require comint.
6440 (pcomplete--common-suffix): Remove.
6441 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6442 (pcomplete--table-subvert): Sync with comint--table-subvert.
6443 (pcomplete--entries): Use comint-completion-file-name-table.
6444 * comint.el (comint-unquote-filename): Simplify.
6445 (comint-completion-file-name-table): New function (bug#9616).
6446 (comint--complete-file-name-data): Use it.
6448 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6449 (pcmpl-gnu-tar-buffer): Remove.
6450 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6451 around. Make sure pcomplete-suffix-list is only changed temporarily.
6452 Don't look inside the tar's file if it's too large.
6454 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6456 * cus-edit.el (custom-mode-map):
6457 * epa.el (epa-key-list-mode-map):
6458 * man.el (Man-mode-map):
6459 * startup.el (splash-screen-keymap):
6460 * simple.el (special-mode-map): Use scroll-up-command and
6461 scroll-down-command.
6463 * progmodes/idlw-help.el (idlwave-help-mode-map):
6464 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6465 * net/newst-plainview.el (newsticker-mode-map):
6466 * emulation/ws-mode.el (wordstar-mode-map):
6467 * emulation/vi.el (vi-com-map):
6468 * calc/calc-graph.el (calc-graph-show-dumb):
6469 * term/sun.el (terminal-init-sun):
6470 * term/ns-win.el (global-map):
6471 * progmodes/grep.el (grep-mode-map):
6472 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6473 * mail/rmail.el (rmail-mode-map):
6474 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6476 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6477 custom-safe-themes as special.
6479 2011-10-01 Julien Danjou <julien@danjou.info>
6481 * notifications.el (notifications-notify): Fix docstring.
6483 2011-10-01 Per Starbäck <per@starback.se>
6485 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6487 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6489 * startup.el (command-line-1): Fix last fix by inserting
6490 initial-scratch-message into *scratch* before displaying it.
6491 (Bug#9605) and (Bug#9636)
6493 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6495 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6496 window is hscrolled, move by logical lines. (Bug#9607)
6497 (line-move-visual): Update the doc string to the above effect.
6499 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6501 * window.el (display-buffer-record-window): When WINDOW is the
6502 selected window use `point' instead of `window-point'. (Bug#9626)
6504 * startup.el (command-line-1): Use insert-before-markers when
6505 inserting initial-scratch-message. (Bug#9605)
6507 * help.el (help-window): Remove variable.
6509 2011-09-29 Glenn Morris <rgm@gnu.org>
6511 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6513 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6515 * descr-text.el (describe-char-categories): Accept category
6516 descriptions more than one line long.
6518 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6520 * simple.el (delete-trailing-whitespace): Fix last change.
6522 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6523 Don't confuse "y => 3" as the beginning of a `y' operation.
6525 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6526 object has more than 4 slots (bug#9613).
6528 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6530 * subr.el (with-output-to-temp-buffer):
6531 * net/quickurl.el (quickurl, quickurl-browse-url):
6532 Fix typos in docstrings.
6534 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6536 * minibuffer.el (completion-styles)
6537 (completion-category-overrides): Cross reference each other in doc
6540 2011-09-27 Glenn Morris <rgm@gnu.org>
6542 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6543 to split-string. (Bug#9606)
6545 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6547 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6550 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6552 * emacs-lisp/package.el (list-packages): Fix echo area message.
6554 2011-09-27 Leo Liu <sdl.web@gmail.com>
6556 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6558 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6560 * net/dbus.el (dbus-unregister-object): Don't release services for
6561 registered signals. (Bug#9581)
6563 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6565 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6566 function that picks between cfengine 2 and 3 support
6567 automatically. Update docs accordingly.
6569 2011-09-22 Kenichi Handa <handa@m17n.org>
6571 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6573 (indian-itrans-v5-table-for-tamil): New variable.
6574 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6576 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6578 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6579 that's true if the current command involved collapsing of text.
6580 It's reset to false at the beginning of the next command.
6581 (allout-post-command-business): Move the cursor to the beginning
6582 of entry if the cursor is hidden and collapsing activity just
6585 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6587 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6588 tracking (Bug#9541).
6590 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6592 * net/newst-reader.el (newsticker-html-renderer)
6593 (newsticker-show-news): Automatically load html rendering package
6594 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6595 because w3m-fill-column is let-bound" and the error "Symbol's value
6596 as variable is void: w3m-fill-column".
6598 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6600 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6601 Release services only if they are defined. (Bug#9581)
6603 2011-09-23 Richard Stallman <rms@gnu.org>
6605 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6606 distinguish start of paragraph from start of its text.
6608 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6610 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6611 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6612 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6614 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6616 * international/mule-diag.el (mule-diag): Insert a newline after
6617 each fontset description.
6619 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * simple.el (delete-trailing-whitespace):
6622 Document last change; simplify.
6624 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6626 * simple.el (delete-trailing-whitespace): Also delete
6627 extra newlines at the end of the buffer.
6629 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6630 (picture-newline): Use forward-line so as to ignore fields.
6632 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6634 * subr.el (with-wrapper-hook): Fix edebug spec.
6636 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6638 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6641 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6643 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6644 Fix nasty bug using wrong cached values.
6646 2011-09-23 Alan Mackenzie <acm@muc.de>
6648 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6650 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6652 * window.el (pop-to-buffer): Ensure right window is selected if we
6653 chose another frame.
6655 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6657 * simple.el (what-cursor-position): Use get-char-property-change
6658 and next-single-char-property-change, to be able to show display
6659 properties that come from overlays as well as text properties.
6661 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6663 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6665 * cmuscheme.el (run-scheme, switch-to-scheme):
6666 * cus-edit.el (customize-group, custom-buffer-create)
6670 * mail/sendmail.el (mail):
6671 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6673 2011-09-22 Richard Stallman <rms@gnu.org>
6675 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6676 move back only to line beg, don't move back over blank lines.
6678 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6680 * files.el (copy-directory): Set directory attributes only in case
6681 they could be retrieved from the source directory. (Bug#9565)
6683 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6685 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6686 (hs-find-block-beginning, hs-hide-level-recursive):
6687 Ignore strings as well as comments. (Bug#9502)
6689 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6691 * progmodes/sql.el (sql-comint-postgres):
6692 Convert port number to a string. (Bug#9566)
6694 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6696 * window.el (quit-window): Undedicate window when switching to
6697 previous buffer. Reported by Thierry Volpiatto
6698 <thierry.volpiatto@gmail.com>.
6699 (special-display-popup-frame): When popping up a new frame reset
6700 its previous buffers to nil. Simplify code.
6702 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6704 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6705 and process filter, as done also in `shell-command'.
6707 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6709 * window.el (set-window-buffer-start-and-point):
6710 Call set-window-start with NOFORCE argument t.
6711 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6712 (quit-window): Reword doc-string. Handle new format of
6713 quit-restore parameter. Don't delete window if it has a
6714 previous buffer we can show instead of the present one.
6715 (display-buffer-record-window): Rewrite using a new format for
6716 the quit-restore window parameter
6717 (special-display-popup-frame, display-buffer-same-window)
6718 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6719 (display-buffer-pop-up-window, display-buffer-use-some-window):
6720 Adapt symbol passed to display-buffer-record-window.
6721 * help.el (help-window-setup): Handle new format of quit-restore
6724 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6726 * faces.el (face-list): Fix docstring (bug#9564).
6728 * window.el (display-buffer--action-function-custom-type):
6729 Don't include internal functions in the Custom interface.
6731 2011-09-20 Juri Linkov <juri@jurta.org>
6733 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6734 (Info-forward-node, Info-backward-node, Info-next-preorder)
6735 (Info-last-preorder): Use it. (Bug#9528)
6737 2011-09-20 Juri Linkov <juri@jurta.org>
6739 * info.el (Info-last-preorder): Visit last menu item only when
6740 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6742 2011-09-20 Julien Danjou <julien@danjou.info>
6744 * password-cache.el (password-cache-remove): Remove entries even if the
6745 value is nil, so that password with a nil value (negative caching) is
6746 possible to invalidate.
6748 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6750 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6751 all whitespace around breakpoint. (Bug#9553)
6752 (f90-find-breakpoint): Only break at whitespace inside a comment.
6754 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6756 * minibuffer.el (completion-file-name-table): Keep track of errors.
6757 (completion-table-with-predicate): Handle the case where pred1 is nil.
6758 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6760 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6762 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6763 (debugger-return-value): Signal an error if the debugging context does
6764 not await any return value.
6766 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6767 * image-mode.el (image-toggle-display-text)
6768 (image-toggle-display-image): Stay away from evil `intangible'.
6770 2011-09-19 Leo Liu <sdl.web@gmail.com>
6772 * replace.el (occur-revert-arguments): Make it permanent-local.
6773 (occur-mode): Don't call font-lock-defontify.
6775 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6777 * net/ldap.el (ldap-search-internal): Don't push empty search
6780 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6782 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6784 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6786 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6787 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6789 2011-09-18 Juri Linkov <juri@jurta.org>
6791 * buff-menu.el (Buffer-menu-mode-map):
6792 * dired.el (dired-mode-map):
6793 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6794 (lisp-interaction-mode-map):
6795 * emacs-lisp/package.el (package-menu-mode-map):
6796 * epa.el (epa-key-list-mode-map):
6797 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6798 (menu-bar-options-menu):
6799 * outline.el (outline-mode-menu-bar-map):
6800 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6801 * vc/vc-dir.el (vc-dir-menu-map):
6802 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6803 Capitalize non-function content words in menu item strings.
6805 * dired.el (dired-mode-map): Add menu item for
6806 `image-dired-dired-toggle-marked-thumbs'.
6808 2011-09-18 Juri Linkov <juri@jurta.org>
6810 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6811 to `isearch-case-fold-search' and restore its original value
6812 after the `isearch-mode' call.
6814 2011-09-18 Juri Linkov <juri@jurta.org>
6816 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6817 because `zgrep' returns 1 for successful matches (bug#9226).
6819 2011-09-18 Juri Linkov <juri@jurta.org>
6821 * info.el (Info-extract-menu-node-name): Check the second match
6822 for empty string (second test-case of bug#9528).
6823 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6824 intermediate nodes to the history (first test-case of bug#9528).
6826 2011-09-18 Juri Linkov <juri@jurta.org>
6828 * info.el (Info-mode-syntax-table): New variable.
6829 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6831 2011-09-18 Juri Linkov <juri@jurta.org>
6833 * info.el (Info-file-supports-index-cookies):
6834 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6835 outputs one more line for long file names (bug#4142).
6837 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6839 * newcomment.el (comment-normalize-vars): If prompting for
6840 comment-start, set comment-start-skip too (Bug#8424).
6842 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6844 * icomplete.el: Fix previous fix of Bug#5849.
6845 (icomplete-mode): Don't set completion-show-inline-help.
6846 (icomplete-minibuffer-setup): Set completion-show-inline-help
6847 locally during icompletion.
6849 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6851 * woman.el (woman2-process-escapes): Don't delete unrecognized
6854 * files.el (inhibit-first-line-modes-regexps): Add image files.
6855 (hack-local-variables-prop-line): Return nil for malformed
6856 prop-lines (Bug#9044).
6858 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6860 * net/tramp.el (top): Don't require 'shell.
6861 (tramp-methods): Fix docstring.
6862 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6863 Return complete remote file name. Handle "smb" case.
6864 Use `tramp-tmpdir', if defined for the respective method.
6865 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6867 * net/tramp-compat.el (top): Require 'shell.
6869 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6870 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6871 `tramp-current-host'.
6872 (tramp-get-remote-tmpdir): Remove.
6874 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6875 `tramp-tmpdir' entries.
6876 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6877 (tramp-smb-handle-file-attributes): Ignore errors.
6878 (tramp-smb-wait-for-output): Check also for process end.
6880 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6882 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6883 when sending QUIT (bug#9312).
6885 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6887 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6888 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6889 occur-mode-display-occurrence.
6890 (occur-edit-mode): Add usage message.
6891 (occur-cease-edit): New command.
6892 (occur-after-change-function): Use text properties to find the
6893 position of the prefix text.
6894 (occur-engine): Set stickiness of prefix text properties.
6896 2011-09-17 Glenn Morris <rgm@gnu.org>
6898 * progmodes/etags.el (complete-tag):
6899 Fix call to completion-in-region. (Bug#9526)
6901 2011-09-17 Juri Linkov <juri@jurta.org>
6903 * textmodes/ispell.el (ispell-word): Add to the error message
6904 the word, ispell program name and current dictionary (bug#9121).
6905 (ispell-tex-arg-end): Capitalize "error" in the error message.
6907 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6909 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6912 2011-09-17 Juri Linkov <juri@jurta.org>
6914 * window.el (window-safe-min-height, window-safe-min-width):
6915 Fix typos (followup to bug#9522).
6917 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6919 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6921 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6923 * simple.el (line-move): If goal-column is set, move by logical
6924 lines, not by display lines. (Bug#971)
6925 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6926 to reflect the above change.
6928 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6930 * image.el (imagemagick-register-types): Use regexp-opt.
6932 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6934 * window.el (display-buffer-base-action): Rename from
6935 display-buffer-default-action. Make default value empty.
6936 (display-buffer-overriding-action): Convert to defvar.
6937 (display-buffer-fallback-action): New var.
6939 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6941 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6943 (package--add-to-archive-contents): If there is a duplicate entry
6944 with an older version, remove it.
6945 (package-menu-mark-delete, package-menu-mark-install)
6946 (package-menu-mark-unmark): Make unused args optional.
6947 (package-menu-mark-obsolete-for-deletion):
6948 Use package-menu-get-status instead of a regexp search.
6949 (package-menu-get-status): Use tabulated-list-entry.
6950 (package-menu-mark-upgrades): New command.
6951 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6952 (package-menu-execute): Do installation before deletion.
6953 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6954 instead of checking major-mode.
6955 (package-menu--find-upgrades): New function.
6957 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6959 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6960 passwords in the log buffer.
6961 (smtpmail-process-filter): Update the process marker so that the
6962 "broken by peer" status message is inserted in the right place.
6964 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6966 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6967 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6968 bibtex-completion-at-point-function.
6969 (bibtex-completion-at-point-function): Use them.
6971 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6973 * mpc.el (mpc-constraints-tag-lookup): New function.
6974 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6975 also to browser "album|playlist".
6977 2011-09-14 Juri Linkov <juri@jurta.org>
6979 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6980 (isearch-edit-string): Use length of `isearch-string' when
6981 `isearch-fail-pos' returns nil.
6982 (isearch-message): Remove duplicate code and call
6983 `isearch-fail-pos' with arg `t'.
6985 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6987 * replace.el (occur-mode-goto-occurrence): Don't force using other
6990 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6992 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6994 * window.el (display-buffer-window): Remove.
6995 (display-buffer-record-window): Use help-setup window parameter
6996 instead of variable display-buffer-window.
6997 (display-buffer-function, special-display-buffer-names)
6998 (special-display-function): Mention help-setup parameter instead
6999 of display-buffer-window in doc-string.
7000 * help.el (help-window-setup): New argument help-window.
7001 Use help-window-setup parameter instead of display-buffer-window.
7002 Reword some messages.
7003 (with-help-window): Pass window used for displaying the buffer
7004 to help-window-setup. Don't set display-buffer-window.
7006 2011-09-13 Glenn Morris <rgm@gnu.org>
7008 * emacs-lisp/debug.el (debugger-make-xrefs):
7009 Preserve point. (Bug#9462)
7011 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7013 * window.el (window-deletable-p): Use next-frame.
7015 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7017 * window.el (window-auto-delete): Remove.
7018 (window-deletable-p): Remove argument FORCE. Don't deal with
7019 dedication and previous buffers.
7020 (switch-to-prev-buffer): Don't delete window.
7021 (delete-windows-on): Delete a window's frame if and only if the
7022 window is dedicated.
7023 (replace-buffer-in-windows): Delete buffer's window or frame if
7024 and only if window is dedicated.
7025 (quit-window): Handle quit-restore as before last change.
7026 (bury-buffer): Delete window only if window-deletable-p returns t.
7028 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7030 * window.el (window-deletable-p): Never delete the last frame on a
7033 2011-09-13 Glenn Morris <rgm@gnu.org>
7035 * help.el (describe-key-briefly): Copy previous standard-output change.
7037 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7039 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7041 2011-09-13 Glenn Morris <rgm@gnu.org>
7043 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7044 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7046 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7048 * dired-aux.el (dired-mark-read-string): Don't return default
7049 value on empty input (Bug#9361).
7050 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7051 Omit initial minibuffer contents.
7052 (dired-do-chmod): Signal an error on empty input.
7053 (dired-mark-read-string): Don't return default on empty input.
7055 * files.el (file-modes-symbolic-to-number): Doc fix.
7057 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7059 * international/mule-cmds.el (ucs-completions): Remove.
7060 (read-char-by-name): Use complete-with-action instead; add metadata.
7062 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7064 * window.el (display-buffer--action-function-custom-type)
7065 (display-buffer--action-custom-type): New vars.
7066 (display-buffer-alist, display-buffer-default-action)
7067 (display-buffer-overriding-action): Add defcustom types.
7069 * frame.el (delete-other-frames): Doc fix (Bug#276).
7071 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7073 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7075 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7077 Change modes that used same-window-* vars to use switch-to-buffer.
7079 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7080 Use switch-to-buffer.
7082 * cus-edit.el (customize-group, custom-buffer-create)
7083 (customize-browse, custom-buffer-create-other-window):
7084 Use switch-to-buffer or switch-to-buffer-other-window.
7086 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7087 (Info-prev, Info-up, Info-speedbar-goto-node)
7088 (info-display-manual): Use switch-to-buffer.
7089 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7091 * mail/sendmail.el (mail): Use switch-to-buffer.
7092 (mail-recover): Use switch-to-buffer-other-window.
7094 * cmuscheme.el (run-scheme, switch-to-scheme):
7097 * net/rlogin.el (rlogin):
7098 * net/telnet.el (telnet, rsh):
7099 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7101 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7103 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7105 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7107 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7108 so don't mention it (bug#9301).
7109 (dired-sort-toggle-or-edit): Clarify string further.
7111 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7112 match `x', `w32' and `ns', like the manual says (bug#9029).
7114 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7115 (process-kill-buffer-query-function): Mention the buffer name in
7118 * image-mode.el (image-next-line): The line parameter is mandatory
7121 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7122 which can be useful (bug#9301).
7124 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7126 * subr.el (match-string): Mention that the current buffer should
7127 be the same as the search was done in (bug#9282).
7129 * facemenu.el: Disable the remove-* commands if the mark isn't
7132 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7134 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7136 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7138 * replace.el (occur-mode-goto-occurrence)
7139 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7142 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7145 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7146 special-display and same-window variables.
7147 (mail-other-window): Use switch-to-buffer-other-window.
7148 (mail-other-frame): USe switch-to-buffer-other-frame.
7150 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7151 Use display-buffer-other-frame.
7152 (gdb-display-gdb-buffer): Use pop-to-buffer.
7154 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7156 * progmodes/python.el: Don't set same-window-buffer-names.
7158 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7160 * window.el (display-buffer-alist): Add *Python*.
7162 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7164 * window.el (display-buffer-alist): Add entry for buffers
7165 previously handled same-window-*.
7166 (display-buffer-alist, display-buffer-default-action)
7167 (display-buffer-overriding-action): Mark as risky.
7168 (display-buffer-alist): Document action function changes.
7169 (display-buffer--same-window-action)
7170 (display-buffer--other-frame-action): New variables.
7171 (switch-to-buffer, display-buffer-other-frame): Use them.
7172 (display-buffer): Rename reuse-frame entry to reusable-frames.
7173 (display-buffer-reuse-selected-window): Function deleted.
7174 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7175 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7176 (display-buffer-special): New function.
7177 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7178 display-buffer-reuse-or-pop-window. Split off special-display
7179 part into display-buffer-special.
7180 (display-buffer-use-some-window): Don't perform any special
7181 pop-up-frames handling.
7182 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7183 (display-buffer--maybe-same-window): Rename from
7184 display-buffer-maybe-same-window.
7186 * info.el: Don't set same-window-regexps.
7187 (info-setup): New function.
7188 (info-other-window, info): Call it.
7190 * cus-edit.el: Don't set same-window-regexps.
7191 (customize-group): New argument.
7192 (customize-group-other-window): Use it.
7193 (customize-face, customize-face-other-window): Likewise.
7194 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7198 * progmodes/gud.el: Don't set same-window-regexps.
7204 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7206 2011-09-10 Juri Linkov <juri@jurta.org>
7208 * isearch.el (isearch-edit-string): Remove obsolete mention of
7209 `C-w' (`isearch-yank-word-or-char') from docstring.
7210 (isearch-query-replace): Fix typo in docstring (bug#9466).
7212 2011-09-10 Juri Linkov <juri@jurta.org>
7214 * paren.el (show-paren-function): Don't show escaped parens.
7215 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7217 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7219 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7220 (mm-default-file-encoding): Remove autoload forms, they are
7221 replaced with autoload cookies in mml.el and mm-encode.el.
7222 (mail-add-attachment): New command.
7223 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7224 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7226 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7228 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7230 * simple.el (count-words-region): Use buffer if there's no region
7233 2011-09-09 Juri Linkov <juri@jurta.org>
7235 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7236 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7237 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7239 2011-09-09 Alan Mackenzie <acm@muc.de>
7241 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7242 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7244 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7246 Fix for Savannah bug#9392.
7247 * simple.el (mail-encode-mml): New defvar.
7249 * mail/rmail.el (mail-encode-mml): Add a defvar.
7250 (rmail-enable-mime-composing): Default to t.
7251 (rmail-forward): Use MIME method of forwarding only if both
7252 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7253 Set mail-encode-mml non-nil if the MIME method was used.
7255 * mail/sendmail.el (mml-to-mime): Add autoload form.
7256 (mail-encode-mml): Add a defvar.
7257 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7259 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7260 message through mml-to-mime, and reset mail-encode-mml to nil.
7262 2011-09-09 Glenn Morris <rgm@gnu.org>
7264 * woman.el (woman-if-body): When processing an .el block,
7265 do not delete the next .el block as well. (Bug#9447)
7266 (woman-special-characters): Add oq, cq, and hy characters.
7268 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7270 * window.el (window-deletable-p): Make sure window is live before
7271 invoking window-prev-buffers.
7273 2011-09-08 Leo Liu <sdl.web@gmail.com>
7275 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7277 2011-09-08 Juri Linkov <juri@jurta.org>
7279 * progmodes/compile.el (compilation-environment): Make it
7280 a defcustom (bug#8340).
7282 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7284 * window.el (frame-auto-delete): Rename to window-auto-delete.
7285 Make it control auto-deletion of windows and/or frames.
7286 (window-deletable-p): New argument FORCE. Rewrite conditions
7287 for deleting window/frame. (Bug#9419)
7288 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7289 Rewrite handling of case when window/frame can be deleted.
7290 (delete-windows-on): Call window-deletable-p with new FORCE
7291 argument t. (Bug#9456)
7293 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7295 * help-mode.el (help-mode): Restore autoload.
7297 2011-09-07 Juri Linkov <juri@jurta.org>
7299 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7300 `compilation-environment'. Set buffer-local
7301 `compilation-environment' to `thisenv' later after (funcall mode).
7304 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7305 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7306 instead of replacing its value. (Bug#8340)
7308 2011-09-07 Juri Linkov <juri@jurta.org>
7310 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7311 based on text properties put by `grep-filter' instead of matching
7313 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7314 to the value of `grep-error-screen-columns' (bug#9438).
7316 2011-09-07 Juri Linkov <juri@jurta.org>
7318 * simple.el (next-error-highlight, next-error-highlight-no-select):
7321 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7323 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7324 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7326 2011-09-07 Leo Liu <sdl.web@gmail.com>
7328 * net/rcirc.el (rcirc-mode): Conditionally initialize
7331 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7333 * emacs-lisp/find-func.el (find-function-C-source): Only set
7334 find-function-C-source-directory after checking that we found a source
7335 file there (bug#9440).
7337 2011-09-06 Alan Mackenzie <acm@muc.de>
7339 * isearch.el (isearch-other-meta-char): Wherever a key list is
7340 unread, "unread" the prefix arg, too. This fixes bug #8901.
7342 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7344 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7346 2011-09-05 Juri Linkov <juri@jurta.org>
7348 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7350 2011-09-05 Juri Linkov <juri@jurta.org>
7352 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7353 keeping point where processing of grep matches begins, and
7354 continue to delete remaining escape sequences from the same point.
7355 (grep-filter): Make leading zero optional in "0?1;31m" because
7356 git-grep emits "\033[1;31m" escape sequences unlike expected
7357 "\033[01;31m" as GNU Grep does (bug#9408).
7358 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7360 2011-09-05 Juri Linkov <juri@jurta.org>
7362 * subr.el (y-or-n-p): Capitalize "yes".
7364 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7366 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7367 `tramp-cache-unload-hook' where appropriate.
7368 (tramp-methods): Rename `tramp-remote-sh' to
7369 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7370 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7372 * net/tramp-sh.el (top): Don't require 'shell.
7373 (tramp-methods): Add `tramp-remote-shell' and
7374 `tramp-remote-shell-args' entries.
7375 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7376 (tramp-sh-handle-shell-command): Remove.
7377 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7378 Use `tramp-remote-shell'.
7380 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7382 * mail/sendmail.el (sendmail-query-once-function): Delete.
7383 (sendmail-query-once): Save directly to send-mail-function.
7384 Update message-send-mail-function too.
7386 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7388 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7390 * progmodes/python.el (python-mode-map): Use correct function to
7391 start python interpreter from menu-bar (as reported by Geert
7393 (inferior-python-mode-map): Fix typo.
7394 (python-shell-map): Remove.
7396 2011-09-03 Deniz Dogan <deniz@dogan.se>
7398 * net/rcirc.el (rcirc-print): Simplify code for
7399 rcirc-scroll-show-maximum-output. There is no need to walk
7400 through all windows to find the right one.
7402 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7404 * help.el (help-return-method): Doc fix.
7406 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7408 * window.el (window-deletable-p): Don't return a non-nil value
7409 when there's a buffer that was shown in the window before.
7411 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7412 Set window's previous buffers to nil.
7414 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7416 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7417 newline before and after the tag line, so it doesn't interfere
7418 with determining the paragraph direction of bidirectional text.
7420 2011-09-03 Leo Liu <sdl.web@gmail.com>
7422 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7424 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7426 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7427 (pop-to-buffer): Change interactive spec. Pass second argument
7428 directly to display-buffer.
7429 (display-buffer): Fix interactive spec. Use functionp to
7430 distinguish between a function and a list of functions.
7432 * abbrev.el (edit-abbrevs):
7433 * arc-mode.el (archive-extract):
7434 * autoinsert.el (auto-insert):
7435 * bookmark.el (bookmark-bmenu-list):
7436 * files.el (find-file):
7437 * view.el (view-buffer):
7438 * progmodes/compile.el (compilation-goto-locus):
7439 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7441 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7443 * window.el (display-buffer-alist): Doc fix.
7444 (display-buffer): Add docstring. Don't treat
7445 display-buffer-default specially.
7446 (display-buffer-reuse-selected-window)
7447 (display-buffer-same-window, display-buffer-maybe-same-window)
7448 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7449 (display-buffer-pop-up-window)
7450 (display-buffer-reuse-or-pop-window)
7451 (display-buffer-use-some-window): New functions.
7452 (display-buffer-default-action): Use them.
7453 (display-buffer-default): Delete.
7454 (pop-to-buffer-1): Fix choice of actions.
7456 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7458 * minibuffer.el (completion--insert-strings): Don't get confused by
7459 completion entries that end with an LF char.
7461 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7463 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7465 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7467 * window.el (display-buffer): Restore interactive spec.
7468 (display-buffer-same-window, display-buffer-other-window):
7470 (pop-to-buffer-1): New function. Use the above.
7471 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7472 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7474 * view.el (view-buffer-other-window, view-buffer-other-frame):
7475 Just use pop-to-buffer.
7477 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7479 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7481 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7483 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7485 2011-08-31 Richard Stallman <rms@gnu.org>
7487 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7488 of the separation of rmail-view-buffer from rmail-buffer.
7489 If you say no to "replace original", the decrypt is in the
7490 view buffer. If you say yes, the decrypt goes into the
7493 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7495 * window.el (display-buffer-window): Rewrite doc-string.
7496 (display-buffer-record-window): New function.
7497 (display-buffer-macro-specifiers)
7498 (display-buffer-even-window-sizes, display-buffer-set-height)
7499 (display-buffer-set-width, display-buffer-in-window)
7500 (display-buffer-reuse-window, display-buffer-split-specifiers)
7501 (display-buffer-side-specifiers, display-buffer-split-window-1)
7502 (display-buffer-split-window, display-buffer-split-atom-window)
7503 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7504 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7505 (display-buffer-other-window-means-other-frame)
7506 (display-buffer-normalize-special)
7507 (display-buffer-normalize-default)
7508 (display-buffer-normalize-argument)
7509 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7510 (display-buffer-normalize-specifiers, display-buffer-frame)
7511 (display-buffer-same-window, display-buffer-same-frame)
7512 (display-buffer-other-window)
7513 (display-buffer-same-frame-other-window)
7514 (display-buffer-other-frame, pop-to-buffer-same-window)
7515 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7516 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7517 (switch-to-buffer-same-frame)
7518 (switch-to-buffer-other-window-same-frame)
7519 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7520 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7521 (display-buffer-alist-set): Remove.
7522 (display-buffer-function, special-display-buffer-names)
7523 (special-display-regexps, special-display-function):
7524 In doc-string refer to display-buffer-window and quit-restore
7526 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7527 (special-display-frame-alist, special-display-popup-frame)
7528 (same-window-buffer-names, same-window-regexps, same-window-p)
7529 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7530 (split-window-preferred-function, split-height-threshold)
7531 (split-width-threshold, window-splittable-p)
7532 (split-window-sensibly, window--try-to-split-window)
7533 (window--frame-usable-p, even-window-heights)
7534 (window--even-window-heights, window--display-buffer-1)
7535 (window--display-buffer-2, display-buffer-other-frame):
7536 Restore old Emacs 23 code, order and doc-strings where applicable.
7537 (display-buffer-default, display-buffer-assq-regexp): New functions.
7538 (display-buffer-alist): Rewrite doc-string.
7539 (display-buffer-default-action)
7540 (display-buffer-overriding-action): New variables.
7541 (display-buffer, switch-to-buffer): Rewrite.
7542 (pop-to-buffer): Restore Emacs 23 behavior but use
7543 window-normalize-buffer-to-display.
7544 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7545 Restore Emacs 23 behavior but use
7546 window-normalize-buffer-to-switch-to.
7547 (pop-to-buffer-same-window): Rewrite.
7548 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7549 Rewrite using Emacs 23 options.
7551 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7553 * net/tramp.el (tramp-root-regexp): Remove.
7554 (tramp-completion-file-name-regexp-unified)
7555 (tramp-completion-file-name-regexp-separate)
7556 (tramp-completion-file-name-regexp-url): Don't use leading volume
7557 letter on win32 systems. (Bug#5303, Bug#9311)
7558 (tramp-drop-volume-letter): Simplify definition.
7559 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7561 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7566 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7568 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7570 2011-08-29 Juri Linkov <juri@jurta.org>
7572 * isearch.el (isearch-done): Don't display message "Mark saved"
7573 when arg `edit' is non-nil to prevent its flicker in the echo area.
7575 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7577 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7578 obsolete packages for deletion.
7580 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7582 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7583 (help-mode): Derive help-mode from special-mode. Don't invoke
7584 view-mode from help-mode.
7585 (help-xref-override-view-map): Remove.
7586 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7587 view-mode is not used anymore.
7589 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7591 * server.el (server-port): Doc fix.
7593 * cus-theme.el (custom-theme-choose-mode): Inherit from
7594 special-mode (Bug#9124).
7595 (custom-theme-choose-mode-map): Add special-mode to parent.
7597 2011-08-28 Alan Mackenzie <acm@muc.de>
7599 * progmodes/cc-fonts.el
7600 (c-make-font-lock-BO-decl-search-function): New function.
7601 (c-basic-matchers-after - "Fontify the clauses after various
7602 keywords"): Extract the three keyword lists for the 3 erroneous
7603 constructs from the list of four, and use the new function above
7604 in place of an old one.
7606 2011-08-28 Deniz Dogan <deniz@dogan.se>
7608 * net/rcirc.el (rcirc-insert-prev-input)
7609 (rcirc-insert-next-input): Remove unused argument.
7611 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7613 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7615 2011-08-27 Alan Mackenzie <acm@muc.de>
7617 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7618 handle function pointer parameters properly.
7620 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7622 * window.el (display-buffer-reuse-window): Fix case where
7623 selected window was reused with non-nil OTHER-WINDOW argument.
7626 2011-08-27 Deniz Dogan <deniz@dogan.se>
7628 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7629 oftc's NickServ messages.
7631 2011-08-27 Glenn Morris <rgm@gnu.org>
7633 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7635 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7637 * emacs-lisp/package.el (package-install): Call package-initialize
7638 if called interactively.
7640 2011-08-26 Leo Liu <sdl.web@gmail.com>
7642 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7644 2011-08-25 Juri Linkov <juri@jurta.org>
7646 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7647 `search-whitespace-regexp' (bug#9364).
7649 2011-08-25 Juri Linkov <juri@jurta.org>
7651 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7652 `regexp-search-ring' to their global values to protect from
7653 updating by `read-from-minibuffer' (bug#9185).
7655 2011-08-25 Juri Linkov <juri@jurta.org>
7657 * textmodes/ispell.el (ispell-command-loop): Add newline
7658 at the end of the "Use option `i'..." line.
7660 2011-08-25 Juri Linkov <juri@jurta.org>
7662 * battery.el (display-battery-mode): If `battery-status-function'
7663 or `battery-mode-line-format' is nil, display the message and set
7664 `display-battery-mode' to nil (bug#9363).
7666 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7668 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7669 bidi-string-mark-left-to-right; they are unnecessary now.
7671 2011-08-25 Deniz Dogan <deniz@dogan.se>
7673 * net/quickurl.el: Documentation typo fixes.
7675 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7677 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7679 2011-08-25 Glenn Morris <rgm@gnu.org>
7681 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7683 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7684 (smtpmail-via-smtp): Handle nil response from smtp.
7686 2011-08-24 Juri Linkov <juri@jurta.org>
7688 * proced.el (proced-marked): Inherit from `error' instead of
7689 `font-lock-warning-face'.
7691 * ibuffer.el (ibuffer-marked-face): Change default face from
7692 `font-lock-warning-face' to `warning'.
7693 (ibuffer-deletion-face): Change default face from
7694 `font-lock-type-face' to `error'.
7696 * battery.el (battery-update): Use the face `error' instead of
7697 `font-lock-warning-face' (bug#6117).
7699 2011-08-24 Juri Linkov <juri@jurta.org>
7701 * faces.el (success): Change face color from "Green3" to
7702 "ForestGreen" on light background (bug#9353).
7704 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7706 * window.el (quit-window): Rename from quit-restore-window.
7707 Use same arglist as old quit-window.
7708 (frame-auto-delete): Doc fix.
7710 * view.el (view-mode-exit): Use quit-window.
7712 2011-08-24 Juri Linkov <juri@jurta.org>
7714 * isearch.el (isearch-ring-adjust1): Start visiting previous
7715 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7716 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7717 for empty search string (when the last search string is reused
7718 automatically) to adjust the isearch ring to the last element and
7719 prepare the correct index for further M-p commands (bug#9185).
7721 2011-08-24 Kenichi Handa <handa@m17n.org>
7723 * international/ucs-normalize.el: If decomposition property of
7724 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7726 (nfd, nfkd): Likewise.
7728 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7730 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7731 from process filters aren't reliably transmitted to the surrounding
7732 accept-process-output.
7733 (mpc-proc-check): New function.
7734 (mpc-proc-sync): Use it (bug#8293)
7736 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7738 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7739 Add compatibility functions (bug#9313).
7741 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7743 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7745 * international/uni-bidi.el: Regenerate.
7747 2011-08-23 Kenichi Handa <handa@m17n.org>
7749 * international/charprop.el:
7750 * international/uni-bidi.el:
7751 * international/uni-category.el:
7752 * international/uni-combining.el:
7753 * international/uni-comment.el:
7754 * international/uni-decimal.el:
7755 * international/uni-decomposition.el:
7756 * international/uni-digit.el:
7757 * international/uni-lowercase.el:
7758 * international/uni-mirrored.el:
7759 * international/uni-name.el:
7760 * international/uni-numeric.el:
7761 * international/uni-old-name.el:
7762 * international/uni-titlecase.el:
7763 * international/uni-uppercase.el: Regenerate.
7765 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7767 * help.el (help-window-setup): Fix message displayed when other
7768 window is reused. (Bug#9341)
7770 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7772 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7773 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7775 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7777 * shell.el (shell-parse-pcomplete-arguments): New function.
7778 (shell-completion-vars): Use it instead (bug#9160).
7780 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7782 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7783 strings and comments (bug#9333).
7785 * emacs-lisp/debug.el (debug-arglist): New function.
7786 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7787 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7789 2011-08-22 Juri Linkov <juri@jurta.org>
7791 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7792 Revert regexp that highlights output switches to its old
7793 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7795 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7796 to check for empty output (bug#9226).
7798 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7800 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7801 symbol-constituent as the default, as that stops font-lock from
7802 working properly (Bug#8843).
7804 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7806 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7807 `coding-system-for-*' around the process open call to avoid
7808 auth-source side effects.
7809 (smtpmail-try-auth-methods): Expand the secret password.
7810 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7813 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7815 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7817 * emacs-lisp/find-func.el (find-function-noselect): New arg
7820 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7821 signal an error for built-in functions (Bug#6664).
7823 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7825 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7826 (smtpmail-try-auth-methods): Use it.
7828 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7830 * font-lock.el (font-lock-fontify-region)
7831 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7832 (font-lock-default-unfontify-buffer)
7833 (font-lock-default-fontify-region)
7834 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7836 * progmodes/compile.el (compilation-error-properties):
7837 Fix confusion between file struct and message struct (Bug#9319).
7838 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7841 * net/browse-url.el (browse-url-firefox): Don't call
7842 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7844 2011-08-20 Glenn Morris <rgm@gnu.org>
7846 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7848 * tutorial.el (tutorial--default-keys): Update some default bindings.
7850 * files.el (hack-local-variables): Fully ignore case for "mode:".
7852 2011-08-20 Alan Mackenzie <acm@muc.de>
7854 Resolve invalid use of a regexp in regexp-opt.
7856 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7857 detection for a java annotation.
7859 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7860 detection for a java annotation.
7862 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7864 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7866 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7868 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7871 2011-08-20 Alan Mackenzie <acm@muc.de>
7873 Fontify CPP expressions correctly when starting in the middle of
7874 such a construct. Mainly for when jit-lock etc. starts a chunk
7877 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7879 (c-make-font-lock-search-form): New function, extracted from
7880 c-make-font-lock-search-function.
7881 (c-make-font-lock-search-function): Use the above function.
7882 (c-make-font-lock-context-search-function): New function.
7883 (c-cpp-matchers): Enhance the preprocessor expression case with
7885 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7886 which takes an expression.
7888 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7890 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7892 * window.el (display-buffer-reuse-window)
7893 (display-buffer-pop-up-window): Don't reuse or split a side
7896 2011-08-19 Glenn Morris <rgm@gnu.org>
7898 * files.el (hack-local-variables-prop-line, hack-local-variables):
7899 Downcase "Mode:". (Bug#9331)
7901 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7903 * international/characters.el: Add L and R categories.
7905 * subr.el (bidi-string-mark-left-to-right): Rename from
7906 string-mark-left-to-right. Use category search.
7908 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7910 2011-08-18 Juri Linkov <juri@jurta.org>
7912 * faces.el (error, warning, success): New faces with definitions
7913 copied from old default values of `font-lock-warning-face',
7914 `compilation-warning', `compilation-info' (bug#6117).
7916 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7918 * progmodes/compile.el (compilation-error): Inherit from `error'.
7919 (compilation-warning): Inherit from `warning'.
7920 (compilation-info): Inherit from `success'.
7922 * dired.el (dired-marked): Inherit from `warning'.
7923 (dired-flagged): Inherit from `error'.
7925 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7927 * mail/smtpmail.el (auth-source): Require to avoid problems with
7928 binding variables (bug#9298). Also clean up some unused
7931 * net/network-stream.el (network-stream-open-starttls):
7932 Support using starttls.el without using gnutls-cli.
7934 2011-08-17 Juri Linkov <juri@jurta.org>
7936 * progmodes/grep.el (rgrep): Handle the case when
7937 `grep-find-command' is a cons cell (bug#9278).
7939 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7941 * window.el (display-buffer-pop-up-frame): Run frame creation
7942 function with BUFFER current (as special-display-popup-frame
7943 does). Reported by Drew Adams.
7945 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7947 * epa-mail.el: Simplify GnuPG group expansion using
7949 (epa-mail-group-alist, epa-mail-group-modtime)
7950 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7951 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7952 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7955 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7957 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7959 2011-08-16 Alan Mackenzie <acm@muc.de>
7961 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7962 Correct, to avoid the inside of macros.
7964 2011-08-16 Richard Stallman <rms@gnu.org>
7966 * epa-mail.el: Handle GnuPG group definitions.
7967 (epa-mail-group-alist, epa-mail-group-modtime)
7968 (epa-mail-gnupg-conf-file): New variables.
7969 (epa-mail-parse-groups, epa-mail-sync-groups)
7970 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7971 (epa-mail-expand-recipients): New functions.
7972 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7974 * mail/rmail.el (rmail-epa-decrypt): New command.
7976 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7977 Don't bind buffer-read-only, just inhibit-read-only.
7978 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7979 (epa-decrypt-armor-in-region): Make error message clearer.
7981 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7983 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7984 and "a2b" to "ab" for `prefix'.
7986 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7988 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7990 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7991 Fourquet (Bug#8804).
7993 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7995 * startup.el (argi): Declare as global variable (bug#9275).
7997 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7999 * subr.el (string-mark-left-to-right): Search the entire string
8000 for RTL script, not just the terminating character. Doc fix.
8002 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8004 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8006 (js--regexp-literal, js-syntax-propertize-function): Remove.
8007 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8008 (js-mode-map): Don't rebind electric keys.
8009 (js-insert-and-indent): Remove.
8010 (js-mode): Setup electric-layout and electric-indent instead.
8012 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8014 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8016 * epa.el (epa-progress-callback-function): Fix the logic of
8017 displaying progress.
8018 * epa-file.el (epa-file-insert-file-contents): Make progress
8019 display more user-friendly.
8020 (epa-file-write-region): Ditto.
8022 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8024 * subr.el (string-mark-left-to-right): New function.
8026 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8027 Use string-mark-left-to-right.
8028 (list-buffers-noselect): Caller changed.
8030 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8031 Use string-mark-left-to-right.
8032 (tabulated-list-print): Recenter after moving point.
8034 2011-08-10 Juri Linkov <juri@jurta.org>
8036 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8037 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8038 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8040 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8042 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8045 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8047 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8048 character. (Bug#6594)
8050 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8052 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8053 (image-dired--with-db-file): New macro.
8054 (image-dired-write-tags, image-dired-remove-tag)
8055 (image-dired-create-gallery-lists, image-dired-write-comments)
8056 (image-dired-get-comment, image-dired-mark-tagged-files)
8057 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8058 (image-dired-gallery-generate): Use insert-file-contents.
8060 * time.el (display-time-world-list, display-time-world-display):
8061 * time-stamp.el (time-stamp-string):
8062 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8063 set-time-zone-rule (Bug#7337).
8065 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8067 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8068 (epg-error-to-string, epg-errors-to-string): New function.
8069 (epg-wait-for-completion): Reverse errors list.
8070 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8071 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8072 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8073 (epg-sign-keys, epg-generate-key-from-file)
8074 (epg-generate-key-from-string): Format errors by using
8075 epg-errors-to-string (bug#9255).
8076 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8078 2011-08-07 Juri Linkov <juri@jurta.org>
8080 * faces.el (list-faces-display): Remove extra angle bracket
8081 from `help-mode-map'.
8083 * info.el (Info-history-toc-nodes): Doc fix.
8085 * longlines.el (longlines-mode): Doc fix.
8087 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8089 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8090 of statements and in a few more cases (bug#9183).
8092 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8094 (cl-transform-lambda): Use them (bug#9239).
8096 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8098 * window.el (display-buffer-same-window)
8099 (display-buffer-same-frame, display-buffer-other-window)
8100 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8101 (pop-to-buffer-other-window)
8102 (pop-to-buffer-same-frame-other-window)
8103 (pop-to-buffer-other-frame): Make them defuns.
8104 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8106 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8108 * subr.el (make-composed-keymap): Move from C. Change calling
8109 convention, and improve docstring to bring attention to a subtle point.
8110 * minibuffer.el (completing-read-default): Adjust accordingly.
8112 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8114 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8115 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8117 * net/trampver.el: Update release number.
8119 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8121 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8124 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8126 * mail/sendmail.el (sendmail-query-once): Restore the current
8127 buffer after querying (bug#9074).
8129 * dired.el (dired-flagged): Use different faces for marked and
8130 flagged files (bug#6117).
8132 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8135 * ido.el (ido-mode): Switch off the message if called
8138 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8139 before 587, since it appears that that's more likely to work for
8142 * cus-edit.el (custom-file): When running under emacs -q, always
8143 refuse to save the customizations, even if the .emacs file doesn't
8146 * info.el: Remove the `Info-beginning-of-buffer' function
8149 * net/network-stream.el (network-stream-open-starttls):
8150 Use `starttls-available-p' to see whether starttls.el can be used.
8152 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8154 * window.el (display-buffer-in-window): Don't set dedicated status
8155 of window here (Bug#9215).
8156 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8157 (display-buffer-pop-up-side-window)
8158 (display-buffer-in-side-window): Set dedicated status of window here.
8160 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8162 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8163 before binding generated-autoload-file.
8165 2011-08-01 Deniz Dogan <deniz@dogan.se>
8167 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8169 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8171 Sync with Tramp 2.2.2.
8173 * net/trampver.el: Update release number.
8175 2011-07-30 Juri Linkov <juri@jurta.org>
8177 * dired-aux.el (dired-touch-initial): Remove function.
8178 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8179 current time, and `default' to the last modification time of the
8180 current marked file (bug#6887).
8182 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8184 * simple.el (goto-line): Use string-to-number to provide a
8185 numeric argument to read-number (bug#9163).
8187 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8189 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8190 connection process, it could be nil.
8192 2011-07-27 Leo Liu <sdl.web@gmail.com>
8194 Simplify url handling in rcirc-mode.
8196 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8197 (rcirc-browse-url-at-mouse): Remove.
8198 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8200 2011-07-26 Alan Mackenzie <acm@muc.de>
8202 Fontify bitfield declarations properly.
8204 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8205 (c-symbol-chars): Now exported as a lang variable.
8206 (c-not-primitive-type-keywords): New lang variable.
8208 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8209 QT keyword "more" to prevent "more slots: ...." being spuriously
8210 parsed as a bitfield declaration.
8212 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8213 Refactor and enhance to handle bitfield declarations.
8214 (c-punctuation-in): New function.
8215 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8216 declarations properly.
8218 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8220 * calendar/icalendar.el (icalendar--all-events): Take care of
8221 multiple vcalendars in a single file.
8222 (icalendar--convert-float-to-ical): Checkdoc fixes.
8224 2011-07-25 Deniz Dogan <deniz@dogan.se>
8226 * image.el (insert-image): Clarifying docstring.
8228 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8230 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8231 `tramp-send-command-and-check' if there is no error.
8232 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8234 2011-07-22 Alan Mackenzie <acm@muc.de>
8236 Prevent cc-langs.elc being loaded at run time.
8238 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8241 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8242 "(require 'cc-langs)". Quote a form so it will evaluate at
8243 (cc-mode's) compilation time.
8245 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8247 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8250 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8252 * window.el (display-buffer-pop-up-window)
8253 (display-buffer-pop-up-side-window)
8254 (display-buffer-in-side-window): Call display-buffer-set-height
8255 and display-buffer-set-width after setting the new window's
8256 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8258 2011-07-20 Sam Steingold <sds@gnu.org>
8260 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8261 (etags-tags-included-tables): Call `convert-standard-filename' on
8262 the file names contained in TAGS so that windows Emacs can handle
8263 TAGS files created by cygwin ctags.
8265 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8267 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8268 which apparently didn't work.
8270 2011-07-19 Roland Winkler <winkler@gnu.org>
8272 * proced.el (proced-send-signal): For *Marked Processes* buffer
8273 put point at beginning of buffer.
8275 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8277 * proced.el (proced-format): Make header lines align with the text
8280 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8282 * view.el (view-buffer): Allow running in `special' modes if we're
8283 visiting a file (bug#8615).
8285 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8287 * window.el (display-buffer-alist-of-strings-p)
8288 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8290 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8293 2011-07-18 Alan Mackenzie <acm@muc.de>
8295 Fontify declarators properly when, e.g., a jit-lock chunk begins
8296 inside a declaration.
8298 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8300 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8302 (c-complex-decl-matchers): Insert reference to
8303 c-font-lock-enclosing-decls.
8305 * progmodes/cc-engine.el (c-backward-single-comment):
8306 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8307 to nil around calls to (forward-comment -1).
8309 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8311 * image.el (put-image): Doc typo fix.
8313 * progmodes/etags.el (tags-search): Doc typo fix.
8315 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8316 password if we get errors 550 to 554.
8318 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8320 * net/gnutls.el (gnutls-log-level): Remove.
8322 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8323 indentation character (bug#6380).
8325 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8327 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8328 to clarify what the problem is (bug#4291).
8330 * simple.el (current-kill): Clarify what
8331 `interprogram-paste-function' does (bug#7500).
8332 (auto-fill-mode): Document `auto-fill-function' in relation to
8333 `auto-fill-mode' (bug#2470).
8335 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8337 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8338 method if slot is read-only (bug#9035).
8340 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8342 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8343 * window.el (pop-to-buffer): Select window used even if it was
8344 selected before, see discussion of (Bug#8615), (Bug#6954).
8345 Pass argument NORECORD on to select-frame-set-input-focus.
8347 2011-07-15 Glenn Morris <rgm@gnu.org>
8349 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8352 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8354 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8355 (gnutls-negotiate): Use it.
8357 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8359 * net/gnutls.el (gnutls-negotiate):
8360 Upcase `gnutls-algorithm-priority'.
8362 2011-07-15 Glenn Morris <rgm@gnu.org>
8364 * jka-compr.el (jka-compr-verbose): Move from here...
8365 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8366 Add missing :version tag.
8367 * info.el: No need to require jka-compr when compiling.
8369 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8371 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8372 (gnutls-negotiate): Use it.
8374 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8376 * info.el (Info-beginning-of-buffer): New command.
8377 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8378 announcing `b' as the key (bug#8325).
8379 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8381 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8383 * international/mule-cmds.el
8384 (describe-specified-language-support): Make the error message
8387 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8389 * isearch.el (isearch-barrier): Add a doc string, since it's
8390 mentioned in a function doc string (bug#8678).
8392 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8394 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8395 buffer argument (Bug#9083) and self-identifying label argument.
8397 2011-07-15 Glenn Morris <rgm@gnu.org>
8399 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8401 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8403 * man.el (Man-fontify-manpage): Fix message when formatting the
8404 man page (bug#7929).
8406 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8408 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8409 argument LRM; if non-nil, append an invisible LRM character to the
8411 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8412 last argument non-nil, when formatting buffer names.
8413 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8414 paragraph direction.
8416 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8418 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8419 the man page name (bug#7929).
8421 * image.el (put-image): Mention the `put-image' overlay property
8424 * scroll-bar.el (set-scroll-bar-mode): Mention that
8425 `scroll-bar-mode' lists the values (bug#7772).
8427 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8430 * rect.el (apply-on-rectangle): Return the point after the last
8432 (string-rectangle): Go to the point after the last operation
8435 * printing.el (pr-toggle-region): Clarify the documentation
8436 slightly (bug#7493).
8438 * time.el (display-time-update):
8439 Allow `display-time-mail-function' to return nil (bug#7158).
8440 Fix suggested by Detlev Zundel.
8442 * vc/diff.el (diff): Clarify the order the file names are read
8445 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8446 the doc string (bug#7015).
8448 * font-lock.el (font-lock-maximum-decoration): Mention what
8449 numeric levels mean (bug#6935).
8451 * startup.el (initial-buffer-choice): Don't mention the `none'
8452 selection, which is against policy.
8454 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8456 * window.el (display-buffer-normalize-special):
8457 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8459 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8461 * subr.el (version<, version<=, version=): Mention "-CVS" and
8462 "-12345" alpha version numbers.
8464 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8466 * bindings.el: Add advertised binding for set-mark-command
8469 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8471 * bindings.el (mode-line-other-buffer):
8472 * bookmark.el (bookmark-bmenu-2-window):
8473 * bs.el (bs-cycle-next, bs-cycle-previous):
8474 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8477 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8480 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8482 * follow.el (follow-debug-message, follow-redisplay):
8483 * jka-cmpr-hook.el (with-auto-compression-mode):
8484 Fix typos in docstrings.
8486 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8488 * subr.el (with-silent-modifications): Clarify somewhat what the
8489 macro inhibits (bug#6525).
8491 * simple.el (eval-expression): Note what it does if called
8492 interactively (bug#6495).
8494 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8496 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8497 Use pop-to-buffer buffer-or-name if it is nil.
8499 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8500 Remove switch-to-buffer.
8502 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8504 * files.el (make-directory): Clarify that an error will be raised
8505 if there's an error (bug#6397).
8507 * startup.el (initial-buffer-choice): Add `none' as a choice
8510 * subr.el (add-hook): Clarify section about buffer-local hooks
8513 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8515 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8517 * tabify.el (untabify): Preserve the current column so that point
8518 doesn't move (bug#6032).
8520 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8522 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8523 Rewrite to avoid awkward possessive "s" (bug#5986).
8525 2011-07-13 Glenn Morris <rgm@gnu.org>
8527 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8528 (dired-insert-directory): Give a message the first time
8529 if ls is found not to support --dired.
8531 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8533 * simple.el (toggle-truncate-lines): Clarify what is toggled
8534 (bug#5580). Text by Drew Adams.
8536 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8538 * simple.el (blink-matching-open): Make the error message from the
8539 last change less verbose.
8541 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8543 * font-lock.el (font-lock-comment-face): Use the high contrast
8544 "yellow" color for font-lock-comment-face on low color terminals
8545 using a dark background color (bug#4221).
8547 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8549 * dired.el (dired-insert-set-properties): Make the doc string
8550 reflect what it does now (bug#5325).
8552 * simple.el (blink-matching-open): Say that we were unable to find
8553 the match within the limit, if we're limited (bug#5122).
8555 * international/mule-cmds.el (prefer-coding-system): Add an
8558 * progmodes/etags.el (tags-search): Document `file-list-form'
8561 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8563 * net/browse-url.el (browse-url-default-browser)
8564 (browse-url-browser-function): Make the default browser choice a
8565 bit more logical (bug#4300). Also clean up the doc string.
8567 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8569 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8570 binary endings (bug#4440).
8572 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8574 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8575 which can be pretty annoying (bug#8971).
8577 * jka-compr.el (jka-compr-verbose): New variable, and use
8578 throughout (bug#8971).
8580 * info.el (Info-find-file): Fall back on the installation
8581 directory if we can't find the info node anywhere else.
8583 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8585 * vc/vc.el (vc-revert-file):
8586 Don't set file time-stamp in the past. (Bug#5181)
8588 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8590 * files.el (after-find-file): Give a better error message when
8591 trying to find a symlink that points to a file that doesn't exist
8594 * progmodes/cc-vars.el: Remove (probably) misleading comment
8597 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8599 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8601 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8603 * mouse-sel.el: Hack restoring functionality, while keeping
8604 compatibility with 2010-07-03 changes to mouse selection.
8605 (mouse-sel-primary-overlay): New var.
8606 (mouse-sel-selection-alist): Use it.
8607 (mouse-sel-mode): Doc fix; remove points that are default features
8610 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8612 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8613 Fix previous fix (bug#2490).
8615 2011-07-12 Roland Winkler <winkler@gnu.org>
8617 * textmodes/bibtex.el (bibtex-initialize):
8618 Use pop-to-buffer-same-window.
8619 (bibtex-search-entries): Fix interactive call.
8621 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8623 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8624 Fontise bytecomp Error lines more correctly (bug#2490).
8625 Fix suggested by Johan Bockgård.
8627 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8629 * dired-x.el (dired-guess-default): Use `delete-dups'.
8631 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8633 * dired.el (dired-mark-prompt):
8634 * dired-aux.el (dired-read-shell-command): Doc fix.
8636 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8638 * mail/sendmail.el (sendmail-query-once):
8639 Use `customize-save-variable' unconditionally, now that it works under
8642 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8644 * cus-edit.el (custom-file): Take an optional no-error variable.
8645 (customize-save-variable): Set the variable, and give a warning if
8646 running under "emacs -q".
8648 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8650 * loadhist.el (unload-feature-special-hooks):
8651 Add `auto-coding-functions', `fill-nobreak-predicate' and
8652 `find-directory-functions' (bug#5327).
8654 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8656 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8658 * cus-edit.el (custom-guess-name-alist): -alist variables should
8659 use the `alist' type (bug#3120). Suggested by Drew Adams.
8661 * printing.el: Add documentation to all the `pr-toggle-' commands.
8663 2011-07-11 Leo Liu <sdl.web@gmail.com>
8665 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8666 backends where it makes sense (bug#2623).
8668 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8670 * dired-x.el (dired-guess-default): Remove duplicate shell command
8672 (dired-guess-default): Fix grammar in doc string (bug#2028).
8673 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8675 * subr.el (remove-duplicates): New conveniency function.
8677 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8679 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8682 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8684 * window.el (display-buffer-normalize-default): Don't invert
8685 meaning of even-window-heights. Reported by Eli Zaretskii
8688 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8690 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8692 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8694 * window.el (display-buffer): Fix arguments to
8695 display-buffer-reuse-window in last change.
8697 * faces.el (link): Use a less saturated blue on light backgrounds.
8699 * startup.el (fancy-startup-text, fancy-about-text)
8700 (fancy-startup-tail): Use font-lock faces, for background safety.
8702 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8704 * emulation/viper-cmd.el (viper-change-state-to-vi):
8705 Limit triggering of abbrev expansion (Bug#9038).
8707 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8709 * window.el (display-buffer-default-specifiers): Remove.
8710 (display-buffer-macro-specifiers): Remove default specifiers.
8711 (display-buffer-alist): Default to nil.
8712 (display-buffer-reuse-window): New optional argument other-window.
8713 (display-buffer-pop-up-window): Allow splitting internal
8714 windows. Check whether a live window was created.
8715 (display-buffer-other-window-means-other-frame)
8716 (display-buffer-normalize-arguments): Rename to
8717 display-buffer-normalize-argument and rewrite. Set the
8718 other-window specifier.
8719 (display-buffer-normalize-special): New function.
8720 (display-buffer-normalize-options): Rename to
8721 display-buffer-normalize-default and rewrite.
8722 (display-buffer-normalize-options-inhibit): Remove.
8723 (display-buffer-normalize-specifiers): Rewrite.
8724 (display-buffer): Process other-window specifier and call
8725 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8727 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8728 (display-buffer-alist-set): Don't handle 'unset default values.
8729 (display-buffer-in-window, display-buffer-alist-set):
8730 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8731 <tassilo@member.fsf.org>.
8733 2011-07-09 Leo Liu <sdl.web@gmail.com>
8735 * register.el (insert-register): Restore accidental change on
8736 2011-06-26. (Bug#9028)
8738 2011-07-09 Glenn Morris <rgm@gnu.org>
8740 * subr.el (remq): Handle the empty list. (Bug#9024)
8742 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8744 * mail/sendmail.el (send-mail-function): No longer delay custom
8746 * custom.el (custom-initialize-delay): Doc fix.
8748 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8750 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8752 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8754 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8755 human-friendly prompt.
8757 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8759 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8760 provided by a particular plugin.
8762 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8764 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8765 save customizations (with "emacs -Q"), just set the variable
8766 instead of erroring out.
8768 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8770 2011-07-08 Juri Linkov <juri@jurta.org>
8772 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8773 (archive-zip-update-case): Use 7z if found by `executable-find'.
8774 The order of searching the available programs is the same as in
8775 `archive-zip-extract' (bug#8968).
8777 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8779 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8780 (menu-bar-options-menu): Tweak descriptions.
8782 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8784 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8785 menu items into verb phrases (bug#1421). Also refill to fit under
8788 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8790 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8791 (Info-read-node-name): Doc fix (Bug#1084).
8793 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8794 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8795 (end-of-sexp, beginning-of-sexp)
8796 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8797 (forward-symbol, forward-same-syntax, word-at-point)
8798 (sentence-at-point): Doc fix (Bug#1144).
8800 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8802 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8803 should cover it (bug#1281).
8805 * cus-edit.el (custom-show): Mark as obsolete.
8807 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8808 negotiation fails, then possibly try again with a non-encrypted
8809 connection (bug#9017).
8811 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8814 2011-07-07 Richard Stallman <rms@gnu.org>
8816 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8817 property, and handle its changed format.
8818 Look for the correct line number.
8819 Use file's line contents (but not past first =) to find
8820 correct line in message.
8822 2011-07-07 Kenichi Handa <handa@m17n.org>
8824 * international/characters.el (build-unicode-category-table):
8826 (unicode-category-table): Set it by unicode-property-table-internal.
8828 * international/mule-cmds.el (char-code-property-alist): Move to
8830 (get-char-code-property): Call unicode-property-table-internal to
8831 load a file. Call get-unicode-property-internal where necessary.
8832 (put-char-code-property): Call unicode-property-table-internal to
8833 load a file. Call put-unicode-property-internal where necessary.
8834 put-unicode-property-internal where necessary.
8835 (char-code-property-description):
8836 Call unicode-property-table-internal to load a file.
8838 * international/charprop.el:
8839 * international/uni-bidi.el:
8840 * international/uni-category.el:
8841 * international/uni-combining.el:
8842 * international/uni-comment.el:
8843 * international/uni-decimal.el:
8844 * international/uni-decomposition.el:
8845 * international/uni-digit.el:
8846 * international/uni-lowercase.el:
8847 * international/uni-mirrored.el:
8848 * international/uni-name.el:
8849 * international/uni-numeric.el:
8850 * international/uni-old-name.el:
8851 * international/uni-titlecase.el:
8852 * international/uni-uppercase.el: Regenerate.
8854 * loadup.el: Load international/charprop.el before
8855 international/characters.
8857 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8859 * window.el (next-buffer, previous-buffer): Signal an error if
8860 called from a minibuffer window.
8862 * bindings.el: Revert 2011-07-04 change.
8864 2011-07-06 Richard Stallman <rms@gnu.org>
8866 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8867 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8868 Treat markers like ints.
8869 (rmail-mime-entity): Doc fix.
8871 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8873 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8874 defcustom again for backwards compatibility.
8876 * simple.el (shell-command-on-region): Fill.
8878 * dired-aux.el (dired-kill-line): Add a doc string.
8880 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8881 to "\\sw\\|\\s_" (bug#358).
8883 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8884 (dired-unmark-backward): Ditto.
8885 (dired-flag-backup-files): Ditto.
8887 * dired-x.el (dired-mark-sexp): Ditto.
8889 2011-07-06 Richard Stallman <rms@gnu.org>
8891 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8892 (rmail-mime-entity): New arg TRUNCATED.
8893 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8895 (rmail-mime-save): Warn if entity is truncated.
8896 (rmail-mime-toggle-hidden): Likewise, for showing.
8897 (rmail-mime-process-multipart): Record when an entity is truncated.
8899 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8900 if ENTITY is a string.
8902 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8904 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8905 of faces when `M-C-x'-ing their definitions (bug#8378).
8906 Also clean up the code slightly.
8908 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8909 because that makes the colors go away.
8911 * mail/sendmail.el (send-mail-function): Change the default to
8912 `sendmail-query-once'.
8913 (sendmail-query-once): Add an autoload cookie.
8915 * net/network-stream.el (network-stream-open-starttls): Try using
8916 a plain connection even if the server offered STARTTLS, and we
8917 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8918 capability. This should make smtpmail.el work in slightly more
8921 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8923 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8925 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8927 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8929 * progmodes/sql.el: Version 3.0
8930 (sql-product-alist): Add product :completion-object,
8931 :completion-column, and :statement attributes.
8932 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8933 (sql-mode-syntax-table): Mark all punctuation.
8934 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8936 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8937 (sql-mode-oracle-font-lock-keywords): Improve.
8938 (sql-oracle-show-reserved-words): New function for development.
8939 (sql-product-font-lock): Simplify for source code buffers.
8940 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8942 (sql-highlight-product): Set product specific syntax table.
8943 (sql-mode-map): Add statement movement functions.
8944 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8946 (sql-statement-regexp, sql-beginning-of-statement)
8947 (sql-end-of-statement, sql-signum): New functions.
8948 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8949 (sql-show-sqli-buffer): Bug fix.
8950 (sql-interactive-mode): Store connection data as buffer local.
8951 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8952 with sql-interactive-mode.
8953 (sql-save-connection): Save buffer local settings.
8954 (sql-connection-menu-filter): Change menu entry name.
8955 (sql-product-interactive): Bug fix.
8956 (sql-preoutput-hold): New variable.
8957 (sql-interactive-remove-continuation-prompt): Bug fixes.
8958 (sql-debug-redirect): New variable.
8959 (sql-str-literal): New function.
8960 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8962 (sql-oracle-save-settings, sql-oracle-restore-settings)
8963 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8964 (sql-completion-object, sql-completion-column)
8965 (sql-completion-sqlbuf): New variables.
8966 (sql-build-completions-1, sql-build-completions)
8967 (sql-try-completion): New functions.
8968 (sql-read-table-name): Use them.
8969 (sql-contains-names): New buffer local variable.
8970 (sql-list-all, sql-list-table): Use it.
8971 (sql-oracle-completion-types): New variable.
8972 (sql-oracle-completion-object, sql-sqlite-completion-object)
8973 (sql-postgres-completion-object): New functions.
8975 2011-07-06 Glenn Morris <rgm@gnu.org>
8977 * window.el (pop-to-buffer): Doc fix.
8979 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8981 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8983 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8985 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8987 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8989 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8991 * button.el (button): Inherit from link face. Suggested by Dan
8994 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8996 * progmodes/gdb-mi.el: Fit in 80 columns.
8997 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9000 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9001 if imenu is simply not configured (bug#8941).
9003 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9005 * allout.el (allout-post-undo-hook): New allout outline-change
9006 event hook to signal undo activity.
9007 (allout-post-command-business): Run allout-post-undo-hook if an
9009 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9010 * allout-widgets.el (allout-widgets-after-undo-function):
9011 Ensure the integrity of the current item's decoration after it has been
9012 in the vicinity of an undo.
9013 (allout-widgets-mode): Include allout-widgets-after-undo-function
9014 on the new allout-post-undo-hook.
9016 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9018 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9019 Let define-derived-mode define it.
9020 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9021 cycles of abbrev-table inheritance (bug#8998).
9023 2011-07-05 Roland Winkler <winkler@gnu.org>
9025 * textmodes/bibtex.el: Add support for biblatex.
9026 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9027 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9028 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9029 (bibtex-entry-alist, bibtex-field-alist): New variables.
9030 (bibtex-entry-field-alist): Obsolete alias for
9031 bibtex-BibTeX-entry-alist.
9032 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9033 (bibtex-set-dialect): New command.
9034 (bibtex-entry-type, bibtex-entry-head)
9035 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9036 Bind via bibtex-set-dialect.
9037 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9038 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9039 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9040 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9041 Define via bibtex-set-dialect.
9042 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9043 Obey bibtex-no-opt-remove-re.
9044 (bibtex-vec-push, bibtex-vec-incr): New functions.
9045 (bibtex-format-entry, bibtex-field-list)
9046 (bibtex-print-help-message, bibtex-validate)
9047 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9049 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * progmodes/compile.el (compilation-goto-locus):
9052 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9053 * bs.el (bs-cycle-next, bs-cycle-previous):
9054 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9055 * bindings.el (mode-line-other-buffer):
9056 * autoinsert.el (auto-insert):
9057 * arc-mode.el (archive-extract):
9058 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9060 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9062 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9063 Fix check of `emacs-lock-unlockable-modes'.
9064 Coerce true values of `emacs-lock--try-unlocking' to t.
9066 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9068 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9069 * emacs-lock.el: New file.
9071 2011-07-05 Julien Danjou <julien@danjou.info>
9073 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9074 than `boundp' to check if face is set.
9076 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9078 * register.el (registerv-make):
9079 * window.el (window-min-height): Fix typos in docstrings.
9081 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9083 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9086 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9088 * server.el (server-execute): Catch quit and call
9089 `server-return-error' to pass the error back to emacsclient and
9090 close the connection (bug#8942).
9092 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9094 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9095 insecure exception for current topic. Also note that auto-saves
9096 are handled differently.
9098 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9099 State variables for tracking auto-save inhibition situation.
9101 (allout-write-contents-hook-handler): Rename from
9102 'allout-write-file-hook-handler', and describe how it depends on
9103 write-contents-functions sensitivity to non-nil value to prevent
9106 (allout-auto-save-hook-handler): Remove. auto-save does not check
9107 this in individual buffers, only in the starting buffer, so this
9108 is not the right way for us to inhibit auto-save in a buffer
9109 according to its condition.
9111 (allout-mode): Use new allout-write-contents-hook-handler, and
9112 only with write-contents-functions. Remove auto-save provisions -
9113 they're implemented elsewhere.
9115 (allout-before-change-handler): If undo is in progress, note that
9116 for attention of allout-post-command-business.
9118 (allout-post-command-business): If the command we're following was
9119 an undo, check for change in the status of encrypted items and
9120 adjust auto-save inhibitions accordingly.
9122 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9123 according to whether there are or aren't any plain-text topics
9126 (allout-inhibit-auto-save-info-for-decryption):
9127 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9128 if there are plain-text topics pending encryption.
9130 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9131 buffer-saved-size and some allout state to not inhibit auto-saves
9132 if there are no longer any plain-text topics pending encryption.
9134 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9135 No longer provide for exemption of the current topic.
9137 2011-07-04 Juri Linkov <juri@jurta.org>
9139 Add 7z operations to delete and save changed members (bug#8968).
9140 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9142 (archive-7z-write-file-member): New function.
9143 (archive-7z-summarize): Fix the number of dashes in the
9146 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9148 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9151 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9153 * bindings.el: Ignore next-buffer and previous-buffer in
9154 minibuffer-local-map.
9156 * font-lock.el (font-lock-builtin-face): Change light background
9157 color to dark slate blue (Bug#6693).
9159 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9161 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9163 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9165 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9166 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9167 Add switch-to-buffer.
9169 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9171 * isearch.el (isearch-search-fun-function): Clarify further the
9172 meaning of the function returned.
9174 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9176 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9178 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9179 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9181 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9182 `tramp-default-remote-path' does not exist.
9183 (tramp-send-command-and-read): New optional argument NOERROR.
9184 (tramp-open-connection-setup-interactive-shell)
9185 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9186 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9187 (tramp-process-sentinel): Flush also process' connection property.
9188 (tramp-sh-handle-start-file-process): Do not set process
9189 sentinel. It is done now ...
9190 (tramp-maybe-open-connection): ... here. (Bug#8929)
9192 2011-07-04 MON KEY <monkey@sandpframing.com>
9194 * play/animate.el (animate-string): Doc fixes and allow changing
9195 the buffer name (bug#5417).
9197 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9199 * play/animate.el (animation-buffer-name): Rename from *animate*.
9201 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9203 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9204 This is simpler and helps future-proof the code.
9205 (timer-until): Use time-subtract and float-time.
9206 (timer--time-less-p): Use time-less-p.
9208 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9210 * type-break.el (timep): Use the value of `float-time' to avoid a
9211 byte-compiler warning.
9213 * server.el (server-eval-and-print): Return any result, even nil.
9215 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9217 * type-break.el: Accept time formats that the builtins accept.
9218 (timep, type-break-time-difference): Accept any format that
9219 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9220 This is simpler and helps future-proof the code.
9221 (type-break-time-difference): Round rather than ignoring
9222 subseconds components.
9224 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9226 * info.el (Info-apropos-matches): Make non-interactive, since it
9227 doesn't seem to do anything useful as a command (bug#8829).
9229 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9231 * frame.el (frame-background-mode, frame-set-background-mode):
9233 (frame-default-terminal-background): New function.
9235 * custom.el (custom-push-theme): Don't record faces in `changed'
9236 theme; this doesn't work correctly for per-frame face settings.
9237 (disable-theme): Use face-set-after-frame-default to reset faces.
9238 (custom--frame-color-default): New function.
9240 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9242 * dired.el (dired-flagging-regexp): Remove unused variable
9245 2011-03-29 Kevin Ryde <user42@zip.com.au>
9247 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9248 `perl-Test2' extend to match possible "fail #N" rep count
9251 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9253 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9254 `smtpmail-via-smtp' now returns the error instead of nil.
9256 * isearch.el (isearch-search-fun-function): Clarify the doc string
9259 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9261 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9262 unnecessary spaces (bug#8987).
9264 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9266 * net/network-stream.el (open-network-stream): Use the
9267 :end-of-capability command thoughout.
9269 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9271 * net/network-stream.el (open-network-stream): Add the
9272 :end-of-capability command parameter, used by pop3.el.
9274 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9276 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9278 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9279 for list)" (bug#6475).
9281 * files.el (file-expand-wildcards): Ignore non-readable
9282 sub-directories while trying to find matches instead of signaling
9283 an error (bug#6297).
9285 * man.el (Man-reference-regexp): Allow matching possible
9286 word-wrapped references (bug#6289).
9288 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9289 for consistency with the other vc buffers (bug#6197).
9290 (vc-checkin): Ditto.
9292 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9294 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9296 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9298 * custom.el (defcustom): Clarify that :set is only used in the
9299 Customize user interface (bug#6089).
9301 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9302 associated with a file, refuse to run instead of erroring out
9305 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9306 the doc string, since it appears that using `fill-column' always
9307 controls the width (bug#7845).
9309 * simple.el (shell-command-on-region): Say where the error output
9310 went if `shell-command-default-error-buffer' is set (bug#6857).
9312 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9314 * allout.el (allout-yank-processing): Adjust cursor position for
9315 backwards-deleted space.
9317 (allout-rebullet-heading): Register changes with
9318 allout-exposure-changed-hook, so the modified topic is properly
9321 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9323 * minibuffer.el (completion-in-region): Document PREDICATE
9326 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9327 of keyword/argument pairs (bug#6904).
9329 * replace.el (multi-occur):
9330 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9332 2011-07-02 Drew Adams <drew.adams@oracle.com>
9334 * dired.el (dired-mark-if): Make the message about whether it's
9335 marking or unmarking clearer (bug#8523).
9337 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9339 * disp-table.el (display-table-print-array): New function.
9340 (describe-display-table): Use it to print the vectors more pretty
9343 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9345 * window.el (window-state-get-1): Don't assign clone numbers.
9346 Add clone-of item to list of window parameters.
9347 (window-state-put-2): Don't process clone numbers.
9348 (display-buffer-alist): Fix doc-string.
9350 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9352 * subr.el (remq): Don't allocate if it's not needed.
9353 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9354 (keymap--merge-bindings): New functions.
9355 (keymap-canonicalize): Use them to refine the canonicalization.
9356 * minibuffer.el (minibuffer-local-completion-map)
9357 (minibuffer-local-must-match-map): Move initialization from C.
9358 (minibuffer-local-filename-completion-map): Move initialization from C;
9359 don't inherit from anything here.
9360 (minibuffer-local-filename-must-match-map): Make obsolete.
9361 (completing-read-default): Use make-composed-keymap to combine
9362 minibuffer-local-filename-completion-map with either
9363 minibuffer-local-must-match-map or
9364 minibuffer-local-filename-completion-map.
9366 2011-07-01 Glenn Morris <rgm@gnu.org>
9368 * type-break.el (type-break-time-sum): Use dolist.
9370 * textmodes/flyspell.el (flyspell-word-search-backward):
9371 Replace CL function.
9373 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9375 * mouse.el (mouse--strip-first-event): New function.
9376 (function-key-map): Use it to map fringe clicks to normal clicks
9379 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9380 (vc-bzr-revision-completion-table): Add support for annotate and date.
9382 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9383 inherit from parent.
9385 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9387 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9388 (dired-show-file-type): Doc fixup (bug#8818).
9390 * dired.el (dired-mode): Fix up the doc string as suggested by
9391 Drew Adams (bug#8817).
9393 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9394 cookie, since the manual says that it should be possible to add
9395 this function to `find-file-hook' (bug#8709).
9397 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9399 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9400 here. Noted Ted Zlatanov as the maintainer.
9401 (cfengine-common-settings, cfengine-common-syntax): New functions
9402 to set up common things between `cfengine-mode' and
9404 (cfengine3-mode): New mode.
9405 (cfengine3-defuns cfengine3-defuns-regex
9406 (cfengine3-class-selector-regex cfengine3-category-regex)
9407 (cfengine3-vartypes cfengine3-font-lock-keywords)
9408 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9409 (cfengine3-indent-line): Add from cfengine3.el.
9411 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9413 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9415 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9417 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9419 * window.el (same-window-buffer-names, same-window-regexps)
9420 (same-window-p, special-display-frame-alist)
9421 (special-display-popup-frame, special-display-function)
9422 (special-display-buffer-names, special-display-regexps)
9423 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9424 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9425 (split-window-preferred-function, split-height-threshold)
9426 (split-width-threshold, even-window-heights)
9427 (display-buffer-mark-dedicated, window-splittable-p)
9428 (split-window-sensibly, window-safely-shrinkable-p):
9430 (display-buffer): Don't spread args with function specifier
9431 because special-display-popup-frame won't like it.
9433 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9435 Time-stamp simplifications and fixes.
9436 These improve accuracy slightly, and future-proof the code
9437 against some potential changes to current-time format.
9439 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9440 by using time-since and float-time.
9442 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9443 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9444 + NNN microseconds".
9446 * type-break.el (type-break-time-sum): Rewrite using time-add.
9448 * play/hanoi.el (hanoi-current-time-float): Remove.
9449 All uses replaced by float-time.
9451 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9452 This yields a more-accurate answer.
9453 (rng-time-to-float): Remove; no longer needed.
9455 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9457 * calendar/timeclock.el (timeclock-seconds-to-time):
9458 Defalias to seconds-to-time, since they're the same thing.
9460 * emacs-lisp/elp.el (elp-elapsed-time):
9461 * emacs-lisp/benchmark.el (benchmark-elapse):
9462 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9464 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9466 * window.el (bury-buffer): Don't iconify the only frame.
9467 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9468 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9470 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9472 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9473 Add mouse-yank-primary.
9475 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9477 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9479 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9481 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9482 (find-library-name): Use it to find relative load names when provided
9483 absolute file name (bug#8803).
9485 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9487 * textmodes/flyspell.el (flyspell-word): Consider words that
9488 differ only in case as potential doublons (bug#5687).
9490 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9491 Remove two rather uninteresting debugging-like messages to make
9492 debbugs.el more silent.
9494 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9495 a password-like phrase.
9497 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9499 * progmodes/cc-guess.el: New file.
9501 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9503 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9504 derived from `c-basic-common-init'.
9506 * progmodes/cc-mode.el (top-level): Require cc-guess.
9507 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9509 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9511 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9513 2011-06-30 Alan Mackenzie <acm@muc.de>
9515 * progmodes/cc-engine.el (c-guess-continued-construct):
9516 Correct the handling of template-args-cont, particularly for when font
9517 lock is disabled. Name this case as "CASE G".
9519 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9521 * allout.el (allout-yank-processing): Fix injection of extra space
9522 between bullet and non-whitespace character in first topic when
9523 pasting, ensuring that the actual spacing in the pasted topic
9524 following the bullet char is preserved. This extra space was
9525 causing pasted encrypted topics to get a decrypted status even
9526 when the content was actually still encrypted. Now the decryption
9527 status from before the paste is preserved.
9529 (allout-flag-region): Set all allout overlays so they evaporate
9530 when reduced to zero length (evanescent), to prevent overlay
9533 2011-06-30 Glenn Morris <rgm@gnu.org>
9535 * w32-fns.el (w32-charset-info-alist): Declare.
9537 * find-dired.el (find-grep-options): Simplify.
9539 * term/ns-win.el (ns-set-resource): Declare.
9541 * ses.el (row, col): Declare dynamic variables honestly.
9543 * textmodes/reftex-parse.el (index-tags): Declare.
9545 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9547 * cus-edit.el (customize-push-and-save): New function.
9549 * files.el (hack-local-variables-confirm): Use it.
9551 * custom.el (load-theme): New arg NO-CONFIRM.
9552 Use customize-push-and-save (Bug#8720).
9553 (custom-enabled-themes): Doc fix.
9555 * cus-theme.el (customize-create-theme)
9556 (custom-theme-merge-theme): Callers to load-theme changed.
9558 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9560 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9561 short URLs have at least one dot in them (bug #7614).
9563 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9564 nil, because using a pty is apparently too slow (bug #895).
9566 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9568 * mail/sendmail.el (sendmail-query-once): New function.
9569 (sendmail-query-once-function): New variable.
9571 2011-06-29 Glenn Morris <rgm@gnu.org>
9573 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9575 * ses.el (top-level): Require cl when compiling.
9576 (ses-set-localvars): Fix error statement.
9577 Call it at compile time to silence a storm of warnings.
9579 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9581 * window.el (normalize-live-buffer): Rename to
9582 window-normalize-buffer.
9583 (normalize-live-frame): Rename to window-normalize-frame.
9584 (normalize-any-window): Rename to window-normalize-any-window.
9585 (normalize-live-window): Rename to window-normalize-live-window.
9586 (make-window-atom): Rename to window-make-atom.
9587 (window-resize-reset): Rename to window--resize-reset.
9588 (window-resize-reset-1): Rename to window--resize-reset-1.
9589 (resize-mini-window): Rename to window--resize-mini-window.
9590 (resize-subwindows-skip-p): Rename to
9591 window--resize-subwindows-skip-p.
9592 (resize-subwindows-normal): Rename to
9593 window--resize-subwindows-normal.
9594 (resize-subwindows): Rename to window--resize-subwindows.
9595 (resize-other-windows): Rename to window--resize-siblings.
9596 (resize-this-window): Rename to window--resize-this-window.
9597 (resize-root-window): Rename to window--resize-root-window.
9598 (resize-root-window-vertically): Rename to
9599 window--resize-root-window-vertically.
9600 (normalize-buffer-to-display): Rename to
9601 window-normalize-buffer-to-display.
9602 (normalize-buffer-to-switch-to): Rename to
9603 window-normalize-buffer-to-switch-to.
9604 Correspondingly update all callers of the functions listed
9606 (display-buffer-alist, display-buffer-normalize-arguments)
9607 (display-buffer-normalize-options, display-buffer)
9608 (display-buffer-alist-set): Use "function" instead of
9611 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9613 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9614 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9615 debbugs.gnu.org. Mention acknowledgment email.
9617 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9619 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9620 buffer multibyteness, since it shouldn't matter.
9622 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9624 * window.el (display-buffer-in-side-window): Handle dedicated
9625 windows as in display-buffer-reuse-window.
9626 (display-buffer-normalize-alist): Use value of override
9628 (display-buffer-normalize-specifiers): Use value of
9629 other-window-means-other-frame specifier.
9630 (display-buffer-alist): Rewrite some texts in widgets.
9631 (display-buffer): Spread arguments when calling function
9632 specified by fun-with-args.
9634 2011-06-28 Deniz Dogan <deniz@dogan.se>
9636 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9639 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9640 selectors (Bug#5732).
9641 (css-proprietary-nmstart-re): Use `regexp-opt'.
9643 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9645 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9646 (eshell-ls-date-format): New defcustom.
9647 (eshell-ls-file): Use it.
9649 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9651 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9653 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9655 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9656 (ange-ftp-make-tmp-name): New arg.
9657 (ange-ftp-file-local-copy): Use it.
9659 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9661 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9662 no-conversion (Bug#8870).
9664 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9666 * window.el (window-right, window-left, window-child)
9667 (window-child-count, window-last-child)
9668 (window-iso-combination-p, walk-window-tree-1)
9669 (window-atom-check-1, window-tree-1, delete-window)
9670 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9671 new naming conventions - window-vchild, window-hchild,
9672 window-next and window-prev are now called window-top-child,
9673 window-left-child, window-next-sibling and window-prev-sibling
9675 (resize-window-reset): Rename to window-resize-reset.
9676 (resize-window-reset-1): Rename to window-resize-reset-1.
9677 (resize-window): Rename to window-resize.
9678 (window-min-height, window-min-width)
9679 (resize-mini-window, resize-this-window, resize-root-window)
9680 (resize-root-window-vertically, adjust-window-trailing-edge)
9681 (enlarge-window, shrink-window, maximize-window)
9682 (minimize-window, delete-window, quit-restore-window)
9683 (split-window, balance-windows, balance-windows-area-adjust)
9684 (balance-windows-area, window-state-put-2)
9685 (display-buffer-even-window-sizes, display-buffer-set-height)
9686 (display-buffer-set-width, set-window-text-height)
9687 (fit-window-to-buffer): Rename all "resize-window" prefixed
9688 calls to use the "window-resize" prefix convention.
9689 (display-buffer-alist): Fix symbol for label specifier.
9690 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9691 corresponding specifier.
9692 Reported by Juanma Barranquero <lekktu@gmail.com>.
9694 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9696 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9698 (ses-call-printer): Does not pass an empty string to formatter when the
9699 cell is empty to keep from barking printer Calc math-format-value.
9701 2011-06-27 Richard Stallman <rms@gnu.org>
9703 * battery.el (battery-mode-line-limit): New variable.
9704 (battery-update): Handle it.
9706 * mail/rmailmm.el (rmail-mime-process-multipart):
9707 Handle truncated messages.
9709 2011-06-27 Glenn Morris <rgm@gnu.org>
9711 * progmodes/flymake.el (flymake-err-line-patterns):
9712 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9714 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9716 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9717 (ses--clean-!, ses--clean-_): New functions.
9718 (ses-range): Add configurability of readout order, and conversion
9721 * ses.el (ses-repair-cell-reference-all): New function.
9722 (ses-cell-symbol): Set macro as safe, so that it can be used in
9725 * ses.el: Update cycle detection algorithm.
9726 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9727 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9728 (ses-set-localvars): New function.
9729 (ses-make-cell): Add property-list as a cell element.
9730 (ses-cell-property-get-fun, ses-cell-property-get)
9731 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9732 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9734 (ses-cell-property-set, ses-cell-property-pop)
9735 (ses-cell-property-get-handle): New macro.
9736 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9737 New aliases, used for code readability.
9738 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9740 (ses-self-reference-early-detection): New defcustom.
9741 (ses-formula-references): Robustify against self-referring cells.
9742 (ses-mode): Use ses-set-localvars.
9743 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9744 before lauching the update processing.
9745 (ses-initialize-Dijkstra-attempt): New function.
9746 (ses-recalculate-cell): Update for cycle detection based on
9749 * ses.el: Fix commenting and indenting convention.
9751 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9753 * bs.el (bs-cycle-next): Complete last change.
9755 2011-06-27 Drew Adams <drew.adams@oracle.com>
9757 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9759 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9761 * net/network-stream.el (network-stream-open-starttls):
9762 Don't re-get capabilities unless we've reestablished connection.
9763 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9765 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9766 to binary to possibly avoid line encoding issues on Windows (among
9769 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9771 * net/network-stream.el (open-network-stream): Return an :error
9772 saying what the problem was, if possible.
9774 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9777 * net/network-stream.el (network-stream-open-starttls): If we
9778 wanted to use STARTTLS, and the server offered it, but we weren't
9779 able to because we had no STARTTLS support, then close the connection.
9780 (open-network-stream): Return an :error element, if present.
9782 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9784 * hl-line.el (hl-line-sticky-flag): Doc fix.
9785 (global-hl-line-sticky-flag): New option (Bug#8323).
9786 (global-hl-line-highlight): Obey it.
9788 * vc/vc.el (vc-revert-show-diff): Default to t.
9790 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9792 * allout-widgets.el (allout-widgets-post-command-business):
9793 Stop decorating intermediate isearch matches. They're not being
9794 undecorated when an isearch is continued past, and isearch
9795 automatically collapses them. This leads to "widget leaks", where
9796 decorated items accumulate in collapsed areas. Lines with lots of
9797 hidden widgets can slow down cursor travel, substantially.
9798 Too much complicated machinery would be needed to ensure undecoration,
9799 so we're doing without this nicety.
9801 (allout-widgets-tally-string): Don't try to do a hash-table-count
9802 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9803 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9804 *Messages* when allout-widgets-maintain-tally is t.
9806 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9808 * window.el (display-buffer-normalize-argument): Rename to
9809 display-buffer-normalize-arguments. Handle special meaning of
9810 LABEL argument. Respect special-display-function when popping up
9811 a new frame. Fix code searching for a window showing the buffer
9813 (display-buffer-normalize-specifiers):
9814 Call display-buffer-normalize-arguments.
9815 (display-buffer-in-window): Don't undedicate the window if its
9816 buffer remains the same.
9817 Reported by Drew Adams <drew.adams@oracle.com>.
9818 (display-buffer-alist): Add choice for same-window macro
9820 (display-buffer): Mention special meaning of LABEL argument in
9821 doc-string. Fix quoting. Don't pop up a new frame even as
9824 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9826 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9827 avoid deleting the current window in some cases (bug#8911).
9829 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9831 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9834 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9836 * net/network-stream.el (network-stream-open-starttls):
9837 Use built-in TLS support if `gnutls-available-p' is true.
9838 (network-stream-open-tls): Ditto.
9840 2011-06-26 Leo Liu <sdl.web@gmail.com>
9842 * register.el (registerv): New struct.
9843 (registerv-make): New function.
9844 (jump-to-register, describe-register-1, insert-register):
9845 Support the jump-func, print-func and insert-func slot of a registerv
9848 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9850 * vc/vc.el (vc-revert-show-diff): New defcustom.
9851 (vc-diff-internal): New arg specifying diff buffer.
9852 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9853 reuse an existing *vc-diff* buffer (Bug#8927).
9855 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9857 2011-06-26 Glenn Morris <rgm@gnu.org>
9859 * progmodes/f90.el (f90-critical-indent): New option.
9860 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9861 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9862 (f90-mode): Doc fix.
9863 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9864 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9865 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9866 (f90-match-end): Handle block, critical.
9868 2011-06-25 Glenn Morris <rgm@gnu.org>
9870 * calendar/diary-lib.el (diary-included-files): Doc fix.
9871 (diary-include-files): New function, extracted from
9872 diary-include-other-diary-files and diary-mark-included-diary-files.
9873 (diary-include-other-diary-files, diary-mark-included-diary-files):
9874 Just call diary-include-files.
9875 (diary-mark-entries): Reset diary-included-files on first call.
9877 * calendar/diary-lib.el (diary-mark-entries)
9878 (diary-mark-included-diary-files):
9879 Visit included diary-files in temp buffers.
9881 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9882 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9883 (f90-start-block-re, f90-imenu-generic-expression)
9884 (f90-looking-at-program-block-start, f90-no-block-limit):
9885 Add support for submodules.
9887 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9888 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9890 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9892 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9893 buffer-file-type before setting its value, to avoid disastrous
9894 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9896 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9898 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9900 * ses.el (ses-unload-function):
9901 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9903 * proced.el (proced-unload-function):
9904 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9906 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9908 * server.el (server-create-window-system-frame): Add parameters arg.
9909 (server-process-filter): Doc fix. Handle frame-parameters.
9911 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9913 Fix bug#8730, bug#8781.
9915 * loadhist.el (unload--set-major-mode): New function.
9916 (unload-feature): Use it.
9918 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9919 (python-unload-function): New function.
9921 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9923 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9925 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9927 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9928 the candidates list.
9930 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9932 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9934 2011-06-23 Richard Stallman <rms@gnu.org>
9936 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9937 (rmail-variables): Set next-error-move-function.
9938 (rmail-what-message): Take argument POS.
9939 (rmail-next-error-move): New function.
9941 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9943 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9944 messages for adjacent non-terminals.
9946 2011-06-23 Richard Stallman <rms@gnu.org>
9948 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9949 (rmail-show-message-1): Preserve buffer modified flag.
9950 (rmail-start-mail): Don't specify use of rmail-mail-return;
9951 that's done by mail-bury now.
9952 (rmail-mail-return): Handle arg NEWBUF.
9954 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9956 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9959 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9961 * window.el (get-lru-window, get-mru-window)
9962 (get-largest-window): Never return a minibuffer window.
9963 (display-buffer-pop-up-window): Fix a bug that could lead to
9964 reusing the minibuffer window.
9965 (display-buffer): Pass original specifier argument to
9966 display-buffer-function instead of the normalized one.
9967 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9969 2011-06-22 Leo Liu <sdl.web@gmail.com>
9971 * minibuffer.el (completing-read-function)
9972 (completing-read-default): Move from minibuf.c
9974 2011-06-22 Richard Stallman <rms@gnu.org>
9976 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9977 to Rmail even if not started by a special Rmail command.
9979 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9980 Copy the buffer currently showing just one message.
9982 2011-06-22 Roland Winkler <winkler@gnu.org>
9984 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9985 (bibtex-clean-entry): First delete the old key so that a
9986 customized algorithm for generating the new key does not get
9987 confused by the old key.
9988 (bibtex-url): Obey regexp of first step.
9989 (bibtex-search-entries): Do not use add-to-list with local
9992 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9994 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9995 stored a user name, then query for the password first, instead of
9996 waiting for SMTP to give an error message and the trying again.
9998 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10000 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10001 BUFFER in call-process.
10003 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10005 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10007 (smtpmail-try-auth-methods): Require user name and password from
10010 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10012 * window.el (display-buffer-default-specifiers)
10013 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10014 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10015 (split-window): Normalize SIDE argument (Bug#8916).
10017 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10018 (special-display-frame-alist, special-display-popup-frame):
10019 Remove duplicate declarations. These are now in window.el.
10021 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10023 * mail/smtpmail.el (smtpmail-via-smtp):
10024 Set :use-starttls-if-possible so that we always use STARTTLS if the
10025 server supports it. SMTP servers that support STARTTLS commonly
10028 * net/network-stream.el (network-stream-open-starttls): Support
10029 upgrading to STARTTLS always, even if we don't have built-in support.
10030 (open-network-stream): Add the :always-query-capabilities keyword.
10032 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10033 upgrades with `open-network-stream', and rely solely on
10034 auth-source for all credentials. Big changes throughout the file,
10036 (smtpmail-auth-credentials): Remove.
10037 (smtpmail-starttls-credentials): Remove.
10038 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10041 * net/network-stream.el (network-stream-open-starttls):
10042 Provide support for client certificates both for external and built-in
10044 (auth-source): Require.
10045 (open-network-stream): Document the :client-certificate keyword.
10046 (network-stream-certificate): Change cert-cert to cert and
10049 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10051 * net/tramp-cache.el (top): Don't load the persistency file when
10052 "emacs -Q" has been called.
10054 2011-06-21 Tim Harper <timcharper@gmail.com>
10056 * term/ns-win.el (ns-initialize-window-system):
10057 Set application-specific `ApplePressAndHoldEnabled' system
10058 resource to NO as it is not yet supported by the NS port.
10060 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10062 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10063 (list-dynamic-libraries): ...not here.
10065 2011-06-21 Leo Liu <sdl.web@gmail.com>
10067 * subr.el (sha1): Implement sha1 using secure-hash.
10069 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10071 * window.el (display-buffer-alist): In default value do not
10072 enforce searching a window on any but the selected frame.
10073 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10074 (display-buffer-select-window): Remove function.
10075 (display-buffer-in-window): When a window on another frame gets
10076 reused, do not select it any more but just raise its frame if
10077 necessary (Bug#8851) and (Bug#8856).
10078 (display-buffer-normalize-options): Handle pop-up-frames related
10079 options more faithfully.
10080 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10081 window if it is on another frame.
10082 (display-buffer-alist, display-buffer-default-specifiers):
10083 Don't make new frame unsplittable by default.
10084 (display-buffer-normalize-argument): Fix doc-string typo and use
10085 'same-frame-other-window instead of 'other-window when associating
10086 with display-buffer-macro-specifiers.
10088 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10090 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10092 (5x5-mode-map, 5x5-mode-menu): Bind them.
10093 (5x5-draw-grid): Tweak the solver's rendering.
10095 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10097 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10098 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10100 2011-06-21 Drew Adams <drew.adams@oracle.com>
10102 * menu-bar.el: Use function variable instead of switch-to-buffer.
10103 (menu-bar-select-buffer-function): New variable.
10104 (menu-bar-update-buffers): Use it (bug#8876).
10106 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10108 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10111 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10113 * x-dnd.el (x-dnd-version-from-flags)
10114 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10115 and long as number (Bug#8899).
10116 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10118 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10120 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10121 (completion-try-completion, completion-all-completions): Compute the
10122 metadata argument if it's missing; make it optional (bug#8795).
10124 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10125 (widget-complete): Use new :completion-function property.
10126 (widget-completions-at-point): New function.
10127 (default): Use :completion-function instead of :complete.
10128 (widget-default-completions): Rename from widget-default-complete;
10130 (widget-string-complete, widget-file-complete, widget-color-complete):
10132 (file, symbol, function, variable, coding-system, color):
10133 * international/mule-cmds.el (default-input-method, charset)
10134 (language-info-custom-alist):
10135 * cus-edit.el (face): Use new property :completions.
10137 * progmodes/pascal.el (pascal-completions-at-point): New function.
10138 (pascal-mode): Use it.
10139 (pascal-mode-map): Use completion-at-point.
10140 (pascal-toggle-completions): Make obsolete.
10141 (pascal-complete-word, pascal-show-completions):
10142 * progmodes/octave-mod.el (octave-complete-symbol):
10143 Redefine as obsolete alias.
10144 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10145 Signal absence of completion info for old Octave,
10146 (inferior-octave-complete): Redefine as obsolete alias.
10147 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10148 (meta-completions-at-point): Rename from meta-complete-symbol and
10149 adapt it for use on completion-at-point-functions.
10150 (meta-common-mode): Use it.
10151 (meta-looking-at-backward, meta-match-buffer): Remove.
10152 (meta-complete-symbol): Redefine as obsolete alias.
10153 (meta-common-mode-map): Use completion-at-point.
10154 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10155 (makefile-mode-map): Use completion-at-point.
10156 (makefile-completions-at-point): Rename from makefile-complete and
10157 adapt it for use on completion-at-point-functions.
10158 (makefile-mode): Use it.
10159 (makefile-complete): Redefine as obsolete alias.
10161 2011-06-20 Deniz Dogan <deniz@dogan.se>
10163 * net/rcirc.el: Delete trailing whitespaces once and for all.
10165 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10167 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10169 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10171 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10173 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10175 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10177 * window.el (display-buffer-other-window-means-other-frame):
10178 Call display-buffer-normalize-alist.
10179 (display-buffer-normalize-specifiers-1): Rename to
10180 display-buffer-normalize-argument. New argument other-frame.
10182 (display-buffer-normalize-specifiers-2): Rename to
10183 display-buffer-normalize-options.
10184 (display-buffer-normalize-alist-1): New function.
10185 (display-buffer-normalize-specifiers-3): Rename to
10186 display-buffer-normalize-alist.
10187 Call display-buffer-normalize-alist-1.
10188 (display-buffer-normalize-options-inhibit): New variable.
10189 (display-buffer-normalize-specifiers): Rewrite calling
10190 display-buffer-normalize-alist,
10191 display-buffer-normalize-argument, and
10192 display-buffer-normalize-options. Don't call the latter if
10193 display-buffer-normalize-options-inhibit is non-nil.
10194 (frame-auto-delete): New option.
10195 (window-deletable-p): Use frame-auto-delete.
10196 (window-list-no-nils, window-state-ignored-parameters)
10197 (window-state-get-1, window-state-get, window-state-put-list)
10198 (window-state-put-1, window-state-put-2, window-state-put):
10200 (display-buffer-normalize-options): Move special-display-p group
10201 after pop-up-frame group (Bug#8851) and (Bug#8856).
10203 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10205 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10207 (rx-submatch-n): New function.
10210 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10213 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10215 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10217 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10218 anytime existing face settings are present (Bug#8889).
10220 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10221 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10222 Remove unused argument.
10224 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10226 * window.el (display-buffer-default-specifiers):
10227 Remove pop-up-frame. Add pop-up-window-min-height,
10228 pop-up-window-min-width, and another reuse-window specifier
10229 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10230 (display-buffer-normalize-specifiers-2):
10231 Handle split-height-threshold and split-width-threshold also when
10232 pop-up-windows is unset. Add a reuse-window specifier for the
10233 case popping up a new window fails.
10234 (special-display-popup-frame): Remove double quoting.
10235 (display-buffer-normalize-specifiers-1): Fix thinko.
10237 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10239 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10240 according to comint-completion-addsuffix.
10242 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10243 (pcomplete-suffix-list): Mark as obsolete.
10244 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10245 pcomplete-seen in the closure.
10246 (pcomplete-comint-setup): Setup completion-at-point as well.
10247 (pcomplete--entries): New function.
10248 (pcomplete--env-regexp): New var.
10249 (pcomplete-entries): Rewrite to work with partial-completion and
10250 without relying on pcomplete-suffix-list.
10251 (pcomplete-pare-list): Remove, unused.
10253 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10255 * window.el (display-buffer-alist): Set pop-up-window-min-height
10256 and pop-up-window-min-width in default value. Reported by
10257 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10258 other-window-means-other-frame.
10259 (display-buffer-macro-specifiers): Comment out entry for
10260 other-window specifier.
10261 (display-buffer-other-window-means-other-frame): New function.
10262 (display-buffer-normalize-specifiers-1): New arguments
10263 buffer-name and label. Treat other-window case specially.
10264 (display-buffer-normalize-specifiers-2): Treat other-window case
10266 (display-buffer-normalize-specifiers-3): New function.
10267 (display-buffer-normalize-specifiers):
10268 Call display-buffer-normalize-specifiers-3.
10270 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10272 * window.el (same-window-p): Fix two typos introduced when
10273 adding with-no-warnings.
10274 (display-buffer-normalize-specifiers-1): Don't check
10275 pop-up-frames for 'unset initialization.
10276 (display-buffer-normalize-specifiers-2): Major rewrite using
10277 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10278 (pop-up-frames, display-buffer-reuse-frames)
10279 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10280 Suggested by David Engster <deng@randomsample.de>.
10281 (even-window-heights): Initialize to 'unset.
10282 (display-buffer-alist-set): Handle new 'unset initializations.
10283 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10286 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10288 * window.el (display-buffer-normalize-specifiers-1):
10289 Respect current value of pop-up-frames for most reasonable values of
10290 second argument of display-buffer (Bug#8865).
10291 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10292 (switch-to-buffer-other-window-same-frame)
10293 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10295 (display-buffer): Don't check noninteractive when calling
10296 display-buffer-pop-up-frame.
10297 (display-buffer-pop-up-frame): Never pop up a frame in
10298 noninteractive mode (Bug#8857).
10299 (enlarge-window, shrink-window): Don't report an error when the
10300 window can't be resized as requested (Bug#8862).
10302 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10306 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10308 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10310 2011-06-15 Alan Mackenzie <acm@muc.de>
10312 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10313 for declarators, disable knr checking to speed up for normal files.
10314 2: Refactor, replacing a sequence of nested if forms by a cond form.
10316 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10318 * net/network-stream.el (open-network-stream): Add the keyword
10319 :always-query-capabilities for the case where you want to force a
10320 `plain' network connection, but the protocol still requires the
10321 capabilitiy command (i.e., SMTP and EHLO).
10323 * subr.el (process-live-p): Rename from `process-alive-p' for
10324 consistency with other `-live-p' functions.
10326 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10328 * window.el (same-window-buffer-names, same-window-regexps)
10329 (special-display-frame-alist, special-display-popup-frame)
10330 (special-display-function, special-display-buffer-names)
10331 (special-display-regexps, pop-up-frame-alist)
10332 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10333 (pop-up-windows, split-window-preferred-function)
10334 (split-height-threshold, split-width-threshold, even-window-heights)
10335 (display-buffer-mark-dedicated): Don't encourage the use of
10336 display-buffer-alist from Elisp code.
10338 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10340 * progmodes/python.el (python-mode): Derive from prog-mode.
10341 * progmodes/ps-mode.el (ps-mode):
10342 * progmodes/mixal-mode.el (mixal-mode):
10343 * progmodes/cfengine.el (cfengine-mode):
10344 * progmodes/ld-script.el (ld-script-mode): Likewise.
10346 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10348 * window.el (display-buffer-alist): Trim default value to avoid
10349 popping up a new frame (Bug#8857) or reusing an arbitrary window
10351 (display-buffer): Do not fall back on popping up a new frame in
10352 batch mode (Bug#8857).
10354 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10356 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10357 (custom-theme-summary): New function.
10358 (customize-themes): Use it.
10360 2011-06-13 Glenn Morris <rgm@gnu.org>
10362 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10364 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10366 * help.el (help-window): Remove variable.
10367 (help-window-point-marker, temp-buffer-max-height)
10368 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10369 (help-print-return-message): Don't set help-window.
10370 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10371 (help-window-setup-finish): Remove.
10372 (help-window-display-message, help-window-setup)
10373 (with-help-window): Major rewrite based on new
10374 display-buffer-window variable.
10376 * help-mode.el (help-mode-finish): Remove help-window related
10379 * view.el (view-exits-all-viewing-windows): Remove reference to
10380 view-return-to-alist in doc-string.
10381 (view-return-to-alist): Make obsolete.
10382 (view-buffer): Call pop-to-buffer-same-window and remove
10384 (view-buffer-other-window): Call pop-to-buffer-other-window and
10385 simplify code. Ignore second argument.
10386 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10387 simplify code. Ignore second argument.
10388 (view-return-to-alist-update): Make obsolete.
10389 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10390 Rewrite using quit-restore window parameters.
10391 (view-mode-exit): Rename second argument to EXIT-ONLY.
10392 Rewrite using quit-restore-window.
10393 (View-exit, View-exit-and-edit, View-leave, View-quit)
10394 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10395 appropriate arguments.
10396 (view-end-message): Use quit-restore window parameter.
10398 * window.el (display-buffer-function): Rewrite doc-string.
10399 (display-buffer-window, display-buffer-alist): New variables.
10400 (display-buffer-split-specifiers)
10401 (display-buffer-side-specifiers)
10402 (display-buffer-macro-specifiers): New constants.
10403 (display-buffer-even-window-sizes, display-buffer-set-height)
10404 (display-buffer-set-width, display-buffer-select-window)
10405 (display-buffer-in-window, display-buffer-reuse-window)
10406 (display-buffer-split-window-1, display-buffer-split-window)
10407 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10408 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10409 (display-buffer-in-side-window, normalize-buffer-to-display)
10410 (display-buffer-normalize-specifiers-1)
10411 (display-buffer-normalize-specifiers-2)
10412 (display-buffer-normalize-specifiers, display-buffer-frame):
10414 (display-buffer): Major rewrite.
10415 (display-buffer-other-window, display-buffer-other-frame)
10416 (pop-to-buffer, switch-to-buffer-other-window)
10417 (switch-to-buffer-other-frame): Rewrite.
10418 (display-buffer-same-window, display-buffer-same-frame)
10419 (display-buffer-same-frame-other-window)
10420 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10421 (pop-to-buffer-other-window)
10422 (pop-to-buffer-same-frame-other-window)
10423 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10424 (switch-to-buffer-other-window-same-frame): New functions.
10425 (same-window-p, special-display-p): Rewrite disabling warnings.
10427 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10428 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10430 (same-window-buffer-names, same-window-regexps)
10431 (special-display-frame-alist, special-display-popup-frame)
10432 (special-display-function, special-display-buffer-names)
10433 (special-display-regexps, pop-up-frame-alist)
10434 (pop-up-frame-function, split-window-preferred-function)
10435 (split-height-threshold, split-width-threshold)
10436 (even-window-heights): Make obsolete.
10438 2011-06-12 Glenn Morris <rgm@gnu.org>
10440 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10441 Misc simplifications.
10443 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10445 * window.el (window-safely-shrinkable-p): Restore function which
10446 was inadvertently removed in change from 2011-06-11. Declare as
10449 * calendar/calendar.el (calendar-generate-window):
10450 Use window-iso-combined-p instead of combination of one-window-p and
10451 window-safely-shrinkable-p.
10453 2011-06-12 Glenn Morris <rgm@gnu.org>
10455 * progmodes/fortran.el (fortran-mode-syntax-table):
10456 * progmodes/f90.el (f90-mode-syntax-table):
10457 Set % to punctuation. (Bug#8820)
10458 (f90-find-tag-default): Remove, no longer needed.
10460 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10462 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10464 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10466 * image.el (image-animated-p): Return animation delay in seconds.
10467 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10468 (image-animate-timeout): Remove DELAY argument. Don't assume
10469 every subimage has the same delay; get it from image-animated-p.
10470 (image-animate): Caller changed.
10472 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10474 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10475 to ignored backtrace functions.
10477 2011-06-11 Glenn Morris <rgm@gnu.org>
10479 * calendar/appt.el (appt-disp-window-function): Doc fix.
10480 (appt-check): Handle overlapping appointments. (Bug#8337)
10482 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10484 * window.el (window-tree-1, window-tree): New functions, moving
10485 the latter to window.el.
10486 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10487 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10488 (bw-refresh-edges): Remove.
10489 (balance-windows-1, balance-windows-2): New functions.
10490 (balance-windows): Rewrite in terms of window tree functions,
10491 balance-windows-1 and balance-windows-2.
10492 (bw-adjust-window): Remove.
10493 (balance-windows-area-adjust): New function with functionality of
10494 bw-adjust-window but using resize-window.
10495 (set-window-text-height): Rewrite doc-string.
10496 Use normalize-live-window and resize-window.
10497 (enlarge-window-horizontally, shrink-window-horizontally):
10498 Rename argument to DELTA.
10499 (window-buffer-height): New function.
10500 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10501 Rewrite using new window resize routines.
10502 (kill-buffer-and-window, mouse-autoselect-window-select):
10503 Use ignore-errors instead of condition-case.
10504 (quit-window): Call delete-frame instead of delete-windows-on
10505 for the only buffer on frame.
10507 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10509 * loadup.el (top-level): Load window before files for the sake
10510 of replace-buffer-in-windows.
10512 * files.el (read-buffer-to-switch)
10513 (switch-to-buffer-other-window)
10514 (switch-to-buffer-other-frame, display-buffer-other-frame):
10517 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10518 (previous-buffer): Move to window.el.
10520 * bindings.el (unbury-buffer): Move to window.el.
10522 * window.el (delete-other-windows-vertically): Move after
10523 definition of delete-other-windows.
10524 (other-window, delete-windows-on, replace-buffer-in-windows):
10525 Move here from window.c.
10526 (record-window-buffer, unrecord-window-buffer)
10527 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10528 (switch-to-next-buffer): New functions.
10529 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10530 from simple.el. Call switch-to-next-buffer.
10531 (previous-buffer): Move here from simple.el.
10532 Call switch-to-prev-buffer.
10533 (bury-buffer): Move here from buffer.c. Switch to previous
10534 buffer when window cannot be deleted.
10535 (unbury-buffer): Move here from bindings.el.
10536 (ctl-x-map): Move binding for other-window from window.c to
10538 (read-buffer-to-switch, switch-to-buffer-other-window)
10539 (switch-to-buffer-other-frame): Move here from files.el.
10540 (normalize-buffer-to-switch-to): New functions.
10541 (switch-to-buffer): Move here from buffer.c.
10542 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10544 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10546 * window.el (window-min-height, window-min-width): Move here
10547 from window.c. Add defcustoms and rewrite doc-strings.
10548 (resize-mini-window, resize-window): New functions.
10549 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10550 Move here from window.c.
10551 (maximize-window, minimize-window): New functions.
10552 (delete-window, delete-other-windows, split-window): Move here
10554 (window-split-min-size): New function.
10555 (split-window-keep-point): Mention split-window-above-each-other
10556 instead of split-window-vertically.
10557 (split-window-above-each-other, split-window-vertically):
10558 Rename split-window-vertically to split-window-above-each-other
10559 and provide defalias for old definition.
10560 (split-window-side-by-side, split-window-horizontally):
10561 Rename split-window-horizontally to split-window-side-by-side
10562 and provide defalias for the old definition.
10563 (ctl-x-map): Move bindings for delete-window,
10564 delete-other-windows and enlarge-window here from window.c.
10565 Replace bindings for split-window-vertically and
10566 split-window-horizontally by bindings for
10567 split-window-above-each-other and split-window-side-by-side.
10569 * cus-start.el (all): Remove entries for window-min-height and
10570 window-min-width. Add entries for window-splits and
10573 2011-06-09 Glenn Morris <rgm@gnu.org>
10575 * calendar/appt.el (appt-mode-line): New function.
10576 (appt-check, appt-disp-window): Use it.
10578 * files.el (hack-one-local-variable-eval-safep):
10579 Allow minor-modes with explicit +/-1 arguments.
10581 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10583 * term/xterm.el (xterm): Add defgroup.
10584 (xterm-extra-capabilities): Add defcustom to supply known xterm
10585 capabilities, skip querying them, or query them (default).
10586 (terminal-init-xterm): Use it.
10587 (terminal-init-xterm-modify-other-keys): New function to set up
10588 modifyOtherKeys support to simplify `terminal-init-xterm'.
10590 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10592 * window.el (resize-window-reset, resize-window-reset-1)
10593 (resize-subwindows-skip-p, resize-subwindows-normal)
10594 (resize-subwindows, resize-other-windows, resize-this-window)
10595 (resize-root-window, resize-root-window-vertically)
10596 (window-deletable-p, window-or-subwindow-p)
10597 (frame-root-window-p): New functions.
10599 2011-06-09 Glenn Morris <rgm@gnu.org>
10601 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10602 (ange-ftp-get-files): Use it.
10604 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10606 * mail/sendmail.el (mail-recover-1, mail-recover):
10607 * files.el (recover-file, recover-session):
10608 Handle dired-listing-switches not being just a single short option.
10610 2011-06-09 Glenn Morris <rgm@gnu.org>
10612 * calendar/appt.el (appt-display-message, appt-disp-window):
10613 Handle lists of appointments.
10615 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10617 * window.el (one-window-p): Move down in code.
10618 Rewrite doc-string.
10619 (window-current-scroll-bars): Rewrite doc-string.
10620 Normalize live window argument.
10621 (walk-windows, get-window-with-predicate, count-windows):
10622 Rewrite doc-string. Use window-list-1.
10623 (window-in-direction-2, window-in-direction, get-mru-window):
10626 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10628 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10629 Doc fix (Bug#8713).
10631 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10633 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10635 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10637 * loadhist.el (unload-feature-special-hooks):
10638 Add `comint-output-filter-functions'.
10640 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10642 * calendar/appt.el (appt-check): Move some initializations into the let.
10644 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10646 * window.el (window-height): Defalias to window-total-height.
10647 (window-width): Defalias to window-body-width.
10649 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10651 * image-mode.el (image-toggle-animation): New command.
10652 (image-mode-map): Bind it to RET.
10653 (image-mode): Update message.
10654 (image-toggle-display-image): Avoid a spurious cache flush.
10655 (image-transform-rotation): Doc fix.
10656 (image-transform-properties): Return quickly in the normal case.
10657 (image-animate-loop): Rename from image-animate-max-time.
10659 * image.el (image-animate-max-time): Move to image-mode.el.
10660 (create-animated-image): Remove unnecessary function.
10661 (image-animate): Rename from image-animate-start. New arg.
10662 (image-animate-stop): Remove; just use image-animate-timer.
10663 (image-animate-timer): Use car-safe.
10664 (image-animate-timeout): Rename argument.
10666 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10668 * window.el (get-lru-window, get-largest-window): Move here from
10669 window.c. Rename first argument to ALL-FRAMES.
10670 Rephrase doc-strings.
10671 (get-buffer-window-list): Rewrite using window-list-1.
10672 Rephrase doc-string.
10673 (window-safe-min-height, window-safe-min-width): New constants.
10674 (window-size-ignore, window-min-size, window-min-size-1)
10675 (window-sizable, window-sizable-p, window-size-fixed-1)
10676 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10677 (window-max-delta-1, window-max-delta, window-resizable)
10678 (window-resizable-p, window-total-height, window-total-width)
10679 (window-body-width): New functions.
10680 (window-full-height-p, window-full-width-p): Rewrite using
10682 (window-body-height): Rewrite using window-body-size.
10684 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10686 * window.el (window-right, window-left, window-child)
10687 (window-child-count, window-last-child, window-any-p)
10688 (normalize-live-buffer, normalize-live-frame)
10689 (normalize-any-window, normalize-live-window)
10690 (window-iso-combination-p, window-iso-combined-p)
10691 (window-iso-combinations)
10692 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10693 (windows-with-parameter, window-with-parameter)
10694 (window-atom-root, make-window-atom, window-atom-check-1)
10695 (window-atom-check, window-side-check, window-check):
10697 (ignore-window-parameters, window-sides, window-sides-vertical)
10698 (window-sides-slots): New variables.
10699 (window-size-fixed): Move down in code. Minor doc-string fix.
10701 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10703 * comint.el (comint-dynamic-complete-as-filename)
10704 (comint-dynamic-complete-filename): Correctly call
10705 completion-in-region.
10707 2011-06-05 Deniz Dogan <deniz@dogan.se>
10709 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10712 2011-06-05 Deniz Dogan <deniz@dogan.se>
10714 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10715 (rcirc): Use it to prompt for encryption.
10717 2011-06-05 Roland Winkler <winkler@gnu.org>
10719 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10720 (bibtex-search-entries): New command bound to C-c C-a.
10721 (bibtex-display-entries): New function.
10723 2011-06-05 Roland Winkler <winkler@gnu.org>
10725 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10726 (bibtex-insert-kill): After yanking insert newline if necessary.
10727 (bibtex-initialize): Call bibtex-string-files-init only once.
10728 (bibtex-mode): Do not call easy-menu-add.
10729 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10730 (bibtex-yank): Set arg properly if nil.
10732 2011-06-05 Roland Winkler <winkler@gnu.org>
10734 * textmodes/bibtex.el (bibtex-search-entry-globally):
10736 (bibtex-search-entry): Use it.
10738 2011-06-05 Roland Winkler <winkler@gnu.org>
10740 * textmodes/bibtex.el (bibtex-entry-format): New option
10742 (bibtex-format-entry, bibtex-reformat): Honor this option.
10743 (bibtex-parse-entry): Return fields in proper order.
10745 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10747 * doc-view.el (doc-view-remove-if): Move computation of result out
10748 of `dolist' to silence misleading lexical-binding warning.
10750 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10752 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10753 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10755 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10757 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10760 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10762 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10763 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10764 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10765 (tramp-parse-putty):
10766 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10767 (tramp-completion-function-alist-ssh)
10768 (tramp-completion-function-alist-telnet)
10769 (tramp-completion-function-alist-su)
10770 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10773 * net/tramp-ftp.el:
10775 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10776 load "tramp.el" `tramp-set-completion-function'.
10778 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10780 * shell.el: Require and use pcomplete.
10781 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10782 (shell-completion-vars): Set pcomplete-default-completion-function.
10784 2011-06-04 Deniz Dogan <deniz@dogan.se>
10786 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10789 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10791 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10793 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10795 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10796 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10797 * vc/log-view.el (log-view-beginning-of-defun):
10798 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10799 (smerge-refine-forward, smerge-refine-chopup-region):
10800 Silence warning for unused `dotimes' counter variables.
10802 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10804 * net/tramp.el (tramp-with-progress-reporter): Rename from
10805 with-progress-reporter. Use `declare'.
10806 * net/tramp-smb.el:
10808 * net/tramp-gvfs.el: Update all uses.
10810 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10812 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10813 buffer isn't killed before making it current.
10815 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10817 Silence various byte-compiler warnings.
10818 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10819 `access-type' and new obsolescence format.
10820 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10822 (byte-compile-check-variable): New `access-type' argument.
10823 Only warn if the access-type is obsolete.
10824 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10825 (byte-compile-variable-set): Adjust callers.
10826 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10827 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10828 setting it as obsolete.
10829 * simple.el (minibuffer-completing-symbol):
10830 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10831 access as obsolete.
10832 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10834 * international/quail.el (quail-mouse-choose-completion): Remove unused
10835 code referring to obsolete var.
10836 (quail-choose-completion-string): Remove.
10837 * server.el (server-clients-with, server-kill-buffer-query-function)
10838 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10839 * proced.el (proced-send-signal):
10840 * emacs-lisp/lisp.el (lisp-complete-symbol):
10841 Replace completion-annotate-function with completion-extra-properties.
10843 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10845 * simple.el (goto-line): Use read-number.
10846 (overriding-map-is-bound): Remove.
10847 (saved-overriding-map): Change default.
10848 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10849 Take the map as argument.
10850 (universal-argument, negative-argument, digit-argument): Use it.
10851 (restore-overriding-map): Adjust.
10852 (do-auto-fill): Use fill-forward-paragraph.
10853 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10855 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10856 (minibuffer-inactive-mode): New major mode.
10857 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10858 the *Messages* buffer" hack.
10859 (mouse-popup-menubar): Don't burp if the event is a normal key.
10861 Miscellaneous tweaks.
10862 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10863 lexical scoping as in subr.el's dolist and dotimes.
10864 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10865 Silence compiler warning.
10866 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10867 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10868 * international/ccl.el (ccl-compile): Trivial simplification.
10869 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10870 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10871 `printflag' argument.
10872 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10873 Purecopy the whole obsolescence data.
10875 2011-06-01 Leo Liu <sdl.web@gmail.com>
10877 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10878 improve doc-string as suggested by Marco Pessotto
10879 <melmothx@gmail.com>.
10880 (rcirc-print): Fix last change.
10882 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10884 * minibuffer.el (complete-with-action): Return nil for the metadata and
10885 boundaries of non-functional tables.
10886 (completion-table-dynamic): Return nil for the metadata.
10887 (completion-table-with-terminator): Add default case, using
10888 complete-with-action.
10889 (completion--metadata): New function.
10890 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10891 to try and avoid pathological performance problems.
10892 (completion--embedded-envvar-table): Return `category' metadata.
10894 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10896 * subr.el (process-alive-p): New tiny convenience function.
10898 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10900 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10901 content but also its previous major mode.
10903 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10905 * emacs-lisp/debug.el (debug): Restore the previous content of the
10906 *Backtrace* buffer when we exit with C-M-c.
10908 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10910 * minibuffer.el: Add metadata method to completion tables.
10911 (completion-category-overrides): New defcustom.
10912 (completion-metadata, completion--field-metadata)
10913 (completion-metadata-get, completion--styles)
10914 (completion--cycle-threshold): New functions.
10915 (completion-try-completion, completion-all-completions):
10916 Add `metadata' argument to choose completion-styles.
10917 (completion--do-completion): Use metadata to choose cycling.
10918 (completion-all-sorted-completions): Use metadata for sorting.
10919 Remove :completion-cycle-penalty which is not needed any more.
10920 (completion--try-word-completion): Add `metadata' argument.
10921 (minibuffer-completion-help): Check metadata for annotation function
10923 (completion-file-name-table): Return `category' metadata.
10924 (minibuffer-completing-file-name): Make obsolete.
10925 * simple.el (minibuffer-completing-symbol): Make obsolete.
10926 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10927 completion-try-completion.
10929 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10931 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10933 2011-05-30 Leo Liu <sdl.web@gmail.com>
10935 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10936 (rcirc-print): Decode all incoming messages (bug#8744).
10937 (rcirc-decode-coding-system): Allow value nil for automatic coding
10940 2011-06-01 Glenn Morris <rgm@gnu.org>
10942 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10944 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10946 * image.el (image-animate-max-time): Allow nil and t values.
10948 (create-animated-image): Doc fix.
10949 (image-animate-start): Remove second arg; just use
10950 image-animate-max-time.
10951 (image-animate-timeout): Doc fix. Args changed.
10953 * image-mode.el (image-toggle-display-image): Ensure that the
10954 image spec passed to the animate timer is the same object as in
10955 the buffer's display property (Bug#6981).
10956 (image-transform-properties): Doc fix.
10958 * image.el (image-animate-max-time): Default to nil.
10960 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10962 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10963 entire buffer list (Bug#8184).
10965 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10967 * image.el (imagemagick-types-inhibit)
10968 (imagemagick-register-types): Doc fix.
10970 2011-05-29 Deniz Dogan <deniz@dogan.se>
10972 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10975 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10977 * select.el: Don't perform clipboard-manager saving in hooks;
10978 leave the hooks empty.
10980 2011-05-28 Leo Liu <sdl.web@gmail.com>
10982 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10983 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10984 (occur-edit-mode): New major mode (Bug#8463).
10985 (occur-after-change-function): New function.
10986 (occur-engine): Give Occur tags a read-only property.
10988 2011-05-28 Kevin Ryde <user42@zip.com.au>
10990 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10992 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10994 * bindings.el (help-echo): Make the initial non-indicator dash
10995 empty on graphical terminals (Bug#7295).
10997 * files.el (auto-mode-alist): Move config rule after the
10998 in-stripping one (Bug#8547).
11000 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11002 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11003 setting (Bug#8740).
11005 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11007 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11008 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11011 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11013 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11015 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11017 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11018 (hs-hide-block-at-point, hs-find-block-beginning)
11019 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11022 2011-05-28 Glenn Morris <rgm@gnu.org>
11024 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11026 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11028 * help-fns.el (describe-function-1): If the function is a derived
11029 major mode, print the parent mode.
11031 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11032 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11034 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11036 * minibuffer.el (completion--capf-wrapper): Check applicability before
11037 returning non-nil for non-exclusive completion data.
11038 * progmodes/etags.el (tags-completion-at-point-function):
11039 * info-look.el (info-lookup-completions-at-point): Mark as
11041 (info-complete): Adjust accordingly.
11043 * info-look.el: Convert to lexical-binding and completion-at-point.
11044 (info-lookup-completions-at-point): New function.
11045 (info-complete): Use it and completion-in-region.
11047 2011-05-28 Drew Adams <drew.adams@oracle.com>
11049 * isearch.el: Let M-e start with point at the first mismatched char.
11050 (isearch-fail-pos): New function.
11051 (isearch-edit-string): Use it.
11053 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11055 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11057 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11059 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11060 traversal functions for avl-trees.
11061 (avl-tree--stack): New struct.
11062 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11063 (avl-tree-enter): Add optional `updatefun' arg.
11064 (avl-tree--do-enter): Add optional `updatefun' arg.
11065 Change return value.
11066 (avl-tree-delete): Add optional `test' and `nilflag' args.
11067 (avl-tree--do-delete): Add `test' and `nilflag' args.
11068 Change return value.
11069 (avl-tree-member): Add optional `nilflag'
11070 (avl-tree-member-p): New function.
11071 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11072 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11073 (avl-tree-stack-empty-p): New functions.
11075 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11076 avl-tree--del-balance1 and make it work both ways.
11077 (avl-tree--del-balance2): Remove.
11078 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11079 make it work both ways.
11080 (avl-tree--enter-balance2): Remove.
11081 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11083 (avl-tree--mapc, avl-tree-map): Add direction argument.
11085 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11087 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11089 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11091 * select.el: Support clipboard managers with built-in function
11092 x-clipboard-manager-save, via delete-frame-functions and
11094 (xselect-convert-to-targets): Add MULTIPLE target to list.
11095 (xselect-convert-to-save-targets): New function.
11097 2011-05-27 Kenichi Handa <handa@m17n.org>
11099 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11100 let-binding rfc2047-encode-encoded-words to nil.
11102 2011-05-27 Glenn Morris <rgm@gnu.org>
11104 * mail/emacsbug.el: Don't require url-util.
11106 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11108 * files.el (set-auto-mode):
11109 Also respect mode: entries at the end of the file. (Bug#8586)
11111 2011-05-26 Glenn Morris <rgm@gnu.org>
11113 * files.el (hack-local-variables-prop-line, hack-local-variables):
11114 Downcase mode names, as seems to be traditional.
11115 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11117 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11118 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11120 2011-05-25 Julien Danjou <julien@danjou.info>
11122 * textmodes/rst.el (rst-define-level-faces): Do not define face
11123 symbol if it is already defined.
11125 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11127 * play/5x5.el (5x5-new-game, 5x5-randomize):
11128 Reset 5x5-solver-output to nil when a new grid is cast.
11129 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11130 these debugging traces, as defmacro breaks the compiled code.
11132 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11134 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11136 2011-05-24 Leo Liu <sdl.web@gmail.com>
11138 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11139 (vc-bzr-sha1): Adapt.
11141 * sha1.el: Remove. Function `sha1' is now builtin.
11143 * bindings.el: Provide sha1 feature.
11145 2011-05-24 Kenichi Handa <handa@m17n.org>
11147 * mail/sendmail.el: Require `rfc2047'.
11148 (mail-insert-from-field): Do not perform RFC2047 encoding.
11149 (mail-encode-header): New function.
11150 (sendmail-send-it): Set buffer-file-coding-system of the work
11151 buffer to the return value of select-message-coding-system.
11152 Call mail-encode-header.
11154 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11156 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11158 * mail/supercite.el (sc-default-cite-frame):
11159 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11161 2011-05-24 Glenn Morris <rgm@gnu.org>
11163 * progmodes/python.el (brm-menu): Declare.
11165 * emulation/viper.el (viper-set-hooks): Declare.
11167 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11168 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11169 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11170 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11171 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11172 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11174 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11176 Add an :exit-function for completion-at-point.
11178 * minibuffer.el (completion--done): New fun.
11179 (completion--do-completion): Use it. New arg `expect-exact'.
11180 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11181 since completion--do-completion does it for us now.
11182 (minibuffer-force-complete): Use completion--done and
11183 completion--replace. Handle sole-completion case with more care.
11184 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11185 (completion-extra-properties): New var.
11186 (completion-annotate-function): Make obsolete.
11187 (minibuffer-completion-help): Adjust accordingly.
11188 Use completion-list-insert-choice-function.
11189 (completion-at-point, completion-help-at-point):
11190 Bind completion-extra-properties.
11191 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11192 * simple.el (completion-list-insert-choice-function): New var.
11193 (completion-setup-function): Preserve it.
11194 (choose-completion): Pay attention to it, shuffle the code a bit.
11195 (choose-completion-string): New arg `insert-function'.
11197 * textmodes/bibtex.el: Convert to lexical binding.
11198 (bibtex-mode-map): Use completion-at-point.
11199 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11200 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11201 (bibtex-complete): Define as obsolete alias.
11202 (bibtex-complete-internal): Remove.
11203 (bibtex-format-entry): Remove unused sub-group in regexp.
11204 * shell.el (shell--command-completion-data)
11205 (shell-environment-variable-completion):
11206 * pcomplete.el (pcomplete-completions-at-point):
11207 * comint.el (comint--complete-file-name-data): Use :exit-function
11208 instead of completion-table-with-terminator so it also works for
11211 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11213 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11215 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11218 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11220 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11222 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11223 customization variable and implement: If non-nil, auto-fill will
11224 be inhibited while on topic's header line.
11226 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11228 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11229 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11230 always have a solution in grid size = 5 cases.
11231 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11232 (5x5-solver-output, 5x5-log-buffer): New vars.
11233 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11234 Make these variables buffer local to achieve 5x5 multi-session-ness.
11235 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11236 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11237 (5x5-solve-suggest): New funs.
11238 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11239 randomize a grid so that we ensure that there is always a solution.
11240 (5x5-make-random-grid): Allow other movement than flipping.
11242 2011-05-23 Kevin Ryde <user42@zip.com.au>
11244 * emacs-lisp/advice.el (ad-read-advised-function):
11245 Use `function-called-at-point' as the default, if it has
11246 advice and passes PREDICATE.
11248 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11250 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11251 byte-compile-lambda if it's actually a lambda.
11253 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11254 Fix function quoting. Use backquote better.
11256 2011-05-22 Yuanle Song <sylecn@gmail.com>
11258 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11259 matching (Bug#8516).
11261 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11263 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11264 different face (Bug#8178).
11266 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11268 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11269 defface (Bug#8144).
11271 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11273 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11274 funcall as well (bug#8712). Warn when performing those conversions.
11275 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11277 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11279 2011-05-22 Glenn Morris <rgm@gnu.org>
11281 * files.el (hack-local-variables-prop-line): Small simplifications.
11282 (hack-local-variables, hack-local-variables-prop-line):
11283 If MODE-ONLY, return the mode, rather than just `t'.
11285 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11287 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11289 2011-05-21 Glenn Morris <rgm@gnu.org>
11291 * files.el (hack-local-variables-prop-line, hack-local-variables):
11292 If only interested in the mode, don't bother doing the other stuff.
11294 * image-mode.el (image-after-revert-hook):
11295 Redraw all frames on which the image is visible. (Bug#8567)
11297 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11299 * wid-edit.el (widget-checklist-match-inline):
11300 Fix 2011-04-19 change. (Bug#8649)
11302 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11304 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11305 Also allow singlespace after single-letter capitals followed by a dot.
11307 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11308 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11310 2011-05-20 Nix <nix@esperi.org.uk>
11312 * files.el (basic-save-buffer-2):
11313 Fix handling of break-hardlink-on-save with non-existent files.
11315 2011-05-19 Deniz Dogan <deniz@dogan.se>
11317 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11318 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11320 2011-05-19 Glenn Morris <rgm@gnu.org>
11322 * progmodes/f90.el (f90-type-def-re):
11323 Handle "type, bind(c)". (Bug#8691)
11325 * emacs-lisp/autoload.el (batch-update-autoloads):
11326 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11328 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11330 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11331 property for the correct connection in case of multihops.
11333 2011-05-18 Glenn Morris <rgm@gnu.org>
11335 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11336 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11338 Rationalize calendar handling of day and month abbrev-arrays.
11339 * calendar/calendar.el (calendar-customized-p): New function.
11340 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11341 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11343 (calendar-abbrev-length, calendar-day-abbrev-array)
11344 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11345 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11346 Elements may no longer be nil.
11347 (calendar-day-name, calendar-month-name):
11348 Update for changed nature of abbrev arrays.
11349 * calendar/diary-lib.el (diary-name-pattern):
11350 Update for changed nature of abbrev arrays.
11351 (diary-mark-entries-1): Update calendar-make-alist calls.
11352 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11353 * calendar/cal-html.el (cal-html-day-abbrev-array):
11354 Simply inherit from calendar-day-abbrev-array.
11356 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11358 * progmodes/grep.el (grep-mode): Disable default
11359 compilation-directory-matcher setting (bug#8684).
11361 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11363 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11364 instead of "head" and "tail". There were problems with SunOS 5.9,
11365 and it performs better.
11367 2011-05-17 Glenn Morris <rgm@gnu.org>
11369 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11371 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11372 Replace obsolete function.
11374 * shell.el (pcomplete-parse-arguments-function): Declare.
11376 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11377 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11378 (appt-check): Doc fixes.
11379 (appt-disp-window-function, appt-delete-window-function):
11380 Remove needless special case in custom :type.
11381 (appt-display-count): Default to 0, not nil.
11382 (appt-check): Reset appt-display-count to 0, not nil.
11384 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11386 * progmodes/python.el (python-font-lock-keywords):
11387 Add the Python 3.X keyword "nonlocal" (bug#8639).
11389 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11391 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11393 2011-05-16 Kevin Ryde <user42@zip.com.au>
11395 * info-look.el (makefile-automake-mode): New setups, looking in
11396 automake manual, then makefile-mode.
11397 (makefile-mode): Remove automake manual, have it just in
11398 makefile-automake-mode since there's various things different or
11399 not relevant to plain make.
11400 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11401 believe a hypothetical automake-mode would go to makefile-mode,
11402 not the other way around.
11404 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11406 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11407 hunk-end tags (Bug#8672).
11409 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11410 vc-annotate-show-diff-revision-at-line (Bug#8671).
11412 2011-05-14 Glenn Morris <rgm@gnu.org>
11414 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11415 in the middle of an existing one with multiple authors. (Bug#8645)
11416 (change-log-font-lock-keywords): Also handle multiple author lines
11417 with leading tabs. (Bug#8644)
11419 * calendar/appt.el (appt-check): Rename some local variables.
11420 Some simplification/reordering.
11422 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11423 (feedmail-sendmail-f-doesnt-sell-me-out)
11424 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11425 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11426 (feedmail-queue-runner-message-sender): Set :version.
11427 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11428 (bbdb-dwim-net-address, vm-mail): Declare.
11429 (feedmail-binmail-gnulinuxish-template):
11430 Rename from feedmail-binmail-linuxish-template.
11431 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11432 Use insert-buffer-substring.
11434 2011-05-14 Bill Carpenter <bill@carpenter.org>
11436 * mail/feedmail.el (feedmail-patch-level): Increase.
11437 (feedmail-debug): New custom group.
11438 (feedmail-confirm-outgoing-timeout)
11439 (feedmail-sendmail-f-doesnt-sell-me-out)
11440 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11441 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11442 (feedmail-sender-line, feedmail-from-line)
11443 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11444 (feedmail-spray-this-address)
11445 (feedmail-spray-address-fiddle-plex-list)
11446 (feedmail-queue-use-send-time-for-date)
11447 (feedmail-queue-use-send-time-for-message-id)
11448 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11449 (feedmail-buffer-eating-function):
11451 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11452 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11453 (feedmail-message-action-scroll-down): New functions.
11454 (feedmail-queue-directory, feedmail-queue-draft-directory):
11455 Use expand-file-name.
11456 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11457 Remove C-v help entry.
11458 (feedmail-queue-buffer-file-name): New variable.
11459 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11460 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11461 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11462 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11463 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11464 (feedmail-message-action-toggle-spray)
11465 (feedmail-run-the-queue-no-prompts)
11466 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11467 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11468 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11469 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11470 (feedmail-envelope-deducer, feedmail-fiddle-from)
11471 (feedmail-fiddle-sender, feedmail-default-date-generator)
11472 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11473 (feedmail-fiddle-spray-address)
11474 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11475 (feedmail-fiddle-list-of-fiddle-plexes)
11476 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11477 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11478 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11479 Change default. Doc fix.
11480 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11481 (feedmail-binmail-linuxish-template): New constant.
11482 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11483 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11484 (feedmail-send-it): Add debug call.
11485 Use feedmail-queue-buffer-file-name, and
11486 feedmail-send-it-immediately-wrapper.
11487 (feedmail-message-action-send): Add debug call.
11488 Use feedmail-send-it-immediately-wrapper.
11489 (feedmail-queue-express-to-queue): Add debug call.
11490 Run feedmail-queue-express-hook.
11491 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11492 (feedmail-message-action-help-blat):
11493 Rename from feedmail-queue-send-edit-prompt-help-first.
11494 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11495 Check line-endings. Handle errors better.
11496 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11497 Doc fix. Add debug call.
11498 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11499 Use feedmail-queue-send-edit-prompt-inner.
11500 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11501 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11502 from feedmail-queue-send-edit-prompt.
11503 (feedmail-queue-send-edit-prompt-help)
11504 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11505 (feedmail-tidy-up-slug): Add debug call.
11506 Respect feedmail-queue-slug-suspect-regexp.
11507 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11508 (feedmail-dump-message-to-queue): Add debug call.
11509 Expand queue-directory.
11510 (feedmail-dump-message-to-queue): Change message slightly.
11511 Use feedmail-say-chatter.
11512 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11513 (feedmail-send-it-immediately-wrapper): New function.
11514 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11515 Insert empty string rather than newline. Handle full-frame case.
11516 Use catch/throw. Use feedmail-say-chatter.
11517 (feedmail-fiddle-from): Try mail-host-address.
11518 (feedmail-default-message-id-generator): Doc fix.
11519 Bind system-time-locale. Handle missing end.
11520 (feedmail-fiddle-x-mailer): Add debug call.
11521 Handle feedmail-x-mailer-line being nil.
11522 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11523 Add debug call. Use buffer-substring-no-properties.
11524 (feedmail-say-debug, feedmail-say-chatter): New functions.
11525 (feedmail-find-eoh): Give an explicit error.
11527 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11529 * net/newst-treeview.el (newsticker-treeview-face): Change default
11530 family from helvetica to sans.
11531 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11532 etc/images/newsticker.
11534 * net/newst-reader.el (newsticker-feed-face): Change default
11535 family from helvetica to sans.
11537 * net/newst-plainview.el (newsticker-new-item-face)
11538 (newsticker-old-item-face, newsticker-immortal-item-face)
11539 (newsticker-obsolete-item-face, newsticker-date-face)
11540 (newsticker-statistics-face): Change default family from
11542 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11543 etc/images/newsticker.
11545 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11546 (newsticker--process-auto-mark-filter-match): Tell user about
11549 2011-05-13 Didier Verna <didier@xemacs.org>
11551 Common Lisp indentation improvements on defmethod and lambda-lists.
11552 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11554 (lisp-lambda-list-keyword-parameter-indentation)
11555 (lisp-lambda-list-keyword-parameter-alignment)
11556 (lisp-lambda-list-keyword-alignment): New customizable user options.
11557 (lisp-indent-defun-method): Improve docstring.
11558 (extended-loop-p): Fix comment.
11559 (lisp-indent-lambda-list-keywords-regexp): New variable.
11560 (lisp-indent-lambda-list): New function.
11561 (lisp-indent-259): Use it.
11562 (lisp-indent-defmethod): Support for more than one
11563 method qualifier and properly indent methods lambda-lists.
11564 (defgeneric): Provide a missing common-lisp-indent-function property.
11566 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11568 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11569 bounds for the empty string (bug#8667).
11571 2011-05-13 Glenn Morris <rgm@gnu.org>
11573 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11575 * mail/sendmail.el (sendmail-program): Try executable-find first.
11576 (sendmail-send-it): `sendmail-program' cannot be unbound.
11578 * calendar/appt.el (appt-make-list): Simplify.
11579 (appt-time-msg-list): Doc fix.
11580 (appt-check): Change mode-line message at the time of the appointment.
11582 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11584 * progmodes/ld-script.el (ld-script-keywords)
11585 (ld-script-builtins): Update keywords list.
11587 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11589 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11591 * shell.el (shell-completion-vars): New function.
11593 * simple.el (read-shell-command): Use it.
11594 (blink-matching-open): No need for " [...]" in minibuffer-message.
11596 2011-05-12 Glenn Morris <rgm@gnu.org>
11598 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11599 (appt-check): Simplify.
11601 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11603 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11604 literal "/dev/null".
11606 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11608 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11611 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11613 * progmodes/which-func.el (which-function):
11614 Use add-log-current-defun instead of add-log-current-defun-function,
11615 which might not be defined (Bug#8260).
11617 2011-05-12 Glenn Morris <rgm@gnu.org>
11619 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11620 Let byte-compile-initial-macro-environment always take precedence.
11622 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11624 * net/rcirc.el: Add support for SSL/TLS connections.
11625 (rcirc-server-alist): New field `encryption'.
11626 (rcirc): Check `encryption' settings.
11627 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11628 Merge make-local-variable into `set'.
11629 (rcirc--connection-open-p): New function.
11630 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11631 the process is not a network process (e.g. running gnutls-cli).
11632 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11633 Make rcirc-(en|de)code-coding-system local here.
11634 (rcirc-mode): Merge make-local-variable into `set'.
11635 (rcirc-parent-buffer): Make permanent buffer-local.
11636 (rcirc-multiline-minor-mode): Don't do it here.
11637 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11638 there's no server buffer.
11640 2011-05-11 Glenn Morris <rgm@gnu.org>
11642 * newcomment.el (comment-kill): Prefix "unused" local.
11644 * term/w32console.el (get-screen-color): Declare.
11646 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11647 Handle symbol elements of byte-compile-initial-macro-environment.
11649 2011-05-10 Leo Liu <sdl.web@gmail.com>
11651 * bookmark.el (bookmark-bmenu-mode-map):
11652 Bind bookmark-bmenu-search to `/'.
11654 * mail/footnote.el: Convert to utf-8 encoding.
11655 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11656 (Footnote-unicode): New function.
11657 (footnote-style-alist): Add unicode style to the list.
11658 (footnote-style): Doc fix.
11660 2011-05-10 Jim Meyering <meyering@redhat.com>
11662 Fix doubled-word typos.
11663 * international/quail.el (quail-insert-kbd-layout): and and -> and
11664 * kermit.el: and and -> and
11665 * net/ldap.el (ldap-search-internal): to to -> to
11666 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11667 * progmodes/js.el (js-mode): and and -> and
11668 * textmodes/artist.el (artist-move-to-xy): at at -> at
11669 (artist-draw-region-trim-line-endings): if if -> if
11670 And Safetyc -> Safety.
11671 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11673 2011-05-10 Glenn Morris <rgm@gnu.org>
11674 Stefan Monnier <monnier@iro.umontreal.ca>
11676 * files.el (hack-one-local-variable-eval-safep):
11677 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11679 2011-05-10 Glenn Morris <rgm@gnu.org>
11681 * calendar/diary-lib.el (diary-list-entries-hook)
11682 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11683 (diary-nongregorian-marking-hook, diary-list-entries)
11684 (diary-include-other-diary-files, diary-mark-entries)
11685 (diary-mark-included-diary-files): Doc fixes.
11687 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11689 * misc.el: Require tabulated-list.el during compilation.
11691 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11693 * progmodes/compile.el (compilation-start):
11694 Run compilation-filter-hook for the async case too.
11695 (compilation-filter-hook): Doc fix.
11697 2011-05-09 Deniz Dogan <deniz@dogan.se>
11699 * wdired.el: Remove outdated installation comment. Fix usage
11702 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11704 * misc.el: Implement new command `list-dynamic-libraries'.
11705 (list-dynamic-libraries--loaded-only-p): New variable.
11706 (list-dynamic-libraries--refresh): New function.
11707 (list-dynamic-libraries): New command.
11709 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11711 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11712 Fix the ant regexp to handle end-line and end-column info from jikes.
11713 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11714 higher priority to avoid clobbering by gnu.
11716 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11718 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11719 if the face has existing theme settings (Bug#8454).
11721 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11723 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11724 Only match variables declared via `my' or `our' (Bug#8261).
11726 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11727 special file names `.' and `..' (Bug#8259).
11729 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11731 * progmodes/grep.el (grep-mode-font-lock-keywords):
11732 Remove buffer-changing entries.
11733 (grep-filter): New function.
11734 (grep-mode): Add it to compilation-filter-hook.
11736 * progmodes/compile.el (compilation-filter-hook)
11737 (compilation-filter-start): New defvars.
11738 (compilation-filter): Call compilation-filter-hook prior to
11739 updating the process mark.
11741 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11743 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11745 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11747 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11748 mailclient-send-it even if window-system is nil. (Bug#8595)
11750 * term/w32console.el (terminal-init-w32console):
11751 Call get-screen-color and use its output to set the frame
11752 background-mode. (Bug#8597)
11754 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11756 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11757 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11759 (defgeneric, eieio--defmethod): Use them.
11760 (eieio-defgeneric): Remove.
11761 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11763 2011-05-07 Glenn Morris <rgm@gnu.org>
11765 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11766 Use let rather than let*.
11767 (timeclock-find-discrep): Remove unused local.
11769 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11771 * calendar/appt.el (appt-time-msg-list): Doc fix.
11773 2011-05-06 Noah Friedman <friedman@splode.com>
11775 * apropos.el (apropos-print-doc): Only use
11776 emacs-lisp-docstring-fill-column when it is bound to an integer,
11777 per that variable's documentation.
11779 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11781 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11782 and warnings are not silently discarded (e.g. use -d instead of -P).
11784 2011-05-06 Glenn Morris <rgm@gnu.org>
11786 * calendar/appt.el (appt-message-warning-time): Doc fix.
11787 (appt-warning-time-regexp): New option.
11788 (appt-make-list): Respect appt-message-warning-time.
11790 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11792 (diary-add-to-list): Strip comments from the displayed string.
11793 (diary-mode): Set comment-start and comment-end.
11795 * vc/diff-mode.el (smerge-refine-subst): Declare.
11796 (diff-refine-hunk): Don't require smerge-mode when compiling.
11798 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11800 * simple.el (list-processes): Return nil as the docstring says.
11802 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11804 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11806 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11807 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11808 determining of binary transfer. (Bug#7383)
11810 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11812 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11813 Fix port computation bug. (Bug#8618)
11815 2011-05-05 Glenn Morris <rgm@gnu.org>
11817 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11819 * simple.el (shell-dynamic-complete-functions)
11820 (comint-dynamic-complete-functions): Declare.
11822 * net/network-stream.el (gnutls-negotiate):
11823 * simple.el (tabulated-list-print): Fix declarations.
11825 * progmodes/gud.el (syntax-symbol, syntax-point):
11826 Remove unnecessary and incorrect declarations.
11828 * emacs-lisp/check-declare.el (check-declare-scan):
11829 Handle byte-compile-initial-macro-environment in bytecomp.el
11831 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11833 Fix earlier half-done eieio-defmethod change (bug#8338).
11834 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11835 Streamline and change calling convention.
11836 (defmethod): Adjust accordingly and simplify.
11837 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11838 new eieio--defmethod.
11839 (slot-boundp): Minor CSE simplification.
11841 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11843 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11844 (glasses-make-readable): Use glasses-separate-capital-groups.
11846 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11848 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11849 (warning-series): Doc fix.
11850 (display-warning): Don't try to create the buffer if we just found it.
11852 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11854 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11855 (autoload-find-generated-file): New function.
11856 (generate-file-autoloads): Bind generated-autoload-file to
11858 (update-file-autoloads, update-directory-autoloads):
11859 Use autoload-find-generated-file. If called interactively, prompt for
11860 output file (Bug#7989).
11861 (batch-update-autoloads): Doc fix.
11863 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11865 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11867 2011-05-04 Glenn Morris <rgm@gnu.org>
11869 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11870 function, so it follows changes in calendar-date-style.
11871 (diary-fancy-date-matcher): New function.
11872 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11873 (diary-fancy-font-lock-fontify-region-function):
11874 Use diary-fancy-date-pattern as a function.
11876 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11877 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11879 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11881 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11882 instead of positional arguments. Allow :keylist and :crlfiles
11884 (open-gnutls-stream): Call it.
11886 * net/network-stream.el (network-stream-open-starttls): Adjust to
11887 call `gnutls-negotiate' with :process and :hostname arguments.
11889 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11891 * minibuffer.el (completion--message): New function.
11892 (completion--do-completion, minibuffer-complete)
11893 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11894 (completion--do-completion): Don't ignore completion-auto-help when in
11897 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11898 internal encoding (e.g. tibetan zero is not whitespace).
11899 (global-whitespace-mode): Prefer save-current-buffer.
11900 (whitespace-trailing-regexp): Remove useless save-match-data.
11901 (whitespace-empty-at-bob-regexp): Minor simplification.
11903 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11905 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11907 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11909 * textmodes/ispell.el (ispell-add-per-file-word-list):
11910 Use `concat' to create string for insertion.
11912 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11914 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11915 Avoid open-line which runs post-self-insert-hook.
11916 (bibtex-fill-entry): Remove unused `end' var.
11918 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11920 * textmodes/ispell.el (ispell-add-per-file-word-list):
11921 Protect against `nil' value of `comment-start' (Bug#8579).
11923 2011-05-03 Leo Liu <sdl.web@gmail.com>
11925 * isearch.el (isearch-yank-pop): New command.
11926 (isearch-mode-map): Bind it to `M-y'.
11927 (isearch-forward): Mention it.
11929 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11931 * simple.el (minibuffer-complete-shell-command): Remove.
11932 (minibuffer-local-shell-command-map): Use completion-at-point.
11933 (read-shell-command): Setup completion vars here instead.
11934 (read-expression-map): Bind TAB to symbol completion.
11936 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11937 error directly rather via storing it into `results'.
11939 2011-05-02 Leo Liu <sdl.web@gmail.com>
11941 * vc/diff.el: Fix description.
11943 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11945 * server.el (server-eval-at): New function.
11947 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11949 * net/network-stream.el (open-network-stream): Take a :nowait
11950 parameter and pass it on to `make-network-process'.
11951 (network-stream-open-plain): Ditto.
11953 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11955 * faces.el (face-spec-set-match-display): Don't match toolkit
11956 options on terminal frames.
11958 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11960 * progmodes/pascal.el: Use lexical binding.
11961 (pascal-mode-map): Remove author preferences.
11963 * pcomplete.el (pcomplete-std-complete): Don't abuse
11964 completion-at-point.
11966 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11968 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11969 removing code that has been dead since 1991 or so.
11971 * startup.el (command-line): When warning about "_emacs", use a
11972 delayed warning to allow the user to filter it out.
11974 2011-04-28 Deniz Dogan <deniz@dogan.se>
11976 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11977 user has not joined.
11979 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11981 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11982 aren't any completions at point.
11984 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11986 * subr.el (display-delayed-warnings): New function.
11987 (delayed-warnings-hook): New variable.
11989 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11991 * minibuffer.el (completion-at-point, completion-help-at-point):
11992 Don't presume that a given completion-at-point-function will always
11993 use the same calling convention.
11995 * pcomplete.el (pcomplete-completions-at-point):
11996 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11997 pcomplete-seen is non-nil.
11998 (pcomplete-comint-setup): Also recognize the new comint/shell
11999 completion functions.
12000 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12001 pcomplete-seen is non-nil.
12003 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12005 * calendar/icalendar.el (diary-lib): Add require statement.
12006 (icalendar--create-uid): Read out a uid from a text-property on
12007 the first character in the entry. This allows for code to add its
12008 own uid to the entry.
12009 (icalendar--convert-float-to-ical): Add export of
12010 `diary-float'-entries save for those with the optional DAY
12013 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12015 * subr.el (shell-quote-argument): Use alternate escaping strategy
12016 when we spot a variable reference in a string.
12018 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12020 * cus-start.el (all): Define customization for debug-on-event.
12022 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12024 * subr.el (shell-quote-argument): Escape correctly under Windows.
12026 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12028 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12030 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12032 * net/tramp.el (tramp-process-actions): Add POS argument.
12033 Delete region between POS and (pos).
12035 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12036 Use `nil' position in `tramp-process-actions' call.
12037 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12039 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12040 position in `tramp-process-actions' call.
12042 * net/trampver.el: Update release number.
12044 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12046 * custom.el (defcustom): Obey lexical-binding.
12048 Fix octave-inf completion problems reported by Alexander Klimov.
12049 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12050 Inherit from octave-mode-syntax-table.
12051 (inferior-octave-mode): Set info-lookup-mode.
12052 (inferior-octave-completion-at-point): New function.
12053 (inferior-octave-complete): Use it and completion-in-region.
12054 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12055 comint-filename-completion.
12056 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12057 symbol elements which shouldn't be word elements.
12058 (octave-font-lock-keywords, octave-beginning-of-defun)
12059 (octave-function-header-regexp): Adjust regexps accordingly.
12060 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12062 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12064 * net/gnutls.el (gnutls-errorp): Declare before first use.
12066 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12068 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12069 verify-error, and verify-hostname-error parameters. Check whether
12070 default trustfile exists before going to use it. Add missing
12071 argument to gnutls-message-maybe call. Return value.
12072 Reported by Claudio Bley <claudio.bley@gmail.com>.
12073 (open-gnutls-stream): Add usage example.
12075 * net/network-stream.el (network-stream-open-starttls): Give host
12076 parameter to `gnutls-negotiate'.
12077 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12078 * subr.el (shell-quote-argument): Escape correctly under Windows.
12080 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12082 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12083 Use correct match group (bug#8438).
12085 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12087 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12088 (package-menu--generate): New arg specifying packages to show.
12089 (package-menu-refresh, package-menu-execute, list-packages):
12091 (package-show-package-list): New function, replacing deleted
12092 package--list-packages (renamed because it is non-internal).
12094 * finder.el (finder-list-matches): Use package-show-package-list
12095 instead of deleted package--list-packages.
12097 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12098 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12099 (vc-annotate-mode-map): Bind it to RET.
12101 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12103 * progmodes/etags.el (next-file): Don't use set-buffer to change
12104 buffers (Bug#8478).
12106 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12108 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12110 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12111 (apropos-accumulator): Doc fix.
12112 (apropos-function, apropos-macro, apropos-command)
12113 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12114 (apropos-plist): Add face property.
12115 (apropos-symbols-internal): Fix indentation.
12116 (apropos-print): Simplify help, and recognize apropos-multi-type.
12117 (apropos-print-doc): Use button-type-get to extract the button's
12118 face property. Fill docstring (Bug#8352).
12120 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12122 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12124 * play/mpuz.el (mpuz-silent): Doc fix.
12125 (mpuz-mode-map): Use mapc.
12126 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12127 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12128 Fix typos in docstrings.
12130 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12131 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12133 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12135 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12137 * minibuffer.el (completion--do-completion): Avoid the "Next char
12138 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12140 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12141 mouse-2 into unread-command-events, it is interpreted correctly.
12143 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12144 (image-toggle-display): Doc fix.
12146 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12148 * textmodes/page.el (what-page): Use line-number-at-pos to
12149 calculate line number (Bug#6825).
12151 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12153 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12154 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12155 Pass argument NO-DEFAULT to `find-tag-interactive'.
12157 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12159 Lexical-binding cleanup.
12161 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12162 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12163 * progmodes/ada-prj.el (ada-prj-initialize-values)
12164 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12165 (ada-prj-show-value):
12166 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12167 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12168 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12169 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12170 * progmodes/bug-reference.el (bug-reference-push-button):
12171 * progmodes/fortran.el (fortran-line-length):
12172 * progmodes/glasses.el (glasses-change):
12173 * progmodes/octave-mod.el (octave-fill-paragraph):
12174 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12175 (python-pdbtrack-grub-for-buffer, python-sentinel):
12176 * progmodes/sql.el (sql-save-connection):
12177 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12178 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12179 Mark unused parameters.
12181 * progmodes/compile.el (compilation--flush-directory-cache)
12182 (compilation--flush-parse, compile-internal): Mark unused parameters.
12183 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12184 (compilation-next-error-function): Remove unused variable `timestamp'.
12186 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12187 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12189 * progmodes/dcl-mode.el (dcl-end-of-command):
12190 Remove unused variable `start'.
12191 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12192 (dcl-option-value-basic, dcl-option-value-offset)
12193 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12194 Mark unused parameters.
12195 (dcl-save-local-variable): Remove unused variable `val'.
12198 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12199 Mark unused parameters.
12200 (delphi-ignore-changes): Move before first use.
12201 (delphi-charset-token-at): Remove unused variable `start'.
12202 (delphi-else-start): Remove unused variable `if-count'.
12203 (delphi-comment-block-start, delphi-comment-block-end):
12204 Remove unused variable `kind'.
12205 (delphi-indent-line): Remove unused variable `new-point'.
12207 * progmodes/ebrowse.el (ebrowse-files-list)
12208 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12209 Mark unused parameters. Don't quote `lambda'.
12210 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12211 Don't quote `lambda'.
12212 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12213 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12214 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12215 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12216 Use `ignore-errors'.
12217 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12218 (ebrowse-view/find-file-and-search-pattern)
12219 (ebrowse-view/find-member-declaration/definition):
12220 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12221 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12222 Rename parameter PREFIX-ARG to PREFIX.
12223 (ebrowse-tags-read-name): Remove unused variables `start' and
12225 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12228 * progmodes/etags.el (local-find-tag-hook): Declare.
12229 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12230 Mark unused parameters.
12232 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12233 (executable-interpret): Mark unused parameter.
12235 * progmodes/flymake.el (flymake-process-sentinel)
12236 (flymake-after-change-function)
12237 (flymake-create-temp-with-folder-structure)
12238 (flymake-get-include-dirs-dot): Mark unused parameters.
12239 (flymake-safe-delete-directory): Remove unused variable `err'.
12241 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12242 (speedbar-timer-fn, speedbar-line-text)
12243 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12244 (speedbar-center-buffer-smartly): Declare functions.
12245 (gdb-find-watch-expression): Remove unused variable `array'.
12246 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12247 (gdb-starting): Mark unused parameters.
12248 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12249 (gdb-table-string): Remove unused variable `res'.
12250 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12251 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12252 (gdb-display-buffer): Remove unused variable `cur-size'.
12254 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12255 allow lexical-binding compilation.
12256 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12257 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12258 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12259 Mark unused parameters.
12260 (gud-gdb-marker-filter): Remove unused variable `match'.
12261 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12262 lambda expressions and funcall them, instead of using `fset'.
12264 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12265 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12267 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12268 variable `header-beg'; use `let'.
12270 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12271 `restart', `last-sexp' and `at-do'.
12273 * progmodes/js.el (js--debug): Mark unused parameter.
12274 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12275 (js--splice-into-items): Remove unused variable `item'.
12276 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12278 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12279 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12280 (makefile-complete): Remove unused variable `try'.
12281 (makefile-fill-paragraph, makefile-match-function-end):
12282 Mark unused parameters.
12284 * progmodes/octave-inf.el (inferior-octave-complete):
12285 Remove unused variable `proc'.
12286 (inferior-octave-output-digest): Mark unused parameter.
12288 * progmodes/perl-mode.el (perl-calculate-indent):
12289 Remove unused variable `err'.
12291 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12292 (prolog-indent-line): Mark unused parameters.
12293 (prolog-indent-line): Remove unused variable `beg'.
12295 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12296 (reporter-dont-compact-list): Declare.
12298 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12299 Remove unused variable `char'.
12300 (sh-debug): Mark unused parameter.
12301 (sh-get-indent-info): Remove unused variable `start'.
12302 (sh-calculate-indent): Remove unused variable `var'.
12304 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12305 (simula-electric-keyword): Remove unused variable `null'.
12306 (simula-search-backward, simula-search-forward): Remove unused
12307 variables `begin' and `end'.
12309 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12310 Remove unused variable `pos'.
12311 (vera-electric-tab, vera-comment-uncomment-region):
12312 Mark unused parameters.
12313 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12315 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12317 * emacs-lisp/package.el (package--builtins, package-alist)
12318 (package-load-descriptor, package-built-in-p, package-activate)
12319 (define-package, package-installed-p)
12320 (package-compute-transaction, package-buffer-info)
12321 (package--push): Doc fix. Distinguish more clearly between
12322 version strings and version lists.
12324 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12326 Lexical-binding cleanup.
12328 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12329 (5x5-make-mutate-best):
12330 * play/fortune.el (fortune-in-buffer):
12331 * play/gomoku.el (gomoku-init-display):
12332 * play/solitaire.el (solitaire, solitaire-do-check):
12333 * play/tetris.el (tetris-default-update-speed-function):
12334 Mark unused parameters.
12336 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12337 (bubbles--shift): Remove unused variable `char-org'.
12338 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12339 (bubbles--show-images): Remove unused variable `char'.
12341 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12342 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12343 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12344 (decipher-analyze-buffer): Use ?\s.
12345 (decipher-make-checkpoint): Remove unused variable `mapping'.
12347 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12349 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12350 Remove unused variable `result'; use `let'.
12352 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12353 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12354 (gametree-children-shown-p, gametree-compute-reduced-score):
12355 Use `ignore-errors'.
12357 * play/handwrite.el (ps-lpr-switches): Declare.
12358 (handwrite): Remove unused variables `pmin' and `lastp'.
12360 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12362 * play/landmark.el (landmark-init-display)
12363 (landmark-update-naught-weights): Mark unused parameters.
12364 (landmark-y): Remove unused variable `noise'. Simplify.
12365 (landmark-human-plays): Remove unused variable `score'.
12367 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12368 (mpuz-try-proposal): Remove unused variable `game'.
12370 * play/zone.el (life-patterns): Declare.
12372 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12374 * vc/vc.el (ediff-vc-internal): Declare function.
12376 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12378 * shell.el: Use lexical-binding and std completion UI.
12379 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12380 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12381 comint-preoutput-filter-functions rather than on
12382 comint-output-filter-functions.
12383 (shell-command-completion, shell--command-completion-data)
12384 (shell-filename-completion, shell-environment-variable-completion)
12385 (shell-c-a-p-replace-by-expanded-directory): New functions.
12386 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12387 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12388 (shell-dynamic-complete-environment-variable): Use them.
12389 (shell-dynamic-complete-as-environment-variable)
12390 (shell-dynamic-complete-as-command): Remove.
12391 (shell-match-partial-variable): Match past point.
12392 * comint.el: Clean up use of completion-at-point-functions.
12393 (comint-completion-at-point): New function.
12394 (comint-mode): Use it completion-at-point-functions.
12395 (comint-dynamic-complete): Make it obsolete.
12396 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12397 (comint-c-a-p-replace-by-expanded-history): New function.
12398 (comint-dynamic-complete-functions)
12399 (comint-replace-by-expanded-history): Use it.
12400 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12401 termination strings. Try harder to avoid second try-completion.
12402 (completion-in-region-mode-map): Disable bindings that don't work yet.
12404 * comint.el: Use lexical-binding. Require CL.
12405 (comint-dynamic-complete-functions): Use comint-filename-completion.
12406 (comint-completion-addsuffix): Tweak custom type.
12407 (comint-filename-completion, comint--common-suffix)
12408 (comint--common-quoted-suffix, comint--table-subvert)
12409 (comint--complete-file-name-data): New functions.
12410 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12411 (comint-dynamic-list-filename-completions): Use them.
12412 (comint-dynamic-simple-complete): Make obsolete.
12414 * minibuffer.el (completion-in-region-mode):
12415 Keep completion-in-region-mode--predicate global.
12416 (completion-in-region--postch):
12417 Assume completion-in-region-mode--predicate is not null.
12419 * progmodes/flymake.el (flymake-start-syntax-check-process):
12420 Obey `dir'. Simplify.
12422 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12423 we're in VC after all.
12425 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12427 * vc/vc.el (vc-diff-build-argument-list-internal)
12428 (vc-version-ediff, vc-ediff): New commands.
12429 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12431 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12433 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12436 * obsolete/erc-hecomplete.el: Make obsolete.
12437 * obsolete/: Standardize obsolescence info in the header.
12439 2011-04-20 Glenn Morris <rgm@gnu.org>
12441 * calendar/solar.el (solar-horizontal-coordinates):
12442 Use the longitude argument rather than `calendar-longitude'.
12443 (solar-date-next-longitude): Remove unused locals.
12445 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12447 * whitespace.el: New version 13.2.1.
12449 2011-04-20 felix <EmacsWiki> (tiny change)
12451 * whitespace.el (global-whitespace-mode): Keep highlight when
12452 switching between major modes on a file.
12454 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12456 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12457 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12458 multi-line comments as well.
12460 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12462 Lexical-binding cleanup.
12464 * arc-mode.el (archive-mode-revert):
12465 * cmuscheme.el (scheme-interactively-start-process):
12466 * custom.el (custom-initialize-delay):
12467 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12468 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12469 * emacs-lock.el (emacs-lock-clear-sentinel):
12470 * ezimage.el (defezimage):
12471 * follow.el (follow-avoid-tail-recenter):
12472 * fringe.el (set-fringe-mode-1):
12473 * generic-x.el (bat-generic-mode-compile):
12474 * help-mode.el (help-info-variable, help-do-xref)
12475 (help-mode-revert-buffer):
12476 * help.el (view-emacs-todo):
12477 * iswitchb.el (iswitchb-completion-help):
12478 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12479 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12480 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12481 * locate.el (locate-update):
12482 * longlines.el (longlines-encode-region)
12483 (longlines-after-change-function):
12484 * outline.el (outline-isearch-open-invisible):
12485 * ps-def.el (declare-function, charset-dimension, char-width)
12487 * ps-mule.el (ps-mule-plot-string):
12488 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12489 (recentf-edit-list-select, recentf-edit-list-validate)
12490 (recentf-open-files-action):
12491 * rect.el (delete-whitespace-rectangle-line)
12492 (rectangle-number-line-callback):
12493 * register.el (window-configuration-to-register)
12494 (frame-configuration-to-register):
12495 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12496 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12497 (xselect-convert-to-targets, xselect-convert-to-delete)
12498 (xselect-convert-to-filename, xselect-convert-to-charpos)
12499 (xselect-convert-to-lineno, xselect-convert-to-colno)
12500 (xselect-convert-to-os, xselect-convert-to-host)
12501 (xselect-convert-to-user, xselect-convert-to-class)
12502 (xselect-convert-to-name, xselect-convert-to-integer)
12503 (xselect-convert-to-atom, xselect-convert-to-identity):
12504 * subr.el (declare, ignore, process-kill-without-query)
12505 (text-clone-maintain):
12506 * terminal.el (te-get-char, te-tic-sentinel):
12507 * tool-bar.el (tool-bar-make-keymap):
12508 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12509 * type-break.el (type-break-mode, type-break-noninteractive-query):
12510 * view.el (View-back-to-mark):
12511 * wid-browse.el (widget-browse-action, widget-browse-widget)
12512 (widget-browse-widgets, widget-browse-sexp):
12513 * widget.el (define-widget-keywords):
12514 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12515 Mark unused parameters.
12517 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12518 (align-areas): Remove unused variable `look'.
12519 (align-region): Remove unused variables `real-end' and `pos-list'.
12521 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12523 * bindings.el (mode-line-modified, mode-line-remote):
12524 Mark unused parameters.
12525 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12527 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12528 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12530 * comint.el (comint-history-isearch-pop-state)
12531 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12532 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12533 (comint-substitute-in-file-name): Doc fix.
12535 * completion.el (cmpl-statistics-block): Mark unused parameter.
12536 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12537 (save-completions-to-file, load-completions-from-file):
12538 Remove unused local variable `e'.
12540 * composite.el (compose-chars): Remove unused variable `len'.
12541 (lgstring-insert-glyph): Remove unused variable `g'.
12542 (compose-glyph-string): Remove unused variables `ascent',
12543 `descent', `lbearing' and `rbearing'.
12544 (compose-glyph-string-relative): Remove unused variables
12545 `lbearing', `rbearing' and `wadjust'.
12546 (compose-gstring-for-graphic): Remove unused variables `header',
12547 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12548 (compose-gstring-for-terminal): Remove unused variables `header'
12549 and `nchars'. Use `let', not `let*'.
12551 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12552 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12553 (Custom-buffer-done, custom-buffer-create-internal)
12554 (custom-browse-visibility-action, custom-browse-group-tag-action)
12555 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12556 (widget-magic-mouse-down-action, custom-toggle-parent)
12557 (custom-add-parent-links, custom-toggle-hide-variable)
12558 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12559 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12560 (custom-face-menu-create, custom-variable-menu-create, get)
12561 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12562 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12563 (customize-apropos): Remove unused variable `tests'.
12564 (custom-group-value-create): Remove unused variable `hidden-p'.
12565 (sort-fold-case): Declare.
12567 * cus-theme.el (custom-reset-standard-faces-list)
12568 (custom-reset-standard-variables-list): Declare.
12569 (customize-create-theme, custom-theme-revert, custom-theme-write)
12570 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12571 Mark unused parameters.
12573 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12575 * delim-col.el (delimit-columns-max): Move defvar before first use.
12577 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12578 (describe-char): Don't quote `lambda'. Mark unused parameter.
12580 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12581 (auto-insert): Declare.
12582 (desktop-restore-file-buffer): Rename desktop-* parameters;
12584 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12585 (desktop-buffer): Rename desktop-* parameters.
12587 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12588 (dframe-reposition-frame-xemacs, dframe-help-echo)
12589 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12590 Mark unused parameters.
12592 * dired-aux.el (backup-extract-version-start, overwrite-query)
12593 (overwrite-backup-query, rename-regexp-query)
12594 (rename-non-directory-query): Declare.
12595 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12596 (dired-add-entry): Remove unused variable `orig-file-name'.
12597 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12598 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12599 `dired-copy-preserve-time' directly.
12600 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12601 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12603 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12604 (dired-virtual-revert, dired-make-relative-symlink):
12605 Mark unused parameters.
12606 (manual-program): Declare.
12607 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12608 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12609 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12611 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12613 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12615 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12618 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12620 * electric.el (Electric-command-loop): Rename parameter
12621 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12623 * expand.el (expand-in-literal): Remove unused variable `here'.
12625 * facemenu.el (facemenu-add-new-color):
12626 Remove unused variable `docstring'.
12628 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12629 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12630 (face-attr-construct): Mark unused parameter. Doc fix.
12631 (read-color): Remove unused variable `hex-string'.
12633 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12634 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12635 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12636 (display-buffer-other-frame): Remove unused variable `old-window'.
12637 (kill-buffer-hook): Declare.
12638 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12639 Mark unused parameters.
12640 (after-find-file): Pass 1 to `auto-save-mode', not t.
12642 * files-x.el (auto-insert): Declare.
12643 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12645 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12646 variable `buf'. Mark unused parameter.
12647 (find-lisp-insert-directory): Mark unused parameter.
12649 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12650 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12651 (format-common-tail): Remove, unused.
12652 (format-deannotate-region): Remove unused variable `loc'.
12653 (format-annotate-region): Remove unused variable `p'.
12654 (format-annotate-single-property-change): Remove unused variables
12655 `default' and `tail'.
12657 * forms.el (read-file-filter): Declare.
12658 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12660 * frame.el (frame-creation-function-alist): Mark unused parameter.
12661 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12663 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12664 Remove unused parameters.
12665 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12666 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12668 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12669 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12670 (hfy-prepare-tag-map): Mark unused parameters.
12671 (htmlfontify-buffer): Use `called-interactively-p'.
12673 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12674 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12675 (ibuffer-do-occur): Mark unused parameters.
12676 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12677 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12679 * ibuffer.el: Don't quote `lambda'.
12680 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12681 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12682 Mark unused parameters.
12684 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12685 (ido-completing-read): Mark unused parameters.
12686 (ido-copy-current-word): Mark unused parameters;
12687 remove unused variable `name'.
12688 (ido-sort-merged-list): Remove unused parameter `dirs'.
12690 * ielm.el (ielm-input-sender): Mark unused parameter.
12691 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12692 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12693 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12694 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12695 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12697 * image-dired.el (image-dired-display-thumbs): Remove unused
12698 variables `curr-file' and `count'.
12699 (image-dired-remove-tag): Remove unused variable `start'.
12700 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12701 variable `curr-file'
12702 (image-dired-rotate-original): Remove unused variable `temp-file'.
12703 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12704 Remove unused variable `file'.
12705 (image-dired-gallery-generate): Remove unused variable `curr'.
12706 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12708 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12710 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12712 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12714 * isearch.el (minibuffer-history-symbol): Declare.
12715 (isearch-edit-string): Remove unused variable `err'.
12716 (isearch-message-prefix, isearch-message-suffix):
12717 Mark unused parameters.
12719 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12721 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12723 * makesum.el (double-column): Remove unused variable `cnt'.
12725 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12726 (ido-ignore-item-temp-list): Declare.
12728 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12729 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12730 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12731 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12734 * mouse-sel.el (mouse-extend-internal):
12735 Remove unused variable `orig-window-frame'.
12737 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12738 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12739 Move declarations before first use.
12740 (pcomplete-opt): Mark unused parameters; doc fix.
12742 * proced.el (proced-revert): Mark unused parameter.
12743 (proced-send-signal): Remove unused variable `err'.
12745 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12746 Rename parameter PREFIX-ARG to ARG.
12747 (ps-basic-plot-string, ps-basic-plot-whitespace):
12748 Mark unused parameters.
12750 * replace.el (replace-count): Define.
12751 (occur-revert-function): Mark unused parameters.
12752 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12753 (isearch-case-fold-search, isearch-string): Declare.
12754 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12755 bind `case-fold-search'. Remove unused variables `beg' and `end',
12757 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12758 COUNT and bind `replace-count'.
12759 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12762 * savehist.el (print-readably, print-string-length): Declare.
12764 * shadowfile.el (shadow-expand-cluster-in-file-name):
12765 Remove unused variable `cluster'.
12766 (shadow-copy-file): Remove unused variable `i'.
12767 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12768 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12769 (shadow-define-literal-group, shadow-define-regexp-group)
12770 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12772 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12773 (shell): Use `called-interactively-p'.
12774 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12776 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12777 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12778 (delete-backward-char): Remove unused variable `ocol'.
12779 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12780 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12781 (event-apply-hyper-modifier, event-apply-shift-modifier)
12782 (event-apply-control-modifier, event-apply-meta-modifier):
12783 Mark unused parameters.
12784 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12785 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12787 * speedbar.el (speedbar-ignored-directory-expressions)
12788 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12789 (speedbar-find-file, speedbar-dir-follow)
12790 (speedbar-directory-buttons-follow, speedbar-tag-find)
12791 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12792 (speedbar-buffers-line-directory, speedbar-buffer-click):
12793 Mark unused parameters.
12794 (speedbar-tag-file): Remove unused variable `mode'.
12795 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12797 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12799 * talk.el (talk): Remove unused variable `display'.
12801 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12802 (tar-write-region-annotate): Mark unused parameter.
12804 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12805 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12806 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12807 warning by another.
12809 * time-stamp.el (time-stamp-string-preprocess):
12810 Remove unused variable `require-padding'.
12812 * tree-widget.el (widget-glyph-enable): Declare.
12813 (tree-widget-action): Mark unused parameter.
12815 * w32-fns.el (x-get-selection): Mark unused parameter.
12816 (autoload-make-program, generated-autoload-file): Declare.
12818 * wdired.el (wdired-revert): Mark unused parameters.
12819 (wdired-xcase-word): Remove unused variable `err'.
12821 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12822 (whitespace-help-scroll): Remove unused variable `data-help'.
12824 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12825 (widget-image-insert, widget-after-change, default)
12826 (widget-default-format-handler, widget-default-notify)
12827 (widget-default-prompt-value, widget-info-link-action)
12828 (widget-url-link-action, widget-function-link-action)
12829 (widget-variable-link-action, widget-file-link-action)
12830 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12831 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12832 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12833 (widget-insert-button-action, widget-delete-button-action, visibility)
12834 (widget-documentation-link-action, widget-documentation-string-action)
12835 (widget-const-prompt-value, widget-regexp-match, symbol)
12836 (widget-coding-system-prompt-value)
12837 (widget-key-sequence-value-to-external, sexp)
12838 (widget-sexp-value-to-internal, character, vector, cons)
12839 (widget-choice-prompt-value, widget-boolean-prompt-value)
12840 (widget-color--choose-action): Mark unused parameters.
12841 (widget-item-match-inline, widget-choice-match-inline)
12842 (widget-checklist-match, widget-checklist-match-inline)
12843 (widget-group-match): Rename parameter VALUES to VALS.
12844 (widget-field-value-set): Remove unused variable `size'.
12845 (widget-color-action): Remove unused variables `value' and `start'.
12847 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12848 variable `dir'. Doc fix.
12849 (windmove-find-other-window): Don't pass it.
12851 * window.el (count-windows): Mark unused parameter.
12852 (bw-adjust-window): Remove unused variable `err'.
12854 * woman.el (woman-file-name): Remove unused variable `default'.
12855 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12856 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12857 (global-font-lock-mode): Declare.
12858 (woman-decode-region): Mark unused parameter.
12859 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12861 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12862 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12863 (x-dnd-handle-moz-url): Remove unused variable `title'.
12864 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12866 * xml.el (xml-parse-tag, xml-parse-attlist):
12867 Remove unused variable `pos'.
12869 2011-04-19 Glenn Morris <rgm@gnu.org>
12871 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12872 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12873 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12874 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12875 * calendar/cal-html.el (cal-html-insert-minical):
12876 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12877 (calendar-mark-date-pattern):
12878 Prefix "unused" locals.
12880 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12881 optional argument `style'.
12883 * calendar/appt.el (appt-make-list):
12884 * calendar/cal-china.el (calendar-chinese-date-string):
12885 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12886 (diary-hebrew-yahrzeit):
12887 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12888 * calendar/calendar.el (calendar-generate-window):
12889 * calendar/time-date.el (time-to-days):
12890 Remove unused local variables.
12892 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12894 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12895 glyphless-char-display table.
12896 (tabulated-list-glyphless-char-display): New var.
12898 2011-04-18 Sam Steingold <sds@gnu.org>
12900 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12901 to acknowledgments.
12903 2011-04-17 Glenn Morris <rgm@gnu.org>
12905 * calendar/diary-lib.el (diary-sexp-entry):
12906 * calendar/holidays.el (holiday-sexp):
12907 Set debug-on-error rather than the removed stack-trace-on-error.
12909 2011-04-16 Glenn Morris <rgm@gnu.org>
12911 * progmodes/f90.el: Use lexical-binding.
12912 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12914 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12916 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12917 (mail-mode): Setup mailalias completion here instead.
12918 * mail/mailalias.el: Use lexical-binding.
12919 (pattern, mailalias-done): Declare dynamic.
12920 (mail-completion-at-point-function): New function, from mail-complete.
12921 (mail-complete): Use it.
12922 (mail-completion-expand): New function.
12923 (mail-get-names): Use it.
12924 (mail-directory, mail-directory-process, mail-directory-stream):
12925 Don't use `pattern' for lexically bound arg.
12927 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12929 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12930 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12931 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12933 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12934 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12935 (byte-interactive-p): Define them again, for use when inlining
12938 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12940 * loadup.el: Use `string-to-number', not `string-to-int'.
12942 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12944 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12945 gud-gdb-complete-command.
12946 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12947 (gud-gdb-completion-at-point): New function.
12948 (gud-gdb-completions): Remove.
12950 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12952 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12953 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12954 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12955 whether `executable-find' is bound.
12957 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12959 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12961 * minibuffer.el (completion-in-region-mode-predicate)
12962 (completion-in-region-mode--predicate): New vars.
12963 (completion-in-region, completion-in-region--postch)
12964 (completion-in-region-mode): Use them.
12965 (completion--capf-wrapper): Also return the hook function.
12966 (completion-at-point, completion-help-at-point):
12967 Adjust and provide a predicate.
12969 Preserve arg names for advice of subr and lexical functions (bug#8457).
12970 * help-fns.el (help-function-arglist): Consolidate the subr and
12971 new-byte-code cases. Add argument `preserve-names' to extract names
12972 from the docstring when needed.
12973 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12974 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12975 (ad-arglist): Use help-function-arglist's new arg.
12976 (ad-definition-type): Use cond.
12978 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12980 * autorevert.el (auto-revert-handler):
12981 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12982 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12983 Don't quote lambda.
12985 * image-mode.el (image-transform-set-scale):
12986 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12988 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12990 * net/network-stream.el (network-stream-open-starttls): Only do
12991 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12992 Upgrades via gnutls-cli are too slow to be done opportunistically.
12994 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12996 * dframe.el (dframe-current-frame): Remove spurious quote.
12998 2011-04-12 Glenn Morris <rgm@gnu.org>
13000 * calendar/cal-tex.el (cal-tex-end-document):
13001 Try to automatically use latin1 input if needed.
13003 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13004 Don't try to cons a mark onto an empty element.
13006 2011-04-11 Leo Liu <sdl.web@gmail.com>
13008 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13010 (ido-kill-buffer-at-head): Support killing virtual buffers.
13012 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13014 * minibuffer.el (completion-show-inline-help): New var.
13015 (completion--do-completion, minibuffer-complete)
13016 (minibuffer-force-complete, minibuffer-complete-word):
13017 Inhibit minibuffer messages if completion-show-inline-help is nil.
13019 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13020 to avoid interference from inline help (Bug#5849).
13022 2011-04-10 Leo Liu <sdl.web@gmail.com>
13024 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13027 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13029 * image-mode.el (image-toggle-display-image): Signal an error if
13031 (image-transform-mode, image-transform-resize)
13032 (image-transform-set-rotation): Doc fix.
13033 (image-transform-set-resize): Delete.
13034 (image-transform-set-scale, image-transform-fit-to-height)
13035 (image-transform-fit-to-width): Handle image-toggle-display-image
13036 and image-transform-resize directly.
13038 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13040 * doc-view.el (doc-view-fit-width-to-window)
13041 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13042 New functions for fitting the shown image to the Emacs window size.
13043 (doc-view-mode-map): Add bindings for the new functions.
13045 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13047 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13048 Fix typo in docstring.
13050 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13052 * files.el (file-size-human-readable): Produce one digit after
13053 decimal, like "ls -lh" does.
13055 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13056 the file size representation.
13058 * simple.el (list-processes): If async subprocesses are not
13059 available, error out with a clear error message.
13061 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13063 * help.el (help-form-show): New function, to be called from C.
13064 Put help-form output in a buffer named differently than *Help*.
13066 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13068 * files.el (file-size-human-readable): New function.
13070 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13071 computing the representation inline. Don't require `cl'.
13073 2011-04-08 Glenn Morris <rgm@gnu.org>
13075 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13077 * net/browse-url.el (browse-url-firefox):
13078 Test system-type, not system-configuration.
13080 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13081 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13082 Use log-edit-empty-buffer-p. (Bug#7598)
13084 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13085 (rlogin-mode-map): Initialize in the defvar.
13086 (rlogin): Use ignore-errors.
13088 * replace.el (occur-mode-map): Some fixes for menu items.
13090 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13092 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13094 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13096 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13097 issuing unused warnings.
13099 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13102 * simple.el: Lisp reimplement of list-processes. Based on an
13103 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13104 (process-menu-mode): New major mode.
13105 (list-processes--refresh, list-processes):
13106 (process-menu-visit-buffer): New functions.
13108 * files.el (save-buffers-kill-emacs): Don't assume any return
13109 value of list-processes, which is undocumented anyway.
13111 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13113 * emacs-lisp/tabulated-list.el: New file.
13115 * emacs-lisp/package.el: Use Tabulated List mode.
13116 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13117 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13118 table format using Tabulated List mode variables.
13119 (package--push): New macro, replacing package-list-maybe-add.
13120 (package-menu--generate): Use package--push. Renamed from
13121 package--generate-package-list.
13122 (package-menu-refresh, list-packages): Use it.
13123 (package-menu--print-info): Rename from package-print-package.
13124 Return insertion data instead of inserting it directly.
13125 (package-menu-describe-package, package-menu-execute):
13126 Use tabulated-list-get-id.
13127 (package-menu-mark-delete, package-menu-mark-install)
13128 (package-menu-mark-unmark, package-menu-backup-unmark)
13129 (package-menu-mark-obsolete-for-deletion):
13130 Use tabulated-list-put-tag.
13131 (package--list-packages, package-menu-revert)
13132 (package-menu-get-package, package-menu-get-version)
13133 (package-menu-sort-by-column): Functions deleted.
13134 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13135 (package-menu--status-predicate, package-menu--version-predicate)
13136 (package-menu--name-predicate)
13137 (package-menu--description-predicate): Handle arguments in the
13138 Tabulated List format.
13139 (package-list-packages-no-fetch): Call list-packages.
13141 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13143 * files.el (after-find-file-from-revert-buffer): Remove variable.
13144 (after-find-file): Don't bind it.
13145 (revert-buffer-in-progress-p): New variable.
13146 (revert-buffer): Bind it.
13147 Pass nil for `after-find-file-from-revert-buffer'.
13149 * saveplace.el (save-place-find-file-hook): Use new variable
13150 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13152 2011-04-06 Glenn Morris <rgm@gnu.org>
13154 * Makefile.in (AUTOGEN_VCS): New variable.
13155 (autoloads): Use $AUTOGEN_VCS.
13157 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13158 * calendar/calendar.el (calendar-mode-map):
13159 Check for toolkit scroll bars. (Bug#8305)
13161 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13163 * minibuffer.el (completion-in-region--postch)
13164 (completion-in-region-mode): Remove unnecessary messages.
13166 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13168 * font-lock.el (font-lock-refresh-defaults):
13169 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13170 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13172 * info.el (Info-directory-list, Info-read-node-name-2)
13173 (Info-split-parameter-string): Doc fixes.
13174 (Info-virtual-nodes): Reflow docstring.
13175 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13176 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13177 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13178 Fix typos in docstrings.
13179 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13180 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13181 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13182 (Info-restore-desktop-buffer): Mark unused parameters.
13183 (Info-directory-find-file, Info-directory-find-node)
13184 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13185 (Info-virtual-index-find-node, Info-apropos-find-file)
13186 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13187 Mark unused parameters; fix typos in docstrings.
13188 (Info-virtual-index): Remove unused local variable `nodename'.
13190 2011-04-05 Deniz Dogan <deniz@dogan.se>
13192 * net/rcirc.el: Update my e-mail address.
13193 (rcirc-mode-map): Remove M-o binding.
13195 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13197 * startup.el (command-line): Save the cursor's theme-face
13198 directly, instead of using face-override-spec.
13200 * custom.el (load-theme): Minor optimization in assigning faces.
13202 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13204 * help-fns.el (describe-variable): Complete all variables having
13205 documentation, including keywords.
13206 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13208 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13210 Convert to lexical-binding.
13212 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13213 (bs--get-marked-string, bs--get-modified-string)
13214 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13215 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13216 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13218 * ehelp.el (electric-help-execute-extended)
13219 (electric-help-ctrl-x-prefix):
13220 * hexl.el (hexl-revert-buffer-function):
13221 * linum.el (linum-after-change, linum-after-scroll):
13222 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13224 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13226 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13233 * epg.el: Use lexical binding.
13235 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13237 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13239 * textmodes/flyspell.el (flyspell-word): Recognize default
13240 dictionary case for flyspell-mark-duplications-exceptions.
13241 Use regexp matching for languages.
13242 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13243 default dictionary (Bug#7926).
13245 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13247 * emacs-lisp/package.el (package--with-work-buffer):
13248 Recognize https URLs.
13250 * net/network-stream.el: Move from gnus/proto-stream.el.
13251 Change prefix to network-stream throughout.
13252 (open-protocol-stream): Merge into open-network-stream, leaving
13253 open-protocol-stream as an alias. Handle nil BUFFER args.
13255 * subr.el (open-network-stream): Move to net/network-stream.el.
13257 2011-04-02 Glenn Morris <rgm@gnu.org>
13259 * find-dired.el (find-exec-terminator): New option.
13260 (find-ls-option): Test for -ls support.
13261 (find-ls-subdir-switches): Test for -b in find-ls-option.
13262 (find-dired, find-grep-dired): Doc fixes.
13263 (find-dired): Use find-exec-terminator.
13265 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13266 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13267 (find-name-arg): Remove purecopy.
13269 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13270 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13271 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13272 accordingly. Don't add the null-device if not needed.
13274 * files.el (save-some-buffers): Doc fix.
13276 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13278 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13280 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13282 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13283 Use `dolist' rather than `mapcar'.
13285 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13287 Add lexical binding.
13289 * subr.el (apply-partially): Use new closures rather than CL.
13290 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13291 (dolist, dotimes): Use slightly different expansion for lexical code.
13292 (functionp): Move to C.
13293 (letrec): New macro.
13294 (with-wrapper-hook): Use it and apply-partially instead of CL.
13295 (eval-after-load): Preserve lexical-binding.
13296 (save-window-excursion, with-output-to-temp-buffer): Turn them
13299 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13301 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13303 (help-add-fundoc-usage): Don't add `Not documented'.
13304 (help-function-arglist): Handle closures, subroutines, and new
13305 byte-code-functions.
13306 (help-make-usage): Remove leading underscores.
13307 (describe-function-1): Handle closures.
13308 (describe-variable): Use special-variable-p for completion.
13310 * files.el (lexical-binding): Declare safe.
13312 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13313 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13314 (pcase): Add `let' pattern.
13315 Change memoization so it actually works.
13316 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13317 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13320 * emacs-lisp/macroexp.el: Use lexical binding.
13321 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13322 Don't convert ' to #' without checking that it's indeed quoting
13325 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13326 Use eval-sexp-add-defvars.
13327 (eval-sexp-add-defvars): New fun.
13329 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13331 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13333 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13334 than the internal `byte-compile-lambda'.
13335 (defmethod): Don't hide code under quotes.
13336 (eieio-defmethod): New `code' argument.
13338 * emacs-lisp/eieio-comp.el: Remove.
13340 * emacs-lisp/edebug.el (edebug-eval-defun)
13341 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13342 (edebug-toggle): Avoid `eval'.
13344 * emacs-lisp/disass.el (disassemble-internal): Handle new
13346 (disassemble-1): Handle new byte codes.
13348 * emacs-lisp/cl.el (pushnew): Silence warning.
13350 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13351 (cl-byte-compile-throw): Remove.
13352 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13354 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13357 * emacs-lisp/cconv.el: New file.
13359 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13360 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13361 (byte-compile-initial-macro-environment):
13362 Handle declare-function here.
13363 (byte-compile--lexical-environment): New var.
13364 (byte-stack-ref, byte-stack-set, byte-discardN)
13365 (byte-discardN-preserve-tos): New lap codes.
13366 (byte-interactive-p): Don't use any more.
13367 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13369 (byte-compile-lapcode): Use them and handle new lap codes.
13370 (byte-compile-obsolete): Remove.
13371 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13372 (byte-compile-arglist-warn): Check late def of inlinable funs.
13373 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13374 since they should have been expanded by now.
13375 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13376 (byte-compile-from-buffer): Remove unused second arg.
13377 (byte-compile-preprocess): New function.
13378 (byte-compile-toplevel-file-form): New function to distinguish
13379 file-form calls from outside from file-form calls from hunk-handlers.
13380 (byte-compile-file-form): Simplify.
13381 (byte-compile-file-form-defsubst): Remove.
13382 (byte-compile-file-form-defmumble): Simplify now that
13383 byte-compile-lambda always returns a byte-code-function.
13384 (byte-compile): Preprocess.
13385 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13386 Remove, not used any more.
13387 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13388 (byte-compile-make-args-desc): New funs.
13389 (byte-compile-lambda): Handle lexical functions. Always return
13390 a byte-code-function.
13391 (byte-compile-reserved-constants): New var, to make up room for
13392 closed-over variables.
13393 (byte-compile-constants-vector): Obey it.
13394 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13395 (byte-compile-macroexpand-declare-function): New function.
13396 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13397 byte-code-functions.
13398 (byte-compile-form): Check obsolescence here.
13399 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13400 (byte-compile-variable-ref): Remove.
13401 (byte-compile-dynamic-variable-op): New fun.
13402 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13403 (byte-compile-variable-set): New funs.
13404 (byte-compile-discard): Add 2 args.
13405 (byte-compile-stack-ref, byte-compile-stack-set)
13406 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13407 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13408 macroexpand-all instead.
13409 (byte-compile-quote-form): Remove.
13410 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13411 (byte-compile-bind, byte-compile-unbind): New funs.
13412 (byte-compile-let): Handle let* and lexical binding.
13413 (byte-compile-let*): Remove.
13414 (byte-compile-catch, byte-compile-unwind-protect)
13415 (byte-compile-track-mouse, byte-compile-condition-case):
13416 Handle a new :fun-body form, used for lexical scoping.
13417 (byte-compile-save-window-excursion)
13418 (byte-compile-with-output-to-temp-buffer): Remove.
13419 (byte-compile-defun): Simplify.
13420 (byte-compile-stack-adjustment): New fun.
13421 (byte-compile-out): Use it.
13422 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13424 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13427 * emacs-lisp/byte-opt.el: Use lexical binding.
13428 (byte-inline-lapcode): Remove (to bytecomp).
13429 (byte-compile-inline-expand): Pay attention to inlining to/from
13430 lexically bound code.
13431 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13433 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13434 any more and don't call compiler-macros.
13435 (byte-compile-splice-in-already-compiled-code): Remove.
13436 (byte-code): Don't inline any more.
13437 (disassemble-offset): Receive `bytes' as argument rather than via
13439 (byte-compile-tag-number): Declare before first use.
13440 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13441 `return' even if make-spliceable.
13442 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13443 obsolete interactive-p.
13444 (byte-optimize-lapcode): Optimize new lap-codes.
13445 Don't trip up on new form of `byte-constant' lap code.
13447 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13449 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13451 * custom.el (custom-initialize-default, custom-declare-variable):
13454 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13456 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13457 (COMPILE_FIRST): Add macroexp and cconv.
13458 * makefile.w32-in: Mirror changes in Makefile.in.
13460 * vc/cvs-status.el:
13464 * vc/smerge-mode.el:
13465 * textmodes/bibtex-style.el:
13466 * textmodes/css.el:
13474 * emacs-lisp/smie.el:
13477 * abbrev.el: Use lexical binding.
13479 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13481 * info.el (info-display-manual): New function.
13483 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13485 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13487 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13489 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13490 an entry for that server in rcirc-authinfo. (Bug#8385)
13492 2011-03-31 Glenn Morris <rgm@gnu.org>
13494 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13496 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13498 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13500 * progmodes/python.el (python-default-interpreter)
13501 (python-python-command-args, python-jython-command-args)
13502 (python-which-shell, python-which-args, python-which-bufname)
13503 (python-file-queue, python-comint-output-filter-function)
13504 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13505 variables and functions.
13507 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13509 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13510 (completion-in-region-mode): New minor mode.
13511 (completion-in-region): Use it.
13512 (completion-in-region--data, completion-in-region-mode-map): New vars.
13513 (completion-in-region--postch): New function.
13514 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13516 (completion--capf-wrapper): New function.
13517 (completion-at-point): Use it to track well-behavedness of
13519 (completion-help-at-point): New command.
13521 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13523 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13524 syntax class to search for whitespace on a single line
13525 (Message-ID: <4D938140.4030905@redhat.com>).
13527 2011-03-30 Leo Liu <sdl.web@gmail.com>
13529 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13531 (edit-abbrevs-map): Bind them here.
13532 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13534 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13536 * allout.el (allout-hide-by-annotation, allout-flag-region):
13537 Reduce possibility of overlay leakage by making them volatile.
13539 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13540 hash is not shared between buffers. Mode initialization is
13541 responsible for giving it a useful starting value.
13542 (allout-item-span): Reduce possibility of overlay leakage by
13543 making them volatile.
13544 (allout-widgets-count-buttons-in-region): Add diagnostic function
13545 for tracking down button overlay leaks.
13547 2011-03-29 Leo Liu <sdl.web@gmail.com>
13549 * ido.el (ido-read-internal): Use the default history var
13550 minibuffer-history if no HISTORY is specified.
13552 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13554 * net/imap.el (imap-shell-open, imap-process-connection-type):
13555 Use imap-process-connection-type for 'shell' streams as well as
13556 Kerberos, SSL, other subprocesses.
13558 2011-03-28 Leo Liu <sdl.web@gmail.com>
13560 * abbrev.el (abbrev-table-empty-p): New function.
13561 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13562 nonempty ones. (Bug#5937)
13564 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13566 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13568 2011-03-27 Leo Liu <sdl.web@gmail.com>
13570 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13571 for foreground and background colors.
13572 (ansi-color-make-color-map): Adapt.
13574 2011-03-25 Leo Liu <sdl.web@gmail.com>
13576 * midnight.el (midnight-time-float): Remove. Note it calculates
13577 the microsecond component incorrectly and seconds-to-time does the
13579 Remove redundant (require 'timer).
13581 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13582 (ido-completions): Remove unused arguments. (Bug#8329)
13584 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13586 * minibuffer.el (completion--flush-all-sorted-completions):
13587 Remove itself from hook.
13588 (completion-at-point): Let the functions perform the completion
13589 immediately and return nil or t.
13590 * comint.el (comint-dynamic-complete-functions): Now identical to
13591 completion-at-point-functions.
13592 (comint-dynamic-list-input-ring): Remove unused var `index'.
13593 (comint--match-partial-filename, comint--unquote&expand-filename):
13594 New funs, split from comint-match-partial-filename.
13595 (comint-dynamic-complete): Use completion-at-point.
13596 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13598 2011-03-24 Drew Adams <drew.adams@oracle.com>
13600 * thingatpt.el: Support `defun'.
13602 2011-03-23 Leo Liu <sdl.web@gmail.com>
13604 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13606 * help-mode.el (help-mode-finish): Tweak regexp.
13608 2011-03-23 Glenn Morris <rgm@gnu.org>
13610 * eshell/esh-opt.el (eshell-eval-using-options):
13611 Do not bind unused local variable `eshell-option-stub'.
13613 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13615 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13617 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13618 keymap variable in `with-no-warnings' to avoid a warning when the
13619 keymap has been already `defconst'ed.
13621 2011-03-22 Leo Liu <sdl.web@gmail.com>
13623 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13624 encode all chars in abbrevs; otherwise use emacs-mule or
13625 utf-8-emacs. (Bug#8308)
13627 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13629 * simple.el (backward-delete-char-untabify):
13630 Avoid warning about using `delete-backward-char'.
13632 * image.el (image-type-file-name-regexps): Make it variable.
13633 `imagemagick-register-types' modifies it, and the user may want
13634 to add new extensions for known image types.
13635 (imagemagick-register-types): Throw error if not using ImageMagick.
13637 2011-03-22 Leo Liu <sdl.web@gmail.com>
13639 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13640 located before rcirc-prompt-end-marker.
13641 (rcirc-complete): Error if point is not after rcirc prompt.
13642 Handle the case when table is nil.
13643 (rcirc-user-authenticated): Define to fix compiler warning.
13645 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13647 * custom.el (custom--inhibit-theme-enable): Make it affect only
13648 custom-theme-set-variables and custom-theme-set-faces.
13649 (provide-theme): Ignore custom--inhibit-theme-enable.
13650 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13651 (custom-enabling-themes): Delete variable.
13652 (enable-theme): Accept only loaded themes as arguments.
13653 Ignore the special custom-enabled-themes variable.
13654 (custom-enabled-themes): Forbid themes from setting this.
13655 Eliminate use of custom-enabling-themes.
13656 (custom-push-theme): Quote "changed" custom var entry.
13658 2011-03-21 Leo Liu <sdl.web@gmail.com>
13660 * ido.el (ido-read-internal): Add ido-selected to history instead
13663 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13665 * subr.el (deferred-action-list, deferred-action-function):
13668 2011-03-21 Leo Liu <sdl.web@gmail.com>
13670 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13671 change on 2011-02-13 (bug#8309).
13673 * minibuffer.el (read-file-name-function): Change default value.
13674 (read-file-name--defaults): Rename from read-file-name-defaults.
13675 (read-file-name-default): Rename from read-file-name.
13676 (read-file-name): Call read-file-name-function.
13678 2011-03-21 Glenn Morris <rgm@gnu.org>
13680 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13683 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13685 * cus-theme.el: Add missing provide statement.
13686 (customize-create-theme): Extract theme value correctly.
13687 (custom-theme-visit-theme): Autoload.
13688 (customize-create-theme): Prompt before inserting default faces.
13690 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13692 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13693 units and musical notes.
13695 2011-03-20 Leo Liu <sdl.web@gmail.com>
13697 * ido.el (ido-read-internal): Use completing-read-default.
13698 (ido-completing-read): Fix compatibility with completing-read.
13700 2011-03-20 Christian Ohler <ohler@gnu.org>
13702 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13703 (ert-delete-all-tests): Use `called-interactively-p' rather than
13705 (ert--make-xrefs-region): Respect END.
13707 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13709 * dired-aux.el (dired-create-directory): Signal an error if the
13710 directory already exists (Bug#8246).
13712 * facemenu.el (list-colors-display): Call list-faces-display
13713 inside with-help-window.
13714 (list-colors-print): Use display property to align the final
13715 column, instead of checking window-width.
13717 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13719 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13720 windows-nt systems.
13721 (emerge-protect-metachars): Quote correctly for ms-dos and
13722 windows-nt systems.
13724 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13726 * info.el (info-initialize): Replace all uses of `:' with
13727 path-separator for compatibility with non-Unix systems.
13728 Cache quoting of path-separator. (Bug#8258)
13730 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13732 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13733 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13734 (mouse-avoidance-mode): Fix typos in docstrings.
13736 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13738 * startup.el (package-subdirectory-regexp): Move from package.el.
13739 Omit \\` and \\', and let callers add them.
13741 * emacs-lisp/package.el (package-strip-version)
13742 (package-load-all-descriptors): Add \\` and \\' to
13743 package-subdirectory-regexp before using it.
13744 (package-untar-buffer): New arg DIR; ensure that file untars only
13745 into this expected directory. Remove superfluous delete-region.
13746 (package-unpack): Caller changed.
13747 (package-tar-file-info): Use package-subdirectory-regexp.
13749 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13751 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13752 diff-mode-shared-map (bug#8284).
13753 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13755 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13757 * calendar/time-date.el (format-seconds): Use assoc instead of
13758 assoc-string, since assoc-string doesn't exist in XEmacs.
13760 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13762 * custom.el (custom-known-themes): Reflow docstring.
13763 (custom-theme-load-path): Fix typo in docstring.
13764 (load-theme): Fix typo in error message.
13765 (custom-available-themes, custom-variable-theme-value):
13766 Use `let', not `let*'.
13768 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13770 * calc/README: Mention inclusion of musical notes.
13772 * calc/calc-units.el (calc-lu-quant): Rename from
13773 `calc-logunits-quantity'.
13774 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13775 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13776 (calc-db): Rename from `calc-dblevel'.
13777 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13778 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13779 (calc-np): Rename from `calc-nplevel'.
13780 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13781 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13782 (calc-lu-plus): Rename from `calc-logunits-add'.
13783 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13784 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13785 (calc-lu-minus): Rename from `calc-logunits-sub'.
13786 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13787 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13788 (calc-lu-times): Rename from `calc-logunits-mul'.
13789 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13790 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13791 (calc-lu-divide): Rename from `calc-logunits-div'.
13792 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13793 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13795 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13796 functions being autoloaded.
13798 * calc/calc.el (calc-lu-power-reference): Rename from
13799 `calc-logunits-power-reference'.
13800 (calc-lu-field-reference): Rename from
13801 `calc-logunits-field-reference'.
13803 * calc/calc-help.el (calc-l-prefix-help):
13804 Mention musical note functions.
13806 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13808 * minibuffer.el (completion-all-sorted-completions):
13809 Use :completion-cycle-penalty text property if present.
13811 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13813 * allout.el (allout-yank-processing): Adjust for new rebulleting
13814 regime so bullet being yanked is used without prompting the user
13817 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13819 * startup.el (command-line): Warn the user that _emacs is deprecated.
13821 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13823 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13824 (delphi-verbose, delphi-comment-face, delphi-string-face)
13825 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13826 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13827 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13828 (delphi-new-comment-line, delphi-font-lock-defaults)
13829 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13830 Fix typos in docstrings.
13832 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13834 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13835 Invert the roles of character and string values for INSTEAD, so a
13836 string is used for the more common case of a defaulting prompt.
13838 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13840 * progmodes/ruby-mode.el (ruby-backward-sexp):
13841 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13842 * play/gamegrid.el (gamegrid-make-face):
13843 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13844 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13845 * notifications.el (notifications-notify):
13846 * net/xesam.el (xesam-search-engines):
13847 * net/quickurl.el (quickurl-list-insert):
13848 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13850 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13852 * startup.el (command-line): Update package subdirectory regexp.
13854 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13856 * allout.el (allout-abbreviate-flattened-numbering)
13857 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13859 * subr.el (read-char-choice): Only show the cursor after the prompt,
13860 not after the answer.
13862 2011-03-15 Kevin Ryde <user42@zip.com.au>
13864 * help-fns.el (variable-at-point): Skip leading quotes, if any
13867 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13869 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13872 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13874 * shell.el (shell): When called interactively, offer to change the
13875 shell file name on remote hosts.
13877 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13879 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13880 integration for LDAP parameters. The host, base, user or binddn,
13881 and secret tokens can be specified in a netrc file, for instance.
13882 This is optional because an `auth-source' parameter must be
13883 specified in the search attributes.
13885 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13887 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13889 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13891 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13892 into declaration. Remove redundant and harmful binding.
13894 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13896 * files.el (file-ownership-preserved-p): Pass `integer' as an
13897 explicit 2nd argument to `file-attributes'. If the file's owner
13898 is the Administrators group on Windows, and the current user is
13899 Administrator, consider that a match.
13901 * server.el (server-ensure-safe-dir): Consider server directory
13902 safe on MS-Windows if its owner is the Administrators group while
13903 the current Emacs user is Administrator. Use `=' to compare
13904 numerical UIDs, since they could be integers or floats.
13906 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13908 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13910 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13912 Sync with Tramp 2.2.1.
13914 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13916 * net/trampver.el: Update release number.
13918 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13920 * progmodes/compile.el (compilation--previous-directory): Fix up
13921 various nil/dead-marker mismatches (bug#8014).
13922 (compilation-directory-properties, compilation-error-properties):
13923 Don't call it at a position past the one we're about to change.
13925 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13926 Disable obsolescence warnings in the file that declares it.
13928 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13930 * allout-widgets.el (allout-widgets-tally):
13931 Initialize allout-widgets-tally as a hash table rather than nil to
13932 prevent mode-line redisplay warnings. Also, clarify the module
13933 description and fix a comment typo.
13935 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13937 * help-fns.el (describe-variable): Don't complete keywords.
13938 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13940 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13942 * emacs-lisp/package.el (package-version-join): Impose a standard
13943 string representation for pre/alpha/beta version lists.
13944 (package-unpack-single): Standardize the directory name by passing
13945 it through package-version-join.
13946 (package-strip-rcs-id): Accept any version string that does not
13947 signal an error in version-to-list.
13949 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13951 * simple.el (delete-trailing-whitespace): Return nil for the
13952 benefit of `write-file-functions'.
13954 2011-03-10 Glenn Morris <rgm@gnu.org>
13956 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13958 * vc/vc-git.el (vc-git-program): New option.
13959 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13960 (vc-git--call): Use it.
13962 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13964 * cus-edit.el (Custom-newline): If no button at point, look
13965 for a subgroup button at start-of-line. (Bug#2298)
13967 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13969 2011-03-10 Julien Danjou <julien@danjou.info>
13971 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13972 `cursor-type' is nil.
13974 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13976 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13978 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13980 * allout.el: Change so yank of distinctive-bullet items
13981 preserves the existing header prefix, rebulleting it if necessary,
13982 rather than replacing it. This is necessary for proper operation
13983 of cooperative addons like allout-widgets.
13984 (allout-make-topic-prefix, allout-rebullet-heading):
13985 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13986 value as alternate bullet to be used, instead of prompting the user
13987 for a bullet character.
13989 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13991 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13992 Do not use `tramp-file-name-port', because this returns also
13993 `tramp-default-port'.
13995 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13997 * net/rcirc.el (rcirc-handler-001): Remove useless
13998 with-rcirc-process-buffer.
13999 (rcirc-check-auth-status): Swap arguments to string-match.
14001 2011-03-09 Glenn Morris <rgm@gnu.org>
14003 * shell.el (shell-mode):
14004 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14006 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14007 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14009 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14011 * emacs-lisp/package.el (package-refresh-contents)
14012 (package-menu-execute): Use condition-case-no-debug.
14014 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14016 * simple.el (shell-command-to-string): Use `process-file'.
14018 * emacs-lisp/package.el (package-tar-file-info): Handle also
14021 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14022 Use `equal' for upload base check.
14024 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14026 * textmodes/texinfo.el (texinfo-environments):
14027 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14029 2011-03-08 Glenn Morris <rgm@gnu.org>
14031 * cus-start.el (cursor-in-non-selected-windows):
14032 Fix :set quoting oddness. (Bug#8192)
14034 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14035 in some setf expressions. (Bug#2159)
14037 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14039 * custom.el (custom-available-themes): Return themes in
14040 alphabetical order.
14042 See ChangeLog.15 for earlier changes.
14044 ;; Local Variables:
14048 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14050 This file is part of GNU Emacs.
14052 GNU Emacs is free software: you can redistribute it and/or modify
14053 it under the terms of the GNU General Public License as published by
14054 the Free Software Foundation, either version 3 of the License, or
14055 (at your option) any later version.
14057 GNU Emacs is distributed in the hope that it will be useful,
14058 but WITHOUT ANY WARRANTY; without even the implied warranty of
14059 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14060 GNU General Public License for more details.
14062 You should have received a copy of the GNU General Public License
14063 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.