From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "John M. Gabriele" Newsgroups: gmane.emacs.help Subject: Re: indentation, setting variables, commands, and M-x Date: Sat, 04 Feb 2006 22:46:35 -0500 Organization: Optimum Online Message-ID: References: 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: sea.gmane.org 1139115378 25978 80.91.229.2 (5 Feb 2006 04:56:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2006 04:56:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 05 05:56:16 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F5bwb-0001hB-Ax for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Feb 2006 05:56:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5bzp-0007bG-Nm for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Feb 2006 23:59:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news.glorb.com!hwmnpeer01.lga!hwmedia!news.highwinds-media.com!hw-filter.lga!fe11.lga.POSTED!53ab2750!not-for-mail User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 71 Original-NNTP-Posting-Host: 67.86.77.229 Original-X-Complaints-To: abuse@cv.net Original-X-Trace: fe11.lga 1139111344 67.86.77.229 (Sat, 04 Feb 2006 20:49:04 MST) Original-NNTP-Posting-Date: Sat, 04 Feb 2006 20:49:04 MST Original-Xref: shelby.stanford.edu gnu.emacs.help:137380 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33004 Archived-At: Drew Adams wrote: > > In this case, you want to search the manual for "indent" or > > "indentation". > > Looking through the explanation of Info mode (from `C-h m'), > > you'll see that > > `i' looks up a topic in the index, and `s' searches the > > manual for a term. > > Ok, I hit C-h m,and it waits for me to give a menu name. How do I get > to a place where I can hit 'i' to look up a topic in the "index"? > I see that 's' asks me for a regex to search for, and it searches > down the page, from the current cursor location to find it. > Is there a separate index page for each node? Or maybe only some nodes? > > I probably wasn't clear enough. > > C-h i -- enters Info > Click Emacs link -- enter Emacs manual > C-h m -- get help on Info mode > > Read the Info mode help; Ah. I get it now. "Info" mode is just like any other mode. :) Also: C-h m == M-x describe-mode > it describes key bindings in Info mode, including > these bindings (you may have to scroll down the *Help* window a bit (use C-x > o to switch windows): > > i Look up a topic in this file's Index and move to that node. > s Search through this Info file for specified regexp, > and select the node in which the next occurrence is found. > > In buffer (window) *info*, use `C-x 1' to get rid of the *Help* window. > > It is in Info mode (buffer *info*) that you can use the Info-mode key > bindings such as `i' and `s'. Got it. I previously had a problem with that because I wasn't first at the Emacs node before hitting 'i'. Thanks. > My guess is that you used simply `m' in Info mode, not `C-h m'. `m' asks for > a menu item to visit. Yes. 'm' gets to to where a menu item leads if I can type it in by name. > `s' and `i' are totally separate. `s' simply searches; `i' looks up a term > in the manual's index. > > `s' searches for a regexp, but that can be as simple as a word. You can use > `s' again, hitting just `RET' (Return key) to reuse the last input (e.g. > word). So, for example, `s indentation RET' finds the first occurrence in > the manual of "indentation". Then, `s RET' finds the next occurrence of > "indentation". Repeat `s RET' as needed. As I mentioned, when appropriate, > `i' is much quicker; in this case it takes you directly to the manual > section on indentation. > > HTH. It does help. Thanks Drew. It's interesting how similar the info program works compared to something like lynx (that is, if your docs were just in html, and you used a text-mode html browser to access them). The main difference I'm seeing right now is, that info nodes have an order to them (you can hit 'n' for next, 'p' for previous) as well as having links ("menus" and "cross-references"), whereas html has only links. ---J -- (remove zeez if demunging email address)