Commit Graph

230 Commits

Author SHA1 Message Date
Carsten Dominik 8915859c08 Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
Carsten Dominik 20f2f8e1e1 Release 6.16c 2008-12-25 11:06:35 +01:00
Carsten Dominik 951d117a47 Spreadsheet: Don't assume every last row filed has a formula
In a recent patch we have introduced names for all fields in the last
row.  This has lead to a bug, that Org thinks there might be a field
formula associated with those fields.  Now we check if there really is
one, and only in this case ask to overwrite it with a column formula.

Report by Henry Atting.
2008-12-22 23:10:32 +01:00
Carsten Dominik a8282e38c3 Version number: Pushed to 6.16trans. 2008-12-22 07:35:14 +01:00
Carsten Dominik f35b0549ec Release 6.16a 2008-12-21 12:47:50 +01:00
Carsten Dominik d89284b240 Release 6.16 2008-12-20 11:16:01 +01:00
Carsten Dominik dadc9a1af1 Tables: Implement last-row references.
After the failed implementation of `@0' as a reference for the last
line, this is a second attempt to provide such references.  I would
have liked to allow `@last' as the reference, that would have been
beautiful.  However, too many regular expressions directly search for
`@' followed by a number, so this is too hard to implement.

Therefore, I am now turning the last row into a row of implicitly
named fields.  From now on, $LR1, $LR2,... can be used to refer to
fields in the last row.  These names may also appear on the left hand
side of formulas.
2008-12-19 18:28:58 +01:00
Carsten Dominik 952c6b9901 Version number to 6.15trans. 2008-12-19 09:14:00 +01:00
Carsten Dominik 8ff0c60894 Release 6.15f 2008-12-18 23:38:53 +01:00
Carsten Dominik 0805d7ec9f Reverse the introduction of @0 as a reference to the last row. 2008-12-18 23:05:21 +01:00
Carsten Dominik 2075b26a92 Pushing version number to 6.15trans. 2008-12-18 09:04:15 +01:00
Carsten Dominik ec702aa4ba Release 6.15d. 2008-12-17 11:52:55 +01:00
Carsten Dominik 181235f605 Release 6.15c. 2008-12-17 09:59:25 +01:00
Carsten Dominik 9029d93e3a Release 6.15b. 2008-12-17 09:18:32 +01:00
Bernt Hansen 03e0c6395b Fix typos in org-table.el 2008-12-16 12:26:25 -05:00
Bernt Hansen d30eb5cb46 Whitespace 2008-12-16 12:26:24 -05:00
Carsten Dominik 96d9a2e467 Release 6.15a 2008-12-16 10:40:42 +01:00
Carsten Dominik 67a50839e9 Release 6.15 2008-12-16 08:30:55 +01:00
Carsten Dominik 0ea9fb46c5 Implement longtable support for LaTeX export.
Exporting tables to LaTeX suffered from the problem that Org tables
are often long, but that the tabular environment in LaTeX cannot
handle long tables.  This patch fixes this issue.

LaTeX export can now deal with very long tables, by setting an option
in the "ATTR_LaTeX:" line.  Also, you can specify the alignment by
hand.  Here is an example:

Also, table export now correctly deals with tables that start with a
hline.  In such a case, also the LaTeX version will have this extra
hline before the first line.
2008-12-16 07:04:05 +01:00
Carsten Dominik 7f08a00779 Improve docstring of `org-table-recalculate'. 2008-12-12 14:50:43 +01:00
Carsten Dominik 5ff646fc90 Make @0 reference the last data line in a table.
The last data line in a table is often a line with important data, for
example sums of a column.  In tables with varying length, the row
number of this line is constantly changing, which makes it hard to
write programs creating tables and then installing formulas.

This patch introduces @0 as a special reference to the last row, so
that @0$3 would be the field in the last row, 3rd column.
2008-12-12 08:53:43 +01:00
Carsten Dominik c5ca477c38 Pushed version number to 6.14trans. 2008-12-10 23:34:16 +01:00
Carsten Dominik 7b6ad9054e Release 6.14. 2008-12-06 07:34:30 +01:00
Carsten Dominik 0e157c59ba 6.14pre01
Moving toward a release.
2008-12-05 14:55:58 +01:00
Carsten Dominik 94fa3dcffa Rename some ill-named function in org-table.el. 2008-12-05 13:19:36 +01:00
Carsten Dominik 575dcb3d3b Make table formulas error when a relative row reference tries to cross hline.
Tassilo Horn asked for this, because he finds the default behavior of
silently choosing a different row too confusing.  I actually do agree.

