From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Patch: goto-address -vs- font-lock-mode Date: Wed, 04 Jul 2007 21:29:59 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1183599084 15607 80.91.229.12 (5 Jul 2007 01:31:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2007 01:31:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 05 03:31:22 2007 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I6GBh-0004Pe-Dq for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2007 03:31:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6GBg-0006Bj-Rm for ged-emacs-devel@m.gmane.org; Wed, 04 Jul 2007 21:31:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6GAT-0004kc-Dt for emacs-devel@gnu.org; Wed, 04 Jul 2007 21:30:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6GAS-0004jb-Hy for emacs-devel@gnu.org; Wed, 04 Jul 2007 21:30:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6GAS-0004jC-Bu for emacs-devel@gnu.org; Wed, 04 Jul 2007 21:30:00 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6GAR-0003lc-WF for emacs-devel@gnu.org; Wed, 04 Jul 2007 21:30:00 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1I6GAR-0006Qh-JQ; Wed, 04 Jul 2007 21:29:59 -0400 In-reply-to: (message from Tom Tromey on Tue, 03 Jul 2007 12:03:42 -0600) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74314 Archived-At: 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?