all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Tom Tromey <tromey@redhat.com>
Cc: emacs-devel@gnu.org
Subject: Re: Patch: goto-address -vs- font-lock-mode
Date: Wed, 04 Jul 2007 21:29:59 -0400	[thread overview]
Message-ID: <E1I6GAR-0006Qh-JQ@fencepost.gnu.org> (raw)
In-Reply-To: <m3zm2d2wld.fsf@fleche.redhat.com> (message from Tom Tromey on Tue, 03 Jul 2007 12:03:42 -0600)

    This patch adds a new minor mode that acts like `goto-address'.
    Unlike goto-address, it uses font-lock to add properties to text in
    the buffer.  This means that changes to the buffer which add URLs or
    email address will automatically be detected.

Would it be more appropriate to use overlays for this?
You wouldn't want to copy those properties ever, and it is better
if adding them does not modify the buffer.

Is it feasible to use the font-lock mechanism to add overlays?

  reply	other threads:[~2007-07-05  1:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-03 18:03 Patch: goto-address -vs- font-lock-mode Tom Tromey
2007-07-05  1:29 ` Richard Stallman [this message]
2007-07-05  1:37   ` Tom Tromey
2007-07-05 14:20   ` Stefan Monnier
2007-07-05 14:29 ` Stefan Monnier

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=E1I6GAR-0006Qh-JQ@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=tromey@redhat.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.