Commit graph

1631 commits

Author SHA1 Message Date
Carsten Dominik c76aaf8037 Agenda: Update agenda line after clocking out.
This was a request by Manish
2009-06-22 13:46:02 +02:00
Carsten Dominik f002bc0966 Keep byte compiler happy 2009-06-21 22:40:59 +02:00
Carsten Dominik c1c3c3f7cb Tables: Allow forced alignment to left or right.
Michael Brand writes:

>  2) One could like to have configurable left/right alignment, even
>     combinable with column width, e. g.
>
>  | <l10>      | <r>       |
>  | 3.14       |      0x10 |
>  | 3.141592=> | 0x32 0x10 |

Good idea, I would say.
2009-06-21 22:40:45 +02:00
Carsten Dominik 94c4f801a2 Tables: Fix auto-blanking of fields is yasnippet is active.
When yasnippet is active, it is the official binding of TAB.  That
means, the org-mode self-insert command must know that it may blank
table fields if the last command was yas/expand.
2009-06-21 22:19:15 +02:00
Carsten Dominik 03efd877bc Clock: Add more hooks
This commit add four hooks to the clocking code.

Patch by Benjamin Andresen.
2009-06-21 17:26:52 +02:00
Carsten Dominik 0b474a71d0 Footnotes: Treat inline tasks as text
Reported by Matt Lundin
2009-06-21 08:29:35 +02:00
Carsten Dominik 51ad548037 Better default description for link to Org-mode heading
Requested by Stefan Vollmar.
2009-06-20 21:10:55 +02:00
Carsten Dominik daa2800ff3 Add Wes Hardaker's generic exporter as a contributed package 2009-06-20 20:53:03 +02:00
Carsten Dominik 6525cc622f HTML Export: Remove the extra newline after <pre> tags
Patch by Derek Upham
2009-06-20 20:39:53 +02:00
Carsten Dominik 743b6e396b Add bindings for S-iso-lefttab and backtab to orgtbl-mode
Requested by Derek Upham.
2009-06-19 17:46:27 +02:00
Carsten Dominik 7c3aba2d3a Magnus Henoch writes:
>  I just discovered that org-clock-in displays the clocked-in task
>  in the mode line, so that I can click it and go back to the Org
>  file, which I really like.  I changed it to switch to the window
>  in which I click, by prepending "@" to the interactive spec of
>  org-clock-goto.
2009-06-19 14:03:34 +02:00
Carsten Dominik 4f0bbb66d0 Fix ditaa.jar path
The default path had become wrong after we moved org-exp-blocks to the
core, because it was defined relative to the location of the Lisp file.
2009-06-19 12:15:28 +02:00
Carsten Dominik 62142723fd Fix critical bug in ID search.
Patch by Michael Hohmuth.
2009-06-19 12:13:41 +02:00
Carsten Dominik 4643c2d7f3 Export: Find macro definitions in #+SETUPFILE definitions
Macro definitions can now be included in a file linked to by a
directive #+SETUPFILE.
2009-06-19 07:39:26 +02:00
Carsten Dominik e9028c2d0d Stuck projects: Honor `org-agenda-overriding-header'. 2009-06-18 23:34:29 +02:00
Carsten Dominik 6664cc4495 Fix typo 2009-06-18 23:22:08 +02:00
Carsten Dominik 14a81ef24b Fix typo. 2009-06-18 23:12:53 +02:00
Carsten Dominik 9d59bc0d29 Column view: Skip COMMENT and ARCHIVE trees when capturing
Proposal by Giovanni Ridolfi.
2009-06-18 17:35:59 +02:00
Carsten Dominik 164678d549 Column view: Protect vertical bars in fields when capturing column view
Capturing column view creates an Org-mode table, where the field
values cannot have vertical bars.  These are now protected.
2009-06-18 17:25:03 +02:00
Carsten Dominik 8faf8271fe Improve a docstring 2009-06-18 09:56:59 +02:00
Carsten Dominik e23665ee66 LaTeX export: Make the verbatim environment configurable 2009-06-18 09:30:00 +02:00
Carsten Dominik 57c12e8bef Subtree cloning: Also modify inactive timestamps 2009-06-18 09:14:17 +02:00
Carsten Dominik 8e34ea7b48 HTML export: Make table row tag customizable
Xin Shi writes:

> Hello Experts,
>
> I use org-mode to produce a lot of big tables with numbers in
> them. When I present these tables by HTML, I found it's hard to
> keep track which row it is. I'm wondering if it's possible to
> implement additional class attribute to the <tr>, such as:
>
> <table class="sample">
> <tr class="d0"><td>One</td><td>Fish</td></tr>
> <tr class="d1"><td>Two</td><td>Fish</td></tr>
>
> <tr class="d0"><td>Red</td><td>Fish</td></tr>
> <tr class="d1"><td>Blue</td><td>Fish</td></tr>
> </table>
>
> So, that in the CSS file, it'll be easier to implement the color:
>
>
> <style type="text/css">
> table.sample {
> 	border: 6px inset #8B8378;
> 	-moz-border-radius: 6px;
> }
> table.sample td {
> 	border: 1px solid black;
> 	padding: 0.2em 2ex 0.2em 2ex;
>
> 	color: black;
> }
> table.sample tr.d0 td {
> 	background-color: #FCF6CF;
> }
> table.sample tr.d1 td {
> 	background-color: #FEFEF2;
> }
> </style>

This commit introduces a new variable `org-export-table-row-tags'
that can be used for this and similar purposes.  For the example
of the poster, one could use:

 (setq org-export-table-row-tags
       (cons '(if head "<tr>"
                (if (= (mod nline 2) 1)
                    "<tr class=\"d1\">"
                  "<tr class=\"d0\">"))
             "</tr>"))
