Article View: gnu.emacs.bug
Article #87845Re: recover-file doesn't set buffer modified flag
From: David M. Smith
Date: Mon, 29 Aug 1994 12:19
Date: Mon, 29 Aug 1994 12:19
19 lines
1649 bytes
1649 bytes
>>>>> "Nick" == Nick Gridley <nickg@optimation.co.NZ> writes: Nick> It seems to me that if you recover from an autosaved buffer, then Nick> the buffer modification flag should be set. RMS> I agree. And when I try it, that's what happens. Nick> Oh-no, this means something local here breaks it. Correct. hilit19.el (and, incidentally, hl319.el) modifies after-find-file-hooks to unconditionally clear the buffer-modified flag, which is incorrect behaviour when recovering from auto saves. I posted a patch to hilit19.el to fix this some time back. # Dave -- David M. Smith, Department of Mathematics, Lancaster University, United Kingdom D.M.Smith@lancaster.ac.uk http://mathssun5.lancs.ac.uk:2080/~maa036/Dave.html [alternative email: dsmith@stats.adelaide.edu.au]
Technical Details
Message-ID:
<28384.199408291138@mathssun5.comp.lancs.ac.uk>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!comp.lancs.ac.uk!maa036References:
maa036@comp.lancs.ac.uk (David M. Smith)Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,683e4f051dcfe3b5 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-08-29 05:22:41 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!comp.lancs.ac.uk!maa036 From: maa036@comp.lancs.ac.uk (David M. Smith) Newsgroups: gnu.emacs.bug Subject: Re: recover-file doesn't set buffer modified flag Date: 29 Aug 1994 08:19:03 -0400 Organization: GNUs Not Usenet Lines: 19 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <28384.199408291138@mathssun5.comp.lancs.ac.uk> References: maa036@comp.lancs.ac.uk (David M. Smith) Reply-To: D.M.Smith@lancaster.ac.uk