From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: bug? Can't abort org-remember buffer after mistyping my (t)emplate letter Date: Mon, 4 May 2009 16:07:33 +0200 Message-ID: <716F19BA-647D-4C0A-A361-5947EB9BAC59@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0ypY-0007A9-Ub for emacs-orgmode@gnu.org; Mon, 04 May 2009 10:07:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0ypU-00079P-Or for emacs-orgmode@gnu.org; Mon, 04 May 2009 10:07:40 -0400 Received: from [199.232.76.173] (port=56788 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0ypU-00079M-Lp for emacs-orgmode@gnu.org; Mon, 04 May 2009 10:07:36 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:60031) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M0ypU-00059d-89 for emacs-orgmode@gnu.org; Mon, 04 May 2009 10:07:36 -0400 Received: by ewy6 with SMTP id 6so4075291ewy.42 for ; Mon, 04 May 2009 07:07:35 -0700 (PDT) In-Reply-To: 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: Scot Becker Cc: Org-mode ml Hi Scot, I have now fixed this by forcing you to type a valid template character, or to exit with C-g. - Carsten On May 4, 2009, at 3:13 PM, Scot Becker wrote: > I have org-remember working successfully (I can't believe that it took > me so long to experiment with it. It has made a huge difference in my > work). > > But if, after calling the extension with C-c r, I type a "wrong" tag > selector (e.g. I mistype a right one), I get > (1) the error message 'no template' (good) > (2) a remember buffer without a bullet point, with the point at the > very top of the file (sure, what do I expect?) > (3) but, having realized my mistake, I can't get out of it gracefully. > I can't abort (C-c C-k), and can't (C-c C-c). > I get the error message "Args out of range 0, 1" > > Any idea whether I've set something up wrong or if org just has no > mercy on those who can't manage to type one of the selected values? > Otherwise, org-remember works well. > > Scot > > I'm running org 2.26 trans on Emacs 23.0.91.1. Using the following > org-remember values: > > > ;;;; org-mode and remember > (org-remember-insinuate) > (setq org-directory "~/org") > (setq org-default-notes-file (concat org-directory "/notes.org")) > (define-key global-map "\C-cr" 'org-remember) > > (setq org-remember-templates > '(("Todo" ?d "* TODO %?\n %i\n %a" "~/org/TODO.org" "Tasks") > ("Journal" ?j "* %U %?\n\n %i\n %a" "~/wr/personal-org/ > tag.org") > ("Idea" ?i "* %^{Title}\n %i\n %a" "~/org/Ideas.org" "New > Ideas") > ("Homo Faber" ?f "* %^{Title}\n %i\n %a" "~/org/TODO.org" > "Tooling") > ("Thesis Idea" ?t "* %^{Title}\n %i\n %a" > "~/org/Thesis-Ideas.org" "Thesis Ideas") > ("Bug" ?b "* BUG %?\n %i\n %a" "~/org/BUGS.org" "Bugs"))) > > > _______________________________________________ > 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