GNU bug report logs -
#1574
23.0.60; gnus fail to attach file when sending mail
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1574 in the body.
You can then email your comments to 1574 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1574
; Package
emacs
.
(Wed, 17 Dec 2008 06:25:25 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 17 Dec 2008 06:25:27 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Hi, when i try to attach files with gnus, it fail with:
,----
| 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))
`----
Here is how the attached file is displayed in the body of the mail:
(i remove the "part" tags)
,----
| type="text/plain" filename=#("~/download/toto.txt" 0 19 (face nil)) disposition=inline description=test
`----
However if i modify that like:
,----
| type="text/plain" filename="~/download/toto.txt" disposition=inline description=test
`----
The attached file (toto.txt) is sent
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.0.60/etc/DEBUG for instructions.
In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.14.5)
of 2008-12-16 on tux
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-march=i686 -pipe -O2' 'LDFLAGS=-Wl,-O1''
Important settings:
value of $LC_ALL: fr_FR.UTF-8
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: fr_FR.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Dired by name
Minor modes in effect:
gnus-dired-mode: t
icomplete-mode: t
icicle-mode: t
delete-selection-mode: t
minibuffer-depth-indicate-mode: t
auto-image-file-mode: t
partial-completion-mode: t
shell-dirtrack-mode: t
display-wireless-mode: t
display-battery-mode: t
display-time-mode: t
diff-auto-refine-mode: t
recentf-mode: t
savehist-mode: t
desktop-save-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<backspace> C-c C-c <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <up> <up> <up>
<up> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> # <down> <left> <left> <left> <left> <left>
<left> <left> <left> <backspace> C-c C-c <left> <left>
<left> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <backspace> <backspace> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
C-c C-c <f11> a <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <up>
<return> g <down> <down> <down> <down> <return> C-x
k <return> C-x m t v o l <tab> <down> t e s t <down>
<down> <down> <down> C-c C-a t o t o <tab> <return>
<return> t e s t <return> <return> C-c C-c <down> <down>
<down> <down> <down> <down> <down> <down> <left> <left>
<left> <left> <left> <left> <return> C-SPC C-n C-n
C-x r s a C-g C-c C-k y y C-g <up> <up> <up> C-h e
<up> <up> <up> <up> <up> <left> <left> <left> <left>
C-SPC C-e C-x r s z C-g C-x b <return> M-x r e p o
r t - e m a <tab> <down> <return>
Recent messages:
Computing completion candidates...
Sending...
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))
Mark set
Quit
Message modified; kill anyway? (y or n)
Quit
Mark set
Quit
Computing completion candidates...
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
bug reassigned from package `emacs' to `emacs,gnus'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 17 Dec 2008 19:30:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Gnus <bugs <at> gnus.org>
:
bug#1574
; Package
emacs,gnus
.
(Wed, 17 Dec 2008 20:10:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Reiner Steib <Reiner.Steib <at> gmx.de>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Gnus <bugs <at> gnus.org>
.
(Wed, 17 Dec 2008 20:10:04 GMT)
Full text and
rfc822 format available.
Message #12 received at 1574 <at> emacsbugs.donarmstrong.com (full text, mbox):
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)))
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Gnus <bugs <at> gnus.org>
:
bug#1574
; Package
emacs,gnus
.
(Wed, 17 Dec 2008 20:50:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Gnus <bugs <at> gnus.org>
.
(Wed, 17 Dec 2008 20:50:04 GMT)
Full text and
rfc822 format available.
Message #17 received at 1574 <at> emacsbugs.donarmstrong.com (full text, mbox):
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
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Gnus <bugs <at> gnus.org>
:
bug#1574
; Package
emacs,gnus
.
(Thu, 18 Dec 2008 21:20:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Reiner Steib <Reiner.Steib <at> gmx.de>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Gnus <bugs <at> gnus.org>
.
(Thu, 18 Dec 2008 21:20:06 GMT)
Full text and
rfc822 format available.
Message #22 received at 1574 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Wed, Dec 17 2008, Thierry Volpiatto wrote:
> Reiner Steib <reinersteib+gmane <at> imap.cc> writes:
>> 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 :)
Installed in Gnus CVS, will be synced to Emacs CVS soon.
Could someone please close this bug?
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Thu, 18 Dec 2008 21:40:07 GMT)
Full text and
rfc822 format available.
Notification sent
to
Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 18 Dec 2008 21:40:07 GMT)
Full text and
rfc822 format available.
Message #27 received at 1574-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Reiner Steib wrote:
> Could someone please close this bug?
Absolutely anyone can close a bug.
Just send mail to 1574-done <at> emacsbugs, as I did in this mail.
Message #28 received at 1574-done <at> emacsbugs.donarmstrong.com (full text, mbox):
> Could someone please close this bug?
This email does it. You could have done it yourself by just adding
"-done" after the bug-number in the destination address (as in the To:
field of this email).
Stefan
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sat, 17 Jan 2009 15:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 160 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.