From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: file filtering Date: Sun, 04 Feb 2007 10:18:25 -0700 Message-ID: References: <1170176298.694198.109550@h3g2000cwc.googlegroups.com> <1170247808.259815.196930@p10g2000cwp.googlegroups.com> <1170255115.371658.187620@m58g2000cwm.googlegroups.com> NNTP-Posting-Host: lo.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 1170609549 18456 80.91.229.12 (4 Feb 2007 17:19:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Feb 2007 17:19:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 04 18:19:01 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HDl11-00038h-IB for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Feb 2007 18:18:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HDl12-0006R0-NV for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Feb 2007 12:19:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HDl0q-0006QG-Ed for help-gnu-emacs@gnu.org; Sun, 04 Feb 2007 12:18:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HDl0n-0006Q4-00 for help-gnu-emacs@gnu.org; Sun, 04 Feb 2007 12:18:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HDl0m-0006Q1-RE for help-gnu-emacs@gnu.org; Sun, 04 Feb 2007 12:18:44 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HDl0m-0008Px-Cb for help-gnu-emacs@gnu.org; Sun, 04 Feb 2007 12:18:44 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HDl0d-0000Qn-Rx for help-gnu-emacs@gnu.org; Sun, 04 Feb 2007 18:18:35 +0100 Original-Received: from c-24-9-156-178.hsd1.co.comcast.net ([24.9.156.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Feb 2007 18:18:35 +0100 Original-Received: from kevin.d.rodgers by c-24-9-156-178.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Feb 2007 18:18:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-24-9-156-178.hsd1.co.comcast.net User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) In-Reply-To: X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:40887 Archived-At: Peter Tury wrote: > "HS" writes: > >> On 31 jan, 10:34, Peter Tury wrote: >>> And: why I can't find keep-lines in my Emacs 22's info? I really >>> searched the info for similar functions before my first ask and didn't >>> find this :-(( >> Hmm... I can find in mine and I'm also using GNU Emacs 22 >> "keep-lines is an interactive compiled Lisp function in `replace.el'." > > OK, I wasn't clear enough: I can find it _now_ = when I know its name > (C-h f is easy enough). But I couldn't find it when I just browsed the > info (C-h i): neither in Emacs nor in Elisp parts. It is neither > mentioned in thier indices. > > Now I looked into replace.el and saw it _is_ part of GNU Emacs. So its > documentation should be reachable from C-h i, shouldn't it? Or: how > can I find a function if I don't know its name, just the functionality > I need? (C-h a seems to be a bit weak here for me.) keep-lines is documented under the Searching and Replacement node of the Emacs manual, in particular its Other Repeating Search subnode. The other commands documented in the same node are occur, list-matching-lines, multi-occur, multi-occur-in-matching-buffers, how-many, and flush-lines. Perhaps a "filtering buffer contents" link in the Concept Index to the Other Repeating Search node would be useful -- would that have helped you find keep-lines? -- Kevin Rodgers Denver, Colorado, USA