From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16513: 24.3.50; doc string of `use-empty-active-region' Date: Sun, 09 Feb 2014 21:34:45 -0800 Message-ID: <87ppmv7cp6.fsf@building.gnus.org> References: <8da28f3d-e5ec-48d4-9407-377ec2afbc6c@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392010629 1718 80.91.229.3 (10 Feb 2014 05:37:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 05:37:09 +0000 (UTC) Cc: 16513@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 06:37:16 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WCjYS-0000ZU-94 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 06:37:16 +0100 Original-Received: from localhost ([::1]:53511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCjYR-0006BB-RJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 00:37:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCjYJ-0006B3-SX for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 00:37:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCjYE-0004i6-TC for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 00:37:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCjYE-0004i2-Pm for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 00:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCjYE-0002ic-A9 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 00:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 05:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16513 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16513-submit@debbugs.gnu.org id=B16513.139201057710388 (code B ref 16513); Mon, 10 Feb 2014 05:37:02 +0000 Original-Received: (at 16513) by debbugs.gnu.org; 10 Feb 2014 05:36:17 +0000 Original-Received: from localhost ([127.0.0.1]:33637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCjXU-0002hU-HM for submit@debbugs.gnu.org; Mon, 10 Feb 2014 00:36:16 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:38213) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCjXR-0002hJ-Ud for 16513@debbugs.gnu.org; Mon, 10 Feb 2014 00:36:14 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCjXD-0006tH-01; Mon, 10 Feb 2014 06:35:59 +0100 In-Reply-To: <8da28f3d-e5ec-48d4-9407-377ec2afbc6c@default> (Drew Adams's message of "Mon, 20 Jan 2014 20:20:18 -0800 (PST)") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WCjXD-0006tH-01 MailScanner-NULL-Check: 1392615360.08565@9TwkU0boFDCrYghHRFhI5g X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85211 Archived-At: Drew Adams writes: > 1. Remove the last part: ", and on the text near point otherwise." It > is inappropriate and wrong. (This is the reason I filed this bug.) > > This is about commands that act differently depending on whether or > not the region is active. Do not say anything about what the behavior > must be in either case: active or inactive. Certainly, do not claim > that when the region is inactive such commands act on the text near > point. That is pure fantasy. > > 2. Simplify the following, which suggests that having an active region > is somehow different from having an active mark: > > "If non-nil, region-aware commands treat the region as active as long as > the mark is active, even if the region is empty." Just say: "If > non-nil, region-aware commands treat an active region as such, even if > it is empty." > > 3. Do not speak of "regions", as it can confuse people. In any given > buffer at any moment there is only one region. "The region" makes > sense; "regions" does not, unless you are talking about multiple > buffers. The previous version of the doc strings seems to be more straightforward. Is there some subtlety that the new version tried to get across? ! "If non-nil, an active region takes control even if empty. ! This applies to certain commands which, in Transient Mark mode, ! apply to the active region if there is one. If the setting is t, ! these commands apply to an empty active region if there is one. ! If the setting is nil, these commands treat an empty active ! region as if it were not active." while it's now (defcustom use-empty-active-region nil "Whether \"region-aware\" commands should act on empty regions. If nil, region-aware commands treat empty regions as inactive. If non-nil, region-aware commands treat the region as active as long as the mark is active, even if the region is empty. Region-aware commands are those that act on the region if it is active and Transient Mark mode is enabled, and on the text near point otherwise." -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/