From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Fontless Info Date: Tue, 19 Feb 2013 09:58:31 -0800 Message-ID: References: <874nh8ybnz.fsf@dimension8.tehua.net><87mwv0zk06.fsf@thinkpad.tsdh.de> <83r4kcp95y.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361296757 9364 80.91.229.3 (19 Feb 2013 17:59:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2013 17:59:17 +0000 (UTC) Cc: aidalgol@no8wireless.co.nz, emacs-devel@gnu.org To: "'Eli Zaretskii'" , "'Tassilo Horn'" , "'Alan Mackenzie'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 19 18:59:39 2013 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 1U7rTY-0006LT-Mi for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2013 18:59:32 +0100 Original-Received: from localhost ([::1]:43067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7rTC-0000oG-GE for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2013 12:59:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7rSx-0000a8-OQ for emacs-devel@gnu.org; Tue, 19 Feb 2013 12:59:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7rSn-0005kE-Ut for emacs-devel@gnu.org; Tue, 19 Feb 2013 12:58:55 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:30607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7rSh-0005e1-Qd; Tue, 19 Feb 2013 12:58:39 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r1JHwaON002074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 Feb 2013 17:58:37 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r1JHwaja029997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Feb 2013 17:58:36 GMT Original-Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r1JHwZn2004568; Tue, 19 Feb 2013 11:58:35 -0600 Original-Received: from dradamslap1 (/10.159.138.144) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 19 Feb 2013 09:58:34 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83r4kcp95y.fsf@gnu.org> Thread-Index: Ac4OxrOccT8RuoPLQki7TwIVWEVxbwAAHUOQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:157164 Archived-At: > This happens because font-lock-mode gets turned off in Info buffers. > Type "M-x font-lock-mode RET", and all the niceties are back. (You > could guess that this is the problem if you'd go to the un-decorated > text and type "M-x describe-text-properties RET" there.) The same thing is true for the symptoms of bug #13751: font locking gets turned off in Emacs Lisp buffers if you do (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock) and in Dired buffers if you use Dired+. In all such cases, `M-x font-lock-mode' turns it back on, but it should never have been turned off. > The reason seems to be the changes in revision 111794: their result is > that, after Info mode is turned on and turns on font-lock, font-lock > is turned off again by something called > global-font-lock-mode-check-buffers. But the definition of `global-font-lock-mode-check-buffers' has not changed since before this regression was introduced, AFAICT. Nothing in its file, font-core.el, was changed. It is the definition of `define-globalized-minor-mode' that was changed, radically it seems. `C-h f global-font-lock-mode-check-buffers' shows no doc string but tells us it is a compiled function in `font-core.el'. There is however no explicit definition of it in that file. It is created by `define-globalized-minor-mode'. Our help system sends the user on a wild goose chase here. S?he has no hope of reorientation and finding a way out of the swamp. You can't get there from here. Emacs seems to be little-by-little losing its character of being self-documenting, by the use more and more of macros that generate functions without doc. And by the use more and more of `defstruct' without providing doc for accessor etc. functions. Dommage. At the very least (and no, it would by no means be a substitute for documenting the resulting objects themselves), the doc for `define-globalized-minor-mode' should mention the objects that it creates, such as function `MODE-check-buffers'. > Since the voodoo of easy-mmode is beyond me, I'll let others fix this. Hear, hear. "Easy", indeed. Easy for those defining things, perhaps. Hard on Emacs users. Dommage.