unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 18982@debbugs.gnu.org
Subject: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer
Date: Fri, 07 Nov 2014 15:46:03 +0200	[thread overview]
Message-ID: <83ioirrun8.fsf@gnu.org> (raw)
In-Reply-To: <545CC7DC.5010706@yahoo.fr>

[Please CC the bug report.]

> Date: Fri, 07 Nov 2014 14:23:40 +0100
> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> 
> Le 07/11/2014 14:17, Eli Zaretskii a écrit :
> >> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> >> Date: Fri, 07 Nov 2014 12:22:29 +0100
> >> 
> >> Context : I was looking at an org file which had obviously not been
> >> properly decoded (it's an utf8 file, I was seeing raw bytes and the
> >> "buffer coding system" in the mode line was blank). So I decided to M-x
> >> revert-buffer to see if I could do something with it. That crashed.
> > 
> > Thanks.  Is this reproducible?  If so, could you send a recipe?
> 
> Unfortunately I couldn't reproduce. I tried reopening the file in a
> fresh session, but it didn't get the decoding wrong (i.e. it correctly
> decoded as utf8), and reverting the buffer went fine (I still don't know
> if the two are related).

To cause it to be incorrectly decoded, you could do this:

  C-x RET c raw-text RET C-x C-f FILENAME RET

If you remember which encoding Emacs decided to use, try that instead
of raw-text.





  parent reply	other threads:[~2014-11-07 13:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 11:22 bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer Nicolas Richard
2014-11-07 13:17 ` Eli Zaretskii
     [not found]   ` <545CC7DC.5010706@yahoo.fr>
2014-11-07 13:46     ` Eli Zaretskii [this message]
2014-11-07 14:07       ` Nicolas Richard
2014-11-07 14:27       ` Nicolas Richard
2014-11-07 14:49         ` Eli Zaretskii
2014-11-07 15:33           ` Nicolas Richard
2014-11-07 15:43             ` Eli Zaretskii
2014-11-07 16:07               ` Nicolas Richard
2014-11-08 14:59                 ` Eli Zaretskii
2014-11-08 23:29                   ` Nicolas Richard
2014-11-09 16:43                     ` Eli Zaretskii
2014-11-09 21:13                       ` Nicolas Richard
2014-11-09 21:24                         ` 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=83ioirrun8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=18982@debbugs.gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /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).