* Different faces / background for read-only buffers
@ 2011-02-08 8:01 Gary
2011-02-08 10:17 ` Le Wang
0 siblings, 1 reply; 7+ messages in thread
From: Gary @ 2011-02-08 8:01 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Different faces / background for read-only buffers
2011-02-08 8:01 Different faces / background for read-only buffers Gary
@ 2011-02-08 10:17 ` Le Wang
2011-02-08 12:03 ` Gary
0 siblings, 1 reply; 7+ messages in thread
From: Le Wang @ 2011-02-08 10:17 UTC (permalink / raw)
To: help-gnu-emacs
[-- 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 --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Different faces / background for read-only buffers
2011-02-08 10:17 ` Le Wang
@ 2011-02-08 12:03 ` Gary
2011-02-08 13:29 ` Le Wang
0 siblings, 1 reply; 7+ messages in thread
From: Gary @ 2011-02-08 12:03 UTC (permalink / raw)
To: help-gnu-emacs
Le Wang wrote:
> Have you looked into buffer-face-mood and view-mode-hook?
Do you mean buffer-face-mode? I can't find buffer-face-mood.
--
Gary Please do NOT send me 'courtesy' replies off-list.
GNU Emacs 23.2.1
emacsclient 23.2
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Different faces / background for read-only buffers
2011-02-08 12:03 ` Gary
@ 2011-02-08 13:29 ` Le Wang
2011-02-08 13:58 ` Gary
0 siblings, 1 reply; 7+ messages in thread
From: Le Wang @ 2011-02-08 13:29 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
On Tue, Feb 8, 2011 at 8:03 PM, Gary <help-gnu-emacs@garydjones.name> wrote:
> Do you mean buffer-face-mode? I can't find buffer-face-mood.
>
Very mature. Welcome to my killfile.
--
Le
[-- Attachment #2: Type: text/html, Size: 474 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Different faces / background for read-only buffers
2011-02-08 13:29 ` Le Wang
@ 2011-02-08 13:58 ` Gary
2011-02-08 23:55 ` Deniz Dogan
0 siblings, 1 reply; 7+ messages in thread
From: Gary @ 2011-02-08 13:58 UTC (permalink / raw)
To: help-gnu-emacs
Le Wang wrote:
> On Tue, Feb 8, 2011 at 8:03 PM, Gary
> wrote:
>
> Do you mean buffer-face-mode? I can't find buffer-face-mood.
>
> Very mature. Welcome to my killfile.
>
> --
> Le
What?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Different faces / background for read-only buffers
2011-02-08 13:58 ` Gary
@ 2011-02-08 23:55 ` Deniz Dogan
2011-02-09 9:04 ` Gary
0 siblings, 1 reply; 7+ messages in thread
From: Deniz Dogan @ 2011-02-08 23:55 UTC (permalink / raw)
To: help-gnu-emacs
2011/2/8 Gary <help-gnu-emacs@garydjones.name>:
> Le Wang wrote:
>> On Tue, Feb 8, 2011 at 8:03 PM, Gary
>> wrote:
>>
>> Do you mean buffer-face-mode? I can't find buffer-face-mood.
>>
>> Very mature. Welcome to my killfile.
>>
>> --
>> Le
>
> What?
>
Apparently Le thought you were mocking him and added you to his "killfile".
http://en.wikipedia.org/wiki/Killfile
I think Le did mean buffer-face-mode.
--
Deniz Dogan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Different faces / background for read-only buffers
2011-02-08 23:55 ` Deniz Dogan
@ 2011-02-09 9:04 ` Gary
0 siblings, 0 replies; 7+ messages in thread
From: Gary @ 2011-02-09 9:04 UTC (permalink / raw)
To: help-gnu-emacs
Deniz Dogan wrote:
> Apparently Le thought you were mocking him
Ah well, there are fuckwits the world over. And yeah, I know it's not
nice to mock the afflicted, especially behind their backs. /slaps own wrist
> and added you to his
> "killfile".
>
> http://en.wikipedia.org/wiki/Killfile
Yeah, that bit I gathered :)
> I think Le did mean buffer-face-mode.
Thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-02-09 9:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 8:01 Different faces / background for read-only buffers Gary
2011-02-08 10:17 ` Le Wang
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
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).