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

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

Distinguishing buffer background from text


From: Christoph Groth
Subject: Distinguishing buffer background from text
Date: Wed, 27 Aug 2014 08:09:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Hello,

I'm looking for a way to set the background of a buffer (i.e. all that is neither text nor whitespace) to some slightly different color. There doesn't seem to be an easy way to do this, as the “default” face seems to be used for both.

Motivation: I started to like editing text with visual-line-mode + adaptive-wrap-prefix-mode + variable-pitch-mode. This works almost perfectly, I’m only missing a way to make superfluous whitespace at a _soft_ wrap apparent.

I.e. something like this, where the soft line break happens to occur before “like”.

One solution is to use whitespace-mode’s “spaces” or “space-mark” to make all whitespace stick out, but I find this disturbing.

Thanks,
Christoph



reply via email to

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