help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multi-Parent Nodes in org-mode


From: Lennart Borgman
Subject: Re: Multi-Parent Nodes in org-mode
Date: Fri, 17 Jul 2009 10:19:22 +0200

On Fri, Jul 17, 2009 at 9:48 AM, Bastien<bastienguerry@googlemail.com> wrote:
> Lennart Borgman <lennart.borgman@gmail.com> writes:
>
>> (info "(org) Internal links") says:
>>
>>    To insert a link targeting a headline, in-buffer completion can be
>>    used.  Just type a star followed by a few optional letters into the
>>   buffer and press `M-<TAB>'.
>>
>> That does not work for me.
>
> If you suggest that the completion should then offer only headlines,
> yes, it doesn't work like this.
>
>> You can surely do in buffer completion (but
>> I do not know why this is useful here), but a link is not inserted.
>
> This part of the manual is about /internal/ links, not links in
> general.  So as I understand it, it says that a link like this works:
>
> [[* My headline][A link to My headline]]
>
> ... and so it does.

I see. I just typed

   * Some title TAB

and thought it would insert a link, like inserting a link from the
menus with "Insert Link" does.

It looks to me that there is no easy way to insert an internal link.
It is actually easier to insert a url. So what I is suggesting is
adding an alternative "Internal" to all those "bbd: bibtex: elisp:
..." etc. And from that just prompt as when inserting URLs. (But
perhaps get the file name through prompting and prompt for anchors
etc.)

That would make it much easier for a newbie like me on this.


> Maybe typing [[* M-TAB could offer completion for in-buffer headlines,
> and use IDs when available, but that's a big change.  Copying Carsten if
> he has a take on this.

Why is using IDs a big change?


>> May I suggest using more normal completion? Then for example Company
>> Mode can be used... - it can handle many completions nicely so having
>> candidates from a set of files is not a problem...
>
> I'm not familiar with Company mode and I think the problem you raised is
> quite specific - interactions with another completion mode is another
> issue, no?

I just tried Company Mode in an Org buffer. Strange things happen. The
Company Mode menus have shown up very nicely in all other buffers. It
looks like this

  http://www.emacswiki.org/emacs/CompanyMode

Colored in buffer menus. However in Org buffers the colors disappears
and the text is scrambled. Three dots shows up so it looks like some
problem with hidden text. Any hint about that? Anything really strange
in Org font lock or something like that ... ;-)



> Thanks for bringing this up anyway.
>
> --
>  Bastien
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]