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: Using font-lock-mode for Info-mode's fontification (was: [Emacs-diffs] trunk r118082: Allow Info-fontify-maximum-menu-size to specify unlimited) Date: Thu, 16 Oct 2014 11:52:12 -0400 Message-ID: References: <3q1tqf90xg.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413474777 13619 80.91.229.3 (16 Oct 2014 15:52:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2014 15:52:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 16 17:52:51 2014 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 1XenM6-0002uN-Lu for ged-emacs-devel@m.gmane.org; Thu, 16 Oct 2014 17:52:47 +0200 Original-Received: from localhost ([::1]:50974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XenM6-0006es-1m for ged-emacs-devel@m.gmane.org; Thu, 16 Oct 2014 11:52:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XenLi-0006W4-6I for emacs-devel@gnu.org; Thu, 16 Oct 2014 11:52:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XenLa-0000V0-7q for emacs-devel@gnu.org; Thu, 16 Oct 2014 11:52:22 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:57582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XenLa-0000Um-3B; Thu, 16 Oct 2014 11:52:14 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArkGAIDvNVNFxKjo/2dsb2JhbABZgwY7gw+4bxmHNYEXF3SCJQEBAQECAQECUyMQGSYHCxQUBA0kiAQIDdIMF456B4Q4BJV3hAqJN4VhgWqBcYFbIQ X-IPAS-Result: ArkGAIDvNVNFxKjo/2dsb2JhbABZgwY7gw+4bxmHNYEXF3SCJQEBAQECAQECUyMQGSYHCxQUBA0kiAQIDdIMF456B4Q4BJV3hAqJN4VhgWqBcYFbIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="94357993" Original-Received: from 69-196-168-232.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 Oct 2014 11:52:13 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 04D2185A2; Thu, 16 Oct 2014 11:52:12 -0400 (EDT) In-Reply-To: <3q1tqf90xg.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri, 10 Oct 2014 15:31:23 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:175462 Archived-At: >> We should perform this highlighting via font-lock, so we can get rid of >> Info-fontify-maximum-menu-size. > Any decade now, I'm sure. :( > http://lists.gnu.org/archive/html/emacs-devel/2005-06/msg00668.html Looking at it, I see we can't usefully do that without changing the user-visible behavior. Currently if the user turned off font-lock-mode, Info buffers still come with mouse-face highlighting (and help-echo) on things like xrefs and menu entries. And the "(line N)" indication at the end of index lines are also hidden and the menus are still "prettified", and ... Maybe it would be OK to change the case where font-lock-mode is OFF such that all those thingies are also turned off. Stefan