Gnus development mailing list
 help / color / mirror / Atom feed
From: Julien Danjou <julien@danjou.info>
To: ding@gnus.org
Subject: Re: normal-mode considered dangerous
Date: Tue, 29 Mar 2011 11:02:07 +0200	[thread overview]
Message-ID: <sa3vcz21er4.fsf@cigue.easter-eggs.fr> (raw)
In-Reply-To: <m3ipv3rx8o.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 28 Mar 2011 19:05:59 +0200")

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

On Mon, Mar 28 2011, Lars Magne Ingebrigtsen wrote:

> `mm-display-inline-fontify' calls `normal-mode' now, and I think that's
> a potential recipe for disaster.  It's one thing to institute a mode of
> some kind when you're reading a local file, but doing it when receiving
> a message means that any exploitable hole in any of the modes in Emacs
> can be used remotely.

Good idea. I've replaced it by `set-auto-mode' with
`enable-local-variables' set to nil. I did not test it, could you
confirm it's ok and I did not break everything?

-- 
Julien Danjou
❱ http://julien.danjou.info

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2011-03-29  9:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-28 17:05 Lars Magne Ingebrigtsen
2011-03-29  9:02 ` Julien Danjou [this message]
2011-03-29 14:43   ` Ted Zlatanov
2011-03-29 15:19     ` Julien Danjou
2011-03-29 15:23       ` Ted Zlatanov
2011-03-29 17:36   ` Lars Magne Ingebrigtsen
2011-03-30  8:13     ` Julien Danjou

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sa3vcz21er4.fsf@cigue.easter-eggs.fr \
    --to=julien@danjou.info \
    --cc=ding@gnus.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.
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 NNTP newsgroup(s).