2009-06-18 07:07:22 +02:00
Carsten Dominik 5406183319 Blocks: Apply Erics patch for indented blocks in org-exp-blocks.el 2009-06-17 18:19:25 +02:00
Carsten Dominik 0cd85674a5 Fix stuff for org-exp-blocks.el 2009-06-17 18:16:26 +02:00
Carsten Dominik cdb13c76e4 Remember: Allow template target headline to be a function
The target headline in a remember template may by be a function that
will be called to computer the real headline to be used.
2009-06-17 16:49:56 +02:00
Carsten Dominik a5f080361a Clock: Manipulating effort strings, and a mode line menu
Clicking on the clock in the mode line now pops up a menu with
clocking options.

A new command `C-c C-x C-e' allows to set or change the effort
estimate of the task currently being clocked.  This is mainly useful
when using an alert notification when the task should be finished.

Based on a patch by Konstantin Antipin.
2009-06-17 07:40:22 +02:00
Carsten Dominik 951125da8d intermediate 2009-06-16 09:42:05 +02:00
Carsten Dominik 3825cc6bcb Export: Fix bug with empty lines in examples
Patch by Baoqiu Cui.
2009-06-14 18:05:02 +02:00
Carsten Dominik 389a2cc336 Docstring improvement 2009-06-14 08:11:49 +02:00
Carsten Dominik dc5bc0d443 Move variable `org-protecting-blocks' to org.el 2009-06-14 08:05:18 +02:00
Carsten Dominik 7a9275fd89 Consistent behavior when changing TODO keywords with S-cursor.
When the variable `org-treat-S-cursor-todo-selection-as-state-change'
is turned off, switching TODO keywords with S-cursor will not only
turn off logging, but also blocking.
2009-06-14 08:03:14 +02:00
Carsten Dominik d1f1e63d22 Keep byte compiler happy 2009-06-11 22:18:47 +02:00
Carsten Dominik 92163f2518 Protect ditaa, r, R, and dot blocks from fontification
Since org-exp-blocks.el is now core, we protect these blocks from the
start.
2009-06-11 17:59:35 +02:00
Carsten Dominik b15e173215 Export BBDB anniversaries to iCalendar.
When the variable `org-icalendar-include-bbdb-anniversaries' is set.
2009-06-11 17:42:28 +02:00
Carsten Dominik 7b3d0d40f5 New faces for checkbox statistics 2009-06-11 16:19:07 +02:00
Carsten Dominik 74e8c78b93 Move org-exp-blocks.el into the core 2009-06-11 16:17:50 +02:00
Carsten Dominik 54b8e61524 Remove (debug) 2009-06-10 00:44:39 +02:00
Carsten Dominik ae16e6ceca More exporter fixes. 2009-06-10 00:38:06 +02:00
Carsten Dominik 342b2d0884 Fix bugs in HTML and DOCBOOK exporters 2009-06-09 23:42:33 +02:00
Bernt Hansen fab7da2d7c Fix typo in org-clock-get-clocked-time 2009-06-09 23:02:09 +02:00
Bernt Hansen e0f9c00f10 Do not issue the 'task should be finished by now' message if the clock is stopped
This patch prevents the org-clock-sound notification and the

   "Task'BLAH' should be finished by now."

