From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: newbie questions Date: 17 Feb 2004 09:21:35 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1077002578 1757 80.91.224.253 (17 Feb 2004 07:22:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2004 07:22:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 17 08:22:52 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AszZE-00070S-00 for ; Tue, 17 Feb 2004 08:22:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AszXE-0001dh-Ky for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Feb 2004 02:20:48 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AszWv-0001bS-M7 for help-gnu-emacs@gnu.org; Tue, 17 Feb 2004 02:20:29 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AszWP-00012s-KH for help-gnu-emacs@gnu.org; Tue, 17 Feb 2004 02:20:28 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1AszWP-0000zw-18 for help-gnu-emacs@gnu.org; Tue, 17 Feb 2004 02:19:57 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: (steveneo@21cn.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16926 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16926 > Date: Tue, 17 Feb 2004 13:46:26 +0800 (CST) > From: "niDapeng" > > 1.C-M-v can scroll down text in another screen, but how to scroll up those text? One way is to invoke C-M-v with a negative argument: "C-u - C-M-v". Another way is to type "C-M-S-v" (`S' is Shift). Yet another way is to type "M-PageUp". Btw, you could have learned all that if you used the Emacs built-in documentation facilities. "C-h c C-M-v" tells you that "C-M-v" runs the command `scroll-other-window'. Once you know that, it is only logical to look for some other command with a similar name that would scroll in the other direction. So type "C-h w scroll-" and hit TAB--a window will pop up which lists all commands which start with the string "scroll-", one of them looks promising: `scroll-other-window-down'. Finally, "C-h w scroll-other-window-down RET" will tell you what keys is that bound to. > 2.C-k will kill line to end text to killing ring. how to just "delete" text instead of "killing". Furthermore, how to "delete" block text (relative to C-W "kill" block text)? The command to do that is `delete-region'. The reason it is not bound to any key is that you don't want to use it, believe me. use the kill-* commands instead, you will appreciate the possibility to immediately get the deleted text back if you change your mind. Finally, a bit of advice: don't lump several unrelated questions into a single message. Make a separate message about each issue, and take a few moments to come up with a meaningful Subject line for each one of them. This will ensure you get accurate and useful replies from people who value their time to only read messages whose Subject promises to be about something they know well.