El Sun, Mar 01, 2009 at 05:53:50PM +0100, Adrian C. ens deleit� amb les
seg�ents paraules:
> On Sun, 1 Mar 2009, Damien Leone wrote:
>
>> Hello,
>>
>> As an emacs' org-mode user, I felt that I needed a module to handle my
>> org files in awesome, so I wrote it and I'm posting here in case
>> somebody else would be interested.
Nice!
I've tried extending it, but my lua skills are extremely poor, so here I launch
what I was trying to add, in case anyone finds it useful and implementes it (it
_is_ really easy).
As I maintain my TODOs in project-specific files (which eventually appear and
disappear), I added a check on the register function. If the 'f' argument is a
string (don't know how to check that) and is a directory
os.exec("test -d "..f) == 0
set 'path' to 'f' (otherwise nil) and retrieve the list of files
os.exec("find "..f.." -type -f -name *.org")
and build from that string the file table
once again, don't know how to do that (now, I _really_ miss python :))
The update function should then do the finding again with 'path' (if it's not
nil).
If you tell me how to implement the missing pieces or just do the patch, I'll be
very grateful :)
Read you,
Lluis
PS: I haven't looked for it, but I'm sure I can do the same with emacs itself,
give a path where all org files are located, instead of a list which I always
forget to update.
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
--
To unsubscribe, send mail to [email protected].