unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Damien Wyart <damien.wyart@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: newline cache
Date: Wed, 21 May 2014 18:22:14 +0300	[thread overview]
Message-ID: <83fvk3nom1.fsf@gnu.org> (raw)
In-Reply-To: <20140521084113.GA30780@brouette>

> Date: Wed, 21 May 2014 10:41:13 +0200
> From: Damien Wyart <damien.wyart@gmail.com>
> Cc: emacs-devel@gnu.org
> 
> > > Based on the few incidents I had until now, it looks like the cache
> > > gets corrupted after deleting several mails, then saving the mailbox
> > > buffer. Not sure yet what exactly causes this.
> 
> * Eli Zaretskii <eliz@gnu.org> [2014-04-27 05:42]:
> > One more important fact: not each time I delete messages and then save
> > the mailbox, I get the cache corrupted. So some other factor is at
> > work here.
> 
> Hi Eli,
> 
> Was there some progress on this problem?
> 
> 24.4 is approaching and I think killing this bug before would be nice.

No real progress, unfortunately.  The bug is very elusive, almost a
Heisenbug, so I cannot reliably reproduce it, and thus still don't
have a simple recipe starting from "emacs -Q" that I could use to
investigate it and verify that it's fixed.

Without a simple reliable recipe, it is extremely hard to find the
root cause, because the newline cache is consulted _a_lot_, and on top
of that Rmail swaps buffer text, which makes traces even harder to
understand and interpret.

I'm beginning to think that maybe the only practical solution, at
least for 24.4, is to disable caching in Rmail buffers (since I saw no
reports of similar problems in any other modes).



  parent reply	other threads:[~2014-05-21 15:22 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-21 16:28 newline cache Richard Stallman
2014-04-21 16:55 ` Eli Zaretskii
2014-04-22  5:37   ` Richard Stallman
2014-04-22 14:28     ` Stefan Monnier
2014-04-22 17:46       ` Eli Zaretskii
2014-04-22 17:44     ` Eli Zaretskii
2014-04-23  5:31       ` Richard Stallman
2014-04-23 15:14         ` Eli Zaretskii
2014-04-23  5:31       ` Richard Stallman
2014-04-23 15:23         ` Eli Zaretskii
2014-04-24  0:33           ` Richard Stallman
2014-04-25  9:20             ` Eli Zaretskii
2014-04-26 19:58               ` Eli Zaretskii
2014-04-27  2:42                 ` Eli Zaretskii
2014-04-29  8:41                   ` Jarek Czekalski
2014-04-29 14:25                     ` Eli Zaretskii
2014-05-21  8:41                   ` Damien Wyart
2014-05-21 13:09                     ` Stefan Monnier
2014-05-21 15:30                       ` Eli Zaretskii
2014-05-21 15:22                     ` Eli Zaretskii [this message]
2014-05-21 15:22                     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fvk3nom1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=damien.wyart@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).