all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to locate a function?
@ 2012-09-12  7:36 Giovanni Ridolfi
  2012-09-12 11:30 ` Sebastien Vauban
  2012-09-12 15:12 ` Nick Dokos
  0 siblings, 2 replies; 4+ messages in thread
From: Giovanni Ridolfi @ 2012-09-12  7:36 UTC (permalink / raw)
  To: Orgmode

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...

TIA

Giovanni


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to locate a function?
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Sebastien Vauban @ 2012-09-12 11:30 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Giovanni,

Giovanni Ridolfi wrote:
> 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 a org.*transpose RET

returns

    ┏━━━━
    ┃ Type RET on a type label to view its full documentation.
    ┃ 
    ┃ org-table-transpose-table-at-point M-x ... RET
    ┃   Command: Transpose orgmode table at point and eliminate hlines.
    ┃ org-transpose-element         M-x ... RET
    ┃   Command: Transpose current and previous elements, keeping blank
    ┃            lines between.
    ┗━━━━

on my Org-mode version 7.9.1 (release_7.9.1-169-g2eb145 @
d:/home/sva/src/org-mode/lisp/).

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to locate a function?
  2012-09-12 11:30 ` Sebastien Vauban
@ 2012-09-12 11:39   ` Giovanni Ridolfi
  0 siblings, 0 replies; 4+ messages in thread
From: Giovanni Ridolfi @ 2012-09-12 11:39 UTC (permalink / raw)
  To: Sebastien Vauban, emacs-orgmode@gnu.org

Hi, Sebastien,

Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Mercoledì 12 Settembre 2012 13:30

> Giovanni Ridolfi wrote:
>> How can I know if a function is present in org
>> and if it is loaded?

> C-h a org.*transpose RET

thanks!!

Giovanni

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to locate a function?
  2012-09-12  7:36 how to locate a function? Giovanni Ridolfi
  2012-09-12 11:30 ` Sebastien Vauban
@ 2012-09-12 15:12 ` Nick Dokos
  1 sibling, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2012-09-12 15:12 UTC (permalink / raw)
  To: Giovanni Ridolfi; +Cc: Orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-12 15:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.