unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* links in org mode
@ 2009-07-19 12:02 Alain Muls
  2009-07-19 18:00 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Alain Muls @ 2009-07-19 12:02 UTC (permalink / raw)
  To: help-gnu-emacs

Hi emacs,

In org-mode I insert links to local files using C-cC-l. I am used to TAB 
to get completion of the path, but this does not work. Is it possible to 
use TAB completion for these links?


---------------------------------------------------------------------
Alain Muls                                  alain.muls@septentrio.com
                                                        +32.477.675091




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: links in org mode
       [not found] <mailman.2776.1248004967.2239.help-gnu-emacs@gnu.org>
@ 2009-07-19 17:08 ` Dmitry Dzhus
  2009-07-19 18:01   ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Dzhus @ 2009-07-19 17:08 UTC (permalink / raw)
  To: help-gnu-emacs

Alain Muls wrote:
> Hi emacs,
>
> In org-mode I insert links to local files using C-cC-l. I am used to
> TAB to get completion of the path, but this does not work. Is it
> possible to use TAB completion for these links?

Do you enter `file:` prefix for file link?
C-c C-l file: RET should give you filename prompt with completion.
-- 
Happy Hacking.

http://sphinx.net.ru^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: links in org mode
  2009-07-19 12:02 Alain Muls
@ 2009-07-19 18:00 ` Bastien
  0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2009-07-19 18:00 UTC (permalink / raw)
  To: Alain Muls; +Cc: help-gnu-emacs

Hi Alain,

Alain Muls <alain.muls@telenet.be> writes:

> In org-mode I insert links to local files using C-cC-l. I am used to TAB
> to get completion of the path, but this does not work. Is it possible to
> use TAB completion for these links?

This makes sense.  I have pushed a change for this, it is available for
latest versions of Org-mode from git (http://repo.or.cz/w/org-mode.git).

Here is the log:

,----
| Also use TAB for completion with org-insert-link.
| 
| Before this patch the completion mechanism was this: TAB let's you
| complete through link prefixes (gnus: file: bbdb: ...) then RET allows
| completion if a completion mechanism is available for the chosen prefix.
| Navigating through the history of stored links was a separate process,
| available through the up/down M-n/M-p keys.
| 
| Now TAB not only completes through link prefixes but also through stored
| links.  This behavior matches other Emacs completion mechanisms a bit
| more closely.
`----

This feature is in the development version of Org and is subject to
change.  I'm just doing temporary maintainance, Carsten has the last
word on these "enhancements".

Best,

-- 
 Bastien




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: links in org mode
  2009-07-19 17:08 ` links in org mode Dmitry Dzhus
@ 2009-07-19 18:01   ` Bastien
  0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2009-07-19 18:01 UTC (permalink / raw)
  To: Dmitry Dzhus; +Cc: help-gnu-emacs

Dmitry Dzhus <dima@sphinx.net.ru> writes:

> Alain Muls wrote:
>> Hi emacs,
>>
>> In org-mode I insert links to local files using C-cC-l. I am used to
>> TAB to get completion of the path, but this does not work. Is it
>> possible to use TAB completion for these links?
>
> Do you enter `file:` prefix for file link?
> C-c C-l file: RET should give you filename prompt with completion.

Now TAB also knows about stored links, the RET function is still here.

-- 
 Bastien




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: links in org mode
       [not found] <4a63d94d.8e53f10a.66d3.ffffa845SMTPIN_ADDED@mx.google.com>
@ 2009-07-20  7:50 ` Alain Muls
  2009-07-20 13:46   ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Alain Muls @ 2009-07-20  7:50 UTC (permalink / raw)
  To: help-gnu-emacs

help-gnu-emacs-request@gnu.org said the following on 20/07/09 04:40:
 > Message: 4 Date: Sun, 19 Jul 2009 21:08:39 +0400 From: Dmitry Dzhus > 
 > <dima@sphinx.net.ru> Subject: Re: links in org mode To: 
help-gnu-emacs@gnu.org Message-ID: <87fxcs38iw.fsf@sphinx.net.ru> > 
Content-Type: text/plain; charset=utf-8 Alain Muls wrote:
 > > Hi emacs,
 > >
 > > In org-mode I insert links to local files using C-cC-l. I am used to
 > > TAB to get completion of the path, but this does not work. Is it
 > > possible to use TAB completion for these links?

 > Do you enter `file:` prefix for file link?
 >  C-c C-l file: RET should give you filename prompt with completion.

Hi,

After C-cC-l RET I get a prompt but not for file completioin, but for 
entering the description. The entry in the org file I get is then:

[[file:][description]]

Tx/Alain



-- Happy Hacking. http://sphinx.net.ru ã‚€
-- 
-----------------------------------------------------------------
Alain Muls                                   alain.muls@rma.ac.be
Royal Military Academy                              +32.2.7426340
Department CISS                                 srt +32.2.7426476
Renaissance Avenue 30, B1000 Brussels
-----------------------------------------------------------------




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: links in org mode
  2009-07-20  7:50 ` Alain Muls
@ 2009-07-20 13:46   ` Bastien
  0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2009-07-20 13:46 UTC (permalink / raw)
  To: Alain Muls; +Cc: help-gnu-emacs

Hi Alain,

did you get my previous reply about this?  Please test the latest Org
and report if it behaves like you want.

Alain Muls <alain.muls@telenet.be> writes:

> After C-cC-l RET I get a prompt but not for file completioin, but for
> entering the description. 

I guess Dimitry was referring to the RET that you can hit when you have
already completed through prefixes with C-c C-l TAB.  

-- 
 Bastien




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-20 13:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2776.1248004967.2239.help-gnu-emacs@gnu.org>
2009-07-19 17:08 ` links in org mode Dmitry Dzhus
2009-07-19 18:01   ` Bastien
     [not found] <4a63d94d.8e53f10a.66d3.ffffa845SMTPIN_ADDED@mx.google.com>
2009-07-20  7:50 ` Alain Muls
2009-07-20 13:46   ` Bastien
2009-07-19 12:02 Alain Muls
2009-07-19 18:00 ` Bastien

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