unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: A few faces.el questions
Date: Wed, 31 Jan 2007 20:55:34 +0100	[thread overview]
Message-ID: <f7ccd24b0701311155r4cf184ffhcff106349053e70e@mail.gmail.com> (raw)
In-Reply-To: <EIENLHALHGIMHGDOLMIMOEJICOAA.drew.adams@oracle.com>

On 1/31/07, Drew Adams <drew.adams@oracle.com> wrote:

> I think he's talking about renaming the argument, not the function.

Yes, of course. I want to rename the argument of
`set-face-underline-p' (and `modify-face').

I usually wouldn't have asked just to change this; but sometimes
people complains when arguments are changed, and in this case
`set-face-underline-p' is part of a family of functions, all of which
have arguments like BOLD-P, ITALIC-P, etc. But these really are
boolean, so clarity and correctness should weight more than
(pseudo-)consistency.

> BTW, in my version (from 2007-01-25), the arg name in the signature is
> `underline-p', but it is referred to in the doc string as UNDERLINE.

Yes, that's how I found the problem. It's not a typo in the docstring,
but the result of conflating two previous defuns, one of them
`set-face-underline', without -p (which had a non-flag UNDERLINE
argument), the other named `set-face-underline-p' and with a boolean
UNDERLINE-P argument.

                    /L/e/k/t/u

  reply	other threads:[~2007-01-31 19:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-31 12:28 A few faces.el questions Juanma Barranquero
2007-01-31 18:43 ` Eli Zaretskii
2007-01-31 19:35   ` Drew Adams
2007-01-31 19:55     ` Juanma Barranquero [this message]
2007-02-01 16:19     ` Richard Stallman
2007-02-01  0:07 ` Richard Stallman
2007-02-01  0:27   ` Juanma Barranquero
2007-02-02 11:24     ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=f7ccd24b0701311155r4cf184ffhcff106349053e70e@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).