emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Lisp error: (wrong-type-argument stringp nil)
@ 2010-10-13 14:57 Sébastien Vauban
  2010-10-14 12:40 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Sébastien Vauban @ 2010-10-13 14:57 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

For some reasons, sometimes the agenda view works normally, sometimes not.
When not, I have the following error when moving (with arrow down) from line
to line:

#+begin_src emacs-lisp
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  set-buffer(nil)
  (if (markerp m) (set-buffer (marker-buffer m)))
  (save-excursion (if (markerp m) (set-buffer ...)) (save-excursion (goto-char ...) (org-display-outline-path t)))
  (org-with-point-at m (org-display-outline-path t))
  (if (and m org-agenda-show-outline-path) (org-with-point-at m (org-display-outline-path t)))
  (let ((m ...)) (if (and org-agenda-follow-mode m) (org-agenda-show)) (if (and m org-agenda-show-outline-path) (org-with-point-at m ...)))
  org-agenda-do-context-action()
  org-agenda-next-line()
  call-interactively(org-agenda-next-line nil nil)
#+end_src

I don't understand the cause of this, moreover as I have the linked file open
in my Emacs.

Of course, since I've just reinstalled my Emacs, Org, and so on, on a new
Windows setup, I have many small differences with before.

Someone would have an idea for this?

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Lisp error: (wrong-type-argument stringp nil)
  2010-10-13 14:57 Lisp error: (wrong-type-argument stringp nil) Sébastien Vauban
@ 2010-10-14 12:40 ` Carsten Dominik
  2010-10-14 13:06   ` Sébastien Vauban
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2010-10-14 12:40 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode

Hi Sebastian,

do you have agenda-follow-mode on?

Also, can you please hit the bug again in the debugger and then press

e m RET

and let me know what the debuffer reports?  This should retrieve the  
value of m.

One possible reason to get this bug is to kill the buffer one of one  
of the agenda files and then to revisit it.  The marker will then not  
be nil, but it will point nowhere....

Thanks.

- Carsten

On Oct 13, 2010, at 4:57 PM, Sébastien Vauban wrote:

> Hello,
>
> For some reasons, sometimes the agenda view works normally,  
> sometimes not.
> When not, I have the following error when moving (with arrow down)  
> from line
> to line:
>
> #+begin_src emacs-lisp
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>  set-buffer(nil)
>  (if (markerp m) (set-buffer (marker-buffer m)))
>  (save-excursion (if (markerp m) (set-buffer ...)) (save-excursion  
> (goto-char ...) (org-display-outline-path t)))
>  (org-with-point-at m (org-display-outline-path t))
>  (if (and m org-agenda-show-outline-path) (org-with-point-at m (org- 
> display-outline-path t)))
>  (let ((m ...)) (if (and org-agenda-follow-mode m) (org-agenda- 
> show)) (if (and m org-agenda-show-outline-path) (org-with-point-at  
> m ...)))
>  org-agenda-do-context-action()
>  org-agenda-next-line()
>  call-interactively(org-agenda-next-line nil nil)
> #+end_src
>
> I don't understand the cause of this, moreover as I have the linked  
> file open
> in my Emacs.
>
> Of course, since I've just reinstalled my Emacs, Org, and so on, on  
> a new
> Windows setup, I have many small differences with before.
>
> Someone would have an idea for this?
>
> Best regards,
>  Seb
>
> -- 
> Sébastien Vauban
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

