1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-18 18:51:52 +00:00
Commit Graph

1856 Commits

Author SHA1 Message Date
Carsten Dominik
c32de18ae0 Allow previous state to be shown in state change log notes.
Wanrong Lin writes:

     My TODO sequence is set up as following:

     (setq org-todo-keywords '((sequence "TODO(t)" "STARTED(s!)"
     "WAITING(w@/!)"      "MAYBE(m/!)" "DELEGATED(g@/!)"
     "DEFERRED(d!/!)" "HOLD(h!/!)" "|" "DONE(x)"      "CANCELED(c)")))

     The state change logging is great, but I wonder whether we can
     further improve it:

     1. Can we also include the original state in the log message?
     i.e.: instead of having      - State "DEFERRED"   [2009-02-11 Wed 11:38]
     we can have
     - State "DEFERRED"  from "HOLD" [2009-02-11 Wed 11:38]

     The message will be clearer, and useful even when somebody edited
     the TODO keyword in place without using the "org-todo" command
     (in that case, simply looking at all the "destination states" in
     the log message does not give us the right information).

This strikes me like a good idea, so I have implemented it with this
commit.
2009-02-12 09:48:07 +01:00
Carsten Dominik
23551eee32 org-choose: Make XEmacs compatible 2009-02-12 09:37:12 +01:00
Carsten Dominik
6761dcbbd2 Minor fixes 2009-02-12 07:12:38 +01:00
Carsten Dominik
f6689dd1e2 Fix minor bug in contrib/lisp/org-eval-light.el
Patch by Eric Schulte
2009-02-12 07:11:54 +01:00
Carsten Dominik
651d2e7a14 Bugfix: Allow org-clock-into-drawer to be 1. 2009-02-11 16:17:38 +01:00
Carsten Dominik
f993ecd67d Daniel Clemente writes:
Consider a file with 2 lines:

     ------------------
     **** heading

     ------------------

      Place the cursor at line 2 (where you can type). Then use C-c C-x C-i
      to start a clock.

      You have now 3 lines:

     ------------------
     **** heading
         CLOCK: [2009-02-07 sáb 01:06]

     ------------------

      However, the cursor is still placed at line 2, like before. I think
      it would be more useful if it were moved to line 3 so that you can
      start writing right away, just as before.  This saves you the C-n
      needed to move again to a blank line.

This commit implements exactly this request.
2009-02-11 15:01:13 +01:00
Carsten Dominik
621bafc1b5 Clocking: Make insertion of the CLOCK drawer safer
Daniel Clemente noticed that the clock drawer, when it is created for
the second clock entry, will swallow a plain list item after it,
because it thinks it might be a clock note.

