From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Bug with org-remember integration Date: Wed, 29 Aug 2007 14:00:49 -0400 Message-ID: <87642yusoe.fsf@gollum.intra.norang.ca> References: <87zm0awt90.wl%jemarch@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQRr3-000224-0v for emacs-orgmode@gnu.org; Wed, 29 Aug 2007 14:01:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQRr1-000218-Ew for emacs-orgmode@gnu.org; Wed, 29 Aug 2007 14:01:24 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQRr1-00020x-BN for emacs-orgmode@gnu.org; Wed, 29 Aug 2007 14:01:23 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IQRr0-00070i-MW for emacs-orgmode@gnu.org; Wed, 29 Aug 2007 14:01:22 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IQRql-0006fp-PB for emacs-orgmode@gnu.org; Wed, 29 Aug 2007 20:01:07 +0200 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([74.119.210.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Aug 2007 20:01:07 +0200 Received: from bernt by cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Aug 2007 20:01:07 +0200 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: emacs-orgmode@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