The main use of this feature was running averages, if you need this
feature, you can customize the variable
`org-table-error-on-row-ref-crossing-hline'.
2008-12-05 13:14:24 +01:00
Carsten Dominik db782da26b Remove unnecessary whitespace. 2008-12-04 15:33:43 +01:00
Carsten Dominik 69ac82e1e6 Make `C-c |' work in orgtbl-mode.
This key needs special treatment, because it needs to work *outside*
tables.  The patch introduces a special command to call the
creation/conversion function if there is no conflicting binding to
`C-c |' outside of orgtbl-mode.
2008-11-26 09:14:09 +01:00
Carsten Dominik 07c77bc4dc Make S-SPC work in orgtbl-mode.
S-SPC did lead to an error in orgtbl-mode, because there is no binding
to this key.  Now orgtbl-self-insert-command falls back on calling
self-insert-command for such cases.
2008-11-26 08:30:21 +01:00
Carsten Dominik 825fdfa95e Change version number to 6.13trans. 2008-11-25 20:42:53 +01:00
Carsten Dominik aacbb2756c Fix RET in orgtbl-mode, when cursor is at the beginning of the buffer.
RET did fail in orgtbl-mode, if the cursor was at the beginning of the
buffer.  Now it opens a new line whenever the cursor is at the
beginning of a line, and that includes the beginning of the buffer.....
2008-11-24 22:45:56 +01:00
Carsten Dominik eb48aaa7c1 Release 6.13a. 2008-11-24 12:22:56 +01:00
Carsten Dominik 06edd56942 Release 6.13 2008-11-23 08:10:04 +01:00
Carsten Dominik 5810f0a8c9 6.13pre05
Getting close.....
2008-11-22 10:25:55 +01:00
Carsten Dominik db5c609be9 6.13pre04 2008-11-21 13:35:45 +01:00
Carsten Dominik 7d45c9f4bf 6.13p03 2008-11-21 07:18:35 +01:00
Carsten Dominik 81e3b95843 6.13pre02. 2008-11-20 15:02:53 +01:00
Carsten Dominik 926bab3a67 Pushing version number to 6.13pre01. 2008-11-20 08:28:02 +01:00
Carsten Dominik 24b32f199b Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
Carsten Dominik 3b5007cd2b Release 6.12b. 2008-11-12 23:58:49 +01:00
Carsten Dominik b55ec41bc4 Release 6.12a
Because I forgot to push before I pressed the release button.....
2008-11-11 11:21:36 +01:00
Carsten Dominik ed81800ccf Release 6.12 2008-11-11 11:03:17 +01:00
Carsten Dominik 1ffa6b76f5 Release 6.11c. 2008-11-09 08:20:00 +01:00
Carsten Dominik eb4f62ae34 Release 6.11a. 2008-11-08 22:29:54 +01:00
Carsten Dominik 83419fc6d8 Implement changes from downstream Emacs.
These are changes that where made in the Emacs CVS.
The change in org-publish is not final, it is still being
discussed - however, the current change should make it possible
to compile and run the code with the latest CVS version of Emacs.
2008-11-08 22:00:03 +01:00
Carsten Dominik c708279809 Release 6.11 2008-11-08 16:43:48 +01:00
Carsten Dominik 2c0291287a Push version number to 6.11pre01.
We are moving toward the next release, please test!
2008-11-06 09:14:14 +01:00
Carsten Dominik 293d3311d6 Check for horizontally-split windows when shrinking a window.
So far, Org used either `fit-window-to-buffer' or
`shrink-window-if-larger-than-buffer' without any further checks when
displaying one of its many help and selection buffers.  This can cause
problems if the user has set up Emacs to split windows horizontally
rather than vertically, because the window being shrunken then may be
side-by-side with another window, and shrinking the height of one will
also change the other.

With this patch, shrinking a window always goes through the new
function `org-fit-window-to-buffer' which only acts if the current
window spans the whole width of the frame.

