From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Bug (?) in org-capture Date: Thu, 14 Oct 2010 09:40:29 -0500 Message-ID: <4CB7165D.9010306@sift.info> Reply-To: rpgoldman@sift.info Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=54729 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6PBm-0004Ia-8i for emacs-orgmode@gnu.org; Thu, 14 Oct 2010 10:53:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6Oyu-0007GH-A5 for emacs-orgmode@gnu.org; Thu, 14 Oct 2010 10:40:33 -0400 Received: from mpls.sift.info ([75.146.46.193]:36226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6Oyu-0007Fv-6g for emacs-orgmode@gnu.org; Thu, 14 Oct 2010 10:40:32 -0400 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: Org Mode I was trying to experiment for the first time using org-capture together with w3m today, and I get an error. I invoke org-capture, and was pleased to find that it built me a buffer just fine, and made an org link for the URL of the w3m buffer. So far, so good. Unfortunately, when I try to save the buffer, either with C-c C-c or C-c C-w, I get an error. The error is in org-capture-bookmark-last-stored-position. Here: (defun org-capture-bookmark-last-stored-position () "Bookmark the last-captured position." (let* ((where (org-capture-get :position-for-last-stored 'local)) ....) WHERE gets bound to NIL, the return of ORG-CAPTURE-GET, causing an error. I'm quite prepared to believe that I have this horribly misconfigured, since I really didn't configure it at all, but it's disappointing that the buffer creation works so well without configuration, but leaves me in this pickle. It's also disappointing that the refile command doesn't work --- any chance of hacking it so that it does something sensible (I was thinking involving interactive selection) when org-capture is not yet configured? AFAICT the direct cause of the error is that org-capture-current-plist is NIL, and the 'local spec in this call means that we consult that instead of org-capture-plist. At this point my ability to understand the code peters out, and I'm afraid I don't have anything useful to say. best, r