From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: how to locate a function? Date: Wed, 12 Sep 2012 11:12:17 -0400 Message-ID: <7407.1347462737@alphaville> References: <1347435413.99010.YahooMailNeo@web29803.mail.ird.yahoo.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBocT-0007eC-PA for emacs-orgmode@gnu.org; Wed, 12 Sep 2012 11:12:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBocN-0000z5-9d for emacs-orgmode@gnu.org; Wed, 12 Sep 2012 11:12:49 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:26328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBocN-0000yr-2I for emacs-orgmode@gnu.org; Wed, 12 Sep 2012 11:12:43 -0400 In-Reply-To: Message from Giovanni Ridolfi of "Wed, 12 Sep 2012 08:36:53 BST." <1347435413.99010.YahooMailNeo@web29803.mail.ird.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giovanni Ridolfi Cc: Orgmode Giovanni Ridolfi wrote: > Hello everyone, > > Org-mode version 7.9.1 (2eb1456bfd > GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN > > How can I know if a function is present in org > and if it is loaded? > > Rationale: I needed to transpose a table > (Resolved via the babel/emacs-lisp thanks to Tom Dye!). > I read the worg page: > http://orgmode.org/worg/org-hacks.html#transpose-table > but it seems to me that I cannot call the function > org-table-transpose-table-at-point > > the only completion offered by M-x org-tr is: org-tr_anspose-element. > > So either I am not able to find the function or the worg documentation is outdated. > > Maybe with git will be easy to track the org-table-transpose function... > C-h v org-table-transpose-table-at-point RET will tell you if the function is loaded, marked for autoload but not loaded yet, or is unknown. The fact that completion did not show it means that the file containing it is not loaded and there is no autoload for this function. Your only recourse then is to load the file by hand M-x load-library RET org-table RET assuming that you know which file it is, or use one of the org-table functions that *are* marked for autoload. You can use completion to find out those C-h f org-table-TAB and then call one. Using the function will autoload it and bring in the rest of the functions defined in the file with it. Nick