Furthermore, this function also helps with compatibility, because it
falls back to `shrink-window-if-larger-than-buffer' if
`fit-window-to-buffer' does not exist, as is the case on older version
of Emacs and XEmacs.
2008-11-03 13:38:25 +01:00
Carsten Dominik 523cf1fe31 Release 6.10c. 2008-10-25 12:56:42 +02:00
Carsten Dominik 3794f574e2 Release 6.10b. 2008-10-25 12:54:49 +02:00
Carsten Dominik 88d4405e86 Release 6.10a. 2008-10-24 23:16:42 +02:00
Carsten Dominik 794839f1da Release 6.10. 2008-10-23 09:19:43 +02:00
Carsten Dominik 7d30bd5c47 Fixed bug with timestamp increment during S-RET copy in tables. 2008-10-22 17:29:27 +02:00
Carsten Dominik b7db897e6d Moving toward the 6.10 release. 2008-10-22 09:57:42 +02:00
Carsten Dominik b4f50fc988 Minor changes, to keep the compiler happy. 2008-10-21 17:54:04 +02:00
Carsten Dominik 2f3e5eaa2b Fix bug with table tag in table html export.
Reported by
2008-10-18 18:04:38 +02:00
Carsten Dominik 491702483a Fix table parsing bug. 2008-10-15 13:11:48 +02:00
Carsten Dominik 4574d894ce Release 6.09a. 2008-10-12 07:36:18 +02:00
Carsten Dominik 5ebc1a7982 Release 6.09. 2008-10-09 13:18:25 +02:00
Carsten Dominik 57e912c275 Push version number to 6.09pre01. 2008-10-07 15:45:58 +02:00
Carsten Dominik 4c55b885d5 Documentation fixes. 2008-10-05 12:57:01 +02:00
Carsten Dominik e195a3ee4b Release 6.08a. 2008-10-05 08:31:54 +02:00
Carsten Dominik c0292f955e Release 6.08. 2008-10-05 08:27:53 +02:00
Carsten Dominik e71f9d0a62 Make the keypad work with orgtbl-mode. 2008-10-04 15:49:27 +02:00
Carsten Dominik d043e31182 Integrate John Wiegley's org-attach.el. 2008-10-01 09:25:18 +02:00
Carsten Dominik 7b54d28c30 Avoid rounding errors whe summing table columns. 2008-09-24 17:33:10 +02:00
Carsten Dominik feab6c1348 Change version number to 6.08-pre01 2008-09-21 08:34:23 +02:00
Carsten Dominik a8b3081610 Release 6.07b. 2008-09-21 08:26:30 +02:00
Carsten Dominik b777e88fd6 Release 6.07a. 2008-09-19 16:19:32 +02:00
Carsten Dominik 194faab2b6 Bumping up the version number to 6.07. 2008-09-19 08:25:13 +02:00
Carsten Dominik e862a5cd58 Protect increment-by-copying in tables. 2008-09-08 20:18:18 +02:00
Carsten Dominik 696e77a1ed Fix bug with time stamp format for calc. 2008-09-05 07:57:12 +02:00
Carsten Dominik 5a890b3473 Minor fixes. 2008-09-03 09:10:17 +02:00
Carsten Dominik 2c26217b88 Release 6.06b. 2008-07-25 14:58:41 -07:00
Carsten Dominik 177e154e6c Release 6.06a. 2008-07-24 06:42:03 -07:00
Carsten Dominik 14ffcc8b9a Release 6.06. 2008-07-24 06:26:02 -07:00
Carsten Dominik ea71ffc237 New function to convert a table to a lisp structure. 2008-07-17 10:08:53 -07:00
Carsten Dominik ba5621b2a8 Bug fix for table export.
No longer requires a heading above the table.
2008-07-14 11:55:47 -07:00
Carsten Dominik b5ed7fca04 Version number bumped to 6.06pre01. 2008-07-02 13:34:26 -07:00
Carsten Dominik 21499409c3 Release 6.05b. 2008-06-20 00:21:15 +02:00
Carsten Dominik 2a8f099e7e Release 6.05a. 2008-06-17 17:06:16 +02:00
Carsten Dominik e1c22570b7 Version number 6.05, this will be released soon. 2008-06-16 17:51:04 +02:00
Carsten Dominik e8202bf861 Version number 6.05pre01, with a detailed list of changes.
Yes, the 6.05 release is just around the corner.
2008-06-15 09:44:21 +02:00
Carsten Dominik 236f6c7ff9 Improve error message for invalid rows in org-table.el. 2008-05-28 14:11:33 +02:00
Carsten Dominik c9ea8bc470 Release 6.04c. 2008-05-27 08:09:31 +02:00
Carsten Dominik 174cc21d08 Bug fix for removal of comments during export. 2008-05-25 16:15:25 +02:00
Carsten Dominik 3b2b3556b7 Use C-c ' to exit source code editing. 2008-05-25 14:54:53 +02:00
Carsten Dominik 0950127491 Release 6.04. 2008-05-25 09:08:46 +02:00
Carsten Dominik 9bd2896c94 Version number to 6.04pre01
We are preparing for another release.....
2008-05-24 22:35:23 +02:00
Carsten Dominik 8ee2a8b7d8 Default format for calc changed to (fload 8)
This gives better accuracy and less surprises.
2008-05-16 12:34:24 +02:00
Carsten Dominik b4159c5017 Release 6.03. 2008-05-15 04:40:55 +02:00
Carsten Dominik 80fb3351de Make the colon in "ORGTBL: SEND" optional. 2008-05-14 14:28:08 +02:00
Carsten Dominik 4b8f738e62 Version number pumped to 6.03pre03 2008-05-14 10:32:24 +02:00
Carsten Dominik 6ecd659335 Documentation fixes for table exporter. 2008-05-12 07:31:21 +02:00
Carsten Dominik 9c8aabbf81 New functions to export tables to csv and tsv.
The new functionas are orgtbl-to-csv and orgtbl-to-tsv.
2008-05-10 13:40:25 +02:00
Carsten Dominik 1e042b511a Improve interactive use and documentation of table export. 2008-05-10 07:54:45 +02:00
Carsten Dominik 66f801cbff Version number change to 6.03pre01.
Yes, we are moving to the 6.03 release.
2008-05-08 17:17:58 +02:00
Carsten Dominik fe5c248122 Sync copyright fixes from downstream Emacs 2008-05-06 14:47:44 +02:00
Carsten Dominik 1f7360c584 Provide an *orgtbl-default-fmt* for entries not in a fmt plist.
The *orgtbl-default-fmt* is a hook for orgtbl transformations to
ensure a destination-sensible default for columns not present in
a fmt plist.  The leaving the value at nil changes no existing
behavior.

