From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: region-active-p Date: Fri, 26 Oct 2007 18:21:23 +0900 Message-ID: <877ilai63w.fsf@uwakimon.sk.tsukuba.ac.jp> References: <200710191149.59775.andreas.roehler@online.de> <87hckeigev.fsf@uwakimon.sk.tsukuba.ac.jp> <200710261017.33513.andreas.roehler@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1193390461 17449 80.91.229.12 (26 Oct 2007 09:21:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2007 09:21:01 +0000 (UTC) Cc: Richard Stallman , Reiner Steib , emacs-devel@gnu.org, Juri Linkov , Stefan Monnier , Miles Bader To: Andreas =?us-ascii?Q?=3D=3Fiso-8859-1=3Fq=3FR=3DF6hler=3F=3D?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 26 11:21:01 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 1IlLND-0003nY-92 for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2007 11:20:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlLN4-0008SQ-Hy for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2007 05:20:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlLMx-0008RV-LB for emacs-devel@gnu.org; Fri, 26 Oct 2007 05:20:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlLMu-0008Ot-1t for emacs-devel@gnu.org; Fri, 26 Oct 2007 05:20:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlLMt-0008Of-3j for emacs-devel@gnu.org; Fri, 26 Oct 2007 05:20:39 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IlLMf-0003oT-SC; Fri, 26 Oct 2007 05:20:26 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (unknown [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id 2A4638001; Fri, 26 Oct 2007 18:20:24 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id E39ED1A2E12; Fri, 26 Oct 2007 18:21:23 +0900 (JST) In-Reply-To: <200710261017.33513.andreas.roehler@online.de> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" (+CVS-20070621) XEmacs Lucid 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:81758 Archived-At: Andreas R=F6hler writes: > If there is no extension, just the mark set, > `zmacs-region-extent' is nil and `region-active-p' > returns nil therefor. Right. However, if zmacs-region-extent is non-nil, it is possible that (region-beginning) equals (region-end), in which case there is (usually) no point in operating on the region. It is that check that Richard is asking about AFAICS.