emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Heinrich <christian@gladbachcity.de>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Possible bug in subtree matching with empty title + tags
Date: Sat, 02 May 2020 14:49:35 +0200	[thread overview]
Message-ID: <03f1df447c14a414a4eb143b7055fed3f6afb234.camel@gladbachcity.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

Hi,

I'm often using empty header titles that only contain tags, such as

> **    :foo:

In my case, this is sufficient (for instance for flashcards, where I never have to actually have to
use the agenda etc.). However, since Nicolas's refactoring in
be31a0c4595a6d68b03b5cfbcbcdbf2cd76d2b7f empty titles seem to be prohibited. In the above example,
using subtrees (C-/ m) on the "foo" tag will return nothing, even though the tag is in the file. Is
this a deliberate change? I didn't see a note in the manual saying that headings must not be empty
(this might be useful then).

Thanks for your help guys!

Cheers
Christian

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2020-05-02 12:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02 12:49 Christian Heinrich [this message]
2020-05-02 13:23 ` Possible bug in subtree matching with empty title + tags Nicolas Goaziou

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=03f1df447c14a414a4eb143b7055fed3f6afb234.camel@gladbachcity.de \
    --to=christian@gladbachcity.de \
    --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).