From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#6935: 24.0.50; doc for `font-lock-maximum-decoration' Date: Thu, 14 Jul 2011 09:41:20 -0700 Message-ID: References: <0AEEE18115BA49E58E42C1604867D444@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310662466 5928 80.91.229.12 (14 Jul 2011 16:54:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 16:54:26 +0000 (UTC) Cc: 6935@debbugs.gnu.org To: "'Lars Magne Ingebrigtsen'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 18:54:20 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhPB6-0002sT-D8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 18:54:20 +0200 Original-Received: from localhost ([::1]:41387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhPB5-0001Ge-L0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 12:54:19 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhOzH-0007MG-Qh for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 12:42:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhOzE-0003d6-NL for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 12:42:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhOzE-0003cg-03 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 12:42:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhOzD-0004b7-4x; Thu, 14 Jul 2011 12:42:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2011 16:42:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6935 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 6935-submit@debbugs.gnu.org id=B6935.131066170017625 (code B ref 6935); Thu, 14 Jul 2011 16:42:03 +0000 Original-Received: (at 6935) by debbugs.gnu.org; 14 Jul 2011 16:41:40 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhOyp-0004aE-KP for submit@debbugs.gnu.org; Thu, 14 Jul 2011 12:41:39 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhOyn-0004Zy-Bb for 6935@debbugs.gnu.org; Thu, 14 Jul 2011 12:41:38 -0400 Original-Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6EGfSbm006451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 14 Jul 2011 16:41:30 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6EGfRvG005088 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Jul 2011 16:41:27 GMT Original-Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6EGfLHW027383; Thu, 14 Jul 2011 11:41:21 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 14 Jul 2011 09:41:21 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxCLq1H0XsjlBkASzCX3IMJpDo9CAAFKKsA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A020204.4E1F1C3A.01A5:SCFSTAT5015188, ss=1, re=-4.000, fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Jul 2011 12:42:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49038 Archived-At: > > the Emacs manual deals with it only using a `setq' example: > > (setq font-lock-maximum-decoration > > '((c-mode . 1) (c++-mode . 1))) > > > > We should tell users how they can use Customize for customizing it. > > (No, it is not obvious how to do that.) We should not be > > privileging Lisp code in .emacs this way - especially fairly > > complex Lisp code. > > For examples of complex variables like this, I find Lisp code a lot > clearer than convoluted Customize settings. So this is not a > bug, in my opinion. It's not about your personal opinion of Customize. It's about Emacs's policy of privileging Customize in user doc. AFAIK, Emacs Dev _wants_ users to go first to Customize, in general - especially new users. Among other things, Customize provides various safety and sanity checks. If you have specific improvements in mind for Customize, feel free to submit them as enhancement requests. That's unrelated to this bug report. But the policy has been, in general, to move old suggestions about using `setq' etc. in .emacs to suggestions about using Customize. -- FWIW, I too used to resist Customize and do everything using hand-written Lisp in .emacs. And I too still think the Customize UI could use a lot of improvement (to put it politely). But I finally switched a few years back to using Customize and a separate `custom-file' for most, and especially for run-of-the-mill, customizations. I use Lisp code for things that Customize cannot do, not just to set an option's value.