all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 25511@debbugs.gnu.org
Subject: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter?
Date: Tue, 24 Jan 2017 09:45:37 +0900	[thread overview]
Message-ID: <b4mh94pe15a.fsf@jpl.org> (raw)
In-Reply-To: <b4mefzu1bh8.fsf@jpl.org>

On Tue, 24 Jan 2017 07:54:29 +0900, Katsumi Yamaoka wrote:
> On Mon, 23 Jan 2017 11:28:14 +0100, martin rudalics wrote:
>> Can you try this with a native Windows build and compare the behaviors?
> Ok, I'll try the binary distribution.

I tried emacs-25-20161227T071030Z-bin-i686-mingw32.7z in:
<https://sourceforge.net/p/emacs-bin/activity/?page=0&limit=100#58638d5fe88f3d01f432e025>

(make-frame '((left . 0) (top . 0)))
launches a new frame on the top-left corner of the *lower* screen,
the position and the size are:
((top . 0) (left . 0) (width . 80) (height . 36))
It varies to
((top + -1076) (left + -258) (width . 80) (height . 36))
after moving it to the top-left corner of the upper screen.
I feel it a very good behavior.

As for the eclipse of the bottom of an Emacs frame by the task-
bar, it doesn't happen by default.  However, it seems to be due
to the size of the default font.  The default font is somewhat
small to me, so I tried:

(add-to-list
 'default-frame-alist
 '(font
   . "-outline-Arial Unicode MS-normal-normal-normal-mono-16-*-*-*-p-*-iso8859-1"))

After that, a new frame got too tall, so I think I still need
a workaround like this:

(defadvice make-frame (after shrink-frame-height activate)
  "Shrink the height of a new frame."
  (sit-for 0)
  (if (> (frame-parameter ad-return-value 'height) 30)
      (modify-frame-parameters ad-return-value '((height . 30)))))

Regards,





  reply	other threads:[~2017-01-24  0:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-23  7:28 bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? Katsumi Yamaoka
2017-01-23  8:03 ` martin rudalics
2017-01-23  9:01   ` Katsumi Yamaoka
2017-01-23 10:28     ` martin rudalics
2017-01-23 22:54       ` Katsumi Yamaoka
2017-01-24  0:45         ` Katsumi Yamaoka [this message]
2017-01-24  7:46           ` martin rudalics
2017-01-24  9:18             ` Katsumi Yamaoka
2017-01-24  9:37               ` martin rudalics
2017-06-05 12:57                 ` npostavs
2017-06-05 13:36                   ` martin rudalics
2017-06-06  0:00                     ` npostavs
2017-06-06  6:38                       ` martin rudalics
2017-01-24  7:46         ` martin rudalics
2017-01-23 17:27   ` Noam Postavsky
2017-01-23 18:01     ` 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=b4mh94pe15a.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=25511@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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.