all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Le Wang <l26wang@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Different faces / background for read-only buffers
Date: Tue, 8 Feb 2011 18:17:47 +0800	[thread overview]
Message-ID: <AANLkTikWXf4w9Bk1CidxasjgS1ZX734neQU7mKH9UVOW@mail.gmail.com> (raw)
In-Reply-To: <iiqt8q$f4l$1@dough.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

Have you looked into buffer-face-mood and view-mode-hook?

On Tue, Feb 8, 2011 at 4:01 PM, Gary <help-gnu-emacs@garydjones.name> wrote:

> I was sure I had asked this before, but a quick look at the threads
> suggests not.
>
> Is there any way of configuring things such that read-only buffers are
> displayed in a different colour scheme? Either by changing the
> background or, in the worst case, by using the faces that are used (I'm
> particularly interested in buffers using a homegrown mode, but would
> prefer a general solution).
>
> I'm using emacs-nox, if it makes any difference.
>
> --
> Gary        Please do NOT send me 'courtesy' replies off-list.
> GNU Emacs 23.2.1
> emacsclient 23.2
>
>
>
>


-- 
Le

[-- Attachment #2: Type: text/html, Size: 1089 bytes --]

  reply	other threads:[~2011-02-08 10:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08  8:01 Different faces / background for read-only buffers Gary
2011-02-08 10:17 ` Le Wang [this message]
2011-02-08 12:03   ` Gary
2011-02-08 13:29     ` Le Wang
2011-02-08 13:58       ` Gary
2011-02-08 23:55         ` Deniz Dogan
2011-02-09  9:04           ` Gary

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=AANLkTikWXf4w9Bk1CidxasjgS1ZX734neQU7mKH9UVOW@mail.gmail.com \
    --to=l26wang@gmail.com \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.