all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: "7296@debbugs.gnu.org" <7296@debbugs.gnu.org>
Subject: bug#7296: display-pixel-height not enough
Date: Sun, 31 Oct 2010 11:51:08 +0100	[thread overview]
Message-ID: <4CCD4A1C.6070707@swipnet.se> (raw)
In-Reply-To: <AANLkTikZa7-9ZiHFr3VTXQBXfZ3wzWvzO0KZ03Gx7Sar@mail.gmail.com>



Lennart Borgman skrev 2010-10-30 20.59:
> On Sat, Oct 30, 2010 at 8:30 PM, Jan Djärv<jan.h.d@swipnet.se>  wrote:
>>
>>
>> Emacs should refrain from trying to maximize frames itself, because it is
>> not so simple as you state to just replace one height with another.
>
> I never said something about using those values for maximizing a frame. You
> simply do not do it that way on w32.

Hmm, what was this about then:
"Every function that tries to maximize just height will do it".

>
>> I know that W32 has some mechanism to maximize a window without fiddling
>> with height and width. You should check if there is a similar way to
>> maximize just height by asking the system to do it.
>
> I told how to do this earlier in this thread. Or did not that message reach
> you?

Actually you did not.  You showed how to get display pixel sizes.  More is 
needed to correctly calculate the Emacs frame dimensions.
One of the advantage of letting the window manager do it is that it knows 
about multiple displays.  It seems that on w32 you have to figure out this 
yourself.  I guess the lowlevel API functions can be used so that fullwidth 
and fullheight works on w32.  That is so much better than letting lisp code 
calculate frame sizes.

>
>> It is why Emacs only does maximizing and fullscreen by delegering it to
>> the window manager in X.
>
> Yes, it should do it the same way on w32, but you can not do it for just
> height or just width on w32. (But you can set height (or width) to the same
> value as it is with a maximized window.)

	Jan D.





  reply	other threads:[~2010-10-31 10:51 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 10:11 bug#7296: display-pixel-height not enough Lennart Borgman
2010-10-28 18:01 ` Eli Zaretskii
2010-10-28 20:39   ` Lennart Borgman
2010-10-29  7:59     ` Eli Zaretskii
2010-10-29  8:03       ` Lennart Borgman
2010-10-29 10:12         ` Eli Zaretskii
2010-10-29  8:42       ` Lennart Borgman
2010-10-29 10:13       ` Jan Djärv
2010-10-29 10:57         ` Eli Zaretskii
2010-10-29 12:28           ` Lennart Borgman
2010-10-29 13:15             ` Jan D.
2010-10-29 13:38               ` Lennart Borgman
2010-10-29 14:51                 ` Drew Adams
2010-10-29 16:53                 ` Jan Djärv
2010-10-29 17:37                   ` Stefan Monnier
2010-10-29 19:27                     ` Lennart Borgman
2010-10-29 19:59                     ` Jan D.
2010-10-29 16:24               ` Stefan Monnier
2010-10-29 19:57                 ` Jan D.
2010-10-29 20:05                   ` Lennart Borgman
2010-10-30  7:28                     ` Jan Djärv
2010-10-30  9:25                       ` Lennart Borgman
2010-10-30 10:45                         ` Jan Djärv
2010-10-30 14:05                           ` Lennart Borgman
2010-10-30 15:06                             ` Drew Adams
2010-10-30 15:14                               ` Lennart Borgman
2010-10-30 17:27                             ` Jan Djärv
2010-10-30 17:41                               ` Lennart Borgman
2010-10-30 18:30                                 ` Jan Djärv
2010-10-30 18:59                                   ` Lennart Borgman
2010-10-31 10:51                                     ` Jan Djärv [this message]
2010-10-31 12:46                                       ` Lennart Borgman
2010-11-01 11:37                                         ` Jan Djärv
2010-11-01 12:00                                           ` Lennart Borgman
2010-11-01 19:38                                             ` Jan Djärv
2010-11-01 20:26                                               ` Eli Zaretskii
2010-11-01 20:35                                                 ` Lennart Borgman
2010-11-01 21:11                                                 ` Jan Djärv
2010-11-01 21:40                                                   ` Eli Zaretskii
2010-11-02  1:09                                                     ` Jason Rumney
2010-11-02  4:01                                                       ` Eli Zaretskii
2010-11-02 13:25                                                         ` Jan D.
2010-11-02 14:53                                                           ` Eli Zaretskii
2010-11-02 16:10                                                             ` Lennart Borgman
2010-11-02 17:48                                                             ` Drew Adams
2010-11-02 17:54                                                             ` Jan Djärv
2010-10-31  3:47                                   ` Stefan Monnier
2010-10-31  4:13                         ` YAMAMOTO Mitsuharu
2010-10-31 10:46                           ` Lennart Borgman
2010-11-01  0:10                             ` YAMAMOTO Mitsuharu
2010-11-01  0:24                               ` Lennart Borgman
2010-11-01  0:56                                 ` YAMAMOTO Mitsuharu
2010-11-01  1:26                                   ` Lennart Borgman
2010-11-01  2:46                                     ` YAMAMOTO Mitsuharu
2010-11-01 10:20                                       ` Lennart Borgman
2010-11-01 11:40                                         ` Jan Djärv
2010-11-01 12:04                                           ` Lennart Borgman
2010-11-01 19:40                                             ` Jan Djärv
2010-11-02  3:45                                         ` YAMAMOTO Mitsuharu
2010-11-01  7:44                                     ` Jason Rumney
2010-11-01 10:12                                       ` Lennart Borgman
2010-11-01 15:09                                     ` Drew Adams
2010-11-01 18:08                                       ` Lennart Borgman
2010-11-02 14:24                                       ` Stefan Monnier
2010-11-02 15:24                                         ` Lennart Borgman
2010-11-02 17:17                                           ` Stefan Monnier
2010-10-31 10:53                           ` Jan Djärv
2010-11-02 18:24 ` Drew Adams
2015-01-03 18:46 ` martin rudalics
2015-02-13 18:29   ` 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=4CCD4A1C.6070707@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=7296@debbugs.gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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.