aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2018-11-16 08:30:19 -0800
committerGlenn Morris2018-11-16 08:30:19 -0800
commit166f1400b402fa2275be398fe818e4514dfd8fe9 (patch)
tree790a729c8c47f530bd89e5f9cac13c4f257b36ee
parent372225ef0268a03fe8edad66817d2ecbc9cfa305 (diff)
parentedcd6b722c8e495498b1619e4d073962b8a8f3e8 (diff)
downloademacs-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.texi3
-rw-r--r--etc/NEWS.2624
-rw-r--r--lisp/net/tramp.el4
-rw-r--r--src/coding.c18
-rw-r--r--test/README9
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
4916Likewise, for scrolling up. The value, @var{f}, specifies how far 4916Likewise, for scrolling up. The value, @var{f}, specifies how far
4917point should be placed from the bottom of the window; thus, as with 4917point 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
4919aggressively.
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.
3Copyright (C) 2016-2018 Free Software Foundation, Inc. 3Copyright (C) 2016-2018 Free Software Foundation, Inc.
4See the end of the file for license conditions. 4See the end of the file for license conditions.
5 5
6Please send Emacs bug reports to bug-gnu-emacs@gnu.org. 6Please send Emacs bug reports to 'bug-gnu-emacs@gnu.org'.
7If possible, use M-x report-emacs-bug. 7If possible, use 'M-x report-emacs-bug'.
8 8
9This file is about changes in Emacs version 26. 9This 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
13in older Emacs versions. 13in older Emacs versions.
14 14
15You can narrow news to a specific version by calling 'view-emacs-news' 15You can narrow news to a specific version by calling 'view-emacs-news'
16with a prefix argument or by typing C-u C-h C-n. 16with 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.
68The default value of mail-source-movemail-program is now "movemail". 68The default value of 'mail-source-movemail-program' is now "movemail".
69This ensures that the movemail program from GNU Mailutils will be used 69This ensures that the movemail program from GNU Mailutils will be used
70if found in 'exec-path', even if it was not found at build time. To 70if found in 'exec-path', even if it was not found at build time. To
71use a different program, customize mail-source-movemail-program to the 71use a different program, customize 'mail-source-movemail-program' to the
72absolute file name of the desired executable. 72absolute 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
103or of the repository working copy. 108or 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.
107Previously, the mode line displayed the local number (1, 2, 3, ...) of 112Previously, the mode line displayed the local number (1, 2, 3, ...) of
108the revision. Starting with Emacs 26.1, the default has changed, and 113the revision. Starting with Emacs 26.1, the default has changed, and
109it now shows the global revision number, in the form of its changeset 114it now shows the global revision number, in the form of its changeset
110hash value. To get back the previous behavior, customize the new 115hash value. To get back the previous behavior, customize the new
111option 'vc-hg-symbolic-revision-styles' to the value '("{rev}")'. 116option '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
177GNU Mailutils to retrieve email. It is recommended, and is the 179GNU Mailutils to retrieve email. It is recommended, and is the
178default if GNU Mailutils is installed. When --with-mailutils is not 180default if GNU Mailutils is installed. When '--with-mailutils' is not
179in effect, the Emacs build procedure by default continues to build and 181in effect, the Emacs build procedure by default continues to build and
180install a limited 'movemail' substitute that retrieves POP3 email only 182install a limited 'movemail' substitute that retrieves POP3 email only
181via insecure channels. To avoid this problem, use either 183via 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'
183is the default on platforms other than native MS-Windows. 185is 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.
2883User is always nil." 2883User 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
9227DEFUN ("check-coding-systems-region", Fcheck_coding_systems_region, 9227DEFUN ("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
9231START and END are buffer positions specifying the region. 9231START and END are buffer positions specifying the region.
9232CODING-SYSTEM-LIST is a list of coding systems to check. 9232CODING-SYSTEM-LIST is a list of coding systems to check.
9233 9233
9234The value is an alist ((CODING-SYSTEM POS0 POS1 ...) ...), where
9235CODING-SYSTEM is a member of CODING-SYSTEM-LIST and can't encode the
9236whole region, POS0, POS1, ... are buffer positions where non-encodable
9237characters are found.
9238
9239If all coding systems in CODING-SYSTEM-LIST can encode the region, the 9234If all coding systems in CODING-SYSTEM-LIST can encode the region, the
9240value is nil. 9235function returns nil.
9236
9237If some of the coding systems cannot encode the whole region, value is
9238an alist, each element of which has the form (CODING-SYSTEM POS1 POS2 ...),
9239which means that CODING-SYSTEM cannot encode the text at buffer positions
9240POS1, POS2, ...
9241 9241
9242START may be a string. In that case, check if the string is 9242START may be a string. In that case, check if the string is
9243encodable, and the value contains indices to the string instead of 9243encodable, and the value contains character indices into the string
9244buffer positions. END is ignored. 9244instead of buffer positions. END is ignored in this case.
9245 9245
9246If the current buffer (or START if it is a string) is unibyte, the value 9246If the current buffer (or START if it is a string) is unibyte, the value
9247is nil. */) 9247is 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
82Some of the tests require a remote temporary directory
83(filenotify-tests.el, shadowfile-tests.el and tramp-tests.el). Per
84default, a mock-up connection method is used (this might not be
85possible when running on MS Windows). If you want to test a real
86remote connection, set $REMOTE_TEMPORARY_FILE_DIRECTORY to a suitable
87value 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