[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help for using emacs.
From: |
address@hidden |
Subject: |
Re: Help for using emacs. |
Date: |
Wed, 25 Jun 2003 15:46:37 -0400 |
User-agent: |
KNode/0.7.1 |
Charlie wrote:
> Hi Guys,
> I used to use the emacs a lot when I was in college, and now I want to
> pick it up after years. The emacs that I am using on Solaris is of
> version: Xemacs 21.4(patch 9) and these things are what I try to
> recover
>
> 1. User starts emacs and opens more than one file. What is way to
> switch from one to another. The way that I am using now, which is not
> the quickest way, is "Ctrl X", "Ctrl B" to show the files in the
> buffer and then pick the file that I am looking for.
I use Linux. Hopefully, it's the same.
C-x b. Don't use CTRL on the second b.
>
> 2. User open a huge text file, what is the easist way to go to the end
> of the file, not just keep typing "Ctrl -v" or "M-x end-of-buffer",
> that I have to type that many letters to make it happen. And also if I
> want to remove a large chunk of it, I know that we can highlight that
> chunk from the beginning to the end, then type "Ctrl K" to remove it.
> How ?
>
The keybindings have changed. It's now just like most programs. C-end.
C-home if you want to go to the beginning.
> 3. In a file to replace a keyword, I can do either "global replace" or
> "replace it one after another". Can someone tells me how to do it in
> the former way ?
>
M-x replace-regexp. This is an all-or-nothing, though. M-x query-replace
will ask you as you go.
> 4. Is there a website, menu,that tells all the "TRICKY" commands of
> emacs ?
>
The Emacs website has a huge help file, but it can be tough slogging. I
found O'Reilley's "Learning GNU Emacs" very helpful. It's still in print
but it's somewhat out of date.
> 5. This is very common question I guess. Right now cross all the
> platforms, the most popular edit tools being used are "vi" and
> "emacs". I know a little about vi, which is used more common than
> emacs!? So sometimes when I was trying to edit a file in my
> colleague's machine, I find myself in a situation that emacs is not
> available!!!
> I am just wondering is there any other tools that I can use, or vi is
> the only option.
>
Never used Solaris. Sorry.
>
> thanks a lot!
>
>
>
> CJI
--
Author of "Linux for Non-Geeks--Clear-eyed Answers for Practical Consumers"
and "Boring Stories from Uncle Rod." Both are available at
http://www.rodwriterpublishing.com/index.html
To reply by e-mail, take the extra "o" out of my e-mail address. It's to
confuse spambots, of course.