unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* No 3d modeline
@ 2006-10-30 20:51 Chris Menzel
  2006-10-31  1:05 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Chris Menzel @ 2006-10-30 20:51 UTC (permalink / raw)


I compiled the latest xft branch of GNU emacs under both Ubuntu 6.10 and
FreeBSD 5.4 and have an identical problem with both of them.  Everything
seems to work just fine except that, instead of the usual 3d modeline,
I'm getting a flat 2d modeline.  Moreover, occasionally, when I scroll
down through a buffer a line or screen at a time, the last line of text
being displayed in the buffer window will overwrite some or all of the
modeline and I have to hit Ctrl-L to get it back.  Along the same lines,
the button widgets in the customization buffers are all 2d as well.  Can
anyone tell me what library or libraries (or anything else) I might be
missing that would cause this to occur?  I compiled with the gtk
toolkit, in case that is relevant.

Thanks.

Chris Menzel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No 3d modeline
  2006-10-30 20:51 No 3d modeline Chris Menzel
@ 2006-10-31  1:05 ` Peter Dyballa
       [not found] ` <mailman.445.1162256747.27805.help-gnu-emacs@gnu.org>
  2006-11-18 17:03 ` Chris Menzel
  2 siblings, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2006-10-31  1:05 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 30.10.2006 um 21:51 schrieb Chris Menzel:

> I compiled with the gtk toolkit, in case that is relevant.

This *is* relevant: GTK makes the mode-line 2D flat. The scroll-bars,  
too, look like 2D. A better 3D look can be achieved by configuring  
with libXaw3d. It also has a smaller foot print.

--
Greetings

   Pete

Got Mole problems?
Call Avogadro 6.02 x 10^23

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No 3d modeline
       [not found] ` <mailman.445.1162256747.27805.help-gnu-emacs@gnu.org>
@ 2006-10-31  1:24   ` Chris Menzel
  2006-10-31  9:36     ` Peter Dyballa
  2006-10-31  2:07   ` Chris Menzel
  1 sibling, 1 reply; 7+ messages in thread
From: Chris Menzel @ 2006-10-31  1:24 UTC (permalink / raw)


On Tue, 31 Oct 2006 02:05:37 +0100, Peter Dyballa <Peter_Dyballa@Web.DE> said:
> Am 30.10.2006 um 21:51 schrieb Chris Menzel:
>
>> I compiled with the gtk toolkit, in case that is relevant.
>
> This *is* relevant: GTK makes the mode-line 2D flat. The scroll-bars,  
> too, look like 2D. A better 3D look can be achieved by configuring  
> with libXaw3d. It also has a smaller foot print.

Many thanks.  Would you be so kind as to tell me what the relevant
configure option is for libXaw3d?  I tried "lucid" but still had the 2d
modeline.  Also, should this fix the problem of the last line in the
buffer window overwriting the modeline when I scroll down?

Thanks again.

Chris Menzel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No 3d modeline
       [not found] ` <mailman.445.1162256747.27805.help-gnu-emacs@gnu.org>
  2006-10-31  1:24   ` Chris Menzel
@ 2006-10-31  2:07   ` Chris Menzel
  2006-10-31  9:53     ` Peter Dyballa
  1 sibling, 1 reply; 7+ messages in thread
From: Chris Menzel @ 2006-10-31  2:07 UTC (permalink / raw)


On Tue, 31 Oct 2006 02:05:37 +0100, Peter Dyballa <Peter_Dyballa@Web.DE> said:
> Am 30.10.2006 um 21:51 schrieb Chris Menzel:
>
>> I compiled with the gtk toolkit, in case that is relevant.
>
> This *is* relevant: GTK makes the mode-line 2D flat. The scroll-bars,  
> too, look like 2D....

Actually, this appears not to be entirely the case.  The version of
emacs that Ubuntu installed has GTK menus, scrollbars, and modeline --
and while the scrollbars and modeline do have a somewhat flatter look
than the corresponding libXaw3d widgets, they still look much more 3d
than the *completely* flat, 2d look that I'm seeing in my self-compiled
version.  Moreover, the buttons in the customization buffers in the
Ubuntu-installed version are all 3d.  This makes me wonder whether the
source of the problem with my self-compiled version lies with my use of
the xft option to get (very handsome) anti-aliased fonts -- which I
really can no longer live without, having been spoiled by Emacs under
Mac OS X.

Chris Menzel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No 3d modeline
  2006-10-31  1:24   ` Chris Menzel
