From xemacs-m  Thu Jun 19 21:27:41 1997
Received: from jagor.srce.hr (root@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA11452
	for <xemacs-beta@xemacs.org>; Thu, 19 Jun 1997 21:27:40 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id DAA09835; Fri, 20 Jun 1997 03:21:06 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: new `save-some-buffers' for files.el
References: <9706192354.AA17987@w20-575-41.MIT.EDU>
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: 20 Jun 1997 03:21:05 +0200
In-Reply-To: David Bakhash's message of "Thu, 19 Jun 1997 19:54:34 -0400"
Message-ID: <kigbu52hxxa.fsf@jagor.srce.hr>
Lines: 34
X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta7) - "Oslo"

David Bakhash <cadet@MIT.EDU> writes:

> I posted this 2 the newsgroup, but since I'm so annoyingly adamant
> about it, I'm putting it here too...

Could you please mail this in `diff -u' format, please?  It will be
much easier to spot the actual changes to the function.

> it's just a minor patch to `save-some-buffers' which lets you see
> the buffers that you're being prompted to save.  It's kinda helpful
> since sometimes you're not sure what was in the buffer.  Like maybe
> you havn't seen your *scratch* buffer for a while, but you might
> have something interesting in there that's worth saving.  so now
> you'll have a better idea.  It really can't hurt.

One thing to watch about `save-some-buffers' is that the function can
be used at various times when the resources are scarce.

For example, when the memory is spent, a "not enough memory" error
will be signaled.  However, XEmacs will reserve an amount of space to
keep running, so you can save all of your buffers.  The advertised way
to save the buffer then is, exactly, `save-some-buffers' (rather than
something fancy like `list-buffers'), because it spends little space.
For this reason, every change in `save-some-buffers' should be
monitored carefully.

As for this particular change, I don't think it is memory-hogging, but 
it *is* a change in behaviour, and I think it deserves a variable to
toggle it.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
I'm a Lisp variable -- bind me!

