From: Nick Dokos <nicholas.dokos@hp.com>
To: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
Cc: Orgmode <emacs-orgmode@gnu.org>
Subject: Re: how to locate a function?
Date: Wed, 12 Sep 2012 11:12:17 -0400 [thread overview]
Message-ID: <7407.1347462737@alphaville> (raw)
In-Reply-To: Message from Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> of "Wed, 12 Sep 2012 08:36:53 BST." <1347435413.99010.YahooMailNeo@web29803.mail.ird.yahoo.com>
Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> 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
prev parent reply other threads:[~2012-09-12 15:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-12 7:36 how to locate a function? Giovanni Ridolfi
2012-09-12 11:30 ` Sebastien Vauban
2012-09-12 11:39 ` Giovanni Ridolfi
2012-09-12 15:12 ` Nick Dokos [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7407.1347462737@alphaville \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=giovanni.ridolfi@yahoo.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).