Avoid superfluous registering of signals. (Bug#10807)
[bpt/emacs.git] / lisp / ChangeLog
index 08f6ac4..d8342df 100644 (file)
@@ -1,3 +1,143 @@
+2012-03-07  Michael Albinus  <Michael.Albinus@alcatel-lucent.com>
+
+       Avoid superfluous registering of signals.  (Bug#10807)
+
+       * notifications.el (notifications-on-action-object)
+       (notifications-on-close-object): New defvars.
+       (notifications-on-action-signal, notifications-on-closed-signal):
+       Unregister the signal if not needed any longer.
+       (notifications-notify): Register `notifications-action-signal' or
+       `notifications-closed-signal', if :on-action or :on-close has been
+       passed as argument.
+
+2012-03-07  Chong Yidong  <cyd@gnu.org>
+
+       * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
+       non-X platforms.
+
+2012-03-06  Glenn Morris  <rgm@gnu.org>
+
+       * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
+       (x-disown-selection-internal, x-get-selection-internal):
+       Doc fix (add arglist signatures).  (Bug#10783)
+
+2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
+
+       * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
+       Handle breakpoints with no "type".
+
+2012-03-06  Glenn Morris  <rgm@gnu.org>
+
+       * files.el (locate-dominating-file): Add optional predicate argument.
+       (dir-locals-find-file): Make use of above change.
+
+2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
+
+       * info.el (Info-insert-dir): Also try "dir.gz".
+
+2012-03-06  Glenn Morris  <rgm@gnu.org>
+
+       * files.el (dir-locals-find-file):
+       Ignore non-readable or non-regular files.  (Bug#10928)
+
+       * files.el (locate-dominating-file): Doc fix.
+
+2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
+
+       * calendar/calendar.el (calendar-set-mode-line):
+       `getenv' returns a string.  (Bug#10951)
+
+2012-03-05  Leo Liu  <sdl.web@gmail.com>
+
+       * simple.el (backward-delete-char-untabify): Constrain point to
+       field (Bug#10939).
+
+       * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
+
+2012-03-05  Chong Yidong  <cyd@gnu.org>
+
+       * simple.el (count-words): If called from Lisp, return the word
+       count, for symmetry with `count-lines'.  Arglist changed.
+       (count-words--message): Args changed.  Consolidate counting code
+       from count-words and count-words-region.
+       (count-words-region): Caller changed.
+       (count-lines-region): Make it an obsolete alias.
+
+2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
+
+       * saveplace.el (save-place-to-alist)
+       (save-place-ignore-files-regexp): Allow value nil to disable this
+       feature.
+
+2012-03-04  Chong Yidong  <cyd@gnu.org>
+
+       * faces.el (face-spec-reset-face): For the default face, reset the
+       attributes to default values (Bug#10748).
+
+2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
+       previous patch: Check `message-send-mail-function', and not the
+       default function (bug#10897).
+
+2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
+
+       * notifications.el (notifications-on-action-signal)
+       (notifications-on-closed-signal): Check for unique service name of
+       incoming event.  Fix error in removing entry.
+       (top): Register for signals with wildcard service name.
+       (notifications-notify): Use daemon unique service name for map entries.
+
+2012-03-04  Chong Yidong  <cyd@gnu.org>
+
+       * cus-start.el: Make x-select-enable-clipboard-manager
+       customizable.
+
+2012-03-04  Glenn Morris  <rgm@gnu.org>
+
+       * abbrev.el (copy-abbrev-table, abbrev-table-p)
+       (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
+       (expand-abbrev, define-abbrev-table): Doc fixes.
+
+2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
+       `message-default-send-mail-function' and not `send-mail-function'
+       when doing the prompting for `sendmail-query-once' before sending
+       in Message buffers (bug#10897).
+
+       * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
+       This is inconsistent with all the other stream functions, which leave
+       the setting up to the higher levels (if so wanted) (bug#10931).
+
+2012-03-02  Alan Mackenzie  <acm@muc.de>
+
+       Depessimize the handling of very large macros.
+
+       * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
+       (c-macro-cache-syntactic): New variables to implement a one
+       element macro cache.
+       (c-invalidate-macro-cache): New function.
+       (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
+       Adapt to use the new cache.
+       (c-state-safe-place): Use better the cache of safe positions.
+       (c-state-semi-nonlit-pos-cache)
+       (c-state-semi-nonlit-pos-cache-limit):
+       New variables for...
+       (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
+       (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
+       (c-in-literal, c-literal-limits, c-determine-limit-get-base): Use
+       c-state-semi-safe-place.
+
+       * progmodes/cc-langs.el (c-get-state-before-change-functions): Add
+       c-invalidate-macro-cache to the C, C++, Obj entries.
+
+2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
+
+       * jka-compr.el (jka-compr-call-process): Apply
+       `file-accessible-directory-p' only when the default directory is
+       not remote.
+
 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
 
        * files.el (file-equal-p): Fix docstring.  Avoid unnecessary