Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Richmond <dnomhcir@gmx.com>
To: info-gnus-english@gnu.org
Subject: Re: Colours gone
Date: Tue, 18 Feb 2020 17:36:20 +0000	[thread overview]
Message-ID: <38165.2852332749$1582047396@news.gmane.org> (raw)
In-Reply-To: <87pnebkikm.fsf@ebih.ebihd> (Emanuel Berg via info-gnus-english's message of "Tue, 18 Feb 2020 16:42:49 +0100")

Emanuel Berg via info-gnus-english <info-gnus-english@gnu.org> writes:

> Richmond wrote:
>
>> After upgrading to 27 I've lost some colour
>> settings affecting the gnus list of groups,
>> list of articles. It used to show groups with
>> unread articles in a different colour. I am
>> also getting error messages about "invalid
>> face" (a bit of a cheek!)
>>
>> What can I do about these? Do I need to
>> install faces?
>
> You can use this to find out what face
> something is:
>
> (defun what-face (pos)
>   (interactive "d")
>   (let((face (or (get-char-property pos 'face)
>                  (get-char-property pos 'read-cf-name) )))
>     (message " Face: %s" (or face "(no face!)")) ))
> (defalias 'wf #'what-face)
>
> Then do, for example:
>
> (modify-face 'gnus-group-mail-1 "cyan" nil nil t)
>
> https://dataswamp.org/~incal/emacs-init/faces.el

OK what-face says the face in question is gnus-summary-high-read-face but when
I put (modify-face 'gnus-summary-high-read-face "cyan" nil nil t) into
.gnus it says invalid face.

Debugger entered--Lisp error: (error "Invalid face" gnus-summary-high-read-face)
  internal-set-lisp-face-attribute(gnus-summary-high-read-face :foreground "cyan" 0)

Maybe it has to be in the context of gnus running?

The link above was broken. But I found this, not sure what it is telling
me.

https://dataswamp.org/~incal/emacs-init/test-faces.el

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  reply	other threads:[~2020-02-18 17:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18 14:32 Richmond
2020-02-18 15:42 ` Emanuel Berg via info-gnus-english
2020-02-18 17:36   ` Richmond [this message]
2020-02-18 17:47     ` Adam Sjøgren via info-gnus-english
2020-02-18 17:52     ` Emanuel Berg via info-gnus-english
2020-02-18 18:14       ` Richmond
2020-02-18 20:13         ` Eric Abrahamsen
2020-02-18 20:55           ` Richmond
     [not found]           ` <825zg3vcmn.fsf@>
2020-02-19 13:48             ` Richmond
2020-02-19 17:18               ` Eric Abrahamsen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='38165.2852332749$1582047396@news.gmane.org' \
    --to=dnomhcir@gmx.com \
    --cc=info-gnus-english@gnu.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.
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 NNTP newsgroup(s).