From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: region-active-p Date: Sun, 28 Oct 2007 10:27:35 +0900 Message-ID: <87ve8syqns.fsf@catnip.gol.com> References: <200710191149.59775.andreas.roehler@online.de> <87hckeigev.fsf@uwakimon.sk.tsukuba.ac.jp> <200710261017.33513.andreas.roehler@online.de> <877ilai63w.fsf@uwakimon.sk.tsukuba.ac.jp> <87bqal2kxb.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193534885 7000 80.91.229.12 (28 Oct 2007 01:28:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2007 01:28:05 +0000 (UTC) Cc: rms@gnu.org, reinersteib+gmane@imap.cc, andreas.roehler@online.de, emacs-devel@gnu.org, juri@jurta.org, "Stephen J. Turnbull" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 28 02:28:04 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 1Ilwwc-0006Eo-Sk for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2007 02:28:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlwwT-0000mv-Fe for ged-emacs-devel@m.gmane.org; Sat, 27 Oct 2007 21:27:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlwwP-0000mg-TA for emacs-devel@gnu.org; Sat, 27 Oct 2007 21:27:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlwwN-0000mU-IG for emacs-devel@gnu.org; Sat, 27 Oct 2007 21:27:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlwwN-0000mR-B7 for emacs-devel@gnu.org; Sat, 27 Oct 2007 21:27:47 -0400 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IlwwF-0007d9-HH; Sat, 27 Oct 2007 21:27:40 -0400 Original-Received: from 203-216-97-240.dsl.gol.ne.jp ([203.216.97.240] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1IlwwB-0003M0-VO; Sun, 28 Oct 2007 10:27:36 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 6ECC72F4C; Sun, 28 Oct 2007 10:27:35 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Stefan Monnier's message of "Sat\, 27 Oct 2007 21\:21\:16 -0400") Original-Lines: 19 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:81907 Archived-At: Stefan Monnier writes: >> I propose to add an optional argument NONEMPTY to region-active-p >> which means "return nil if the region is empty". How about it? > > I expect the opposite makes more sense: ... > This is because in most cases we've seen we want to treat empty regions as > inactive. I agree, but is this sufficiently compatible with xemacs? [I don't think they actually have strictly the same behavior -- if the use of empty regions is vanishingly rare, then who cares...] -Miles -- "I distrust a research person who is always obviously busy on a task." --Robert Frosch, VP, GM Research