Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Re: Latest cvs attachements have no button, appear inline
Date: Fri, 02 Jan 2004 12:01:36 +0100	[thread overview]
Message-ID: <v94qve7gxb.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m3brpnjcwe.fsf@newsguy.com>

On Fri, Jan 02 2004, Harry Putnam wrote:

> Harry Putnam <reader@newsguy.com> writes:
>
>> I'm not sure what the recipient got but I wanted them to get an
>> attachment, not an inline document.

See below.

> With a little more testing I see there are two choice at the 
> `disposition' prompt one gets when using C-c C-a (`mml-attach-file')
> Apparently the default is `inline' but I think that may have happened
> somewhat recently.

Correct:

2003-12-30  Reiner Steib  <Reiner.Steib@gmx.de>
[...]
	* mml.el (mml-minibuffer-read-disposition): New function.
	(mml-attach-file): Use it.

IMHO it makes sense to offer a choice for the disposition (apart from
editing the mml tags).

> Since we already have C-x i to insert files inline, 

Note that this is not the same, since it gives just plain inline text,
whereas an attachment with disposition "inline" is still a separate
MIME part.  The recipient (or his MUA) may choose how to display it.
The disposition is only a recommendation.

> wouldn't it make sense to default to `attachment'.  That's almost
> always what I would want when attaching something.  Or maybe its
> configurable.  But still `attachemnt' seems to be a sensible
> default.

I introduced `mml-minibuffer-read-disposition' because I often changed
"attachment" to "inline".  ;-)

The default choice depends on the content-type:

		      (if (string-match "^text/.*" type)
			  "inline"
			"attachment")

Maybe I should make the "^text/.*" regexp customizable?  WDYT?  (We
already have `mm-inline-media-tests', `mm-inlined-types' and so on for
_viewing_.  But I don't think we should use the same preferences for
composing.)

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




  reply	other threads:[~2004-01-02 11:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-02  2:16 Harry Putnam
2004-01-02  2:35 ` Harry Putnam
2004-01-02 11:01   ` Reiner Steib [this message]
2004-01-02 19:51     ` Harry Putnam

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=v94qve7gxb.fsf@marauder.physik.uni-ulm.de \
    --to=4.uce.03.r.s@nurfuerspam.de \
    --cc=reiner.steib@gmx.de \
    /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).