message when the termination time is reached and the clock is not
running.

Before this patch spurious notifications and messages were generated when
clocking in a task with estimated effort time remaining.  After clocking
out the task the remaining minutes would tick by and then the sound
and message that the task should be finished were generated - even though
you are not working on it anymore.
2009-06-09 23:02:01 +02:00
Bernt Hansen 7f9e53d6b1 Initialize org-clock-notification-was-shown on clock-in
This makes org-clock-sound a little more well-behaved.  The clock
sound was only being issued if you were already clocking a task that
was under its limit, and changed to clocking something else.  Now each
time you clock in a new task it checks the estimated effort limit and
issues the org-clock-sound if the limit is exceeded.

This patch issues the org-clock-sound whenever you clock in a task
that is already over its estimated effort amount.  This allows you to
use the estimated effort as a limit for the amount of time to spend on
a task.  Each time you clock in the task you'll be notified that you
are over the limit.  This is great for tasks where you want to limit
the amount of time spent (per day, since last repeat) and is a
reminder to go work on something else instead.
2009-06-09 23:01:34 +02:00
Carsten Dominik a6449c0324 Fix positioning bug when returning from source code editing 2009-06-09 20:19:13 +02:00
Carsten Dominik 05438ec08f Minor fixes 2009-06-09 19:23:59 +02:00
Carsten Dominik 7d20a088f5 Minor fixes 2009-06-09 12:10:27 +02:00
Carsten Dominik d27d3e5fa6 LaTeX export: Fix problems with use of \verb in headlines
See http://article.gmane.org/gmane.emacs.orgmode/14257
2009-06-09 06:26:59 +02:00
Carsten Dominik 5c30228ee0 Fix bug with indentation interpretation during export 2009-06-08 19:57:19 +02:00
Carsten Dominik 28e95ee828 Abort remember if the remember buffer is empty
Following a report by Ryan C. Thompson
2009-06-08 19:45:19 +02:00
Carsten Dominik 737757a5fd Allow for extra indentation of block contents. 2009-06-08 09:39:19 +02:00
Carsten Dominik 5f3b2c275c New hook `org-src-mode-hook'.
This commit adds a new hook `org-src-mode-hook'.

The Hook  run after Org switched a source code snippet to
its Emacs mode.  This hook will run

- when editing a source code snippet with \"C-c '\".
- When formatting a source code snippet for export with htmlize.

