* ses.el: Use hash map for getting named cells coordinates.
[bpt/emacs.git] / lisp / ChangeLog
index c43b0c1..d7cb214 100644 (file)
@@ -1,5 +1,316 @@
+2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
+
+       * ses.el: symbol to coordinate mapping is made by symbol property
+       `ses-cell'. This means that the same mapping is done for all SES
+       sheets. That is good enough for cells with standard A1 names, but
+       not for named cell. So a hash map is added for those
+       latter.
+       (defconst ses-localvars): added local variable ses--named-cell-hashmap
+       (ses-sym-rowcol): Use hashmap for named cell.
+       (ses-is-cell-sym-p): New defun.
+       (ses-decode-cell-symbol): New defun.
+       (ses-create-cell-variable): Add cell to hashmap when name is not A1-like.
+       (ses-rename-cell): Check that cell new name is not already in
+       spreadsheet with the use of ses-is-cell-sym-p
+       (ses-rename-cell): Use hash map for named cells, but accept also
+       renaming back to A1-like.
+
+2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/advice.el: Use new dynamic docstrings.
+       (ad-make-advised-definition-docstring, ad-advised-definition-p):
+       Use dynamic-docstring-function instead of ad-advice-info.
+       (ad--make-advised-docstring): New function extracted from
+       ad-make-advised-docstring.
+       (ad-make-advised-docstring): Use it.
+       * progmodes/sql.el (sql--make-help-docstring): New function, extracted
+       from sql-help.
+       (sql-help): Use it with dynamic-docstring-function.
+
+       * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
+
+2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * files.el (hack-one-local-variable--obsolete): New function.
+       (hack-one-local-variable): Use it for obsolete settings.
+
+       * subr.el (locate-user-emacs-file): If both old and new name exist, use
+       the new name.
+
+       * progmodes/js.el (js--filling-paragraph): New var.
+       (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
+       (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
+       less sneaky.
+
+2012-11-08  Julien Danjou  <julien@danjou.info>
+
+       * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
+       `auto-mode-alist' (Bug#12835).
+
+2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
+       (perl--prettify-symbols-alist): New const.
+       (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
+       New functions.
+       (perl-font-lock-keywords-2): Use them.
+       (perl-electric-noindent-p): New function.
+       (perl-mode): Use it to set up electric-indent-mode.
+       (perl-electric-terminator, perl-indent-command): Mark obsolete.
+       (perl-mode-map): Remove bindings for them.
+       (perl-imenu-generic-expression, perl-outline-level):
+       Match functions&packages in column>0.
+
+       * env.el (env--substitute-vars-regexp): New const.
+       (substitute-env-vars): Use it.  Add `only-defined' arg.
+       * net/tramp.el (tramp-replace-environment-variables): Use it.
+
+       * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
+       Byte-compile *before* eval in eval-and-compile.
+       (byte-compile-log-warning): Remove redundant inhibit-read-only.
+       (byte-compile-file-form-autoload): Don't hide actual definition.
+       (byte-compile-maybe-guarded): Accept `functionp' as well.
+
+       * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
+
+2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
+
+       * notifications.el (notifications-get-server-information-method):
+       New defconst.
+       (notifications-get-capabilities): Fix docstring.
+       (notifications-get-server-information): New defun.
+
+2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
+
+       * textmodes/ispell.el (ispell-region): Standard re-indent for better
+       readability.
+
+       * textmodes/ispell.el: Experimental support for support debugging.
+       (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
+       buffer for ispell.
+       (ispell-print-if-debug): New function to print stuff to
+       `ispell-debug-buffer' if debugging is enabled.
+       (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
+       show some debugging info.
+       (ispell-buffer-with-debug): New function that creates a debugging
+       buffer and calls `ispell-buffer' with debugging enabled.
+
+       * textmodes/ispell.el (ispell-region): Do not prefix sent string by
+       comment in autoconf mode. (Bug#12768)
+
+2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
+       frame-first-window, frame-root-window, frame-selected-window,
+       minibuffer-selected-window, minibuffer-window,
+       window-absolute-pixel-edges, window-at, window-body-height,
+       window-body-width, window-display-table, window-combination-limit,
+       window-frame, window-fringes, window-inside-absolute-pixel-edges,
+       window-inside-edges, window-inside-pixel-edges, window-left-child,
+       window-left-column, window-margins, window-next-buffers,
+       window-next-sibling, window-new-normal, window-new-total,
+       window-normal-size, window-parameter, window-parameters, window-parent,
+       window-pixel-edges, window-point, window-prev-buffers,
+       window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
+       window-start, window-text-height, window-top-child, window-top-line,
+       window-total-height, window-total-width and window-use-time to the list
+       of functions without side-effects.
+       (toplevel): Add window-valid-p to the list of error-free functions
+       without side-effects.
+
+2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
+
+       * textmodes/ispell.el (ispell-program-name): Update
+       spellchecker parameters when customized.
+
+2012-11-04  Glenn Morris  <rgm@gnu.org>
+
+       * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
+
+2012-11-04  Chong Yidong  <cyd@gnu.org>
+
+       * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
+       same-window-* variables.
+
+2012-11-04  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (isearch-help-for-help, isearch-describe-bindings)
+       (isearch-describe-key, isearch-describe-mode): Use a display
+       action instead of binding same-window-* variables (Bug#10040).
+
+2012-11-03  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
+       Rename handler properties back from cl-- to cl-.  (Bug#12788)
+
+       * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
+
+2012-11-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * term/pc-win.el: Don't load term/internal from here.
+
+       * loadup.el: Load term/internal from here.
+
+2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el (inferior-python-mode): Fix hang in
+       jit-lock (Bug#12645).
+
+2012-11-03  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (switch-to-visible-buffer)
+       (switch-to-buffer-preserve-window-point): Fix doc-strings.
+
+2012-11-03  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/cl-lib.el (cl--random-time):
+       Rename from cl-random-time.  (Bug#12773)
+       (cl--gensym-counter, cl--random-state): Update callers.
+       * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
+
+2012-11-03  Chong Yidong  <cyd@gnu.org>
+
+       * cus-start.el: Make cursor-type customizable (Bug#11633).
+
+2012-11-02  Glenn Morris  <rgm@gnu.org>
+
+       * filecache.el: No need to load find-lisp when compiling.
+       (find-lisp-find-files): Autoload it.
+       (file-cache-add-directory-recursively): Don't require find-lisp.
+
+       * image.el (image-type-from-file-name): Trivial simplification.
+
+       * emacs-lisp/bytecomp.el (byte-compile-eval):
+       Decouple "noruntime" and "cl-functions" warnings.
+
+2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
+
+       * play/gomoku.el (gomoku-display-statistics): Update mode line
+       only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
+
+2012-10-31  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (quit-restore-window): If the window has been
+       created on an existing frame and ended up as the sole window on
+       that frame, do not delete it (Bug#12764).
+
+2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/sh-script.el (sh--inside-noncommand-expression):
+       Rename from sh--inside-arithmetic-expression, handle more cases
+       (bug#11263).
+
+       * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
+       (sh-font-lock-open-heredoc): Use it (bug#12770).
+
+2012-10-30  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
+
+       * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
+
+2012-10-29  Chong Yidong  <cyd@gnu.org>
+
+       * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
+       function key is stored in a keyboard macro (Bug#4894).
+
+       * thingatpt.el (number-at-point): Apply a thing-at-point property.
+
+2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
+       header comments".
+       (diff-unified->context, diff-context->unified)
+       (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
+
+       * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
+
+       * files.el (find-alternate-file): Only ask one question (bug#12487).
+
+2012-10-29  Chong Yidong  <cyd@gnu.org>
+
+       * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
+       Suggested by Dan Nicolaescu (Bug#6326).
+
+       * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
+
+       * startup.el (fancy-about-screen): Don't message (Bug#12680).
+
+       * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
+
+       * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
+
+       * face-remap.el (face-remap-add-relative): Handle the case where a
+       face-remapping-alist entry is a cons cell (Bug#12762).
+
+2012-10-29  Kevin Ryde  <user42@zip.com.au>
+
+       * woman.el (woman-parse-numeric-value): Handle picas correctly
+       (Bug#12639).
+
+2012-10-29  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/cl.el (defsetf): Doc fix.
+
+2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
+       syntax to the matching opener, if any (bug#12547).
+       (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
+       matching open as a "case-(".
+       (sh-smie-rc-grammar): Add a corresponding rule for it.
+
+2012-10-28  Daniel Hackney  <dan@haxney.org>
+
+       * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
+       "PKGNAME-autoloads.el" in case we created it.
+
+2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion--sifn-requote): Rewrite to handle things
+       like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
+       (completion--twq-all): Disable too-strict assertions.
+
+       * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
+
+2012-10-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * profiler.el (profiler-report-make-entry-part): Fix help-echo
+       text to match the real keybindings.
+
+2012-10-27  Juri Linkov  <juri@jurta.org>
+
+       * wdired.el (wdired-keep-marker-rename): New defcustom.
+       (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
+       (Bug#11795)
+
+       * dired.el (dired-keep-marker-rename): Add reference to
+       `wdired-keep-marker-rename' in the docstring.
+       Add default character value ?R to display initially in
+       Customization UI instead of ?@.
+
+2012-10-27  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (display-buffer): In doc-string describe
+       window-height and window-width alist entries.
+
+       * time.el (display-time-world): Restore fit-window-to-buffer
+       behavior.
+
+2012-10-27  Chong Yidong  <cyd@gnu.org>
+
+       * subr.el (insert-buffer-substring-as-yank): Doc fix.
+
+2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
+
+       * minibuffer.el (completion-category-overrides): New completion
+       category `bookmark' (bug#11131).
+
 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * emacs-lisp/advice.el (ad-assemble-advised-definition):
+       Silence bogus compiler warnings for ad-do-it.
+
        * bookmark.el (bookmark-completing-read): Set the completion category
        to `bookmark' (bug#11131).
 
        Recover input meta mode when the new coding system doesn not use 8-bit.
        Supply TERMINAL arg to set-input-meta-mode.
 
-2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>  (tiny change)
+2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
 
        * wdired.el (wdired-old-marks): New variable.
        (wdired-change-to-wdired-mode): Locally set wdired-old-marks.