unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29352: x-create-frame-with-faces disregards divider width params
@ 2017-11-18 22:14 Keith David Bershatsky
  2017-11-19  3:01 ` Keith David Bershatsky
  2017-11-19 11:07 ` Alan Third
  0 siblings, 2 replies; 3+ messages in thread
From: Keith David Bershatsky @ 2017-11-18 22:14 UTC (permalink / raw)
  To: 29352

I believe there are a couple of related bugs affecting the ability of x-create-frame-with-faces to properly set the bottom _and_ right border divider width parameters.

The FIRST problem is that the PARAMS are not respected as to both the right-divider-width _and_ the bottom-divider-width.

Step 1:  Launch Emacs 26 with no user configuration.  [I am using OSX 10.6.8 and have built --with-ns.]

Step 2:

  (x-create-frame-with-faces '((right-divider-width . 11)
                               (bottom-divider-width . 20)))

Step 3:

  (message "%s" (frame-parameters))

Step 4:  Observe that the frame parameters of right-divider-width and bottom-divider-width are both 0.


The SECOND problem is that the default-frame-alist is not respected as to both the right-divider-width _and_ the bottom-divider-width.

Step 1:  Launch Emacs 26 without any user configuration.

Step 2:

(setq default-frame-alist '((right-divider-width . 11)
                            (bottom-divider-width . 20)))

Step 3:  (make-frame)

  (message "%s" (frame-parameters))

Step 4:  Observe that the frame parameters of right-divider-width and bottom-divider-width are both 0.





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

* bug#29352: x-create-frame-with-faces disregards divider width params
  2017-11-18 22:14 bug#29352: x-create-frame-with-faces disregards divider width params Keith David Bershatsky
@ 2017-11-19  3:01 ` Keith David Bershatsky
  2017-11-19 11:07 ` Alan Third
  1 sibling, 0 replies; 3+ messages in thread
From: Keith David Bershatsky @ 2017-11-19  3:01 UTC (permalink / raw)
  To: 29352

bug#22973 enabled creation of vertical/horizontal window dividers for OSX/MacOS Emacs GUI builds, which had previously been disabled -- i.e., the relevant code in nsfns.m was commented out.  In addition, #22973 enabled the colors to be properly applied.  However, additional work is needed as indicated in bug#29352.





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

* bug#29352: x-create-frame-with-faces disregards divider width params
  2017-11-18 22:14 bug#29352: x-create-frame-with-faces disregards divider width params Keith David Bershatsky
  2017-11-19  3:01 ` Keith David Bershatsky
@ 2017-11-19 11:07 ` Alan Third
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Third @ 2017-11-19 11:07 UTC (permalink / raw)
  To: Keith David Bershatsky; +Cc: 29352-done

On Sat, Nov 18, 2017 at 02:14:10PM -0800, Keith David Bershatsky wrote:
> I believe there are a couple of related bugs affecting the ability
> of x-create-frame-with-faces to properly set the bottom _and_ right
> border divider width parameters.

Fix pushed to Emacs-26. Thanks for reporting it.
-- 
Alan Third





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

end of thread, other threads:[~2017-11-19 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-18 22:14 bug#29352: x-create-frame-with-faces disregards divider width params Keith David Bershatsky
2017-11-19  3:01 ` Keith David Bershatsky
2017-11-19 11:07 ` Alan Third

Code repositories for project(s) associated with this public inbox

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

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