Equivalent commands in Emacs


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Equivalent commands in Emacs
# 1  
Old 01-31-2004
Equivalent commands in Emacs

Hi all
Can somebody tell me few emacs command for these:
#1.
How do I execute the last command in Emacs again. I mean Like the way one does in shell thru history or some other mechanism to do that. I am familiar withthe number argument. I mean if I have executed one command and after executing it I need to execute again, is there a quick way to do it.
#2.
How does one do find again the in Emacs.
#3.
How does one do 'redo' after undoing some
#4
And the last one 'Replace all' without using sed.
Thanks
# 2  
Old 02-02-2004
As you can see, there's no shortage of emacs tutorials on the web!

(1) http://www.cs.nott.ac.uk/TSG/manuals...toc.html#TOC38
Quote:
B.1 Starting Emacs, File Commands

Most interactive commands like "find file" or "write file" prompt for input in the so-called mini buffer, the last line of the emacs window. The minibuffer supports edit commands like cut & paste and, what is very comfortable, the file name completion known from Unix shells: Just press the tab key to complete a filename, and space to get a list of possible completions, from which you can select one with the mouse. Navigating through your file structure with the keyboard and completion is much faster than double-clicking through file dialogs. The minibuffer also facilitates a history: repeated up brings back the last inputs. Minibuffer commands:

tab
Filename completion

space
List completions

up
History invokation
(2) http://www.cs.nott.ac.uk/TSG/manuals...toc.html#TOC40
Quote:
B.2.1 Find and Replace

C-s
Find... (Search)

C-s C-s
Find again

M-%
Replace...

C-g
Abort

Find and replace always start at the cursor position. If you want to move to the next occurence in a search, just hit C-s again.

After entering text and replacement you are prompted at each occurrence whether to replace or not. You have the options yes, no, ! to replace all and C-g to abort. (Abort and undo work in all contexts.)
(3) http://home.no.net/skund/emacs/emacs046.htm
Quote:
Undo and Redo

"Rather than having a Redo mechanism (that is, by default) the Undo commands of Emacs can themselves be undone. This might be very confusing to newcomers to Emacs but, if you get it right, it is in fact very simple: 'Undo commands of Emacs are commands that later can be undone themselves.'"
(4) Refer to the last sentence in part 2 above...
# 3  
Old 02-02-2004
Thanks, excellent.
i found to redo is C-x z as well.
SS
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Emacs on AIX 7.2

After I had successfully installed bash I wanted to install emacs. I downloaded the packages from IBM (emacs, emacs-nox, and emacs-X11), but I could not install emacs-X11. It needs libjpeg and libtiff, but I couldn't install both libs. Error messages: file /opt/freeware/64 from install of... (2 Replies)
Discussion started by: BuSchu
2 Replies

2. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

3. Solaris

LOM ALOM ILOM ELOM RSC SP commands equivalent

Has anyone got an equivalent commands sheet for all Sun's serial or network management ports? (1 Reply)
Discussion started by: son_t
1 Replies

4. UNIX for Dummies Questions & Answers

Emacs

could someone please tell me how do I work emacs on unix?? how do you input the command and open up files and edit stuff. I know M-x info will lauch the info viewer, C-x u is undo, M-x spell-region run a spell check but when i use some of these command on emacs in Unix, I'm getting no results or... (1 Reply)
Discussion started by: starwind4
1 Replies

5. Solaris

emacs on solaris

Hello, Does anyone know where there is an nice step by step to install emacs? Or is ti just as easy as download, untar, run an install script sort of deal? (3 Replies)
Discussion started by: komputersman
3 Replies

6. UNIX for Dummies Questions & Answers

Help on EMACS

Any one has a good documentation on How To Use EMACs editor?? Thanks Ven :eek: (4 Replies)
Discussion started by: VENC22
4 Replies

7. UNIX for Dummies Questions & Answers

IBM-aix equivalent to these hp-ux commands

hi , what are the ibm equivalent to the below commands. thanks top glance ioscan (1 Reply)
Discussion started by: yls177
1 Replies

8. UNIX for Advanced & Expert Users

Commands on Digital Unix equivalent to for "top" and "sar" on other Unix flavour

Hi, We have a DEC Alpha 4100 Server with OSF1 Digital Unix 4.0. Can any one tell me, if there are any commands on this Unix which are equivalent to "top" and "sar" on HP-UX or Sun Solaris ? I am particularly interested in knowing the CPU Load, what process is running on which CPU, etc. ... (1 Reply)
Discussion started by: sameerdes
1 Replies

9. UNIX for Dummies Questions & Answers

eMacs FontFace

Hi, I am working with xEmacs 21.1 patch 14. I see I can configure it to be very User Friendly. I can highlight variables, color them, and actually make it look like a Visual IDE. How do I configure it? How do I color Variables in one color, and make them bold, and how do I change the... (1 Reply)
Discussion started by: sierra_aar
1 Replies

10. UNIX for Dummies Questions & Answers

Emacs Editor

hi i am using mandrake linux How do i run the emacs editor ? (5 Replies)
Discussion started by: srekcus
5 Replies
Login or Register to Ask a Question