From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Markert Subject: Re: Re: Completing with anything Date: Sat, 26 Mar 2011 23:06:23 +0100 Message-ID: <87fwq9fsf4.wl%markert.michael@googlemail.com> References: <87r5bhysp6.fsf@keller.adm.naquadah.org> <87vd0romky.fsf@keller.adm.naquadah.org> <87mxm2na63.fsf@member.fsf.org> <87vd0qfhu3.fsf@member.fsf.org> <87lj08fxge.fsf@member.fsf.org> <87wrjr7t9e.fsf@ericabrahamsen.net> <87oc53meeh.fsf@ucl.ac.uk> <87pqpi9b7s.fsf@pinto.chemeng.ucl.ac.uk> <87d3lfh5ee.fsf@keller.adm.naquadah.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sat_Mar_26_23:06:23_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49461 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3bcr-0005wS-Eu for emacs-orgmode@gnu.org; Sat, 26 Mar 2011 18:06:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3bcq-0006eW-H6 for emacs-orgmode@gnu.org; Sat, 26 Mar 2011 18:06:29 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:59534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3bcq-0006eE-Ca for emacs-orgmode@gnu.org; Sat, 26 Mar 2011 18:06:28 -0400 Received: by fxm18 with SMTP id 18so2285761fxm.0 for ; Sat, 26 Mar 2011 15:06:27 -0700 (PDT) In-Reply-To: <87d3lfh5ee.fsf@keller.adm.naquadah.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Julien Danjou Cc: emacs-orgmode@gnu.org --pgp-sign-Multipart_Sat_Mar_26_23:06:23_2011-1 Content-Type: text/plain; charset=US-ASCII On 25 Mar 2011, Julien Danjou wrote: > [1 ] > 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 --pgp-sign-Multipart_Sat_Mar_26_23:06:23_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJNjmNfAAoJEHHMVUK0UjKVv/QP/0pmBz/zc8Tzexf4XDPSdXep SDQYrnZJ1RceiF0WCJMFHPa+XT8sSbdS0pURc3mt1s5SkD3ixLbb9prymGTAOb47 drUMTs/e6MGQgNrCRVv/LX/7Y9iarg5xUoQDaVWiT84xHRlbgzrdg7j5dhsLGPeU U5PPJrWNhtdGaSAQr2g0SUhnkvrQzXMAqUVxdJL4fH++UN8TePk4Eg6tX4MvtC1B k3WLnKP6F7hwfCY46DHIud0xHHkwfnriFKRWFtVSjJDDfHqgAirKmLhU11LRxy+y F5WQFlDxhabWIIH8RUmaxUqesAETg1z23A8C4ppeoWkIlxyb3ijm/7rErUhAIbyZ Y8YqYJUX7/6ra5CX1fKQU7OmInjDftDrnzgtzVwL5mi4iwo2bYdVv/3QO7HjPGEM koGNBMdPvoOjMhrMxqc90FDqRTSMwWJ6iwWwgIPeqCgwmU1M5vw9XoEM7mkL8KMQ MfyXyRJzTKCjmYnQBAsIKP9+Ts7moH9AkM/JGgRY4UfXx2td8dTDEZlKn0I2K+jB DcepJlBtcch3b5hShaNrV23/e+4P5JN9+3QLBrXJyYozwsfqms4NVWfFtcVSz8Pw IZEJCJ7bYhJ8OYsIMAHU2OocFaAyz6bbjfvJT3uK91BRoKy+SKD9RJB+vFDyKaFP 0bWjDvGouLw70Yy/VIpk =QilK -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sat_Mar_26_23:06:23_2011-1--