From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: shrink-window-if-larger-than-buffer in VC-diff Date: Mon, 16 Aug 2010 00:44:35 +0200 Message-ID: References: <87aaoo7pmj.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1281912309 18087 80.91.229.12 (15 Aug 2010 22:45:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Aug 2010 22:45:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 16 00:45:07 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 1Oklwx-0007vN-64 for ged-emacs-devel@m.gmane.org; Mon, 16 Aug 2010 00:45:07 +0200 Original-Received: from localhost ([127.0.0.1]:53402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oklww-0004tp-Ee for ged-emacs-devel@m.gmane.org; Sun, 15 Aug 2010 18:45:06 -0400 Original-Received: from [140.186.70.92] (port=54303 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oklwo-0004se-2y for emacs-devel@gnu.org; Sun, 15 Aug 2010 18:44:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oklwm-0002gl-KR for emacs-devel@gnu.org; Sun, 15 Aug 2010 18:44:57 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:34893) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oklwm-0002gh-Hi for emacs-devel@gnu.org; Sun, 15 Aug 2010 18:44:56 -0400 Original-Received: by iwn10 with SMTP id 10so1266294iwn.0 for ; Sun, 15 Aug 2010 15:44:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=aUe1z2MW8H7PDzamAYq859tCrnraYcJz1tZ368Ixpvw=; b=Pe0vQym6p/3XV2e08J8lkVzJBz7JQCyij8zeGupvXAmtZXUW81fK8olErAAitg1bbw mUoCyL9jAamNyKWYmHpQ1D5DGNIiOc6yC/Og0E1wSmZIXh/j2gdezcBdQYJ5aLfqZg95 TgiCWjLtImXrAOKTHkCADWN4Lu+jBID8c+8aU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=gAsyQyCZY08wiyvihVOtB7iQq27ZyRbtk7WWusWUUja4+3PxyWXt53emuD/NX0r9dR YSSqtBSUJiJZs4sO1Gi/1L7OZgGmC8hlxEfHm516LSfuRjfj/wfH34sgdNjE0/obdZeA TDT891cQ2j14B+xM/EM0Xu849NeUHKdNF0VqE= Original-Received: by 10.231.191.74 with SMTP id dl10mr4837758ibb.157.1281912295219; Sun, 15 Aug 2010 15:44:55 -0700 (PDT) Original-Received: by 10.231.151.132 with HTTP; Sun, 15 Aug 2010 15:44:35 -0700 (PDT) In-Reply-To: <87aaoo7pmj.fsf@stupidchicken.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:128763 Archived-At: On Sun, Aug 15, 2010 at 01:15, Chong Yidong wrote: > I think the shrink-window-if-larger-than-buffer call in vc-diff-finish > shouldn't be there in the first place. =C2=A0It's well-intentioned, but e= ven > in cases less extreme that the above, it can be annoying to resize the > user's windows. =C2=A0Any objection to removing this call? IMHO, such cases should be made optional (perhaps a global variable covering such uses in many/most/all modes?) instead of removed. I usually *always* want the shrinking behavior, and rarely reuse the window. =C2=A0 =C2=A0 Juanma