* Re: mml-attach-file with an empty description fails (indirectly)
[not found] <m3bq494hqn.fsf@lockfix.tim-landscheidt.de>
@ 2008-12-23 17:02 ` Reiner Steib
0 siblings, 0 replies; only message in thread
From: Reiner Steib @ 2008-12-23 17:02 UTC (permalink / raw)
To: ding, Tim Landscheidt; +Cc: bugs
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-23 17:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <m3bq494hqn.fsf@lockfix.tim-landscheidt.de>
2008-12-23 17:02 ` mml-attach-file with an empty description fails (indirectly) Reiner Steib
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).