emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG?: Are TAGs case sensitive? ('org-agenda-show-tags')
@ 2021-04-12 19:12 David Masterson
  2021-04-16  6:12 ` David Masterson
  2021-04-27  7:44 ` Bastien
  0 siblings, 2 replies; 4+ messages in thread
From: David Masterson @ 2021-04-12 19:12 UTC (permalink / raw)
  To: emacs-orgmode

I have been using upper-case TAGs and just noticed that
'org-agenda-show-tags' is reporting them in lower-case which is not
right since I have another TAG that is the lower-case version of the
upper-case TAG (sort of a visual importance indicator).
-- 
David Masterson


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BUG?: Are TAGs case sensitive? ('org-agenda-show-tags')
  2021-04-12 19:12 BUG?: Are TAGs case sensitive? ('org-agenda-show-tags') David Masterson
@ 2021-04-16  6:12 ` David Masterson
  2021-04-16  7:49   ` Ihor Radchenko
  2021-04-27  7:44 ` Bastien
  1 sibling, 1 reply; 4+ messages in thread
From: David Masterson @ 2021-04-16  6:12 UTC (permalink / raw)
  To: emacs-orgmode

David Masterson <dsmasterson92630@outlook.com> writes:

> I have been using upper-case TAGs and just noticed that
> 'org-agenda-show-tags' is reporting them in lower-case which is not
> right since I have another TAG that is the lower-case version of the
> upper-case TAG (sort of a visual importance indicator).

In case my wording wasn't good, I meant:

1. I have upper case tags attached to several task headers,
2. 'org-agenda-show-tags' reports them as lower case tags.
3. I have unused tags in 'org-tag-alist' that are the lower case forms
of the upper case tags (as well as the upper case ones)

Is it a bug that 'org-agenda-show-tags' does this?

-- 
David Masterson


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BUG?: Are TAGs case sensitive? ('org-agenda-show-tags')
  2021-04-16  6:12 ` David Masterson
@ 2021-04-16  7:49   ` Ihor Radchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2021-04-16  7:49 UTC (permalink / raw)
  To: David Masterson, emacs-orgmode

> Is it a bug that 'org-agenda-show-tags' does this?

It is a bug. Agenda is downcasing all the tags. Also, see
https://orgmode.org/list/87k0rftf8t.fsf@localhost/

Someone needs to study the agenda code to understand the need of
downcasing and how to remove it safely. Patches are welcome.

Best,
Ihor

David Masterson <dsmasterson92630@outlook.com> writes:

> David Masterson <dsmasterson92630@outlook.com> writes:
>
>> I have been using upper-case TAGs and just noticed that
>> 'org-agenda-show-tags' is reporting them in lower-case which is not
>> right since I have another TAG that is the lower-case version of the
>> upper-case TAG (sort of a visual importance indicator).
>
> In case my wording wasn't good, I meant:
>
> 1. I have upper case tags attached to several task headers,
> 2. 'org-agenda-show-tags' reports them as lower case tags.
> 3. I have unused tags in 'org-tag-alist' that are the lower case forms
> of the upper case tags (as well as the upper case ones)
>
> Is it a bug that 'org-agenda-show-tags' does this?
>
> -- 
> David Masterson


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BUG?: Are TAGs case sensitive? ('org-agenda-show-tags')
  2021-04-12 19:12 BUG?: Are TAGs case sensitive? ('org-agenda-show-tags') David Masterson
  2021-04-16  6:12 ` David Masterson
@ 2021-04-27  7:44 ` Bastien
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2021-04-27  7:44 UTC (permalink / raw)
  To: David Masterson; +Cc: emacs-orgmode

Hi David,

David Masterson <dsmasterson92630@outlook.com> writes:

> I have been using upper-case TAGs and just noticed that
> 'org-agenda-show-tags' is reporting them in lower-case which is not
> right since I have another TAG that is the lower-case version of the
> upper-case TAG (sort of a visual importance indicator).

Thanks for reporting this bug.  I've pushed a fix to the maint branch
with commit 13a1a4fb9.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-27  7:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 19:12 BUG?: Are TAGs case sensitive? ('org-agenda-show-tags') David Masterson
2021-04-16  6:12 ` David Masterson
2021-04-16  7:49   ` Ihor Radchenko
2021-04-27  7:44 ` Bastien

Code repositories for project(s) associated with this 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 NNTP newsgroup(s).