[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master a8da4d0 3/9: Merge from origin/emacs-25
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master a8da4d0 3/9: Merge from origin/emacs-25 |
Date: |
Mon, 02 May 2016 01:19:47 +0000 |
branch: master
commit a8da4d033d98f6bee89f3fd3f067389705c45d4d
Merge: ce92397 71fb0e0
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Merge from origin/emacs-25
71fb0e0 Improve last change to vc-git-mode-line-string
6858e77 Todo mode doc bug fix
e55d0db Fix revision calculation in vc-git-mode-line-string
ca87b34 ; Fix errant revert ccb75d7
40bfebe Add Python 3.5 keyword "await"
fa7886a Add new keywords of Python 3.5
ccb75d7 Partially revert previous change.
8ee168a ; * etc/NEWS: Update entry about color fonts on OS X with a w...
b09ca27 Say why text-quoting-style is not a user option
---
doc/lispref/help.texi | 4 ++++
etc/NEWS | 6 +++++-
lisp/calendar/todo-mode.el | 16 +++++++---------
lisp/rect.el | 8 ++++----
lisp/vc/vc-git.el | 2 +-
5 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi
index 0b8182c..58a11f2 100644
--- a/doc/lispref/help.texi
+++ b/doc/lispref/help.texi
@@ -362,6 +362,10 @@ this'} with grave accent and apostrophe, the standard style
before Emacs version 25. The default value @code{nil}
acts like @code{curve} if curved single quotes are displayable, and
like @code{grave} otherwise.
+
+This variable can be used by experts on platforms that have problems
+with curved quotes. As it is not intended for casual use, it is not a
+user option.
@end defvar
@defun substitute-command-keys string
diff --git a/etc/NEWS b/etc/NEWS
index 3c4cf66..420c14a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1913,7 +1913,8 @@ Set it to 'curve' for curved single quotes, to 'straight'
for straight
apostrophes, and to 'grave' for grave accent and apostrophe. The
default value nil acts like 'curve' if curved single quotes are
displayable, and like 'grave' otherwise. The new variable affects
-display of diagnostics and help, but not of info.
+display of diagnostics and help, but not of info. As the variable is
+not intended for casual use, it is not a user option.
+++
** substitute-command-keys now replaces quotes.
@@ -2467,6 +2468,9 @@ emoji) display is disabled. This feature was
accidentally added when
Emacs 24.4 included the new Core Text based font backend code that was
originally implemented for a non-mainline port. This will be enabled
again once it is also implemented in Emacs on free operating systems.
+If some symbols, such as emoji, do not display, we suggest to install
+an appropriate font, such as Symbola; then they will be displayed,
+albeit without the color effects.
---
** The new function 'w32-application-type' returns the type of an
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index 9574c03..0529e97 100644
--- a/lisp/calendar/todo-mode.el
+++ b/lisp/calendar/todo-mode.el
@@ -612,11 +612,12 @@ Otherwise, `todo-show' always visits
`todo-default-todo-file'."
(defun todo-show (&optional solicit-file interactive)
"Visit a todo file and display one of its categories.
-When invoked in Todo mode, prompt for which todo file to visit.
-When invoked outside of Todo mode with non-nil prefix argument
-SOLICIT-FILE prompt for which todo file to visit; otherwise visit
-`todo-default-todo-file'. Subsequent invocations from outside
-of Todo mode revisit this file or, with option
+When invoked in Todo mode, Todo Archive mode or Todo Filtered
+Items mode, or when invoked anywhere else with a prefix argument,
+prompt for which todo file to visit. When invoked outside of a
+Todo mode buffer without a prefix argument, visit
+`todo-default-todo-file'. Subsequent invocations from outside of
+Todo mode revisit this file or, with option
`todo-show-current-file' non-nil (the default), whichever todo
file was last visited.
@@ -643,10 +644,7 @@ In Todo mode just the category's unfinished todo items are
shown
by default. The done items are hidden, but typing
`\\[todo-toggle-view-done-items]' displays them below the todo
items. With non-nil user option `todo-show-with-done' both todo
-and done items are always shown on visiting a category.
-
-Invoking this command in Todo Archive mode visits the
-corresponding todo file, displaying the corresponding category."
+and done items are always shown on visiting a category."
(interactive "P\np")
(when todo-default-todo-file
(todo-check-file (todo-absolute-file-name todo-default-todo-file)))
diff --git a/lisp/rect.el b/lisp/rect.el
index 53fe467..8803a47 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -788,7 +788,7 @@ Ignores `line-move-visual'."
(if (not old)
(let ((ol (make-overlay left right)))
(overlay-put ol 'window window)
- (overlay-put ol 'face 'rectangle-preview)
+ (overlay-put ol 'face 'region)
ol)
(let ((ol (pop old)))
(move-overlay ol left right (current-buffer))
@@ -820,7 +820,7 @@ Ignores `line-move-visual'."
(overlay-put ol 'after-string nil)))
((< mright rightcol) ;`rightcol' is past EOL.
(let ((str (rectangle--space-to rightcol)))
- (put-text-property 0 (length str) 'face 'rectangle-preview
str)
+ (put-text-property 0 (length str) 'face 'region str)
;; If cursor happens to be here, draw it at the right place.
(rectangle--place-cursor leftcol left str)
(overlay-put ol 'after-string str)))
@@ -832,7 +832,7 @@ Ignores `line-move-visual'."
(overlay-put ol 'after-string nil)
(goto-char right)
(let ((str (rectangle--space-to rightcol)))
- (put-text-property 0 (length str) 'face
'rectangle-preview str)
+ (put-text-property 0 (length str) 'face 'region str)
(when (= left right)
(rectangle--place-cursor leftcol left str))
(overlay-put ol 'after-string str))))
@@ -842,7 +842,7 @@ Ignores `line-move-visual'."
;; Make zero-width rectangles visible!
(overlay-put ol 'after-string
(concat (propertize " "
- 'face '(rectangle-preview
(:height 0.2)))
+ 'face '(region (:height
0.2)))
(overlay-get ol 'after-string))))
(push ol nrol)))
start end))
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 8568a94..16cbeef 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -278,7 +278,7 @@ Should be consistent with the Git config value
i18n.logOutputEncoding."
(defun vc-git-mode-line-string (file)
"Return a string for `vc-mode-line' to put in the mode line for FILE."
- (let* ((rev (vc-working-revision file))
+ (let* ((rev (vc-working-revision file 'Git))
(disp-rev (or (vc-git--symbolic-ref file)
(substring rev 0 7)))
(def-ml (vc-default-mode-line-string 'Git file))
- [Emacs-diffs] master updated (309cefe -> 3354582), Paul Eggert, 2016/05/01
- [Emacs-diffs] master 07fafe1 4/9: ; Merge from origin/emacs-25, Paul Eggert, 2016/05/01
- [Emacs-diffs] master a8da4d0 3/9: Merge from origin/emacs-25,
Paul Eggert <=
- [Emacs-diffs] master ce92397 2/9: ; Merge from origin/emacs-25, Paul Eggert, 2016/05/01
- [Emacs-diffs] master b57c174 1/9: Merge from origin/emacs-25, Paul Eggert, 2016/05/01
- [Emacs-diffs] master 198ce5b 8/9: ; Merge from origin/emacs-25, Paul Eggert, 2016/05/01
- [Emacs-diffs] master d6ec146 6/9: ; Merge from origin/emacs-25, Paul Eggert, 2016/05/01
- [Emacs-diffs] master 595195a 7/9: Merge from origin/emacs-25, Paul Eggert, 2016/05/01
- [Emacs-diffs] master 3354582 9/9: Merge from origin/emacs-25, Paul Eggert, 2016/05/01
- [Emacs-diffs] master c3ed7ce 5/9: Merge from origin/emacs-25, Paul Eggert, 2016/05/01