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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24879: closed ([PATCH] Point out the default value of FRAME
 in the `set-face-*' functions.)
Date: Sat, 05 Nov 2016 08:56:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 05 Nov 2016 10:56:00 +0200
with message-id <83d1iajof3.fsf <at> gnu.org>
and subject line Re: bug#24879: [PATCH] Point out the default value of FRAME in the `set-face-*' functions.
has caused the debbugs.gnu.org bug report #24879,
regarding [PATCH] Point out the default value of FRAME in the `set-face-*' functions.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24879: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24879
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Hong Xu <hong <at> topbug.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Point out the default value of FRAME in the `set-face-*'
 functions.
Date: Fri,  4 Nov 2016 13:29:10 -0700
---

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.
 



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Hong Xu <hong <at> topbug.net>
Cc: 24879-done <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 10:56:00 +0200
> 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.


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.