[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117544: Merge from emacs-24; up to r117380
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] trunk r117544: Merge from emacs-24; up to r117380 |
Date: |
Wed, 16 Jul 2014 17:06:40 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117544 [merge]
revision-id: address@hidden
parent: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2014-07-16 13:06:12 -0400
message:
Merge from emacs-24; up to r117380
modified:
doc/lispintro/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-6128
doc/lispintro/emacs-lisp-intro.texi
emacslispintro.texi-20091113204419-o5vbwnq5f7feedwu-6143
etc/TODO todo-20091113204419-o5vbwnq5f7feedwu-1501
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/bindings.el
bindings.el-20091113204419-o5vbwnq5f7feedwu-1013
lisp/desktop.el desktop.el-20091113204419-o5vbwnq5f7feedwu-591
lisp/vc/vc-dispatcher.el
vcdispatcher.el-20091113204419-o5vbwnq5f7feedwu-8662
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/xdisp.c xdisp.c-20091113204419-o5vbwnq5f7feedwu-240
=== modified file 'doc/lispintro/ChangeLog'
--- a/doc/lispintro/ChangeLog 2014-07-03 06:00:53 +0000
+++ b/doc/lispintro/ChangeLog 2014-07-16 17:06:12 +0000
@@ -1,3 +1,8 @@
+2014-07-16 Álvar Jesús Ibeas Martín <address@hidden> (tiny change)
+
+ * emacs-lisp-intro.texi (Variables, Buffer Names, if & or)
+ (Symbols as Chest, fwd-para while): Fix typos.
+
2014-07-03 Glenn Morris <address@hidden>
* emacs-lisp-intro.texi (Note for Novices, Finding More, Conclusion):
=== modified file 'doc/lispintro/emacs-lisp-intro.texi'
--- a/doc/lispintro/emacs-lisp-intro.texi 2014-07-03 06:00:53 +0000
+++ b/doc/lispintro/emacs-lisp-intro.texi 2014-07-16 17:06:12 +0000
@@ -1700,7 +1700,7 @@
of drawers. The function definition is put in one drawer, the value in
another, and so on. What is put in the drawer holding the value can be
changed without affecting the contents of the drawer holding the
-function definition, and vice-verse.
+function definition, and vice versa.
@menu
* fill-column Example::
@@ -2653,7 +2653,7 @@
evaluate the symbols as variables. @xref{Variables}.)
In spite of the distinction between files and buffers, you will often
-find that people refer to a file when they mean a buffer and vice-verse.
+find that people refer to a file when they mean a buffer and vice versa.
Indeed, most people say, ``I am editing a file,'' rather than saying,
``I am editing a buffer which I will soon save to a file.'' It is
almost always clear from context what people mean. When dealing with
@@ -5756,7 +5756,7 @@
@noindent
@code{not} is a function that returns true if its argument is false
and false if its argument is true. So if @code{(bufferp buffer)}
-returns true, the @code{not} expression returns false and vice-verse:
+returns true, the @code{not} expression returns false and vice versa:
what is ``not true'' is false and what is ``not false'' is true.
Using this test, the @code{if} expression works as follows: when the
@@ -9805,7 +9805,7 @@
being a chest of drawers. The function definition is put in one
drawer, the value in another, and so on. What is put in the drawer
holding the value can be changed without affecting the contents of the
-drawer holding the function definition, and vice-verse.
+drawer holding the function definition, and vice versa.
Actually, what is put in each drawer is the address of the value or
function definition. It is as if you found an old chest in the attic,
@@ -13235,7 +13235,7 @@
@noindent
This @code{while} loop has us searching forward for
@code{sp-parstart}, which is the combination of possible whitespace
-with a the local value of the start of a paragraph or of a paragraph
+with the local value of the start of a paragraph or of a paragraph
separator. (The latter two are within an expression starting
@code{\(?:} so that they are not referenced by the
@code{match-beginning} function.)
=== modified file 'etc/TODO'
--- a/etc/TODO 2014-07-09 02:04:12 +0000
+++ b/etc/TODO 2014-07-16 17:06:12 +0000
@@ -62,8 +62,7 @@
** Convert modes that use view-mode to be derived from special-mode instead.
-** Major modes should have a menu entry. Examples of modes that do
-not have one at the moment and probably should: text-mode, inferior-lisp-mode.
+** Major modes should have a menu entry.
** Check if all items on the mode-line have a suitable tooltip for all modes.
@@ -141,7 +140,9 @@
using a heuristic of some kind?
** Define recompute-arg and recompute-arg-if for fix_command to use.
- See rms message of 11 Dec 05.
+ See rms message of 11 Dec 05 in
+ http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-12/msg00165.html,
+ and the rest of that discussion.
** Height returned by frame-parameter ... and height given to
make-frame does not mean the same thing. The former includes menu and
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-07-14 23:58:52 +0000
+++ b/lisp/ChangeLog 2014-07-16 17:06:12 +0000
@@ -1,3 +1,17 @@
+2014-07-16 Glenn Morris <address@hidden>
+
+ * desktop.el (after-init-hook): Disable startup frame restoration
+ in non-graphical situations. (Bug#17693)
+
+ * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
+ if it was "empty", or used for a different set of files. (Bug#17884)
+
+2014-07-16 Eli Zaretskii <address@hidden>
+
+ * bindings.el (mode-line-remote): If default-directory is not a
+ string, don't call file-remote-p on it; instead state in the
+ help-echo that it is nil. (Bug#17986)
+
2014-07-14 Daniel Colascione <address@hidden>
* progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
=== modified file 'lisp/bindings.el'
--- a/lisp/bindings.el 2014-06-14 09:50:13 +0000
+++ b/lisp/bindings.el 2014-07-13 14:49:59 +0000
@@ -229,11 +229,13 @@
'help-echo (purecopy (lambda (window _object _point)
(format "%s"
(with-selected-window window
- (concat
- (if (file-remote-p default-directory)
- "Current directory is remote: "
- "Current directory is local: ")
- default-directory)))))))
+ (if (stringp default-directory)
+ (concat
+ (if (file-remote-p
default-directory)
+ "Current directory is
remote: "
+ "Current directory is local: ")
+ default-directory)
+ "Current directory is nil")))))))
"Mode line construct to indicate a remote buffer.")
;;;###autoload
(put 'mode-line-remote 'risky-local-variable t)
=== modified file 'lisp/desktop.el'
--- a/lisp/desktop.el 2014-07-03 23:48:24 +0000
+++ b/lisp/desktop.el 2014-07-16 04:28:42 +0000
@@ -1516,8 +1516,15 @@
(setq command-line-args (delete key command-line-args))
(desktop-save-mode 0)))
(when desktop-save-mode
- (desktop-read)
- (setq inhibit-startup-screen t))))
+ ;; People don't expect emacs -nw, or --daemon,
+ ;; to create graphical frames (bug#17693).
+ ;; TODO perhaps there should be a separate value
+ ;; for desktop-restore-frames to control this startup behavior?
+ (let ((desktop-restore-frames (and desktop-restore-frames
+ initial-window-system
+ (not (daemonp)))))
+ (desktop-read)
+ (setq inhibit-startup-screen t)))))
;; So we can restore vc-dir buffers.
(autoload 'vc-dir-mode "vc-dir" nil t)
=== modified file 'lisp/vc/vc-dispatcher.el'
--- a/lisp/vc/vc-dispatcher.el 2014-07-12 02:24:02 +0000
+++ b/lisp/vc/vc-dispatcher.el 2014-07-14 19:29:29 +0000
@@ -591,12 +591,19 @@
;; Set up key bindings for use while editing log messages
+(declare-function log-edit-empty-buffer-p "log-edit" ())
+
(defun vc-log-edit (fileset mode backend)
"Set up `log-edit' for use on FILE."
(setq default-directory
(buffer-local-value 'default-directory vc-parent-buffer))
+ (require 'log-edit)
(log-edit 'vc-finish-logentry
- (= (point-min) (point-max))
+ ;; Setup a new log message if the log buffer is "empty",
+ ;; or was previously used for a different set of files.
+ (or (log-edit-empty-buffer-p)
+ (and (local-variable-p 'vc-log-fileset)
+ (not (equal vc-log-fileset fileset))))
`((log-edit-listfun . (lambda ()
;; FIXME: Should expand the list
;; for directories.
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-07-16 15:39:15 +0000
+++ b/src/ChangeLog 2014-07-16 17:06:12 +0000
@@ -1,3 +1,8 @@
+2014-07-16 Eli Zaretskii <address@hidden>
+
+ * xdisp.c (decode_mode_spec): Call file-remote-p on the current
+ buffer's default-directory only if it is a string. (Bug#17986)
+
2014-07-16 Dmitry Antipov <address@hidden>
More precise control over values of some buffer-local variables.
=== modified file 'src/xdisp.c'
--- a/src/xdisp.c 2014-07-12 17:53:29 +0000
+++ b/src/xdisp.c 2014-07-16 17:06:12 +0000
@@ -22889,8 +22889,12 @@
case '@':
{
ptrdiff_t count = inhibit_garbage_collection ();
- Lisp_Object val = call1 (intern ("file-remote-p"),
- BVAR (current_buffer, directory));
+ Lisp_Object curdir = BVAR (current_buffer, directory);
+ Lisp_Object val = Qnil;
+
+ if (STRINGP (curdir))
+ val = call1 (intern ("file-remote-p"), curdir);
+
unbind_to (count, Qnil);
if (NILP (val))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117544: Merge from emacs-24; up to r117380,
Glenn Morris <=