Article View: gnu.emacs.bug
Article #87318Emacs 19 w/ ange-ftp undo problems
From: Jamie Gritton
Date: Fri, 30 Sep 1994 17:20
Date: Fri, 30 Sep 1994 17:20
18 lines
1713 bytes
1713 bytes
I've verified this problem with emacs versions 19.22 and 19.27 on HP-UX, AIX, IRIX, SunOS... When a file is read via ange-ftp, emacs gets confused about the save state. A file will be marked "clean" not only when it's the same as the most-recently-saved version, but also when it's the same as a previous save (including the original load). For example: load a file using ange-ftp, and insert a letter and save it. Now the "clean" version of the file is the one with the extra letter. But if you undo the change (thus making the file different from the saved version), the file is still marked as clean, and an attempt to save will give the message "(No changes need to be saved)". Making more than one change between saves makes the bug more obvious. Successive undo's will show the file marked clean at the most recently saved, then dirty, then clean again at the previous save, then dirty again, then clean again at yet another previous save. -- James Gritton - gritton@byu.edu - I disclaim - "
Technical Details
Message-ID:
<36hh8g$dut@bones.et.byu.edu>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!montana.et.byu.edu!grittonShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,ea324bd0fe173910,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-10-01 07:21:14 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!montana.et.byu.edu!gritton From: gritton@montana.et.byu.edu (Jamie Gritton) Newsgroups: gnu.emacs.bug Subject: Emacs 19 w/ ange-ftp undo problems Date: 30 Sep 1994 13:20:49 -0400 Organization: Brigham Young University, Provo UT USA Lines: 18 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <36hh8g$dut@bones.et.byu.edu> Reply-To: gritton@byu.edu