Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Michael Olson <mwolson@gnu.org>
Cc: ding@gnus.org
Subject: Re: [PATCH] mml.el: Make sure that <#part> sections are at beginning of line.
Date: Mon, 19 May 2008 19:36:19 +0200	[thread overview]
Message-ID: <v9fxsew60c.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <871w3y1dl1.fsf@grepfind.mwolson.org> (Michael Olson's message of "Mon, 19 May 2008 09:08:26 -0700")

On Mon, May 19 2008, Michael Olson wrote:

> * lisp/gnus/mml.el (mml-read-part): Only look for parts at the beginning
>   of a line.  This way emailed patches that just happen to have "<#part>"
>   in them will not be misinterpreted.
> ---
> This patch is for the version of Gnus that is included with CVS HEAD in
> Emacs.  I thought I'd run it by the Gnus mailing list first to see if
> I'm doing something mistaken.

I'm not sure if it's correct.  AFAICS, the specification doesn't say
that the tags are at the beginning of line, cf. (info "(emacs-mime)MML
Definition").

Maybe instead, we should check if there's a closing `<#/part>' or
`<#/multipart>' tag.  If not, suggest to run `mml-quote-region' on the
body:

,----[ `C-h k <menu-bar> <Attachments> <Quote MML in region>' ]
| <menu-bar> <Attachments> <Quote MML in region> runs the command
| mml-quote-region
|   which is an interactive compiled Lisp function in `mml.elc'.
| It is bound to <menu-bar> <Attachments> <Quote MML in region>, C-c RET q.
| (mml-quote-region beg end)
| 
| Quote the MML tags in the region.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



  reply	other threads:[~2008-05-19 17:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-19 16:08 Michael Olson
2008-05-19 17:36 ` Reiner Steib [this message]
2008-05-19 17:51   ` Michael Olson
2008-05-19 20:53     ` Reiner Steib
2008-05-19 21:12       ` Michael Olson

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=v9fxsew60c.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=mwolson@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.
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).