Signed-off-by: Jason Riedy <jason@acm.org>

Conflicts:

	ChangeLog
2008-05-06 14:17:53 +02:00
Carsten Dominik 5316cbbf05 Allow an explicitly nil :tstart and :tend to suppress the strings.
Passing explicit nils to leave out start and end strings feels
natural.  Also, transforming org-mode tables into other org-mode
tables can use :tstart and :tend to specify directives, so I
don't want to change the default splice setting for those.

Signed-off-by: Jason Riedy <jason@acm.org>

Conflicts:

	ChangeLog
2008-05-06 14:16:45 +02:00
Carsten Dominik 54188f8618 Add an orgtbl-to-orgtbl transformation.
Useful for documenting orgtbl transformation and formatting
functions.

Signed-off-by: Jason Riedy <jason@acm.org>

Conflicts:

	ChangeLog
2008-05-06 14:15:45 +02:00
Carsten Dominik 15db65ad72 Arch-tag lines and declaration fixes from upstream Emacs. 2008-04-29 07:15:41 +02:00
Carsten Dominik 49799dd08e Release 6.02b. 2008-04-27 07:43:19 +02:00
Carsten Dominik 0082c0c129 Release 6.02a 2008-04-25 15:45:35 +02:00
Carsten Dominik 1f6c502765 Work around XEmacs indentation problems.
There is an old XEmacs bug with indentation in the presence of
an extent with an invisibility property.  We work around this now
by turning the invisibility property off, temporarily.
2008-04-24 16:44:12 +02:00
Carsten Dominik 2ea352b4cf Release 6.02. 2008-04-24 10:29:47 +02:00
Carsten Dominik 739edc7849 6.02pre06, now for real! 2008-04-23 10:20:43 +02:00
Carsten Dominik 55235195fe Version number increase to 6.02pre-06. 2008-04-23 08:44:39 +02:00
Carsten Dominik d38aab0443 General operators for property searches.
We have now numerical comparisons, and we can do < and > for strings.
2008-04-23 07:48:22 +02:00
Carsten Dominik 51eac353ae Bug fixes. 2008-04-21 18:28:07 +02:00
Carsten Dominik 1508d31b6e Applied patch series from Jason Riedy.
You can slice a single table full of calculations in different ways
into separate destinations.  Or you can format the table differently.
There are many fun and exciting possible uses.

