emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Scot Becker <scot.becker@gmail.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: bug? Can't abort org-remember buffer after mistyping my (t)emplate letter
Date: Mon, 4 May 2009 16:07:33 +0200	[thread overview]
Message-ID: <716F19BA-647D-4C0A-A361-5947EB9BAC59@gmail.com> (raw)
In-Reply-To: <e0e1fe620905040613l25c9c5b0rb54d3e57b8b4c171@mail.gmail.com>

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

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=716F19BA-647D-4C0A-A361-5947EB9BAC59@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=scot.becker@gmail.com \
    /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).