From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stuart McLean Subject: Re: sparse-tree in indirect buffer Date: Fri, 26 Oct 2007 06:49:33 -0700 Message-ID: <877ila7zpu.fsf@makhector.hypnokush.org> References: <87bqarthlx.fsf@makhector.hypnokush.org> <87ejfm3im8.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlPZI-0000ME-IX for emacs-orgmode@gnu.org; Fri, 26 Oct 2007 09:49:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlPZG-0000KA-LQ for emacs-orgmode@gnu.org; Fri, 26 Oct 2007 09:49:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlPZG-0000Jx-GR for emacs-orgmode@gnu.org; Fri, 26 Oct 2007 09:49:42 -0400 Received: from wa-out-1112.google.com ([209.85.146.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IlPZG-0006Ua-3k for emacs-orgmode@gnu.org; Fri, 26 Oct 2007 09:49:42 -0400 Received: by wa-out-1112.google.com with SMTP id k34so1043001wah for ; Fri, 26 Oct 2007 06:49:40 -0700 (PDT) In-Reply-To: <87ejfm3im8.fsf@bzg.ath.cx> (Bastien's message of "Mon\, 22 Oct 2007 23\:11\:11 +0100") 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 > Now, _from the indirect buffer_ I want a sparse tree as follows `C-c > /' (org-sparse-tree) and at the prompt I type `p', enter the property > name "CATEGORY" with the value "work" > > The message in the echo area is Wrong type argument: stringp, nil >> It's because the indirect buffer doesn't have a `buffer-file-name'. >> >> This small patch against latest Org 5.13d should fix it: >> >> [2. text/x-diff; org.el.patch] >> >> diff -u /home/guerry/elisp/testing/org/org.el /home/guerry/elisp/testing/bzg/org.el >> --- /home/guerry/elisp/testing/org/org.el 2007-10-22 15:04:16.000000000 +0100 >> +++ /home/guerry/elisp/testing/bzg/org.el 2007-10-22 23:06:42.000000000 +0100 Thanks, Bastien. I didn't have time to apply the patch before 5.13e was out, and it what I wanted works in that version. Thanks very much for your speedy reply. Just a note, I for one love the fact that this group is so active and that the traffic is high. Just an indication of the life in the group! Stuart