* Emacs completion on file:xyz links?
@ 2013-04-26 7:15 Dov Grobgeld
2013-04-26 8:52 ` Suvayu Ali
0 siblings, 1 reply; 3+ messages in thread
From: Dov Grobgeld @ 2013-04-26 7:15 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 388 bytes --]
I often find reference files in org-files and then do the following
sequence:
* Press Ctrl-x Ctrl-f
* Navigate to the requested file by the emacs and completion
* Press Ctrl-a Ctrl-k to copy
* Press Ctrl-g to get out of file-open
* Paste with ctrl-y
I was wondering if anyone has written code so that pressing [TAB] within a
file:/ link would do emacs completion in place?
Thanks!
Dov
[-- Attachment #2: Type: text/html, Size: 1252 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs completion on file:xyz links?
2013-04-26 7:15 Emacs completion on file:xyz links? Dov Grobgeld
@ 2013-04-26 8:52 ` Suvayu Ali
2013-04-26 9:18 ` Dov Grobgeld
0 siblings, 1 reply; 3+ messages in thread
From: Suvayu Ali @ 2013-04-26 8:52 UTC (permalink / raw)
To: emacs-orgmode
On Fri, Apr 26, 2013 at 10:15:42AM +0300, Dov Grobgeld wrote:
> I often find reference files in org-files and then do the following
> sequence:
>
> * Press Ctrl-x Ctrl-f
> * Navigate to the requested file by the emacs and completion
> * Press Ctrl-a Ctrl-k to copy
> * Press Ctrl-g to get out of file-open
> * Paste with ctrl-y
>
> I was wondering if anyone has written code so that pressing [TAB] within a
> file:/ link would do emacs completion in place?
It does that already. Use C-c C-l to insert a link, when prompted for
the type, say file: RET. Then you can use the usual emacs completeion
interface to get filename completeion.
What is missing though is completion when editing an existing link.
IMO, that would be a worthy feature request.
Cheers,
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs completion on file:xyz links?
2013-04-26 8:52 ` Suvayu Ali
@ 2013-04-26 9:18 ` Dov Grobgeld
0 siblings, 0 replies; 3+ messages in thread
From: Dov Grobgeld @ 2013-04-26 9:18 UTC (permalink / raw)
To: Suvayu Ali; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 992 bytes --]
Ok, I can make do with that. Thanks.
On Fri, Apr 26, 2013 at 11:52 AM, Suvayu Ali <fatkasuvayu+linux@gmail.com>wrote:
> On Fri, Apr 26, 2013 at 10:15:42AM +0300, Dov Grobgeld wrote:
> > I often find reference files in org-files and then do the following
> > sequence:
> >
> > * Press Ctrl-x Ctrl-f
> > * Navigate to the requested file by the emacs and completion
> > * Press Ctrl-a Ctrl-k to copy
> > * Press Ctrl-g to get out of file-open
> > * Paste with ctrl-y
> >
> > I was wondering if anyone has written code so that pressing [TAB] within
> a
> > file:/ link would do emacs completion in place?
>
> It does that already. Use C-c C-l to insert a link, when prompted for
> the type, say file: RET. Then you can use the usual emacs completeion
> interface to get filename completeion.
>
> What is missing though is completion when editing an existing link.
> IMO, that would be a worthy feature request.
>
> Cheers,
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
>
[-- Attachment #2: Type: text/html, Size: 1686 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-26 9:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-26 7:15 Emacs completion on file:xyz links? Dov Grobgeld
2013-04-26 8:52 ` Suvayu Ali
2013-04-26 9:18 ` Dov Grobgeld
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.