From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schoepe Subject: Re: Dynamically generating todo entries Date: Wed, 23 Nov 2011 18:17:09 +0100 Message-ID: <87d3circ6i.fsf@schoepe.localhost> References: <87obwu8bbn.fsf@gilead.invalid> <6130.1320275498@alphaville.americas.hpqcorp.net> <87liry85dx.fsf@gilead.invalid> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGRk-0000D6-ET for emacs-orgmode@gnu.org; Wed, 23 Nov 2011 12:17:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTGRj-0006pK-AU for emacs-orgmode@gnu.org; Wed, 23 Nov 2011 12:17:20 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:61659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGRj-0006p1-0W for emacs-orgmode@gnu.org; Wed, 23 Nov 2011 12:17:19 -0500 Received: by bke17 with SMTP id 17so2151335bke.0 for ; Wed, 23 Nov 2011 09:17:17 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: suvayu ali Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain On Wed, 23 Nov 2011 17:41:49 +0100, suvayu ali wrote: > You can take pointers from here: > Yeah, I figured out a solution that works for me: (defadvice org-todo-list (before org-todo-gen-notmuch activate) (let ((buf (get-file-buffer "~/org/notmuch_todo.org"))) (when buf (kill-buffer buf))) (call-process "notmuch-org")) (Together with a not very interesting python script that generates notmuch_todo.org). Thanks anyway. Cheers, Daniel --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJOzSqVAAoJEIaTAtce+Z+J1OUP/2ti0OkCuFUh7+1/+ngncZxb iyoyXuvAw2HavhS/dA7BeAS5YpdO4riDafhleKBu6kzLSlkkI4LuLbxqWm8GtnGG ncjjwq4wFV4cfvezLMNXAavMPsi3pVCFoWI6V1pFkbGaJkErz3d6zf5D1c2NZpYL J+rPH607QCb7VpmoDZDam3YffqYVubpo2OlbPhQO8lwONlcxXfSWXszRMEW4Ypxf a/PKHIZmFAh5+d1852uglFzAHjqLZLmpK0I8cE22EtcMos5qxB0GKjbWWA2X+wOa CW7vkzdfK9e5BkHkY2Nodv79O5vj03owoKT5wn5nTJb2wb0AzqkI3mjVX4AJtWnb NVfIIogkYmDfNi29Pa3mUR4HdILxEadQRMs+rD0BHgFQY9PWhghsIRfhdiFbhgtu cu6GEsdPVTtuyXvCnR2e+BCrQTv4dkRAXAE7HlJzHo1RbfpbReClz8ewHCppKgJu mPTPoYEhjUrghnBcdZPlvY6/0QugPFdFHyCvdFn3uoJC1xxPqMle3qvG/Mft5a62 gqKihpiZnG9nLin0oOcsaJbUcNTk8JXAUKsvhWxkhKVzstO4hF2q2Myxgh6QZrR/ m9+jH4Cfjh28FKGFEGQlHDG+uaeQ2pdc7g8dO5NE48jIUZzKDJG5xx6hHHptlPAs NeURjeHCweJPwhar34Om =Peoh -----END PGP SIGNATURE----- --=-=-=--