emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: John Niekrasz <john.niekrasz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: maximum number of radio targets?
Date: Sun, 7 Sep 2008 17:18:28 +0200	[thread overview]
Message-ID: <4BDC1BAF-3C21-4F70-9D02-A00DCECFF1DB@uva.nl> (raw)
In-Reply-To: <d7d85aeb0809060941u622aa04r9b51f52c315b07bb@mail.gmail.com>

Hi John, I think you are *clearly* overdoing the radiolink feature.   
The problem is that the implementation uses font-lock to activate  
matches, so that these are always up to date.  This clearly means that  
the number of links must be limited.  I am not sure what the  
limitation is in Emacs, but I would also suspect that, with this many  
radio targets, you should be feeling the speed impact with every  
single character you type - oy you must either have a *very* fast  
machine - or be a sloooow typist :-)     ?

With this many links, I guess a different implementation for radio  
links would be needed, one that does not use font-lock, but some  
mechanism that uses idle time.

We don't have such a mechanism yet. There are some plans, in  
particular to support automatic inter-file links like HOWM does it, by  
these have not moved beyond the "wishful thinking" stage.

This could be a nice extension!  Anyone feels challenged to implement  
it?

- Carsten

On Sep 6, 2008, at 6:41 PM, John Niekrasz wrote:

> Hello org-mode folks,
>
> I really like the radio targets feature. Perhaps too much. I seem to
> have encountered a case where using too many of them means that they
> don't work. We're talking about 2k of them, with an average length of
> 15 characters or so. Is it possible that the orgmode internal regexps
> are getting too long? Is there a general emacs string variable size
> limit I can change to make things work?
>
> I'm using GNU Emacs 23.0.60.4 (i686-pc-linux-gnu, GTK+ Version
> 2.10.13) and orgmode 6.06b.
>
> I've attached a file as an example. The links don't come up on
> loading. But if you erase everything after line 1500 (or alternately
> before line 1500), it works.
> John
> <test.org><mime-attachment.txt>

  reply	other threads:[~2008-09-07 15:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-06 16:41 maximum number of radio targets? John Niekrasz
2008-09-07 15:18 ` Carsten Dominik [this message]
2008-09-15 10:38   ` John Niekrasz

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BDC1BAF-3C21-4F70-9D02-A00DCECFF1DB@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=john.niekrasz@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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