merge trunk
authorKenichi Handa <handa@gnu.org>
Sat, 6 Oct 2012 12:55:09 +0000 (21:55 +0900)
committerKenichi Handa <handa@gnu.org>
Sat, 6 Oct 2012 12:55:09 +0000 (21:55 +0900)
1  2 
lisp/ChangeLog

diff --cc lisp/ChangeLog
 +2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
 +
 +      * international/characters.el: Fix simple mistake ((car chars) ->
 +      elt), delete duplicated code.
 +
+ 2012-10-06  Glenn Morris  <rgm@gnu.org>
+       * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
+ 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
+       * color.el (color-hsl-to-rgb): Fix incorrect results for
+       small and large hue values.  (Bug#12559)
+ 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
+       Enhancements to docstring formatting when filling paragraphs.
+       * progmodes/python.el (python-fill-docstring-style): Rename from
+       python-fill-string-style.  Added new style.
+       (python-fill-string): Use new style.  Better checks for
+       docstrings.
+ 2012-10-05  Glenn Morris  <rgm@gnu.org>
+       * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
+       * color.el (color-name-to-rgb, color-rgb-to-hex)
+       (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
+       (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
+       (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
+       (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
+       * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
+ 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
+       * ido.el (ido-directory-too-big-p): Pass dir through file-truename
+       to get the correct size across symlinks.
+       * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
+ 2012-10-04  Juri Linkov  <juri@jurta.org>
+       * replace.el (query-replace-interactive): Declare obsolete.
+       (query-replace-read-from): Add the last incremental search string
+       to the list of default values accessible via M-n.
+       (map-query-replace-regexp): Use `read-regexp'.
+       (query-replace, query-replace-regexp, query-replace-regexp-eval)
+       (map-query-replace-regexp, replace-string, replace-regexp):
+       Fix docstrings to replace mentions of `query-replace-interactive'
+       with alternatives.  (Bug#12526)
+ 2012-10-04  Juri Linkov  <juri@jurta.org>
+       * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
+       (dired-pop-to-buffer): Declare obsolete.
+       (dired-mark-pop-up): Doc fix.
+ 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
+       Allow user to set docstring style for fill-paragraph.
+       * progmodes/python.el
+       (python-fill-comment-function, python-fill-string-function)
+       (python-fill-decorator-function, python-fill-paren-function):
+       Remove :safe for defcustoms.
+       (python-fill-string-style): New defcustom
+       (python-fill-paragraph-function): Enhanced context detection.
+       (python-fill-string): Honor python-fill-string-style settings.
+ 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
+       * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
+       after setting its buffer (Bug#10805).
+ 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
+       Fix cornercase for string syntax.
+       * progmodes/python.el (python-syntax-propertize-function):
+       Simplify and enhance the regexp for unescaped quotes.  Now it also
+       matches quotes in weird situations like the single quote in
+       "something\"'".
+       (python-syntax-stringify): Simplify num-quotes detecting code.
+ 2012-10-03  Glenn Morris  <rgm@gnu.org>
+       * help-macro.el (three-step-help):
+       Revert 2012-09-29 change.  (Bug#12567)
+ 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
+       * menu-bar.el (kill-this-buffer): Don't do anything when
+       `menu-frame' is not alive or visible (Bug#8184).
+       * emacs-lisp/debug.el (debug): When quitting the debugger window
+       restore current buffer (Bug#12502).
+ 2012-10-02  Chong Yidong  <cyd@gnu.org>
+       * progmodes/hideif.el (hif-lookup, hif-defined): Handle
+       semantic-c-takeover-hideif.
+ 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
+       Change sampling interval units from ms to ns.
+       * profiler.el (profiler-sampling-interval): Change units
+       from ms to ns, multiplying the default by 1000000 so that
+       it remains 1 ms.
+       (profiler-report-cpu-line-format): Give enough room for
+       the maximum counters on 64-bit hosts.
+       (profiler-report-render-calltree-1): Call them "CPU samples",
+       not "Time (ms)", since they are not milliseconds now (and
+       never really were).
+ 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
+       * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result): Fix
+       querying BBDB for entries without a last name (Bug#11580).
+ 2012-10-02  Chong Yidong  <cyd@gnu.org>
+       * emacs-lisp/eieio.el: Restore Version header.
+ 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * vc/diff-mode.el (diff--auto-refine-data): New var.
+       (diff-hunk): Use it to delay refinement.
+       (diff-mode): Remove overlays when we turn off font-lock.
+       * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
+       (table-initialize-table-fixed-width-mode)
+       (table-set-table-fixed-width-mode): Remove functions.
+       (table-command-list): Move initialization into declaration.
+       (table--tweak-menu-for-xemacs): Move defun outside mapcar.
+       (table-with-cache-buffer): Use `declare'.
+       (table-span-cell): Simplify via CSE.
+       (table-fixed-width-mode): Use define-minor-mode.
+       (table-call-interactively, table-funcall, table-apply): Remove.
+       (table-function): New function, to replace them.
+       * bookmark.el (bookmark-search-pattern): Remove var.
+       (bookmark-read-search-input): Remove function.
+       (bookmark-bmenu-search): Reimplement using a minibuffer.
+       * faces.el (modeline): Remove obsolete face name.
+       * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
+       and give a non-nil default value.
+       (add-change-log-entry): Simplify accordingly.
+ 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
+       * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
+       (vc-git-log-edit-toggle-amend): New function.
+       (vc-git-log-edit-toggle-signoff): New function.
+       (vc-git-log-edit-mode): New major mode.
+       (vc-git-log-edit-mode-map): Keymap for it.
+       (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
+       * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
+       header names.
+       (log-edit-toggle-header): New function.
+       (log-edit-extract-headers): Accept function values in HEADERS alist.
+ 2012-10-01  David Engster  <deng@randomsample.de>
+       * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
+       from symbol property and change message to be more consistent with
+       Emacs proper.
+       (eieio-describe-generic): Add filename for each implementation.
+       Fix indices for generic and normal methods.
+       (eieio-method-def, eieio-class-def): New buttons.
+       (eieio-help-find-method-definition)
+       (eieio-help-find-class-definition): New functions.
+       (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
+       class, constructor and method definitions.
+       * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
+       information in symbol property.
+       (scoped-class): Remove.
+       (eieio-slot-name-index, call-next-method): Check if it is bound.
+ 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
+       * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
+       (eieio-custom-mode): New major mode.
+       (eieio-customize-object): Use it.
+ 2012-10-01  Eric Ludlam  <zappo@gnu.org>
+       * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
+       specifying the expected class, and whether subclassing is allowed.
+       (eieio-persistent-convert-list-to-object):
+         (eieio-persistent-validate/fix-slot-value)
+         (eieio-persistent-slot-type-is-class-p): New functions.
+         (eieio-named::slot-missing): Doc fix.
+       * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
+       Stop using unused publd variable.
+       * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
+       (eieio-speedbar-description, eieio-speedbar-derive-line-path)
+       (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
+       (eieio-speedbar-handle-click): Do not specify a class for the
+       method.  Fixes method invocation order problems with EDE.
+ 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
+       (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
+ 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
+       * bookmark.el (bookmark-version-control): Give tags in the
+       :type choices (Bug#12309), and improve doc string.
+       (bookmark-write-file): Bind `print-circle' to `t' to allow
+       circular custom bookmark types.  (Bug#12503)
+ 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
+       Revert the FOLLOW-SYMLINKS change for file-attributes.
+       * files.el (remote-file-name-inhibit-cache, after-find-file):
+       * time.el (display-time-file-nonempty-p): Undo last change.
+       * profiler.el (profiler-sampling-interval): Change default back to 1.
+       See Stefan Monnier in
+       <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
+ 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
+       Shell output catching a la gud-gdb.
+       * progmodes/python.el (python-shell-fetch-lines-in-progress)
+       (python-shell-fetch-lines-string, python-shell-fetched-lines):
+       New Vars.
+       (python-shell-fetch-lines-filter): New function.
+       (python-shell-send-string-no-output): Use them.
+ 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
+       * profiler.el (profiler-sampling-interval): Rename from
+       profiler-sample-interval.
+       (profiler-sampling-interval): Default to 10.
+       (profiler-find-profile): New command (was profiler-find-log).
+       (profiler-find-profile-other-window): New command.
+       (profiler-find-profile-other-frame): New command.
+       (profiler-profile): Introduce API-level data structure.
+ 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
+       file-attributes has a new optional arg FOLLOW-SYMLINKS.
+       * files.el (remote-file-name-inhibit-cache):
+       * time.el (display-time-file-nonempty-p): Use it.
+       * files.el (after-find-file): Don't chase links before calling
+       file-exists-p, as file-exists-p already does the right thing.
+ 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
+       Merge from standalone RefTeX repository.
+       The following ChangeLog entries are shortened versions of the
+       original ones with file paths adapted.  A not so strongly edited
+       version of the original ChangeLog can be found in the commit log.
+       * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
+       (reftex-arg-cite): Use `reftex-cite-key-separator'.
+       Correctly handle new value type returned by `reftex-citation'.
+       * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
+       that entries with whitespace at various places are found.
+       Doc fix. Include entries that are cross-referenced from cited entries.
+       Include @String definitions in the resulting bib file.  Add header
+       and footer defined in `reftex-create-bibtex-header' and
+       `reftex-create-bibtex-footer'.
+       (reftex-do-citation): Make it possible again to insert
+       non-existent entries.  Save match data when asking for optional
+       arguments. Return all keys, not just the first one.
+       (reftex-all-used-citation-keys): Fix regexp to correctly extract
+       all citations in the same line.
+       (reftex-parse-bibtex-entry): Accept additional optional argument
+       `raw' and keep quotes or braces if it is non-nil.  Match fields
+       containing hyphens besides word constituents.
+       (reftex-get-string-refs): New function.
+       (reftex-extract-bib-entries): Check if BibTeX file changed on disk
+       and ask if it should be reread in case it did.
+       (reftex-pop-to-bibtex-entry)
+       (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
+       entries with spaces or tabs in front of arguments.
+       (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
+       (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
+       Match entries containing numbers and symbol constituents.
+       (reftex-do-citation, reftex-figure-out-cite-format):
+       Use `reftex-cite-key-separator'.
+       * textmodes/reftex-dcr.el: Move provide statement to end of file.
+       (reftex-mouse-view-crossref): Explain why point is set.
+       * textmodes/reftex-global.el: Whitespace changes.
+       * textmodes/reftex-index.el: Move provide statement to end of
+       file.
+       (reftex-index-selection-or-word): Use `reftex-region-active-p'.
+       (reftex-index-visit-phrases-buffer): Set marker when visiting
+       buffer.  This allows for returning from the phrases file to the
+       file one was just editing instead of the file where the last
+       phrases was added from.
+       (reftex-index-phrases-syntax-table): New variable.  Give ?\"
+       punctuation syntax as it usually is not used as string quote in
+       TeX-related modes and may occur unmatched.  The change also
+       prevents fontification of quoted content.
+       (reftex-index-phrases-mode): Use it.
+       * textmodes/reftex-parse.el (reftex-parse-from-file):
+       Move backward one char if a `\' was matched after a section macro.
+       (reftex-parse-from-file): Use beginning of match instead of end as
+       bound.
+       * textmodes/reftex-ref.el: Adapt creation of
+       `reftex-<package>-<macro>' functions to new structure of
+       `reftex-ref-style-alist'.
+       (reftex-reference): Use `reftex-ref-style-list' function.
+       Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
+       reference macro if `reftex-ref-macro-prompt' is non-nil.
+       (reftex-reference): Pass refstyle to `reftex-format-special'.
+       Determine reference macro by looking at
+       `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
+       Use only one special format function.
+       (reftex-varioref-vref, reftex-fancyref-fref)
+       (reftex-fancyref-Fref): Remove definitions.  The functions are now
+       generated from `reftex-ref-style-alist'.
+       (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
+       Remove.
+       (reftex-format-special): New function.
+       * textmodes/reftex-sel.el
+       (reftex-select-cycle-ref-style-internal): Adapt to new structure
+       of `reftex-ref-style-alist'. Remove code for testing macro type.
+       (reftex-select-toggle-varioref)
+       (reftex-select-toggle-fancyref): Remove.
+       (reftex-select-cycle-ref-style-internal)
+       (reftex-select-cycle-ref-style-forward)
+       (reftex-select-cycle-ref-style-backward): New functions.
+       (reftex-select-label-map): Use `v' and `V' for general cycling
+       through reference styles.  Add `p' for switching between number
+       and page reference types.
+       * textmodes/reftex-toc.el (reftex-re-enlarge):
+       Call `enlarge-window' only if there is something to do because in Emacs
+       the horizontal version throws an error even if the parameter is 0.
+       * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
+       (reftex-plug-into-AUCTeX): Doc fix.
+       (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
+       string.  Adapt to new name.
+       (reftex-ref-style-alist): Change structure so that it is not
+       possible to use multiple different package names within a style.
+       Remove the symbols for symbols for macro type distinction.
+       Add characters for macro selection.
+       (reftex-ref-macro-prompt, reftex-create-bibtex-header)
+       (reftex-create-bibtex-footer): New variables.
+       (reftex-format-ref-function): Mention third argument of special
+       format function.
+       (reftex-ref-style-alist, reftex-ref-style-default-list):
+       New variables.
+       (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
+       to new implementation.  Mark as obsolete.  Add compatibility code
+       for honoring the variable values in case they are set.
+       (reftex-cite-format-builtin, reftex-bibliography-commands):
+       Add support for ConTeXt.
+       (reftex-format-ref-function, reftex-format-cite-function):
+       Fix custom type.
+       (reftex-cite-key-separator): New variable.
+       * textmodes/reftex.el (reftex-syntax-table-for-bib)
+       (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
+       `reftex-syntax-table' because parens have to retain their paren
+       syntax in order for parsing of BibTeX entries like @book(...) to
+       work.
+       (reftex-in-comment): Do not error out if `comment-start-skip' is
+       not set.  Deal correctly with escaped comment characters.
+       (reftex-tie-multifile-symbols): Add doc string.
+       Initialize `reftex-ref-style-list'.
+       (reftex-untie-multifile-symbols): Add doc string.
+       (reftex-add-index-macros): Doc fix.
+       (reftex-ref-style-activate, reftex-ref-style-toggle)
+       (reftex-ref-style-list): New functions.
+       (reftex-mode-menu): Use them.  Adapt to new structure of
+       `reftex-ref-style-alist'.
+       (reftex-select-with-char): Kill the RefTeX Select buffer when
+       done.
+       (reftex-remove-if): New function.
+       (reftex-erase-all-selection-and-index-buffers)
+       (reftex-mode-menu): Reference styles are now computed from
+       `reftex-ref-style-alist'.  Fix typo.
+       (reftex-report-bug): New function.
+       (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
+       algorithms with O(n log n).  Introduce optional argument SORT (not
+       yet used).
+ 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
+       Enhancements for triple-quote string syntax.
+       * progmodes/python.el (python-syntax-propertize-function):
+       Match both quote cases in one regexp.
+       (python-syntax-stringify): Handle matches properly.
+ 2012-09-30  Juri Linkov  <juri@jurta.org>
+       * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
+       to nil around the call to `insert' to prevent
+       directory time modification by lock_file.  (Bug#2295)
+       * tar-mode.el (tar-summarize-buffer): Idem.
+ 2012-09-30  Juri Linkov  <juri@jurta.org>
+       * facemenu.el (list-colors-sort): Add option "Luminance".
+       (list-colors-sort-key): Implement it.
+       * vc/diff-mode.el (diff-refine-removed):
+       * vc/ediff-init.el (ediff-fine-diff-A):
+       * vc/smerge-mode.el (smerge-refined-removed):
+       Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
  2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
  
        * term/ns-win.el (x-file-dialog): New function.