GNU bug report logs -
#24879
[PATCH] Point out the default value of FRAME in the `set-face-*' functions.
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24879 in the body.
You can then email your comments to 24879 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24879
; Package
emacs
.
(Fri, 04 Nov 2016 20:30:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Hong Xu <hong <at> topbug.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 04 Nov 2016 20:30:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
---
Feel free to make changes.
doc/lispref/ChangeLog.1 | 5 +++++
doc/lispref/display.texi | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/doc/lispref/ChangeLog.1 b/doc/lispref/ChangeLog.1
index 610e7541e7de..e492a607368d 100644
--- a/doc/lispref/ChangeLog.1
+++ b/doc/lispref/ChangeLog.1
@@ -1,3 +1,8 @@
+2016-11-04 Hong Xu <hong <at> topbug.net>
+
+ * display.texi (Attribute Functions): Point out the default value
+ of FRAME in the various `set-face-*` functions.
+
2015-03-29 Glenn Morris <rgm <at> gnu.org>
* objects.texi (Equality Predicates): Fix typo in example.
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 2e316f8a532c..b19bfa9ef5c2 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2644,8 +2644,8 @@ Attribute Functions
The following commands and functions mostly provide compatibility
with old versions of Emacs. They work by calling
-@code{set-face-attribute}. Values of @code{t} and @code{nil} for
-their @var{frame} argument are handled just like
+@code{set-face-attribute}. Values of @code{t} and @code{nil}
+(default) for their @var{frame} argument are handled just like
@code{set-face-attribute} and @code{face-attribute}. The commands
read their arguments using the minibuffer, if called interactively.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24879
; Package
emacs
.
(Fri, 04 Nov 2016 21:32:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 24879 <at> debbugs.gnu.org (full text, mbox):
> From: Hong Xu <hong <at> topbug.net>
> Date: Fri, 4 Nov 2016 13:29:10 -0700
>
> The following commands and functions mostly provide compatibility
> with old versions of Emacs. They work by calling
> -@code{set-face-attribute}. Values of @code{t} and @code{nil} for
> -their @var{frame} argument are handled just like
> +@code{set-face-attribute}. Values of @code{t} and @code{nil}
> +(default) for their @var{frame} argument are handled just like
> @code{set-face-attribute} and @code{face-attribute}. The commands
> read their arguments using the minibuffer, if called interactively.
Do we really need to tell people that an omitted argument defaults to
nil? And if we do, why in this section?
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24879
; Package
emacs
.
(Sat, 05 Nov 2016 08:18:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 24879 <at> debbugs.gnu.org (full text, mbox):
[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)]
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 05 Nov 2016 08:56:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Hong Xu <hong <at> topbug.net>
:
bug acknowledged by developer.
(Sat, 05 Nov 2016 08:56:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 24879-done <at> debbugs.gnu.org (full text, mbox):
> From: Hong Xu <hong <at> topbug.net>
> Cc: 24879 <at> debbugs.gnu.org
> Date: Sat, 05 Nov 2016 01:17:38 -0700
>
> 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.
Thanks, I made sure we mention this consistently in that node.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 03 Dec 2016 12:24:04 GMT)
Full text and
rfc822 format available.
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.