From: Bastien <bzg@gnu.org>
To: Matt Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-agenda-filter and hyphens in category names
Date: Fri, 04 Sep 2020 19:21:00 +0200 [thread overview]
Message-ID: <87v9gtfog3.fsf@gnu.org> (raw)
In-Reply-To: <87d06ds46s.fsf@fastmail.fm> (Matt Lundin's message of "Fri, 05 Jun 2020 15:00:51 -0500")
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.
Thanks,
--
Bastien
next prev parent reply other threads:[~2020-09-04 17:21 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 [this message]
2020-09-04 21:00 ` Samuel Wales
2020-09-05 15:10 ` Bastien
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=87v9gtfog3.fsf@gnu.org \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.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).