all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gareth Rees <gareth.rees@pobox.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs and tab stops
Date: Wed, 10 Sep 2008 22:49:28 +0100	[thread overview]
Message-ID: <48c840e8$0$2932$fa0fcedb@news.zen.co.uk> (raw)
In-Reply-To: <mailman.18930.1221078010.18990.help-gnu-emacs@gnu.org>

tano wrote:
> I used to run emacs always in fundamental mode, because I do not
> like automatic indentation, so I put a line in my .emacs file
> like (setq auto-mode-alist nil) to leave my tab stop every 8 chars.
> However with new versions of emacs seems that things are changed.
> Even if I run fundamental mode, tab stops does not follow the standard
> indentation every 8 chars, but goes in the first char after a space
> on the previous line, for example.

This is because the TAB key is now bound to the function 
`indent-for-tab-command'.  (When did this change? I don't see anything 
in NEWS about it.)

The command you are looking for is `tab-to-tab-stop', which you can run 
by typing M-i, or you can bind it to the TAB key with something like

(global-set-key (kbd "TAB") #'tab-to-tab-stop)

-- 
Gareth Rees


       reply	other threads:[~2008-09-10 21:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.18930.1221078010.18990.help-gnu-emacs@gnu.org>
2008-09-10 21:49 ` Gareth Rees [this message]
2008-09-10 20:14 emacs and tab stops tano
2008-09-11  3:11 ` Eli Zaretskii
2008-09-11  4:53 ` Kevin Rodgers
2008-09-11 10:15   ` tano

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='48c840e8$0$2932$fa0fcedb@news.zen.co.uk' \
    --to=gareth.rees@pobox.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.