GNU bug report logs - #1746
Buffer swapping interface

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> stupidchicken.com>

Date: Wed, 31 Dec 2008 02:30:02 UTC

Severity: wishlist

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: quiet <at> debbugs.gnu.org
Subject: bug#1746: Buffer swapping interface
Date: Tue, 30 Dec 2008 21:20:53 -0500
RMS has proposed changing the internals of the buffer saving interface
to make them aware of swapped buffers, by introducing a new variable
buffer-swapped-with that client code can set; basic-save-buffer then
checks this variable before saving, and temporarily swaps the buffer if
necessary.  See the following CVS diff:

http://cvs.savannah.gnu.org/viewvc/emacs/lisp/files.el?root=emacs&r1=1.1029&r2=1.1030

Stefan has objections to this patch on the grounds that it makes the
buffer saving internals more complicated, instead of relying on existing
hooks as tar-mode does.  In any case, the patch was reverted pending the
23.1 release.




This bug report was last modified 8 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.