From: Samuel Wales <email@example.com>
To: Bastien <firstname.lastname@example.org>
Cc: Matt Lundin <email@example.com>, firstname.lastname@example.org
Subject: Re: [BUG] org-agenda-filter and hyphens in category names
Date: Fri, 4 Sep 2020 14:00:57 -0700 [thread overview]
Message-ID: <CAJcAo8vYfPwcC0Ji0aBbhiio9yODrHbPUBgiG0v-GHVNDHK3ZQ@mail.gmail.com> (raw)
i was unaware of this feature, bound to / in maint, so i tried it in
maint before the fix and got a different result.
all of my categories have hyphens, and many of my files. i suspect on
linux, osx, bsd*, etc., hyphenated filenames are common.
my categories look like e-remember, e-refile, e-jinsei, o-bastien
[just kidding], o-matt-lundin [ditto], etc. this allows me to have
broad meta-categories like computer, org, extra, medical.
so i tried it with e-, and it completed to e-refile without providing
any choice. this is just incorrect. i really like hyphens so i hope
they become first-class if possible.
On 9/4/20, Bastien <email@example.com> wrote:
> Hi Matt,
>> I'm just getting around to exploring the function org-agenda-filter
>> introduced last year. (Due to busyness, I was running an older version
>> of Org Mode last year for fear of breaking features I relied on.)
>> I like the tab completion. However, I'm finding that the completion for
>> categories often fails because of hyphens in my file and category names.
> Thanks for reporting this. I pushed a fix in the maint branch which
> allows for such category names to be enclosed within double quotes
> when the user wants to complete them -- the quotes helps not being
> confused by the hyphen when reading the complete filter string, which
> might contain other syntacticly meaningful hyphens.
> I haven't fixed the case for filetags but shouldn't filetags follow
> the same convention than mere tags of not allowing "-" ?
> Let me know if I (or the documentation) miss something and if the
> fix is good enough for you.
The Kafka Pandemic
Please learn what misopathy is.
next prev parent reply other threads:[~2020-09-04 21:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-05 20:00 [BUG] org-agenda-filter and hyphens in category names Matt Lundin
2020-09-04 17:21 ` Bastien
2020-09-04 21:00 ` Samuel Wales [this message]
2020-09-05 15:10 ` Bastien
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).