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

3645 commits

Author SHA1 Message Date
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
Carsten Dominik f756d17bcf Lists: Fix bug with lists at the end of a file
Now org-end-of-item-list does find the end of the buffer if that is
where the lists ends.
2009-05-14 14:46:41 +02:00
Carsten Dominik 0962662663 Agenda: Fix bug with time of day for clocking lines
Peter Frings writes:

> Good day, org-ers
>
> I have seen a *small* problem in the Agenda's log mode.
>
> Org-mode version 6.26d
> GNU Emacs 22.3.1 (i386-apple-darwin9.5.0, Carbon Version 1.6.0) of 2008-11-01
>
>
> I have this in time-sheets.org:
>
>
> * Project AI
> ** Enhancement PT <2009-04-30 Thu 10:00-11:00 +1w>
>    CLOCK: [2009-05-14 Thu 09:55]--[2009-05-14 Thu 10:45] =>  0:50
>
>
> But, the Agenda shows this:
>
> Day-agenda (W20):
> Thursday   14 May 2009
>                9:00...... ----------------
>   planning:    9:12- 9:55 Clocked:   (0:43) BUSY Notifications
>   time-sheet: 10:00-11:00 Clocked:   (0:50) Enhancement PT
>   time-sheet: 10:00-11:00 Enhancement PT
>               10:00...... ----------------
>               11:00...... ----------------
>

He is right.  Progress lines should never take their
time from the headline, always only from the triggering line.
2009-05-14 14:24:17 +02:00
Carsten Dominik 74f71d4e71 Keep byte compiler happy 2009-05-14 13:35:40 +02:00
Carsten Dominik cc440f8529 LaTeX export: Fix bug in removal of TODO keywords
There was a problem that not in all cases the correct regexp was used
to find TODO keywords.
2009-05-14 10:20:04 +02:00
Carsten Dominik 251f82d555 Fix bug. 2009-05-14 10:17:14 +02:00
Carsten Dominik d885d8f686 Agenda: Allow to start with log mode active
Benjamin Andresen writes:

> I was curious as to why a value such log-mode wasn't customizable
> to be run on start-up as follow-mode and clock-report-mode are.
>
> If Carsten thinks this is a good idea, I've attached a patch that
> may shave of 5 seconds of him adding it. It applies cleanly to
> current git HEAD.

This commit applies Beanjamin's patch
2009-05-14 09:40:53 +02:00
Carsten Dominik b6de229d4e Protect htmlize from some buggy fants 2009-05-14 09:33:07 +02:00
Carsten Dominik 80fb1b566a LaTeX export: Allow uncentered tables 2009-05-14 09:33:07 +02:00
Carsten Dominik 2e9202362f Publishing: Allow to publish the Org source file
There is now a new export function, `org-export-as-org', which
basically creates a copy of the Org file with things like archived
trees, commented trees, and trees deselected by export tags,
stripped.
2009-05-14 09:33:00 +02:00
Carsten Dominik 610f0004c8 Modularize `org-yank'.
Patch by Derek Upham.
2009-05-12 16:29:58 +02:00
Carsten Dominik 90204fe238 LaTeX export: Make TODO keyword markup configurable 2009-05-12 12:27:56 +02:00
Eric Schulte 51a628bc5e added tests for calling source blocks as functions, passing all tests 2009-05-11 20:50:45 -07:00
Eric Schulte 75ca370de8 added tests, and fixed uncovered bugs
tests currently cover the following all of which are passing
  - basic execution
  - referencing tables
  - referencing other source blocks
2009-05-11 19:41:56 -07:00
Carsten Dominik ab0397758e Export: More default macros.
This commit adds:

{{{date(FORMAT)}}} current date/time, formatted with
`format-time-string'

{{{modification-time(FORMAT)}}} date/time of last modification of
file, formatted with `format-time-string'

{{{input-file}}} the file name of the source Org file.
2009-05-11 22:44:04 +02:00
Dan Davison 480c22bbeb Merge branch 'master' of git@github.com:eschulte/rorg 2009-05-11 14:07:00 -04:00
Dan Davison e680407493 Started writing an introduction perhaps suitable for a tutorial document or something 2009-05-11 14:06:37 -04:00
Eric Schulte e140849b49 code blocks default to only exporting code 2009-05-11 09:57:21 -07:00
Eric Schulte c26c393c9c evaluate source code blocks as spreadsheet formulas in tables 2009-05-10 19:47:22 -07:00
Eric Schulte 71b6ca8005 added `sbe' for evaluation of source blocks from emacs lisp 2009-05-10 14:03:26 -07:00
Eric Schulte ce2c319496 inline source code blocks now accept header arguments 2009-05-10 08:29:30 -07:00
Eric Schulte 2794b3394f more robust against spaces in :var header arguments 2009-05-10 08:27:06 -07:00
Carsten Dominik 21e08a117d Docbook export: Support ditaa images
Patch by Dale Smith.
2009-05-10 16:25:12 +02:00
Carsten Dominik 0a01a7a12b iCalendar export: Make it possible to export only unblocked TODO
entries.

Guy Wiener writes:

> Hello everyone,
>
> I use orgmode to write down TODO tasks with dependencies (using
> org-enforce-todo-dependencies). I want to export the tasks to an
> iCalendar file, but *without* the blocked tasks (i.e, tasks that have
> unfinished dependencies). The agenda view hides these tasks if you set
> org-agenda-dim-blocked-tasks. It there a way to configure the
> iCalendar export to ignore these tasks too, like in the agenda view?

This commit implements this, when the value of
`org-icalendar-include-todo' is the symbol `unblocked'.
2009-05-10 12:32:05 +02:00
Carsten Dominik 3065dcbd42 Keep compiler happy 2009-05-10 09:16:30 +02:00
Carsten Dominik 97e4e3bf4c Fix typo 2009-05-10 09:07:03 +02:00
Carsten Dominik a607b5b218 Checkboxes: Allow recursive statistics.
Patch by Richard Klinda.
2009-05-10 09:06:03 +02:00
Carsten Dominik 762736d18d Links: Implement special completion support for some link types
The commit implements a general mechanism for providing special
(e.g. completion) support for specific link types when entering links
with `C-c C-l'.  After calling `C-c C-l', you may now press RET after
inserting a link prefix, and Org will look for a function
`org-PREFIX-complete-link'.  Such functions may be defined for any
link types, including link abbreviations.  Currently, Org has
`org-file-complete-link' for file name completion, and
`org-bbdb-complete-link' for completion of record names from BBDB.
2009-05-10 08:51:18 +02:00
Eric Schulte e1127e31c0 reworking/expanding TODOs 2009-05-09 18:51:37 -07:00