unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Subject: Re: Mode line faces on ttys
Date: Wed, 17 Aug 2005 19:38:45 +0300	[thread overview]
Message-ID: <87acjgeddu.fsf@jurta.org> (raw)
In-Reply-To: <87u0hoipt5.fsf@jurta.org> (Juri Linkov's message of "Wed, 17 Aug 2005 17:46:46 +0300")

I've looked over the documentation of the functions that work with
the `:inverse-video' attribute in the Emacs Lisp Reference manual, and
I see that the documentation doesn't correspond to actual functions.
The description of `invert-face' is wrong, and `set-face-inverse-video-p'
is missing.  I can install the following patch:

Index: lispref/display.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/display.texi,v
retrieving revision 1.180
diff -c -r1.180 display.texi
*** lispref/display.texi	11 Aug 2005 19:59:05 -0000	1.180
--- lispref/display.texi	17 Aug 2005 16:21:53 -0000
***************
*** 2288,2297 ****
  Non-@code{nil} means do underline; @code{nil} means don't.
  @end defun
  
  @defun invert-face face &optional frame
! This function inverts the @code{:inverse-video} attribute of face
! @var{face}.  If the attribute is @code{nil}, this function sets it to
! @code{t}, and vice versa.
  @end defun
  
    These functions examine the attributes of a face.  If you don't
--- 2156,2169 ----
  Non-@code{nil} means do underline; @code{nil} means don't.
  @end defun
  
+ @defun set-face-inverse-video-p face inverse-video-p &optional frame
+ This function sets the @code{:inverse-video} attribute of face
+ @var{face}.
+ @end defun
+ 
  @defun invert-face face &optional frame
! This function swaps the foreground and background colors of face
! @var{face}.
  @end defun
  
    These functions examine the attributes of a face.  If you don't
***************
*** 2300,2306 ****
  value for that attribute.
  
  @defun face-foreground face &optional frame inherit
! @defunx face-background face &optional frame
  These functions return the foreground color (or background color,
  respectively) of face @var{face}, as a string.
  
--- 2172,2178 ----
  value for that attribute.
  
  @defun face-foreground face &optional frame inherit
! @defunx face-background face &optional frame inherit
  These functions return the foreground color (or background color,
  respectively) of face @var{face}, as a string.

-- 
Juri Linkov
http://www.jurta.org/emacs/

  parent reply	other threads:[~2005-08-17 16:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 12:55 Mode line faces on ttys Romain Francoise
2005-08-17 14:46 ` Juri Linkov
2005-08-17 15:25   ` Romain Francoise
2005-08-17 16:36     ` Juri Linkov
2005-08-18  8:29       ` Romain Francoise
2005-08-17 16:38   ` Juri Linkov [this message]
2005-08-18 21:15     ` Richard M. Stallman
2005-08-17 16:43   ` Juri Linkov
2005-08-17 18:25   ` Eli Zaretskii
2005-08-18 14:47   ` Richard M. 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=87acjgeddu.fsf@jurta.org \
    --to=juri@jurta.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).