diff options
| author | Glenn Morris | 2018-11-16 08:30:19 -0800 |
|---|---|---|
| committer | Glenn Morris | 2018-11-16 08:30:19 -0800 |
| commit | 166f1400b402fa2275be398fe818e4514dfd8fe9 (patch) | |
| tree | 790a729c8c47f530bd89e5f9cac13c4f257b36ee | |
| parent | 372225ef0268a03fe8edad66817d2ecbc9cfa305 (diff) | |
| parent | edcd6b722c8e495498b1619e4d073962b8a8f3e8 (diff) | |
| download | emacs-166f1400b402fa2275be398fe818e4514dfd8fe9.tar.gz emacs-166f1400b402fa2275be398fe818e4514dfd8fe9.zip | |
Merge from origin/emacs-26
edcd6b7 Small documentation correction.
168a8c2 * src/coding.c (Fcheck_coding_systems_region): Doc fix. (Bug...
3287a7c Fix Bug#33364
acee0a8 ; Cosmetic changes in etc/NEWS
a6ef167 * test/README: Explain $REMOTE_TEMPORARY_FILE_DIRECTORY.
# Conflicts:
# etc/NEWS
| -rw-r--r-- | doc/lispref/windows.texi | 3 | ||||
| -rw-r--r-- | etc/NEWS.26 | 24 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 4 | ||||
| -rw-r--r-- | src/coding.c | 18 | ||||
| -rw-r--r-- | test/README | 9 |
5 files changed, 36 insertions, 22 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index bce2459a2f5..af497cf6af9 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -4915,7 +4915,8 @@ fashion. | |||
| 4915 | @defopt scroll-up-aggressively | 4915 | @defopt scroll-up-aggressively |
| 4916 | Likewise, for scrolling up. The value, @var{f}, specifies how far | 4916 | Likewise, for scrolling up. The value, @var{f}, specifies how far |
| 4917 | point should be placed from the bottom of the window; thus, as with | 4917 | point should be placed from the bottom of the window; thus, as with |
| 4918 | @code{scroll-up-aggressively}, a larger value scrolls more aggressively. | 4918 | @code{scroll-down-aggressively}, a larger value scrolls more |
| 4919 | aggressively. | ||
| 4919 | @end defopt | 4920 | @end defopt |
| 4920 | 4921 | ||
| 4921 | @defopt scroll-step | 4922 | @defopt scroll-step |
diff --git a/etc/NEWS.26 b/etc/NEWS.26 index dfafe7c5c94..6dba2a950bd 100644 --- a/etc/NEWS.26 +++ b/etc/NEWS.26 | |||
| @@ -3,8 +3,8 @@ GNU Emacs NEWS -- history of user-visible changes. | |||
| 3 | Copyright (C) 2016-2018 Free Software Foundation, Inc. | 3 | Copyright (C) 2016-2018 Free Software Foundation, Inc. |
| 4 | See the end of the file for license conditions. | 4 | See the end of the file for license conditions. |
| 5 | 5 | ||
| 6 | Please send Emacs bug reports to bug-gnu-emacs@gnu.org. | 6 | Please send Emacs bug reports to 'bug-gnu-emacs@gnu.org'. |
| 7 | If possible, use M-x report-emacs-bug. | 7 | If possible, use 'M-x report-emacs-bug'. |
| 8 | 8 | ||
| 9 | This file is about changes in Emacs version 26. | 9 | This file is about changes in Emacs version 26. |
| 10 | 10 | ||
| @@ -13,7 +13,7 @@ See files NEWS.25, NEWS.24, ..., NEWS.18, and NEWS.1-17 for changes | |||
| 13 | in older Emacs versions. | 13 | in older Emacs versions. |
| 14 | 14 | ||
| 15 | You can narrow news to a specific version by calling 'view-emacs-news' | 15 | You can narrow news to a specific version by calling 'view-emacs-news' |
| 16 | with a prefix argument or by typing C-u C-h C-n. | 16 | with a prefix argument or by typing 'C-u C-h C-n'. |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | * Installation Changes in Emacs 26.2 | 19 | * Installation Changes in Emacs 26.2 |
| @@ -65,12 +65,17 @@ often cause crashes. Set it to nil if you really need those fonts. | |||
| 65 | 65 | ||
| 66 | --- | 66 | --- |
| 67 | *** Mailutils movemail will now be used if found at runtime. | 67 | *** Mailutils movemail will now be used if found at runtime. |
| 68 | The default value of mail-source-movemail-program is now "movemail". | 68 | The default value of 'mail-source-movemail-program' is now "movemail". |
| 69 | This ensures that the movemail program from GNU Mailutils will be used | 69 | This ensures that the movemail program from GNU Mailutils will be used |
| 70 | if found in 'exec-path', even if it was not found at build time. To | 70 | if found in 'exec-path', even if it was not found at build time. To |
| 71 | use a different program, customize mail-source-movemail-program to the | 71 | use a different program, customize 'mail-source-movemail-program' to the |
| 72 | absolute file name of the desired executable. | 72 | absolute file name of the desired executable. |
| 73 | 73 | ||
| 74 | ** Shadowfile | ||
| 75 | |||
| 76 | --- | ||
| 77 | *** shadowfile.el has been rewritten to support Tramp file names. | ||
| 78 | |||
| 74 | ** Shell mode | 79 | ** Shell mode |
| 75 | 80 | ||
| 76 | --- | 81 | --- |
| @@ -103,16 +108,13 @@ whether the version shown on the mode line is that of the visited file | |||
| 103 | or of the repository working copy. | 108 | or of the repository working copy. |
| 104 | 109 | ||
| 105 | --- | 110 | --- |
| 106 | **** Display of Mercurial revisions in the mode-line has changed. | 111 | **** Display of Mercurial revisions in the mode line has changed. |
| 107 | Previously, the mode line displayed the local number (1, 2, 3, ...) of | 112 | Previously, the mode line displayed the local number (1, 2, 3, ...) of |
| 108 | the revision. Starting with Emacs 26.1, the default has changed, and | 113 | the revision. Starting with Emacs 26.1, the default has changed, and |
| 109 | it now shows the global revision number, in the form of its changeset | 114 | it now shows the global revision number, in the form of its changeset |
| 110 | hash value. To get back the previous behavior, customize the new | 115 | hash value. To get back the previous behavior, customize the new |
| 111 | option 'vc-hg-symbolic-revision-styles' to the value '("{rev}")'. | 116 | option 'vc-hg-symbolic-revision-styles' to the value '("{rev}")'. |
| 112 | 117 | ||
| 113 | --- | ||
| 114 | ** shadowfile.el has been rewritten to support Tramp file names. | ||
| 115 | |||
| 116 | 118 | ||
| 117 | * New Modes and Packages in Emacs 26.2 | 119 | * New Modes and Packages in Emacs 26.2 |
| 118 | 120 | ||
| @@ -175,11 +177,11 @@ version 2.6.6 or later. | |||
| 175 | 177 | ||
| 176 | ** The new option 'configure --with-mailutils' causes Emacs to rely on | 178 | ** The new option 'configure --with-mailutils' causes Emacs to rely on |
| 177 | GNU Mailutils to retrieve email. It is recommended, and is the | 179 | GNU Mailutils to retrieve email. It is recommended, and is the |
| 178 | default if GNU Mailutils is installed. When --with-mailutils is not | 180 | default if GNU Mailutils is installed. When '--with-mailutils' is not |
| 179 | in effect, the Emacs build procedure by default continues to build and | 181 | in effect, the Emacs build procedure by default continues to build and |
| 180 | install a limited 'movemail' substitute that retrieves POP3 email only | 182 | install a limited 'movemail' substitute that retrieves POP3 email only |
| 181 | via insecure channels. To avoid this problem, use either | 183 | via insecure channels. To avoid this problem, use either |
| 182 | --with-mailutils or --without-pop when configuring; --without-pop | 184 | '--with-mailutils' or '--without-pop' when configuring; '--without-pop' |
| 183 | is the default on platforms other than native MS-Windows. | 185 | is the default on platforms other than native MS-Windows. |
| 184 | 186 | ||
| 185 | ** The new option 'configure --enable-gcc-warnings=warn-only' causes | 187 | ** The new option 'configure --enable-gcc-warnings=warn-only' causes |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index e8d535e85ed..f16bb67efb5 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -2882,7 +2882,9 @@ User is always nil." | |||
| 2882 | "Return a (user host) tuple allowed to access. | 2882 | "Return a (user host) tuple allowed to access. |
| 2883 | User is always nil." | 2883 | User is always nil." |
| 2884 | (tramp-parse-group | 2884 | (tramp-parse-group |
| 2885 | (concat "^[ \t]*Host[ \t]+" "\\(" tramp-host-regexp "\\)") 1 ",")) | 2885 | (concat "\\(?:^[ \t]*Host\\)" "\\|" "\\(?:^.+\\)" |
| 2886 | "\\|" "\\(" tramp-host-regexp "\\)") | ||
| 2887 | 1 "[ \t]+")) | ||
| 2886 | 2888 | ||
| 2887 | ;; Generic function. | 2889 | ;; Generic function. |
| 2888 | (defun tramp-parse-shostkeys-sknownhosts (dirname regexp) | 2890 | (defun tramp-parse-shostkeys-sknownhosts (dirname regexp) |
diff --git a/src/coding.c b/src/coding.c index 966492a322f..0f715a2d7cd 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -9226,22 +9226,22 @@ to the string and treated as in `substring'. */) | |||
| 9226 | 9226 | ||
| 9227 | DEFUN ("check-coding-systems-region", Fcheck_coding_systems_region, | 9227 | DEFUN ("check-coding-systems-region", Fcheck_coding_systems_region, |
| 9228 | Scheck_coding_systems_region, 3, 3, 0, | 9228 | Scheck_coding_systems_region, 3, 3, 0, |
| 9229 | doc: /* Check if the region is encodable by coding systems. | 9229 | doc: /* Check if text between START and END is encodable by CODING-SYSTEM-LIST. |
| 9230 | 9230 | ||
| 9231 | START and END are buffer positions specifying the region. | 9231 | START and END are buffer positions specifying the region. |
| 9232 | CODING-SYSTEM-LIST is a list of coding systems to check. | 9232 | CODING-SYSTEM-LIST is a list of coding systems to check. |
| 9233 | 9233 | ||
| 9234 | The value is an alist ((CODING-SYSTEM POS0 POS1 ...) ...), where | ||
| 9235 | CODING-SYSTEM is a member of CODING-SYSTEM-LIST and can't encode the | ||
| 9236 | whole region, POS0, POS1, ... are buffer positions where non-encodable | ||
| 9237 | characters are found. | ||
| 9238 | |||
| 9239 | If all coding systems in CODING-SYSTEM-LIST can encode the region, the | 9234 | If all coding systems in CODING-SYSTEM-LIST can encode the region, the |
| 9240 | value is nil. | 9235 | function returns nil. |
| 9236 | |||
| 9237 | If some of the coding systems cannot encode the whole region, value is | ||
| 9238 | an alist, each element of which has the form (CODING-SYSTEM POS1 POS2 ...), | ||
| 9239 | which means that CODING-SYSTEM cannot encode the text at buffer positions | ||
| 9240 | POS1, POS2, ... | ||
| 9241 | 9241 | ||
| 9242 | START may be a string. In that case, check if the string is | 9242 | START may be a string. In that case, check if the string is |
| 9243 | encodable, and the value contains indices to the string instead of | 9243 | encodable, and the value contains character indices into the string |
| 9244 | buffer positions. END is ignored. | 9244 | instead of buffer positions. END is ignored in this case. |
| 9245 | 9245 | ||
| 9246 | If the current buffer (or START if it is a string) is unibyte, the value | 9246 | If the current buffer (or START if it is a string) is unibyte, the value |
| 9247 | is nil. */) | 9247 | is nil. */) |
diff --git a/test/README b/test/README index 83ee2614004..e6f28ec4797 100644 --- a/test/README +++ b/test/README | |||
| @@ -79,6 +79,15 @@ debugging. To do that, use | |||
| 79 | 79 | ||
| 80 | make TEST_INTERACTIVE=yes ... | 80 | make TEST_INTERACTIVE=yes ... |
| 81 | 81 | ||
| 82 | Some of the tests require a remote temporary directory | ||
| 83 | (filenotify-tests.el, shadowfile-tests.el and tramp-tests.el). Per | ||
| 84 | default, a mock-up connection method is used (this might not be | ||
| 85 | possible when running on MS Windows). If you want to test a real | ||
| 86 | remote connection, set $REMOTE_TEMPORARY_FILE_DIRECTORY to a suitable | ||
| 87 | value in order to overwrite the default value: | ||
| 88 | |||
| 89 | env REMOTE_TEMPORARY_FILE_DIRECTORY=/ssh:host:/tmp make ... | ||
| 90 | |||
| 82 | 91 | ||
| 83 | (Also, see etc/compilation.txt for compilation mode font lock tests.) | 92 | (Also, see etc/compilation.txt for compilation mode font lock tests.) |
| 84 | 93 | ||