* Complete file names when inserting a link
@ 2009-04-15 16:31 Daniel Clemente
2009-04-15 21:25 ` Matthew Lundin
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Clemente @ 2009-04-15 16:31 UTC (permalink / raw
To: mailing-list-org-mode
Hi; with latest org-mode and emacs -Q, I pressed:
1. C-c C-l
2. file:/
3. TAB
I get [No match]. I expected that I could complete file names as in C-x C-f, without changing any setting. Is this a bug?
-- Daniel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Complete file names when inserting a link
2009-04-15 16:31 Complete file names when inserting a link Daniel Clemente
@ 2009-04-15 21:25 ` Matthew Lundin
2009-04-15 23:30 ` Daniel Clemente
0 siblings, 1 reply; 3+ messages in thread
From: Matthew Lundin @ 2009-04-15 21:25 UTC (permalink / raw
To: Daniel Clemente; +Cc: mailing-list-org-mode
Hi Daniel,
Daniel Clemente <n142857@gmail.com> writes:
> Hi; with latest org-mode and emacs -Q, I pressed:
>
> 1. C-c C-l
> 2. file:/
> 3. TAB
>
> I get [No match]. I expected that I could complete file names as in
> C-x C-f, without changing any setting. Is this a bug?
To get completion, you need to call org-insert-link with a prefix
argument:
C-u C-c C-l
See this FAQ:
http://http://orgmode.org/worg/org-faq.php#completion-of-file-links
Regards,
Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Complete file names when inserting a link
2009-04-15 21:25 ` Matthew Lundin
@ 2009-04-15 23:30 ` Daniel Clemente
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Clemente @ 2009-04-15 23:30 UTC (permalink / raw
To: Matthew Lundin; +Cc: mailing-list-org-mode
El mié, abr 15 2009, Matthew Lundin va escriure:
> To get completion, you need to call org-insert-link with a prefix
> argument:
>
> C-u C-c C-l
>
> See this FAQ:
>
> http://http://orgmode.org/worg/org-faq.php#completion-of-file-links
>
Thanks.
I saw as a bug not completing by default, but now I imagine some reasons for it: not all completing methods will work well if they see a "file:" written as prefix. In addition it may be difficult to enable the file name completer only as long as "file:" is written at the beginning.
So I will use C-u C-c C-l
-- Daniel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-15 23:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-15 16:31 Complete file names when inserting a link Daniel Clemente
2009-04-15 21:25 ` Matthew Lundin
2009-04-15 23:30 ` Daniel Clemente
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.