unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: Tab questions
Date: Mon, 11 Nov 2002 18:43:37 +0100	[thread overview]
Message-ID: <84u1iorohi.fsf@crybaby.uni-duisburg.de> (raw)
In-Reply-To: mailman.1037030769.22800.help-gnu-emacs@gnu.org

Todd Wylie <twylie@watson.wustl.edu> writes:

> I have a couple of questions about tab stops.
> 1: Is there a way to load edit-tab-stops from the .emacs file? Or must I M-x 
> edit-tab-stops each session?

M-x customize-variable RET tab-stop-list RET

Don't forget to save your changes.

> 2: I'm not too clear on how tabs are working. If I edit-tab-stops from 8 
> characters to 5 for the first tab stop and then use C-f it will traverse all 
> 5 spaces for the first tab stop -- however, it will jump all 8 spaces at the 
> same time at the next (unedited) tab stop. Are edited tab stops akin to 
> untabifying tabs (i.e. literal spaces)? I have the O'reilly GNU emacs book 
> but his section isn't very helpful... thanks.

There are two completely separate concepts: (1) where does the cursor
go when you hit TAB or M-i, (2) where does Emacs put tab characters
in your buffer.

The variable tab-width controls the latter.

(shameless plug)  You might also try the Emacs keybinding tutorial,
which used to be on my homepage but that is gone now.  Maybe Google
still has a copy.  I hope to reinstate my homepage asap, but I'm
quite busy at the moment...

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

       reply	other threads:[~2002-11-11 17:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1037030769.22800.help-gnu-emacs@gnu.org>
2002-11-11 17:43 ` Kai Großjohann [this message]
2002-11-12  5:42 ` Tab questions Umesh P Nair
2002-11-11 17:06 Bingham, Jay
  -- strict thread matches above, loose matches on Subject: below --
2002-11-11 15:48 Todd Wylie

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=84u1iorohi.fsf@crybaby.uni-duisburg.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /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).