From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Re: BUG-Remember buffer and switching templates Date: Fri, 28 Mar 2008 09:22:42 -0400 Message-ID: <87skybnftp.fsf@gollum.intra.norang.ca> References: <87y785i8c6.fsf@gollum.intra.norang.ca> <87fxudgtko.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 1JfEXh-000301-JE for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 09:22:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JfEXh-0002zj-1m for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 09:22:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfEXg-0002zg-Qr for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 09:22:48 -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 1JfEXg-0001Rt-Kr for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 09:22:48 -0400 In-Reply-To: (Carsten Dominik's message of "Fri\, 28 Mar 2008 14\:11\:00 +0100") 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: emacs-orgmode@gnu.org I was using C-M-r which is bound to org-remember. But with the latest master it doesn't produce this error anymore for me. -Bernt Carsten Dominik writes: > I can reproduce this bug if I call `remember' in the remember buffer, > but not if I call `org-remember'. Which one are you using? Switching > templates should use `org-remember'. > > - Carsten > > On Mar 26, 2008, at 8:43 PM, Bernt Hansen wrote: > >> Here's a better debug backtrace from the uncompiled org.el file >> >> 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 328) >> remember-finalize() >> org-remember-finalize() >> funcall(org-remember-finalize) >> (cond ((or org-clock-overlays org-occur-highlights org-latex- >> fragment-image-overlays) (org-remove-clock-overlays) (org-remove- >> occur-highlights) (org-remove-latex-fragment-image-overlays) >> (message "Temporary highlights/overlays removed from current >> buffer")) ((and ... ...) (funcall org-finish-function)) ((org-at- >> property-p) (call-interactively ...)) ((org-on-target-p) (call- >> interactively ...)) ((org-on-heading-p) (call-interactively ...)) >> ((org-at-table\.el-p) (require ...) (beginning-of-line 1) >> (re-search- >> forward "|" ...) (call-interactively ...)) ((org-at-table-p) (org- >> table-maybe-eval-formula) (if arg ... ...) (call-interactively ...)) >> ((org-at-item-checkbox-p) (call-interactively ...)) ((org-at-item-p) >> (call-interactively ...)) ((save-excursion ... ...) (beginning-of- >> line 1) (org-update-dblock)) ((save-excursion ... ...) (cond >> ... ...)) (t (error "C-c C-c can do nothing useful at this >> location."))) >> (let ((org-enable-table-editor t)) (cond (... ... ... ... ...) >> (... ...) (... ...) (... ...) (... ...) (... ... ... ... ...) >> (... ... ... ...) (... ...) (... ...) (... ... ...) (... ...) (t >> ...))) >> org-ctrl-c-ctrl-c(nil) >> call-interactively(org-ctrl-c-ctrl-c) >> >> -Bernt >> >> >> >> _______________________________________________ >> 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