[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: frame size&position woes
From: |
Eli Zaretskii |
Subject: |
Re: frame size&position woes |
Date: |
Wed, 24 Jul 2013 06:55:10 +0300 |
> From: Juanma Barranquero <address@hidden>
> Date: Wed, 24 Jul 2013 01:47:51 +0200
> Cc: martin rudalics <address@hidden>, Emacs developers <address@hidden>
>
> Some people want for desktop-restore-frames to move on-screen frames
> that are wholly off-screen. The only way to know the screen dimensions
> is via `frame-monitor-attributes', which answers in pixels. Without
> the real, window manager style physical size of a frame in pixels, all
> we can do is crude heuristics.
You should be able to approximate that by multiplying the
character-unit dimensions by the pixel size of the default face's
font. The result might be a few pixels off, but I don't see that as a
grave problem, at least not until we have better facilities.
> Restoring "one or two lines more or less" is not a big failure, but
> it is also not a good result for code whose only purpose is to
> restore frames' sizes and positions.
It's good enough for me, because currently I have to restore my frames
manually every time I quit and restart Emacs for some reason.
- Re: frame size&position woes, (continued)
- Re: frame size&position woes, Juanma Barranquero, 2013/07/21
- Re: frame size&position woes, martin rudalics, 2013/07/21
- Re: frame size&position woes, Juanma Barranquero, 2013/07/21
- Re: frame size&position woes, Juanma Barranquero, 2013/07/21
- Re: frame size&position woes, martin rudalics, 2013/07/22
- Re: frame size&position woes, Juanma Barranquero, 2013/07/22
- Re: frame size&position woes, Eli Zaretskii, 2013/07/22
- Re: frame size&position woes, Juanma Barranquero, 2013/07/22
- Re: frame size&position woes, Eli Zaretskii, 2013/07/22
- Re: frame size&position woes, Juanma Barranquero, 2013/07/23
- Re: frame size&position woes,
Eli Zaretskii <=
- Re: frame size&position woes, Juanma Barranquero, 2013/07/24
- Re: frame size&position woes, Eli Zaretskii, 2013/07/24
- Re: frame size&position woes, Juanma Barranquero, 2013/07/24
- Re: frame size&position woes, Eli Zaretskii, 2013/07/24
- Re: frame size&position woes, Juanma Barranquero, 2013/07/24
- Re: frame size&position woes, Eli Zaretskii, 2013/07/24
- Re: frame size&position woes, Juanma Barranquero, 2013/07/24