]> code.delx.au - gnu-emacs/commitdiff
Merge from mainline.
authorXue Fuqiao <xfq.free@gmail.com>
Tue, 30 Jul 2013 00:29:09 +0000 (08:29 +0800)
committerXue Fuqiao <xfq.free@gmail.com>
Tue, 30 Jul 2013 00:29:09 +0000 (08:29 +0800)
1  2 
etc/NEWS
lisp/ChangeLog
lisp/vc/vc-dir.el

diff --combined etc/NEWS
index c472a2be8f367cacd76118245f773353b8dce4e8,1aa374939d8a6f0c26a2403c0b09a05d77591383..1cd444e6455e046e52b2b189807d92a69fe9dbbf
+++ b/etc/NEWS
@@@ -158,6 -158,10 +158,10 @@@ You can pick the name of the function a
  \f
  * Changes in Specialized Modes and Packages in Emacs 24.4
  
+ ** The debugger's `e' command evaluates the code in the context at point.
+ This includes using the lexical environment at point, which means that
+ `e' now lets you access lexical variables as well.
  ** `eshell' now supports visual subcommands and options
  Eshell has been able to handle "visual" commands (interactive,
  non-line oriented commands such as top that require display
@@@ -233,7 -237,6 +237,7 @@@ The default separator is changed to all
  
  *** `D' displays diffs between VC-controlled whole tree revisions.
  *** `L' lists the change log for the current VC controlled tree in a window.
 +*** `I' ignores the file under current version control system.
  
  ** cl-lib
  
@@@ -278,6 -281,22 +282,22 @@@ restoring the window/frame configuratio
  If set to a number, this can be used to avoid accidentally paste large
  amounts of data into the ERC input.
  
+ ** EPA
+ *** New option `epa-mail-aliases'.
+ You can set this to a list of alias expansions for keys to use
+ in `epa-mail-encrypt'.
+ If one element of the variable's value is ("foo@bar.com" "foo@hello.org"),
+ that means: when one of the recipients of the message being encrypted
+ is `foo@bar.com', encrypt the message for `foo@hello.org' instead.
+ If one element of the variable's value is ("foo@bar.com"),
+ that means: when one of the recipients of the message being encrypted
+ is `foo@bar.com', ignore that name as regards encryption.
+ This is useful to avoid a query when you have no key for that name.
  ---
  ** New F90 mode option `f90-smart-end-names'.
  
diff --combined lisp/ChangeLog
index 29cd88a9186cd4a2388c200b72819ce03546261e,6f30ef90baddd738e36b1e3bd34a93d972a3553e..f27a6fa194500e93d5b86f75b36dd9cefd061174
+ 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
+       * frame.el (frame-notice-user-settings): Avoid inflooping when the
+       initial frame is minibuffer-less.  (Bug#14841)
+ 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
+       * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
+       option.
+       * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
+       (tramp-maybe-open-connection): Use it.
+ 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
+       * desktop.el (desktop--make-frame): Include `minibuffer' in the
+       minimal set of parameters passed when creating a frame, because
+       the minibuffer status of a frame cannot be changed later.
+ 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
+       * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
+       replace-regexp-in-string and inadvertent omissions in previous change.
+       (todo-filter-items): Ensure only file names are comma-separated in
+       name of filtered items buffer.
+ 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
+       * desktop.el: Optionally force offscreen frames back onscreen.
+       (desktop-restoring-reuses-frames): New option.
+       (desktop--compute-pos, desktop--move-onscreen): New functions.
+       (desktop--make-frame): Use desktop--move-onscreen.
+ 2013-07-27  Alan Mackenzie  <acm@muc.de>
+       Fontify a Java generic method as a function.
+       * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
+       value to t.
+ 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
+       * calendar/todo-mode.el: Add command to rename todo files.
+       (todo-rename-file): New command.
+       (todo-key-bindings-t): Add key binding for it.  Change the
+       bindings of todo-filter-regexp-items(-multifile) to use `x'
+       instead of `r', since the latter is better suited to the new
+       renaming command.
+ 2013-07-27  Alan Mackenzie  <acm@muc.de>
+       Make Java try-with-resources statement parse properly.
+       * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
+       (c-block-stmt-1-2-key): New language constants/variables.
+       * progmodes/cc-engine.el (c-beginning-of-statement-1)
+       (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
+       * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
+       with c-block-stmet-1-2-key.
+ 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
+       * desktop.el (desktop--make-frame): Apply most frame parameters after
+       creating the frame to force (partially or totally) offscreen frames to
+       be restored as such.
+ 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
+       * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
+       (Bug#14948)
+ 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
+       `base' arg of backtrace-frame.
+ 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
+       * simple.el (list-processes): Doc fix.
+ 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
+       * desktop.el (desktop--select-frame):
+       Try harder to reuse existing frames.
+ 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
+       (edebug-eval): Use backtrace-eval.
+       (edebug--display, edebug--recursive-edit): Don't let-bind the
+       edebug-outer-* vars that keep track of variables we locally let-bind.
+       (edebug-outside-excursion): Don't restore outside values of locally
+       let-bound vars.
+       (edebug--display): Use user-error.
+       (cl-lexical-debug, cl-debug-env): Remove.
+ 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
+       * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
+       are restored to be sure that they are visible before deleting any
+       remaining ones.
+ 2013-07-26  Matthias Meulien  <orontee@gmail.com>
+       * vc/vc-dir.el (vc-dir-mode-map): Add binding for
+       vc-print-root-log.  (Bug#14948)
+ 2013-07-26  Richard Stallman  <rms@gnu.org>
+       Add aliases for encrypting mail.
+       * epa.el (epa-mail-aliases): New option.
+       * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
+       Bind inhibit-read-only so read-only text doesn't ruin everything.
+       (epa-mail-default-recipients): New subroutine broken out.
+       Handle epa-mail-aliases.
+ 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+       Add support for lexical variables to the debugger's `e' command.
+       * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
+       vars, except for debugger-outer-match-data.
+       (debugger-frame-number): Move check for "on a function call" from
+       callers into it.  Add `skip-base' argument.
+       (debugger-frame, debugger-frame-clear): Simplify accordingly.
+       (debugger-env-macro): Only reset the state stored in non-variables,
+       i.e. current-buffer and match-data.
+       (debugger-eval-expression): Rewrite using backtrace-eval.
+       * subr.el (internal--called-interactively-p--get-frame): Remove.
+       (called-interactively-p):
+       * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
+       `base' arg of backtrace-frame instead.
+ 2013-07-26  Glenn Morris  <rgm@gnu.org>
+       * align.el (align-regexp): Doc fix.  (Bug#14857)
+       (align-region): Explicit error if subexpression missing/does not match.
+       * simple.el (global-visual-line-mode):
+       Do not duplicate the mode lighter.  (Bug#14858)
+ 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
+       * window.el (display-buffer): In display-buffer bind
+       split-window-keep-point to t, bug#14829.
+ 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
+       * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
+       (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
+       (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
+       (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
+       Change accordingly.
+       (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
+       Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
+ 2013-07-25  Glenn Morris  <rgm@gnu.org>
+       * dired-x.el (dired-mark-extension): Convert comment to doc string.
+ 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
+       * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
+       parameter to modify-frame-parameters if the value has not changed;
+       this is a workaround for bug#14949.
+       (desktop--make-frame): On cl-delete-if call, check parameter name,
+       not full parameter.
 +2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
 +
 +      * vc/vc.el (vc-ignore): New function.
 +
 +      * vc/vc-svn.el (vc-svn-ignore): New function.
 +
 +      * vc/vc-hg.el (vc-hg-ignore): New function.
 +
 +      * vc/vc-git.el (vc-git-ignore): New function.
 +
 +      * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
 +      (vc-dir-ignore): New function.
 +
 +      * vc/vc-cvs.el (vc-cvs-ignore): New function.
 +      (cvs-append-to-ignore): Moved from pcvs.el.
 +
 +      * vc/vc-bzr.el (vc-bzr-ignore): New function.
 +
 +      * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
 +
  2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
  
        * desktop.el (desktop-restoring-frames-p): Return a true boolean.
diff --combined lisp/vc/vc-dir.el
index 4920e85c3514ba1b9da106c01503dfcb59e87293,7df2bd6687d37afa2f3d42fb12c52f928f89ba81..6f03cba1f759d7d50e83dedfa577b5b067f8af2e
@@@ -237,9 -237,11 +237,11 @@@ See `run-hooks'.
      ;; VC commands
      (define-key map "v" 'vc-next-action)   ;; C-x v v
      (define-key map "=" 'vc-diff)        ;; C-x v =
+     (define-key map "D" 'vc-root-diff)           ;; C-x v D
      (define-key map "i" 'vc-register)    ;; C-x v i
      (define-key map "+" 'vc-update)      ;; C-x v +
      (define-key map "l" 'vc-print-log)           ;; C-x v l
+     (define-key map "L" 'vc-print-root-log) ;; C-x v L
      ;; More confusing than helpful, probably
      ;;(define-key map "R" 'vc-revert) ;; u is taken by vc-dir-unmark.
      ;;(define-key map "A" 'vc-annotate) ;; g is taken by revert-buffer
      (define-key map "Q" 'vc-dir-query-replace-regexp)
      (define-key map (kbd "M-s a C-s")   'vc-dir-isearch)
      (define-key map (kbd "M-s a M-C-s") 'vc-dir-isearch-regexp)
 +    (define-key map "I" 'vc-dir-ignore)
  
      ;; Hook up the menu.
      (define-key map [menu-bar vc-dir-mode]
@@@ -790,11 -791,6 +792,11 @@@ with the command \\[tags-loop-continue]
    (tags-query-replace from to delimited
                      '(mapcar 'car (vc-dir-marked-only-files-and-states))))
  
 +(defun vc-dir-ignore ()
 +  "Ignore the current file."
 +  (interactive)
 +  (vc-ignore (vc-dir-current-file)))
 +
  (defun vc-dir-current-file ()
    (let ((node (ewoc-locate vc-ewoc)))
      (unless node