all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* mail-fcc doesn't write From header
@ 2004-09-09 12:04 Olivier Cappe
  0 siblings, 0 replies; 3+ messages in thread
From: Olivier Cappe @ 2004-09-09 12:04 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2004-08-03 on raven, modified by Debian
configured using `configure '--build=i386-linux' '--host=i386-linux'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var/lib' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes'
'--with-x-toolkit=athena' 'CFLAGS=-DDEBIAN -g -O2' 'build_alias=i386-linux'
'host_alias=i386-linux''
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.iso88591
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: POSIX
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Emails saved with Fcc (mail-fcc) do not have a From field. Here is and example

To: comcap@free.fr
FCC: ~/testfile
Subject: test
--text follows this line--
test

$ cat ~/testfile
>From cappe Thu Sep  9 13:56:58 +0200 2004
To: comcap@free.fr
Subject: test

test


I am running emacs -q to avoid customization related issues. mail-fcc did insert
a From field with Emacs <= 20.
Thanks,

--
olivier
(please CC me as I am not on the list)

Recent input:
C-x m c o m c a p @ f r e e . f r <down> t e s t C-c
C-f C-f t e s t f i <tab> <return> <down> <down> <down>
t e s t <return> <down-mouse-1> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<drag-mouse-1> <down-mouse-1> <mouse-1> C-c C-c M-x
r e p o r t <tab> <return>

Recent messages:
Loading 50w3 (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Loading sendmail...done
Loading mailcrypt...done
Loading mailalias...done
Sending...
Wrote /tsi/udon/cappe/testfile
Sending...done
Loading emacsbug...done
Loading view...done

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

* Re: mail-fcc doesn't write From header
       [not found] <mailman.2132.1094731872.1998.bug-gnu-emacs@gnu.org>
@ 2004-09-09 15:19 ` Kevin Rodgers
       [not found] ` <mailman.2164.1094747296.1998.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2004-09-09 15:19 UTC (permalink / raw)


Olivier Cappe wrote:
 > Emails saved with Fcc (mail-fcc) do not have a From field. Here is
 > and example
 >
 > To: comcap@free.fr
 > FCC: ~/testfile
 > Subject: test
 > --text follows this line--
 > test
 >
 > $ cat ~/testfile
 >>From cappe Thu Sep  9 13:56:58 +0200 2004
 > To: comcap@free.fr
 > Subject: test
 >
 > test
 >
 >
 > I am running emacs -q to avoid customization related
 > issues. mail-fcc did insert a From field with Emacs <= 20.

mail-do-fcc writes the From: header if it is present in the message
composition buffer.  What does `C-h v send-mail-function' say?

For sendmail-send-it, a From: header is inserted unless
mail-from-style is set to system-default.

For smtpmail-send-it, a From: header is inserted unless
mail-from-style is something other than angles, parens, or nil.

For feedmail-send-it, a From: header may be inserted depending on the
value of feedmail-from-line.

For post-mail-send-it, a From: header is not inserted.

-- 
Kevin Rodgers

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

* Re: mail-fcc doesn't write From header
       [not found] ` <mailman.2164.1094747296.1998.bug-gnu-emacs@gnu.org>
@ 2004-09-10 16:55   ` Kevin Rodgers
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2004-09-10 16:55 UTC (permalink / raw)


Kevin Rodgers wrote:
 > mail-do-fcc writes the From: header if it is present in the message
 > composition buffer.  What does `C-h v send-mail-function' say?
 >
 > For sendmail-send-it, a From: header is inserted unless
 > mail-from-style is set to system-default.
 >
 > For smtpmail-send-it, a From: header is inserted unless
 > mail-from-style is something other than angles, parens, or nil.

I suspect that difference between sendmail-send-it and
smtpmail-send-it is unintentional, as is this other difference in the
handling of the From: header:

* sendmail-send-it checks for non-ASCII characters in the fullname and
   escapes them using rfc2047-encode-string; smtpmail-send-it does not.

Perhaps that section (starting with the following comment) should be
modularized into its own mail-do-from function that both *-send-it
functions could call (like mail-do-fcc).

	    ;; Put the "From:" field in unless for some odd reason
	    ;; they put one in themselves.

-- 
Kevin Rodgers

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

end of thread, other threads:[~2004-09-10 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2132.1094731872.1998.bug-gnu-emacs@gnu.org>
2004-09-09 15:19 ` mail-fcc doesn't write From header Kevin Rodgers
     [not found] ` <mailman.2164.1094747296.1998.bug-gnu-emacs@gnu.org>
2004-09-10 16:55   ` Kevin Rodgers
2004-09-09 12:04 Olivier Cappe

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.