* epg.el (epg--make-temp-file): Avoid permission race conditions
[bpt/emacs.git] / lisp / ChangeLog
index 4f7d61b..ba05002 100644 (file)
@@ -1,3 +1,76 @@
+2011-12-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * epg.el (epg--make-temp-file): Avoid permission race conditions
+       when creating temporary directories and files on older Emacs.
+
+       * files.el (move-file-to-trash): Preserve default file modes on error.
+       (Bug#10401)
+
+2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
+       also for alternative shells.
+       (tramp-open-connection-setup-interactive-shell): Check, whether
+       the shell is a busybox.
+       (tramp-send-command): Don't suppress multiple prompts for
+       busyboxes, it hurts.
+
+2011-12-28  Chong Yidong  <cyd@gnu.org>
+
+       * progmodes/gdb-mi.el (gdb-get-source-file-list)
+       (gdb-get-source-file): Move mode line update to
+       gdb-get-source-file (Bug#10087).
+
+2011-12-25  Chong Yidong  <cyd@gnu.org>
+
+       * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
+       gud-gdb-marker-filter without taking it as an argument.
+       (gud-gdb-run-command-fetch-lines): Caller changed.
+       (gud-gdb-completion-function): New variable.
+       (gud-gdb-completion-at-point): Use it.
+       (gud-gdb-completions-1): Split from gud-gdb-completions.
+
+       * progmodes/gdb-mi.el (gdb-input): Accept command and handler
+       function as separate arguments.
+       (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
+       (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
+       (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
+       (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
+       (gdb-stopped, def-gdb-auto-update-trigger)
+       (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
+       (gdb-get-changed-registers, gdb-get-main-selected-frame): Callers
+       changed.
+       (gud-gdbmi-completions): New function.
+       (gdb): Use it for generating the completion table.
+
+2011-12-24  Alan Mackenzie  <acm@muc.de>
+
+       Introduce a mechanism to widen the region used in context font
+       locking.  Use this to protect declarations from losing their
+       contexts.
+
+       * progmodes/cc-langs.el (c-before-font-lock-functions): replace
+       c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
+       (c-before-context-fontification-functions): new defvar, a list of
+       functions to be run just before context (etc.) font locking.
+
+       * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
+       new, functionality extracted from
+       c-neutralize-syntax-in-and-mark-CPP.
+       (c-in-after-change-fontification): new variable.
+       (c-after-change): Set c-in-after-change-fontification.
+       (c-set-fl-decl-start): Rejig its interface, so it can be called
+       from both after-change and context fontifying.
+       (c-change-set-fl-decl-start, c-context-set-fl-decl-start): new
+       functions.
+       (c-standard-font-lock-fontify-region-function): new variable.
+       (c-font-lock-fontify-region): new function.
+
+2011-12-24  Juri Linkov  <juri@jurta.org>
+
+       * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
+       (Bug#10348)
+
 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
 
 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
 
-       * progmodes/cfengine.el: Add Version.
-
-       Add CFEngine 3.x syntax highlighting and support with
-       `cfengine3-mode', and rename the old `cfengine-mode' to
-       `cfengine2-mode'.  Make `cfengine-mode' an automatic content-based
-       switcher between `cfengine3-mode' and `cfengine2-mode' by aliasing
-       it to `cfengine-auto-mode'.  Rename variables specific to
-       `cfengine2-mode' from cfengine-* to cfengine2-*.  Change the
-       modeline indicator to "CFE2" and "CFE3" depending on the mode, to
-       save space. Mark `cfengine-mode-abbrevs' as obsolete.
+       * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
+       highlighting and support.  Fix up comments for capitalization.
+       (cfengine-mode-debug): New var.
+       (cfengine3-mode): Change the modeline indicator to "CFE3".
+       (cfengine3-font-lock-keywords): Improve defun highlighting.
+       (cfengine2-actions): Rename from `cfengine-actions'.
+       (cfengine2-font-lock-keywords): Rename from
+       `cfengine-font-lock-keywords'.
+       (cfengine2-imenu-expression): Rename from
+       `cfengine-imenu-expression'.
+       (cfengine2-outline-level): Rename from `cfengine-outline-level'.
+       (cfengine2-beginning-of-defun): Rename from
+       `cfengine-beginning-of-defun'.
+       (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
+       (cfengine2-indent-line): Rename from `cfengine-indent-line'.
+       (cfengine2-mode): Rename from `cfengine-mode'.  Change the
+       modeline indicator to "CFE2".
+       (cfengine-mode): Defalias to `cfengine-auto-mode'.
+       (cfengine-mode-abbrevs): Mark obsolete.
 
 2011-12-21  Chong Yidong  <cyd@gnu.org>