Subject: bug#29352: x-create-frame-with-faces disregards divider width params

From: Keith David Bershatsky <[email-masked]>
Date: Sat, 18 Nov 2017 14:14:10 -0800

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.