From: Drew Adams <drew.adams@oracle.com>
To: Kaushal Modi <kaushal.modi@gmail.com>,
Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Artur Malabarba <bruce.connor.am@gmail.com>,
emacs-devel <emacs-devel@gnu.org>
Subject: RE: [elpa] master 9173a44 1/2: [Fix #12] Don't autodisable beacon on hl-line-mode
Date: Mon, 19 Oct 2015 07:20:16 -0700 (PDT) [thread overview]
Message-ID: <934a2e70-8ce5-4f74-9280-17cd52173ef6@default> (raw)
In-Reply-To: <CAFyQvY3FdDKYctdCEirdwYmHEV7+Zx7=CCyYjk5RWxo5AHeC1A@mail.gmail.com>
> I was looking for more info on defcustom vs setq and I was surprised
> to find subjective text written in first person (like a personal blog)
> in the GNU Emacs manual. I have yet to check if the same is in the
> Info manual too.
>
> https://www.gnu.org/software/emacs/manual/html_node/eintr/defcustom.html
>
> "The custom-set-variables function works somewhat differently than a
> setq. While I have never learned the differences, I modify the
> custom-set-variables expressions in my .emacs file by hand: I make the
> changes in what appears to me to be a reasonable manner and have not
> had any problems."
>
> "Over time, I have set a considerable number of faces. Some of the
> time, I re-set them using customize; other times, I simply edit the
> custom-set-faces expression in my.emacs file itself."
>
> "I myself use customize for hardly anything. Mostly, I write
> expressions myself."
>
> Who is that "I"? I think all that personal opinion text should be
> removed. Correct?
See bug #21695:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21695#8
It might have been OK to say "I have never learned the
differences" when that was first written, but by now the
manual should understand the differences, and even point
them out. Especially in that section, which is about
`defcustom'. The node says:
"Although you can use 'defvar' or 'setq' for variables that
users set, the 'defcustom' macro is designed for the job."
Part of its design for that job is handling `:type', `:set'
`:initialize', etc., precisely what makes options different
from ordinary variables and thus `custom-set-variables'
different from `setq'.
next prev parent reply other threads:[~2015-10-19 14:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20151017213254.5317.59042@vcs.savannah.gnu.org>
[not found] ` <E1ZnZ5y-0001ON-4Z@vcs.savannah.gnu.org>
2015-10-18 3:20 ` [elpa] master 9173a44 1/2: [Fix #12] Don't autodisable beacon on hl-line-mode Stefan Monnier
2015-10-18 18:48 ` Artur Malabarba
2015-10-19 0:56 ` Stefan Monnier
2015-10-19 5:56 ` Marcin Borkowski
2015-10-19 13:31 ` Stefan Monnier
2015-10-19 14:00 ` Kaushal Modi
2015-10-19 14:20 ` Drew Adams [this message]
2015-10-19 14:40 ` Eli Zaretskii
2015-10-19 15:28 ` Kaushal Modi
2015-10-19 16:19 ` Eli Zaretskii
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=934a2e70-8ce5-4f74-9280-17cd52173ef6@default \
--to=drew.adams@oracle.com \
--cc=bruce.connor.am@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=kaushal.modi@gmail.com \
--cc=monnier@iro.umontreal.ca \
/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.