unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Christoph Groth <christoph@grothesque.org>
To: help-gnu-emacs@gnu.org
Subject: Distinguishing buffer background from text
Date: Wed, 27 Aug 2014 08:09:38 +0200	[thread overview]
Message-ID: <874mwyv4yl.fsf@grothesque.org> (raw)

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	other threads:[~2014-08-27  6:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=874mwyv4yl.fsf@grothesque.org \
    --to=christoph@grothesque.org \
    --cc=help-gnu-emacs@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 read-only IMAP folder(s) and NNTP newsgroup(s).