Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: normal-mode considered dangerous
Date: Tue, 29 Mar 2011 09:43:57 -0500	[thread overview]
Message-ID: <8739m6htqq.fsf@lifelogs.com> (raw)
In-Reply-To: <sa3vcz21er4.fsf@cigue.easter-eggs.fr>

On Tue, 29 Mar 2011 11:02:07 +0200 Julien Danjou <julien@danjou.info> wrote: 

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

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

Why wouldn't you test before committing+pushing?  Make a branch or send
a patch if you're not sure.

Ted




  reply	other threads:[~2011-03-29 14:43 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
2011-03-29 14:43   ` Ted Zlatanov [this message]
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=8739m6htqq.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --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).