From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: shrink-window-if-larger-than-buffer in VC-diff Date: Sat, 14 Aug 2010 19:15:16 -0400 Message-ID: <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 1281827739 20233 80.91.229.12 (14 Aug 2010 23:15:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Aug 2010 23:15:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 15 01:15:38 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 1OkPwu-0007jk-VF for ged-emacs-devel@m.gmane.org; Sun, 15 Aug 2010 01:15:37 +0200 Original-Received: from localhost ([127.0.0.1]:51337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkPwt-0005M1-WA for ged-emacs-devel@m.gmane.org; Sat, 14 Aug 2010 19:15:36 -0400 Original-Received: from [140.186.70.92] (port=51726 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkPwo-0005Lw-NV for emacs-devel@gnu.org; Sat, 14 Aug 2010 19:15:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OkPwn-0001B3-RT for emacs-devel@gnu.org; Sat, 14 Aug 2010 19:15:30 -0400 Original-Received: from pantheon-po14.its.yale.edu ([130.132.50.23]:52231) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkPwn-0001At-ML for emacs-devel@gnu.org; Sat, 14 Aug 2010 19:15:29 -0400 Original-Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po14.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7ENFHhi007252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Aug 2010 19:15:24 -0400 Original-Received: by furry (Postfix, from userid 1000) id 1BB6516D402; Sat, 14 Aug 2010 19:15:16 -0400 (EDT) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:128714 Archived-At: When there are no changes, `C-x v D' does something annoying: it shrinks the window showing the *vc-diff* buffer to three lines tall. This makes the window useless for displaying other buffers; you have to resize it or delete it. 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?