emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scot Becker <scot.becker@gmail.com>
To: Org-mode ml <emacs-orgmode@gnu.org>
Subject: bug? Can't abort org-remember buffer after mistyping my (t)emplate letter
Date: Mon, 4 May 2009 14:13:29 +0100	[thread overview]
Message-ID: <e0e1fe620905040613l25c9c5b0rb54d3e57b8b4c171@mail.gmail.com> (raw)

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

             reply	other threads:[~2009-05-04 13:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-04 13:13 Scot Becker [this message]
2009-05-04 14:07 ` bug? Can't abort org-remember buffer after mistyping my (t)emplate letter Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0e1fe620905040613l25c9c5b0rb54d3e57b8b4c171@mail.gmail.com \
    --to=scot.becker@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).