From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: Jump to man page buffer Date: Tue, 12 Sep 2006 19:17:57 +0200 Organization: disorganized Message-ID: <87slix6m2i.fsf@robotron.kosmorama> References: <8764fw22a3.fsf@gmail.com> <1157989359.152128.173990@h48g2000cwc.googlegroups.com> <87zmd6xare.fsf@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158081880 21179 80.91.229.2 (12 Sep 2006 17:24:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2006 17:24:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 12 19:24:37 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 1GNBza-0000wF-LS for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 19:24:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNBza-0000iI-4w for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 13:24:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNBzM-0000gm-1Q for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 13:24:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNBzG-0000bT-Tw for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 13:23:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNBzG-0000bJ-OG for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 13:23:54 -0400 Original-Received: from [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 1GNC0o-0003Mn-20 for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 13:25:30 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GNByr-0000l9-6Z for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 19:23:29 +0200 Original-Received: from e178038094.adsl.alicedsl.de ([85.178.38.94]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Sep 2006 19:23:29 +0200 Original-Received: from david.hansen by e178038094.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Sep 2006 19:23:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-To: help-gnu-emacs@gnu.org Original-Lines: 41 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178038094.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:ZpCBEqmmzRtc/c02Lp5W5nn6Re0= 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:37309 Archived-At: On Tue, 12 Sep 2006 01:07:49 +0200 Hadron Quark wrote: > robert.thorpe@antenova.com writes: > >> Hadron Quark wrote: >>> I have the following code mapped to f1. >>> >>> "manual-entry (current-word)" >>> >>> How to make emacs also jump to the buffer showing the resulting >>> man-page? >>> >>> thanks for any help. >> >> As a side-note, using man pages as references is trouble in systems >> that use GNU components heavily. >> >> The best docs of most of the general utilities are the info pages, the >> best docs to glibc are generally the info pages. The best/only docs to >> the kernel stuff and system utilities are the man pages. >> > > Didnt know that. > > I tried "info(current-word)" but it doesnt work. > > How would I bring up the info for C functions then? Ideally use the info > page if it exists or else revert to the man page. Install the GNU libc info manual and use it like you use the other info manuals. Anyway i disagree with Robert. I would think that on every POSIX box it's more likely that the manual pages are available than the libc info manual. And for a quick lookup the manual pages are usually better. In contrast the libc manual is a bit more descriptive and comes with more examples. Both have it's use. David