From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs and tab stops
Date: Wed, 10 Sep 2008 22:53:03 -0600 [thread overview]
Message-ID: <gaa87h$gii$1@ger.gmane.org> (raw)
In-Reply-To: <loom.20080910T201314-779@post.gmane.org>
tano wrote:
> Hello,
> 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.
> How can I set up things so that it work as I want?
> The previous answer talk me about setting tab stops, but
> looking at the tab stop variable all seems to be set correctly,
> every 8 chars, but however I do not get what I want..
1. In Fundamental mode: C-h k TAB
2. In *Help* buffer: follow the link for indent-line-function
3. C-h f indent-relative (I don't know why this isn't a link)
That suggests to me: (setq indent-line-function 'tab-to-tab-stop)
That by itself may disable automatic indentation, so you can
leave auto-mode-alist alone and get all the other benefits of
the various major modes.
--
Kevin Rodgers
Denver, Colorado, USA
next prev parent reply other threads:[~2008-09-11 4:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-10 20:14 emacs and tab stops tano
2008-09-11 3:11 ` Eli Zaretskii
2008-09-11 4:53 ` Kevin Rodgers [this message]
2008-09-11 10:15 ` tano
[not found] <mailman.18930.1221078010.18990.help-gnu-emacs@gnu.org>
2008-09-10 21:49 ` Gareth Rees
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='gaa87h$gii$1@ger.gmane.org' \
--to=kevin.d.rodgers@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.