[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)
    (set-buffer buffer)
        (std11-fetch-field "From")

(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))))

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.


Attachment: pgpi59itLMjlh.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]