* Re: Lisp error: (wrong-type-argument stringp nil)
  2010-10-14 12:40 ` Carsten Dominik
@ 2010-10-14 13:06   ` Sébastien Vauban
  2010-10-15  6:14     ` Carsten Dominik
  2010-10-15  6:48     ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Sébastien Vauban @ 2010-10-14 13:06 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Carsten Dominik,

Carsten Dominik wrote:
>> I don't understand the cause of this, moreover as I have the linked file
>> open in my Emacs.
>>
>> Of course, since I've just reinstalled my Emacs, Org, and so on, on a new
>> Windows setup, I have many small differences with before.
>>
>> Someone would have an idea for this?
>
> do you have agenda-follow-mode on?

Nope. I only use that once in a month, when checking clock times and
description of tasks.

Not enabled in yesterday's session.


> Also, can you please hit the bug again in the debugger and then press
>
> e m RET
>
> and let me know what the debuffer reports?  This should retrieve the value of
> m.
>
> One possible reason to get this bug is to kill the buffer one of one of the
> agenda files and then to revisit it.  The marker will then not  be nil, but it
> will point nowhere....

I killed one of the org-agenda-files, and moved the cursor on it.
I could reproduce the same problem as yesterday.

Entering debugger...

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  set-buffer(nil)
  (if (markerp m) (set-buffer (marker-buffer m)))
  (save-excursion (if (markerp m) (set-buffer ...)) (save-excursion (goto-char ...) (org-display-outline-path t)))
  (org-with-point-at m (org-display-outline-path t))
  (if (and m org-agenda-show-outline-path) (org-with-point-at m (org-display-outline-path t)))
  (let ((m ...)) (if (and org-agenda-follow-mode m) (org-agenda-show)) (if (and m org-agenda-show-outline-path) (org-with-point-at m ...)))
  org-agenda-do-context-action()
  org-agenda-next-line()
  call-interactively(org-agenda-next-line nil nil)
--8<---------------cut here---------------end--------------->8---

=e m RET= displays:

  #<marker in no buffer>

Though, here and now, pressing =g= resolves the problem. Agenda is refreshed,
with the missing file being reloaded, and I can once again move and click on
any line of the agenda.

Yesterday, there were 2 differences:

- =g= did not solve anything

- all the agenda lines were bugging...

Unluckily, I don't enough context now to be able to reproduce that exact same
problem as of yesterday. I said it only occurred a couple of times, over a
couple of days.

Thanks!

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Re: Lisp error: (wrong-type-argument stringp nil)
  2010-10-14 13:06   ` Sébastien Vauban
@ 2010-10-15  6:14     ` Carsten Dominik
  2010-10-15  6:48     ` Carsten Dominik
  1 sibling, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2010-10-15  6:14 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode

Hi Sebastian,

I do not know what is happening here.  Something.  But you do
seem to be the  only one having this problem, I have not heard
about it from anybody else.

Unfortunately I do not know how to guide you to
better tracing this error at this time.
If you can make me a reproducible case with a minimal
setup - I will take a look.

- Carsten

On Oct 14, 2010, at 3:06 PM, Sébastien Vauban wrote:

> Carsten Dominik,
>
> Carsten Dominik wrote:
>>> I don't understand the cause of this, moreover as I have the  
>>> linked file
>>> open in my Emacs.
>>>
>>> Of course, since I've just reinstalled my Emacs, Org, and so on,  
>>> on a new
>>> Windows setup, I have many small differences with before.
>>>
>>> Someone would have an idea for this?
>>
>> do you have agenda-follow-mode on?
>
> Nope. I only use that once in a month, when checking clock times and
> description of tasks.
>
> Not enabled in yesterday's session.
>
>
>> Also, can you please hit the bug again in the debugger and then press
>>
>> e m RET
>>
>> and let me know what the debuffer reports?  This should retrieve  
>> the value of
>> m.
>>
>> One possible reason to get this bug is to kill the buffer one of  
>> one of the
>> agenda files and then to revisit it.  The marker will then not  be  
>> nil, but it
>> will point nowhere....
>
> I killed one of the org-agenda-files, and moved the cursor on it.
> I could reproduce the same problem as yesterday.
>
> Entering debugger...
>
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>  set-buffer(nil)
>  (if (markerp m) (set-buffer (marker-buffer m)))
>  (save-excursion (if (markerp m) (set-buffer ...)) (save-excursion  
> (goto-char ...) (org-display-outline-path t)))
>  (org-with-point-at m (org-display-outline-path t))
>  (if (and m org-agenda-show-outline-path) (org-with-point-at m (org- 
> display-outline-path t)))
>  (let ((m ...)) (if (and org-agenda-follow-mode m) (org-agenda- 
> show)) (if (and m org-agenda-show-outline-path) (org-with-point-at  
> m ...)))
>  org-agenda-do-context-action()
>  org-agenda-next-line()
>  call-interactively(org-agenda-next-line nil nil)
> --8<---------------cut here---------------end--------------->8---
>
> =e m RET= displays:
>
>  #<marker in no buffer>
>
> Though, here and now, pressing =g= resolves the problem. Agenda is  
> refreshed,
> with the missing file being reloaded, and I can once again move and  
> click on
> any line of the agenda.
>
> Yesterday, there were 2 differences:
>
> - =g= did not solve anything
>
> - all the agenda lines were bugging...
>
> Unluckily, I don't enough context now to be able to reproduce that  
> exact same
> problem as of yesterday. I said it only occurred a couple of times,  
> over a
> couple of days.
>
> Thanks!
>
> Best regards,
>  Seb
>
> -- 
> Sébastien Vauban
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please 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] 5+ messages in thread

