emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Viktor Rosenfeld <listuser36@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: An org-attach link type [7.9.1 (7.9.1-elpa @ /home/youngfrog/.emacs.d/elpa/org-20120903/)]
Date: Sat, 22 Sep 2012 19:52:34 +0200	[thread overview]
Message-ID: <20120922175234.GA17397@kenny> (raw)
In-Reply-To: <87zk4ia0yk.fsf@yahoo.fr>

Hi Nicolas,

Nicolas Richard wrote:

> 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. 

If "find-lisp-find-files" returns full paths then the discrimination in
org-attach-complete-how makes sense. Pretty cool.

Cheers,
Viktor

  reply	other threads:[~2012-09-22 17:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19 14:53 An org-attach link type [7.9.1 (7.9.1-elpa @ /home/youngfrog/.emacs.d/elpa/org-20120903/)] Nicolas Richard
2012-09-22  7:14 ` Viktor Rosenfeld
2012-09-22  8:58   ` Nicolas Richard
2012-09-22 17:52     ` Viktor Rosenfeld [this message]
2012-09-22  9:20 ` Bastien
2012-09-27 16:25   ` Nicolas Richard
2012-09-28  6:43     ` Bastien
2012-09-27 16:27   ` Nicolas Richard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120922175234.GA17397@kenny \
    --to=listuser36@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).