emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eddward DeVilla" <eddward@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: radio transmit links across files
Date: Thu, 8 Mar 2007 10:39:39 -0600	[thread overview]
Message-ID: <b71b18520703080839i58f2f361h369865865d3adb7c@mail.gmail.com> (raw)
In-Reply-To: <417f6f09a543129abed8b51e3242d69b@science.uva.nl>

On 3/8/07, Carsten Dominik <dominik@science.uva.nl> 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

      reply	other threads:[~2007-03-08 16:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-04 11:52 radio transmit links across files Mark Aufflick
2007-03-07  8:04 ` Carsten Dominik
2007-03-07 15:12   ` Eddward DeVilla
2007-03-08  9:48     ` Carsten Dominik
2007-03-08 16:39       ` Eddward DeVilla [this message]

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=b71b18520703080839i58f2f361h369865865d3adb7c@mail.gmail.com \
    --to=eddward@gmail.com \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@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 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).