emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <carsten@orgmode.org>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: BUG-Remember buffer and switching templates
Date: Wed, 26 Mar 2008 15:38:49 -0400	[thread overview]
Message-ID: <87y785i8c6.fsf@gollum.intra.norang.ca> (raw)

Hi Carsten,

I ran into this today.  I was creating a new task via remember and I hit
the wrong key for selecting the template.

The prompt in the buffer says

    ## To switch templates, use `C-M-r'.  To abort use `C-c C-k'.

so I hit C-M-r and entered the correct template key (after entering
something for the task name)

and then C-c C-c gives me this:

Debugger entered--Lisp error: (error "Marker does not point anywhere")
  jump-to-register(82)
  (progn (kill-buffer (current-buffer)) (jump-to-register remember-register))
  (if (equal remember-buffer (buffer-name)) (progn (kill-buffer ...) (jump-to-register remember-register)))
  (when (equal remember-buffer (buffer-name)) (kill-buffer (current-buffer)) (jump-to-register remember-register))
  remember-destroy()
  (save-restriction (narrow-to-region b e) (if remember-all-handler-functions (run-hooks ...) (run-hook-with-args-until-success ...)) (remember-destroy))
  (let ((b ...) (e ...)) (save-restriction (narrow-to-region b e) (if remember-all-handler-functions ... ...) (remember-destroy)))
  remember-region(1 334)
  remember-finalize()
  org-remember-finalize()
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c)

Switching templates also overwrites anything already entered for the
task (I'm not sure if that's normal or not)

If you can't reproduce this easily I'll set up a minimal emacs set up
that illustrates what I'm seeing.

I'm running from the start-splitting-org.el branch at commit
b27cd3556db5692b82952d5df57d94a5122bc63d

Thanks,
Bernt

             reply	other threads:[~2008-03-26 19:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 19:38 Bernt Hansen [this message]
2008-03-26 19:43 ` BUG-Remember buffer and switching templates Bernt Hansen
2008-03-28 13:11   ` Carsten Dominik
2008-03-28 13:22     ` Bernt Hansen

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=87y785i8c6.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=carsten@orgmode.org \
    --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).