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: Tue, 23 Oct 2007 03:12:20 -0400 Message-ID: References: <200710191149.59775.andreas.roehler@online.de> <87lk9wseuf.fsf@catnip.gol.com> <200710212122.57935.andreas.roehler@online.de> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193126022 23275 80.91.229.12 (23 Oct 2007 07:53:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2007 07:53:42 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org To: Andreas =?iso-8859-1?q?R=F6hler?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 09:53:43 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 1IkEa5-0006P6-SD for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 09:53:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkEZy-000055-3T for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 03:53:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkEVo-0005FD-4M for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkEVe-00057O-Bj for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkEVd-00056e-Vr for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:06 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkEVd-000225-Ia for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:05 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IkDw4-0007e7-AU; Tue, 23 Oct 2007 03:12:20 -0400 In-reply-to: <200710212122.57935.andreas.roehler@online.de> (message from Andreas =?iso-8859-1?q?R=F6hler?= on Sun, 21 Oct 2007 21:22:56 +0200) 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:81518 Archived-At: (defun region-active-p () "..." (and zmacs-regions zmacs-region-extent (eq (current-buffer) (zmacs-region-buffer)))) 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? I don't see any need for region-exists-p unless we want it specifically to run code in Emacs which was written for XEmacs.