[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newline cache
From: |
Richard Stallman |
Subject: |
Re: newline cache |
Date: |
Tue, 22 Apr 2014 01:37:50 -0400 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
I've seen a couple of problems in the current pretest which
disappeared once I turned off the cache in the Rmail buffer. I've
tried to see what does Rmail do that triggers this, but came up
empty-handed.
I investigated what was happening when the bug occurred.
(forward-line 1) moved across an extra newline, down to point-max.
But I don't know how the newline cache works, so I did not try to
study that code.
One possible approach is to write a builtin function to check the newline cache
contents for valid correspondence to the buffer contents.
I would not mind making Rmail run that in a post-command-hook.
Then I could find out which command causes the cache to become incorrect.
But someone else will have to write that builtin function.
--
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
Use Ekiga or an ordinary phone call.
- newline cache, Richard Stallman, 2014/04/21
- Re: newline cache, Eli Zaretskii, 2014/04/21
- Re: newline cache,
Richard Stallman <=
- Re: newline cache, Stefan Monnier, 2014/04/22
- Re: newline cache, Eli Zaretskii, 2014/04/22
- Re: newline cache, Eli Zaretskii, 2014/04/22
- Re: newline cache, Richard Stallman, 2014/04/23
- Re: newline cache, Eli Zaretskii, 2014/04/23
- Re: newline cache, Richard Stallman, 2014/04/23
- Re: newline cache, Eli Zaretskii, 2014/04/23
- Re: newline cache, Richard Stallman, 2014/04/23
- Re: newline cache, Eli Zaretskii, 2014/04/25
- Re: newline cache, Eli Zaretskii, 2014/04/26