From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Devon Sean McCullough Newsgroups: gmane.emacs.bugs Subject: bug#28609: simple.el Date: Tue, 26 Sep 2017 10:51:04 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1506437532 23032 195.159.176.226 (26 Sep 2017 14:52:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Sep 2017 14:52:12 +0000 (UTC) To: 28609@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 26 16:52:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwrDR-0005hn-TG for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Sep 2017 16:52:06 +0200 Original-Received: from localhost ([::1]:47961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwrDZ-0007hL-Cb for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Sep 2017 10:52:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwrDR-0007fT-6k for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2017 10:52:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwrDO-000582-4D for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2017 10:52:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52865) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwrDO-00057v-0t for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2017 10:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwrDN-0004xr-QS for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2017 10:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Devon Sean McCullough Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Sep 2017 14:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150643749419048 (code B ref -1); Tue, 26 Sep 2017 14:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Sep 2017 14:51:34 +0000 Original-Received: from localhost ([127.0.0.1]:33313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwrCv-0004xA-P3 for submit@debbugs.gnu.org; Tue, 26 Sep 2017 10:51:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwrCu-0004wx-9V for submit@debbugs.gnu.org; Tue, 26 Sep 2017 10:51:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwrCo-0004xy-1O for submit@debbugs.gnu.org; Tue, 26 Sep 2017 10:51:27 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36858) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dwrCn-0004xo-Vi for submit@debbugs.gnu.org; Tue, 26 Sep 2017 10:51:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwrCm-0007BP-Eq for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2017 10:51:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwrCi-0004vL-DD for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2017 10:51:24 -0400 Original-Received: from gateway32.websitewelcome.com ([192.185.145.170]:12888) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dwrCi-0004pk-6A for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2017 10:51:20 -0400 Original-Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 65BFF8BA8FB for ; Tue, 26 Sep 2017 09:51:05 -0500 (CDT) Original-Received: from leaf.websitewelcome.com ([192.185.82.99]) by cmsmtp with SMTP id wrEUdQYZDVBtnwrEUdzf0s; Tue, 26 Sep 2017 09:53:10 -0500 Original-Received: from pool-74-96-160-131.washdc.fios.verizon.net ([74.96.160.131]:60885 helo=devons-air.fios-router.home) by leaf.websitewelcome.com with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1dwrCS-004Jk9-Uk for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2017 09:51:05 -0500 X-Mailer: Apple Mail (2.3124) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - leaf.websitewelcome.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jovi.net X-BWhitelist: no X-Source-IP: 74.96.160.131 X-Exim-ID: 1dwrCS-004Jk9-Uk X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: pool-74-96-160-131.washdc.fios.verizon.net (devons-air.fios-router.home) [74.96.160.131]:60885 X-Source-Auth: devon2011@jovi.net X-Email-Count: 1 X-Source-Cap: am92aW5ldDtkZXZvbjtsZWFmLndlYnNpdGV3ZWxjb21lLmNvbQ== X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137462 Archived-At: 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 @@ =20 (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") =20 (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.") =20 (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))) =20 (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)) =20 (defun region-noncontiguous-p ()