unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Tony Vitonis" <vitonis@comcast.deletethis.net>
Subject: Tabs (yikes)
Date: Tue, 18 Mar 2003 11:24:21 -0500	[thread overview]
Message-ID: <sJGdnbGJpLOm1eqjXTWcpQ@comcast.com> (raw)

Hi.  I'm a newbie having a tough time getting tabs to work the way I
want in Emacs.  (From the searches I've done, I'm not alone in this
regard. :))

My problem is this: In text mode, I want the Tab key to move to the
next default-tab-width stop, no matter what the context.  I've been
able to do it with these options:

   (define-key text-mode-map [tab] 'tab-to-tab-stop)
   (setq tab-stop-list '(3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48
51 54 57 60 63 66 69 72 75 78))

But I can *not* seem to find a way to make it happen using my
default-tab-width, which I've specified this way:

   (setq default-tab-width 3)

Is there any way to make this happen without typing in the long dreary
list of tab stops?  Thanks very much.

             reply	other threads:[~2003-03-18 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18 16:24 Tony Vitonis [this message]
2003-03-18 18:40 ` Tabs (yikes) Karl Pflästerer
2003-03-18 18:44 ` Benjamin Rutt

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sJGdnbGJpLOm1eqjXTWcpQ@comcast.com \
    --to=vitonis@comcast.deletethis.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).