Commit Graph

2211 Commits

Author SHA1 Message Date
Carsten Dominik e85508d5cf LaTeX export: Fix interpretation of \nbsp
Reported by Chris Gray.
2009-05-26 15:40:26 +02:00
Carsten Dominik 0421dead4b Release 6.27a 2009-05-25 16:04:45 +02:00
Carsten Dominik 45c53b2a49 Publishing: Allow :body-only parameter for HTML export
Patch by Richard Klinda
2009-05-25 15:58:16 +02:00
Carsten Dominik 1cd03213f5 Fix bug with time sorting 2009-05-25 15:55:59 +02:00
Carsten Dominik 3ee470daa1 Agenda: Fix bug with killing entries from the agenda
Nicolas Goaziou writes:

> As I was saying in anoter post, it looks like there's something
> weird happening when using C-k in agenda view:
>
> 1. Create two new remember entries (i.e. test and test2) with the
> same tag (I used @office)
> 2. Narrow down the agenda view to only see the @office entries.
> 3. Kill the last but one entry (it should be "test") : both of
> "test" and "test2" disappear frow the view. Actually, "test2" is
> not properly killed, but it is scary nonetheless.
>
> It only happens with two last entries.
>
> Is anyone able to reproduce this ?
2009-05-23 23:03:00 +02:00
Carsten Dominik 08ead187f7 Minor fix 2009-05-23 12:48:47 +02:00
Carsten Dominik b681c7b26e Release 6.27 2009-05-23 08:22:04 +02:00
Carsten Dominik c94b173f14 Merge branch 'changes' 2009-05-23 08:14:03 +02:00
Carsten Dominik 6d406766df LaTeX export: Fix bug when exporting a region
Exporting a region to LaTeX did not recognize section header
correctly.  Fixed now.
2009-05-23 08:13:05 +02:00
Carsten Dominik 24da36f899 Write the list of changes, for the 6.27 release. 2009-05-23 07:58:33 +02:00
Carsten Dominik ab643f15d9 Export: Protect pushing to x-selection, for non-x environments 2009-05-22 17:15:06 +02:00
Carsten Dominik e88564bbba Agenda: New face for today.
There is now a separate for the date of today,
`org-agenda-date-today'.

Patch by Dmitri Minaev
2009-05-22 10:04:56 +02:00
Carsten Dominik b5b87d4b0e Agenda: Allow to remove the restriction while in agenda buffer.
`C-c C-x >' now also works while in the agenda.  Requested by Bernt
Hansen.
2009-05-22 00:38:46 +02:00
Carsten Dominik 9780353171 Agenda: Fix bug when computing agenda appointments with restriction in place 2009-05-21 18:47:33 +02:00
Carsten Dominik db839f4f03 LaTeX export: Fix a variable definition 2009-05-21 18:01:08 +02:00
Carsten Dominik 86a19f342e Priorities: Conditionally disable priority commands
The new option `org-enable-priority-commands' can now be used to turn
off all priority-setting commands, to avoid setting a priority by
accident.
2009-05-21 18:01:08 +02:00
Carsten Dominik d99832a763 Writing down some changes for the release. 2009-05-21 18:00:41 +02:00
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
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
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
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
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
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