From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-mode create TODO from anywhere Date: Thu, 27 Sep 2007 16:15:16 +0200 Message-ID: <87myv8jitn.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iawhk-0002Hc-9u for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 12:59:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iawhi-0002GX-Ar for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 12:59:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iawhi-0002GO-4w for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 12:59:10 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iawhh-00008Z-Mg for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 12:59:09 -0400 Received: by ug-out-1314.google.com with SMTP id m4so1571643uge for ; Thu, 27 Sep 2007 09:59:08 -0700 (PDT) In-Reply-To: (RIchard's message of "Thu, 27 Sep 2007 11:22:24 +0000 (UTC)") 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: emacs-orgmode@gnu.org RIchard writes: > I also posted this to the mailing list - I hope this isn't a > duplicate? (No duplicate here.) > Is there a function create a TODO item from any file - at the moment I > call "remember" which has the necessary hooks into org mode, but > remember and org-remember all insist on making a link. What is the value of `org-remember-templates'? If the template doesn't contain any "%a" or "%A" string, then it won't insert a link to the buffer you're calling `org-remember' from. Try this for example: (setq org-remember-templates '((?n "* TODO %?\n %i\n"))) > This doesn't work from a temprorary or non-linkable buffer. I'm sure > there is a function to bind to a global key to create a non linked > "task" but I can't see it. Works nice here: even with "%a" or "%A" in my template, if the buffer is non-linkable, then the link will just be ignored. -- Bastien