suvayu ali <fatkasuvayu+li...@gmail.com> writes: > Hi Darlan, > > On Mon, Jul 25, 2011 at 8:29 PM, Darlan Cavalcante Moreira > <darc...@gmail.com> wrote: >> You can probably use custom agenda commands for this. See the documentation >> for the org-agenda-custom-commands and the corresponding section in the >> manual [1]. > > Custom agenda commands do not support prompting for search phrases. > >> You can set the org-agenda-files and >> org-agenda-text-search-extra-files to point to the old project for >> some custom search. >>
You can also restrict agenda to a single file with C-u C-c C-x <. Subsequent agenda commands and searches will only use the current file until you remove the restriction with C-c C-x > -Bernt >> > > However the above comment gave me an idea. I could use a custom function > to wrap around the search functions and use let to bind the value of > agenda-files and org-agenda-text-search-extra-files as needed. > > Thank you very much!