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



_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to