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

Re: text coding code in mails



At Mon, 6 Feb 2012 18:35:47 +0100,
Karl F wrote:
>
> [1  <text/plain; iso-8859-1 (quoted-printable)>]
>
>
> Hi!
> I've been working a while on setting up wanderlust, and I have some questions.
>
> Q1.
> In some messages (all sent from a hotmail address it would seem) I get something looking like:
> " [1  <text/plain; iso-8859-1 (quoted-printable)>]"
> starting and ending each message.
>
> Is this what is referred to as a "mime-button" on the mailing list? I saw a message talking about "mime buttons" and the fix was apparently to use "Vitaly's patch of 2011-04-06". Is this relevant to me, and if so how do I apply it? I'm using wl installed from el-get (2.15.9). (I see the same behavior in wl-beta.deb on Debian).
>
>
> Q2.
> Is it possible to have multiple email addresses in ~/.addresses bound to one alias/nick name? Like a group?
>
>
> Q3
> In my sent folder, I'd like the summary to show who it was sent _to_, not _from_, since they're all from me. I've tried somethinglike this:
>   (setq
>   ;;show who I sent the mail to in sent-folder.
>    wl-summary-showto-folder-regexp ".*"
>    wl-summary-showto-folder-regexp "%INBOX.Sent.*"
>    wl-summary-from-function 'wl-summary-default-from)
>
>
>
> I've been going through the mailing list, and a lot of try-and-error with my setup, and everything I learned so far I put on the emacswiki, so I've added this page:
> http://www.emacswiki.org/emacs/WlMultipleAccounts
>
> and updated:
> http://www.emacswiki.org/emacs/WanderLust  (added many links + some more info)
> http://www.emacswiki.org/emacs/WlFaq       (added some more Q&A)
>
> I'd be happy if someone could make sure I'm not telling any lies, so suggestions for improvements is gladly appreciated (since my lisp is terrible).

I added a switch for the signature file based on the from address:

,----
| ;; Use different signature files based on From: address
| (setq signature-file-alist
|       `((("From" . "myname@company.com") . ,(expand-file-name "~/.emacs.d/signature.d/myname@company.com"))
| 	(("From" . "myname@gmail.com") . ,(expand-file-name "~/.emacs.d/signature.d/myname@gmail.com"))))
`----

I use template/draft-config the other way round (and based on the From: header):

,----
| (setq wl-template-alist
|       '(("ictsoc" ("From" . "David Maus <dmaus@ictsoc.de>"))
| 	("gmail" ("From" . "David Maus <maus.david@gmail.com>"))
| 	("work" ("From" . "David Maus <maus@hab.de>"))))
|
| (setf wl-draft-config-alist
|       '((reply "\\([Tt]o\\|[Cc]c\\): .*dmaus@ictsoc.de" (template . "ictsoc"))
| 	(reply "\\([Tt]o\\|[Cc]c\\): .*maus.david@gmail.com" (template . "gmail"))
| 	(reply "\\([Tt]o\\|[Cc]c\\): .*maus@hab.de" (template . "work"))
| 	("From: David Maus <dmaus@ictsoc.de>"
| 	 (wl-from . "David Maus <dmaus@ictsoc.de>")
| 	 (wl-envelope-from . "dmaus@ictsoc.de")
| 	 (wl-smtp-posting-port . 587)
| 	 (wl-smtp-authenticate-type . "plain")
| 	 (wl-smtp-posting-user . "dmaus@ictsoc.de")
| 	 (wl-smtp-posting-server . "mail.xlhost.de")
| 	 (wl-local-domain . "ictsoc.de")
| 	 (wl-smtp-connection-type . 'starttls))
| 	("From: David Maus <maus.david@gmail.com>"
| 	 (wl-smtp-posting-server . "mail.gmail.com")
| 	 (wl-envelope-from . "maus.david@gmail.com")
| 	 (wl-smtp-posting-port . 587)
| 	 (wl-smtp-authenticate-type . "plain")
| 	 (wl-smtp-posting-user . "maus.david")
| 	 (wl-smtp-posting-server . "smtp.gmail.com")
| 	 (wl-local-domain . "gmail.com")
| 	 ("Fcc" . "%Inbox:\"maus.david@gmail.com\"/clear@imap.gmail.com:993!")
| 	 (wl-smtp-connection-type . 'starttls))
| 	("From: David Maus <maus@hab.de>"
| 	 (wl-envelope-from . "maus@hab.de")
| 	 (wl-smtp-posting-port . 25)
| 	 (wl-smtp-authenticate-type . "plain")
| 	 (wl-smtp-posting-user . "maus@hab.de")
| 	 (wl-smtp-posting-server . "mail.hab.de")
| 	 (wl-smtp-connection-type . nil)
| 	 (wl-local-domain . "hab.de")
| 	 ("Fcc" . "%Sent:\"maus@hab.de\"@imap.hab.de:143"))))
`----

And last not least I set the default identity depending on which
machine Emacs is running on. The variable `dmaus/emacs/context' is set
during startup to either 'work or 'home:

,----
| (setq user-full-name "David Maus")
| (cond
|  ((eq dmaus/emacs/context 'work)
|   (setq user-mail-address "maus@hab.de")
|   (setq wl-default-folder "%Inbox:\"maus@hab.de\"@imap.hab.de:143")
|   (setq wl-fcc "%Sent:\"maus@hab.de\"@imap.hab.de:143"))
|  (t
|   (setq user-mail-address "dmaus@ictsoc.de")
|   (setq wl-default-folder "%Inbox:\"dmaus@ictsoc.de\"/clear@mail.xlhost.de:993!")
|   (setq wl-fcc "%Inbox:\"dmaus@ictsoc.de\"/clear@mail.xlhost.de:993!")))
| (setq wl-from (format "%s <%s>" user-full-name user-mail-address))
`----


"^@" and "^-" are dispose settings for Shimbun and Usenet folders.

Best and thanks,
  -- David

Attachment: pgpgZcLqnQ2YT.pgp
Description: PGP signature