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

11785 commits

Author SHA1 Message Date
Carsten Dominik 492a5b5ea9 Version number: Push to 6.22trans 2009-02-13 07:45:42 +01:00
Carsten Dominik 304cb36530 Reverting: also handle id locations.
Saving all buffers will now also safe the id locations.
Reverting all buffers will now also reload the id locations.
2009-02-13 07:45:36 +01:00
Carsten Dominik da6fb7448b org-choose: Apply Tom's patch 2009-02-13 07:35:46 +01:00
Carsten Dominik edd2aab5ee Document the special meaning of LEVEL when `org-odd-levels-only' is used. 2009-02-12 21:22:26 +01:00
Carsten Dominik f939957dc1 State Notes: Allow capturing state notes in a drawer, LOGBOOK
Wanrong Lin writes:

     2. Can we put all of those state change history logging messages
        into a drawer like "STATE-HIST" (when the drawer is defined in
        org-drawers), so it is less intrusive in the file?

Yes we can.  This commit provides this functionality.  It introduces a
new drawer, LOGBOOK.  When the variable
`org-log-state-notes-into-drawer' is set, state change time stamps and
notes will go into this drawer, or another one specified by that
variable.
2009-02-12 18:29:56 +01:00
Carsten Dominik a625558f07 State Notes: Fix indentation when adding to end
When the variable org-log-states-order-reversed was nil, so that notes
would be appended to the list of notes, the indentation of the item
was wrong.  This commit fixes the problem.
2009-02-12 18:29:56 +01:00
Carsten Dominik d8780dbbee HTML export: Allow special colors for each TODO keyword
Wanrong Lin writes:

    Right now in the HTML export the TODO keywords have either
    class="todo", or class="done". That loses all the face properties
    in the original TODO keywords. I think the TODO keywords faces are
    important visual aids to differentiate different types of TODO
    items, so I just wonder whether it is possible to keep the faces
    in the HTML.

This makes sense.  This commit adds, to each TODO keyword, an
additional class named after the keyword.  For example:

  <span class="todo WAITING">WAITING</span>

So each todo keyword gets class "todo" or "done" depending on which
general type it is.  And in addition it gets itself as class.

So go to your CSS file and configure like this:

.todo { font-weight:bold; }
.done { font-weight:bold; }
.TODO { color:red; }
.WAITING { color:orange; }
.DONE { color:green; }

Thanks to Sebastian Rose for the multiple-classes trick.
2009-02-12 18:29:06 +01:00
Dan Davison a81fe7e15b some thoughts on referencing data from R 2009-02-12 11:07:25 -05:00
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
Eric Schulte 1dd3e1c330 some replies and some interesting scoping discussion from the email 2009-02-11 08:08:34 -08: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 sb 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
Dan Davison 46f6a0a084 Some minor responses 2009-02-10 20:18:20 -05:00
Eric Schulte 090e5a12ae small addition to the proposed block format 2009-02-10 14:21:06 -08: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
Eric Schulte d26a98d71a I've done a fairly destructive edit of this file. The main goal was
to enforce a structure on the document that we can use moving forward,
so that any future objective changes are all made to the main
objective list.

I apologize for removing sections written by other people.  I did this
when they were redundant or it was not clear how to fit them into this
structure.  Rest assured if the previous text wasn't persisted in git
I would have been much more cautious about removing it.

I hope that this outline structure should be able to remain stable
through the process of fleshing out objectives, and cashing those
objectives out into tasks.  That said, please feel free to make any
changes that you see fit.

Changes include...
- tearing stuff out, and imposing structure
- updated .gitignore to ignore exported files
2009-02-09 14:43:07 -08: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
Dan Davison 9eeff6504b writing overview section at top of rorg.org 2009-02-08 15:00:51 -05:00
Dan Davison 540d924477 writing overview section at top of rorg.org 2009-02-08 15:00:34 -05:00
Dan Davison ea31e3a9c3 writing overview section at top of rorg.org 2009-02-08 15:00:28 -05:00
Dan Davison cf31c1f134 Trying to write a project overview at top of rorg.org 2009-02-08 13:11:22 -05: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