A fancier implementation would scan the document *once* for the
set of destinations.  That could help implement another function
to update all destinations from all sources.

Refactor orgtbl-to-generic; explicitly separate heading from body.
Support last-line specializers.
Allow functions for some orgtbl parameters.
Add a :remove-nil-lines parameter to orgtbl-to-generic.
2008-04-21 07:50:27 +02:00
Carsten Dominik 383774f360 New version number. 2008-04-20 18:18:51 +02:00
Carsten Dominik 3798fbb8f5 New version number, effort estimates work now. 2008-04-18 18:03:08 +02:00
Carsten Dominik 1a2d615023 6.02pre02, with an implementation of summaries in agenda columns. 2008-04-15 11:05:39 +02:00
Carsten Dominik 7e4a730ac7 Release 6.01c 2008-04-15 08:51:09 +02:00
Carsten Dominik bea87922ca Bug fixes. 2008-04-15 08:49:26 +02:00
Carsten Dominik b63bd61796 release 6.01b 2008-04-14 21:31:16 +02:00
Carsten Dominik 9068f7c1c6 Version number set to 6.01a, release 6.01a. 2008-04-14 20:00:38 +02:00
Carsten Dominik 62db67e9eb Correct dependencies in the Makefile.
Also a new variable and better implementation around export
processing in the background.
2008-04-14 14:59:37 +02:00
Carsten Dominik d237e3dd0a Version number set to 6.01, this will be the release. 2008-04-14 07:52:18 +02:00
Carsten Dominik 80a93d5d1b Version number bump, 6.00pre-6 2008-04-13 22:17:29 +02:00
Carsten Dominik e7e5e25100 Fix bug with algebraic evaluation in tables.
There was a problem that complex fields need a pair of parenthesis
around them.  For example, if one field is "a a" and another field
is "a+b", multiplication of the two gave "a^3+b" instead of "a^3+a^2 b".
Now variable replacement puts extra parenthesis around values.
2008-04-13 21:28:26 +02:00
Carsten Dominik b7628661b1 Version number change to 6.00pre-5 2008-04-10 08:37:43 +02:00
Carsten Dominik d2d495df4f Apply patches by James TD Smith. 2008-04-10 08:27:56 +02:00
Carsten Dominik 15534acef0 Implemented new archiving mechanism: The Attic Sibling.
Archiving to the attic sibling means to move the entry to
become a child of a sibling with heading "Attic", that is also
marked with the ARCHIVE tag.
2008-04-08 12:29:28 +02:00
Carsten Dominik 417d3e5303 Version number bump to 6.00pre-3 2008-04-07 08:35:14 +02:00
Carsten Dominik cff6e9af30 Version number bump. 2008-04-01 22:13:46 +02:00
Carsten Dominik 5515c6e245 Small bug fixes. 2008-03-30 20:33:07 +02:00
Carsten Dominik 3885aa55d5 Pushed version number to 6.00pre-1 2008-03-28 10:26:54 +01:00
Carsten Dominik fe939ecb95 Split out a number of files from org.el, and reorganize the
structure of the git repository, using new subdirectories
for Lisp and Documentation files.
2008-03-28 09:57:14 +01:00