From: Glenn Morris Date: Tue, 17 Apr 2012 03:06:56 +0000 (-0700) Subject: Merge from pending; try to fix-up suboptimal ses ChangeLog. X-Git-Tag: emacs-24.2.90~471^2~352^2~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2311d8e5a62b8b6dd7dde45b4b8059d443e2abac;p=emacs.git Merge from pending; try to fix-up suboptimal ses ChangeLog. --- 2311d8e5a62b8b6dd7dde45b4b8059d443e2abac diff --cc lisp/ChangeLog index 90f48d2ab1e,37b00e4a7b0..992fee42c28 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,682 -1,52 +1,714 @@@ -2012-03-25 Stefan Monnier ++2012-04-17 Stefan Monnier + - * newcomment.el (comment-inline-offset): Don't autoload. - (comment-choose-indent): Obey comment-inline-offset. ++ * emacs-lisp/smie.el: Provide smarter auto-filling. ++ (smie-auto-fill): New function. ++ (smie-setup): Use it. + -2012-03-25 Philipp Haselwarter (tiny change) ++ * newcomment.el (comment-choose-indent): Obey comment-inline-offset. ++ ++2012-04-17 Philipp Haselwarter (tiny change) + + * newcomment.el (comment-inline-offset): New custom var (bug#11090). + (comment-indent): Use it. + -2012-02-15 Stefan Monnier - - * emacs-lisp/smie.el: Provide smarter auto-filling. - (smie-auto-fill): New function. - (smie-setup): Use it. - -2011-12-27 Vincent Belaïche ++2012-04-17 Vincent Belaïche + + * ses.el: The overall change is to add cell renaming, that is + setting fancy names for cell symbols other than name matching + "\\`[A-Z]+[0-9]+\\'" regexp . ++ (ses-localvars): Add ses--renamed-cell-symb-list. + (ses-create-cell-variable): New defun. ++ (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols. + (ses-relocate-formula): Relocate formulas only for cells the + symbols of which are not renamed, i.e. symbols whose names do not + match regexp "\\`[A-Z]+[0-9]+\\'". + (ses-relocate-all): Relocate values only for cells the symbols of + which are not renamed. + (ses-load): Create cells variables as the (ses-cell ...) are read, + in order to check row col consistency with cell symbol name only + for cells that are not renamed. + (ses-replace-name-in-formula): New defun. + (ses-rename-cell): New defun. - (ses-call-printer-return, ses-cell-property-get) - (ses-sym-rowcol, ses-printer-validate, ses-formula-record) - (ses-create-cell-variable, ses-reset-header-string) - (ses-cell-set-formula, ses-repair-cell-reference-all) - (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell) - (ses-check-curcell, ses-call-printer, ses-adjust-print-width) - (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula) - (ses-aset-with-undo, ses-load, ses-truncate-cell) - (ses-read-column-printer, ses-read-default-printer, ses-insert-row) - (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column) - (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf) - (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column) - (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range) - (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!) - (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span) - (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings. + +2012-04-17 Peter Oliver (tiny change) + + * progmodes/perl-mode.el (perl-indent-parens-as-block): + New option (bug#11118). + (perl-calculate-indent): Respect it. + +2012-04-17 Glenn Morris + + * dired-aux.el (dired-mark-read-string): Doc fix. + +2012-04-17 Dmitry Antipov + + * dired-aux.el (dired-mark-read-string): Offer optional completion. + (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900) + +2012-04-17 Glenn Morris + + * mouse.el (mouse-drag-track): + * speedbar.el (speedbar-frame-mode): + Use auto-hscroll-mode rather than the alias automatic-hscrolling. + +2012-04-16 Leo Liu + + * progmodes/python.el: Trivial cleanup. + +2012-04-16 Glenn Morris + + * vc/vc.el (vc-string-prefix-p): + * vc/pcvs-util.el (cvs-string-prefix-p): + * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p): + * mpc.el (mpc-string-prefix-p): + Make all of these into obsolete aliases for string-prefix-p. + Update callers. + * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers. + + * textmodes/two-column.el: Move custom options to the start. + (frame-width): Remove compat definition. + (2C-associate-buffer, 2C-dissociate): + Use with-current-buffer rather than save-excursion. + (2C-dissociate): Force a mode-line update. + (2C-autoscroll): Use ignore-errors. + + * emacs-lisp/eieio-opt.el (describe-class, describe-generic): + Autoload trivia. + + * emacs-lisp/cl-extra.el (*random-state*): + Remove unnecessary declaration. + + * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification. + + * play/cookie1.el (cookie-snarf): + Give an explicit error if input file cannot be read. + + * play/yow.el (yow-file): Use expand-file-name rather than concat. + + * progmodes/perl-mode.el (c-macro-expand): + Remove unnecessary autoload (it is in loaddefs.el). + + * textmodes/picture.el (picture-desired-column) + (picture-update-desired-column): Convert comments to doc-strings. + (picture-substitute): Remove function. + (picture-mode-map): Initialize in the defvar. + + * woman.el: Remove eval-after-load for tar-mode. + * tar-mode.el (tar-mode-map): Add woman binding and menu entry. + (woman-tar-extract-file): Autoload it. + + * frame.el (automatic-hscrolling): Make this alias obsolete. + +2012-04-12 Agustín Martín Domingo + + * ispell.el (ispell-set-spellchecker-params): Post-process + `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible. + (ispell-dictionary-base-alist): Revert to original XEmacs + friendly version for default. [:alpha:] will be added in + `ispell-set-spellchecker-params' if needed + +2012-04-16 Chong Yidong + + * image.el (imagemagick--extension-regexp): New variable. + (imagemagick-register-types): Use it. + (imagemagick-types-inhibit): Add :set function. Allow new value + of t to inhibit all types. + + * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros, + so we can preload it. + + * loadup.el (fboundp): Preload regexp-opt, needed by + imagemagick-register-types. + +2012-04-15 Chong Yidong + + * frame.el (scrolling): Remove nearly unused customization group. + + * scroll-all.el (scroll-all-mode): Move to windows group. + +2012-04-15 Chong Yidong + + * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240). + +2012-04-15 Stefan Monnier + + Avoid the use of ((lambda ...) ...) in lexical-binding code. + * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241). + +2012-04-15 Glenn Morris + + * simple.el (process-file-side-effects): Doc fix. + +2012-04-15 Glenn Morris + + * international/mule-cmds.el (set-language-environment): Doc fix. + +2012-04-14 Juanma Barranquero + + * server.el (server-auth-key, server-generate-key): Doc fixes. + (server-get-auth-key): Doc fix. Use `string-match-p'. + (server-start): Reflow docstring. + +2012-04-14 Lars Ingebrigtsen + + * server.el (server-generate-key): `called-interactively-p' + requires a parameter. + +2012-04-14 Michal Nazarewicz + + * server.el (server-auth-key): New variable. + (server-generate-key, server-get-auth-key): New function. + (server-start): Use the new variable and functions to allow + setting a permanent server key (bug#9423). + +2012-04-14 Leo Liu + + * vc/diff-mode.el (diff-file-prev/next): Fix typo. + +2012-04-14 Paul Eggert + + Spelling fixes. + * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since + Emacs uses American spelling. + +2012-04-14 Juanma Barranquero + + * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook. + (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix. + (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions) + (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017) + +2012-04-14 Stefan Monnier + + * progmodes/which-func.el (which-func-modes): Change default. + +2012-04-14 Kim F. Storm + + * emulation/cua-base.el (cua-exchange-point-and-mark): Just call + exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191). + +2012-04-14 Chong Yidong + + * custom.el (custom-theme-set-variables): Doc fix. + +2012-04-14 Glenn Morris + + * international/mule.el (set-auto-coding-for-load): Doc fix. + +2012-04-14 Alan Mackenzie + + * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make + imenu work again for Objective C Mode. Correct the *-index values, + these having been disturbed by a previous change in 2011-08. + + * progmodes/cc-engine.el (c-before-change-check-<>-operators): + Correct two search limits. + +2012-04-14 Stefan Monnier + + * startup.el (command-line-1): Inhibit splash from daemon (bug#10996). + +2012-04-14 Andreas Schwab + + * international/characters.el: Fix sorting. + +2012-04-14 Eli Zaretskii + + * international/characters.el: Add more missing Latin case pairs. + +2012-04-14 Glenn Morris + + * files.el (dir-locals-set-class-variables): Doc fix. + +2012-04-14 Eli Zaretskii + + * international/characters.el: Add set-case-syntax-pair call for + LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case + counterpart. (Bug#11209) + + * simple.el (shell-command-on-region): Doc fix. (Bug#11208) + +2012-04-14 Glenn Morris + + * calendar/holidays.el (calendar-check-holidays): Doc fix. + +2012-04-14 Eli Zaretskii + + * textmodes/ispell.el (ispell-dictionary-base-alist): + Add data for Hebrew. + +2012-04-14 Chong Yidong + + * net/rcirc.el (rcirc-cmd-quit): + Revert 2012-03-18 change (Bug#11192). + +2012-04-14 Glenn Morris + + * pcmpl-rpm.el (pcomplete/rpm): Handle -qf. + +2012-04-14 Eli Zaretskii + + * minibuffer.el (completion-in-region-mode-map): + Bind completion-help-at-point to M-? rather than ?. (Bug#11182) + +2012-04-13 Vivek Dasmohapatra + + * hexl.el (hexl-insert-char): Make display sizes other than 16 work. + +2012-04-13 Masatake YAMATO + + * minibuffer.el (minibuffer-local-filename-syntax): New variable + to allow `C-M-f' and `C-M-b' to move to the nearest path + separator (bug#9511). + +2012-04-13 Lars Ingebrigtsen + + * avoid.el: Require cl when compiling. And also move the + `provide' to the end. + +2012-04-13 Thierry Volpiatto + + * avoid.el (mouse-avoidance-banish-position): New variable. + (mouse-avoidance-banish-destination): Use it (bug#10165). + +2012-04-13 Leo Liu + + * progmodes/which-func.el (which-func-modes): Add objc-mode. + +2012-04-13 Ken Brown + + * net/browse-url.el (browse-url-file-url): Remove Cygwin hack; + this is no longer needed now that cygstart understands file:// URLs. + (browse-url-filename-alist): For the same reason, don't modify + file:// URLs on Cygwin. + +2012-04-13 Stefan Monnier + + * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate + the region on shift if the binding is already shifted (bug#11221). + +2012-04-12 Glenn Morris + + * mail/mailpost.el: Move to obsolete/. + +2012-04-12 Drew Adams + + * imenu.el (imenu--generic-function): Ignore invisible definitions + (bug#10123). + +2012-04-12 Vivek Dasmohapatra + + * hexl.el (hexl-bits): New variable. + (hexl-options): Mention the variable in the doc string. + (hexl-rulerise, hexl-line-displen): New functions. + (hexl-mode): Mention the new variable. + (hexl-mode, hexl-current-address, hexl-current-address): + Use the displen. + (hexl-ascii-start-column): New function. + (hexl-address-to-marker, hexl-beginning-of-line, hexl-options) + (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941). + +2012-04-12 Agustín Martín Domingo + + * textmodes/flyspell.el (flyspell-large-region): For hunspell, use + '("-i" ENCODING), in 2 separate command-line arguments, to specify + the encoding, as expected by hunspell. + +2012-04-12 Stefan Monnier + + * battery.el (battery--linux-sysfs-regexp): New const. + (battery-status-function): Use it. Remove yeeloong special case. + (battery-yeeloong-sysfs): Remove. + (battery-echo-area-format): Remove yeeloong special case. + +2012-04-11 Stefan Monnier + + * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil. + Reported by Noah Friedman. + + * subr.el (read-passwd): Use read-string. + +2012-04-11 Lars Magne Ingebrigtsen + + * vcursor.el (vcursor-move): Increase the priority of the overlay + (bug#9663). + +2012-04-11 Deniz Dogan + + * net/rcirc.el (rcirc-kill-channel-buffers): New variable. + (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128). + +2012-04-11 William Stevenson + + * textmodes/artist.el (artist-mode): Convert artist-mode to use + define-minor-mode (bug#10760). + +2012-04-11 Wolfgang Jenkner (tiny change) + + * lisp/progmodes/grep.el (rgrep): Tweak the find command line so + that directories matching `grep-find-ignored-files' won't be + pruned (bug#10351). + +2012-04-11 Chong Yidong + + * startup.el (command-line): Remove support for long-obsolete + variable font-lock-face-attributes. + +2012-04-11 Glenn Morris + + * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug. + +2012-04-11 Stefan Monnier + + * window.el (window--state-get-1): Obey window-point-insertion-type. + +2012-04-11 Lennart Borgman + + * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes + to previous function when point is on the first character of a + function. Take care of that in `narrow-to-defun' (bug#6157). + +2012-04-11 Glenn Morris + + * vc/vc-bzr.el (vc-bzr-status): Handle all errors, + not just file-errors. + + * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove. + (vc-bzr-sha1): Use internal sha1. + +2012-04-11 Stefan Monnier + + * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954). + +2012-04-10 Sébastien Gross (tiny change) + + * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments + that start in the middle of the line (bug#10496). + +2012-04-10 Dan Nicolaescu + + * battery.el (battery-linux-proc-acpi): Only one battery is + discharged at a time, but that seems to confuse battery.el when + computing `rate-type' for the battery not being discharged + (bug#10332). + +2012-04-10 Stefan Monnier + + * emacs-lisp/autoload.el (autoload-make-program): Remove, unused. + + * international/quail.el: Use dolist and simplify. + (quail-define-package, quail-update-keyboard-layout) + (quail-define-rules): Use dolist. + (quail-insert-kbd-layout, quail-get-translation): CSE. + + * tmm.el: Use dolist, remove left over hook. + (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind): + Use dolist. + (calendar-load-hook): Don't mess with it. + + * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal): + Use derived-mode-p. Run the diff asynchronously. + +2012-04-10 Lars Magne Ingebrigtsen + + * obsolete/mouse-sel.el: Add an Obsolete-since header. + +2012-04-10 Juanma Barranquero + + * misc.el: Display absolute path of loaded DLLs (bug#10424). + (list-dynamic-libraries--loaded): New function. + (list-dynamic-libraries--refresh): Use it. + +2012-04-10 Nathan Weizenbaum + + * progmodes/python.el (python-fill-paragraph): + Make python-fill-region in a multiline string work when font-lock is + disabled (bug#7018). + +2012-04-10 Laimonas Vėbra (tiny change) + + * language/european.el (cp775): Add oem/legacy (en)coding on + DOS/MS Windows for the Baltic languages. There are still plenty + of texts written in this encoding/codepage (bug#6519). + +2012-04-10 Glenn Morris + + * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac): + Add :standard values, reducing "rogue" customs in emacs -Q a bit more. + +2012-04-10 Florian Adamsky (tiny change) + + * recentf.el (recentf-dialog-mode-map): Add two keybindings for + next-line "n" and previous-line "p" in order to make recentf more + consistent with ibuffer, dired or org-mode (bug#9387). + +2012-04-10 Lars Magne Ingebrigtsen + + * image.el (put-image): Return the overlay created instead of the + optional input string (bug#7834). Note that this may break code + that is (for some reason or other) depending on `put-image' + returning the string. + + * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174). + + * simple.el (zap-to-char): Allow zapping using input methods + (bug#1580). + + * textmodes/fill.el (fill-region): Leave point and mark where they + were before filling (bug#5399). + +2012-04-09 Glenn Morris + + * version.el (emacs-bzr-get-version): + Handle lightweight checkouts of local branches. + +2012-04-09 Andreas Schwab + + * international/characters.el: Recover lost case pairs. (Bug#11209) + +2012-04-09 Chong Yidong + + * custom.el (custom-variable-p): Return nil for non-symbol + arguments instead of signaling an error. + (user-variable-p): Obsolete alias for custom-variable-p. + + * apropos.el (apropos-variable): + * files-x.el (read-file-local-variable): + * simple.el (set-variable): + * woman.el (woman-mini-help): + * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed. + +2012-04-09 Glenn Morris + + * startup.el (normal-top-level): Don't look for leim-list.el + in places where it will not be found. (Bug#910) + + * international/mule-cmds.el (set-default-coding-systems): + * files.el (normal-mode): + Remove guarded calls to ucs-set-table-for-input. (Bug#9821) + This function was removed with ucs-tables.el in 2008. + +2012-04-08 Eli Zaretskii + + * textmodes/ispell.el (ispell-check-version): For hunspell, set + ispell-encoding8-command to "-i", without a trailing space. + (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2 + separate command-line arguments, to specify the encoding, since + that's how hunspell expects it. + +2012-04-08 Glenn Morris + + * loadup.el: Load bindings before cus-start. + This reduces somewhat the number of "rogue" settings in emacs -Q. + +2012-04-07 Glenn Morris + + * version.el (emacs-bzr-get-version): New function. + (emacs-bzr-version): New variable. + * loadup.el (emacs-bzr-version): Set it. (Bug#8054) + * mail/emacsbug.el (report-emacs-bug): Include bzr version. + +2012-04-07 Eli Zaretskii + + * international/uni-bidi.el, international/uni-category.el: + * international/uni-combining.el, international/uni-decimal.el: + * international/uni-decomposition.el, international/uni-digit.el: + * international/uni-lowercase.el, international/uni-mirrored.el: + * international/uni-name.el, international/uni-numeric.el: + * international/uni-titlecase.el, international/uni-uppercase.el: + Update for Unicode 6.1. + +2012-04-07 Eli Zaretskii + + * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs. + +2012-04-05 Lars Magne Ingebrigtsen + + * window.el (shrink-window): Mention the `window-min-height' + variable in the doc string. + +2012-04-05 Bastien Guerry + + * color.el (color-lighten-name): Fix typo. + +2012-04-04 Stefan Monnier + + * server.el (server--on-display-p): New function. + (server--on-display-p): Use it. + +2012-04-04 Gabor Vida (tiny change) + + * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p + (bug#11145). + +2012-04-04 Stefan Monnier + + * comint.el (comint--common-quoted-suffix): Check string boundary + before comparing (bug#11158). + * pcomplete.el (pcomplete--common-quoted-suffix): Idem. + +2012-04-04 Chong Yidong + + * minibuffer.el (completion-extra-properties): Doc fix. + + * subr.el (delayed-warnings-hook): Doc fix. + +2012-04-04 Daiki Ueno + + * epa.el (epa--select-keys): Bind C-c C-c to finish the key + selection (Bug#11159). + (epa-insert-keys): Inform that the default public key will be + exported if no key is selected. + +2012-04-04 Richard Stallman + + * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only. + +2012-04-03 Chong Yidong + + * mail/sendmail.el (mail-mode-map): Bind C-c C-i to + mail-insert-file, not its obsolete alias mail-attach-file. + +2012-04-03 Michael Albinus + + * notifications.el (notifications-notify): Fix docstring. + +2012-04-02 Glenn Morris + + * emacs-lisp/authors.el (authors-aliases): Another addition. + +2012-04-02 Michael Albinus + + * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply + `tramp-compat-call-process' instead of `tramp-local-call-process'. + Reported by Magnus Henoch . + +2012-04-01 Chong Yidong + + * files.el (file-in-directory-p): Rename from file-subdir-of-p. + Handle root directory properly. + (copy-directory): Caller changed. + + * dired-aux.el (dired-copy-file-recursive, dired-create-files): + * net/tramp.el (tramp-file-name-for-operation): Callers changed. + +2012-03-31 Glenn Morris + + * term/xterm.el (xterm-extra-capabilities): Doc fix. + + * language/indian.el ("Devanagari"): Fix typo. (Bug#11103) + + * calendar/calendar.el (calendar-window-list) + (calendar-hide-window): Restore. (Bug#11140) + (calendar-exit): Use calendar-window-list, calendar-hide-window again. + + * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix. + +2012-03-30 Thierry Volpiatto + + * dired-aux.el (dired-copy-file-recursive, dired-create-files): + Check if file is a symlink (Bug#10489). + + * files.el (copy-directory): Likewise. + +2012-03-30 Chong Yidong + + * image.el (imagemagick-types-inhibit) + (imagemagick-register-types): Doc fix. + +2012-03-30 Agustín Martín Domingo + + * ispell.el (ispell-get-extended-character-mode): Disable + extended-char-mode for hunspell. hunspell does not support it + and treats ~word as ordinary words in pipe mode. + +2012-03-30 Glenn Morris + + * tutorial.el (help-with-tutorial): Ensure local variables don't + happen to make the buffer read-only. (Bug#11127) + +2012-03-30 Stefan Monnier + + * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings. + (perl-calculate-indent): Return `noindent' in strings. + +2012-03-28 Sam Steingold + + * calendar/calendar.el (calendar-exit): Use `quit-windows-on' + instead of the broken adhockery which does not prevent calendar + buffers from being displayed at random after exit. + (calendar-window-list, calendar-hide-window): Remove the broken + adhockery. + +2012-03-28 Glenn Morris + + * replace.el (query-replace-map): Doc fix. + +2012-03-28 Andreas Schwab + + * vc/vc-git.el (vc-git-state): Don't try to match all of the diff + contents. (Bug#11109) + +2012-03-27 Stefan Monnier + + * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo + (bug#11077). + (avl-tree--check, avl-tree--check-node): New funs. + +2012-03-27 Martin Rudalics + + * window.el (switch-to-visible-buffer): New option. + (switch-to-prev-buffer, switch-to-next-buffer): + Observe switch-to-visible-buffer. Make sure that checking for a window + showing a buffer already is done on the same frame. + +2012-03-27 Glenn Morris + + * startup.el (mail-host-address): Doc fix. + +2012-03-26 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more + than 197 variables. + +2012-03-26 Ami Fischman + + * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking. + +2012-03-26 Glenn Morris + + * files.el (save-buffers-kill-emacs): Doc fix. + + * startup.el (normal-top-level, command-line, command-line-1): + Give them doc strings. + +2012-03-25 Eli Zaretskii + + * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead + of same-dir.tst, to avoid stepping on other (parallel) Make job's toes. + +2012-03-25 Chong Yidong + + * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the + theme if it was previously enabled before (Bug#11031). + + * cus-theme.el (custom-theme-write-faces): Retrieve current face + spec with custom-face-get-current-spec if its :shown-value is not + determined yet (Bug#9337). + (customize-create-theme, custom-theme-revert): Doc fixes. + + * button.el (button-at): Minor addition to docstring. + +2012-03-24 Simon Leinen + + * vc/vc.el (vc-merge): Fix a prompt. + +2012-03-24 Chong Yidong + + * mwheel.el (mwheel-scroll): Call deactivate-mark at the right + point (Bug#9623). + + * button.el (button-at): Minor addition to docstring. 2012-03-23 Stefan Monnier diff --cc lisp/newcomment.el index 37a76e0309c,ce6ba4317e5..0862427c3ba --- a/lisp/newcomment.el +++ b/lisp/newcomment.el @@@ -269,6 -269,18 +269,19 @@@ makes the comment easier to read. Defa :type '(choice string integer (const nil)) :group 'comment) + (defcustom comment-inline-offset 1 + "Inline comments have to be preceded by at least this many spaces. -This is usefull when style-conventions require a certain minimal offset. ++This is useful when style-conventions require a certain minimal offset. + Python's PEP8 for example recommends two spaces, so you could do: + + \(add-hook 'python-mode-hook - (lambda nil (set (make-local-variable 'comment-inline-offset) 2))) ++ (lambda () (set (make-local-variable 'comment-inline-offset) 2))) + + See `comment-padding' for whole-line comments." ++ :version "24.2" + :type 'integer + :group 'comment) + ;;;###autoload (defcustom comment-multi-line nil "Non-nil means `comment-indent-new-line' continues comments. @@@ -586,8 -598,9 +599,8 @@@ Point is expected to be at the start o (- (or comment-fill-column fill-column) (save-excursion (end-of-line) (current-column))))) (other nil) - (min (save-excursion - (skip-chars-backward " \t") - (if (bolp) 0 (+ comment-inline-offset (current-column)))))) + (min (save-excursion (skip-chars-backward " \t") - (if (bolp) 0 (1+ (current-column)))))) ++ (if (bolp) 0 (+ comment-inline-offset (current-column)))))) ;; Fix up the range. (if (< max min) (setq max min)) ;; Don't move past the fill column.