bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16430: 24.3.50; When fullscreen is triggered from the window manager


From: Bastien
Subject: bug#16430: 24.3.50; When fullscreen is triggered from the window manager, I can't resize window (via M-x org-export RET)
Date: Mon, 20 Jan 2014 19:25:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

martin rudalics <rudalics@gmx.at> writes:

>> window #<window 24 on *Org Export Dispatcher*> height 17
>
> Your buffer is too large to be fit to the window so
> `fit-window-to-buffer' tries to get as much as it can.
> `window-max-delta' in this case gives 17 because the minimum height of a
> window is 4 and 21 - 4 = 17.  Unfortunately, the window above is not 21
> lines high but only 372 / 18, that is, 20.666... lines.
>
> Now all this wouldn't be a problem per se: Unfortunately,
> `window-resize' (the routine that does the actual resizing) counts
> pixelwise internally and is very meticulous wrt minimum sizes so it
> complains about the missing 0.333... lines.

Thanks for the detailed explanations.

> I'm not yet sure where precisely to handle this.  Meanwhile, try the
> `window--max-delta-1' below and tell me whether it fixes the
> problem.

It does wonderfully, thanks!

> Thanks for your collaboration, martin

Well, it was a long trip, I hope it will be useful.  I'm surely
not the only one to try exporting an Org file in a wm-fullscreen.

Thansk again,

-- 
 Bastien





reply via email to

[Prev in Thread] Current Thread [Next in Thread]