[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] An org-attach link type [7.9.1 (7.9.1-elpa @ /home/youngfrog/.em

From: Nicolas Richard
Subject: Re: [O] An org-attach link type [7.9.1 (7.9.1-elpa @ /home/youngfrog/.emacs.d/elpa/org-20120903/)]
Date: Sat, 22 Sep 2012 10:58:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Hello Viktor,

Thanks for your input.

> - I have to load the "cl" module, otherwise the "case" function is
> void.

Sorry about that. I didn't notice it was from cl.

> - I had to replace "find-lisp-find-files" with "directory-files" because
>   the former does not exist on my Emacs installation. I use GNU Emacs
>   24.2.1 on OS X compiled from MacPorts.

Oops again. (require 'find-lisp) should fix that. The big difference
with directory-files is that find-lisp-find-files looks also in
subdirectories (I often attach subdirectories and like to link files
from therein). And it returns full paths, too, which explains some parts
of the rest of the code. 

> - I use "attach" instead of "att" as a link prefix in my files and had
>   to change the names of the functions. Sorry about that, but I did not
>   want to fix all my links.

That's fine, I only used "att" because it was the name I found in an
older discussion and I just copied the code.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]