From xemacs-m  Wed Apr 30 15:41:03 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA12812
	for <xemacs-beta@xemacs.org>; Wed, 30 Apr 1997 15:41:01 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id WAA17961; Wed, 30 Apr 1997 22:40:39 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: Fixing C-g; zmacs-region woes
References: <kigrafsk4p1.fsf@jagor.srce.hr> <m2wwpksajg.fsf@altair.xemacs.org>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 30 Apr 1997 22:40:38 +0200
In-Reply-To: Steven L Baur's message of 30 Apr 1997 10:08:51 -0700
Message-ID: <kig4tcojlbt.fsf@jagor.srce.hr>
Lines: 25
X-Mailer: Gnus v5.4.45/XEmacs 19.15

Steven L Baur <steve@miranova.com> writes:

> All of the functions in XEmacs which take a gratuitous BUFFER parameter
> (versus their Emacs counterparts) are scheduled to have the BUFFER
> parameter removed once we get RMS' with-current-buffer ported.  This
> includes the region-* functions you are referring to.

The region-* stuff has nothing to do with `with-current-buffer', as my
change should involve changing BUFFER to WINDOW, and
`with-current-buffer' cannot help you here.  You can have different
zmacs-regions in the same buffer, so zmacs-regions should be connected
with windows rather than buffers.

BTW, I like the BUFFER argument. :-)  I was quite disappointed when I
found that in FSF Emacs I cannot use `buffer-substring' to grab a part
of another buffer.

Is the optional BUFFER argument a performance issue?  If not, I vote
for leaving it.  Removing it is a serious breach in backward
compatibility.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
main(){printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}

