emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-25 3722a69: Fix bugs in window resizing code


From: Óscar Fuentes
Subject: Re: emacs-25 3722a69: Fix bugs in window resizing code
Date: Tue, 01 Mar 2016 02:31:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Hello Martin.

Martin Rudalics <address@hidden> writes:

> branch: emacs-25
> commit 3722a694fa094f88f7dfe54ccce7ea7cbaab214a
> Author: Martin Rudalics <address@hidden>
> Commit: Martin Rudalics <address@hidden>
>
>     Fix bugs in window resizing code
>     
>     * lisp/window.el (adjust-window-trailing-edge): Fix mismatched
>     parenthesis.
>     (shrink-window, enlarge-window): Fix bug#22723 where windows
>     with preserved size would not get resized.  Also now signal an
>     error when the window cannot be shrunk or enlarged as requested.

[snip]

> +      (error "Cannot shrink selected window")))))

I was surprised to see my code failing because of this change. Throwing
an error on a case where previously nothing was done amounts to an API
change. My code was fixed by wrapping the call to enlarge-window with
ignore-errors, but I'm worried about all the code out there.



reply via email to

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