From mboxrd@z Thu Jan 1 00:00:00 1970 From: Puneeth Chaganti Subject: [bug] Org-capture bug due to recent dired-buffers related feature Date: Tue, 19 Jul 2011 19:38:59 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjAys-0004Cz-BI for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 10:09:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjAyq-00015v-Oo for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 10:09:01 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:43478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjAyq-00015r-CE for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 10:09:00 -0400 Received: by gxk23 with SMTP id 23so2005035gxk.0 for ; Tue, 19 Jul 2011 07:08:59 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode , Nicolas Goaziou Hi Nicolas, The recent commit that adds a dired-buffer related feature, breaks org-capture when dired-mode has not been loaded. The dired-buffers variable becomes available only when dired-mode has been loaded atleast once. Thanks, Puneeth Git bisect output, just for reference. 819fbec64160c3c33884b116734c01f56be7606b is the first bad commit commit 819fbec64160c3c33884b116734c01f56be7606b Author: Nicolas Goaziou Date: Mon Jul 18 17:42:01 2011 +0200 org-capture: %F is directory when capture starts in a dired buffer * lisp/org-capture.el (org-capture): if no file is associated to current buffer, check dired buffer and try to retreive a possibly directory associated. :040000 040000 2ae961f6f609dbc28aa8e727df5a04465991645d 02aef5b5063d0642d4b260b7567a1e135bf73a14 M lisp