From mboxrd@z Thu Jan 1 00:00:00 1970 From: jemarch@gnu.org Subject: Re: Bug with org-remember integration Date: Wed, 29 Aug 2007 12:05:31 +0200 Message-ID: <87zm0awt90.wl%jemarch@gnu.org> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQKP7-000188-Rv for emacs-orgmode@gnu.org; Wed, 29 Aug 2007 06:04:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQKP6-00017n-74 for emacs-orgmode@gnu.org; Wed, 29 Aug 2007 06:04:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQKP6-00017k-4P for emacs-orgmode@gnu.org; Wed, 29 Aug 2007 06:04:04 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thomas Baumann Cc: emacs-orgmode@gnu.org 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'.