bruno@tongo.dfrf.nasa.gov (Bruno Chenet) (06/07/90)
Hello,
I am using emacs on my SUN SPARK Station and while
writing some C codes, I am getting really frustrated by the lack of
power of this editor. Or maybe, it is just the fact that having recently
used the editor from Turbo C, I was spoiled. Anyway, is there somebody
that could tell me how to do the folowing commands in the smallest number
of steps:
1) How to cut and paste a word, line, paragraph?
2) How to set a mark on a particular line, go somewhere else, do some
stuff and then go back to my mark.
3) How to know on which line I am ?
4) How to block part of a text and print it, delete it or copy it to some
other program?
5) Any reference to a good book that can help me master the secrets of emacs.
I would appreciate any help,
Thanks
Brunojorgens@solan.unit.no (Kjetil Wiekhorst Joergensen) (06/07/90)
In article <528@skipper.dfrf.nasa.gov> bruno@tongo.dfrf.nasa.gov (Bruno Chenet) writes: > 1) How to cut and paste a word, line, paragraph? cut word: M-x kill-word (ESC-d) cut line: M-X kill-line (C-k) cut paragraph: M-x kill-region paste: M-x yank (C-y) > 2) How to set a mark on a particular line, go somewhere else, do some > stuff and then go back to my mark. M-x exchange-point-and-mark (C-x C-x) > 3) How to know on which line I am ? M-x what-line > 4) How to block part of a text and print it, delete it or copy it to some > other program? How to copy part of text: M-x copy-region-as-kill How to delete part of text: M-x kill-region > 5) Any reference to a good book that can help me master the secrets of emacs. 1: GNU Emacs Manual (Richard Stallman). -- =============================================================================== Kjetil Wiekhorst Joergensen('oe' is like TeXish {\o}): That is not dead which ------------------------------------------------------ eternal lie. Yet within jorgens@solan.unit.no -Sun : Internet-address : strange aeons even Death gijoe@norunit.bitnet -IBM : Bitnet-address : may die. -H.P.Lovecraft- ===============================================================================