From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: scrollbar alternative Date: Mon, 15 Mar 2010 11:20:48 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1268677489 25218 80.91.229.12 (15 Mar 2010 18:24:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Mar 2010 18:24:49 +0000 (UTC) To: "'David Engster'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 15 19:24:44 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 1NrEy3-0007Ku-B0 for ged-emacs-devel@m.gmane.org; Mon, 15 Mar 2010 19:24:43 +0100 Original-Received: from localhost ([127.0.0.1]:36686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrEy2-00037o-Jx for ged-emacs-devel@m.gmane.org; Mon, 15 Mar 2010 14:24:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrEvE-0000nR-Cy for emacs-devel@gnu.org; Mon, 15 Mar 2010 14:21:48 -0400 Original-Received: from [140.186.70.92] (port=47899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrEvC-0000lc-E1 for emacs-devel@gnu.org; Mon, 15 Mar 2010 14:21:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NrEvB-0003jH-38 for emacs-devel@gnu.org; Mon, 15 Mar 2010 14:21:46 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:27755) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrEvA-0003jD-UN for emacs-devel@gnu.org; Mon, 15 Mar 2010 14:21:45 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2FILYTV016819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Mar 2010 18:21:40 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2FEaeBw006405; Mon, 15 Mar 2010 18:21:32 GMT Original-Received: from abhmt017.oracle.com by acsmt353.oracle.com with ESMTP id 82277251268677247; Mon, 15 Mar 2010 11:20:47 -0700 Original-Received: from dradamslap1 (/130.35.179.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Mar 2010 11:20:47 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcrEZnHkeYtGLcgvR06PrpxVlM93xQAA66EA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4B9E7AAE.0080:SCFMA4539814,ss=1,fgs=0 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:122018 Archived-At: > 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. > > (defvar size-mode-line-max-length 30) Presumably, you meant `size-mode-line-length', which is what is used in the rest of the code. (Why not replace %p too, instead of having both?)