all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Bastien <bastienguerry@googlemail.com>
Cc: aartist <aartist@gmail.com>,
	help-gnu-emacs@gnu.org, Carsten Dominik <dominik@science.uva.nl>
Subject: Re: Multi-Parent Nodes in org-mode
Date: Fri, 17 Jul 2009 10:19:22 +0200	[thread overview]
Message-ID: <e01d8a50907170119i5f7e459di594eba2434e4d2a1@mail.gmail.com> (raw)
In-Reply-To: <87skgvlpgr.fsf@bzg.ath.cx>

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	other threads:[~2009-07-17  8:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16 15:59 Multi-Parent Nodes in org-mode aartist
2009-07-16 21:44 ` Bastien
2009-07-16 22:07   ` Lennart Borgman
2009-07-16 22:18     ` Bastien
2009-07-16 22:21       ` Lennart Borgman
2009-07-16 22:36         ` Bastien
2009-07-16 22:46           ` Lennart Borgman
2009-07-16 23:20             ` Bastien
2009-07-16 23:38               ` Lennart Borgman
2009-07-17  7:48                 ` Bastien
2009-07-17  8:19                   ` Lennart Borgman [this message]
2009-07-17  9:00                     ` Bastien
2009-07-18 14:31                       ` Lennart Borgman
2009-07-18 17:39                         ` Bastien

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=e01d8a50907170119i5f7e459di594eba2434e4d2a1@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=aartist@gmail.com \
    --cc=bastienguerry@googlemail.com \
    --cc=dominik@science.uva.nl \
    --cc=help-gnu-emacs@gnu.org \
    /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.