From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: [dapfy@t-online.de: Fw: sh-script.el case indentation problem] Date: 12 Sep 2003 18:12:30 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20030912214531.GA4801@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063405314 19859 80.91.224.253 (12 Sep 2003 22:21:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2003 22:21:54 +0000 (UTC) Cc: Andreas Schwab , dapfy@t-online.de, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Sep 13 00:21:51 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xwIZ-0005JQ-00 for ; Sat, 13 Sep 2003 00:21:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19xwK2-0000yv-00 for ; Sat, 13 Sep 2003 00:23:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19xwIT-000215-17 for emacs-devel@quimby.gnus.org; Fri, 12 Sep 2003 18:21:45 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19xwHz-0001yK-7J for emacs-devel@gnu.org; Fri, 12 Sep 2003 18:21:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19xwHw-0001x9-97 for emacs-devel@gnu.org; Fri, 12 Sep 2003 18:21:12 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.22) id 19xw9c-0007jY-1q; Fri, 12 Sep 2003 18:12:36 -0400 Original-Received: from noir.iro.umontreal.ca (noir.iro.umontreal.ca [132.204.26.236]) by mercure.iro.umontreal.ca (8.12.9/8.12.9) with ESMTP id h8CMCWHD012536; Fri, 12 Sep 2003 18:12:32 -0400 Original-Received: (from monnier@localhost) by noir.iro.umontreal.ca (8.12.9/8.12.9) id h8CMCVwL011485; Fri, 12 Sep 2003 18:12:31 -0400 Original-To: Miles Bader In-Reply-To: <20030912214531.GA4801@fencepost> Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-MailScanner-DIRO: Found to be clean X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16351 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16351 > I think the current shell-script indentation foo is due to Stefan BTW. I'm not sure what you mean by `foo', but you're probably right. > Maybe this sort of problem could be fixed by having shell-script-mode force > on font-locking in its individual buffer, but disable the display effect when > the user hasn't turned on font-lock-mode (e.g., using > `char-property-alias-alist'). Stefan? Yes, that's the plan, but it hasn't been realized yet. Using `char-property-alias-alist' is something I had not considered yet. My grand plan is to decompose the font-lock info provided by a mode so that it can be turned on/off piecemeal. This would provide also a replacement for font-lock-maximum-decoration (which seems not to be used by anyone except for those who don't know that setting it to t is unnecessary). If anybody wants to do it before I get to it, that would be wonderful. One of the underlying questions is: why do people not turn on font-lock ? Is it only because they don't like the colors (I have customized my faces to be a lot more subdued, with most of them reduced to being identical to `default')? is it because of slowdown? something else? Stefan