all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: SW <sabrewolfy@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Edit Links
Date: Mon, 14 May 2012 10:36:54 -0400	[thread overview]
Message-ID: <7220.1337006214@alphaville> (raw)
In-Reply-To: Message from SW <sabrewolfy@gmail.com> of "Mon, 14 May 2012 13:42:21 -0000." <loom.20120514T153949-547@post.gmane.org>

SW <sabrewolfy@gmail.com> wrote:

> I inserted a link to a file with "C-c l", "file" and then navigated to the file
> using autocompletion of the path and file names. Movinvg over that link and
> pressing "C-c l" prompts me with the path to the file. Edits in this path will
> not longer support autocompletion now. I have searched both generally and here
> for phrases relating to editing links but have not found anything.
> 

I don't really follow what you are trying to do but I wonder if you are describing
your situation correctly. There are two relevant keybindings:

o ``C-c l'' is the suggested global keybinding to org-store-link: what
  it does is squirrel away the information of where you are at the time
  so that it can be used *later* to insert a link - so all this does is
  remember the metadata of the link.

o ``C-c C-l'' is an org-mode keybinding to org-insert-link: it takes the
  saved information that org-store-link squirreled away and creates a
  link at your current location.

I suspect you are using the second. If so, it should prompt you in the
minibuffer for a link. You enter something like

file:/home/sw/.emacs RET

and then it prompts you for a description - you enter the description of
the link, something like

my .emacs file RET

Org will then insert a link like this:

[[file:/home/sw/.emacs][my .emacs file]]

into your file. It might *appear* different (what you see is just the
description, usually in some highlight color and underlined), but
nevertheless that's what the buffer contains (if you don't believe me,
just cat the file).

To follow the link, you just click on it (or do it in various other
ways, depending on your setup; e.g. pressing C-c C-o on it should also
follow the link).

Hope this clarifies things, but if you have questions, don't hesitate to
ask.  However, try to make your question detailed enough so that we
don't have to guess what you are trying to do.

Nick

  reply	other threads:[~2012-05-14 14:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14 13:42 Edit Links SW
2012-05-14 14:36 ` Nick Dokos [this message]
2012-05-14 14:48   ` SW
2012-05-14 19:25     ` Nick Dokos

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

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

  git send-email \
    --in-reply-to=7220.1337006214@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sabrewolfy@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.