From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26528 invoked from network); 4 May 2008 12:22:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 May 2008 12:22:00 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 16333 invoked from network); 4 May 2008 12:21:56 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 May 2008 12:21:56 -0000 Received: (qmail 2892 invoked by alias); 4 May 2008 12:21:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24908 Received: (qmail 2875 invoked from network); 4 May 2008 12:21:53 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 4 May 2008 12:21:53 -0000 Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by bifrost.dotsrc.org (Postfix) with ESMTP id CD2E280ED172 for ; Sun, 4 May 2008 14:21:50 +0200 (CEST) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080504122527.HYFD17818.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Sun, 4 May 2008 13:25:27 +0100 Received: from pws-pc ([81.107.40.67]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20080504122922.FRL26699.aamtaout03-winn.ispmail.ntl.com@pws-pc> for ; Sun, 4 May 2008 13:29:22 +0100 Date: Sun, 4 May 2008 13:21:02 +0100 From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: Identify "active" region? Message-ID: <20080504132102.076669ed@pws-pc> In-Reply-To: <080503175219.ZM11801@torch.brasslantern.com> References: <080503175219.ZM11801@torch.brasslantern.com> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/7019/Sun May 4 04:17:43 2008 on bifrost X-Virus-Status: Clean On Sat, 03 May 2008 17:52:19 -0700 Bart Schaefer wrote: > There doesn't seem to be any way to determine that there's an active > region except to override set-mark-command and exchange-point-and-mark > to stash something in a global variable. Have I missed something? No, that's worth adding. I'll do it if no one gets to it first. It should be trivial: a new ZLE variable tied into the integer controlling this. There's no reason it shouldn't be writable, either. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/