[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: draft buffer format



Recipe:

(1) Starting Wanderlust draft mode by typing C-x m (compose-mail):

(autoload 'wl-user-agent-compose "wl-draft" nil t)
(if (boundp 'mail-user-agent)
    (setq mail-user-agent 'wl-user-agent))
(if (fboundp 'define-mail-user-agent)
    (define-mail-user-agent
      'wl-user-agent
      'wl-user-agent-compose
      'wl-draft-send
      'wl-draft-kill
      'mail-send-hook))

(2) wl-draft-fields set as follows:
   
    (setq wl-draft-fields '("To:" "Cc:" "From:" "Reply-To:"))

(3) C-x m RET

(3) Draft buffer fields:

From: Xxxx Xxx Xxxxx <XxxxXxxXxxxx@gmail.com>
To:
Subject:
User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.2.50 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
Fcc: %sent

. . .

As should be obvious, I do not want to see the User-Agent or Fcc
fields.

On Sun, Oct 21, 2012 at 10:20 AM, David Maus <dmaus@ictsoc.de> wrote:
At Wed, 10 Oct 2012 02:54:58 -0400,
42 147 wrote:
>
> How would I customize my draft buffer to display only these fields -- much
> the way I customized the messages buffer:
>
> (setq mime-view-mailcap-files '("~/Emacs/Wanderlust/mailcap")
>
>       wl-message-ignored-field-list '("^.*:")
>       wl-message-visible-field-list
>       '("^To:"
>     "^Cc:"
>     "^From:"
>     "^Subject:")
>
>       wl-message-sort-field-list
>       '("^From"
>         "^Subject"
>         "^To"
>         "^Cc"))

C-h v wl-draft-fields RET

,----[ *Help* ]
| wl-draft-fields is a variable defined in `wl-vars.el'.
| Its value is
| ("To:" "Cc:" "Bcc:" "Fcc:" "Distribution:" "Organization:" "Newsgroups:" "Followup-To:" "Mail-Followup-To:" "From:" "Reply-To:")
|
|
| Documentation:
| Fields used in draft mode.
|
| You can customize this variable.
|
| [back]
`----

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de