all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* BUG-Remember buffer and switching templates
@ 2008-03-26 19:38 Bernt Hansen
  2008-03-26 19:43 ` Bernt Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2008-03-26 19:38 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BUG-Remember buffer and switching templates
  2008-03-26 19:38 BUG-Remember buffer and switching templates Bernt Hansen
@ 2008-03-26 19:43 ` Bernt Hansen
  2008-03-28 13:11   ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2008-03-26 19:43 UTC (permalink / raw)
  To: emacs-orgmode

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-upda
 te-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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: BUG-Remember buffer and switching templates
  2008-03-26 19:43 ` Bernt Hansen
@ 2008-03-28 13:11   ` Carsten Dominik
  2008-03-28 13:22     ` Bernt Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2008-03-28 13:11 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: BUG-Remember buffer and switching templates
  2008-03-28 13:11   ` Carsten Dominik
@ 2008-03-28 13:22     ` Bernt Hansen
  0 siblings, 0 replies; 4+ messages in thread
From: Bernt Hansen @ 2008-03-28 13:22 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

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 <dominik@science.uva.nl> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-28 13:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 19:38 BUG-Remember buffer and switching templates Bernt Hansen
2008-03-26 19:43 ` Bernt Hansen
2008-03-28 13:11   ` Carsten Dominik
2008-03-28 13:22     ` Bernt Hansen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.