suvayu ali <fatkasuvayu+li...@gmail.com> wrote:

> Hi Marcelo,
> 
> On Mon, Oct 10, 2011 at 10:54 PM, Marcelo de Moraes Serpa
> <celose...@gmail.com> wrote:
> > Would it be hard to add such feature, considering I'm just beginning with
> > elisp? Might be a candidate for my first patch to orgmode :)
> 
> Since you mention lisp, I think you can have an easy solution with a
> custom agenda command. As far as I can see there could be two
> possibilities, bind `case-fold-search' to t or `downcase' your search
> query before performing a regular tags search.
> 
> I haven't looked at any code before making these suggestions. So you
> will have to figure out which, if any at all, is viable.
> 

My first thought was advising the function as above but it didn't work
when I tried it, so I did look at the code: org-tags-view calls
org-scan-tags which sets case-fold-search to nil unconditionally, hence
the advice failure (I think). But I also tried to set it to t (in a git
branch) and that too did not work for me - I gave up at that point
(however, I didn't try very hard so it is quite conceivable that I
misunderstood the code or did something wrong.)

Nick



Reply via email to