0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-24 09:10:46 +00:00
Commit graph

9073 commits

Author SHA1 Message Date
Carsten Dominik f49cee2cc4 Column View: Handle empty fields when computing 2009-05-21 10:47:56 +02:00
Carsten Dominik 91f77d7029 Export: Make all export commands push the result to the kill ring
All export commands now push the result to the kill ring by default.
This is subject to the variable `org-export-push-to-kill-ring'.

Also, this commit adds a new variable
`org-export-show-temporary-export-buffer' which can be used to turn
off the display of the temporary buffer containing the exported text.
Since this stuff is now automatically pushed onto the kill ring, some
people might prefer not to see this buffer.
2009-05-21 09:14:33 +02:00
Carsten Dominik 7c9a908ca4 Fix structure problems in the manual 2009-05-21 08:00:17 +02:00
Carsten Dominik 11a7656069 Column View: Implement new operators
Mikael Fornius writes:

> This is my suggestion of an implementation of min/mean/max computation
> in columnview summaries. If you like it feel free to use it.
>
> New operators: {min}, {max} and {mean} possibly prefixed with : for use
> with timevalues.
>
> Example from my running exercise diary:
>
> #+COLUMNS: %DISTANCE{+;%.1f} %HEARTRATE{mean;%.1f} %SPEED{:min} %CALORIES{+}
>
> Gives a colview with summaries:
>
> total distance, mean heartrate, fastest speed (min/km) and total
> calories.
>
> I have tested it on emacs-23 and it works well for me now, also with the
> interactive colview functions.
>
> But you never know really. ;-) Anyway, there should not be any emacs-23
> specific elisp code added afik.
>
> (Because I do not use xemacs I have not tested it with xemacs but the
> small changes I made should be compitable to both xemacs and emacs. I
> would appreciate if someone on this list who uses xemacs will give it a
> try for me. Thanks!)
>
> (This fix also opens up for using user defined lisp functions to
> calculate colview summaries, but I am not sure if that is something
> useful. Like this:
>
> (defun std (&rest values)
>  "Compute standard deviation."
>  ...)
>
> #+COLUMNS: %DATA{eval:std}
>
> If someone finds this attractive it would now be easy to implement as well.)
>
2009-05-21 07:56:55 +02:00
Eric Schulte b21e61be60 added TODO for result name lines #+resname: 2009-05-20 18:38:24 -07:00
Eric Schulte 801345d41d added function to return the name of the current source block 2009-05-20 18:36:28 -07:00
Eric Schulte 3a0be8fd06 combined all "running processes" TODOs and bumped down to DEFERRED
While these are good ideas they represent a big chunk of work which
  will break everything while it's being done, should wait for now.
2009-05-20 17:51:35 -07:00
Eric Schulte 2cc09a2029 temporarily deferred "use textConnection to pass tsv to R" 2009-05-20 17:48:47 -07:00
Carsten Dominik 529ff7f2c0 Fix macro bug in docbook exporter 2009-05-20 16:23:55 +02:00
Carsten Dominik e0070404b8 Add properties to the index 2009-05-20 15:46:32 +02:00
Carsten Dominik 97c19c43fd Keep compiler happy 2009-05-20 10:53:29 +02:00
Carsten Dominik 7ca0b03b72 Merge branch 'recursive-todo-stats' 2009-05-20 10:50:13 +02:00
Carsten Dominik f54ff074d2 TODO statistics: Allow recursive statistics
Setting the new option `org-hierarchical-todo-statistics' to nil will
make TODO statistics to be computed recursively.  This means, not only
the direct children of a node contribute to its TODO statistics, but
the entire subtree.

You can also set the COOKIE_DATA property and add the word "recursive"
there to get recursive statistics for a specific tree.
2009-05-20 10:47:38 +02:00
Carsten Dominik 127a339a40 Fix bug, dammit! 2009-05-20 08:51:27 +02:00
Carsten Dominik d62795f8a7 Fix bug 2009-05-20 08:32:13 +02:00
Carsten Dominik f5fc821214 HTML export: Make xml declaration configurable 2009-05-20 08:24:49 +02:00
Eric Schulte 8d967c9fbb slight addition of commentary to rorg.org 2009-05-19 20:55:06 -07:00
Eric Schulte 14296239ea removed redundant :sep \t from org-tbl-to-tsv call in litorgy-R 2009-05-19 20:49:05 -07:00
Eric Schulte 700324bfbf slightly cleaner code 2009-05-19 20:42:45 -07:00
Eric Schulte 0974acd7b4 \C-c\C-c now works inside source blocks 2009-05-19 20:40:26 -07:00
Carsten Dominik 83e82f9ccd Publishing: Fix `C-u C-c C-e X'.
Publishing a project with prefix argument to
force publishing was broken.  Actually, the entire interactive side of
this function was implemented badly.  Fixed now.
2009-05-19 17:46:09 +02:00
Carsten Dominik 8e44b1fd8b Logging: New property LOG_INTO_DRAWER
Setting this property will overrule the value of org-log-into-drawer
for the scope of the subtree.

