From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eddward DeVilla" Subject: Re: radio transmit links across files Date: Thu, 8 Mar 2007 10:39:39 -0600 Message-ID: References: <1242f34a0703040352n7c4717e4rec679c2f1904241f@mail.gmail.com> <417f6f09a543129abed8b51e3242d69b@science.uva.nl> 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 1HPLep-0005HQ-De for emacs-orgmode@gnu.org; Thu, 08 Mar 2007 11:39:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HPLem-00056V-Ed for emacs-orgmode@gnu.org; Thu, 08 Mar 2007 11:39:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPLem-00055f-80 for emacs-orgmode@gnu.org; Thu, 08 Mar 2007 11:39:56 -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 1HPLeX-0006FA-TK for emacs-orgmode@gnu.org; Thu, 08 Mar 2007 11:39:42 -0500 Received: by ug-out-1314.google.com with SMTP id j3so1120061ugf for ; Thu, 08 Mar 2007 08:39:40 -0800 (PST) In-Reply-To: <417f6f09a543129abed8b51e3242d69b@science.uva.nl> 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/8/07, Carsten Dominik wrote: > I don't think you can do this in font-lock. Font-lock has many clever > mechanisms to defer font-locking of stuff that is not currently on the > screen > etc, but the current line is always done immediately, I think. I figured as much. It's not worth it then. At least not for me. > The problem with your proposal is also that you may be inserting or > deleting characters in the middle of a word, and a whitespace-based > approach would not work then. I figured hooking whitespace as well as movement would catch it. So you type or delete inside a word and then reposition the cursor some how (arrow keys, search, C-e, mouse, etc.) then recheck the line you were on when you started to move. I don't know if that would be possible to catch cursor movement. There would probably be corner cases with string-insert-rectangle, search and replace and other operations that perform automated edits. In any case, if font-lock can't support it, I don't think it would be worth it to DIY it. Edd