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: Command to re-read current file? Date: Mon, 04 Aug 2003 18:31:56 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <2110-Mon04Aug2003183156+0300-eliz@elta.co.il> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: main.gmane.org 1060024476 28550 80.91.224.253 (4 Aug 2003 19:14:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2003 19:14:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 04 21:14:54 2003 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 19jknG-00035I-00 for ; Mon, 04 Aug 2003 21:14:54 +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 19jhNg-0001ci-Ee for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Aug 2003 11:36:16 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19jhNT-0001bN-Nk for help-gnu-emacs@gnu.org; Mon, 04 Aug 2003 11:36:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19jhMx-0001Sb-1U for help-gnu-emacs@gnu.org; Mon, 04 Aug 2003 11:36:02 -0400 Original-Received: from [192.114.186.18] (helo=bilbo.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.20) id 19jhMw-0001SS-A8 for help-gnu-emacs@gnu.org; Mon, 04 Aug 2003 11:35:30 -0400 Original-Received: from zaretski (pns03-199-55.inter.net.il [80.230.199.55]) by bilbo.inter.net.il (Mirapoint Messaging Server MOS 3.3.5-GR) with ESMTP id BEB75916; Mon, 4 Aug 2003 18:35:22 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (message from lawrence mitchell on Mon, 04 Aug 2003 15:48:25 +0100) 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:11578 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11578 > From: lawrence mitchell > Newsgroups: gnu.emacs.help > Date: Mon, 04 Aug 2003 15:48:25 +0100 > > > But this is a relatively trivial issue. A far more important > > question is the following meta-question: how could I have figured > > out the answer to the previous question on my own? I tried apropos > > with various query strings, such as "re-find", "re-open", "re-visit", > > and variants thereof, but they yielded nothing. Is there a better > > approach to finding the command for an Emacs functionality? > > Well, you can try the Emacs manual. In this case, the relevant > part was under (info "(emacs)Files"). You were going about it > the right way. Another option you could have used might have > been apropos-documentation, which searches in docstrings too. In fact, the Info's index-search command (bound to `i' in Info mode) would have been the perfect solution here. I just typed "i reread TAB" and was presented with a single possible completion: "reread a file", which placed me right on the node "Reverting" that describes the command revert-buffer. Yet another win for the wonderful Info-index command. I wish people used it more than they do now.