all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Milan Zamazal <pdm@zamazal.org>
Cc: 8524@debbugs.gnu.org
Subject: bug#8524: New glasses.el customization option glasses-separate-capital-groups-p
Date: Tue, 03 May 2011 22:07:42 -0400	[thread overview]
Message-ID: <w8ei4f8bgx.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <871v0xju71.fsf@blackbird.nest.zamazal.org>

Milan Zamazal wrote:

> +(defcustom glasses-separate-capital-groups-p t

I was going to say: boolean options should not have names ending in `-p'
(I see the existing glasses ones do, but no reason to continue doing
it). `-p' is the recommended suffix for a predicate *function*. `-flag'
was recommended for boolean options, but this recommendation has gone
away (eg because you might want to extend a boolean option to a 3-state
one in future). So an appropriate name for this option might be just
`glasses-separate-capital-groups'.

But then I noticed that several other files have options ending in `-p',
so maybe I'm wrong about this...





  reply	other threads:[~2011-05-04  2:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20  6:46 bug#8524: New glasses.el customization option glasses-separate-capital-groups-p Milan Zamazal
2011-05-04  2:07 ` Glenn Morris [this message]
2011-05-04 12:40   ` Stefan Monnier
2011-05-04 13:32   ` Milan Zamazal
2011-05-05  3:27     ` Glenn Morris

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=w8ei4f8bgx.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=8524@debbugs.gnu.org \
    --cc=pdm@zamazal.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.