From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Harshdeep S Jawanda Newsgroups: gmane.emacs.help Subject: Re: Help for using emacs. Date: Wed, 25 Jun 2003 13:19:45 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3EF9F5D1.2040906@cs.unm.edu> References: <1dc70d61.0306250947.72f6c89d@posting.google.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1056575629 20923 80.91.224.249 (25 Jun 2003 21:13:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2003 21:13:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 25 23:13:45 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19VHaL-0005R2-00 for ; Wed, 25 Jun 2003 23:13:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VGe8-000547-3B for gnu-help-gnu-emacs@m.gmane.org; Wed, 25 Jun 2003 16:13:36 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19VFxm-0002Su-Dw for help-gnu-emacs@gnu.org; Wed, 25 Jun 2003 15:29:50 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19VFnr-0008Cs-MO for help-gnu-emacs@gnu.org; Wed, 25 Jun 2003 15:19:37 -0400 Original-Received: from mail.cs.unm.edu ([64.106.20.33] helo=jah.cs.unm.edu) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VFjK-000709-0i for help-gnu-emacs@gnu.org; Wed, 25 Jun 2003 15:14:54 -0400 Original-Received: from [129.24.116.53] (helo=cs.unm.edu) by jah.cs.unm.edu with asmtp (Exim 3.36 #2) id 19VFjD-0006NK-00; Wed, 25 Jun 2003 13:14:47 -0600 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en Original-To: Charlie In-Reply-To: <1dc70d61.0306250947.72f6c89d@posting.google.com> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11234 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11234 Charlie wrote: >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. > You can use C-x b (do you remember the notation :-)?) to switch between buffers. When you invoke this command, a default buffer (the most recently visited one) name will be visible. Hitting RET at this point will take you to that buffer. Alternatively, you can enter the name of the buffer you really want to switch to and then hit RET. >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 ? > Use M-> to go to the end and M-< 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 ? > By "global replace", do you mean non-interactive replace? You can do M-% searchTerm RET and when asked about whether to replace a particular occurence, hit "!" (the exclamation mark). This will automatically replace all occurence without asking you again. Or you can simply do M-x replace-string. -- Harshdeep S Jawanda