emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Lisp error: (wrong-type-argument stringp nil)
Date: Thu, 14 Oct 2010 15:06:57 +0200	[thread overview]
Message-ID: <80vd54ly8e.fsf@mundaneum.com> (raw)
In-Reply-To: AFDAB6E4-A887-4C56-AB32-1613E3A84354@gmail.com

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

  reply	other threads:[~2010-10-14 13:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2010-10-15  6:14     ` Carsten Dominik
2010-10-15  6:48     ` Carsten Dominik

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=80vd54ly8e.fsf@mundaneum.com \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).