From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: Gtk tabs in emacs, new branch Date: Sat, 10 Apr 2010 14:44:51 +0200 Message-ID: <4BC072C3.2080302@swipnet.se> References: <4BB4CF6B.2000007@alice.it> <4BB59476.7010600@swipnet.se> <4BB5C01E.10701@alice.it> <4BB608EE.7080101@swipnet.se> <4BB9A469.6050608@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270903506 24386 80.91.229.12 (10 Apr 2010 12:45:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2010 12:45:06 +0000 (UTC) Cc: Emacs To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 10 14:45:05 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 1O0a3c-00083f-SR for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 14:45:05 +0200 Original-Received: from localhost ([127.0.0.1]:38829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0a3a-0001Kn-Tv for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 08:45:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0a3V-0001KI-Tv for emacs-devel@gnu.org; Sat, 10 Apr 2010 08:44:57 -0400 Original-Received: from [140.186.70.92] (port=45920 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0a3U-0001K7-Kp for emacs-devel@gnu.org; Sat, 10 Apr 2010 08:44:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0a3T-0006Lq-2i for emacs-devel@gnu.org; Sat, 10 Apr 2010 08:44:56 -0400 Original-Received: from smtprelay-h12.telenor.se ([62.127.194.5]:39124) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0a3S-0006Lb-Rs for emacs-devel@gnu.org; Sat, 10 Apr 2010 08:44:55 -0400 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h12.telenor.se (Postfix) with ESMTP id 499ADE8E1 for ; Sat, 10 Apr 2010 14:45:23 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au1DAKoPwEtV4S1uPGdsb2JhbACDEoRSk14MAQEBATUtqEGQSoEsgnJuBA X-IronPort-AV: E=Sophos;i="4.52,181,1270418400"; d="scan'208";a="506318230" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb3.telenor.se with ESMTP; 10 Apr 2010 14:44:52 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 7AA8F7FA01A; Sat, 10 Apr 2010 14:44:51 +0200 (CEST) User-Agent: Thunderbird 2.0.0.24 (X11/20100317) In-Reply-To: <4BB9A469.6050608@alice.it> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:123434 Archived-At: Angelo Graziosi skrev: > Still some observation... > > Suppose one starts Emacs, a single frame with 38 lines (Emacs.geometry: > 80x40-0+0 in .Xdefaults, for example). Now suppose one creates some > tabs: M-x tab-new. The lines now are 37 because one line is that of tabs > and the frame has the same size (height). If, now, one deletes the tabs, > the lines remain at 37 but the frame has the height shorter by one line. > Repeating this procedure the lines become 36, 35,... and the frame > shorter, shorter... > > Is this to be the right thing? My opinion is that the frame should have > always the same height and the line should be 38 (N) or 37 (N-1) if the > tabs are visible. Emacs tries to keep the frame size so an integral number of lines just fits. But tabs aren't (in general) exactly one or two lines high, so some resize will occur. I made some fix. I also made tab-mode a minor mode so it can be turned off by customize. Jan D.