You may want to use this hook for example to turn off `outline-minor-mode'
or similar things which you want to have when editing a source code file,
but which mess up the display of a snippet in Org exported files.
2009-06-08 08:52:25 +02:00
Carsten Dominik a554e0ce5c Improve flyspell support in verbatim emphasis strings 2009-06-08 08:36:33 +02:00
Carsten Dominik 379b24cc63 Fix whitespace issues 2009-06-08 08:00:46 +02:00
Carsten Dominik ef57d7b90c Indentation: Make #+end line up with #+begin 2009-06-07 23:21:55 +02:00
Carsten Dominik ea846889f2 Base block indentation after editing on #+begin line 2009-06-07 23:10:36 +02:00
Carsten Dominik cccd7b275c Fix order problem in org-macs.el 2009-06-07 22:14:33 +02:00
Carsten Dominik 5ccc098ebd Fix blockquote support 2009-06-07 22:10:05 +02:00
Carsten Dominik a68ff7f101 Declare a function. 2009-06-07 22:05:03 +02:00
Tassilo Horn 118ee1deaf Require message.el in org-gnus-store-link if needed.
Conflicts:

	lisp/org-gnus.el
2009-06-07 22:02:02 +02:00
Carsten Dominik 503e571e43 Keep byte compiler happy 2009-06-07 17:07:07 +02:00
Carsten Dominik 73c522f727 New file org-src.el, split out of org.el 2009-06-07 16:28:10 +02:00
Carsten Dominik 8a9e604a7a New indentation treatment for blocks during export
Now we also deal with center, quote, and verse blocks.
2009-06-07 16:11:14 +02:00
Carsten Dominik d8e44c1fa0 Minor fix 2009-06-07 10:14:14 +02:00
Carsten Dominik c4f90084d7 Docbook export: Respect example indentation when parsing plain lists
Examples and source code blocks that are not sufficiently indented
will now terminate plain lists.
2009-06-07 08:52:02 +02:00
Carsten Dominik 75117098f0 HTML export: Respect example indentation when parsing plain lists
Examples and source code blocks that are not sufficiently indented
will now terminate plain lists.
2009-06-07 08:44:50 +02:00
Carsten Dominik 574f987670 LaTeX export: Respect example indentation when parsing plain lists 2009-06-07 08:12:49 +02:00
Carsten Dominik 855f85b46f New face for clock in mode line. 2009-06-06 08:13:40 +02:00
Carsten Dominik a2f787a643 New contributed modules org-mac-iCal.el by Christopher Suckling 2009-06-06 07:59:19 +02:00
Carsten Dominik d798741913 Fix bug in org-gnus.el
Patch provided by fengli AT gmail DOT com, forwarded by Tassilo Horn
2009-06-05 12:46:30 +02:00
Carsten Dominik 4cc6309f6f Remember the original indentation of source code snippets
As the export preprocessor removes indentation from indented blocks,
this causes conflicts about interpreting indentation as list
termination.  Now the original indentation is stored in a text
property, so hopefully  the exporters can make use of this information
in due time.
2009-06-05 08:55:40 +02:00
Carsten Dominik b6152ed5b0 Minor indentation fix 2009-06-04 17:28:19 +02:00
Carsten Dominik 22d5daa11a Respect [TABLE-OF-CONTENTS] also for LaTeX export
Reported by Yuva.
2009-06-04 16:52:02 +02:00
Carsten Dominik ea1265539f Make C-c C-c also update clock timings in a CLOCK line 2009-06-04 09:28:42 +02:00
Carsten Dominik 96989dc01e Agenda: Allow custom command options to work better
When the agenda buffer for an agenda series is created, this was so
far done without the options of the custom agenda command in  place.
This meant that some options would not take effect, because the only
place where that did would have an effect was during creation of that
buffer.

This commit makes sure that the global options of an agenda series are
in fact in place when the buffer is created.
2009-06-04 09:23:57 +02:00
Carsten Dominik 3ca7add20a Fix bug with time sorting
Reported by Jrg Hagmann.
2009-06-03 17:15:16 +02:00
Carsten Dominik 45d80c3a31 Remove flyspell overlays in places where they are not wanted 2009-06-03 14:38:23 +02:00
Carsten Dominik 97f9817836 Insert drawers/ planning info unindented when org-adapt-indentation is nil
Requested by Samuel Wales
2009-06-03 14:08:37 +02:00
Carsten Dominik 5e39f24715 Minor fixes 2009-06-02 19:12:30 +02:00
Carsten Dominik cc3bb658ec Editing Source Code Examples: Make C-x C-s save the original buffer
Path by Dan Davison
2009-06-02 18:01:25 +02:00
Carsten Dominik 90c38a0045 Clock: Improve messages 2009-06-02 17:10:23 +02:00
Carsten Dominik a5dc9456dd New option `org-clock-out-switch-to-state'.
Can be used to change the TODO state when clocking out.
2009-06-02 17:01:11 +02:00
Carsten Dominik 8a2247454c Bug fix 2009-06-02 16:36:16 +02:00
Carsten Dominik b95c2a5e9a Better treatment of face inheritance. 2009-06-02 14:50:19 +02:00
Carsten Dominik 1db461321a Keep compiler happy 2009-06-02 14:49:38 +02:00
Carsten Dominik ee4bcda0e9 Clock: More control about what time is shown in mode line while clocking
This commit changes which time is shown in the mode line while
clocking.  Normally this will now be the total time ever clocked on
this task and its children.

