From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Kliff Jochens Newsgroups: gmane.emacs.help Subject: prefix line with number WAS: Are Windows-Emacs' scrollbars broken? Date: 12 Apr 2003 23:01:16 -0300 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1050199276.11530.13.camel@arcadia.localdomain> References: <445cd6bf.0304100110.360fdd1f@posting.google.com> <7263-Sat12Apr2003120721+0300-eliz@elta.co.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1050199985 12885 80.91.224.249 (13 Apr 2003 02:13:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Apr 2003 02:13:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 13 04:13:02 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 194WzO-0003LX-00 for ; Sun, 13 Apr 2003 04:13:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194WzP-0000OI-02 for gnu-help-gnu-emacs@m.gmane.org; Sat, 12 Apr 2003 22:13:03 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 194Wz8-000096-00 for help-gnu-emacs@gnu.org; Sat, 12 Apr 2003 22:12:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 194Wz4-0008NC-00 for help-gnu-emacs@gnu.org; Sat, 12 Apr 2003 22:12:43 -0400 Original-Received: from salvatore2.bol.com.br ([200.221.24.87]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194Wz3-00059U-00 for help-gnu-emacs@gnu.org; Sat, 12 Apr 2003 22:12:42 -0400 Original-Received: from cm-net-poa-C8B0226B.brdterra.com.br (200.221.24.99) by salvatore2.bol.com.br (5.1.071) id 3E766FC900623BA4 for help-gnu-emacs@gnu.org; Sat, 12 Apr 2003 23:11:31 -0300 Original-To: help-gnu-emacs@gnu.org In-Reply-To: <7263-Sat12Apr2003120721+0300-eliz@elta.co.il> X-Mailer: Ximian Evolution 1.2.0 X-Sender-IP: 200.176.34.107 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8424 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8424 On Sat, 2003-04-12 at 07:07, Eli Zaretskii wrote: > > > It doesn't scroll all the way to the bottom, stopping a couple of > > lines before the end of the buffer. > > And the scrolling text jitters up & down while scrolling. > > This is because Emacs sets the scroll-bar thumb size based on the > number of characters, not lines. One reason is that Emacs doesn't > count lines in the buffer unless specifically required to do so by > some command. Now that you mentioned it, how can I have each line of the buffer prefixed with its number? All I managed to do was to show on the line with the file name (and etc), as well as the column, but I'd preffer to have the line shown at the begginig of line. Anyone knows how to do that (GNU Emacs 21.2.1)? -- John Kliff Jochens