emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@alumni.uwaterloo.ca>
To: emacs-orgmode@gnu.org
Subject: Re: Bug with org-remember integration
Date: Wed, 29 Aug 2007 14:00:49 -0400	[thread overview]
Message-ID: <87642yusoe.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: 87zm0awt90.wl%jemarch@gnu.org

jemarch@gnu.org writes:

>    emacs 23 from cvs
>    org version 5.06e
>    remember settings as described by John Wiegleys very nice article
>
>    When I try to add a note or todo with
>
>    M-x remember (C-M-r)
>
>    and I have not yet visited any org buffer
>
>    I get the following error:
>
>    Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>      string-match("\\S-" nil)
>
> The error is launched when invoking the `org-remember-annotation' hook
> while staying in a buffer not associated with a file.
>
>     (if (and (interactive-p) link)
> 	(progn
> 	  (setq org-stored-links
> 		(cons (list cpltxt link desc) org-stored-links))
> 	  (message "Stored: %s" (or cpltxt link)))
>       (org-make-link-string link desc))))
>
> In that case, `org-make-link-string' is called with nil values for
> both `link' and `desc'.

I also get this

   "if: Wrong type argument: stringp, nil"

when using C-M-r in a non-file buffer (typically the agenda)

GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-07-07 on raven, modified by Debian
Org-mode version 5.06


Bernt

  reply	other threads:[~2007-08-29 18:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m38x7ubzki.fsf@mafu.ws.chemie.tu-muenchen.de>
2007-08-29 10:05 ` Bug with org-remember integration jemarch
2007-08-29 18:00   ` Bernt Hansen [this message]
2007-08-29 19:04     ` Sven Bretfeld
2007-08-30  6:42 ` 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=87642yusoe.fsf@gollum.intra.norang.ca \
    --to=bernt@alumni.uwaterloo.ca \
    --cc=emacs-orgmode@gnu.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).