From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Georg C. F. Greve" Subject: Re: Using org-remember to include stored link? Date: Sun, 14 Oct 2007 14:05:05 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1248937349==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ih2Dz-00026g-S2 for emacs-orgmode@gnu.org; Sun, 14 Oct 2007 08:05:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ih2Dy-00025F-En for emacs-orgmode@gnu.org; Sun, 14 Oct 2007 08:05:39 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ih2Dy-00025A-BK for emacs-orgmode@gnu.org; Sun, 14 Oct 2007 08:05:38 -0400 Received: from gadolin.fsfeurope.org ([195.176.254.152]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ih2Du-0008C5-Ar for emacs-orgmode@gnu.org; Sun, 14 Oct 2007 08:05:37 -0400 In-Reply-To: (Carsten Dominik's message of "Sun, 14 Oct 2007 08:14:10 +0200") 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: Carsten Dominik Cc: emacs-orgmode@gnu.org --===============1248937349== Content-Type: multipart/signed; boundary="20071014140505+0200-186835602-17122786452907937"; micalg=pgp-sha1; protocol="application/pgp-signature" --20071014140505+0200-186835602-17122786452907937 Content-Transfer-Encoding: quoted-printable On Sun, 14 Oct 2007 08:14:10 +0200 Carsten Dominik wrote:=20 >> is it possible to call org-remember to insert a previously stored >> link? cd> The remember buffer is in org-mode, you can just call C-c C-l to cd> insert any previously stored link... True. Although that means I would need to delete the link that is inserted by the template, and then insert the one I want. I'd prefer this to happen with fewer keystrokes. If I could call org-mode with a customized template to insert the stored link without being prompted for the other templates, that would be great. Ideally for what I have in mind the templates would not be defined per file. That dependency really is not useful in my case. Allow me to explain. I insert three different kinds of items into my org files: * NEXT actions for things that should be done * QUEUE items for things that should be done in the future, but depend on completion of another NEXT action to become NEXT actions. * WAITING items where I wait for input / response from others. Much of this is linking to emails, of course. So the normal insertion is a NEXT action with link to an email, or a thread of emails. But sometimes they will be QUEUE items. For some mails I send, I want to insert WAITING items. So I would like to be able to define three templates: "NEXT" "QUEUE" "WAITING" that could be inserted into either file, for which I would like to be prompted. So org-remember-templates would ideally be a list of templates only, identified by template names, and a second variable org-remember-files would specify the files with their prompts and their default template, as well as the default place (heading) to store the item. Then it would be possible to call org-remember without arguments with the same behaviour as today, but it would be possible to specify different templates as arguments, overriding the default to make sure that when it gets called from special places or in a special way, it does not have to use the default template only. In combination with something that inserts the last stored link into the template automatically, I could then have the fastest way of turning outgoing mail into WAITING items in the correct file. See http://www.emacswiki.org/cgi-bin/wiki/org-mairix.el function org-mairix-message-send-and-exit-with-link that sends a message and stores a org-mairix link in the process. Regards, Georg =2D-=20 Georg C. F. Greve Free Software Foundation Europe (http://fsfeurope.org) Join the Fellowship and protect your freedom! (http://www.fsfe.org) What everyone should know about DRM (http://DRM.info) --20071014140505+0200-186835602-17122786452907937 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQCVAwUBRxIF8Sk9sUy32wQcAQKkZAP/TjkjOa+1ThgAbH6ypeS3GjpT9vkNSAA0 VLethN5WSozbbaeg6IjwzYldwvFgm2BntBSxNfrKWGS8Pj2aOaQM7luZDzpB5RRV jjmGCf2IhKe2BL1ASZrcqW/k+R9QrBsSbKwqVkyrCfDqDnKyG72Ckts13KruwFA+ RaDg0ApZtqc= =rER4 -----END PGP SIGNATURE----- --20071014140505+0200-186835602-17122786452907937-- --===============1248937349== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1248937349==--