emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug? Can't abort org-remember buffer after mistyping my (t)emplate letter
@ 2009-05-04 13:13 Scot Becker
  2009-05-04 14:07 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Scot Becker @ 2009-05-04 13:13 UTC (permalink / raw)
  To: Org-mode ml

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")))

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug? Can't abort org-remember buffer after mistyping my (t)emplate letter
  2009-05-04 13:13 bug? Can't abort org-remember buffer after mistyping my (t)emplate letter Scot Becker
@ 2009-05-04 14:07 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-05-04 14:07 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-04 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-04 13:13 bug? Can't abort org-remember buffer after mistyping my (t)emplate letter Scot Becker
2009-05-04 14:07 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).