@ 2006-10-31  9:36     ` Peter Dyballa
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2006-10-31  9:36 UTC (permalink / raw)



Am 31.10.2006 um 02:24 schrieb Chris Menzel:

> Would you be so kind as to tell me what the relevant
> configure option is for libXaw3d?

./configure --help should provide all necessary pointers. In case of  
libXaw3d nothing is needed, i.e. not choosing motif or gtk (or carbon  
or ns), except that the library has to be found during the configure  
stage. At its end some general findings are reported.

> I tried "lucid" but still had the 2d modeline.

This is meant to create an old and very pleasing look&feel. It's  
synonymous with athena, i.e. it uses libXaw for buttons, menus, and  
scroll-bars, or libXaw3d if this library *and* its header files are  
found.

>   Also, should this fix the problem of the last line in the
> buffer window overwriting the modeline when I scroll down?

Certainly not. You should investigate this phenomenon, best when you  
launch GNU Emacs with -Q, i.e. without your customisation (which  
might introduce errors). There are also X resources that have an  
impact on Emacs' look. Particularly when using GTK you have a special  
editor to set so many details that after some weeks you can ask  
yourself: what real work have I done?

--
Greetings

   Pete

Well done is better than well said.
                            -- Benjamin Franklin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No 3d modeline
  2006-10-31  2:07   ` Chris Menzel
@ 2006-10-31  9:53     ` Peter Dyballa
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2006-10-31  9:53 UTC (permalink / raw)



Am 31.10.2006 um 03:07 schrieb Chris Menzel:

> On Tue, 31 Oct 2006 02:05:37 +0100, Peter Dyballa  
> <Peter_Dyballa@Web.DE> said:
>> Am 30.10.2006 um 21:51 schrieb Chris Menzel:
>>
>>> I compiled with the gtk toolkit, in case that is relevant.
>>
>> This *is* relevant: GTK makes the mode-line 2D flat. The scroll-bars,
>> too, look like 2D....
>
> Actually, this appears not to be entirely the case.  The version of
> emacs that Ubuntu installed has GTK menus, scrollbars, and modeline --
> and while the scrollbars and modeline do have a somewhat flatter look
> than the corresponding libXaw3d widgets, they still look much more 3d
> than the *completely* flat, 2d look that I'm seeing in my self- 
> compiled
> version.  Moreover, the buttons in the customization buffers in the
> Ubuntu-installed version are all 3d.  This makes me wonder whether the
> source of the problem with my self-compiled version lies with my  
> use of
> the xft option to get (very handsome) anti-aliased fonts -- which I
> really can no longer live without, having been spoiled by Emacs under
> Mac OS X.
>

Choose 'Send Bug Report…' from the Help menu to see which libraries  
and configure options were used. LibXft is specialised on treating  
fonts. It can't have an impact on the look of buttons. Linux and  
other UNICES have commands similiar to Mac OS X's otool that can  
reveal which libraries a particular programme needs, ldd for example.  
This might help also.

My self-compiled GNU Emacsen for X11 use in Mac OS X these libraries:

	/sw/lib/libgif.4.dylib (compatibility version 6.0.0, current version  
6.4.0)
	/sw/lib/libjpeg.62.dylib (compatibility version 63.0.0, current  
version 63.0.0)
	/sw/lib/libpng.3.dylib (compatibility version 16.0.0, current  
version 16.0.0)
	/sw/lib/libtiff.3.dylib (compatibility version 12.0.0, current  
version 12.2.0)
	/sw/lib/libXaw3d.7.dylib (compatibility version 7.0.0, current  
version 7.0.0)
	/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0,  
current version 5.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current  
version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current  
version 88.1.7)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version  
1.2.3)
	/usr/X11R6/lib/libICE.6.dylib (compatibility version 6.3.0, current  
version 6.3.0)
	/usr/X11R6/lib/libSM.6.dylib (compatibility version 6.0.0, current  
version 6.0.0)
	/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current  
version 6.2.0)
	/usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current  
version 6.4.0)
	/usr/X11R6/lib/libXmu.6.dylib (compatibility version 6.2.0, current  
version 6.2.0)
	/usr/X11R6/lib/libXpm.4.dylib (compatibility version 4.11.0, current  
version 4.11.0)
	/usr/X11R6/lib/libXt.6.dylib (compatibility version 6.0.0, current  
version 6.0.0)

Using libXft leads (led) to a high CPU load (for Unicode Emacs  
23.0.0, where this configure option exists). I have the typical  
libXaw3d look for buttons and scroll-bars, but no 3D mode-line. This  
can be due to some customisation, because launching GNU Emacs with -Q  
shows some 3D effect.

--
Greetings

   Pete

To most people solutions mean finding the answers. But to chemists  
solutions
are things that are still all mixed up.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No 3d modeline
  2006-10-30 20:51 No 3d modeline Chris Menzel
  2006-10-31  1:05 ` Peter Dyballa
       [not found] ` <mailman.445.1162256747.27805.help-gnu-emacs@gnu.org>
@ 2006-11-18 17:03 ` Chris Menzel
  2 siblings, 0 replies; 7+ messages in thread
