GNU bug report logs - #1574
23.0.60; gnus fail to attach file when sending mail

Previous Next

Packages: emacs, gnus;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Wed, 17 Dec 2008 06:25:24 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 1574 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: 1574 <at> debbugs.gnu.org
Subject: Re: bug#1574: 23.0.60; gnus fail to attach file when sending mail
Date: Wed, 17 Dec 2008 21:38:43 +0100
Hi Reiner!
Reiner Steib <reinersteib+gmane <at> imap.cc> writes:

> On Tue, Dec 16 2008, Thierry Volpiatto wrote:
>
>> ,----
>> | mm-insert-file-contents: 
>> | Opening input file: aucun fichier ou répertoire de ce type, 
>> | /home/thierry/download/#("~/download/toto.txt" 0 19 (face nil))
>> `----
>
>> Minor modes in effect:
>>   gnus-dired-mode: t
>>   icomplete-mode: t
>>   icicle-mode: t
>
> icicles redefines `read-file-name' so that it returns a string with
> text properties.
>
> Does this patch fix the problem?
>
> --- mml.el	04 Oct 2008 17:04:24 +0200	7.70
> +++ mml.el	30 Nov 2008 20:48:38 +0100	
> @@ -1284,7 +1284,9 @@
>      (unless (message-in-body-p) (goto-char (point-max)))
>      (mml-insert-empty-tag 'part
>  			  'type type
> -			  'filename file
> +			  ;; icicles redefines read-file-name and returns a
> +			  ;; string w/ text properties :-/
> +			  'filename (substring-no-properties file)
>  			  'disposition (or disposition "attachment")
>  			  'description description)))

Yes that's fix the problem, the file name is sent without text properties :)
Thank you very much.

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France




This bug report was last modified 16 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.