From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: poppyer Newsgroups: gmane.emacs.help Subject: Re: Customizing tab stops Date: Tue, 06 Jan 2009 11:01:17 +0800 Organization: Poppyer Group Message-ID: References: <44prj1qwva.fsf@be-well.ilk.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231213247 14894 80.91.229.12 (6 Jan 2009 03:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2009 03:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 06 04:41:58 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LK2pJ-0005rp-NZ for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jan 2009 04:41:57 +0100 Original-Received: from localhost ([127.0.0.1]:51036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LK2o4-0005Pd-AF for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jan 2009 22:40:40 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-X-Trace: news.eternal-september.org U2FsdGVkX18foAQGZ1Q4zIJFGC6F4TWNuFN8ClB+VFX1nbANEQZo+o81xnSslhRPMNxFvZPdilJz8dqWN8Btni9QSPUdvfu2BVVNsy20UqLSwsRG0haDgWsUMSOoOGiEhSePMxJz5FA= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Tue, 6 Jan 2009 03:01:18 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1++GnKDBWJ8SvqLI5/rjIg4eGj0eN4KB4U= Cancel-Lock: sha1:gNA6rocke9a193mdOfD4ImVXwQA= sha1:RwTFN7LLCPifx3DjUSBD+jFTALA= User-Agent: Emacs Gnus Original-Xref: news.stanford.edu gnu.emacs.help:165768 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61101 Archived-At: Lowell Gilbert writes: : kj writes: : :> In a Fundamental-mode buffer, inserting a tab causes the cursor to :> jump to the next tab stop. By default these tab stops are at :> positions 8, 16, 24, etc. I would like to customize these spacings :> for a particular buffer. :> :> I thought that the variable tab-stop-list would do the trick. So :> I made it local to the buffer, and used the command edit-tab-stops :> to edit its value. Originally its value was the default :> :> (8 16 24 32 40 48 56 64 72 80 88 96 104 112 120) :> :> and I changed it to :> :> (16 27 58 68) :> :> ...but the display of the buffer was not affected; i.e. the :> tab-separated fields in the buffer remained at the default tab :> stops. :> :> I realize that the customized local value of tab-stop-list does :> affect the behavior of the tab-to-tab-stop command in this buffer, :> but this is not what I'm interested in. I want to affect how Emacs :> *displays* the text that follows a tab. :> :> Is there a way to customize such display? setq default-tab-width will do part of the job, but I don't know if it will suit your needs, because your tab-stops are uneven. poppyer