From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: robert.thorpe@antenova.com Newsgroups: gmane.emacs.help Subject: Re: Jump to man page buffer Date: 12 Sep 2006 10:54:59 -0700 Organization: http://groups.google.com Message-ID: <1158083699.127294.226060@h48g2000cwc.googlegroups.com> 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="iso-8859-1" X-Trace: sea.gmane.org 1158086440 5406 80.91.229.2 (12 Sep 2006 18:40:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2006 18:40:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 12 20:40:39 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 1GNDBR-0001JS-6D for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 20:40:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNDBQ-0007xe-PX for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 14:40:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!h48g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: 163.244.62.65 Original-X-Trace: posting.google.com 1158083704 30990 127.0.0.1 (12 Sep 2006 17:55:04 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 12 Sep 2006 17:55:04 +0000 (UTC) In-Reply-To: <87zmd6xare.fsf@gmail.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF1ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: h48g2000cwc.googlegroups.com; posting-host=163.244.62.65; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:141688 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:37312 Archived-At: 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. In Emacs if you type C-h C-i when over the name of a C library function then it should jump to the correct place in the glibc info file. You have to have the glibc info file installed for this to work. Any distro that supports development should have this installed by default along with the glibc man pages and the system utilities man pages. If not look get your distros install program to add those things. (Don't download them from the net, or they'll likely be the wrong versions compared to what you're actually using).