From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [rms@gnu.org: Re: mouse cannot be used in *grep* buffer if font-lock is turned off] Date: Wed, 20 Oct 2004 21:45:11 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <20041019210656.2de3ff4b@pfdabpc.inhouse.start.de> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1098323140 865 80.91.229.6 (21 Oct 2004 01:45:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Oct 2004 01:45:40 +0000 (UTC) Cc: juri@jurta.org, occitan@esperanto.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 21 03:45:33 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CKS1E-00082G-00 for ; Thu, 21 Oct 2004 03:45:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKS8e-0004rU-Sj for ged-emacs-devel@m.gmane.org; Wed, 20 Oct 2004 21:53:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CKS8U-0004rD-UE for emacs-devel@gnu.org; Wed, 20 Oct 2004 21:53:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CKS8U-0004qx-Bz for emacs-devel@gnu.org; Wed, 20 Oct 2004 21:53:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKS8U-0004qn-5w for emacs-devel@gnu.org; Wed, 20 Oct 2004 21:53:02 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CKS0t-0006Nl-Mv for emacs-devel@gnu.org; Wed, 20 Oct 2004 21:45:11 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CKS0t-0007lR-0F; Wed, 20 Oct 2004 21:45:11 -0400 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Tue, 19 Oct 2004 15:43:00 -0400) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28677 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28677 I tend to agree. I think if the only reason not to turn on font-lock is because the visual effects are annoying, then I suggest the following: - always turn on the font-lock machinery. - font-lock.el places face properties on the `font-lock-face' property. M-x font-lock-mode does nothing more than (set (make-local-variable 'char-property-alias-alist) (cons '(face font-lock-face) char-property-alias-alist)) How about doing this, not always, but for certain modes (like Compilation mode)?