However, when the task is a repeating one, only the time since the
last reset of the task will be shown.  The time of the last reset is
now recorded in a LAST_REPEAT property.

You can also set the CLOCK_MODELINE_TOTAL property to the value
"current" to only show the current clocking instance.  Or it may be
the value "today", to only add up the time spent today on this task.
Other possible values are "repeat", "all", or "auto".

Finally, you can set your default for this property with
`org-clock-modeline-total'.
2009-06-02 13:47:50 +02:00
Carsten Dominik 9b823a4586 Repeating entries: Record last repeat time in LAST_REPEAT property 2009-06-02 12:05:16 +02:00
Carsten Dominik 6c5428d5d4 Block editing: Do not quote # lines if there is no plus after # 2009-06-02 09:39:50 +02:00
Carsten Dominik bfa7c38c1c Hide and show the contents of blocks
Patch by Eric Schulte, with modifications.
2009-06-02 09:23:00 +02:00
Carsten Dominik 831050b23d Add Effort property to completion list. 2009-05-30 07:44:02 +02:00
Carsten Dominik 0b5dcee06d Minor fixes 2009-05-30 06:59:46 +02:00
Carsten Dominik 76979e62bd Fix bug with LaTeX entities 2009-05-29 14:34:50 +02:00
Carsten Dominik c3b24f1c19 Fix face inheritance problem for Emacs 22 2009-05-29 09:37:05 +02:00
Carsten Dominik c030d53eb0 Fix indentation problem with editing blocks 2009-05-29 06:27:25 +02:00
Carsten Dominik 5ce1c5708f Clocking: Fix bug in the new cocking code
The cursor could move while collecting the total time for the current
subtree.
2009-05-28 19:49:11 +02:00
Carsten Dominik 9efd83addd Make the list of blocks protecting their content cofigurable 2009-05-28 17:44:44 +02:00
Carsten Dominik 19748886eb Tables: Allow #+TBLFM to be indented 2009-05-28 17:44:12 +02:00
Carsten Dominik 0c49456103 Export: Allow #+label, #+caption, and #_attr_... to be indented. 2009-05-28 17:44:12 +02:00
Carsten Dominik ecfabf4968 Export: Do not treat #+ lines as exportable comments 2009-05-28 17:44:12 +02:00
Carsten Dominik 3089eb6150 Insert block templates indented to cursor cookie position
When a template cookie like "<s" is typed indented on a line, the
amount of white space before the cookie is applied to each new line in
the template.
2009-05-28 17:44:12 +02:00
Carsten Dominik 1fc138838a Blocks: Make editing indented blocks work correctly 2009-05-28 17:44:12 +02:00
Carsten Dominik 0b60bf8aac Export: Allow center, quote, and verse markers to be indented 2009-05-28 17:44:12 +02:00
Carsten Dominik 2be3df3fd8 Export: Allow backend-specific code to be indented
Things like #+latex: and #+begin_html...#+end_html
can now be indented.
2009-05-28 17:43:57 +02:00
Carsten Dominik aea59ca7a6 Export: Allow example and src blocks to be indented 2009-05-28 13:41:29 +02:00
Carsten Dominik 476493d3b3 Fontification: Better treatment of #+ lines and blocks
The content of blocks like #+begin_example will be marked with a
separate face.  That same face is also used for single lines
introducing text for specific backends.
2009-05-28 13:41:28 +02:00
Carsten Dominik 99b3b2d261 HTML export: Better defaults for org-export-html-xml-declaration 2009-05-28 13:41:28 +02:00
Carsten Dominik 2b6a3ac71d Clock notification: Cleaning up some issues 2009-05-28 13:24:23 +02:00
krick e17fdc3aa9 Merge branch 'origin' into clock-effort-notify 2009-05-28 11:17:13 +02:00
Carsten Dominik c4a566df87 Fix typo 2009-05-28 06:43:35 +02:00
krick 59c6574c05 org-clock-sound could be
* nil. No sound played.
* any string, that is not a file. Make a beep
* file name. Emacs tries to play it with aplay, if available.
  If not, use standard emacs play-sound-file function.
2009-05-28 01:10:27 +02:00
Carsten Dominik ff222e41b8 Bind ESC sequences explicitly because translation does not always work.
Patch by Paolo Petta
2009-05-27 20:04:25 +02:00
Carsten Dominik a18546c360 TODO entries: Control over when selecting a state is treated as state change.
This commit introduces two new variables:

- org-treat-insert-todo-heading-as-state-change

  Default is nil.  When set to t, adding a new TODO item will be done
  by adding an item and the executing an "official" state change which
  potentially will trigger state logging.

- org-treat-S-cursor-todo-seletion-as-state-change

  Default is t.  When set to nil, selecting a TODO state with
  S-left/right will not trigger logging, only selecting a new state
  with `C-c C-t'.  I actually like this a lot and would even consider
  making this the default.
