bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invert-face does not invert faces


From: Eli Zaretskii
Subject: Re: invert-face does not invert faces
Date: Sun, 28 Oct 2001 19:11:00 +0200

> From: David.Kastrup@t-online.de (David Kastrup)
> Date: 28 Oct 2001 16:54:18 +0100
> 
> Contrary to its description, inverting a face with non-specified back-
> and foreground colours does nothing.

On X, on a tty, or both?

I don't have access to an X version where I type this, but on a tty,
invert-face works for me as advertized, at least for the `default'
face.  It works okay whether the fore- and background colors are
specified explicitly (as in "emacs -fg blue -bg black") or are left at
their default.

The MS-Windows port in its GUI version also DTRT.

Perhaps you could post a specific recipe to reproduce this?

> -    (if (or fg bg)
> +    (if (or (not (eq fg 'unspecified))
> +         (not (eq bg 'unspecified)))

Hmm... What about "unspecified-bg" etc.?

Anyway, I don't understand why is this needed, so my question might
not be relevant.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]