[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Re: Completing with anything
From: |
Michael Markert |
Subject: |
Re: [O] Re: Completing with anything |
Date: |
Sat, 26 Mar 2011 23:06:23 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO) |
On 25 Mar 2011, Julien Danjou wrote:
> [1 <text/plain; utf-8 (quoted-printable)>]
> On Thu, Mar 24 2011, Cian wrote:
>
>> Can you separate out the gnus specific code at some point. If I ever
>> get any time (two small children and a day job, so big if) I'd like to
>> integrate it into Wanderlust. But currently the code assumes that
>> you're using gnus.
>
> Sure, I'll add that to my todo list.
I've wrote some code at least for template support:
#+BEGIN_SRC emacs-lisp
(require 'std11) ; from FLIM
(require 'wl-address) ; from Wanderlust
(defun wl-get-from-header-content (buffer)
(save-excursion
(set-buffer buffer)
(std11-narrow-to-header)
(prog1
(std11-fetch-field "From")
(widen))))
(defun org-contacts-template-wl-name ()
(wl-address-header-extract-realname (wl-get-from-header-content
(org-capture-get :original-buffer))))
(defun org-contacts-template-wl-email ()
(wl-address-header-extract-address (wl-get-from-header-content
(org-capture-get :original-buffer))))
#+END_SRC
Because Wanderlust keeps several message buffers you have to start
capture from within a message buffer, not a summary buffer. But I'll
look into it.
Michael
pgpi59itLMjlh.pgp
Description: PGP signature
- [O] Re: Completing with anything, (continued)
- [O] Re: Completing with anything, Stefan Monnier, 2011/03/21
- [O] Re: Completing with anything, Eric Abrahamsen, 2011/03/21
- Re: [O] Re: Completing with anything, Eric S Fraga, 2011/03/22
- [O] Re: Completing with anything, Eric Abrahamsen, 2011/03/22
- Re: [O] Re: Completing with anything, Julien Danjou, 2011/03/23
- Re: [O] Re: Completing with anything, Eric S Fraga, 2011/03/23
- Re: [O] Re: Completing with anything, Julien Danjou, 2011/03/23
- Re: [O] Re: Completing with anything, Eric S Fraga, 2011/03/23
- Re: [O] Re: Completing with anything, Cian, 2011/03/24
- Re: [O] Re: Completing with anything, Julien Danjou, 2011/03/25
- Re: [O] Re: Completing with anything,
Michael Markert <=
- Re: [O] Re: Completing with anything, Michael Markert, 2011/03/26
- Re: [O] Re: Completing with anything, Aankhen, 2011/03/22
- Re: [O] Re: Completing with anything, Tassilo Horn, 2011/03/22
- Re: [O] Re: Completing with anything, Julien Danjou, 2011/03/22
- Re: [O] Re: Completing with anything, Tassilo Horn, 2011/03/22
- [O] Re: Completing with anything, Dimitri Fontaine, 2011/03/22
- [O] Re: Completing with anything, Stefan Monnier, 2011/03/21
- [O] Re: Completing with anything, Julien Danjou, 2011/03/21