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, 20 Jun 2018 10:27:08 -0400	[thread overview]
Message-ID: <jwvwouta63m.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <jwv8t7ris8z.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Wed, 06 Jun 2018 16:51:29 -0400")

>>> BTW, this "save previous major mode and then restore it" is something
>>> done in other places (at least doc-view-mode comes to mind, but
>>> I believe there are others as well) and we should try and avoid
>>> duplicating that code (i.e. develop a "standard" way to do it).
>> In the long run, certainly.
> Lightly tested patch below,

I interpret the lack of reaction as a tacit agreement that it's a good
idea.  So I plan on cleaning it up (and adding an entry in NEWS, not
sure if it deserves an entry in the lispref) and installing it
into master.


        Stefan





  reply	other threads:[~2018-06-20 14: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
2018-06-07  2:32         ` Eli Zaretskii
2018-06-06 20:51       ` Stefan Monnier
2018-06-20 14:27         ` Stefan Monnier [this message]
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=jwvwouta63m.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).