🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99769

Undo bug (?) in no-file-related-buffer

#99769
From: Shinichirou Sugou
Date: Thu, 14 Jun 1990 06:23
46 lines
1844 bytes
Hi.

The buffer-modified marker, '*' in the mode line, seems not to be updated
correctly after undoing the buffer contents in special case.

My Emacs is version 18.55.

[Reproduction]

(1) Create a new buffer (which must not being visiting any file), say 'foo', by

        ^X b foo <RET>

(2) Please notice that the mode line is telling that the buffer is not
    modified at all.

(3) Type some characters, say 'bar', and you will see the mode line chang to
    tell the buffer contents has changed.

(4) Eval the following lisp function to clear the modified flag of that
    buffer.

        (set-buffer-modified-p nil)

(5) The mode line has changed again telling the buffer not modified (this is
    ok).

(6) Try undo command.

(7) I think it is natural for the mode line to change again saying that the
    buffer contents has changed, but it does not.

Is it a feature?



CAUTION:
  (1) Reply-command of your mail system may NOT generate my address correctly.
      Please use the following address instead.

        shin%sgtp.apple.juice.or.jp@uunet.uu.net

  (2) I have no relation to Apple Computer Inc. :-)

---
  Shin'ichirou Sugou   shin%sgtp.apple.juice.or.jp@uunet.uu.net
Technical Details
Message-ID: <9006140623.AA01147@sgtp.apple.juice.or.jp>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!sgtp.apple.juice.or.jp!shin

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,c5c2df7da8a6a070,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-06-14 13:35:07 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!sgtp.apple.juice.or.jp!shin
From: shin@sgtp.apple.juice.or.jp (Shinichirou Sugou)
Newsgroups: gnu.emacs.bug
Subject: Undo bug (?) in no-file-related-buffer
Message-ID: <9006140623.AA01147@sgtp.apple.juice.or.jp>
Date: 14 Jun 90 06:23:06 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 46
Posted: Thu Jun 14 07:23:06 1990