diff options
| author | Paul Eggert | 2016-05-01 18:07:57 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-05-01 18:07:57 -0700 |
| commit | a8da4d033d98f6bee89f3fd3f067389705c45d4d (patch) | |
| tree | 37a25e04d242d85980579076be228cdeecf8d7f1 | |
| parent | ce92397425d29ec27fc701c36c589a5e1f894898 (diff) | |
| parent | 71fb0e06e7e04d8300be10feffd3d314a76b4d27 (diff) | |
| download | emacs-a8da4d033d98f6bee89f3fd3f067389705c45d4d.tar.gz emacs-a8da4d033d98f6bee89f3fd3f067389705c45d4d.zip | |
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
| -rw-r--r-- | doc/lispref/help.texi | 4 | ||||
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | lisp/calendar/todo-mode.el | 16 | ||||
| -rw-r--r-- | lisp/rect.el | 8 | ||||
| -rw-r--r-- | 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 0b8182c521a..58a11f29a4c 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi | |||
| @@ -362,6 +362,10 @@ this'} with grave accent and apostrophe, the standard style | |||
| 362 | before Emacs version 25. The default value @code{nil} | 362 | before Emacs version 25. The default value @code{nil} |
| 363 | acts like @code{curve} if curved single quotes are displayable, and | 363 | acts like @code{curve} if curved single quotes are displayable, and |
| 364 | like @code{grave} otherwise. | 364 | like @code{grave} otherwise. |
| 365 | |||
| 366 | This variable can be used by experts on platforms that have problems | ||
| 367 | with curved quotes. As it is not intended for casual use, it is not a | ||
| 368 | user option. | ||
| 365 | @end defvar | 369 | @end defvar |
| 366 | 370 | ||
| 367 | @defun substitute-command-keys string | 371 | @defun substitute-command-keys string |
| @@ -1913,7 +1913,8 @@ Set it to 'curve' for curved single quotes, to 'straight' for straight | |||
| 1913 | apostrophes, and to 'grave' for grave accent and apostrophe. The | 1913 | apostrophes, and to 'grave' for grave accent and apostrophe. The |
| 1914 | default value nil acts like 'curve' if curved single quotes are | 1914 | default value nil acts like 'curve' if curved single quotes are |
| 1915 | displayable, and like 'grave' otherwise. The new variable affects | 1915 | displayable, and like 'grave' otherwise. The new variable affects |
| 1916 | display of diagnostics and help, but not of info. | 1916 | display of diagnostics and help, but not of info. As the variable is |
| 1917 | not intended for casual use, it is not a user option. | ||
| 1917 | 1918 | ||
| 1918 | +++ | 1919 | +++ |
| 1919 | ** substitute-command-keys now replaces quotes. | 1920 | ** substitute-command-keys now replaces quotes. |
| @@ -2467,6 +2468,9 @@ emoji) display is disabled. This feature was accidentally added when | |||
| 2467 | Emacs 24.4 included the new Core Text based font backend code that was | 2468 | Emacs 24.4 included the new Core Text based font backend code that was |
| 2468 | originally implemented for a non-mainline port. This will be enabled | 2469 | originally implemented for a non-mainline port. This will be enabled |
| 2469 | again once it is also implemented in Emacs on free operating systems. | 2470 | again once it is also implemented in Emacs on free operating systems. |
| 2471 | If some symbols, such as emoji, do not display, we suggest to install | ||
| 2472 | an appropriate font, such as Symbola; then they will be displayed, | ||
| 2473 | albeit without the color effects. | ||
| 2470 | 2474 | ||
| 2471 | --- | 2475 | --- |
| 2472 | ** The new function 'w32-application-type' returns the type of an | 2476 | ** 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 9574c03043e..0529e970333 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'." | |||
| 612 | (defun todo-show (&optional solicit-file interactive) | 612 | (defun todo-show (&optional solicit-file interactive) |
| 613 | "Visit a todo file and display one of its categories. | 613 | "Visit a todo file and display one of its categories. |
| 614 | 614 | ||
| 615 | When invoked in Todo mode, prompt for which todo file to visit. | 615 | When invoked in Todo mode, Todo Archive mode or Todo Filtered |
| 616 | When invoked outside of Todo mode with non-nil prefix argument | 616 | Items mode, or when invoked anywhere else with a prefix argument, |
| 617 | SOLICIT-FILE prompt for which todo file to visit; otherwise visit | 617 | prompt for which todo file to visit. When invoked outside of a |
| 618 | `todo-default-todo-file'. Subsequent invocations from outside | 618 | Todo mode buffer without a prefix argument, visit |
| 619 | of Todo mode revisit this file or, with option | 619 | `todo-default-todo-file'. Subsequent invocations from outside of |
| 620 | Todo mode revisit this file or, with option | ||
| 620 | `todo-show-current-file' non-nil (the default), whichever todo | 621 | `todo-show-current-file' non-nil (the default), whichever todo |
| 621 | file was last visited. | 622 | file was last visited. |
| 622 | 623 | ||
| @@ -643,10 +644,7 @@ In Todo mode just the category's unfinished todo items are shown | |||
| 643 | by default. The done items are hidden, but typing | 644 | by default. The done items are hidden, but typing |
| 644 | `\\[todo-toggle-view-done-items]' displays them below the todo | 645 | `\\[todo-toggle-view-done-items]' displays them below the todo |
| 645 | items. With non-nil user option `todo-show-with-done' both todo | 646 | items. With non-nil user option `todo-show-with-done' both todo |
| 646 | and done items are always shown on visiting a category. | 647 | and done items are always shown on visiting a category." |
| 647 | |||
| 648 | Invoking this command in Todo Archive mode visits the | ||
| 649 | corresponding todo file, displaying the corresponding category." | ||
| 650 | (interactive "P\np") | 648 | (interactive "P\np") |
| 651 | (when todo-default-todo-file | 649 | (when todo-default-todo-file |
| 652 | (todo-check-file (todo-absolute-file-name todo-default-todo-file))) | 650 | (todo-check-file (todo-absolute-file-name todo-default-todo-file))) |
diff --git a/lisp/rect.el b/lisp/rect.el index 53fe46772b2..8803a47215f 100644 --- a/lisp/rect.el +++ b/lisp/rect.el | |||
| @@ -788,7 +788,7 @@ Ignores `line-move-visual'." | |||
| 788 | (if (not old) | 788 | (if (not old) |
| 789 | (let ((ol (make-overlay left right))) | 789 | (let ((ol (make-overlay left right))) |
| 790 | (overlay-put ol 'window window) | 790 | (overlay-put ol 'window window) |
| 791 | (overlay-put ol 'face 'rectangle-preview) | 791 | (overlay-put ol 'face 'region) |
| 792 | ol) | 792 | ol) |
| 793 | (let ((ol (pop old))) | 793 | (let ((ol (pop old))) |
| 794 | (move-overlay ol left right (current-buffer)) | 794 | (move-overlay ol left right (current-buffer)) |
| @@ -820,7 +820,7 @@ Ignores `line-move-visual'." | |||
| 820 | (overlay-put ol 'after-string nil))) | 820 | (overlay-put ol 'after-string nil))) |
| 821 | ((< mright rightcol) ;`rightcol' is past EOL. | 821 | ((< mright rightcol) ;`rightcol' is past EOL. |
| 822 | (let ((str (rectangle--space-to rightcol))) | 822 | (let ((str (rectangle--space-to rightcol))) |
| 823 | (put-text-property 0 (length str) 'face 'rectangle-preview str) | 823 | (put-text-property 0 (length str) 'face 'region str) |
| 824 | ;; If cursor happens to be here, draw it at the right place. | 824 | ;; If cursor happens to be here, draw it at the right place. |
| 825 | (rectangle--place-cursor leftcol left str) | 825 | (rectangle--place-cursor leftcol left str) |
| 826 | (overlay-put ol 'after-string str))) | 826 | (overlay-put ol 'after-string str))) |
| @@ -832,7 +832,7 @@ Ignores `line-move-visual'." | |||
| 832 | (overlay-put ol 'after-string nil) | 832 | (overlay-put ol 'after-string nil) |
| 833 | (goto-char right) | 833 | (goto-char right) |
| 834 | (let ((str (rectangle--space-to rightcol))) | 834 | (let ((str (rectangle--space-to rightcol))) |
| 835 | (put-text-property 0 (length str) 'face 'rectangle-preview str) | 835 | (put-text-property 0 (length str) 'face 'region str) |
| 836 | (when (= left right) | 836 | (when (= left right) |
| 837 | (rectangle--place-cursor leftcol left str)) | 837 | (rectangle--place-cursor leftcol left str)) |
| 838 | (overlay-put ol 'after-string str)))) | 838 | (overlay-put ol 'after-string str)))) |
| @@ -842,7 +842,7 @@ Ignores `line-move-visual'." | |||
| 842 | ;; Make zero-width rectangles visible! | 842 | ;; Make zero-width rectangles visible! |
| 843 | (overlay-put ol 'after-string | 843 | (overlay-put ol 'after-string |
| 844 | (concat (propertize " " | 844 | (concat (propertize " " |
| 845 | 'face '(rectangle-preview (:height 0.2))) | 845 | 'face '(region (:height 0.2))) |
| 846 | (overlay-get ol 'after-string)))) | 846 | (overlay-get ol 'after-string)))) |
| 847 | (push ol nrol))) | 847 | (push ol nrol))) |
| 848 | start end)) | 848 | start end)) |
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 8568a94bbdb..16cbeef57ea 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." | |||
| 278 | 278 | ||
| 279 | (defun vc-git-mode-line-string (file) | 279 | (defun vc-git-mode-line-string (file) |
| 280 | "Return a string for `vc-mode-line' to put in the mode line for FILE." | 280 | "Return a string for `vc-mode-line' to put in the mode line for FILE." |
| 281 | (let* ((rev (vc-working-revision file)) | 281 | (let* ((rev (vc-working-revision file 'Git)) |
| 282 | (disp-rev (or (vc-git--symbolic-ref file) | 282 | (disp-rev (or (vc-git--symbolic-ref file) |
| 283 | (substring rev 0 7))) | 283 | (substring rev 0 7))) |
| 284 | (def-ml (vc-default-mode-line-string 'Git file)) | 284 | (def-ml (vc-default-mode-line-string 'Git file)) |