From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.help Subject: finding my way among my el files Date: Thu, 10 Nov 2011 21:50:56 +0530 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1320942074 27939 80.91.229.12 (10 Nov 2011 16:21:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Nov 2011 16:21:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 10 17:21:09 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ROXNE-0002Ok-Gv for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Nov 2011 17:21:08 +0100 Original-Received: from localhost ([::1]:39007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROXND-0006M3-Kk for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Nov 2011 11:21:07 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROXN8-0006LG-CM for help-gnu-emacs@gnu.org; Thu, 10 Nov 2011 11:21:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROXN4-0006XK-BD for help-gnu-emacs@gnu.org; Thu, 10 Nov 2011 11:21:02 -0500 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:51138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROXN4-0006XD-84 for help-gnu-emacs@gnu.org; Thu, 10 Nov 2011 11:20:58 -0500 Original-Received: by ggnh4 with SMTP id h4so3757738ggn.0 for ; Thu, 10 Nov 2011 08:20:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=TXxjEXu5v7oCM073dtKtDOLlIcNAwt0KVeVpQilVaB8=; b=jwvqtFKAdsoGH3BTi6SR42dWzlNgl+O2tPe+IB+CITEuuopKSj/nb/wi7swHqN7xwV wB6vPAhvuo4y5fmGN2QYCbkLapvgdqwvGZBnqgCzLOuC2tkfOkv3wvIa6015IUlk4XYW leub+e7AW5X9jHoEbqXQR6mGMQ0LaguGr4PKI= Original-Received: by 10.50.17.197 with SMTP id q5mr8943856igd.2.1320942057013; Thu, 10 Nov 2011 08:20:57 -0800 (PST) Original-Received: by 10.231.149.202 with HTTP; Thu, 10 Nov 2011 08:20:56 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82841 Archived-At: My emacs comes with orgmode 7.4 The org which I use is the later one 7.7 (which resides say under my .emacs/myelisp) But when I do (info "org") I get 7.4 not 7.7's docs I can of course write my own function info-org which hardcodes my path. But I wonder how hard it is to find my way using relative paths. In particular C-h f foo emacs knows where foo's def is because I can click through to the file having foo's definition If say that were available in a variable func-file-name then I could info-open (file-name-directory func-file-name)/../doc/org How to get func-file-name?