From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: shrink-window-if-larger-than-buffer in VC-diff Date: Sun, 15 Aug 2010 10:14:52 +0900 Message-ID: <87d3tk1xtf.fsf@catnip.gol.com> References: <87aaoo7pmj.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281834918 6234 80.91.229.12 (15 Aug 2010 01:15:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Aug 2010 01:15:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 15 03:15:17 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OkRog-0005Ea-CB for ged-emacs-devel@m.gmane.org; Sun, 15 Aug 2010 03:15:14 +0200 Original-Received: from localhost ([127.0.0.1]:50097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkRof-00065R-EB for ged-emacs-devel@m.gmane.org; Sat, 14 Aug 2010 21:15:13 -0400 Original-Received: from [140.186.70.92] (port=48114 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkRoY-00065M-Uu for emacs-devel@gnu.org; Sat, 14 Aug 2010 21:15:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OkRoX-0004UK-Vt for emacs-devel@gnu.org; Sat, 14 Aug 2010 21:15:06 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:37132) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkRoX-0004UG-PL for emacs-devel@gnu.org; Sat, 14 Aug 2010 21:15:05 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OkRoW-0005DY-DC for emacs-devel@gnu.org; Sun, 15 Aug 2010 03:15:04 +0200 Original-Received: from 218.231.154.125.eo.eaccess.ne.jp ([218.231.154.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Aug 2010 03:15:04 +0200 Original-Received: from miles by 218.231.154.125.eo.eaccess.ne.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Aug 2010 03:15:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 218.231.154.125.eo.eaccess.ne.jp System-Type: x86_64-unknown-linux-gnu Cancel-Lock: sha1:/8Aid3G9FG6iVP0ofUO+yJ0WAx4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128717 Archived-At: Chong Yidong writes: > I think the shrink-window-if-larger-than-buffer call in vc-diff-finish > shouldn't be there in the first place. It's well-intentioned, but even > in cases less extreme that the above, it can be annoying to resize the > user's windows. Any objection to removing this call? Isn't this same objection also applicable to _all_ uses of shrink-window-if-larger-than-buffer? [Sometimes I like the effect of such shrinking, sometimes I'm annoyed by it, but I don't see a really good way to decide between these cases mechanically... well except that obviously for "transient" windows -- e.g. completion from the minibuffer -- shrinking is almost always good.] -Miles -- The car has become... an article of dress without which we feel uncertain, unclad, and incomplete. [Marshall McLuhan, Understanding Media, 1964]