From: Devon Sean McCullough <Emacs-Hacker2017@jovi.net>
To: 28609@debbugs.gnu.org
Subject: bug#28609: simple.el
Date: Tue, 26 Sep 2017 10:51:04 -0400 [thread overview]
Message-ID: <D4ACD8F1-C378-4363-B319-1DADFCB639EF@jovi.net> (raw)
Correct grammar; also, call a pair a pair.
--- a/simple.el 2017-09-26 05:31:16.000000000 -0400
+++ b/simple.el 2017-09-26 10:45:41.000000000 -0400
@@ -39,11 +39,11 @@
(defcustom shell-command-dont-erase-buffer nil
"If non-nil, output buffer is not erased between shell commands.
-Also, a non-nil value set the point in the output buffer
-once the command complete.
-The value `beg-last-out' set point at the beginning of the output,
-`end-last-out' set point at the end of the buffer, `save-point'
-restore the buffer position before the command."
+Also, a non-nil value sets the point in the output buffer
+once the command completes.
+The value `beg-last-out' sets point at the beginning of the output,
+`end-last-out' sets point at the end of the buffer, `save-point'
+restores the buffer position before the command."
:type '(choice
(const :tag "Erase buffer" nil)
(const :tag "Set point to beginning of last output" beg-last-out)
@@ -53,9 +53,9 @@
:version "26.1")
(defvar shell-command-saved-pos nil
- "Point position in the output buffer after command complete.
-It is an alist (BUFFER . POS), where BUFFER is the output
-buffer, and POS is the point position in BUFFER once the command finish.
+ "Point position in the output buffer after command completes.
+It is an alist of (BUFFER . POS), where BUFFER is the output
+buffer, and POS is the point position in BUFFER once the command finishes.
This variable is used when `shell-command-dont-erase-buffer' is non-nil.")
(defcustom idle-update-delay 0.5
@@ -1003,7 +1003,7 @@
If METHOD is `delete-only', then delete the region; the return value
is undefined. If METHOD is nil, then return the content as a string.
If METHOD is `bounds', then return the boundaries of the region
-as a list of the form (START . END).
+as a pair of (START . END) positions.
If METHOD is anything else, delete the region and return its content
as a string, after filtering it with `filter-buffer-substring', which
is called with METHOD as its 3rd argument.")
@@ -5473,7 +5473,7 @@
(progn (cl-assert (mark)) t)))
(defun region-bounds ()
- "Return the boundaries of the region as a list of (START . END) positions."
+ "Return the boundaries of the region as a pair of (START . END) positions."
(funcall region-extract-function 'bounds))
(defun region-noncontiguous-p ()
next reply other threads:[~2017-09-26 14:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-26 14:51 Devon Sean McCullough [this message]
2017-09-26 16:28 ` bug#28609: simple.el John Wiegley
2017-09-26 16:33 ` John Wiegley
2017-09-26 19:09 ` Johan Bockgård
2017-09-26 19:37 ` John Wiegley
2017-09-29 13:28 ` Eli Zaretskii
2017-09-30 11:09 ` Johan Bockgård
2017-10-04 20:24 ` Johan Bockgård
2017-10-05 8:33 ` Eli Zaretskii
2020-08-22 19:23 ` Stefan Kangas
2017-09-29 13:02 ` Eli Zaretskii
[not found] <<D4ACD8F1-C378-4363-B319-1DADFCB639EF@jovi.net>
[not found] ` <<838tgx8xpa.fsf@gnu.org>
2017-09-30 2:30 ` Drew Adams
2017-09-30 8:12 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D4ACD8F1-C378-4363-B319-1DADFCB639EF@jovi.net \
--to=emacs-hacker2017@jovi.net \
--cc=28609@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.