From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: 1574@emacsbugs.donarmstrong.com
Subject: bug#1574: 23.0.60; gnus fail to attach file when sending mail
Date: Wed, 17 Dec 2008 21:38:43 +0100 [thread overview]
Message-ID: <873agmsfjg.fsf@tux.homenetwork> (raw)
In-Reply-To: <8763liin9z.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Wed, 17 Dec 2008 21:01:44 +0100")
Hi Reiner!
Reiner Steib <reinersteib+gmane@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
next prev parent reply other threads:[~2008-12-17 20:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <egk59x9nhi.fsf@fencepost.gnu.org>
2008-12-16 9:59 ` bug#1574: 23.0.60; gnus fail to attach file when sending mail Thierry Volpiatto
2008-12-17 20:01 ` Reiner Steib
2008-12-17 20:38 ` Thierry Volpiatto [this message]
2008-12-18 21:17 ` Reiner Steib
2008-12-18 21:40 ` bug#1574: marked as done (23.0.60; gnus fail to attach file when sending mail ) Emacs bug Tracking System
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=873agmsfjg.fsf@tux.homenetwork \
--to=thierry.volpiatto@gmail.com \
--cc=1574@emacsbugs.donarmstrong.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.