From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: too many spaces indented in *Occur* buffer Date: Thu, 03 Aug 2006 01:43:08 +0800 Message-ID: <87mzant4nn.fsf@jidanni.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1154542554 26462 80.91.229.2 (2 Aug 2006 18:15:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Aug 2006 18:15:54 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 02 20:15:46 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G8LFU-0002C7-VL for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Aug 2006 20:15:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8LFU-0004hk-9R for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Aug 2006 14:15:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G8LFR-0004h4-Kn for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2006 14:15:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G8LFO-0004fk-6k for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2006 14:15:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8LFO-0004fh-3t for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2006 14:15:10 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G8LIY-0004WO-Ed for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2006 14:18:26 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1G8LFN-0007dK-Nx for gnu-emacs-bug@gnu.org; Wed, 02 Aug 2006 14:15:09 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52) id 1G8LIW-0004WF-NI for gnu-emacs-bug@gnu.org; Wed, 02 Aug 2006 14:18:26 -0400 Original-Received: from [204.74.68.40] (helo=frodo.hserus.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G8LIW-0004Vc-Dn for gnu-emacs-bug@gnu.org; Wed, 02 Aug 2006 14:18:24 -0400 Original-Received: from tc218-187-20-100.dialup.dynamic.apol.com.tw ([218.187.20.100]:2370 helo=jidanni1) by frodo.hserus.net with esmtpsa (Cipher TLSv1:AES256-SHA:256) (Exim 4.62 #0) id 1G8LF9-0001eG-BD by authid with plain for ; Wed, 02 Aug 2006 23:44:56 +0530 Original-To: gnu-emacs-bug@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15254 Archived-At: Gentlemen, there's just too many spaces reserved at the begging of each line in *Occur* buffers: 40 matches for "q" in buffer: apt-offline.log 79:Package python-pygresql has broken dep 80: Considering python2.3-pygresql 1 as 115:Package php4-mysql has broken dep on... We see you have reserved 1234567: spaces, indicating you normally browse million line files. OK, no need to dynamically figure out how many spaces. Just reserve 3. Looks ugly at the 999 1000, 9999 10000 etc. boundary, but let the user configure it with a variable too. Wait, M-x grep doesn't cause spaces at all and never looked bad. OK, make that default 0.