unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Face for window separator
@ 2007-05-15 17:36 cothrige
  2007-05-16 13:12 ` weber
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: cothrige @ 2007-05-15 17:36 UTC (permalink / raw)
  To: help-gnu-emacs

I have my mode-line foreground set to red ,(set-face-foreground
'mode-line "red"), in my .emacs, and this has made reading what is
going on in the Console a bit easier for me.  However, I will
occasionally split a window vertically, C-x 3, and then things are
less clear.  The separator which is between the left and right window
is white on black, rather than red on black, which makes it blend
in with the window contents.  I would like to set this to match my
mode-line, but have been unable to find any way to do this.  Perhaps
there is a particular face used for this which I can tweak, as I did
mode-line?

I greatly appreciate any suggestions.

Patrick

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Face for window separator
  2007-05-15 17:36 Face for window separator cothrige
@ 2007-05-16 13:12 ` weber
  2007-05-16 20:30   ` cothrige
  2007-05-16 19:55 ` Peter Dyballa
  2007-05-19 13:21 ` Johan Bockgård
  2 siblings, 1 reply; 6+ messages in thread
From: weber @ 2007-05-16 13:12 UTC (permalink / raw)
  To: help-gnu-emacs

On 15 maio, 14:36, cothrige <cothr...@yahoo.com> wrote:
> I have my mode-line foreground set to red ,(set-face-foreground
> 'mode-line "red"), in my .emacs, and this has made reading what is
> going on in the Console a bit easier for me.  However, I will
> occasionally split a window vertically, C-x 3, and then things are
> less clear.  The separator which is between the left and right window
> is white on black, rather than red on black, which makes it blend
> in with the window contents.  I would like to set this to match my
> mode-line, but have been unable to find any way to do this.  Perhaps
> there is a particular face used for this which I can tweak, as I did
> mode-line?
>
> I greatly appreciate any suggestions.
>
> Patrick

I think it is the fringe:
  (set-face-background 'fringe "Gainsboro")
Tell me if it helps..
-weber

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Face for window separator
  2007-05-15 17:36 Face for window separator cothrige
  2007-05-16 13:12 ` weber
@ 2007-05-16 19:55 ` Peter Dyballa
  2007-05-19 13:21 ` Johan Bockgård
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2007-05-16 19:55 UTC (permalink / raw)
  To: cothrige; +Cc: help-gnu-emacs


Am 15.05.2007 um 17:36 schrieb cothrige:

> I would like to set this to match my
> mode-line, but have been unable to find any way to do this.  Perhaps
> there is a particular face used for this which I can tweak, as I did
> mode-line?

For me it works sufficiently to set in non-windows mode the mode-line  
to inverted (this can be customised), i.e. light text on dark  
background. Then I have a small and dark vertical line between the  
two buffers.

--
Greetings

   Pete

"engineer: a mechanism for converting caffeine into designs"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Face for window separator
  2007-05-16 13:12 ` weber
@ 2007-05-16 20:30   ` cothrige
  2007-05-16 21:50     ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: cothrige @ 2007-05-16 20:30 UTC (permalink / raw)
  To: help-gnu-emacs

On 2007-05-16, weber <hugows@gmail.com> wrote:
> 
> I think it is the fringe:
>   (set-face-background 'fringe "Gainsboro")
> Tell me if it helps..
> -weber
>

Very strange.  I tried the above in emacs with X11 and it did set the
background of the separator, as well as the sides of the screen.
However, (set-face-foreground 'fringe ...) had no effect at all.
Also, it did not do anything in the plain non-X11 version, which is
what I generally run.  So, unfortunately, while this does address
things somewhat, it doesn't seem to acheive the desired result.

Patrick

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Face for window separator
  2007-05-16 20:30   ` cothrige
@ 2007-05-16 21:50     ` Peter Dyballa
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2007-05-16 21:50 UTC (permalink / raw)
  To: cothrige; +Cc: help-gnu-emacs


Am 16.05.2007 um 20:30 schrieb cothrige:

> I tried the above in emacs with X11 and it did set the
> background of the separator, as well as the sides of the screen.
> However, (set-face-foreground 'fringe ...) had no effect at all.

There are more options for the fringes in customise buffers ...

> Also, it did not do anything in the plain non-X11 version, which is
> what I generally run.  So, unfortunately, while this does address
> things somewhat, it doesn't seem to acheive the desired result.

The fringes only exist in the windowing versions. In text terminals  
think of '(mode-line-inverse-video t)!

--
Greetings

   Pete

When you meet a master swordsman,
show him your sword.
When you meet a man who is not a poet,
do not show him your poem.
                 -- Rinzai, ninth century Zen master

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Face for window separator
  2007-05-15 17:36 Face for window separator cothrige
  2007-05-16 13:12 ` weber
  2007-05-16 19:55 ` Peter Dyballa
@ 2007-05-19 13:21 ` Johan Bockgård
  2 siblings, 0 replies; 6+ messages in thread
From: Johan Bockgård @ 2007-05-19 13:21 UTC (permalink / raw)
  To: help-gnu-emacs

cothrige <cothrige@yahoo.com> writes:

> The separator which is between the left and right window is white on
> black, rather than red on black, which makes it blend in with the
> window contents. I would like to set this to match my mode-line, but
> have been unable to find any way to do this. Perhaps there is a
> particular face used for this which I can tweak, as I did mode-line?

In Emacs 22 there is (`vertical-border'). For Emacs 21, use something
like this:

    (unless standard-display-table
      (setq standard-display-table (make-display-table)))
    (set-display-table-slot
     standard-display-table 'vertical-border
     (+ ?| (lsh (face-id 'mode-line) 19)))

-- 
Johan Bockgård

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-19 13:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15 17:36 Face for window separator cothrige
2007-05-16 13:12 ` weber
2007-05-16 20:30   ` cothrige
2007-05-16 21:50     ` Peter Dyballa
2007-05-16 19:55 ` Peter Dyballa
2007-05-19 13:21 ` Johan Bockgård

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).