Hi Carsten,
I found that org-search-view doesn't allow one to search only within
headlines
for individual words unless org-agenda-search-view-search-words-only
is set.
This appears to be due to a bug in the string argument processing
which the
following tiny patch rectifies.
Thanks,
--Peter
Changelog entry:
2010-02-16 Peter Povinec <address@hidden>
* org-agenda.el (org-search-view): Need to check 'words', not
'string', to
determine if individual word matching is requested.
Patch (the original file is from org-6.34c):
*** org-agenda.el Tue Feb 16 15:54:53 2010
--- org-agenda.new.el Tue Feb 16 15:53:39 2010
***************
*** 3322,3328 ****
(setq full-words t
words (substring words 1)))
(if (or org-agenda-search-view-always-boolean
! (member (string-to-char string) '(?- ?+ ?\{)))
(setq boolean t))
(setq words (org-split-string words))
(setq org-agenda-last-search-view-search-was-boolean boolean)
--- 3322,3328 ----
(setq full-words t
words (substring words 1)))
(if (or org-agenda-search-view-always-boolean
! (member (string-to-char words) '(?- ?+ ?\{)))
(setq boolean t))
(setq words (org-split-string words))
(setq org-agenda-last-search-view-search-was-boolean boolean)
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode