emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Release: Org-mode 4.70
@ 2007-04-03 22:13 Carsten Dominik
  2007-04-03 23:06 ` Leo
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Carsten Dominik @ 2007-04-03 22:13 UTC (permalink / raw)
  To: emacs-orgmode

Hi everyone,

I am releasing org-mode version 4.70 at

http://www.astro.uva.nl/~dominik/Tools/org

Enjoy!

- Carsten

Changes in version 4.70
-----------------------

* Overview

   - The dust settles after the upgrade of TODO keywords.
   - The export title can be taken from the first text line.
   - TTY replacement keys have changed.

* Incompatible changes

   - Some TTY replacement keys are changed, see below.

* Details

   - Further development concerning TODO keywords.

     + You can now have several DONE states in a sequence, like

       #+SEQ_TODO: TODO VERIFY | DONE DELEGATED

       The difference to the proposal discussed on the mailing
       list (and which is also works!)

         #+SEQ_TODO: TODO VERIFY | DONE
         #+SEQ_TODO: | CANCELED

       is that in the first case, the extra DONE states will be
       reached with `C-c C-t' (or with `t' from the agenda), while
       in the second case you need S-<right> or C-S-<right> to get
       to the special states.  I guess both ideas can be useful.

     + A more complex TODO setup can now be configured in Lisp.
       Setting up TODO keywords in Lisp previously used two
       separate variables: `org-todo-keywords' and
       `org-todo-interpretation'.  The preferred way is now to use
       only `org-todo-keywords', with a new structure:

        (setq org-todo-keywords
          '((sequence "TODO" "|" "DONE")
            (sequence "BUG" "KNOWNCAUSE" "|" "FIXED" "IGNORED")
            (type "Fred" "Lisa" "Peter" "|" "DONE")
            (sequence "CANCELED")    ; for things we decide to not do.
            ))

       If your setting has this new structure,
       `org-todo-interpretation' will be ignored.  This change
       does not break backward compatibility.  The old way of
       using a flat list in `org-todo-keywords' and taking the
       interpretation from the other variable still works.

     + When listing *specific* TODO entries via a sparse tree
       (`C-u C-c C-v') or via the agenda (`C-c a T' or `C-u C-c a
       t'), you can now specify several keywords to be selected,
       like "TODO|VERIFY|WAITING".  This also works for custom
       agenda commands.  Thanks to Jason F. McBrayer for pointing
       out this omission.

   - If you have configured Org-mode to export also the text
     before the first headline (this is done by setting the
     variable `org-export-skip-text-before-1st-heading' to nil),
     then the first normal text line in the buffer becomes the
     title of the exported document.  A title set with #+TITLE
     overules this default, and the first line then belongs to the
     normal text.  Thanks to David House for this proposal.

   - TTY replacement keys.  Some of the key bindings used by
     Org-mode do not work on a tty, so replacement key sequences
     are provided on ttys.  In version 4.70, there are some
     changes in the tty replacements.  Thanks to Jason F. McBrayer
     for coming up with the idea to use C-c <cursor> keys.

     | Command           |           | Old TTY       | New TTY       |
     | org-.....         | Main Key  | Replacement   | Replacement   |
     |-------------------+-----------+---------------+---------------|
     | shiftleft         | S-left    | C-c C-x left  | C-c left      |
     | shiftright        | S-right   | C-c C-x right | C-c right     |
     | shiftup           | S-up      | C-c C-x up    | C-c up        |
     | shiftdown         | S-down    | C-c C-x down  | C-c down      |
     | shiftcontrolleft  | C-S-left  |               | C-c C-x left  |
     | shiftcontrolright | C-s-right |               | C-c C-x right |

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Release: Org-mode 4.70
  2007-04-03 22:13 Release: Org-mode 4.70 Carsten Dominik
@ 2007-04-03 23:06 ` Leo
  2007-04-03 23:17 ` Leo
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Leo @ 2007-04-03 23:06 UTC (permalink / raw)
  To: emacs-orgmode

On 2007-04-03, Carsten Dominik said:
>   - Further development concerning TODO keywords.

