From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eddward DeVilla" Subject: Re: radio transmit links across files Date: Wed, 7 Mar 2007 09:12:23 -0600 Message-ID: References: <1242f34a0703040352n7c4717e4rec679c2f1904241f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOxol-0003s7-Uk for emacs-orgmode@gnu.org; Wed, 07 Mar 2007 10:12:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOxoj-0003qO-Qx for emacs-orgmode@gnu.org; Wed, 07 Mar 2007 10:12:38 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOxoj-0003qL-K8 for emacs-orgmode@gnu.org; Wed, 07 Mar 2007 10:12:37 -0500 Received: from ug-out-1314.google.com ([66.249.92.172]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HOxoc-0002BE-H0 for emacs-orgmode@gnu.org; Wed, 07 Mar 2007 10:12:30 -0500 Received: by ug-out-1314.google.com with SMTP id j3so639496ugf for ; Wed, 07 Mar 2007 07:12:29 -0800 (PST) In-Reply-To: Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org On 3/7/07, Carsten Dominik wrote: > The main problem with such an approach is that it quickly becomes > a performance issue. It is ok for a few terms, but if you accumulate > a large number of terms, and if you want to use font-lock to activate > words as links, this means that after each letter you type, font-lock > will have to match all words in the current line against all those > terms. > This can become slow. Hi. A question from the peanut gallery. Could the checking to see if a term matches be deferred until the user types a non-whitespace character followed by either a whitespace character or a movement operation? If this is possible, it might speed things up a little. I don't know enough about how font-lock work to know if this reasonable. Edd