unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 31551@debbugs.gnu.org, alexandre.adolphe@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	[thread overview]
Message-ID: <jwvfu1ziuo7.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <83po14vtad.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jun 2018 18:17:14 +0300")

>> 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





  reply	other threads:[~2018-06-06 19:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22 13:24 bug#31551: 27.0.50; emacs hangs in hexl-mode on modula2 files Alexandre Adolphe
2018-06-05 15:30 ` Eli Zaretskii
2018-06-06 14:00   ` Stefan Monnier
2018-06-06 15:17     ` Eli Zaretskii
2018-06-06 19:27       ` Stefan Monnier [this message]
2018-06-07  2:32         ` Eli Zaretskii
2018-06-06 20:51       ` Stefan Monnier
2018-06-20 14:27         ` Stefan Monnier
2018-06-20 15:56           ` Eli Zaretskii
2018-06-22  3:31           ` Stefan Monnier

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=jwvfu1ziuo7.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=31551@debbugs.gnu.org \
    --cc=alexandre.adolphe@gmail.com \
    --cc=eliz@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).