Requested by Daniel J. Sinder
2009-05-19 10:35:28 +02:00
Carsten Dominik b8a339e96f HTML export: Temporary solution of the php/xml problem on Worg 2009-05-19 09:35:47 +02:00
Carsten Dominik c88c9ad519 Statistics: New hooks 2009-05-19 09:22:44 +02:00
Carsten Dominik b681a86075 ASCII export: Hide output buffer and dump exported text to kill ring 2009-05-19 08:12:56 +02:00
Carsten Dominik d80faba613 Fix docstring of export functions: HIDDEN parameter is obsolete 2009-05-19 08:09:30 +02:00
Eric Schulte b9f2d50192 responses/expansions to TODO in rorg.org 2009-05-18 14:52:55 -07:00
Carsten Dominik e96b09edff HTML export: Add the xml declaration again. 2009-05-18 17:15:19 +02:00
Carsten Dominik f6f5e23b0c Fix bug 2009-05-18 15:59:05 +02:00
Carsten Dominik 9c342b61c6 Remove xml declaration until we have a general solution 2009-05-18 15:32:26 +02:00
Carsten Dominik 388a302d51 Source snippet editing: Mark the text in the original buffer while editing 2009-05-18 12:53:32 +02:00
Dan Davison 0c68fce725 Proposals for some minor reworkings of litorgy-R.el code added to rorg.org and as comments in litorgy-R.el 2009-05-17 20:42:04 -04:00
Carsten Dominik 9236cff71a ASCII export: Fix bug when exporting links 2009-05-17 23:22:52 +02:00
Carsten Dominik e27086b9a3 Keep compiler happy 2009-05-16 19:44:27 +02:00
Carsten Dominik cc50f83583 Example editing: Allow multiple editing buffers
Hsiu-Khuern Tang writes:

> Hi Carsten,
>
> You recently changed org-edit-src-code to use a separate buffer
> instead of an indirect buffer.  One side effect of this is that I
> can no longer edit several code examples at the same time:
> opening the second buffer will silently discard any changes made
> in the first.  I would prefer this behavior: when opening the
> second edit source buffer, write any changes in the first buffer
> to the originating Org buffer (but don't save it, of course).
>
> Another approach is to use different buffer names.

The better approach is clearly to allow several buffers, now
implemented with this commit.
2009-05-16 17:08:24 +02:00
Carsten Dominik 0c29415de8 iCalendar export: Fix problem with match data.
Harri Kiiskinen writes:

> There is an elusive bug in the ICal export functions. To
> demonstrate it, open this file, allow for the use of the local
> variable, and run 'org-export-icalendar-this-file'. What I get is
> the message "Wrong type argument: stringp, nil"
>
> -----------------------------
> #+FILETAGS: test
> * TODO header
>
> # Local Variables:
> # org-use-tag-inheritance: "^[t]"
> # End:
> -----------------------------
>
> Now, the funny thing is, that if you change the filetag from
> "test" to "est", close the file, and open it again, the file will
> be exported fine! It seems, that if the filetag does match the
> regular expression in org-use-tag-inheritance, then the result is
> error.

This bug was due to a missing save-match-data around a call to
org-get-tags-at.  However, when studying this bug it turned out
that explicitly checking for the archive tag is not needed,
because we already have a call to `org-agenda-skip' in the same
loop.
2009-05-16 16:05:50 +02:00
Carsten Dominik cad9a82ea4 Macros: Use semicolon as argument separator 2009-05-15 16:20:52 +02:00
Carsten Dominik fbe4f09cd8 HTML export: Add XML declaration
Patch by Sebastian Rose
2009-05-15 09:21:46 +02:00
Dan Davison 47615a1ea8 added cursor movement bug 2009-05-15 00:39:51 -04:00
Dan Davison c483c7d087 simplified R code in the pie chart example 2009-05-15 00:33:06 -04:00
Dan Davison 0947747759 Added as.is=TRUE argument to read.table so that strings are kept as strings and not converted to factors 2009-05-15 00:32:17 -04:00
Dan Davison a62776cabe Added some tasks and bugs in rorg.org 2009-05-14 20:35:29 -04:00
Eric Schulte 043136aed7 added example (pie chart of rorg files/directiries) 2009-05-14 07:12:46 -07:00
Eric Schulte 1e01e18a5f issue resolved, table import seems to be working w/o problems 2009-05-14 07:12:45 -07:00
Eric Schulte 13ef8051ed refined understanding of the quoting issue 2009-05-14 07:12:44 -07:00
Eric Schulte b6f2fc7e0d fixed error w/simple ruby arrays, and added litorgy-chomp function 2009-05-14 07:12:44 -07:00
Eric Schulte 6940577d8e litorgy-src-block-regexp is now robust to trailing spaces after source name 2009-05-14 07:12:43 -07:00
Eric Schulte 48752e7d79 found some issues, and started addressing them 2009-05-14 07:12:42 -07:00
Carsten Dominik e7e711148a Refile: New hook
Requested by Keith Swartz.
2009-05-14 14:51:42 +02:00
Carsten Dominik 7de716943f Sorting: Run a hook when done with sorting
Requested by Keith Swartz.
2009-05-14 14:47:51 +02:00