Enhancements to docstring formatting when filling paragraphs.
[bpt/emacs.git] / lisp / ChangeLog
index 0e515c2..1010fc0 100644 (file)
@@ -1,3 +1,199 @@
+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
 
        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-string, python-shell-fetched-lines):
+       New Vars.
        (python-shell-fetch-lines-filter): New function.
        (python-shell-send-string-no-output): Use them.
 
        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'.
+       (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.
+       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-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'.
+       (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.
        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.
+       * 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
+       (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-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'.
        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
+       * 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.
        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.
+       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-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-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)
        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-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)
 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.
+       * 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 `add-text-properties' to prevent
+       to nil around the call to `insert' to prevent
        directory time modification by lock_file.  (Bug#2295)
        * tar-mode.el (tar-summarize-buffer): Idem.
 
 
        In buffer display functions handle window-height/window-width
        alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
-       * window.el (window--display-buffer): New argument ALIST.  Obey
-       window-height and window-width alist entries.
-       (window--try-to-split-window): New argument ALIST.  Bind
-       window-combination-limit to t when the window's size shall be
+       * window.el (window--display-buffer): New argument ALIST.
+       Obey window-height and window-width alist entries.
+       (window--try-to-split-window): New argument ALIST.
+       Bind window-combination-limit to t when the window's size shall be
        changed and window-combination-limit equals `window-size'.
        (display-buffer-in-atom-window)
        (display-buffer-in-major-side-window)
        temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
        temp-buffer-resize-frames.
 
-       * dired.el (dired-mark-pop-up): Call
-       display-buffer-below-selected with a fit-window-to-buffer alist
+       * dired.el (dired-mark-pop-up):
+       Call display-buffer-below-selected with a fit-window-to-buffer alist
        entry.
 
 2012-09-30  Chong Yidong  <cyd@gnu.org>
 
 2012-09-28  Leo Liu  <sdl.web@gmail.com>
 
-       * pcomplete.el (pcomplete-show-completions): Use
-       minibuffer-message to make pcomplete usable in minibuffer.
+       * pcomplete.el (pcomplete-show-completions):
+       Use minibuffer-message to make pcomplete usable in minibuffer.
 
        * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
 
 
 2012-03-18  Leo Liu  <sdl.web@gmail.com>
 
-       * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
+       * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
+       prefix.
 
 2012-03-17  Eli Zaretskii  <eliz@gnu.org>