all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: "Dr.-Ing. Dieter Jurzitza" <dieter.jurzitza@t-online.de>,
	24526@debbugs.gnu.org
Subject: bug#24526: iconifying / framesize
Date: Tue, 27 Sep 2016 09:07:29 +0200	[thread overview]
Message-ID: <57EA1AB1.2090707@gmx.at> (raw)
In-Reply-To: <2404679.08DogL2IpK@djunix>

 > I installed the released version of emacs-25.1 today. Thereby I can observe
 > differences in framesize between
 >
 > emacs -iconic
 >
 > and
 >
 > emacs
 >
 > both called from within an xterm. I configured the size of the frame in my
 > ".emacs" - file. Starting xwininfo and deiconifying emacs that had had been
 > started with "emacs -iconic" results in:
[...]
 >    -geometry 64x26+35+20
 >
 > In contrast, when simply triggering "emacs" not being iconic, I get
 > fred@djunix:~/rpmbuild/RPMS/x86_64> xwininfo
[...]
 >    -geometry 134x33+35+20
 >
 > The last lines from "-geometry" are very close to my settings from within
 > .emacs:
 >
 > (add-to-list 'default-frame-alist '(width . 135))
 > (add-to-list 'default-frame-alist '(height . 34))
 > (add-to-list 'default-frame-alist '(top . 20))
 > (add-to-list 'default-frame-alist '(left . 35))
 >
 > though the x- and y- size parameters are off by "1" this is no problem.

We should investigate this off-by-one issue separately.

In any case, what does evaluating (frame-geometry) return for the five
cases:

(1) emacs -Q

(2) emacs -Q -iconic

(3) emacs with your .emacs

(4) emacs -iconic with your .emacs

(5) emacs -iconic with your .emacs for the new frame after C-x 5 2

Maybe you could also try replacing ‘default-frame-alist’ with
‘initial-frame-alist’ but I doubt that would change anything.

 > However, the fact that the iconified emacs comes up with
 > -geometry 64x26+35+20 points me to the fact that the x- and y- size parameters
 > are not processed apropriately.

I suppose so.  I tried with your ‘default-frame-alist’ settings in
.emacs on Windows and can reproduce it with versions up from Emacs 21.
So apparently this never worked here.  Do you incidentally have an older
version of Emacs where this works correctly?  Which OS and window
manager do you use?

Thanks, martin






  parent reply	other threads:[~2016-09-27  7:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-24  9:08 bug#24526: iconifying / framesize Dr.-Ing. Dieter Jurzitza
2016-09-26 17:58 ` bug#24526: iconify / geometry Dr.-Ing. Dieter Jurzitza
2016-09-27  7:10   ` martin rudalics
2016-09-27  7:07 ` martin rudalics [this message]
2017-04-19  9:31   ` bug#24526: iconifying / framesize martin rudalics
2016-09-27 19:22 ` bug#24526: @ Bug 24526, please find textfile results attached Dr.-Ing. Dieter Jurzitza
2016-09-28  6:51   ` martin rudalics
2016-09-29  2:01 ` bug#24526: iconifying / framesize Dr.-Ing. Dieter Jurzitza
2016-09-30  8:33   ` martin rudalics
2016-10-02 17:16 ` bug#24526: hopefully all information requested Dr.-Ing. Dieter Jurzitza
2016-10-02 18:10   ` martin rudalics
2021-05-05  8:52 ` bug#24526: iconifying / framesize martin rudalics
2022-05-08 12:26   ` bug#24526: bug#24569: Fwd: " Lars Ingebrigtsen
2022-06-05 15:53     ` Lars Ingebrigtsen

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=57EA1AB1.2090707@gmx.at \
    --to=rudalics@gmx.at \
    --cc=24526@debbugs.gnu.org \
    --cc=dieter.jurzitza@t-online.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.