GNU bug report logs - #31551
27.0.50; emacs hangs in hexl-mode on modula2 files

Previous Next

Package: emacs;

Reported by: Alexandre Adolphe <alexandre.adolphe <at> gmail.com>

Date: Tue, 22 May 2018 13:25:02 UTC

Severity: normal

Found in version 27.0.50

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 31551 <at> debbugs.gnu.org, alexandre.adolphe <at> gmail.com
Subject: bug#31551: 27.0.50; emacs hangs in hexl-mode on modula2 files
Date: Wed, 06 Jun 2018 15:27:14 -0400
>> At the same time, it's only enabled if the user explicitly requests it
>> (as is the case in the OP's recipe), so I think we can consider this
>> a pilot error.
> I thought so too, until I turned on show-paren-mode _before_ switching
> to Hexl, and saw it still turned on when in Hexl.

You mean it stayed enabled, right?

>> Agreed.  Hexl-mode should use a "normal" major mode (e.g. calling
>> kill-all-local-variables).  In order to properly reset the previous
>> major mode, it could either save&restore all previous local-vars, or
>> just save the previous major-mode and call that major-mode
>> function to restore the state.
>
> Well, this is a much larger job than I hoped will be necessary.

Maybe not.

> In the long run, certainly.

It might be just a matter of extracting existing code,


        Stefan




This bug report was last modified 7 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.