From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.devel Subject: Re: font-lock-maximum-decoration should be 2 by default? Date: Sat, 18 Aug 2012 12:03:21 +0200 Organization: EUR Message-ID: <87a9xs1pqu.fsf@gmail.com> References: <87wr0x8zxj.fsf@gmail.com> <831uj5bnid.fsf@gnu.org> <87obm98trc.fsf@gmail.com> <95FA6116C6194DAAA658F916B48C5E23@us.oracle.com> <874no12tan.fsf_-_@gmail.com> <87a9xsokd9.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345284215 23696 80.91.229.3 (18 Aug 2012 10:03:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Aug 2012 10:03:35 +0000 (UTC) Cc: 'Eli Zaretskii' , Drew Adams , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 18 12:03:34 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 1T2fsT-0008If-QR for ged-emacs-devel@m.gmane.org; Sat, 18 Aug 2012 12:03:34 +0200 Original-Received: from localhost ([::1]:56040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2fsS-0002QH-ML for ged-emacs-devel@m.gmane.org; Sat, 18 Aug 2012 06:03:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2fsP-0002KT-6N for emacs-devel@gnu.org; Sat, 18 Aug 2012 06:03:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2fsN-0006mo-Ro for emacs-devel@gnu.org; Sat, 18 Aug 2012 06:03:28 -0400 Original-Received: from mail-wi0-f171.google.com ([209.85.212.171]:64622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2fsM-0006ly-2E; Sat, 18 Aug 2012 06:03:26 -0400 Original-Received: by wibhq4 with SMTP id hq4so1991241wib.12 for ; Sat, 18 Aug 2012 03:03:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=f9jxlKl8pHxRK5LxaC767vFSOFgpiHvaycuLYrFS3FA=; b=WyBapOq3rXeoga6gwJk3cXwzcU1tDanz5MOA+MdlrCEAHCJnbes0fN3CzbaZMxgUKe iOundpBwSzVCy2I3yFuDjl5czcz4/XihCb6kNBCY3SDhSOdGZhh7DkHylkqYI6bjYwxJ 38pXo6aNZaLp6qaEKNp6P9EqGaCPWebFzC+N5yxsli/JN1YRvXzUKlOpZUIzwUrRG3sV zve9e31De/pifxX9KqeeFbhbFHQyxXVGdfbuN9nlkKUjNqJ4OSnTsOeZzjF0c4hteNL1 NzY9uH7BGziyKMGvGYy/u0CDskbp80ec4wljn7HPuub55hbMBxs9IGLUbI07d9cN16R2 kYYQ== Original-Received: by 10.180.78.170 with SMTP id c10mr12229050wix.3.1345284205079; Sat, 18 Aug 2012 03:03:25 -0700 (PDT) Original-Received: from localhost (i108036.upc-i.chello.nl. [62.195.108.36]) by mx.google.com with ESMTPS id z11sm22296955wiv.10.2012.08.18.03.03.23 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 18 Aug 2012 03:03:23 -0700 (PDT) In-Reply-To: <87a9xsokd9.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Sat, 18 Aug 2012 14:10:58 +0900") User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.171 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:152637 Archived-At: >> "Stephen J. Turnbull" >> on Sat, 18 Aug 2012 14:10:58 +0900 wrote: > Vitalie Spinu writes: >> In font-lock language: If you design a feature which is intended for >> 30% of salad lovers. Then by the virtue of emacs defaults and peoples' >> psychology, 90% of the people will end up using it. That is, 60% of >> normal users (which don't like salads) will end up eating it. > True, but it's not clear that Emacs should care about "normal" users > in the sense of "people's psychology". Emacs users are different, at > least that's the conventional wisdom. They like (1) customizability, > (2) a consistent user interface across applications. It's not obvious > that the generally prevalent "accept the default" psychology is that > relevant to Emacs users. It's easy to get sick of too much customization. It's another well know paradox of human pshychology -- we want more choose but too much choice is bad for you (http://news.bbc.co.uk/today/hi/today/newsid_8155000/8155505.stm). There are so many small inconveniences/bugs which I know I can solve probably in 15-30 minutes by studding the code/docs/customization, but I continue to leave with those in emacs, sometimes for months and years. Familiar? >> 3) Developers which would like to capture 30% of salad lovers will try >> to find workarounds. That is, add redundant, mode-specific font-lock >> customization, or mess with font-lock-maximum-decoration. > This is true, but I'm not sure if it's a problem. It's a problem in light of yours (2). Everyone wants a consistent interface. >> 4) If not self-obvious, the proposed modification would allow a default >> level of fontification. Thing which is not possible right now. > It's not obvious that the concept of "level of fontification" is > entirely consistent. At least for me, if certain features aren't > fontified, I agree, levels are not flexible enough (or at least at higher levels). People tend to agree on the basic fontification like strings, comments and keywords. But with more fontification levels become a trouble. For example I can choose to fortify the function call as in "foo(x, y)" or I can choose to fortify parenthesis. Different people might choose different things. Also, I might want to fortify {} braces as they are difficult to distinguish from (), but leave all other paren syntax untouched. These things are difficult or impossible to fit into levels. Vitalie.