2012年2月 7日

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@xxxxx") . ,(expand-file-name "~/.emacs.d/signature.d/myname@xxxxx"))
| (("From" . "myname@xxxxx") . ,(expand-file-name "~/.emacs.d/signature.d/myname@xxxxx"))))
`----

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

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

--pgp-sign-Multipart_Tue_Feb__7_06:18:12_2012-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iF4EABEIAAYFAk8wtBgACgkQDMLgk1Evc4ViZgD9Fzg6oe8Sf57trd4Ra+lSOu/9
Ft6oSBQbZjj1JkK00HMBAK8sg/WEblbsWOMzJbEn4D+PaCgK29twsUI6ws26orUH
=ryMD
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Tue_Feb__7_06:18:12_2012-1--

投稿者 xml-rpc : 2012年2月 7日 14:18
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/108575
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。