all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Lars Magne Ingebrigtsen'" <larsi@gnus.org>
Cc: 6935@debbugs.gnu.org
Subject: bug#6935: 24.0.50; doc for `font-lock-maximum-decoration'
Date: Thu, 14 Jul 2011 09:41:20 -0700	[thread overview]
Message-ID: <D707A574390B4AD9A20588E8B84FE467@us.oracle.com> (raw)
In-Reply-To: <m3tyap6kga.fsf@quimbies.gnus.org>

> > 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.






  reply	other threads:[~2011-07-14 16:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-28  4:06 bug#6935: 24.0.50; doc for `font-lock-maximum-decoration' Drew Adams
2010-08-28 14:41 ` Stefan Monnier
2010-08-28 19:54   ` Drew Adams
2010-08-30 14:41     ` Stefan Monnier
2010-08-30 15:46       ` Drew Adams
2010-08-30 22:04         ` Stefan Monnier
2010-08-30 22:56           ` Drew Adams
2010-08-31 10:33             ` Stefan Monnier
2011-07-14 13:49 ` Lars Magne Ingebrigtsen
2011-07-14 16:41   ` Drew Adams [this message]
2011-07-22  3:54   ` Chong Yidong
2011-07-31 15:00     ` Lars Magne Ingebrigtsen
2011-07-31 16:31       ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D707A574390B4AD9A20588E8B84FE467@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=6935@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.