emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gtk tabs in emacs, new branch


From: Angelo Graziosi
Subject: Re: Gtk tabs in emacs, new branch
Date: Sat, 10 Apr 2010 19:34:10 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]