From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: texinfo question about `...' and links - possible enhancement? Date: Sat, 22 Sep 2012 15:52:22 -0400 Message-ID: References: <7BF53B4A92694CC8B66F782A64AE5205@us.oracle.com> <83y5k4xvwt.fsf@gnu.org> <0C2C1B835B864463ABFE841BA6094D7F@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1348343618 6246 80.91.229.3 (22 Sep 2012 19:53:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2012 19:53:38 +0000 (UTC) Cc: 'Eli Zaretskii' , emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 22 21:53:43 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TFVll-0007ml-9w for ged-emacs-devel@m.gmane.org; Sat, 22 Sep 2012 21:53:41 +0200 Original-Received: from localhost ([::1]:44337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFVlg-0008PN-Hw for ged-emacs-devel@m.gmane.org; Sat, 22 Sep 2012 15:53:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFVkY-0005eB-UT for emacs-devel@gnu.org; Sat, 22 Sep 2012 15:52:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFVkY-0002aL-52 for emacs-devel@gnu.org; Sat, 22 Sep 2012 15:52:26 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:31398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFVkW-0002Zp-G9; Sat, 22 Sep 2012 15:52:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09MCocG/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="199729572" Original-Received: from 76-10-135-6.dsl.teksavvy.com (HELO pastel.home) ([76.10.135.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 22 Sep 2012 15:52:23 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 80BF1591B8; Sat, 22 Sep 2012 15:52:22 -0400 (EDT) In-Reply-To: <0C2C1B835B864463ABFE841BA6094D7F@us.oracle.com> (Drew Adams's message of "Fri, 21 Sep 2012 16:41:22 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153474 Archived-At: > I tried a couple of alternative approaches: > 1. Doing it automatically whenever you visit a node (based on a Boolean user > option). > 2. Doing it only on demand (a key) for the current node. 3. Do it with a font-lock rule (so jit-lock only does it for the viewable part of the node). > It is helpful to have the links (including distinguishing which ones have > already been visited), IMO. Maybe you can speed it up by doing as little work at font-lock time (e.g. not try to distinguish seen-vs-notseen, maybe not even try to figure out the target of the link) and delay it to the time the link is actually used. Stefan