forked from mirrors/org-mode
My personal patches-in-progress branch of Org.
See https://git.tecosaur.net/mirrors/org-mode/compare/main..tec/org-mode:dev.
Karl Eichwalder writes: > Consider the following two files: > > * 2009 > #+TBLNAME: 2009 > :PROPERTIES: > :ID: ea32e5b5-31ba-468e-8e31-3e0d09696bb0 > :END: > |-----+-------| > | mm | km | > |-----+-------| > | all | 946.8 | > |-----+-------| > > * 2010 > #+TBLNAME: 2010 > :PROPERTIES: > :ID: e0df84c4-8abc-458f-a1ee-eb53eb71b4f0 > :END: > |-----+-------+-------+-------| > | mm | km | B km | G km | > |-----+-------+-------+-------| > | all | 249.4 | 429.2 | 678.6 | > |-----+-------+-------+-------| > > * all > :PROPERTIES: > :ID: 44751a7f-73a4-4c07-b3c2-e3edb9042acd > :END: > #+TBLNAME: all > |------+--------| > | yyyy | km | > |------+--------| > | 2009 | | > | 2010 | 678.6 | > |------+--------| > | all | 1625.4 | > |------+--------| > #+TBLFM: @2$2=remote(ea32e5b5-31ba-468e-8e31-3e0d09696bb0,$LR2);%.1f::@3$2=remote(2010,$LR4);%.1f::$LR2=vsum(@2$2..@-1);%.1f > > Then, in the 2010 file, eval the formula of the "all" table by pressing > C-c C-c. > ==> > > It takes the km value from the 2009 file, but also puts the cursor > (point) into the 2009 file in front of the ID: > > * 2009 > #+TBLNAME: 2009 > :PROPERTIES: > :ID: -!-ea32e5b5-31ba-468e-8e31-3e0d09696bb0 > :END: > |-----+-------| > | mm | km | > |-----+-------| > | all | 946.8 | > |-----+-------| > > -=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=- > > I'd prefer if the point would stay in the 2010 file. |
||
---|---|---|
BUGFIXING | ||
EXPERIMENTAL | ||
ORGWEBPAGE | ||
UTILITIES | ||
contrib | ||
doc | ||
lisp | ||
xemacs | ||
.dir-locals.el | ||
.dir-settings.el | ||
.gitignore | ||
ChangeLog | ||
Makefile | ||
README | ||
README_DIST | ||
README_GIT | ||
request-assign-future.txt |
README
This is the Emacs Org project, an emacs subsystem for organizing your life The homepage of Org is at http://orgmode.org This distribution contains: README This file. README_DIST The README file for the distribution (zip and tar files) README_GIT Information about the git repository and how to contribute to Org-mode development. lisp/ Directory with all the Emacs Lisp files that make up Org. doc/ The documentation files. org.texi is the source of the documentation, org.html and org.pdf are formatted versions of it. xemacs/ The xemacs directory contains special code for XEmacs users, in particular a port of the GNU Emacs outline.el to XEmacs. Org-mode does not work under XEmacs without this file installed. It did until version 4.37, but no longer. contrib/ A directory with third-party additions for Org. Some really cool stuff is in there. ORGWEBPAGE/ Directory with the source files for the orgmode.org web page. ChangeLog The standard ChangeLog file. Makefile The makefile to compile and install Org, and also for maintenance tasks. request-assign-future.txt The form that contributors have to sign and get processed with the FSF before contributed changes can be integrated into the Org core. All files in this distribution except the CONTRIB directory have copyright assigned to the FSF. EXPERIMENTAL Experimental code, not necessarily FSF copyright.