23.1.92; mail-archive-file-name not working

  • Done
  • quality assurance status badge
Details
4 participants
  • Debbugs Internal Request
  • Glenn Morris
  • Warren Dodge
  • Warren Dodge
Owner
unassigned
Submitted by
Warren Dodge
Severity
normal
W
W
Warren Dodge wrote on 10 Feb 2010 02:21
(address . bug-gnu-emacs@gnu.org)
qrlpr4drilc.fsf@lwe127084.central.tektronix.net
When I use c-x m to send an email the data from the email in not being
stored in the mail-archive-file-name


In GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.6)
of 2010-02-09 on zephyr
Windowing system distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--prefix=/tools/wdtgnu/emacs-23.1.92' '--disable-nls''

Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: C
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: C
value of $XMODIFIERS: nil
locale-coding-system: nil
default enable-multibyte-characters: t

Major mode: RMAIL

Minor modes in effect:
display-time-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t

Recent input:
C-x RET C-x RET C-x m C-x m C-x m C-x m w a r r e n
d C-c C-n d <backspace> C-_ C-_ C-_ <up> <up> <down>
d k a k a ' d s l k C-c C-c C-x C-f a l l <tab> m <tab>
m <tab> a <tab> <return> <escape> > C-x k <return>
C-x k <return> <escape> x e m a <backspace> <backspace>
<backspace> r e p o r t - e m a c s <tab> <return>

Recent messages:
Loading gnuserv...done
Loading /login/warrend/.emacs22...done
For information about GNU Emacs and the GNU system, type <f1> C-a.
Parsing /login/warrend/.mailrc... done
Undo! [3 times]
Sending...
Sending via mail...
Sending...done
Making completion list... [2 times]
Mark set

Load-path shadows:
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/etach hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/etach-1.4.1/etach
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/etach hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/etach-1.4.3/etach
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/speedbar/speedbar hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/speedbar
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/speedbar/sb-image hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/sb-image
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/common/ezimage hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/ezimage
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/speedbar/dframe hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/dframe
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/verilog-mode hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/progmodes/verilog-mode
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio-custom hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio-custom
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio-speedbar hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio-speedbar
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio-opt hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio-opt
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio-comp hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio-comp
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio-base hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio-base
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/chart hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/chart
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/common/cedet-files hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/cedet-files
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/semantic/semantic hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/semantic
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/common/mode-local hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/mode-local
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/common/inversion hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/inversion
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/ede/ede hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/ede
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/common/cedet hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/cedet

Features:
(shadow emacsbug help-mode view newcomment gnus-msg gnus-art mm-uu
mml2015 epg-config mm-view smime dig gnus-sum nnoo gnus-group gnus-undo
nnmail mail-source format-spec gnus-start gnus-spec gnus-int gnus-range
gnus-win gnus gnus-ems mail-extr sort message sendmail ecomplete rfc822
mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils mailheader
canlock sha1 hex-util hashcash warnings etach lookup jka-compr gnuserv
unique complete icomplete rmail mail-utils cus-edit cus-start cus-load
wid-edit time paren mic-paren filladapt cc-mode cc-fonts easymenu
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind font-render-setting gtk
x-toolkit x multi-tty emacs)

--
Warren Dodge, Application Engineer phone - (503) 627-4888
Tektronix Inc. MS 39-515 fax - (503) 627-2528
14180 S.W. Karl Braun Drive Email - warren.l.dodge@tektronix.com
P.O. Box 500 Beaverton, OR 97077
G
G
Glenn Morris wrote on 10 Feb 2010 08:29
(name . Warren Dodge)(address . warren.l.dodge@tektronix.com)(address . 5555@debbugs.gnu.org)
55zl3hy2ex.fsf@fencepost.gnu.org
Warren Dodge wrote:

Toggle quote (3 lines)
> When I use c-x m to send an email the data from the email in not being
> stored in the mail-archive-file-name

This is one instance of http://debbugs.gnu.org/4431,differences
between message mode and mail mode. message-mode does not respect
mail-archive-file-name. It would be easy to add this, but maybe there
is already a different message-mode way to do this (add an FCC header
by default)?

You can just customize mail-user-agent back to sendmail-user-agent if
these differences bug you.

Toggle quote (1 lines)
> In GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.6)
G
G
Glenn Morris wrote on 11 Feb 2010 20:59
(address . 5555@debbugs.gnu.org)
p4d40bfsra.fsf@fencepost.gnu.org
How about something like the following.

(I'm not sure if it will put the FCC file in the same directory as
mail-mode used to.)


*** lisp/gnus/message.el 2010-01-17 23:49:27 +0000
--- lisp/gnus/message.el 2010-02-11 19:54:01 +0000
***************
*** 1178,1185 ****
:link '(custom-manual "(message)Message Headers")
:type 'message-header-lines)
! (defcustom message-default-mail-headers ""
"*A string of header lines to be inserted in outgoing mails."
:group 'message-headers
:group 'message-mail
:link '(custom-manual "(message)Mail Headers")
--- 1178,1190 ----
:link '(custom-manual "(message)Message Headers")
:type 'message-header-lines)
! (defcustom message-default-mail-headers
! (if (and (boundp 'mail-archive-file-name)
! (stringp mail-archive-file-name))
! (format "FCC: %s\n" mail-archive-file-name)
! "")
"*A string of header lines to be inserted in outgoing mails."
+ :version "23.2"
:group 'message-headers
:group 'message-mail
:link '(custom-manual "(message)Mail Headers")
G
G
Glenn Morris wrote on 12 Feb 2010 06:24
(name . Warren L. Dodge)(address . warrend@tektronix.com)(address . 5555@debbugs.gnu.org)
wqhbpnt49s.fsf@fencepost.gnu.org
Please try in your .emacs:

(setq mail-archive-file-name "whatever you had before")

(setq message-default-mail-headers
(format "FCC: %s\n" mail-archive-file-name))
W
W
Warren Dodge wrote on 12 Feb 2010 18:29
(name . Glenn Morris)(address . rgm@gnu.org)(address . 5555@debbugs.gnu.org)
201002121729.o1CHT4dc030047@lwe127084.central.tektronix.net
Toggle quote (14 lines)
> CC: 5555@debbugs.gnu.org
> From: Glenn Morris <rgm@gnu.org>
> Date: Fri, 12 Feb 2010 00:24:47 -0500
> MIME-Version: 1.0
> Content-Type: text/plain; charset="us-ascii"
>
> Please try in your .emacs:
>
> (setq mail-archive-file-name "whatever you had before")
>
> (setq message-default-mail-headers
> (format "FCC: %s\n" mail-archive-file-name))
>
>
This made the email send go into the FCC file.
G
G
Glenn Morris wrote on 16 Feb 2010 03:49
(address . 5555-done@debbugs.gnu.org)
oer5ol3nfg.fsf@fencepost.gnu.org
I've installed the following change to make life easier for users of
mail-archive-file-name (and mail-self-blind and mail-default-reply-to):

* message.el (message-default-mail-headers): Change the default
value to ease the transition from mail-mode to message-mode.
Closed
D
D
Debbugs Internal Request wrote on 16 Mar 2010 12:24
Internal Control
bug archived.
# A New Hope
# A long time ago, in a galaxy far, far away
# something happened.
#
# Magically this resulted in the following
# action being taken, but this fake control
# message doesn't tell you why it happened
#
# The action:
# bug archived.
thanks
# This fakemail brought to you by your local debbugs
# administrator
?