From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?iso-8859-15?q?R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: region-active-p Date: Wed, 24 Oct 2007 09:33:38 +0200 Message-ID: <200710240933.40308.andreas.roehler@online.de> References: <200710191149.59775.andreas.roehler@online.de> <200710231053.28105.andreas.roehler@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1193213628 4058 80.91.229.12 (24 Oct 2007 08:13:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2007 08:13:48 +0000 (UTC) Cc: Reiner Steib , emacs-devel@gnu.org, Juri Linkov , Stefan Monnier , Stephen Turnbull , Miles Bader To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 24 10:13:48 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 1IkbN4-0000ry-Cq for ged-emacs-devel@m.gmane.org; Wed, 24 Oct 2007 10:13:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkbMw-0006ix-5F for ged-emacs-devel@m.gmane.org; Wed, 24 Oct 2007 04:13:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkbMX-0006LR-EK for emacs-devel@gnu.org; Wed, 24 Oct 2007 04:13:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkbMV-0006Jj-Iw for emacs-devel@gnu.org; Wed, 24 Oct 2007 04:13:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkbMV-0006JY-Dy for emacs-devel@gnu.org; Wed, 24 Oct 2007 04:13:11 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IkbMO-0004S2-Hj; Wed, 24 Oct 2007 04:13:04 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.186]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkakN-0003pZ-O1; Wed, 24 Oct 2007 03:33:48 -0400 Original-Received: from noname (p54BE82DE.dip0.t-ipconnect.de [84.190.130.222]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1IkakC3T1H-00006C; Wed, 24 Oct 2007 09:33:38 +0200 User-Agent: KMail/1.9.5 In-Reply-To: Content-Disposition: inline X-Provags-ID: V01U2FsdGVkX18CoTVj+TReTBUzh8jfLejqIKzuHW6Yeen7OSE WsnYMb2f2s/OeImiaz/7zPYWiMSCuxebXzcsvJiv24XnU9FppO 9bUTHKbrUwMDIrayyZrXg== X-detected-kernel: by mx20.gnu.org: Linux 2.6? (barebone, rare!) 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:81628 Archived-At: Am Dienstag, 23. Oktober 2007 19:53 schrieb Richard Stallman: > > When commands in XEmacs call this, do they also test > > for a nonempty region? Or do they operate on the region > > when it is empty? > > No. > > What does "no" mean in this context? (Please don't ask which part of > "no" I don't understand.) > Was intended as the answer of your last question and followed be some=20 explanation. Sorry if it was not clear enough. > AFAIU `zmacs-region-extent' checks for a physical extend, it may be nil = or > have a value, for example I got > > What does "checks for a physical extend" mean? As "physical" I understand something that exists and has a body, an extend. An empty buffer I understand as of no extend, but=20 existing. Thus the mark may exist whereas the region has no extention. Thats possible with mark-active and region-exist-p. Therefor=20 (not (eq (region-beginning) (region-end))) as proposed by Juri for Emacs looks necessary to be sure. Andreas R=F6hler