org-mode/testing/lisp
Kyle Meyer 6676a97d27 org-tags-expand: Fix handling of downcased group tags
* lisp/org.el (org-tags-expand): Support using an upper- or mix-case
tag as MATCH when SINGLE-AS-LIST and DOWNCASED are non-nil, fixing a
regression from v9.2.
* testing/lisp/test-org.el (test-org/tags-expand): Add test.

org-agenda-filter-by-tag reads a case-sensitive tag from the user, and
downstream code passes this tag as is to org-tags-expand along with
non-nil values for SINGLE-AS-LIST and DOWNCASED.  As of 9df82be07 (Fix
tag groups expansion as a regexp, 2018-11-08), org-tags-expand fails
to return the group tags in this scenario for queries that contains an
uppercase letter, breaking org-agenda-filter-by-tag.

Downcase MATCH if SINGLE-AS-LIST and DOWNCASED are non-nil.

Reported-by: Leon Weber <leon.weber@net2.ch>
Ref: https://orgmode.org/list/c1f8cc32-dc16-697c-c24d-e5e05124bd66@net2.ch
2020-09-28 00:04:53 -04:00
..
test-ob-C.el Add test case for symbol coercion in C Babel blocks 2020-05-28 22:32:31 -04:00
test-ob-R.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-awk.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-clojure.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
test-ob-emacs-lisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
test-ob-eshell.el ob-eshell.el: Add Eshell support for Babel 2018-10-03 18:44:34 +02:00
test-ob-exp.el ob-shell.el: New option `org-babel-shell-results-defaults-to-output' 2020-09-07 19:30:04 +02:00
test-ob-fortran.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-header-arg-defaults.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-lilypond.el testing/lisp/test-ob-lilypond.el: Delete test 2020-02-11 10:42:49 +01:00
test-ob-lob.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-lua.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-maxima.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-octave.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-perl.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-plantuml.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-python.el ob-python: fix startup messages leaking into output 2020-09-06 18:15:04 -07:00
test-ob-ruby.el Ruby tests 2019-05-16 10:43:14 +02:00
test-ob-scheme.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-sed.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-shell.el Fix tests wrt 2f53429413 2020-09-06 22:37:32 +02:00
test-ob-sqlite.el Fix typos 2019-11-16 17:17:36 -05:00
test-ob-table.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-tangle.el ob-core: Fix handling of multiple noweb refs in same line 2020-09-15 23:45:16 -04:00
test-ob-vala.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob.el Fix tests wrt 2f53429413 2020-09-06 22:37:32 +02:00
test-ol-bbdb.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
test-ol.el ol: Fix some corner cases when normalizing context in links 2020-03-26 22:57:16 +01:00
test-org-agenda.el Revert "Fix test" 2020-01-27 23:43:14 +01:00
test-org-archive.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-attach-git.el Fix problems with org-attach-git, failed tests 2019-09-08 14:43:46 +02:00
test-org-attach.el Make tests robust with respect to mailcap entries 2020-06-03 00:11:46 -04:00
test-org-capture.el Fix capturing plain text with :unnarrowed property and no "%?" marker 2020-05-07 22:35:13 +02:00
test-org-clock.el org-clock: Mention semimonth step in manual and add test 2020-03-26 21:04:00 -04:00
test-org-colview.el colview: Display active time stamps as inactive 2020-05-12 22:44:57 -04:00
test-org-datetree.el org-datetree.el: Respect `org-blank-before-new-entry' 2020-09-09 10:07:29 +02:00
test-org-duration.el org-duration: Read and write duration in compact form 2020-01-04 18:39:05 +01:00
test-org-element.el Merge branch 'maint' 2020-01-11 20:18:47 +01:00
test-org-feed.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-footnote.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-info.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-inlinetask.el testing/lisp/test-org-inlinetask.el: Fix test 2020-09-06 23:35:32 +02:00
test-org-lint.el lint: Catch misleading drawers within drawers 2020-05-27 14:55:04 +02:00
test-org-list.el list: Fix item insertion when split point is near blanks 2020-08-16 11:42:53 +02:00
test-org-macro.el org-macro: Fix {{{author}}} expansion without AUTHOR keyword 2020-03-11 16:24:26 +01:00
test-org-macs.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-num.el org-num: Add tests 2020-08-28 08:45:41 +02:00
test-org-pcomplete.el pcomplete: improve header arguments completion 2020-05-14 14:52:30 +02:00
test-org-protocol.el org-protocol: Fix URL handling -- add tests 2019-03-10 18:20:58 +01:00
test-org-src.el src: Do not undo edit buffers back to empty state 2020-07-02 19:30:14 +02:00
test-org-table.el table: Allow collapsing header into single line 2020-06-28 23:02:26 +02:00
test-org-tempo.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-timer.el When testing, fake the current time more robustly 2019-02-12 19:34:08 -05:00
test-org.el org-tags-expand: Fix handling of downcased group tags 2020-09-28 00:04:53 -04:00
test-ox-publish.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ox.el table: Allow collapsing header into single line 2020-06-28 23:02:26 +02:00
test-property-inheritance.el org-test, test-org-element, test-org, test-ox, test-property-inheritance 2019-07-07 19:42:50 +02:00