bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40317: 27.0.90; Reverting a buffer that visits C file signals an err


From: Damien Cassou
Subject: bug#40317: 27.0.90; Reverting a buffer that visits C file signals an error
Date: Fri, 18 Sep 2020 21:46:03 +0200

Hi Jeff,

Jeff Norden <jnorden@tntech.edu> writes:
> Unfortunately, I can't figure out how to trigger this bug myself.  If you want
> to be 100% sure about it, you might try adding
>
>   (if (> c-new-END (point-max))
>     (error "c-new-END is too big! %d > %d" c-new-END (point-max)))
>
> right after line-2009 and see if it raises an error before it gets to
> parse-partial-sexp.

I wasn't sure if you wanted me to only add the `if` or if you wanted me
to also change the previous line. I've just added the `if` with the
attached patch and will report if I get the new error message.

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

Attachment: emacs-bug-40317.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]