Fix: (org-ql--outline-path) Disable case-fold-search
This commit is contained in:
parent
daad25e079
commit
4476759dc9
3 changed files with 43 additions and 37 deletions
|
|
@ -544,7 +544,8 @@ Simple links may also be written manually in either sexp or non-sexp form, like:
|
||||||
|
|
||||||
** 0.7.3-pre
|
** 0.7.3-pre
|
||||||
|
|
||||||
Nothing new yet.
|
*Fixes*
|
||||||
|
+ Disable ~case-fold-search~ when collecting headings in outline paths. (Headings that started with a word that is also a to-do keyword but with different capitalization would be matched incorrectly.)
|
||||||
|
|
||||||
** 0.7.2
|
** 0.7.2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -624,9 +624,10 @@ Returns cons (INHERITED-TAGS . LOCAL-TAGS)."
|
||||||
"Return outline path for heading at point."
|
"Return outline path for heading at point."
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(let ((heading (save-match-data
|
(let ((heading (save-match-data
|
||||||
(if (looking-at org-complex-heading-regexp)
|
(let (case-fold-search)
|
||||||
(or (match-string 4) "")
|
(if (looking-at org-complex-heading-regexp)
|
||||||
""))))
|
(or (match-string-no-properties 4) "")
|
||||||
|
"")))))
|
||||||
(if (org-up-heading-safe)
|
(if (org-up-heading-safe)
|
||||||
;; MAYBE: It seems wrong to call the cache function from
|
;; MAYBE: It seems wrong to call the cache function from
|
||||||
;; inside this function, like a violation of separation of
|
;; inside this function, like a violation of separation of
|
||||||
|
|
|
||||||
70
org-ql.info
70
org-ql.info
|
|
@ -1029,7 +1029,11 @@ File: README.info, Node: 073-pre, Next: 072, Up: Changelog
|
||||||
5.1 0.7.3-pre
|
5.1 0.7.3-pre
|
||||||
=============
|
=============
|
||||||
|
|
||||||
Nothing new yet.
|
*Fixes*
|
||||||
|
• Disable ‘case-fold-search’ when collecting headings in outline
|
||||||
|
paths. (Headings that started with a word that is also a to-do
|
||||||
|
keyword but with different capitalization would be matched
|
||||||
|
incorrectly.)
|
||||||
|
|
||||||
|
|
||||||
File: README.info, Node: 072, Next: 071, Prev: 073-pre, Up: Changelog
|
File: README.info, Node: 072, Next: 071, Prev: 073-pre, Up: Changelog
|
||||||
|
|
@ -1792,38 +1796,38 @@ Node: Links37271
|
||||||
Node: Tips37958
|
Node: Tips37958
|
||||||
Node: Changelog38282
|
Node: Changelog38282
|
||||||
Node: 073-pre39081
|
Node: 073-pre39081
|
||||||
Node: 07239193
|
Node: 07239410
|
||||||
Node: 07140116
|
Node: 07140333
|
||||||
Node: 0740925
|
Node: 0741142
|
||||||
Node: 06343849
|
Node: 06344066
|
||||||
Node: 06244380
|
Node: 06244597
|
||||||
Node: 06144685
|
Node: 06144902
|
||||||
Node: 0645253
|
Node: 0645470
|
||||||
Node: 05248307
|
Node: 05248524
|
||||||
Node: 05148607
|
Node: 05148824
|
||||||
Node: 0549032
|
Node: 0549249
|
||||||
Node: 04950563
|
Node: 04950780
|
||||||
Node: 04850845
|
Node: 04851062
|
||||||
Node: 04751194
|
Node: 04751411
|
||||||
Node: 04651603
|
Node: 04651820
|
||||||
Node: 04552011
|
Node: 04552228
|
||||||
Node: 04452372
|
Node: 04452589
|
||||||
Node: 04352731
|
Node: 04352948
|
||||||
Node: 04252934
|
Node: 04253151
|
||||||
Node: 04153095
|
Node: 04153312
|
||||||
Node: 0453342
|
Node: 0453559
|
||||||
Node: 03257443
|
Node: 03257660
|
||||||
Node: 03157846
|
Node: 03158063
|
||||||
Node: 0358043
|
Node: 0358260
|
||||||
Node: 02361343
|
Node: 02361560
|
||||||
Node: 02261577
|
Node: 02261794
|
||||||
Node: 02161857
|
Node: 02162074
|
||||||
Node: 0262062
|
Node: 0262279
|
||||||
Node: 0166140
|
Node: 0166357
|
||||||
Node: Notes66241
|
Node: Notes66458
|
||||||
Node: Comparison with Org Agenda searches66403
|
Node: Comparison with Org Agenda searches66620
|
||||||
Node: org-sidebar67292
|
Node: org-sidebar67509
|
||||||
Node: License67571
|
Node: License67788
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue