GNU bug report logs - #24193
25.1; `window-min-size' fails for horizontal width when margins >= body text

Previous Next

Package: emacs;

Reported by: Paul Rankin <hello <at> paulwrankin.com>

Date: Tue, 9 Aug 2016 09:15:01 UTC

Severity: normal

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 24193 <at> debbugs.gnu.org (full text, mbox):

From: Paul Rankin <hello <at> paulwrankin.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 24193 <at> debbugs.gnu.org
Subject: Re: bug#24193: 25.1;
 `window-min-size' fails for horizontal width when margins >= body text
Date: Tue, 09 Aug 2016 20:37:13 +1000
martin rudalics <rudalics <at> gmx.at> on Tue, 09 Aug 2016 12:15 +0200:
> I share your opinion that "C-x 3 needs to work reliably for users
> without resorting to writing elisp".

Excellent.

> There you say:
> 
>     Someone seems to have made a very poor design
>     decision in changing the way window-min-size works.
> 
> Now with emacs -Q evaluate the following forms
> 
> (defun split-window-right-ignore (&optional size)
>    (interactive)
>    (split-window-right (or size (/ (window-total-width) 2))))
> 
> (define-key ctl-x-map "3" 'split-window-right-ignore)
> 
> (set-window-margins nil 20 20)
> 
> do C-x 3 and look at the resulting windows.  That's what I would call a
> "poor design decision".

https://gfycat.com/ZestyBeautifulEmeraldtreeskink

How about we maybe focus instead on solving this?




This bug report was last modified 4 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.