🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #9167

save-buffer in vm-mode buffers

#9167
From: kyle
Date: Tue, 10 Mar 1992 00:35
15 lines
1173 bytes
Roland McGrath writes:
 > Does save-buffer (C-x C-s) work properly in vm-mode buffers
 > (i.e., do the same thing as vm-save-folder (S))?

C-x C-s does a save without the expunge.

 > If not, it should be made to (using write-file-hooks, I
 > think).  If so, S should be bound to save-buffer.  There's no
 > reason to have an extra function.

It's not that simple.  There's some kludgery involved in keeping
vm-buffer-modified-p up to date, and the save function wrappers
are part of that kludgery.  I could get rid of it all there was a
way to have a read-only folder and still have some way to
displaying on the mode line whehter the buffer has been modified.
Technical Details
Message-ID: <9203100035.AA11893@wendy-fate.UU.NET>
Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm
References: <9203092337.AA04924@churchy.gnu.ai.mit.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,f975f14bf76a1d36
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1992-03-09 16:41:12 PST
Newsgroups: gnu.emacs.vm.bug
Sender: bug-vm-request@uunet.uu.net
Date: Mon, 9 Mar 92 19:35:24 -0500
From: kyle@wendy-fate.uu.net
Message-ID: <9203100035.AA11893@wendy-fate.UU.NET>
Subject: save-buffer in vm-mode buffers
References: <9203092337.AA04924@churchy.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm