Quote:
Try searching LQ before asking a question:
|
Ok, but I really had searched before, in the LinuxQuestions and google, but probably using wrong key words. I realized also, with the link you sent me, that an automatic indentation was not exactly what I wanted. I don't want something that changes the text as I am writing, but a command that indents all the text, instead of tab that indents just the current line.
Well, I found that simple and useful link:
http://everything2.com/title/the+key...rs+should+know
and then I was able to find a kind of "help commands" like
C-x C-h and
C-h b with which it is possible to find a lot of commands.
At last, I found the "indent selected region" command
C-M-\ that if pressed after the "select all" command C-x h will indent all text.
Now I would like how could I create a new single command that would work as this two above. I'm reading an emacs tutorial:
http://www.emacswiki.org/emacs-en
but the syntax of the .emacs file does not seem very easy to me.
Thanks again.