GNU bug report logs - #24879
[PATCH] Point out the default value of FRAME in the `set-face-*' functions.

Previous Next

Package: emacs;

Reported by: Hong Xu <hong <at> topbug.net>

Date: Fri, 4 Nov 2016 20:30:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 24879 <at> debbugs.gnu.org (full text, mbox):

From: Hong Xu <hong <at> topbug.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24879 <at> debbugs.gnu.org
Subject: Re: bug#24879: [PATCH] Point out the default value of FRAME in the
 `set-face-*' functions.
Date: Sat, 05 Nov 2016 01:17:38 -0700
[Message part 1 (text/plain, inline)]
On 2016-11-04 Fri 14:31 GMT-0700, Eli Zaretskii <eliz <at> gnu.org> wrote:

> Do we really need to tell people that an omitted argument defaults to
> nil?  And if we do, why in this section?

Hmm, I didn't notice that we don't say optional args are default to nil
in the doc. Never mind, we should close this bug.

Despite that, I sort of see some confusion in the doc when mentioning
optional args: Sometimes we say "omitted or nil" (e.g.,
face-all-attributes FRAME arg), sometimes we just say "nil" (e.g.,
face-attribute FRAME arg). Perhaps more consistency is less confusing.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.