[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning off colorization
From: |
N. Jackson |
Subject: |
Re: Turning off colorization |
Date: |
Thu, 06 Nov 2014 15:44:46 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
At 14:00 -0400 on Thursday 2014-11-06, Wolfgang Jenkner wrote:
> On Thu, Nov 06 2014, N. Jackson wrote:
>
>> It's very rare to get buffer text that's unreadable[1], except when
>> reading HTML mail in Gnus[2] where I very frequently get presented
>> with a medium grey text on a medium grey background or a very dark
>> text on my normal black background.
>
> If you are satisfied with an ad hoc solution for this problem the
> following snippet (eval'ed with M-: in the article buffer) should work
> with a graphical version of emacs (at least with the built-in html
> renderer, viz. shr.el). You can then go back to the colourized version
> by simply redisplaying the article (`g' in the summary or article
> buffer).
>
> (let ((fg (face-foreground 'default))
> (bg (face-background 'default)))
> (with-silent-modifications
> (font-lock-prepend-text-property (point-min) (point-max)
> 'face `(:foreground ,fg :background ,bg))))
Thanks Wolfgang,
That works well. It's much better than my existing workarounds. I'll
need to get it working on the right buffer and get it bound to a key
combination, and then it will serve until a real solution emerges.
Regards,
N. Jackson
- Re: Turning off colorization, (continued)
Re: Turning off colorization, N. Jackson, 2014/11/06
- Re: Turning off colorization, Eli Zaretskii, 2014/11/06
- Re: Turning off colorization, Wolfgang Jenkner, 2014/11/06
- Re: Turning off colorization,
N. Jackson <=
- Re: Turning off colorization, Tassilo Horn, 2014/11/06
- Re: Turning off colorization, Eli Zaretskii, 2014/11/06
- Re: Turning off colorization, Tassilo Horn, 2014/11/07
- Re: Turning off colorization, Eli Zaretskii, 2014/11/07
- Re: Turning off colorization, Tassilo Horn, 2014/11/07
- Re: Turning off colorization, Eli Zaretskii, 2014/11/07
Re: Turning off colorization, Lars Magne Ingebrigtsen, 2014/11/06
Re: Turning off colorization, James Cloos, 2014/11/06