From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: region-active-p Date: Thu, 25 Oct 2007 05:01:41 -0400 Message-ID: References: <200710191149.59775.andreas.roehler@online.de> <87lk9wseuf.fsf@catnip.gol.com> <200710212122.57935.andreas.roehler@online.de> <87sl4071ef.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193303001 26809 80.91.229.12 (25 Oct 2007 09:03:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Oct 2007 09:03:21 +0000 (UTC) Cc: juri@jurta.org, miles@gnu.org, andreas.roehler@online.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 25 11:03:12 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 1IkycS-0005LF-FJ for ged-emacs-devel@m.gmane.org; Thu, 25 Oct 2007 11:03:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkycK-0002Qu-7S for ged-emacs-devel@m.gmane.org; Thu, 25 Oct 2007 05:03:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ikyb4-0001D0-Tc for emacs-devel@gnu.org; Thu, 25 Oct 2007 05:01:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ikyb3-0001B7-6m for emacs-devel@gnu.org; Thu, 25 Oct 2007 05:01:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ikyb2-0001Ao-Lp for emacs-devel@gnu.org; Thu, 25 Oct 2007 05:01:44 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ikyb2-0001r3-CD for emacs-devel@gnu.org; Thu, 25 Oct 2007 05:01:44 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Ikyaz-0004K3-1D; Thu, 25 Oct 2007 05:01:41 -0400 In-reply-to: <87sl4071ef.fsf@uwakimon.sk.tsukuba.ac.jp> (stephen@xemacs.org) 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:81697 Archived-At: > When commands in XEmacs call [region-active-p], do they also test > for a nonempty region? Or do they operate on the region > when it is empty? Core commands defined in Lisp don't test (at least not within 3 lines, checked with grep -3), but they're generally wrappers for functions defined in C that do test (eg, the casefilling commands). I don't entirely understand the answer. Maybe I did not state the question clearly. When you say they "don't test", what precisely don't they test? Are you sayimg that they call `region-active-p' but do not test whether the region is nonempty?