From: Keith David Bershatsky <esq@lawlist.com>
To: Alan Third <alan@idiocy.org>
Cc: 29353@debbugs.gnu.org
Subject: bug#29353: [PATCH] Add window divider faces to NS (bug#29353)
Date: Sun, 19 Nov 2017 12:40:09 -0800 [thread overview]
Message-ID: <m2mv3ikno6.wl%esq@lawlist.com> (raw)
In-Reply-To: <m2zi7j88ts.wl%esq@lawlist.com>
Thank you, Alan, for bringing this feature to Emacs on the OSX/MacOS platforms.
The only issue I observed with the patch applied is when a user selects a divider width of 3 for right and bottom. In that situation, the bottom divider is entirely one color -- window-divider face. And, the right divider is 2 pixels in the window-divider-first-pixel face and 1 pixel in the window-divider-last-pixel face. When there are exactly 3 pixels, both dividers should have the rainbow of all three available colors in the applicable order.
The resolution on my screen is not the greatest in the world, but it looks like all other width variations are working properly. I.e., 1 and 2 pixel widths properly have just the window-divider color (since there is agreeably no room for both the first/last pixel colors), and 4 pixels in width and above have the rainbow effect.
(face-spec-set 'default '((t :background "black" :foreground "red")))
(face-spec-set 'window-divider-first-pixel '((t :foreground "red")))
(face-spec-set 'window-divider '((t :foreground "DarkBlue")))
(face-spec-set 'window-divider-last-pixel '((t :foreground "magenta")))
(with-selected-frame
(make-frame '((right-divider-width . 3) (bottom-divider-width . 3)))
(split-window-horizontally))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
DATE: [11-19-2017 03:53:13] <19 Nov 2017 11:53:13 +0000>
FROM: Alan Third <alan@idiocy.org>
>
> * src/nsterm.m (ns_draw_window_divider): Use
> window-divider-first-pixel and window-divider-last-pixel faces.
> ---
> * * *
next prev parent reply other threads:[~2017-11-19 20:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-18 23:29 bug#29353: OSX/MacOS: Adding support for window-divider-first/last-pixel Keith David Bershatsky
2017-11-19 11:53 ` bug#29353: [PATCH] Add window divider faces to NS (bug#29353) Alan Third
2017-11-19 20:40 ` Keith David Bershatsky [this message]
2017-11-19 23:23 ` Alan Third
2017-11-20 8:26 ` martin rudalics
2017-11-19 22:11 ` Keith David Bershatsky
2017-11-19 22:53 ` Alan Third
2017-11-19 23:06 ` Keith David Bershatsky
2017-11-19 23:27 ` Alan Third
2017-11-20 6:31 ` Keith David Bershatsky
2017-11-20 20:41 ` Alan Third
2017-11-20 6:38 ` Keith David Bershatsky
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=m2mv3ikno6.wl%esq@lawlist.com \
--to=esq@lawlist.com \
--cc=29353@debbugs.gnu.org \
--cc=alan@idiocy.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.