From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: scrollbar alternative Date: Mon, 15 Mar 2010 19:41:53 +0000 Organization: University of Cambridge Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1268682140 11726 80.91.229.12 (15 Mar 2010 19:42:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Mar 2010 19:42:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 15 20:42:16 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 1NrGB5-0007Yc-Pq for ged-emacs-devel@m.gmane.org; Mon, 15 Mar 2010 20:42:16 +0100 Original-Received: from localhost ([127.0.0.1]:43987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrGB5-00054r-3x for ged-emacs-devel@m.gmane.org; Mon, 15 Mar 2010 15:42:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrGAz-00053k-4p for emacs-devel@gnu.org; Mon, 15 Mar 2010 15:42:09 -0400 Original-Received: from [140.186.70.92] (port=53262 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrGAx-00052a-Qn for emacs-devel@gnu.org; Mon, 15 Mar 2010 15:42:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NrGAw-0004fm-3v for emacs-devel@gnu.org; Mon, 15 Mar 2010 15:42:07 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:54551) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrGAv-0004fe-UE for emacs-devel@gnu.org; Mon, 15 Mar 2010 15:42:06 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NrGAt-0007SO-Mx for emacs-devel@gnu.org; Mon, 15 Mar 2010 20:42:03 +0100 Original-Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Mar 2010 20:42:03 +0100 Original-Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Mar 2010 20:42:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:nPhjMWJaX8OU28cB8mrqdhq3uFE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:122022 Archived-At: On 2010-03-15 17:28 +0000, David Engster wrote: > To me, the GTK scrollbars always behaved a bit strange in this regard, > anyway. For example, I think scrollbars should be hidden when there is > nothing to scroll, this way giving you an immediate optical hint that > you're currently seeing everything there is. But in Emacs, you can > always scroll the window until (window-start) reaches (point-max). > > Therefore, I also disabled the scrollbar and now use some code to get a > scrollbar-like display in the mode-line. I know there's > size-indication-mode, but I find an information like "13% of 2.8k" not > very helpful. Does your code just show the percentage in a fancy face? I turned off scrollbar too and use fringe arrows and percentage on the modeline. I tried your code but didn't notice any difference. Leo