From: poppyer <poppyer@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Customizing tab stops
Date: Tue, 06 Jan 2009 11:01:17 +0800 [thread overview]
Message-ID: <bbbpul16ki.fsf@nusnet-97-126.dynip.nus.edu.sg> (raw)
In-Reply-To: 44prj1qwva.fsf@be-well.ilk.org
Lowell Gilbert <lgusenet@be-well.ilk.org> writes:
: kj <socyl@987jk.com.invalid> 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
next prev parent reply other threads:[~2009-01-06 3:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-04 16:54 Customizing tab stops kj
2009-01-05 21:14 ` Lowell Gilbert
2009-01-06 3:01 ` poppyer [this message]
2009-01-07 4:19 ` Chetan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bbbpul16ki.fsf@nusnet-97-126.dynip.nus.edu.sg \
--to=poppyer@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.