From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#1574: 23.0.60; gnus fail to attach file when sending mail
Date: Wed, 17 Dec 2008 21:38:43 +0100
Message-ID: <873agmsfjg.fsf@tux.homenetwork>
References: <87myewzbhe.fsf@tux.homenetwork>
	<8763liin9z.fsf@marauder.physik.uni-ulm.de>
Reply-To: Thierry Volpiatto <thierry.volpiatto@gmail.com>,
	1574@emacsbugs.donarmstrong.com
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1229547994 13052 80.91.229.12 (17 Dec 2008 21:06:34 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 17 Dec 2008 21:06:34 +0000 (UTC)
To: 1574@emacsbugs.donarmstrong.com
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 22:07:39 2008
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([199.232.76.165])
	by lo.gmane.org with esmtp (Exim 4.50)
	id 1LD3by-0004U1-UQ
	for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 22:07:19 +0100
Original-Received: from localhost ([127.0.0.1]:44198 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1LD3am-0007Y2-QA
	for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 16:06:04 -0500
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LD3ZB-0006TK-75
	for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 16:04:25 -0500
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LD3Z9-0006SM-Ks
	for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 16:04:24 -0500
Original-Received: from [199.232.76.173] (port=42082 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1LD3Z9-0006SC-DO
	for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 16:04:23 -0500
Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53924)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <debbugs@rzlab.ucr.edu>) id 1LD3Z8-00062Y-Lm
	for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 16:04:23 -0500
Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBHL4JMm002436; 
	Wed, 17 Dec 2008 13:04:19 -0800
Original-Received: (from debbugs@localhost)
	by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBHKo3WS031278;
	Wed, 17 Dec 2008 12:50:03 -0800
X-Loop: don@donarmstrong.com
Resent-From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Resent-To: bug-submit-list@donarmstrong.com
Resent-CC: Emacs Bugs <bug-gnu-emacs@gnu.org>, Gnus <bugs@gnus.org>
Resent-Date: Wed, 17 Dec 2008 20:50:03 +0000
Resent-Message-ID: <handler.1574.B1574.122954667030012@emacsbugs.donarmstrong.com>
Resent-Sender: don@donarmstrong.com
X-Emacs-PR-Message: followup 1574
X-Emacs-PR-Package: emacs,gnus
X-Emacs-PR-Keywords: 
Original-Received: via spool by 1574-submit@emacsbugs.donarmstrong.com
	id=B1574.122954667030012
	(code B ref 1574); Wed, 17 Dec 2008 20:50:03 +0000
Original-Received: (at 1574) by emacsbugs.donarmstrong.com; 17 Dec 2008 20:44:30 +0000
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
Original-Received: from mail-bw0-f11.google.com (mail-bw0-f11.google.com
	[209.85.218.11])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBHKiPbd030004
	for <1574@emacsbugs.donarmstrong.com>; Wed, 17 Dec 2008 12:44:27 -0800
Original-Received: by bwz4 with SMTP id 4so310659bwz.1
	for <1574@emacsbugs.donarmstrong.com>;
	Wed, 17 Dec 2008 12:44:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:from:to:subject:references
	:date:in-reply-to:message-id:user-agent:mime-version:content-type
	:content-transfer-encoding;
	bh=5uvrWWTwlIrXC+8tn6xnwfs2FT3uh7JIsOb6JhSVgog=;
	b=tG0rmdD/SyxzYlpwqLZqKE4VbE53Sod5kuu3U8gvJDO7G9Umf33IG6OrQY6uwqARSY
	vdlCTs1v8qlSZYy1srjNrgONqA8mDZhRfvQx+N9sxVRZJAyQXezETZEsAg5WDtufqKWa
	Za2HwiD54ZgzYXK2PN4RH8SV2RcHTTwct/3Q4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=from:to:subject:references:date:in-reply-to:message-id:user-agent
	:mime-version:content-type:content-transfer-encoding;
	b=po+e3jy80Di7Mh+2M8fvgIApaA9xmahSYA9nWjmSlWVx8cuF7GNGzu0ciL0HIjUhjI
	8UTxEIcUmC+PXKkX5Ur4MtExJ9TImeYrGpp44qP5IbSxUhIADSoYD6UBgzjlTjqDp4Dk
	yS0V2bU1+x/BXz8l9vAR6g6Umg6y6VOutv5O0=
Original-Received: by 10.103.12.8 with SMTP id p8mr450916mui.44.1229546647722;
	Wed, 17 Dec 2008 12:44:07 -0800 (PST)
Original-Received: from tux.homenetwork (167.211.85-79.rev.gaoland.net [79.85.211.167])
	by mx.google.com with ESMTPS id
	s10sm12843473mue.13.2008.12.17.12.44.06
	(version=TLSv1/SSLv3 cipher=RC4-MD5);
	Wed, 17 Dec 2008 12:44:07 -0800 (PST)
In-Reply-To: <8763liin9z.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's
	message of "Wed, 17 Dec 2008 21:01:44 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Resent-Date: Wed, 17 Dec 2008 16:04:24 -0500
X-BeenThere: bug-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.bugs:23335
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/23335>

Hi Reiner!
Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Tue, Dec 16 2008, Thierry Volpiatto wrote:
>
>> ,----
>> | mm-insert-file-contents:=20
>> | Opening input file: aucun fichier ou r=C3=A9pertoire de ce type,=20
>> | /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=09
> @@ -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.

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