* Re: Re: Lisp error: (wrong-type-argument stringp nil)
  2010-10-14 13:06   ` Sébastien Vauban
  2010-10-15  6:14     ` Carsten Dominik
@ 2010-10-15  6:48     ` Carsten Dominik
  1 sibling, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2010-10-15  6:48 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode

Hi Sebastian,

I do not know what is happening here.  Something.  But you do
seem to be the  only one having this problem, I have not heard
about it from anybody else.

Unfortunately I do not know how to guide you to
better tracing this error at this time.
If you can make me a reproducible case with a minimal
setup - I will take a look.

- Carsten

On Oct 14, 2010, at 3:06 PM, Sébastien Vauban wrote:

> Carsten Dominik,
>
> Carsten Dominik wrote:
>>> I don't understand the cause of this, moreover as I have the  
>>> linked file
>>> open in my Emacs.
>>>
>>> Of course, since I've just reinstalled my Emacs, Org, and so on,  
>>> on a new
>>> Windows setup, I have many small differences with before.
>>>
>>> Someone would have an idea for this?
>>
>> do you have agenda-follow-mode on?
>
> Nope. I only use that once in a month, when checking clock times and
> description of tasks.
>
> Not enabled in yesterday's session.
>
>
>> Also, can you please hit the bug again in the debugger and then press
>>
>> e m RET
>>
>> and let me know what the debuffer reports?  This should retrieve  
>> the value of
>> m.
>>
>> One possible reason to get this bug is to kill the buffer one of  
>> one of the
>> agenda files and then to revisit it.  The marker will then not  be  
>> nil, but it
>> will point nowhere....
>
> I killed one of the org-agenda-files, and moved the cursor on it.
> I could reproduce the same problem as yesterday.
>
> Entering debugger...
>
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> set-buffer(nil)
> (if (markerp m) (set-buffer (marker-buffer m)))
> (save-excursion (if (markerp m) (set-buffer ...)) (save-excursion  
> (goto-char ...) (org-display-outline-path t)))
> (org-with-point-at m (org-display-outline-path t))
> (if (and m org-agenda-show-outline-path) (org-with-point-at m (org- 
> display-outline-path t)))
> (let ((m ...)) (if (and org-agenda-follow-mode m) (org-agenda-show))  
> (if (and m org-agenda-show-outline-path) (org-with-point-at m ...)))
> org-agenda-do-context-action()
> org-agenda-next-line()
> call-interactively(org-agenda-next-line nil nil)
> --8<---------------cut here---------------end--------------->8---
>
> =e m RET= displays:
>
> #<marker in no buffer>
>
> Though, here and now, pressing =g= resolves the problem. Agenda is  
> refreshed,
> with the missing file being reloaded, and I can once again move and  
> click on
> any line of the agenda.
>
> Yesterday, there were 2 differences:
>
> - =g= did not solve anything
>
> - all the agenda lines were bugging...
>
> Unluckily, I don't enough context now to be able to reproduce that  
> exact same
> problem as of yesterday. I said it only occurred a couple of times,  
> over a
> couple of days.
>
> Thanks!
>
> Best regards,
> Seb
>
> -- 
> Sébastien Vauban
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please 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] 5+ messages in thread

end of thread, other threads:[~2010-10-15  6:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 14:57 Lisp error: (wrong-type-argument stringp nil) Sébastien Vauban
2010-10-14 12:40 ` Carsten Dominik
2010-10-14 13:06   ` Sébastien Vauban
2010-10-15  6:14     ` Carsten Dominik
2010-10-15  6:48     ` Carsten Dominik

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).