I now find this very useful. Thanks.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Release: Org-mode 4.70
  2007-04-03 22:13 Release: Org-mode 4.70 Carsten Dominik
  2007-04-03 23:06 ` Leo
@ 2007-04-03 23:17 ` Leo
  2007-04-05  9:18   ` Bastien
  2007-04-04 13:57 ` Jason F. McBrayer
  2007-04-05 18:50 ` org-mouse broken (was: Release: Org-mode 4.70) Leo
  3 siblings, 1 reply; 8+ messages in thread
From: Leo @ 2007-04-03 23:17 UTC (permalink / raw)
  To: emacs-orgmode

I seem to find a bug related to TODO. My setting is:
,----
| org-todo-keywords '((sequence "ACTION" "DONE")
|                     (sequence "|" "WAITING"))
`----

If current buffer is not one of the files in org-agenda-files, 'C-c a
t' shows:
,----
| Global list of TODO items of type: ALL
| Available with `N r': (0)ALL 
`----
Otherwise it shows:
,----
| Global list of TODO items of type: ALL
| Available with `N r': (0)ALL (1)ACTION (2)DONE (3)WAITING
`----

Regards,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Release: Org-mode 4.70
  2007-04-03 22:13 Release: Org-mode 4.70 Carsten Dominik
  2007-04-03 23:06 ` Leo
  2007-04-03 23:17 ` Leo
@ 2007-04-04 13:57 ` Jason F. McBrayer
  2007-04-05 18:50 ` org-mouse broken (was: Release: Org-mode 4.70) Leo
  3 siblings, 0 replies; 8+ messages in thread
From: Jason F. McBrayer @ 2007-04-04 13:57 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Nice additions this time.  Having more complex keyword setups
configurable in lisp is especially valuable to me (multi-file setup
sharing the same set of keywords).

Thanks for all your hard work!
-- 
+-----------------------------------------------------------+
| Jason F. McBrayer                    jmcbray@carcosa.net  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada    |

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Re: Release: Org-mode 4.70
  2007-04-03 23:17 ` Leo
@ 2007-04-05  9:18   ` Bastien
  2007-04-05 16:56     ` Carsten Dominik
  0 siblings, 1 reply; 8+ messages in thread
From: Bastien @ 2007-04-05  9:18 UTC (permalink / raw)
  To: emacs-orgmode

Hello list,

now (org-todo-list 1) does not list the proper headlines: it includes other
TODO keyword than the first one.  It might be related to the problem Leo is
describing below.

Regards,

Leo <sdl.web@gmail.com> writes:

> I seem to find a bug related to TODO. My setting is:
> ,----
> | org-todo-keywords '((sequence "ACTION" "DONE")
> |                     (sequence "|" "WAITING"))
> `----
>
> If current buffer is not one of the files in org-agenda-files, 'C-c a
> t' shows:
> ,----
> | Global list of TODO items of type: ALL
> | Available with `N r': (0)ALL 
> `----
> Otherwise it shows:
> ,----
> | Global list of TODO items of type: ALL
> | Available with `N r': (0)ALL (1)ACTION (2)DONE (3)WAITING
> `----

-- 
Bastien

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Re: Release: Org-mode 4.70
  2007-04-05  9:18   ` Bastien
@ 2007-04-05 16:56     ` Carsten Dominik
  0 siblings, 0 replies; 8+ messages in thread
From: Carsten Dominik @ 2007-04-05 16:56 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Yes, same error, will be fixed as well.

- Carsten

On Apr 5, 2007, at 11:18, Bastien wrote:

> Hello list,
>
> now (org-todo-list 1) does not list the proper headlines: it includes 
> other
> TODO keyword than the first one.  It might be related to the problem 
> Leo is
> describing below.
>
> Regards,
>
> Leo <sdl.web@gmail.com> writes:
>
>> I seem to find a bug related to TODO. My setting is:
>> ,----
>> | org-todo-keywords '((sequence "ACTION" "DONE")
>> |                     (sequence "|" "WAITING"))
>> `----
>>
>> If current buffer is not one of the files in org-agenda-files, 'C-c a
>> t' shows:
>> ,----
>> | Global list of TODO items of type: ALL
>> | Available with `N r': (0)ALL
>> `----
>> Otherwise it shows:
>> ,----
>> | Global list of TODO items of type: ALL
>> | Available with `N r': (0)ALL (1)ACTION (2)DONE (3)WAITING
>> `----
>
> -- 
> Bastien
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

^ permalink raw reply	[flat|nested] 8+ messages in thread

* org-mouse broken (was: Release: Org-mode 4.70)
  2007-04-03 22:13 Release: Org-mode 4.70 Carsten Dominik
                   ` (2 preceding siblings ...)
  2007-04-04 13:57 ` Jason F. McBrayer
@ 2007-04-05 18:50 ` Leo
  2007-04-05 20:50   ` Carsten Dominik
  3 siblings, 1 reply; 8+ messages in thread
From: Leo @ 2007-04-05 18:50 UTC (permalink / raw)
  To: emacs-orgmode

On 2007-04-03, Carsten Dominik said:

> * Overview
>
>   - The dust settles after the upgrade of TODO keywords.

This seems to break org-mouse. Now right click on the TODO keywords
bring up the submenu "TODO Status" with only 1 item "None".

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: org-mouse broken (was: Release: Org-mode 4.70)
  2007-04-05 18:50 ` org-mouse broken (was: Release: Org-mode 4.70) Leo
