From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67974 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: mml-attach-file with an empty description fails (indirectly) Date: Tue, 23 Dec 2008 18:02:30 +0100 Message-ID: <87myemlt95.fsf@marauder.physik.uni-ulm.de> References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230051793 19930 80.91.229.12 (23 Dec 2008 17:03:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Dec 2008 17:03:13 +0000 (UTC) Cc: bugs@gnus.org To: ding@gnus.org, Tim Landscheidt Original-X-From: ding-owner+M16420@lists.math.uh.edu Tue Dec 23 18:04:18 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LFAfv-0004uh-BQ for ding-account@gmane.org; Tue, 23 Dec 2008 18:04:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LFAeY-00005C-G6; Tue, 23 Dec 2008 11:02:42 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LFAeX-00004r-5x for ding@lists.math.uh.edu; Tue, 23 Dec 2008 11:02:41 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LFAeU-00047K-1B for ding@lists.math.uh.edu; Tue, 23 Dec 2008 11:02:40 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LFAeh-0001Zo-00; Tue, 23 Dec 2008 18:02:51 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id mBNH2YoZ023836; Tue, 23 Dec 2008 18:02:34 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 7AE471C921; Tue, 23 Dec 2008 18:02:34 +0100 (CET) X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY;Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m,tWj]&},qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi,+g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ Mail-Followup-To: ding@gnus.org, Tim Landscheidt In-Reply-To: (Tim Landscheidt's message of "Wed, 16 Apr 2008 21:22:56 +0000") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-CTc-dcc1-Metrics: poseidon 1030; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67974 Archived-At: 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 ' ] | runs the command mml-quote-region | which is an interactive compiled Lisp function in `mml.el'. | It is bound to , 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/