1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 15:11:30 -08:00

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
This commit is contained in:
Glenn Morris 2018-11-16 08:30:19 -08:00
commit 166f1400b4
5 changed files with 36 additions and 22 deletions

View file

@ -4915,7 +4915,8 @@ fashion.
@defopt scroll-up-aggressively
Likewise, for scrolling up. The value, @var{f}, specifies how far
point should be placed from the bottom of the window; thus, as with
@code{scroll-up-aggressively}, a larger value scrolls more aggressively.
@code{scroll-down-aggressively}, a larger value scrolls more
aggressively.
@end defopt
@defopt scroll-step

View file

@ -3,8 +3,8 @@ GNU Emacs NEWS -- history of user-visible changes.
Copyright (C) 2016-2018 Free Software Foundation, Inc.
See the end of the file for license conditions.
Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
If possible, use M-x report-emacs-bug.
Please send Emacs bug reports to 'bug-gnu-emacs@gnu.org'.
If possible, use 'M-x report-emacs-bug'.
This file is about changes in Emacs version 26.
@ -13,7 +13,7 @@ See files NEWS.25, NEWS.24, ..., NEWS.18, and NEWS.1-17 for changes
in older Emacs versions.
You can narrow news to a specific version by calling 'view-emacs-news'
with a prefix argument or by typing C-u C-h C-n.
with a prefix argument or by typing 'C-u C-h C-n'.
* Installation Changes in Emacs 26.2
@ -65,12 +65,17 @@ often cause crashes. Set it to nil if you really need those fonts.
---
*** Mailutils movemail will now be used if found at runtime.
The default value of mail-source-movemail-program is now "movemail".
The default value of 'mail-source-movemail-program' is now "movemail".
This ensures that the movemail program from GNU Mailutils will be used
if found in 'exec-path', even if it was not found at build time. To
use a different program, customize mail-source-movemail-program to the
use a different program, customize 'mail-source-movemail-program' to the
absolute file name of the desired executable.
** Shadowfile
---
*** shadowfile.el has been rewritten to support Tramp file names.
** Shell mode
---
@ -103,16 +108,13 @@ whether the version shown on the mode line is that of the visited file
or of the repository working copy.
---
**** Display of Mercurial revisions in the mode-line has changed.
**** Display of Mercurial revisions in the mode line has changed.
Previously, the mode line displayed the local number (1, 2, 3, ...) of
the revision. Starting with Emacs 26.1, the default has changed, and
it now shows the global revision number, in the form of its changeset
hash value. To get back the previous behavior, customize the new
option 'vc-hg-symbolic-revision-styles' to the value '("{rev}")'.
---
** shadowfile.el has been rewritten to support Tramp file names.
* New Modes and Packages in Emacs 26.2
@ -175,11 +177,11 @@ version 2.6.6 or later.
** The new option 'configure --with-mailutils' causes Emacs to rely on
GNU Mailutils to retrieve email. It is recommended, and is the
default if GNU Mailutils is installed. When --with-mailutils is not
default if GNU Mailutils is installed. When '--with-mailutils' is not
in effect, the Emacs build procedure by default continues to build and
install a limited 'movemail' substitute that retrieves POP3 email only
via insecure channels. To avoid this problem, use either
--with-mailutils or --without-pop when configuring; --without-pop
'--with-mailutils' or '--without-pop' when configuring; '--without-pop'
is the default on platforms other than native MS-Windows.
** The new option 'configure --enable-gcc-warnings=warn-only' causes

View file

@ -2882,7 +2882,9 @@ User is always nil."
"Return a (user host) tuple allowed to access.
User is always nil."
(tramp-parse-group
(concat "^[ \t]*Host[ \t]+" "\\(" tramp-host-regexp "\\)") 1 ","))
(concat "\\(?:^[ \t]*Host\\)" "\\|" "\\(?:^.+\\)"
"\\|" "\\(" tramp-host-regexp "\\)")
1 "[ \t]+"))
;; Generic function.
(defun tramp-parse-shostkeys-sknownhosts (dirname regexp)

View file

@ -9226,22 +9226,22 @@ to the string and treated as in `substring'. */)
DEFUN ("check-coding-systems-region", Fcheck_coding_systems_region,
Scheck_coding_systems_region, 3, 3, 0,
doc: /* Check if the region is encodable by coding systems.
doc: /* Check if text between START and END is encodable by CODING-SYSTEM-LIST.
START and END are buffer positions specifying the region.
CODING-SYSTEM-LIST is a list of coding systems to check.
The value is an alist ((CODING-SYSTEM POS0 POS1 ...) ...), where
CODING-SYSTEM is a member of CODING-SYSTEM-LIST and can't encode the
whole region, POS0, POS1, ... are buffer positions where non-encodable
characters are found.
If all coding systems in CODING-SYSTEM-LIST can encode the region, the
value is nil.
function returns nil.
If some of the coding systems cannot encode the whole region, value is
an alist, each element of which has the form (CODING-SYSTEM POS1 POS2 ...),
which means that CODING-SYSTEM cannot encode the text at buffer positions
POS1, POS2, ...
START may be a string. In that case, check if the string is
encodable, and the value contains indices to the string instead of
buffer positions. END is ignored.
encodable, and the value contains character indices into the string
instead of buffer positions. END is ignored in this case.
If the current buffer (or START if it is a string) is unibyte, the value
is nil. */)

View file

@ -79,6 +79,15 @@ debugging. To do that, use
make TEST_INTERACTIVE=yes ...
Some of the tests require a remote temporary directory
(filenotify-tests.el, shadowfile-tests.el and tramp-tests.el). Per
default, a mock-up connection method is used (this might not be
possible when running on MS Windows). If you want to test a real
remote connection, set $REMOTE_TEMPORARY_FILE_DIRECTORY to a suitable
value in order to overwrite the default value:
env REMOTE_TEMPORARY_FILE_DIRECTORY=/ssh:host:/tmp make ...
(Also, see etc/compilation.txt for compilation mode font lock tests.)