all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bastienguerry@googlemail.com>
To: Lennart Borgman <lennart.borgman@gmail.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 11:00:46 +0200	[thread overview]
Message-ID: <87ocrjk7k1.fsf@bzg.ath.cx> (raw)
In-Reply-To: <e01d8a50907170119i5f7e459di594eba2434e4d2a1@mail.gmail.com> (Lennart Borgman's message of "Fri, 17 Jul 2009 10:19:22 +0200")

Lennart Borgman <lennart.borgman@gmail.com> writes:

> It looks to me that there is no easy way to insert an internal link.

Agreed.

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

Since [[* A headline][A headline]] works, we just need org-insert-link
to allow completion after the * char.  Then converting this internal
link to an id if necessary.

But maybe internal links are not *that* common and storing the link
before inserting it is okay?

> And from that just prompt as when inserting URLs. (But
> perhaps get the file name through prompting and prompt for anchors
> etc.)

Yes, perhaps I will find time to work on implementing what I describe
above. 

>> 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?

No, I meant implementing [[* and completing for in-buffer headlines.

Carsten is on holidays, and this is an UI change, not a bug fix.  
I try to confine myself to bugfixes for now :)

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

Please report this in details on emacs-orgmode@gnu.org, perhaps some
company user can help debugging this.

-- 
 Bastien




  reply	other threads:[~2009-07-17  9:00 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
2009-07-17  9:00                     ` Bastien [this message]
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=87ocrjk7k1.fsf@bzg.ath.cx \
    --to=bastienguerry@googlemail.com \
    --cc=aartist@gmail.com \
    --cc=dominik@science.uva.nl \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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.