2009-05-27 18:54:44 +02:00
Carsten Dominik ca79257ca6 HTML export: Better defaults for org-export-html-xml-declaration 2009-05-27 18:16:26 +02:00
krick 8c3ffc6259 Remove setq of the org-clock-sound here :) 2009-05-27 08:49:51 +02:00
krick 3c2099c29b Show total clocked time in mode line.
(Instead time since last start)
2009-05-26 23:30:38 +02:00
Carsten Dominik 3d1ff31b60 LaTeX export: Fix \nbsp, 2nd attempt 2009-05-26 17:04:10 +02:00
Carsten Dominik 7ab9c52c3d Revert "LaTeX export: Fix interpretation of \nbsp"
This reverts commit e85508d5cf.
2009-05-26 16:47:38 +02:00
Carsten Dominik ae7b8f6b12 Push version number to 6.27trans 2009-05-26 15:41:44 +02:00
Carsten Dominik e85508d5cf LaTeX export: Fix interpretation of \nbsp
Reported by Chris Gray.
2009-05-26 15:40:26 +02:00
krick 7c2930e96b In case we set effort estimate on the currently clocked item,
show notification when time is up.
 * Linux only: If libnotify is used - the standard notification
   system in linux, then show notification with it.
   Note: Additional package libnotify-bin should be installed.
Additionally, use beep if variable org-clock-sound is set.
 * If aplay (alsa player) is available, interpret org-clock-sound as
   path to the file, which should be played.
2009-05-25 22:01:34 +02:00
krick d4b85109dd Show estimated effort in the mode-line if it is set.
* Set org-clock-effort variable in org-clock-in function.
* If org-clock-effort is not nil, show estimated effort in the mode-line.
2009-05-25 16:54:03 +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 b681c7b26e Release 6.27 2009-05-23 08:22:04 +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 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 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 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 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