From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Gtk tabs in emacs, new branch Date: Sat, 10 Apr 2010 19:34:10 +0200 Message-ID: <4BC0B692.2000702@alice.it> References: <4BB4CF6B.2000007@alice.it> <4BB59476.7010600@swipnet.se> <4BB5C01E.10701@alice.it> <4BB608EE.7080101@swipnet.se> <4BB9A469.6050608@alice.it> <4BC072C3.2080302@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1270920894 14711 80.91.229.12 (10 Apr 2010 17:34:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2010 17:34:54 +0000 (UTC) Cc: Emacs To: =?UTF-8?B?SmFuIERqw6Rydg==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 10 19:34:52 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 1O0ea4-00075u-4N for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 19:34:52 +0200 Original-Received: from localhost ([127.0.0.1]:36943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0ea3-0001Q8-EX for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 13:34:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0eZe-0001IE-03 for emacs-devel@gnu.org; Sat, 10 Apr 2010 13:34:26 -0400 Original-Received: from [140.186.70.92] (port=45839 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0eZc-0001HZ-KC for emacs-devel@gnu.org; Sat, 10 Apr 2010 13:34:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0eZb-0005cg-LG for emacs-devel@gnu.org; Sat, 10 Apr 2010 13:34:24 -0400 Original-Received: from smtp-out110.alice.it ([85.37.17.110]:1597) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0eZb-0005cV-El for emacs-devel@gnu.org; Sat, 10 Apr 2010 13:34:23 -0400 Original-Received: from fbcmmo06.fbc.local ([192.168.184.137]) by smtp-out110.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Sat, 10 Apr 2010 19:34:19 +0200 Original-Received: from FBCMCL01B01.fbc.local ([192.168.69.82]) by fbcmmo06.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sat, 10 Apr 2010 19:34:12 +0200 Original-Received: from [82.57.152.110] ([82.57.152.110]) by FBCMCL01B01.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sat, 10 Apr 2010 19:34:12 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <4BC072C3.2080302@swipnet.se> X-OriginalArrivalTime: 10 Apr 2010 17:34:12.0375 (UTC) FILETIME=[08ADBA70:01CAD8D4] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ 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:123449 Archived-At: Il 10/04/2010 14.44, Jan Djärv ha scritto: > 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. Good to hear! but I can't yet test it because bootstrapping rev. 99648 (gtk-tabs branch) fails as follows: [...] make[3]: Entering directory `/tmp/emacs-gtk-tabs/build/lisp' Compiling /tmp/emacs/src/../lisp/term/w32-win.el Compiling /tmp/emacs/src/../lisp/emacs-lisp/easymenu.el Wrote /tmp/emacs/lisp/term/w32-win.elc Wrote /tmp/emacs/lisp/emacs-lisp/easymenu.elc make[3]: Leaving directory `/tmp/emacs-gtk-tabs/build/lisp' make[3]: Leaving directory `/tmp/emacs-gtk-tabs/build/lisp' rm -f ../etc/DOC ../lib-src/make-docfile -d /tmp/emacs/src dosfns.o msdos.o xterm.o xfns.o[...] /lisp/jka-cmpr-hook.elc ../lisp/ediff-hook.elc ../lisp/epa-hook.elc ../lisp/widget.elc ../lisp/window.elc ../lisp/version.el LC_ALL=C `/bin/pwd`/temacs -batch -l loadup dump Loading loadup.el (source)... Using load-path (/tmp/emacs/lisp) Loading emacs-lisp/byte-run... Loading emacs-lisp/backquote... Loading subr... Loading version.el (source)... [...] Loading tool-bar... Loading font-setting... Loading native-tabs.el (source)... Attempt to autoload define-minor-mode while preparing to dump make[2]: *** [emacs.exe] Error 255 make[2]: Leaving directory `/tmp/emacs-gtk-tabs/build/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/tmp/emacs-gtk-tabs/build' make: *** [bootstrap] Error 2 This happens both on GNU/Linux Kubuntu 9.10 and on Cygwin. in the same manner. Ciao, Angelo.