diff options
| author | John Wiegley | 2016-01-11 22:48:10 -0800 |
|---|---|---|
| committer | John Wiegley | 2016-01-11 22:48:10 -0800 |
| commit | fb74beed3cf7ed158f18508766ce0ac2685f1d9a (patch) | |
| tree | eebde8bdadc53ef70a3e8602707c8921462ef9d1 | |
| parent | 70f3e4e61fc4433ca8ac4517d247df7e7af7b248 (diff) | |
| parent | 861022ff5f7b8d6ab53c726e009208eadf4ecd41 (diff) | |
| download | emacs-fb74beed3cf7ed158f18508766ce0ac2685f1d9a.tar.gz emacs-fb74beed3cf7ed158f18508766ce0ac2685f1d9a.zip | |
Merge from origin/emacs-25
861022f * doc/misc/texinfo.tex: Revert unwanted copyright change.
46e47a5 ; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright.
71ea138 * lisp/align.el (align): Simplify a lambda
5618a50 * lisp/align.el (align): Fix arg order in call to `align-region'
1f680db Fix compilation next-error in buffers with selective-display
d20a948 * nsm.el (nsm-check-protocol): Fix typo in the message.
1da116f Add SHA1 warnings for high network security settings
e48bacd ; * etc/NEWS: Typo fix.
| -rw-r--r-- | doc/misc/texinfo.tex | 5 | ||||
| -rw-r--r-- | etc/NEWS | 4 | ||||
| -rw-r--r-- | etc/refcards/ru-refcard.tex | 2 | ||||
| -rw-r--r-- | lisp/align.el | 16 | ||||
| -rw-r--r-- | lisp/net/nsm.el | 13 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 22 |
6 files changed, 44 insertions, 18 deletions
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex index 0f301a2a716..34fd353a9dc 100644 --- a/doc/misc/texinfo.tex +++ b/doc/misc/texinfo.tex | |||
| @@ -5,7 +5,10 @@ | |||
| 5 | % | 5 | % |
| 6 | \def\texinfoversion{2015-12-17.20} | 6 | \def\texinfoversion{2015-12-17.20} |
| 7 | % | 7 | % |
| 8 | % Copyright 1985-1986, 1988, 1990-2016 Free Software Foundation, Inc. | 8 | % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, |
| 9 | % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | ||
| 10 | % 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 | ||
| 11 | % Free Software Foundation, Inc. | ||
| 9 | % | 12 | % |
| 10 | % This texinfo.tex file is free software: you can redistribute it and/or | 13 | % This texinfo.tex file is free software: you can redistribute it and/or |
| 11 | % modify it under the terms of the GNU General Public License as | 14 | % modify it under the terms of the GNU General Public License as |
| @@ -1377,8 +1377,8 @@ files (recursively) under a directory. | |||
| 1377 | 1377 | ||
| 1378 | +++ | 1378 | +++ |
| 1379 | ** New variable `inhibit-message', when bound to non-nil, inhibits | 1379 | ** New variable `inhibit-message', when bound to non-nil, inhibits |
| 1380 | `message' and related functions from displaying messages the Echo | 1380 | `message' and related functions from displaying messages in the echo |
| 1381 | Area. The output is still logged to the *Messages* buffer. | 1381 | area. The output is still logged to the *Messages* buffer. |
| 1382 | 1382 | ||
| 1383 | +++ | 1383 | +++ |
| 1384 | ** A new text property `inhibit-read-only' can be used in read-only | 1384 | ** A new text property `inhibit-read-only' can be used in read-only |
diff --git a/etc/refcards/ru-refcard.tex b/etc/refcards/ru-refcard.tex index e27a3d244a7..273a79cdc73 100644 --- a/etc/refcards/ru-refcard.tex +++ b/etc/refcards/ru-refcard.tex | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | \setlength{\ColThreeWidth}{25mm} | 22 | \setlength{\ColThreeWidth}{25mm} |
| 23 | 23 | ||
| 24 | \newcommand{\versionemacs}[0]{25} % version of Emacs this is for | 24 | \newcommand{\versionemacs}[0]{25} % version of Emacs this is for |
| 25 | \newcommand{\cyear}[0]{2015} % copyright year | 25 | \newcommand{\cyear}[0]{2016} % copyright year |
| 26 | 26 | ||
| 27 | \newcommand\shortcopyrightnotice[0]{\vskip 1ex plus 2 fill | 27 | \newcommand\shortcopyrightnotice[0]{\vskip 1ex plus 2 fill |
| 28 | \centerline{\footnotesize \copyright\ \cyear\ Free Software Foundation, Inc. | 28 | \centerline{\footnotesize \copyright\ \cyear\ Free Software Foundation, Inc. |
diff --git a/lisp/align.el b/lisp/align.el index a7a98c28f12..7e439f3e073 100644 --- a/lisp/align.el +++ b/lisp/align.el | |||
| @@ -888,15 +888,15 @@ on the format of these lists." | |||
| 888 | (let ((sec-first end) | 888 | (let ((sec-first end) |
| 889 | (sec-last beg)) | 889 | (sec-last beg)) |
| 890 | (align-region beg end | 890 | (align-region beg end |
| 891 | (or exclude-rules | ||
| 892 | align-mode-exclude-rules-list | ||
| 893 | align-exclude-rules-list) nil | ||
| 894 | separator | 891 | separator |
| 895 | (function | 892 | nil ; rules |
| 896 | (lambda (b e mode) | 893 | (or exclude-rules |
| 897 | (when (and mode (listp mode)) | 894 | align-mode-exclude-rules-list |
| 898 | (setq sec-first (min sec-first b) | 895 | align-exclude-rules-list) |
| 899 | sec-last (max sec-last e)))))) | 896 | (lambda (b e mode) |
| 897 | (when (consp mode) | ||
| 898 | (setq sec-first (min sec-first b) | ||
| 899 | sec-last (max sec-last e))))) | ||
| 900 | (if (< sec-first sec-last) | 900 | (if (< sec-first sec-last) |
| 901 | (align-region sec-first sec-last 'entire | 901 | (align-region sec-first sec-last 'entire |
| 902 | (or rules align-mode-rules-list align-rules-list) | 902 | (or rules align-mode-rules-list align-rules-list) |
diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el index 31f2b32792f..ebdeeccc2c8 100644 --- a/lisp/net/nsm.el +++ b/lisp/net/nsm.el | |||
| @@ -183,7 +183,9 @@ unencrypted." | |||
| 183 | 183 | ||
| 184 | (defun nsm-check-protocol (process host port status settings) | 184 | (defun nsm-check-protocol (process host port status settings) |
| 185 | (let ((prime-bits (plist-get status :diffie-hellman-prime-bits)) | 185 | (let ((prime-bits (plist-get status :diffie-hellman-prime-bits)) |
| 186 | (encryption (format "%s-%s-%s" | 186 | (signature-algorithm |
| 187 | (plist-get (plist-get status :certificate) :signature-algorithm)) | ||
| 188 | (encryption (format "%s-%s-%s" | ||
| 187 | (plist-get status :key-exchange) | 189 | (plist-get status :key-exchange) |
| 188 | (plist-get status :cipher) | 190 | (plist-get status :cipher) |
| 189 | (plist-get status :mac))) | 191 | (plist-get status :mac))) |
| @@ -209,6 +211,15 @@ unencrypted." | |||
| 209 | host port encryption))) | 211 | host port encryption))) |
| 210 | (delete-process process) | 212 | (delete-process process) |
| 211 | nil) | 213 | nil) |
| 214 | ((and (string-match "\\bSHA1\\b" signature-algorithm) | ||
| 215 | (not (memq :signature-sha1 (plist-get settings :conditions))) | ||
| 216 | (not | ||
| 217 | (nsm-query | ||
| 218 | host port status :signature-sha1 | ||
| 219 | "The certificate used to verify the connection to %s:%s uses the SHA1 algorithm (%s), which is believed to be unsafe." | ||
| 220 | host port signature-algorithm))) | ||
| 221 | (delete-process process) | ||
| 222 | nil) | ||
| 212 | ((and protocol | 223 | ((and protocol |
| 213 | (string-match "SSL" protocol) | 224 | (string-match "SSL" protocol) |
| 214 | (not (memq :ssl (plist-get settings :conditions))) | 225 | (not (memq :ssl (plist-get settings :conditions))) |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index e5609b8bc5b..b7ab408f744 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -1125,6 +1125,16 @@ POS and RES.") | |||
| 1125 | (compilation-internal-error-properties | 1125 | (compilation-internal-error-properties |
| 1126 | file line end-line col end-col type fmt))) | 1126 | file line end-line col end-col type fmt))) |
| 1127 | 1127 | ||
| 1128 | (defun compilation-beginning-of-line (&optional n) | ||
| 1129 | "Like `beginning-of-line', but accounts for lines hidden by `selective-display'." | ||
| 1130 | (if (or (not (eq selective-display t)) | ||
| 1131 | (null n) | ||
| 1132 | (= n 1)) | ||
| 1133 | (beginning-of-line n) | ||
| 1134 | (re-search-forward "[\n\r]" nil 'end (1- n)) | ||
| 1135 | (if (< n 0) | ||
| 1136 | (beginning-of-line)))) | ||
| 1137 | |||
| 1128 | (defun compilation-move-to-column (col screen) | 1138 | (defun compilation-move-to-column (col screen) |
| 1129 | "Go to column COL on the current line. | 1139 | "Go to column COL on the current line. |
| 1130 | If SCREEN is non-nil, columns are screen columns, otherwise, they are | 1140 | If SCREEN is non-nil, columns are screen columns, otherwise, they are |
| @@ -1183,13 +1193,15 @@ FMTS is a list of format specs for transforming the file name. | |||
| 1183 | (goto-char (marker-position marker)) | 1193 | (goto-char (marker-position marker)) |
| 1184 | ;; Set end-marker if appropriate and go to line. | 1194 | ;; Set end-marker if appropriate and go to line. |
| 1185 | (if (not (or end-col end-line)) | 1195 | (if (not (or end-col end-line)) |
| 1186 | (beginning-of-line (- line marker-line -1)) | 1196 | (compilation-beginning-of-line (- line marker-line -1)) |
| 1187 | (beginning-of-line (- (or end-line line) marker-line -1)) | 1197 | (compilation-beginning-of-line (- (or end-line line) |
| 1198 | marker-line -1)) | ||
| 1188 | (if (or (null end-col) (< end-col 0)) | 1199 | (if (or (null end-col) (< end-col 0)) |
| 1189 | (end-of-line) | 1200 | (end-of-line) |
| 1190 | (compilation-move-to-column end-col screen-columns)) | 1201 | (compilation-move-to-column end-col screen-columns)) |
| 1191 | (setq end-marker (point-marker)) | 1202 | (setq end-marker (point-marker)) |
| 1192 | (when end-line (beginning-of-line (- line end-line -1)))) | 1203 | (when end-line |
| 1204 | (compilation-beginning-of-line (- line end-line -1)))) | ||
| 1193 | (if col | 1205 | (if col |
| 1194 | (compilation-move-to-column col screen-columns) | 1206 | (compilation-move-to-column col screen-columns) |
| 1195 | (forward-to-indentation 0)) | 1207 | (forward-to-indentation 0)) |
| @@ -2469,7 +2481,7 @@ This is the value of `next-error-function' in Compilation buffers." | |||
| 2469 | ;; Treat file's found lines in forward order, 1 by 1. | 2481 | ;; Treat file's found lines in forward order, 1 by 1. |
| 2470 | (dolist (line (reverse (cddr (compilation--loc->file-struct loc)))) | 2482 | (dolist (line (reverse (cddr (compilation--loc->file-struct loc)))) |
| 2471 | (when (car line) ; else this is a filename w/o a line# | 2483 | (when (car line) ; else this is a filename w/o a line# |
| 2472 | (beginning-of-line (- (car line) last -1)) | 2484 | (compilation-beginning-of-line (- (car line) last -1)) |
| 2473 | (setq last (car line))) | 2485 | (setq last (car line))) |
| 2474 | ;; Treat line's found columns and store/update a marker for each. | 2486 | ;; Treat line's found columns and store/update a marker for each. |
| 2475 | (dolist (col (cdr line)) | 2487 | (dolist (col (cdr line)) |
| @@ -2541,7 +2553,7 @@ displays at the top of the window; there is no arrow." | |||
| 2541 | (if (integerp compilation-context-lines) | 2553 | (if (integerp compilation-context-lines) |
| 2542 | (set-window-start w (save-excursion | 2554 | (set-window-start w (save-excursion |
| 2543 | (goto-char mk) | 2555 | (goto-char mk) |
| 2544 | (beginning-of-line | 2556 | (compilation-beginning-of-line |
| 2545 | (- 1 compilation-context-lines)) | 2557 | (- 1 compilation-context-lines)) |
| 2546 | (point))) | 2558 | (point))) |
| 2547 | ;; If there is no left fringe. | 2559 | ;; If there is no left fringe. |