all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1574: 23.0.60; gnus fail to attach file when sending mail
@ 2008-12-16  9:59 ` Thierry Volpiatto
  2008-12-17 20:01   ` 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
  0 siblings, 2 replies; 5+ messages in thread
From: Thierry Volpiatto @ 2008-12-16  9:59 UTC (permalink / raw)
  To: emacs-pretest-bug


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@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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#1574: 23.0.60; gnus fail to attach file when sending mail
  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
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2008-12-17 20:01 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 1574

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/






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#1574: 23.0.60; gnus fail to attach file when sending mail
  2008-12-17 20:01   ` Reiner Steib
@ 2008-12-17 20:38     ` Thierry Volpiatto
  2008-12-18 21:17       ` Reiner Steib
  0 siblings, 1 reply; 5+ messages in thread
From: Thierry Volpiatto @ 2008-12-17 20:38 UTC (permalink / raw)
  To: 1574

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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#1574: 23.0.60; gnus fail to attach file when sending mail
  2008-12-17 20:38     ` Thierry Volpiatto
@ 2008-12-18 21:17       ` Reiner Steib
  0 siblings, 0 replies; 5+ messages in thread
From: Reiner Steib @ 2008-12-18 21:17 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 1574

On Wed, Dec 17 2008, Thierry Volpiatto wrote:

> Reiner Steib <reinersteib+gmane@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/






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#1574: marked as done (23.0.60; gnus fail to attach file when  sending mail )
  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-18 21:40   ` Emacs bug Tracking System
  1 sibling, 0 replies; 5+ messages in thread
From: Emacs bug Tracking System @ 2008-12-18 21:40 UTC (permalink / raw)
  To: Glenn Morris

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]


Your message dated Thu, 18 Dec 2008 16:34:17 -0500
with message-id <egk59x9nhi.fsf@fencepost.gnu.org>
and subject line Re: bug#1574: 23.0.60; gnus fail to attach file when sending mail
has caused the Emacs bug report #1574,
regarding 23.0.60; gnus fail to attach file when sending mail 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
1574: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1574
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 8940 bytes --]

From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; gnus fail to attach file when sending mail
Date: Tue, 16 Dec 2008 10:59:57 +0100
Message-ID: <87myewzbhe.fsf@tux.homenetwork>


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@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



[-- Attachment #3: Type: message/rfc822, Size: 1856 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: 1574-done@emacsbugs.donarmstrong.com
Cc: reinersteib+gmane@imap.cc
Subject: Re: bug#1574: 23.0.60; gnus fail to attach file when sending mail
Date: Thu, 18 Dec 2008 16:34:17 -0500
Message-ID: <egk59x9nhi.fsf@fencepost.gnu.org>

Reiner Steib wrote:

> Could someone please close this bug?

Absolutely anyone can close a bug.

Just send mail to 1574-done@emacsbugs, as I did in this mail.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-18 21:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
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

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.