@ 2007-04-05 20:50   ` Carsten Dominik
  0 siblings, 0 replies; 8+ messages in thread
From: Carsten Dominik @ 2007-04-05 20:50 UTC (permalink / raw)
  To: Leo; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

Sometimes I wonder how many things can go wrong.
I did fix org-mouse, but forgot to put the new version into the package.
Please apply the patch below or use the version from Piotr's website.

- Carsten


[-- Attachment #2: patch --]
[-- Type: application/octet-stream, Size: 1456 bytes --]

--- org-mouse.el.orig	Tue Apr  3 17:55:10 2007
+++ org-mouse.el	Tue Apr  3 17:58:24 2007
@@ -548,6 +548,9 @@
 	(set-match-data ',match)
 	(apply ',function rest)))))
 
+(defun org-mouse-todo-keywords ()
+  (if (boundp 'org-todo-keywords-1) org-todo-keywords-1 org-todo-keywords))
+
 (defun org-mouse-match-todo-keyword ()
   (save-excursion
     (org-back-to-heading)
@@ -616,10 +619,10 @@
 			 (org-mouse-remove-match-and-spaces))))]
        )))
    ((and (org-mouse-looking-at "\\b\\w+" "a-zA-Z0-9_")
- 	 (member (match-string 0) org-todo-keywords))
+ 	 (member (match-string 0) (org-mouse-todo-keywords)))
     (popup-menu 
      `(nil
-       ,@(org-mouse-keyword-replace-menu org-todo-keywords)
+       ,@(org-mouse-keyword-replace-menu (org-mouse-todo-keywords))
        "--" 
        ["Check TODOs" org-show-todo-tree t]
        ["List all TODO keywords" org-todo-list t]
@@ -758,7 +761,8 @@
 	  ,@(org-mouse-tag-menu))
 	 ("TODO Status"
 	  ,@(progn (org-mouse-match-todo-keyword)
-		   (org-mouse-keyword-replace-menu org-todo-keywords 1)))
+		   (org-mouse-keyword-replace-menu (org-mouse-todo-keywords)
+						   1)))
 	 ["Show Tags" 
 	  (with-current-buffer org-mouse-main-buffer (org-agenda-show-tags))
 	  :visible (not org-mouse-direct)]
@@ -1027,7 +1031,6 @@
 	 ["Quit" org-agenda-quit t]
 	 ["Exit and Release Buffers" org-agenda-exit t]
 	 ))))
-
 
 (defun org-mouse-get-gesture (event)
   (let ((startxy (posn-x-y (event-start event)))

[-- Attachment #3: Type: text/plain, Size: 685 bytes --]


On Apr 5, 2007, at 20:50, Leo wrote:

> On 2007-04-03, Carsten Dominik said:
>
>> * Overview
>>
>>   - The dust settles after the upgrade of TODO keywords.
>
> This seems to break org-mouse. Now right click on the TODO keywords
> bring up the submenu "TODO Status" with only 1 item "None".
>
> -- 
> Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

[-- Attachment #4: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-04-05 20:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-03 22:13 Release: Org-mode 4.70 Carsten Dominik
2007-04-03 23:06 ` Leo
2007-04-03 23:17 ` Leo
2007-04-05  9:18   ` Bastien
2007-04-05 16:56     ` Carsten Dominik
2007-04-04 13:57 ` Jason F. McBrayer
2007-04-05 18:50 ` org-mouse broken (was: Release: Org-mode 4.70) Leo
2007-04-05 20:50   ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).