diff options
| author | Glenn Morris | 2018-10-23 09:39:11 -0700 |
|---|---|---|
| committer | Glenn Morris | 2018-10-23 09:39:11 -0700 |
| commit | 5aa41f775e1e69dba7c6f2b2a8d0334ca9c2cfdb (patch) | |
| tree | c0bff44180b6b35e3d690a1a385d006ea8ba8adb | |
| parent | 5c5bed72a6b2963a28443f70c8c5c8e510b81f26 (diff) | |
| parent | 2efd40076c8977aaf54d7478db96e5dbf623f37d (diff) | |
| download | emacs-5aa41f775e1e69dba7c6f2b2a8d0334ca9c2cfdb.tar.gz emacs-5aa41f775e1e69dba7c6f2b2a8d0334ca9c2cfdb.zip | |
Merge from origin/emacs-26
2efd400 (origin/emacs-26) Correct typo in GNU ELPA url
6239016 * doc/misc/dired-x.texi (Omitting Variables): Fix wording. (B...
1531bca Fix help-form binding in dired-create-files
cf79327 Fix a pasto in a Gnus doc string
a4e40f6 ; * doc/emacs/files.texi (Reverting): Improve wording in last...
f632ecb Update revert-buffer documentation
eb67689 * lisp/mail/smtpmail.el (smtpmail-send-queued-mail): Load fil...
433e364 ; * etc/NEWS: Announce that emacs-module.h is now installed.
# Conflicts:
# lisp/mail/smtpmail.el
| -rw-r--r-- | doc/emacs/files.texi | 9 | ||||
| -rw-r--r-- | doc/misc/dired-x.texi | 4 | ||||
| -rw-r--r-- | doc/misc/efaq.texi | 10 | ||||
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | lisp/dired-aux.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 4 | ||||
| -rw-r--r-- | lisp/mail/smtpmail.el | 20 |
7 files changed, 30 insertions, 25 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index c7d3b40f9d1..6c68075ae4a 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -932,10 +932,11 @@ way that, if the file was edited only slightly, you will be at | |||
| 932 | approximately the same part of the text as before. But if you have | 932 | approximately the same part of the text as before. But if you have |
| 933 | made major changes, point may end up in a totally different location. | 933 | made major changes, point may end up in a totally different location. |
| 934 | 934 | ||
| 935 | Reverting marks the buffer as not modified. It also clears the | 935 | Reverting marks the buffer as not modified. However, it adds the |
| 936 | buffer's undo history (@pxref{Undo}). Thus, the reversion cannot be | 936 | reverted changes as a single modification to the buffer's undo history |
| 937 | undone---if you change your mind yet again, you can't use the undo | 937 | (@pxref{Undo}). Thus, after reverting, you can type @kbd{C-/} or its |
| 938 | commands to bring the reverted changes back. | 938 | aliases to bring the reverted changes back, if you happen to change |
| 939 | your mind. | ||
| 939 | 940 | ||
| 940 | Some kinds of buffers that are not associated with files, such as | 941 | Some kinds of buffers that are not associated with files, such as |
| 941 | Dired buffers, can also be reverted. For them, reverting means | 942 | Dired buffers, can also be reverted. For them, reverting means |
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi index 36a9cb0291a..f65542f02ea 100644 --- a/doc/misc/dired-x.texi +++ b/doc/misc/dired-x.texi | |||
| @@ -321,8 +321,8 @@ Default: @code{nil} | |||
| 321 | 321 | ||
| 322 | @cindex How to make omitting the default in Dired | 322 | @cindex How to make omitting the default in Dired |
| 323 | If non-@code{nil}, ``uninteresting'' files are not listed. | 323 | If non-@code{nil}, ``uninteresting'' files are not listed. |
| 324 | Uninteresting files are those whose files whose names match regexp | 324 | Uninteresting files are files whose names match regexp |
| 325 | @code{dired-omit-files}, plus those ending with extensions in | 325 | @code{dired-omit-files}, plus files whose names end with extension in |
| 326 | @code{dired-omit-extensions}. @kbd{C-x M-o} (@code{dired-omit-mode}) | 326 | @code{dired-omit-extensions}. @kbd{C-x M-o} (@code{dired-omit-mode}) |
| 327 | toggles its value, which is buffer-local. Put | 327 | toggles its value, which is buffer-local. Put |
| 328 | 328 | ||
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index 26d9c82b219..0d4e4ba8bdd 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi | |||
| @@ -3536,7 +3536,7 @@ see @ref{Packages that do not come with Emacs}. | |||
| 3536 | 3536 | ||
| 3537 | The easiest way to add more features to your Emacs is to use the | 3537 | The easiest way to add more features to your Emacs is to use the |
| 3538 | command @kbd{M-x list-packages}. This contacts the | 3538 | command @kbd{M-x list-packages}. This contacts the |
| 3539 | @uref{https:///elpa.gnu.org, GNU ELPA} (``Emacs Lisp Package Archive'') | 3539 | @uref{https://elpa.gnu.org, GNU ELPA} (``Emacs Lisp Package Archive'') |
| 3540 | server and fetches the list of additional packages that it offers. | 3540 | server and fetches the list of additional packages that it offers. |
| 3541 | These are GNU packages that are available for use with Emacs, but are | 3541 | These are GNU packages that are available for use with Emacs, but are |
| 3542 | distributed separately from Emacs itself, for reasons of space, etc. | 3542 | distributed separately from Emacs itself, for reasons of space, etc. |
| @@ -3545,8 +3545,8 @@ available, and then Emacs can automatically download and install the | |||
| 3545 | packages that you select. @xref{Packages,,, emacs, The GNU Emacs Manual}. | 3545 | packages that you select. @xref{Packages,,, emacs, The GNU Emacs Manual}. |
| 3546 | 3546 | ||
| 3547 | There are other, non-GNU, Emacs Lisp package servers, including: | 3547 | There are other, non-GNU, Emacs Lisp package servers, including: |
| 3548 | @uref{http://melpa.org/, MELPA}; and | 3548 | @uref{https://melpa.org, MELPA}; and |
| 3549 | @uref{https://marmalade-repo.org/, Marmalade}. To use additional | 3549 | @uref{https://marmalade-repo.org, Marmalade}. To use additional |
| 3550 | package servers, customize the @code{package-archives} variable. Be | 3550 | package servers, customize the @code{package-archives} variable. Be |
| 3551 | aware that installing a package can run arbitrary code, so only add | 3551 | aware that installing a package can run arbitrary code, so only add |
| 3552 | sources that you trust. | 3552 | sources that you trust. |
| @@ -3557,8 +3557,8 @@ GNU Emacs sources mailing list}, which is gatewayed to the | |||
| 3557 | connection between the two can be unreliable) is an official place | 3557 | connection between the two can be unreliable) is an official place |
| 3558 | where people can post or announce their extensions to Emacs. | 3558 | where people can post or announce their extensions to Emacs. |
| 3559 | 3559 | ||
| 3560 | The @uref{http://emacswiki.org, Emacs Wiki} contains pointers to some | 3560 | The @uref{https://emacswiki.org, Emacs Wiki} contains pointers to some |
| 3561 | additional extensions. @uref{http://wikemacs.org, WikEmacs} is an | 3561 | additional extensions. @uref{https://wikemacs.org, WikEmacs} is an |
| 3562 | alternative wiki for Emacs. | 3562 | alternative wiki for Emacs. |
| 3563 | 3563 | ||
| 3564 | @uref{http://www.damtp.cam.ac.uk/user/sje30/emacs/ell.html, The Emacs | 3564 | @uref{http://www.damtp.cam.ac.uk/user/sje30/emacs/ell.html, The Emacs |
| @@ -21,6 +21,12 @@ Temporary note: | |||
| 21 | --- means no change in the manuals is needed. | 21 | --- means no change in the manuals is needed. |
| 22 | When you add a new item, use the appropriate mark if you are sure it applies, | 22 | When you add a new item, use the appropriate mark if you are sure it applies, |
| 23 | 23 | ||
| 24 | +++ | ||
| 25 | ** Installing Emacs now installs the emacs-module.h file. | ||
| 26 | The emacs-module.h file is now installed in the system-wide include | ||
| 27 | directory as part of the Emacs installation. This allows to build | ||
| 28 | Emacs modules outside of the Emacs source tree. | ||
| 29 | |||
| 24 | 30 | ||
| 25 | * Installation Changes in Emacs 27.1 | 31 | * Installation Changes in Emacs 27.1 |
| 26 | 32 | ||
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 90bfa096b08..72c16da63f8 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -1738,7 +1738,7 @@ or with the current marker character if MARKER-CHAR is t." | |||
| 1738 | (let* ((overwrite (file-exists-p to)) | 1738 | (let* ((overwrite (file-exists-p to)) |
| 1739 | (dired-overwrite-confirmed ; for dired-handle-overwrite | 1739 | (dired-overwrite-confirmed ; for dired-handle-overwrite |
| 1740 | (and overwrite | 1740 | (and overwrite |
| 1741 | (let ((help-form '(format-message "\ | 1741 | (let ((help-form (format-message "\ |
| 1742 | Type SPC or `y' to overwrite file `%s', | 1742 | Type SPC or `y' to overwrite file `%s', |
| 1743 | DEL or `n' to skip to next, | 1743 | DEL or `n' to skip to next, |
| 1744 | ESC or `q' to not overwrite any of the remaining files, | 1744 | ESC or `q' to not overwrite any of the remaining files, |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 1b0dde94551..f28e6db3c7e 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -2243,9 +2243,7 @@ This only works if the article in question is HTML." | |||
| 2243 | start end))))))) | 2243 | start end))))))) |
| 2244 | 2244 | ||
| 2245 | (defun gnus-article-treat-fold-newsgroups () | 2245 | (defun gnus-article-treat-fold-newsgroups () |
| 2246 | "Unfold folded message headers. | 2246 | "Fold the Newsgroups and Followup-To message headers." |
| 2247 | Only the headers that fit into the current window width will be | ||
| 2248 | unfolded." | ||
| 2249 | (interactive) | 2247 | (interactive) |
| 2250 | (gnus-with-article-headers | 2248 | (gnus-with-article-headers |
| 2251 | (while (gnus-article-goto-header "newsgroups\\|followup-to") | 2249 | (while (gnus-article-goto-header "newsgroups\\|followup-to") |
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index 9b045b25584..8a1e86b7750 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el | |||
| @@ -397,35 +397,35 @@ for `smtpmail-try-auth-method'.") | |||
| 397 | (with-temp-buffer | 397 | (with-temp-buffer |
| 398 | ;; Get index, get first mail, send it, update index, get second | 398 | ;; Get index, get first mail, send it, update index, get second |
| 399 | ;; mail, send it, etc... | 399 | ;; mail, send it, etc... |
| 400 | (let ((file-msg "") | 400 | (let (file-data file-elisp |
| 401 | (qfile (expand-file-name smtpmail-queue-index-file | 401 | (qfile (expand-file-name smtpmail-queue-index-file |
| 402 | smtpmail-queue-dir)) | 402 | smtpmail-queue-dir)) |
| 403 | result) | 403 | result) |
| 404 | (insert-file-contents qfile) | 404 | (insert-file-contents qfile) |
| 405 | (goto-char (point-min)) | 405 | (goto-char (point-min)) |
| 406 | (while (not (eobp)) | 406 | (while (not (eobp)) |
| 407 | (setq file-msg (buffer-substring (point) (line-end-position))) | 407 | (setq file-data (buffer-substring (point) (line-end-position))) |
| 408 | (setq file-elisp (concat file-data ".el")) | ||
| 408 | ;; FIXME: Avoid `load' which can execute arbitrary code and is hence | 409 | ;; FIXME: Avoid `load' which can execute arbitrary code and is hence |
| 409 | ;; a source of security holes. Better read the file and extract the | 410 | ;; a source of security holes. Better read the file and extract the |
| 410 | ;; data "by hand". | 411 | ;; data "by hand". |
| 411 | ;;(load file-msg) | 412 | ;;(load file-elisp) |
| 412 | (with-temp-buffer | 413 | (with-temp-buffer |
| 413 | (insert-file-contents (concat file-msg ".el")) | 414 | (insert-file-contents file-elisp) |
| 414 | (goto-char (point-min)) | 415 | (goto-char (point-min)) |
| 415 | (pcase (read (current-buffer)) | 416 | (pcase (read (current-buffer)) |
| 416 | (`(setq smtpmail-recipient-address-list ',v) | 417 | (`(setq smtpmail-recipient-address-list ',v) |
| 417 | (skip-chars-forward " \n\t") | 418 | (skip-chars-forward " \n\t") |
| 418 | (unless (eobp) (message "Ignoring trailing text in %S" | 419 | (unless (eobp) (message "Ignoring trailing text in %S" |
| 419 | (concat file-msg ".el"))) | 420 | file-elisp)) |
| 420 | (setq smtpmail-recipient-address-list v)) | 421 | (setq smtpmail-recipient-address-list v)) |
| 421 | (sexp (error "Unexpected code in %S: %S" | 422 | (sexp (error "Unexpected code in %S: %S" file-elisp sexp)))) |
| 422 | (concat file-msg ".el") sexp)))) | ||
| 423 | ;; Insert the message literally: it is already encoded as per | 423 | ;; Insert the message literally: it is already encoded as per |
| 424 | ;; the MIME headers, and code conversions might guess the | 424 | ;; the MIME headers, and code conversions might guess the |
| 425 | ;; encoding wrongly. | 425 | ;; encoding wrongly. |
| 426 | (with-temp-buffer | 426 | (with-temp-buffer |
| 427 | (let ((coding-system-for-read 'no-conversion)) | 427 | (let ((coding-system-for-read 'no-conversion)) |
| 428 | (insert-file-contents file-msg)) | 428 | (insert-file-contents file-data)) |
| 429 | (let ((smtpmail-mail-address | 429 | (let ((smtpmail-mail-address |
| 430 | (or (and mail-specify-envelope-from (mail-envelope-from)) | 430 | (or (and mail-specify-envelope-from (mail-envelope-from)) |
| 431 | user-mail-address))) | 431 | user-mail-address))) |
| @@ -435,8 +435,8 @@ for `smtpmail-try-auth-method'.") | |||
| 435 | (current-buffer))) | 435 | (current-buffer))) |
| 436 | (error "Sending failed: %s" result)) | 436 | (error "Sending failed: %s" result)) |
| 437 | (error "Sending failed; no recipients")))) | 437 | (error "Sending failed; no recipients")))) |
| 438 | (delete-file file-msg) | 438 | (delete-file file-data) |
| 439 | (delete-file (concat file-msg ".el")) | 439 | (delete-file file-elisp) |
| 440 | (delete-region (point-at-bol) (point-at-bol 2))) | 440 | (delete-region (point-at-bol) (point-at-bol 2))) |
| 441 | (write-region (point-min) (point-max) qfile)))) | 441 | (write-region (point-min) (point-max) qfile)))) |
| 442 | 442 | ||