diff options
| author | Glenn Morris | 2021-02-19 08:36:56 -0800 |
|---|---|---|
| committer | Glenn Morris | 2021-02-19 08:36:56 -0800 |
| commit | 1d50050af7f6cde7283d29cd79526bf1cd4a73ae (patch) | |
| tree | e010861d80fe684c74141bdd9fc10f93c552fe0b | |
| parent | 51d056b14136c3d479ccf949dafa0f3602e7ee2f (diff) | |
| parent | 8e8b46ef818a5f94a9697dce1c49c6869d61deed (diff) | |
| download | emacs-1d50050af7f6cde7283d29cd79526bf1cd4a73ae.tar.gz emacs-1d50050af7f6cde7283d29cd79526bf1cd4a73ae.zip | |
Merge from origin/emacs-27
8e8b46ef81 (origin/emacs-27) More accurate documentation of the "r" i...
dcb2015a5b Mention the GNU Kind Communications Guidelines in the FAQ
9882e63eea ; * CONTRIBUTE: Another wording change regarding tiny chan...
850f18ef23 Allow newlines in password prompts again in comint
c977370dd7 Avoid point movement when visiting image files
da64a257a4 ; * CONTRIBUTE: Yet another clarification of significant c...
d03f2a6ee9 Avoid assertion violation in callproc.c
dcc00bbb19 ; * CONTRIBUTE: Clarify the "15-lines" rule a bit more.
| -rw-r--r-- | CONTRIBUTE | 14 | ||||
| -rw-r--r-- | doc/lispref/commands.texi | 5 | ||||
| -rw-r--r-- | doc/misc/efaq.texi | 5 | ||||
| -rw-r--r-- | lisp/comint.el | 4 | ||||
| -rw-r--r-- | lisp/image-mode.el | 4 | ||||
| -rw-r--r-- | src/callproc.c | 6 |
6 files changed, 29 insertions, 9 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE index 9b2af9ccf13..bbf52628620 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE | |||
| @@ -66,11 +66,15 @@ more reliably, and makes the job of applying the patches easier and less | |||
| 66 | error-prone. It also allows sending patches whose author is someone | 66 | error-prone. It also allows sending patches whose author is someone |
| 67 | other than the email sender. | 67 | other than the email sender. |
| 68 | 68 | ||
| 69 | Once the cumulative amount of your submissions exceeds about 15 lines | 69 | Once the cumulative amount of your submissions exceeds a dozen or so |
| 70 | of non-trivial code, we will need you to assign to the FSF the | 70 | lines of non-trivial changes, we will need you to assign to the FSF |
| 71 | copyright for your contributions. Ask on emacs-devel@gnu.org, and we | 71 | the copyright for your contributions. (To see how many lines were |
| 72 | will send you the necessary form together with the instructions to | 72 | non-trivially changed, count only added and modified lines in the |
| 73 | fill and email it, in order to start this legal paperwork. | 73 | patched code. Consider an added or changed line non-trivial if it |
| 74 | includes at least one identifier, string, or substantial comment.) | ||
| 75 | Ask on emacs-devel@gnu.org, and we will send you the necessary form | ||
| 76 | together with the instructions to fill and email it, in order to start | ||
| 77 | this legal paperwork. | ||
| 74 | 78 | ||
| 75 | ** Issue tracker (a.k.a. "bug tracker") | 79 | ** Issue tracker (a.k.a. "bug tracker") |
| 76 | 80 | ||
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 1ad2df95919..1c762c27e8e 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -493,7 +493,10 @@ I/O. | |||
| 493 | Point and the mark, as two numeric arguments, smallest first. This is | 493 | Point and the mark, as two numeric arguments, smallest first. This is |
| 494 | the only code letter that specifies two successive arguments rather than | 494 | the only code letter that specifies two successive arguments rather than |
| 495 | one. This will signal an error if the mark is not set in the buffer | 495 | one. This will signal an error if the mark is not set in the buffer |
| 496 | which is current when the command is invoked. No I/O. | 496 | which is current when the command is invoked. If Transient Mark mode |
| 497 | is turned on (@pxref{The Mark}) --- as it is by default --- and user | ||
| 498 | option @code{mark-even-if-inactive} is @code{nil}, Emacs will signal | ||
| 499 | an error even if the mark @emph{is} set, but is inactive. No I/O. | ||
| 497 | 500 | ||
| 498 | @item s | 501 | @item s |
| 499 | Arbitrary text, read in the minibuffer and returned as a string | 502 | Arbitrary text, read in the minibuffer and returned as a string |
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index f26ae637788..6f0a81b4f8b 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi | |||
| @@ -388,6 +388,11 @@ posting a followup that recommends such software. | |||
| 388 | @uref{news:gnu.emacs.bug} is a place where bug reports appear, but avoid | 388 | @uref{news:gnu.emacs.bug} is a place where bug reports appear, but avoid |
| 389 | posting bug reports to this newsgroup directly (@pxref{Reporting bugs}). | 389 | posting bug reports to this newsgroup directly (@pxref{Reporting bugs}). |
| 390 | 390 | ||
| 391 | Finally, we recommend reading the | ||
| 392 | @url{https://www.gnu.org/philosophy/kind-communication.html, GNU Kind | ||
| 393 | Communications Guidelines} before posting to any GNU lists or | ||
| 394 | newsgroups. | ||
| 395 | |||
| 391 | @node Newsgroup archives | 396 | @node Newsgroup archives |
| 392 | @section Where can I get old postings to @uref{news:gnu.emacs.help} and other GNU groups? | 397 | @section Where can I get old postings to @uref{news:gnu.emacs.help} and other GNU groups? |
| 393 | @cindex Archived postings from @code{gnu.emacs.help} | 398 | @cindex Archived postings from @code{gnu.emacs.help} |
diff --git a/lisp/comint.el b/lisp/comint.el index 57df6bfb19f..ea69c3b1f11 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -378,7 +378,7 @@ This variable is buffer-local." | |||
| 378 | "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)" | 378 | "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)" |
| 379 | "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?" | 379 | "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?" |
| 380 | ;; "[[:alpha:]]" used to be "for", which fails to match non-English. | 380 | ;; "[[:alpha:]]" used to be "for", which fails to match non-English. |
| 381 | "\\(?: [[:alpha:]]+ .+\\)?[[:blank:]]*[::៖][[:blank:]]*\\'") | 381 | "\\(?: [[:alpha:]]+ .+\\)?[[:blank:]]*[::៖][[:space:]]*\\'") |
| 382 | "Regexp matching prompts for passwords in the inferior process. | 382 | "Regexp matching prompts for passwords in the inferior process. |
| 383 | This is used by `comint-watch-for-password-prompt'." | 383 | This is used by `comint-watch-for-password-prompt'." |
| 384 | :version "27.1" | 384 | :version "27.1" |
| @@ -2432,6 +2432,8 @@ This function could be in the list `comint-output-filter-functions'." | |||
| 2432 | (replace-regexp-in-string "\r" "" string))) | 2432 | (replace-regexp-in-string "\r" "" string))) |
| 2433 | (when (string-match "^[ \n\r\t\v\f\b\a]+" string) | 2433 | (when (string-match "^[ \n\r\t\v\f\b\a]+" string) |
| 2434 | (setq string (replace-match "" t t string))) | 2434 | (setq string (replace-match "" t t string))) |
| 2435 | (when (string-match "\n+\\'" string) | ||
| 2436 | (setq string (replace-match "" t t string))) | ||
| 2435 | (let ((comint--prompt-recursion-depth (1+ comint--prompt-recursion-depth))) | 2437 | (let ((comint--prompt-recursion-depth (1+ comint--prompt-recursion-depth))) |
| 2436 | (if (> comint--prompt-recursion-depth 10) | 2438 | (if (> comint--prompt-recursion-depth 10) |
| 2437 | (message "Password prompt recursion too deep") | 2439 | (message "Password prompt recursion too deep") |
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index ec0a559c8db..7384abf3b23 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -858,7 +858,9 @@ was inserted." | |||
| 858 | (setq image-transform-rotation | 858 | (setq image-transform-rotation |
| 859 | (or (exif-orientation | 859 | (or (exif-orientation |
| 860 | (ignore-error exif-error | 860 | (ignore-error exif-error |
| 861 | (exif-parse-buffer))) | 861 | ;; exif-parse-buffer can move point, so preserve it. |
| 862 | (save-excursion | ||
| 863 | (exif-parse-buffer)))) | ||
| 862 | 0.0))) | 864 | 0.0))) |
| 863 | ;; Swap width and height when changing orientation | 865 | ;; Swap width and height when changing orientation |
| 864 | ;; between portrait and landscape. | 866 | ;; between portrait and landscape. |
diff --git a/src/callproc.c b/src/callproc.c index cb72b070b7b..cd0f67fe29b 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -411,7 +411,11 @@ call_process (ptrdiff_t nargs, Lisp_Object *args, int filefd, | |||
| 411 | /* If the buffer is (still) a list, it might be a (:file "file") spec. */ | 411 | /* If the buffer is (still) a list, it might be a (:file "file") spec. */ |
| 412 | if (CONSP (buffer) && EQ (XCAR (buffer), QCfile)) | 412 | if (CONSP (buffer) && EQ (XCAR (buffer), QCfile)) |
| 413 | { | 413 | { |
| 414 | output_file = Fexpand_file_name (XCAR (XCDR (buffer)), | 414 | Lisp_Object ofile = XCDR (buffer); |
| 415 | if (CONSP (ofile)) | ||
| 416 | ofile = XCAR (ofile); | ||
| 417 | CHECK_STRING (ofile); | ||
| 418 | output_file = Fexpand_file_name (ofile, | ||
| 415 | BVAR (current_buffer, directory)); | 419 | BVAR (current_buffer, directory)); |
| 416 | CHECK_STRING (output_file); | 420 | CHECK_STRING (output_file); |
| 417 | buffer = Qnil; | 421 | buffer = Qnil; |