GNU bug report logs - #8862
compilation-window-height no good anymore

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Tue, 14 Jun 2011 15:04:01 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Nix <nix <at> esperi.org.uk>, 8862 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: bug#8862: compilation-window-height no good anymore
Date: Wed, 15 Jun 2011 10:09:50 -0400
>> Yes, being less eager to delete windows is good.  But why signal an
>> error rather than just make the window as big as possible without
>> deleting surrounding windows?
> I can do that for `enlarge-window' (and do a corresponding thing for
> `shrink-window').

AFAIK, `enlarge-window' did not signal an error when the size was too
large, so I think it's best to keep being silent, for backward
compatibility's sake.

> I can do that for the lower level function
> `resize-window' (aka `window-resize') as well but wouldn't we rather

Signalling an error is a good thing, wo while we shouldn't do it for
enlarge-window for compatibility reasons, we should do it for the
new functions like window-resize.

> I meant the functionality of `adjust-window-trailing-edge'.
> Before that change mouse dragging an edge could delete windows and
> after that change not.

Such changes to interactive behavior are much less problematic than
changes in non-interactive functions, since the first might at worst
surprise or disappoint the user, while the second can
break functionality.


        Stefan




This bug report was last modified 14 years and 18 days ago.

Previous Next


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