🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: edit X-VM-v5-Data

#8817
From: Thorbjoern Hansen
Date: Sat, 17 Apr 1993 00:01
39 lines
2210 bytes
I wrote:

>>>>> "TH" == Thorbjoern Hansen <thansen@diku.dk> writes:

TH> I just tried to edit a X-VM-v5-Data header to remove the "edited"
TH> attribute with "e" (vm-edit-message), and found out that the
TH> changes would disapper after C-cC-c.  I suppose this is a feature,
TH> not a bug?  Is there a way to change attributes?  Should there be?

I got the two answers below:

>>>>> "MB" == Martin Boyer <mboyer@ireq-robot.hydro.qc.ca> writes:

MB> You can do the same by prefixing "e", as in "C-u e".

>>>>> "RC" == Ricardo Cardenas <rcardena@pr.oracle.com> writes:

RC> Seem s like correct behavior to me.  After you remove the "edited"
RC> attribute, you hit C-c C-c, thus registering the change and ONCE
RC> AGAIN setting the "edited" attribute!  Think about it.

RC> Test this theory by changing the other attributes.  They should
RC> remain changed as you wish.

My question was not specific enough.  I wanted to any attribute, not
exactly the "edited" attribute.  Ricardo's theory is not correct, all
attributes will be written back, overwriting changes in X-VM-v5-Data.
If I understand the source correctly, it happens in
vm-edit-message-end, which calles vm-stuff-virtual-attributes, which
calles vm-stuff-attributes, which overwrites X-VM-v5-Data.

Same question again: Should there be a way to change attributes
inside VM?  Or am I the only one with such exotic tastes :-).

--
ThH, Thorbjoern Hansen, hansen@forwiss.uni-passau.de, thansen@diku.dk
You may write in German, Spanish, Swedish, Danish or even English.
I collect emacs lisp files.  Mail me (the name of) your favorite.
Technical Details
Message-ID: <9304170001.AA04245@garm.diku.dk>
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!usc!cs.utexas.edu!uunet!wendy-fate.uu.net!bug-vm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,eafc939bf3b7770a
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1993-04-16 17:06:35 PST
x-gateway: rodan.UU.NET from bug-vm to gnu.emacs.vm.bug; Fri, 16 Apr 1993 20:02:12 EDT
Date: Sat, 17 Apr 1993 02:01:04 +0200
Message-ID: <9304170001.AA04245@garm.diku.dk>
From: thansen@diku.dk (Thorbjoern Hansen)
Sender: thansen@diku.dk
Subject: Re: edit X-VM-v5-Data
Newsgroups: gnu.emacs.vm.bug
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!usc!cs.utexas.edu!uunet!wendy-fate.uu.net!bug-vm
Lines: 39