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: Sat, 27 Oct 2007 15:17:24 +0900 Message-ID: <87y7dp13pn.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 1193465873 21026 80.91.229.12 (27 Oct 2007 06:17:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2007 06:17:53 +0000 (UTC) Cc: rms@gnu.org, reinersteib+gmane@imap.cc, andreas.roehler@online.de, emacs-devel@gnu.org, juri@jurta.org, monnier@iro.umontreal.ca To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 27 08:17:54 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 1IlezY-0001sK-7O for ged-emacs-devel@m.gmane.org; Sat, 27 Oct 2007 08:17:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlezP-000163-9O for ged-emacs-devel@m.gmane.org; Sat, 27 Oct 2007 02:17:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlezK-00015o-H2 for emacs-devel@gnu.org; Sat, 27 Oct 2007 02:17:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlezI-00015c-3N for emacs-devel@gnu.org; Sat, 27 Oct 2007 02:17:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlezH-00015Z-UJ for emacs-devel@gnu.org; Sat, 27 Oct 2007 02:17:35 -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 1Ilez9-0004NI-Uc; Sat, 27 Oct 2007 02:17:28 -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 1Ilez5-0002Ow-VP; Sat, 27 Oct 2007 15:17:24 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id E758F2F4B; Sat, 27 Oct 2007 15:17:24 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <87bqal2kxb.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Sat\, 27 Oct 2007 14\:20\:16 +0900") Original-Lines: 15 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:81829 Archived-At: "Stephen J. Turnbull" writes: > `region-active-p' does not check that the region has non-zero length. > > My point is that whether it makes sense to operate on a region of > length zero depends on the operation, so `region-active-p' doesn't try > to decide. So, which operations _don't_ check? Well, I assume there are some which don't check, but probably should, so maybe it's more reasonable to ask, which operations _shouldn't_ check? -Miles -- Would you like fries with that?