* org-table-recalculate-buffer-tables
@ 2012-03-16 16:45 Aitor
2012-03-16 18:17 ` org-table-recalculate-buffer-tables Nick Dokos
0 siblings, 1 reply; 2+ messages in thread
From: Aitor @ 2012-03-16 16:45 UTC (permalink / raw)
To: emacs-orgmode
Hi,
I don't manage to use the 'org-table-recalculate-buffer-tables' function within
org-mode (version 7.8.03). It just doesn't show up when I do M-x
In fact, if I want to use it I have to apply the following patch:
Modified lisp/org.el
diff --git a/lisp/org.el b/lisp/org.el
index 3b06347..0bbb119 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -3839,7 +3839,7 @@ This works for both table types.")
org-table-move-column-right org-table-move-row
org-table-move-row-down org-table-move-row-up
org-table-next-field org-table-next-row org-table-paste-rectangle
- org-table-previous-field org-table-recalculate
+ org-table-previous-field org-table-recalculate
org-table-recalculate-buffer-tables
org-table-rotate-recalc-marks org-table-sort-lines org-table-sum
org-table-toggle-coordinate-overlays
org-table-toggle-formula-debugger org-table-wrap-region
Is there something I am doing wrong ?
best,
aitor
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: org-table-recalculate-buffer-tables
2012-03-16 16:45 org-table-recalculate-buffer-tables Aitor
@ 2012-03-16 18:17 ` Nick Dokos
0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2012-03-16 18:17 UTC (permalink / raw)
To: Aitor; +Cc: nicholas.dokos, emacs-orgmode
Aitor <aitors2005@gmail.com> wrote:
>
> Hi,
>
> I don't manage to use the 'org-table-recalculate-buffer-tables' function within
> org-mode (version 7.8.03). It just doesn't show up when I do M-x
>
> In fact, if I want to use it I have to apply the following patch:
>
> Modified lisp/org.el
> diff --git a/lisp/org.el b/lisp/org.el
> index 3b06347..0bbb119 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -3839,7 +3839,7 @@ This works for both table types.")
> org-table-move-column-right org-table-move-row
> org-table-move-row-down org-table-move-row-up
> org-table-next-field org-table-next-row org-table-paste-rectangle
> - org-table-previous-field org-table-recalculate
> + org-table-previous-field org-table-recalculate
> org-table-recalculate-buffer-tables
> org-table-rotate-recalc-marks org-table-sort-lines org-table-sum
> org-table-toggle-coordinate-overlays
> org-table-toggle-formula-debugger org-table-wrap-region
>
>
> Is there something I am doing wrong ?
>
This is a general problem with autoloads in emacs and there will be
differing opinions on how far org (or whatever other package you are
trying to use) should go in order to solve it.
In my opinion, org just has to provide enough autoloads/requires/etc to
satisfy whatever dependencies *it* has, in order to initialize itself
fully. From that point on, any requirements *you* have are best
addressed by you in your environment. You can do that by adding
something like this to your .emacs:
(autoload "org-table" 'org-table-recalculate-buffer-tables)
or
(require 'org-table)
The first one is quicker during initialization and pays the penalty to
load the file the first time that you use the function. The second pays
the penalty up front, but if you know you are going to use a bunch of
table function in every emacs instance you start, it might make more
sense since you don't have to provide individual autoloads. Take your
pick.
Either way, the function will be there when *you* need it.
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-16 18:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 16:45 org-table-recalculate-buffer-tables Aitor
2012-03-16 18:17 ` org-table-recalculate-buffer-tables Nick Dokos
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).