From: Chris Menzel @ 2006-11-18 17:03 UTC (permalink / raw)


On Mon, 30 Oct 2006 20:51:36 +0000 (UTC), Chris Menzel
<cmenzel@remove-this.tamu.edu> said:
> I compiled the latest xft branch of GNU emacs under both Ubuntu 6.10
> and FreeBSD 5.4 and have an identical problem with both of them.
> Everything seems to work just fine except that, instead of the usual
> 3d modeline, I'm getting a flat 2d modeline.  Moreover, occasionally,
> when I scroll down through a buffer a line or screen at a time, the
> last line of text being displayed in the buffer window will overwrite
> some or all of the modeline and I have to hit Ctrl-L to get it back.
> Along the same lines, the button widgets in the customization buffers
> are all 2d as well.  Can anyone tell me what library or libraries (or
> anything else) I might be missing that would cause this to occur?  I
> compiled with the gtk toolkit, in case that is relevant.

Just to follow up on this, I managed successfully to compile the
unicode-2 cvs branch with the gtk toolkit and xft support, obtained via:

  cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/emacs co \
  -remacs-unicode-2 emacs

The 2D problems noted above disappeared and, despite the red startup
warning about this being alpha software, it has been rock solid despite
some heavy use.  (Nonetheless, being a cautious fellow, I *have* set up
the backup options to keep a snapshot of my document with every save. :-)
The version in which I encountered the problems noted was the XFT_JHD
branch, obtained via:

  cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/emacs co emacs

and

  cd emacs ; cvs up -Pd -r XFT_JHD_BRANCH

Chris Menzel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-11-18 17:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 20:51 No 3d modeline Chris Menzel
2006-10-31  1:05 ` Peter Dyballa
     [not found] ` <mailman.445.1162256747.27805.help-gnu-emacs@gnu.org>
2006-10-31  1:24   ` Chris Menzel
2006-10-31  9:36     ` Peter Dyballa
2006-10-31  2:07   ` Chris Menzel
2006-10-31  9:53     ` Peter Dyballa
2006-11-18 17:03 ` Chris Menzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).