From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: BUG-Remember buffer and switching templates Date: Wed, 26 Mar 2008 15:38:49 -0400 Message-ID: <87y785i8c6.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JebSd-00086r-QG for emacs-orgmode@gnu.org; Wed, 26 Mar 2008 15:38:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JebSa-00085o-9V for emacs-orgmode@gnu.org; Wed, 26 Mar 2008 15:38:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JebSa-00085l-48 for emacs-orgmode@gnu.org; Wed, 26 Mar 2008 15:38:56 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JebSZ-000651-MU for emacs-orgmode@gnu.org; Wed, 26 Mar 2008 15:38:55 -0400 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: Carsten Dominik Cc: Org Mode Mailing List 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