From xemacs-m  Wed Jan  8 01:58:15 1997
Received: from lemcbed.lem.uni-karlsruhe.de (lemcbed.lem.uni-karlsruhe.de [129.13.103.197])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with SMTP
	  id BAA08573 for <xemacs-beta@xemacs.org>; Wed, 8 Jan 1997 01:58:10 -0600 (CST)
Received: by lemcbed.lem.uni-karlsruhe.de; id AA01252; Wed, 8 Jan 1997 09:00:22 +0100
To: xemacs-beta@xemacs.org
Subject: Re: scrollbars
References: <9701080035.AA12973@euler.alphatech.com> <kigafql5608.fsf@jagor.srce.hr>
X-Face: Z[@OB)("ZvE?ev~1b+b!0ZUB.$%rh.9qE>dVf>q}Q/V?%d`J3gd!LR\aAZ8<Hwi]xTA(:*c;i3,?K?+rCy*^b$)a,}E?eo},}x2]5LlJysyoUOK"o[>K)'\Ulb7y-7*.If^;rHl['oa)n_M7E6w+LDKMs"G8_`c)uOS1^}.1|8Ill]7X68X-paeUOpBhz<F`B0?~^2Et~GYfw~/0]H]nx4~C_E/_mp#^7Ixc:
Reply-To: jens@lemcbed.lem.uni-karlsruhe.de
Mime-Version: 1.0 (generated by tm-edit 7.94)
Content-Type: text/plain; charset=US-ASCII
From: Jens Lautenbacher <jens@lemcbed.lem.uni-karlsruhe.de>
Date: 08 Jan 1997 09:00:22 +0100
In-Reply-To: Hrvoje Niksic's message of 08 Jan 1997 02:07:35 +0100
Message-Id: <x220bwlhpl.fsf@lemcbed.lem.uni-karlsruhe.de>
Lines: 49
X-Mailer: Red Gnus v0.76/XEmacs 19.14

Hrvoje Niksic <hniksic@srce.hr> writes:

> Greg Klanderman (greg@alphatech.com) wrote:
> 
> > In the gnus article buffer things are even stranger as the text within
> > hidden headers seems to effect the scrolling speed.  You can move the
> > scroll bar quite far when the hidden text is at the top of the window
> > with no scrolling taking place.  Its also annoying that the cursor can
> > move inside the hidden headers, instead of jumping over.  You have to
> > hit C-n once for every line to get through.
> 
> This seems to be a text-properties issue, possibly a defficiency in
> XEmacs' implementation of text properties.  AFAIK Gnus uses text-props
> for things like invisible text, and we implement them on top of
> extents.
This should be easily solvable with the use of the
atomic-extents. 

(load-library 'atomic-extents)
(put-text-property (beginning-of-line) (end-of-line) 'atomic t)

Unfortunately atomic-extents over more than one line are a little bit
broken. 

Tm suffers the same problem of not using the 'atomic property. Many
developers coming from GNU Emacs don't seem to know about this. they
have something like 'intangible I belive... Maybe we should just add
this to the standard text properties...

> Gnus could probably get better performance, as well as behavior, on
> XEmacs if it used the native extents, but it would ruin the
> compatibility with GNU Emacs.  As Gnus is developed on GNU Emacs, this
> is unthinkable.
> 
> > Clearly this is a pretty minor problem,
> 
> This is a minor problem right now.  But once we wish to implement more
> powerful capabilities to XEmacs (like word processing), it will be a
> pain.
> 

Before this can happen (something like word-processing) you have to
throw  away the whole current font model as I pointed out in a recent
posting (not that I'm able to provide a better one :-P).

So this scrollbar thingie seems really pretty minor!

Jens

