all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Juri Linkov <juri@jurta.org>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, emacs-devel@gnu.org
Subject: Re: suggestion: blue default for new face `window-divider'
Date: Fri, 31 Jan 2014 11:43:30 +0100	[thread overview]
Message-ID: <52EB7E52.8020107@gmx.at> (raw)
In-Reply-To: <877g9go6kd.fsf@mail.jurta.org>

 > The face `vertical-border' inherits from `mode-line-inactive'
 > which is grey by default, so `window-divider' could do the same.

IMHO the default should imitate the standard 3D effect generally used
for window dividers.  Unfortunately, doing that without prior knowledge
of the respective API primitives is tedious.  It would be a great help
if anyone else could do that.

 > PS: I don't understand why there are two identical faces
 > `vertical-border' and `window-divider'.
 >
 > With no scroll bars, evaluating
 >
 >   (set-frame-parameter (selected-frame) 'right-divider-width 0)
 >
 > uses the `vertical-border' face, and allows resizing windows
 > by dragging the vertical line.
 >
 > And after
 >
 >   (set-frame-parameter (selected-frame) 'right-divider-width 1)
 >
 > `vertical-border' is replaced by `window-divider' with exactly
 > the same behavior.  Shouldn't these faces be merged?

I didn't want to change existing code, so I left `vertical-border'
untouched.  The divider face is used for horizontal dividers as well, so
the name vertical-border would be inappropriate.

Finally, I'm not yet sure how to incorporate the default 3D value
mentioned above in the face definition.

martin



  reply	other threads:[~2014-01-31 10:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30 19:48 suggestion: blue default for new face `window-divider' Drew Adams
2014-01-31  1:05 ` Michael Heerdegen
2014-01-31  9:16   ` Juri Linkov
2014-01-31 10:43     ` martin rudalics [this message]
2014-01-31 15:38       ` Drew Adams
2014-01-31 10:42   ` martin rudalics

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=52EB7E52.8020107@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=michael_heerdegen@web.de \
    /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.