emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Henderson <henders254@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Shortcut to file
Date: Sat, 12 Apr 2014 16:34:08 +1000	[thread overview]
Message-ID: <CAFrmxDeUB6OyU9KJ9qtyqRejYcVubqgcJgkWbZT1A-7PvSGfJA@mail.gmail.com> (raw)
In-Reply-To: <87bnw7jj0z.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]

C-u C-c C-l solves all problems. Now I can link any file (PDF etc.) from
anywhere within org and with tab completion. Thanks.


On Sat, Apr 12, 2014 at 1:58 PM, Nick Dokos <ndokos@gmail.com> wrote:

> Chris Henderson <henders254@gmail.com> writes:
>
> > Looks like org-insert-link doesn't have any tab completion feature to
> list files on the
> > system. How do I get that?
> >
> > I can tab complete file+sys: but then can't do ~/directory/file.txt
> >
> > Thanks.
> >
> > On Sun, Mar 16, 2014 at 3:31 PM, Eric Abrahamsen <
> eric@ericabrahamsen.net> wrote:
> >
> >     Chris Henderson <henders254@gmail.com> writes:
> >
> >     > Is there any way to quickly add a file's location rather than
> typing
> >     > the whole file://path/to/location. The files are mostly freemind or
> >     > libreoffice calc/ word files.
> >     >
> >     > If the file or the directory is not there, it can also be created
> >     > from within org easily.
> >     >
> >     > Thanks
> >
> >     Are these links to files? You can use `org-insert-link' with a prefix
> >     argument, to get the usual find-file interface, and a link inserted
> once
> >     you've found it.
>
> You must have missed the "prefix argument" part of Eric's answer: C-u C-c
> C-l
>
> --
> Nick
>
>
>

[-- Attachment #2: Type: text/html, Size: 2056 bytes --]

      reply	other threads:[~2014-04-12  6:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-16  3:37 Shortcut to file Chris Henderson
2014-03-16  4:31 ` Eric Abrahamsen
2014-04-12  2:09   ` Chris Henderson
2014-04-12  3:16     ` Eric Abrahamsen
2014-04-12  3:58     ` Nick Dokos
2014-04-12  6:34       ` Chris Henderson [this message]

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=CAFrmxDeUB6OyU9KJ9qtyqRejYcVubqgcJgkWbZT1A-7PvSGfJA@mail.gmail.com \
    --to=henders254@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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).