[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-grep, and problems
From: |
François Pinard |
Subject: |
Re: [O] org-grep, and problems |
Date: |
Tue, 15 Oct 2013 21:26:22 -0400 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/23.4 (gnu/linux) |
Suvayu Ali <address@hidden> writes:
> I can try debugging org-grep, but I don't know where I should start.
I would either step through org-grep (using C-u C-M-x first over any
line of the org-grep definition within org-grep.el, or add (message ...)
lines within the function before to later check the *Messages* buffer,
and after calling org-grep the normal way to trigger the trace, pay
special attention to the argument given to shell-command.
That command, repeated in a mere shell outside Emacs, should find hits
in your Org files. If not, I would play with that command to see how it
should have been written to be successful, then amend org-grep so it
generates the proper command.
If everything that should be found gets found, then I'd suspect the code
after shell-command which reformats the output, and step through it to
find where it does it wrong.
The code is small, so the bug does not have much room to hide :-).
François
- [O] org-grep, and problems, François Pinard, 2013/10/10
- Re: [O] org-grep, and problems, Suvayu Ali, 2013/10/10
- Re: [O] org-grep, and problems, Suvayu Ali, 2013/10/10
- Re: [O] org-grep, and problems, François Pinard, 2013/10/10
- Re: [O] org-grep, and problems, Suvayu Ali, 2013/10/11
- Re: [O] org-grep, and problems, François Pinard, 2013/10/14
- Re: [O] org-grep, and problems, Suvayu Ali, 2013/10/15
- Re: [O] org-grep, and problems,
François Pinard <=
Re: [O] org-grep, and problems, R. Michael Weylandt <address@hidden>, 2013/10/13
- Re: [O] org-grep, and problems, Suvayu Ali, 2013/10/14
- Re: [O] org-grep, and problems, James Harkins, 2013/10/14
- Re: [O] org-grep, and problems, Jonathan Leech-Pepin, 2013/10/14
- Re: [O] org-grep, and problems, Alan L Tyree, 2013/10/14
- Re: [O] org-grep, and problems, James Harkins, 2013/10/15
- Re: [O] org-grep, and problems, François Pinard, 2013/10/15