From: hemant <gethemant@gmail.com>
Subject: Need a simple text mode
Date: Wed, 6 Dec 2006 12:42:58 +0530 [thread overview]
Message-ID: <fb283d5e0612052312kd0ae711he9a68f2e50771a7e@mail.gmail.com> (raw)
Hi,
I wanted a simple text mode, in which all the newlines should be
started at the previous indentation level and If i want to change the
indentation level from any given line I would press <TAB> key, which
would insert 2 spaces from the current indentation level and indent
the line.
Many would claim, this is already the behaviour, but its not so. If I
press TAB sometimes I get indentation width of 2 or 4 or 8 spaces.
Even though I have set tab-stop variable to:
2 4 6 8 10 ....
So for setting up uniform indentation of 2 spaces in text mode, I did:
(define-key text-mode-map [tab] (lambda
() (interactive) (insert " ")))
I guess, you would agree this is not the solution.
Any help?
--
There was only one Road; that it was like a great river: its springs
were at every doorstep, and every path was its tributary.
next reply other threads:[~2006-12-06 7:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-06 7:12 hemant [this message]
[not found] <mailman.1590.1165389192.2155.help-gnu-emacs@gnu.org>
2006-12-06 17:46 ` Need a simple text mode roodwriter
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=fb283d5e0612052312kd0ae711he9a68f2e50771a7e@mail.gmail.com \
--to=gethemant@gmail.com \
/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.