From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: region-active-p Date: Tue, 30 Oct 2007 15:03:56 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193771073 11604 80.91.229.12 (30 Oct 2007 19:04:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2007 19:04:33 +0000 (UTC) Cc: rms@gnu.org, reinersteib+gmane@imap.cc, andreas.roehler@online.de, emacs-devel@gnu.org, juri@jurta.org, "Stephen J. Turnbull" , miles@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 30 20:04:34 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ImwO5-0003dU-SW for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 20:04:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImwNw-00087V-IO for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 15:04:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImwNt-00087I-Mc for emacs-devel@gnu.org; Tue, 30 Oct 2007 15:04:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImwNr-00086l-VV for emacs-devel@gnu.org; Tue, 30 Oct 2007 15:04:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImwNr-00086i-SP for emacs-devel@gnu.org; Tue, 30 Oct 2007 15:04:15 -0400 Original-Received: from x-132-204-242-121.xtpr.umontreal.ca ([132.204.242.121] helo=ceviche.home) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1ImwNk-0007ga-Dx; Tue, 30 Oct 2007 15:04:08 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id B1AD7B4ABE; Tue, 30 Oct 2007 15:03:56 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Tue, 30 Oct 2007 08:03:27 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82150 Archived-At: >> I'm not wedded to any particular name. Possible names are >> `region-usable-p' and `region-nonempty-p'. >> Neither one fits quite right. Whether the region is active is more >> central to the meaning than whether it is nonempty. >> Perhaps `region-overrides-p' is a good name. The decision is whether >> the region should override the normal meaning of the command. >> I invite other suggestions. > transient-region-p? > BTW, what's the reason for creating this, again? I thought this was about > harmonizing with XEmacs somehow. Now that doesn't seem possible. What's > wrong with just (and mark-active transient-mark-mode)? that's short and > leaves no doubt about the meaning. I thought the whole point was to add region-emptyness checking in there as well (and potentially more, to account for things like a region that has just been selected with the mouse). Stefan