From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org, Tim Landscheidt <tim@tim-landscheidt.de>
Cc: bugs@gnus.org
Subject: Re: mml-attach-file with an empty description fails (indirectly)
Date: Tue, 23 Dec 2008 18:02:30 +0100 [thread overview]
Message-ID: <87myemlt95.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m3bq494hqn.fsf@lockfix.tim-landscheidt.de> (Tim Landscheidt's message of "Wed, 16 Apr 2008 21:22:56 +0000")
On Wed, Apr 16 2008, Tim Landscheidt wrote:
> Gnus v5.11
> GNU Emacs 22.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.10.14)
[...]
>
> | (mml-attach-file "/var/tmp/test.txt" "text/plain" "")
Which function produces this? In interactive use,
mml-minibuffer-read-description caters for empty (or all whitespace)
arguments, i.e. the argument it set to nil.
> in an empty mail inserts:
>
> | <\#part type="text/plain" filename="/var/tmp/test.txt" disposition=attachment description=>
> | <\#/part>
>
> Pressing C-c C-c yields:
>
> | forward-sexp: Scan error: "Containing expression ends prematurely", 377, 378
>
> The last two numbers change sometimes.
>
> | (mml-attach-file "/var/tmp/test.txt" "text/plain")
>
> instead produces:
>
> | <\#part type="text/plain" filename="/var/tmp/test.txt" disposition=attachment>
> | <\#/part>
>
> that causes no problems. I do not know whether this bug lies
> within Gnus' realm or beyond but I appreciate any advice.
>
> Thanks,
> Tim
>
> P. S.: BTW, how can I quote MML commands in a message?
,----[ `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.el'.
| 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/
parent reply other threads:[~2008-12-23 17:02 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <m3bq494hqn.fsf@lockfix.tim-landscheidt.de>]
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=87myemlt95.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=bugs@gnus.org \
--cc=ding@gnus.org \
--cc=tim@tim-landscheidt.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).