From: Richmond <dnomhcir@gmx.com>
To: info-gnus-english@gnu.org
Subject: Re: Colours gone
Date: Tue, 18 Feb 2020 18:14:18 +0000 [thread overview]
Message-ID: <28042.2558471159$1582049689@news.gmane.org> (raw)
In-Reply-To: <87lfozkck3.fsf@ebih.ebihd> (Emanuel Berg via info-gnus-english's message of "Tue, 18 Feb 2020 18:52:44 +0100")
Emanuel Berg via info-gnus-english <info-gnus-english@gnu.org> writes:
> Richmond wrote:
>
>> Maybe it has to be in the context of gnus running?
>>
>> The link above was broken.
>
> Thanks for telling me, now the URL is fixed.
> The correct one should be:
>
> https://dataswamp.org/~incal/emacs-init/my-faces.el
>
>> But I found this, not sure what it is
>> telling me.
>>
>> https://dataswamp.org/~incal/emacs-init/test-faces.el
>
> That's something else, to see how the colors
> look when actually displayed.
>
> It sounds like you have it misconfigured
> somehow.
>
> You don't need anything on these URLs, they are
> just examples how it can look and what you
> can do.
>
> Just require everything, then set the faces,
> byte compile, correct warnings and
> errors, do it again, done. Easy.
I am afraid I am completely out of my depth. I don't know where these
faces came from. I see they are in the file .gnu-emacs, but I have never
edited that file.
Here is an extract:
(add-hook 'gnus-startup-hook
'(lambda ()
(setq gnus-subscribe-newsgroup-method
'(lambda (newsgroup)
(gnus-subscribe-newsgroup newsgroup)
(gnus-kill-newsgroup newsgroup)))
(setq gnus-use-generic-from t)
;; highlighting and menu in GNUS
(if (or (and (= emacs-major-version 19) (> emacs-minor-version 29))
(> emacs-major-version 19))
(progn
(setq gnus-visual '(highlight menu))
(setq gnus-group-highlight
'(;; News.
((and (> unread 100) (not mailp)) . gnus-summary-high-ticked-face)
((and (> unread 0) (not mailp)) . gnus-summary-high-read-face)
((and (= unread 0) (not mailp)) . gnus-summary-high-ancient-face)
((not mailp) . gnus-summary-normal-ancient-face)
;; Mail.
((and (= unread 0) (eq level 1)) . gnus-group-mail-1-empty-face)
((eq level 1) . gnus-group-mail-1-face)
((and (= unread 0) (eq level 2)) . gnus-group-mail-2-empty-face)
((eq level 2) . gnus-group-mail-2-face)
((and (= unread 0) (eq level 3)) . gnus-group-mail-3-empty-face)
((eq level 3) . gnus-group-mail-3-face)
((= unread 0) . gnus-group-mail-low-empty-face)
(t . gnus-group-mail-low-face)))
)))
)
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next prev parent reply other threads:[~2020-02-18 18:14 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
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 [this message]
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='28042.2558471159$1582049689@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).