emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stuart McLean <makhector@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: sparse-tree in indirect buffer
Date: Fri, 26 Oct 2007 06:49:33 -0700	[thread overview]
Message-ID: <877ila7zpu.fsf@makhector.hypnokush.org> (raw)
In-Reply-To: <87ejfm3im8.fsf@bzg.ath.cx> (Bastien's message of "Mon\, 22 Oct 2007 23\:11\:11 +0100")



> 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

      reply	other threads:[~2007-10-26 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-22 13:16 sparse-tree in indirect buffer Stuart McLean
2007-10-22 22:11 ` Bastien
2007-10-26 13:49   ` Stuart McLean [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ila7zpu.fsf@makhector.hypnokush.org \
    --to=makhector@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).