I'm relatively new to emacs and I want emacs to auto indent a line
according to the previous one.
Acoording to FAQ 46, indented-text-mode should do it.
Typing M-x indented-text-mode yields nothing, emacs simply ignores it.
I tried to use indent-mode.el by Norbert Preinig (indent-mode.el)
When I load it with
load-file indent-mode (with the appropriate path)
I get the error message:
Symbol's value as variable is void: ****
The I tried gin-mode.el by Martin Neizel, but emacs simply ignores it,
no
indentation whatsoever.
What am I doing wrong?
Can anybody help me?
Thoroughly frustrated
Armin Lambacher
-------------------------------------------------------------------------------
Armin Lambacher email:
lamb...@biochem.mpg.de
"Ich sag' nicht viel, aber was ich sag' ist Quatsch." (Pippi
Langstrumpf)
"He, der Kerl hat 'ne Meise, aber Rueckenwind!" (thomas d)
-------------------------------------------------------------------------------
##
Subject: Re: [Q] auto indent, how?
|Thu 98-03-12 Armin Lambacher <lamb...@biochem.mpg.de> gnu.emacs.help
|
| ..auto indent a line according to the previous one.
|
| Acoording to FAQ 46, indented-text-mode should do it.
| Typing M-x indented-text-mode yields nothing, emacs simply ignores it.
What does you C-h f indented-text-mode say?
Does modeline change when you hit M-x indented-text-mode?
What doees C-h k RET say after that M-x?
| I tried to use indent-mode.el by Norbert Preinig (indent-mode.el)
| Symbol's value as variable is void: ****
|
| The I tried gin-mode.el by Martin Neizel..no avail
Hre is one more, I guarrantee, it works and you need not search
further :-)
jari
ftp://cs.uta.fi/pub/ssjaaa/tiny-tools.tar.gz
ftp://cs.uta.fi/pub/ssjaaa/ema-tiny.html
Tinytab.el -- Programmers TAB minor mode. Very flexible.
Overview of features
o Programmable TAB. If you set the count to to 4,
you can virtually program "blindly" without any other modes.
o Selectable: 2, 4, 8 .. space indent.
o moving commands: tab-forward, tab-backward
o modify commands: tab-insert, tab-delete
o indent commands: tit-indent-by-tab-width, forward , backward
o Simple Positioning of braces { } supported when TAB hit.
Extras
>> o special auto-indent function offered for return key,
switch it on, and you can continue your shell,awk,perl comments...
o Press C-c TAB and your in constant indentation mode where
keys "wq" "as" "zx" indent region <--> by 1,2 and 4 until
esc pressed.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: Processed by Emacs TinyPgp.el 2.20
iQBVAwUBNQkUscC67dVHFB01AQHBIwH/Ralgk8rfUOma3Ijfz9RNJ2u5H+0KBVl5
u+PbghexsviNGcBQjQ7VZ3kIzrl9xRLoxpBHqXoq2beCdOZbIEKM9g==
=8dR+
-----END PGP SIGNATURE-----
Armin> Typing M-x indented-text-mode yields nothing, emacs simply
Armin> ignores it.
You don't say what version you're using. Indented Text Mode no longer
exists separately (see Emacs 20 NEWS). What did you expect it to do
that it failed to do? (Perhaps see also Adpative Fill in the manual.)
Armin> I'm relatively new to emacs and I want emacs to auto indent a
Armin> line according to the previous one.
What exactly is it that you want Emacs to do? Try typing M-x
indent-relative RET, is that what you want? You can tell your TAB key
to execute that command in text mode. Or do you want different
indentation when Emacs does word-wrap (auto-fill)? That's a different
story altogether.
kai
--
Really cancel? [OK] [Cancel]