This commit makes this function check for indentation.  If the plain
list item is indented less than the last clock line, it will be
assumed that it does not belong to the clocking line, and the drawer
will not swallow the item.
2009-02-11 14:41:22 +01:00
Carsten Dominik
0e99f8bed6 Document key binding 2009-02-11 13:35:36 +01:00
Carsten Dominik
babcfd2d58 Docs: Better documentation of attributes for images 2009-02-11 11:12:13 +01:00
Carsten Dominik
c9e266b0ec HTML Export: Add CSS classes for section numbers 2009-02-11 10:25:06 +01:00
Carsten Dominik
bc5b0056e7 Release 6.22b 2009-02-10 20:21:33 +01:00
Carsten Dominik
a599bca287 Agenda: Add new skip conditions to choose menu. 2009-02-10 20:21:33 +01:00
Carsten Dominik
ce42b4be86 Agenda: New command to revert all Org-mode buffers from files 2009-02-10 20:21:27 +01:00
Carsten Dominik
f8cc236c26 Fix typo 2009-02-10 11:52:44 +01:00
Carsten Dominik
aa3ae72fe6 Fix typo. 2009-02-10 10:48:55 +01:00
Carsten Dominik
e592c77846 Release 6.22a 2009-02-10 10:11:23 +01:00
Carsten Dominik
6296225ac6 Fix a bug in org-choose.el 2009-02-10 10:10:44 +01:00
Carsten Dominik
1ece4e1bcb Add release date to NEWS section 2009-02-10 09:22:01 +01:00
Carsten Dominik
8d213584ff Release 6.22 2009-02-10 08:23:35 +01:00
Carsten Dominik
3fb073d522 Finish list of changes for 6.22 2009-02-10 07:51:48 +01:00
Carsten Dominik
dccca7f6bd Add documentation to org-choose.el 2009-02-10 07:51:17 +01:00
Carsten Dominik
b00df4025e Label `org-tab-follows-link' as deprecated. 2009-02-09 12:46:31 +01:00
Carsten Dominik
91660c7bfc List changes for 6.22 in preparation 2009-02-09 12:44:55 +01:00
Carsten Dominik
71e7e8e4a2 org-choose.el: Remove commented line 2009-02-09 12:43:28 +01:00
Carsten Dominik
2d795f8ae0 TODO: Make in-buffer keyword setting more general
Now any line like

  #+XYZ_TODO:

will be assumed to define some kind of TODO chain.  If the handlers in
`org-todo-setup-filter-hook' do not do anything with this sequence, it
will be treated as `sequence'.
2009-02-09 12:36:06 +01:00
Carsten Dominik
aeba61e640 Implement org-return-follows-link directly in `org-return'.
This used to depend on the mouse map, but I no longer think this is a
good idea.  So the function org-return now directly handles this case.
2009-02-09 12:15:19 +01:00
Carsten Dominik
bc5b23def7 org-choose.el: Append new interpretation for custom widget
org-choose.el did prepend its new interpretation to the list of
possible interpretations.  Now it appends, as it should.
2009-02-08 14:12:56 +01:00
Carsten Dominik
56692965b7 Add Tom Breton's org-choose.el as a contributed package 2009-02-08 13:57:37 +01:00
Carsten Dominik
36d39ad374 Add release dates to NEWS section 2009-02-08 10:26:28 +01:00
Carsten Dominik
4698e1bc0b Arrrgh, another css mistake 2009-02-08 10:13:22 +01:00
Carsten Dominik
c19f315030 CSS: Make compatible with the FAQ 2009-02-08 09:38:46 +01:00
Bernt Hansen
3015cd1fb7 Fix grammar in description of org-refile-targets 2009-02-07 16:47:25 +01:00
Carsten Dominik
f963dc3672 Website: Minor modification of test 2009-02-07 15:22:57 +01:00
Carsten Dominik
86c8daa1f6 Utilities: Make sure that version number changes do not touch snapshot links. 2009-02-07 15:20:32 +01:00
Carsten Dominik
c92a7825b7 Website: Document the existence of snapshot release files. 2009-02-07 15:19:59 +01:00
Carsten Dominik
8be2c90ead Export: Fix problem with => in clock lines triggering verbatim text.
Reported by Daniel Clemente.
2009-02-07 12:33:37 +01:00
Carsten Dominik
1b3352c153 Website: Install Sebastian's new css file. 2009-02-07 01:03:59 +01:00
Carsten Dominik
521281bf3d Export: Count levels relative when doing subtree export.
William Henney writes:

    Consider a structure like this:

    * first
    ** second
    *** third
    **** fourth

    Currently, if I export the "third" sub-tree to html (via "C-c @
    C-x C-e h"), then "third" becomes an <h1> heading, but "fourth"
    becomes an <h5> heading. I would rather it were <h2>, i.e. that
    all heading levels be relative to the root of the sub-tree. Is
    there any way to achieve this?

This was not possible so far, but this commit measures the first
headline of the subtree and applies an offset to all level values.
2009-02-06 18:15:42 +01:00
Carsten Dominik
6eed51c304 Export: Fix regular expression for extracting drawers
Reported by Rainer Stengele.
2009-02-06 17:14:34 +01:00
Carsten Dominik
5f68200625 Tables: Allow sorting inactive time stamps.
Hsui-Khuern Tang writes:

   I have a table where one column consists of inactive dates, such as
   this:

     | Date             | OK? |
     |------------------+-----|
     | [2009-01-30 Fri] | x   |
     | [2009-01-27 Tue] | x   |
     | [2009-01-28 Wed] | x   |

   I can't sort the table by that column.  If I change the dates to
   active, then sorting (by time) works fine.  Is this behavior
   intentional?

Yes, intentional, because the same routine also does sorting of
entries and should prefer active time stamps.  However, I realize that
we can still look for an inactive time stamp when no active one can be
found.   This is what this commit implements.
2009-02-06 16:50:35 +01:00
Carsten Dominik
244084b33f Makefile: Fix snapshot release. 2009-02-06 16:47:41 +01:00
Carsten Dominik
717c7b22f5 Column View: Fix bug with capturing column view. 2009-02-06 15:01:36 +01:00
Carsten Dominik
c1ecf88788 Improve documentation of `org-directory'. 2009-02-06 15:01:02 +01:00
Carsten Dominik
125a10319c ATTACH: Fix error in file commentary. 2009-02-06 15:00:27 +01:00
Carsten Dominik
1a66ae5445 Makefile: Implement making snapshots. 2009-02-06 14:59:56 +01:00
Carsten Dominik
477141d43c Export: Fix bug with exporting text before first heading
Skipping text before the first heading was broken, now it works again.
2009-02-06 12:44:52 +01:00
Carsten Dominik
44ed0394c4 Export: Stop LaTeX fragment processing in protected examples
LaTeX fragments like math environments were still matched inside
protected code examples.  Fixed now.
2009-02-06 08:24:18 +01:00
Carsten Dominik
058265c32a Clock: Document persistence.
David Lord writes:

    I can see that org-clock-persistence-insinuate appeared in 6.11
    but I can't find it in the manual.  Does it need to be added?

Yes, right.
2009-02-05 14:52:24 +01:00
Carsten Dominik
5e9d37949b Export: Use color values in CSS for validation. 2009-02-04 23:54:46 +01:00
Carsten Dominik
723ac9ab57 Pullback: org-return-follows-link back to nil.
Setting this to t causes some issues which I need to think more
carefully about.
2009-02-04 23:48:36 +01:00