]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
* textmodes/fill.el (fill-region-as-paragraph): Handle overshoot by move-to-column.
[gnu-emacs] / lisp / ChangeLog
index c2d1b58b6ece34e86b812df300589b205d304102..eef59e75ac8d2224622f3bc02bd28f70aed8e0b0 100644 (file)
@@ -1,5 +1,344 @@
+2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
+
+       * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
+       by move-to-column (Bug#3234).
+
+2012-11-30  Chong Yidong  <cyd@gnu.org>
+
+       * longlines.el (longlines-wrap-line, longlines-encode-region):
+       Preserve text properties (Bug#1425).
+
+2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
+
+       * vc/vc.el (vc-register): Allow registering a file which is
+       already registered with a different backend (Bug#10589).
+
+2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
+            Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * icomplete.el: Change separator; add ido-style commands.
+       (icomplete-show-key-bindings): Remove custom var.
+       (icomplete-get-keys): Remove function.
+       (icomplete-forward-completions, icomplete-backward-completions):
+       New commands.
+       (icomplete-minibuffer-map): New var.
+       (icomplete-minibuffer-setup): Use it.
+       (icomplete-exhibit): Don't delay if the list of completions is known.
+       (icomplete-separator): New custom.
+       (icomplete-completions): Use it.
+       * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
+       (minibuffer-force-complete-and-exit): New command.
+       (minibuffer--complete-and-exit): New function extracted from
+       minibuffer-complete-and-exit.
+       (minibuffer-complete-and-exit): Use it.
+
+       * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
+       error message when the file doesn't exist (bug#12974).
+
+2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
+
+       * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
+
+2012-11-29  Glenn Morris  <rgm@gnu.org>
+
+       * files.el (hack-dir-local-variables): Warn if try to set
+       coding via dir-locals, since it doesn't work.  (Bug#7169)
+
+       Add desktop support for restoring vc-dir buffers.  (Bug#10606)
+       * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
+       Set buffer-local value of desktop-save-buffer.
+       (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
+       New functions.
+       (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
+       * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
+
+       * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
+       (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
+       Doc fix.
+       (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
+       Doc fixes.
+
+2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-forms.el (calc-date-notation): Fix regexp
+       used to find time codes.  Fix symbol for seconds.
+
+2012-11-27  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/derived.el (derived-mode-make-docstring):
+       Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
+
+2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * textmodes/table.el (table-insert): Don't use `symbol-name' on
+       lexically scoped variables (bug#13005).
+
+2012-11-27  Glenn Morris  <rgm@gnu.org>
+
+       * vc/vc-hooks.el (vc-mistrust-permissions):
+       Default to t, to avoid data-loss.  (Bug#11490)
+
+2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el (python-indent-guess-indent-offset):
+       If indentation is guessed make python-indent-offset buffer-local.
+
+       Fix Imenu regression.
+       * progmodes/python.el (python-nav-beginning-of-defun):
+       Fix forward movement when statement(s) separates point from defun.
+       (python-imenu-prev-index-position): New function.
+
+2012-11-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
+
+       * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
+       Don't set buffer-file-type.  Return nil.  (Bug#12989)
+
+2012-11-27  Glenn Morris  <rgm@gnu.org>
+
+       * hippie-exp.el (hippie-expand-try-functions-list):
+       Re-autoload it.  (Bug#12982)
+
+2012-11-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * descr-text.el (describe-char-padded-string):
+       Call internal-char-font only on GUI frames.  (Bug#11964)
+
+2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
+       and obsoletion message.
+
+2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
+       the constructs to keep outside of the `cl-block' (bug#12977).
+
+2012-11-27  Chong Yidong  <cyd@gnu.org>
+
+       * mouse.el (mouse-drag-line): Even if the line is not draggable,
+       keep reading until we get the up-event anyway, in order to process
+       the up-event for mouse-1-click-follows-link (Bug#12971).
+
+2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
+       base function is not yet defined (bug#12965).
+       (ad-activate-advised-definition): Use ad-compile-function.
+       (ad-activate): Use cond.
+
+2012-11-25  Leo Liu  <sdl.web@gmail.com>
+
+       * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
+       (Bug#12979)
+
+2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
+
+       * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
+       reftex-section-info-function in order to be compatible with
+       Texinfo integration.
+
+       * textmodes/reftex.el (reftex-section-pre-regexp)
+       (reftex-section-post-regexp, reftex-section-info-function):
+       New variable.
+       (reftex-compile-variables): Use variables reftex-section-pre-regexp,
+       reftex-section-post-regexp, and reftex-section-info-function in order
+       to be compatible with Texinfo integration.
+
+       * textmodes/reftex-toc.el (reftex-toc-promote-action):
+       use reftex-section-pre-regexp variable in order to be compatible with
+       Texinfo integration.
+
+2012-11-25  Chong Yidong  <cyd@gnu.org>
+
+       * faces.el: Make face-spec-set more analogous to setq.
+       (face-spec-set): Change the third arg to specify whether this
+       function is being called via defface, customize, or a third party.
+       Set the appropriate symbol properties.  Clear the override spec if
+       setting via Custom.  Initialize face if necessary.  (Bug#4988)
+       (face-spec-recalc): Allow theme faces to completely replace the
+       defface spec, in the same way as custom faces (Bug#8454).
+
+       * cus-face.el (custom-declare-face): Move face initialization to
+       face-spec-set.
+       (custom-theme-set-faces): Don't initialize the face name here, as
+       that is now done in face-spec-set.
+
+       * cus-edit.el (custom-face-set, custom-face-mark-to-save)
+       (custom-face-reset-saved, custom-face-mark-to-reset-standard):
+       Simplify by using the new arg to face-spec-set.
+
+       * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
+       reset face-override-spec too, and use custom-declare-face.
+
+2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * term/ns-win.el (ns-initialize-window-system): Move creation of
+       fontsets here (Bug#11964).
+
+2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
+
+       * ses.el (ses-rename-cell): Correct bug on mode-line update after
+       cell renaming.
+
+2012-11-24  Chong Yidong  <cyd@gnu.org>
+
+       * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
+       obsolete.
+
+       * custom.el (custom-theme-set-variables): Use a topological sort
+       for ordering by custom dependencies (Bug#12952).
+       (custom--sort-vars, custom--sort-vars-1): New functions.
+
+2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
+       lexical-binding (bug#12938).
+
+2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
+
+       * image-mode.el (image-transform-check-size): Use assertions only
+       for images of type imagemagick.
+
+       Otherwise no error, image-transform-fit-to-{width,height} is
+       silently ignored, as before.  Doc fix.
+
+2012-11-24  Chong Yidong  <cyd@gnu.org>
+
+       * faces.el (color-defined-p): Doc fix (Bug#12853).
+
+2012-11-24  Juri Linkov  <juri@jurta.org>
+
+       * dired.el (dired-mark): Add optional arg `interactive'.
+       Check for `use-region-p' if `interactive' is non-nil.
+       (dired-unmark, dired-flag-file-deletion): Add optional arg
+       `interactive'.  Call `dired-mark' with the arg `interactive'.
+       (Bug#10624)
+
+       * wdired.el: Revert 2012-10-17 change partly and replace it with
+       Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
+       (wdired-finish-edit): Add marks for new file names to
+       `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
+       after `revert-buffer'.
+       (wdired-do-renames): Remove calls to `dired-remove-file',
+       `dired-add-file', `dired-add-entry'.  (Bug#11795)
+
+2012-11-24  Alan Mackenzie  <acm@muc.de>
+
+       * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
+
+       Fix bugs in the state cache.  Enhance a debugging mechanism.
+       * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
+       "brace at column zero" strategy for C++.
+       (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
+       (c-parse-state-point): New variable.
+       (c-record-parse-state-state): Record old parse state with
+       `copy-tree'.  Record previous value of point.
+       (c-debug-parse-state-double-cons): New debugging function.
+       (c-debug-parse-state): Call the above new function.
+       (c-toggle-parse-state-debug): Output a confirmatory message.
+
+       * progmodes/cc-mode.el (c-before-change, c-after-change):
+       Call c-invalidate-state-cache from `c-before-change' instead of
+       `c-after-change'.
+
+2012-11-23  Chong Yidong  <cyd@gnu.org>
+
+       * find-cmd.el (find-constituents): Add executable, ipath,
+       readable, samefile, writable, daystart, regextype (Bug#12856).
+
+2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
+
+2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
+       definition.  This fixes a bootstrap failure.
+       (calc-gregorian-switch): In menu, put dates before regions.
+       This is easier to follow, lines up better in the menu, and lets us
+       coalesce regions that switch at the same time.  Give country
+       names, not "Vatican", as that's better for non-expert users.
+       Use names that are stable between the date of switch and now, e.g.,
+       Bohemia and Moravia (which existed then and now) and not
+       Czechoslovakia (which didn't exist then and doesn't exist now).
+       What is now the U.S. mostly did not switch at the same time as
+       Britain, so omit the U.S.  Correct spelling of "Britain".
+       Catholic Switzerland was too much of a mess, so omit it.
+
+2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
+       after the variable is changed.
+
+2012-11-21  Daniel Colascione  <dancol@dancol.org>
+
+       * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
+       in SQL declarations for font-lock.
+       (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
+
+2012-11-21  Glenn Morris  <rgm@gnu.org>
+
+       * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
+       (face-italic-p): Add optional argument "inherit".
+
+       * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
+       Remove -p suffix from names, for consistency with other set-face-*.
+       (set-face-inverse-video): Fix interactive spec.
+       * play/gamegrid.el (gamegrid-make-mono-tty-face):
+       * textmodes/table.el (table--update-cell-face):
+       Use set-face-inverse-video rather than now obsolete alias.
+
+2012-11-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (line-move): Don't call line-move-partial if
+       scroll-conservatively is in effect.  (Bug#12927)
+
+2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
+       Fallback on completion-at-point rather than
+       pcomplete-expand-and-complete, and only if pcomplete actually failed.
+       (eshell-cmpl-initialize): Setup completion-at-point.
+
+       * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
+
+       * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
+
+2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
+       are remote, check out-of-band property for both.
+
+2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * window.el (switch-to-buffer): Re-add the warning that was lost in the
+       code rewrite.
+
+2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       More minor time fixes.
+       * calendar/time-date.el: Commentary fix.
+       * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
+       too much other code depends on (0 0) time stamps.
+       * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
+       Add a couple of FIXME comments.
+
+       Minor cleanup for times as lists of four integers.
+       * files.el (dir-locals-directory-cache):
+       * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
+       Doc fixes.
+       * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
+       * ps-bdf.el (bdf-file-newer-than-time):
+       Process four-integers time stamps, not two.  Doc fixes.
+
 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * uniquify.el (uniquify-managed): Use defvar-local.
+       (rename-buffer, create-file-buffer): Advise with advice-add.
+       (uniquify-unload-function): Unadvise accordingly.
+
        * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
        (trace-buffer): Don't purecopy.
        (trace-entry-message, trace-exit-message): Add `context' arg.
 
 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
 
+       Calc by default uses the Gregorian calendar for all dates (Bug#12633).
+       It also uses January 1, 1 AD as its day number 1.
        * calc/calc-forms.el (math-julian-date-beginning)
-       (math-julian-date-beginning-int): Implement [new date numbering].
+       (math-julian-date-beginning-int): Implement this.
 
 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>