emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-mode version 5.01
@ 2007-07-02 13:42 Carsten Dominik
  2007-07-02 15:25 ` Xiao-Yong Jin
                   ` (13 more replies)
  0 siblings, 14 replies; 30+ messages in thread
From: Carsten Dominik @ 2007-07-02 13:42 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I am releasing Org-mode 5.01.  It is available at my website

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

and also through Emacs CVS.

I am pretty excited about this release, a new major version.

First: Credit where credit is due:

Much of this was triggered by the thread "Duration Tally"
on emacs-orgmode@gnu.org.  Many thanks to

- Edward DeVilla for coming up with the idea of properties.

- Russel Adams for mentioning an "additional level of folding"
   to be used for capturing properties.  This trigger has become
   the new "Drawer" feature.

- Scott Jaderholm for pointing out the advantages of column view.

- Raman for suggesting a minor mode that exports org-mode
   structure editing to arbitrary modes.

There are important changes, so unless you plan to read the manual
in the near future, I'd advise you carefully read the notes below.

Enjoy!

- Carsten

Changes in version 5.01
-----------------------

* Overview

   - A new minor mode, orgstruct-mode, exports the Org-mode
     structure editing commands into any other mode.

   - DRAWERS are a new level off folding for special sections
     that should stay closed during visibility cycling and only
     open if explicitly asked.

   - Entries can now have PROPERTIES.

   - A COLUMN VIEW implementation allows to easily view and edit
     the properties of a hierarchy of entries.

   - Formula evaluation in the spreadsheet is more consistent
     now.  Properties and per-file constants can be used during
     evaluation.

   - Bug fixes and minor changes.

* Incompatible changes

   - When using LEVEL=N in a tags search, things have changed if
     you are also using `org-odd-levels-only'.  If you are using
     only odd levels (i.e. 1 or 3 or 5... stars), LEVEL=2 will
     now refer to 3 stars, LEVEL=3 to 5 stars etc.  Many thanks
     to Leo (or blame him if you must) who has convinced me
     that this is the better convention.

* Details

   + Orgstruct minor mode

     There is a new minor mode, orgstruct-mode.  This modes works
     in a similar way as Orgtbl-mode.  It can be used to export
     the Org-mode structure-editing commands into arbitrary major
     modes in Emacs.  For example, you can use it in Mail-mode to
     easily create lists.

     The functionality in Orgstruct mode is only active, if the
     cursor is in a line that looks either like a headline, or
     like the first line of a plain list item.  Then the commands
     `TAB', `M-cursor', `M-S-cursor', `M-RET', `M-S-RET', `C-c ^',
     `C-c C-c', and `C-c -' will do structure-related editing just
     like in Org-mode.  If the cursor is not in such a line, all
     these keys will do whatever the major mode or other active
     minor modes have assigned to them.

     Orgstruct-mode is the result of a proposal by Raman, quite
     some time ago.  It has taken a long time, but here is finally
     the promised implementation.

   + Drawers

     The new concept of /drawers/ allows to create sections
     that remain folded during visibility cycling.  Drawers need
     to be configured using the variable `org-drawers'.  A drawer
     starts with a line containing only the name of the drawer
     bracketed by colons. It ends with :END:.  For example,
     after setting

        (setq org-drawers '("PROPERTIES" "HIDDEN"))

     you can then create drawers like this:

        :HIDDEN:
          here is some stuff that remains hidden
          unless TAB is pressed directly in that line
        :END:

     The PROPERTIES drawer has special meaning for ORG-mode, it
     contains properties of an entry (see below).

   + Properties and Column View

     - Entries in Org-mode can now have arbitrary /properties/
       associated with them.  Org-mode handles some default
       properties like the TODO state, the priority, the local
       tags, and planning information like DEADLINE and SCHEDULED.
       In addition, you can assign arbitrary properties by creating
       a property drawer and inserting a line like

          :PROPNAME: This is the value of the property

       Org-mode has an API for properties, if you want to write a
       program using properties, use the functions
       `org-entry-properties', `org-entry-get', `org-entry-put',
       and `org-entry-delete'.

     - Planning information like DEADLINE can be hidden in the
       properties drawer.

       If the PROPERTIES drawer starts in the first line after a
       headline, also the DEADLINE, SCHEDULED and CLOCK information
       will be inserted inside the drawer.  If no PROPERTIES drawer
       is present, or if it does not start in the line right after
       the headline, this information remains in the lines directly
       after the headline, outside the drawer.

     - TAGS searches can now also query properties.  For example,
       the search

          LEVEL=3+BOSS+ASSIGNED="Hans"/WAITING

       will find entries that
       - are level 3
       - have the tag BOSS
       - have an ASSIGNED property with the value "Hans"
       - are TODO status WAITING.

         So here is an entry that will match:

            *** WAITING Clean up the factory     :BOSS:
                :PROPERTIES:
                :ASSIGNED:    Hans
                :END:

         You may also use a regular expression to match against a
         property value.  For example, to find stuff assigned to Hans
         or Sarah, use

            ASSIGNED={^\(Hans\|Sarah\)$}

     - Column View is a special way to look at property values in
       tabular form.  Column View can be used in any org-mode
       file, and also in any agenda buffer.  It works by placing
       an overlay over each headline (or agenda line) that shows a
       table of selected properties.  You can look at and edit
       properties from this view.  Which properties are shown in
       the table must be set up using the COLUMNS property.  You
       can set up different property columns on different levels
       of an outline tree.  For example:

          * People
            :PROPERTIES:
            :COLUMNS: %25ITEM %Name
            :END:
          ** Family
             :PROPERTIES:
             :COLUMNS: %25ITEM %Name %3Age
             :END:
          *** Sam
              Info about Sam, including a property list with Name and 
Age.
          *** Sarah
              Info about Sarah, including a property list with Name and 
Age.
          ** Office
             :PROPERTIES:
             :COLUMNS: %25ITEM %Name %Function %Salary
             :END:
          *** Boss
              Info about the Boss, including a property list with Name,
              Function and Salary (if only we knew....).

       Now we have defined three different sets of columns.  If
       you switch to column view in the /Family/ section, you
       will get a different table than if you do it in the
       /Office/ section.  However, if you switch to column
       view with the cursor on the /People/ section, the
       table will cover all entries, but contain only the
       /Name/.

     - Properties can be used in table formulas.  To access the
       value of the property :XYZ:, use $PROP_XYZ.  The property
       needs to be defined in the hierarchy above the table, not
       necessarily in the same entry as the table.  This was a
       request by Eddward.  File-wide constants can be defined with
       #+CONSTANTS, see below.

     - Things that still need to be sorted out about drawers,
       properties and column view - comments and suggestions
       welcome!

       + How to deal with drawers and properties in HTML and ASCII
         export?
       + What key could be used to insert an empty property drawer
         into an entry?  Where exactly should it be inserted?
       + Right now column view is invoked through the command C-c
         C-x C-c.  It is too easy to type C-x C-c by mistake, and
         that causes Emacs to quit.  Suggestions for a different
         key?
       + Fontification of drawers and properties is not good yet.
         Any suggestions for better defaults?
       + Mouse support for editing properties in column view would
         be nice - maybe Piotr is interested to add this to
         org-mouse.el?

   + Spreadsheet

     - In the spreadsheet, the evaluation of formulas has changed.
       Previously, first the column formulas would be evaluated
       everywhere, and then the field formulas would kick in, and
       in some cases overwrite the results of column formulas in
       the appropriate fields.  This had the side effect that some
       formulas might always use the wrong, intermediate content of
       a field that is computed both by a column and a field
       formula.

       From now on, column formulas will no longer temporarily
       overwrite field formulas.  This gives much more consistent
       results.  For example you can now finally have a column of
       increasing numbers by setting the first field to a fixed
       number, and let the rest follow from a column formula.

       Here is an example

          | 1 |
          | 2 |
          | 3 |
          #+TBLFM: $1=@-1+1::@1$1=1

     - Constants for formulas in spreadsheets are globally defined
       with the variable `org-table-formula-constants'.  File-local
       constants can now be set with a line like:

          #+CONSTANTS: c=299792458.  pi=3.14  eps=2.4e-6

   + Minor changes

     - When entries are archived, a timestamp for the moment of
       archiving is added to the line with planning information.
       It looks like this:

        ARCHIVED: [2007-07-02 Mon 11:34]

       Thanks to J. David Boyd for constructive comments.

     - Bug fixes

       Many bugs are fixed, as usually all the ones where I replied
       "fixed" on emacs-orgmode.  If you reported one of these
       bugs, please check if it really has disappeared in the new
       version, and complain if not.  Thanks!

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
@ 2007-07-02 15:25 ` Xiao-Yong Jin
  2007-07-02 15:29 ` Dale Smith
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Xiao-Yong Jin @ 2007-07-02 15:25 UTC (permalink / raw)
  To: emacs-orgmode


Carsten Dominik <dominik@science.uva.nl> writes:

> Hi,
>
> I am releasing Org-mode 5.01.  It is available at my website
>
>    http://www.astro.uva.nl/~dominik/Tools/org
>
> and also through Emacs CVS.
>
> I am pretty excited about this release, a new major version.

It's fantastic!  I'm so loving it.  Thank you, Dominik.

Xiao-Yong
-- 
    c/*    __o/*
    <\     * (__
    */\      <

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
  2007-07-02 15:25 ` Xiao-Yong Jin
@ 2007-07-02 15:29 ` Dale Smith
  2007-07-02 15:36 ` Xavier Maillard
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Dale Smith @ 2007-07-02 15:29 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> I am releasing Org-mode 5.01.  It is available at my website
>
>     http://www.astro.uva.nl/~dominik/Tools/org
>
> and also through Emacs CVS.
>
> I am pretty excited about this release, a new major version.

Wow!  What a lot of new functionality.  I can hardly wait to start
making good use of all this.

Thanks (again!) for the very fine work you do on org-mode, it has
brought some sanity to my (and many others) life.

-Dale

-- 
Dale P. Smith
dales@vxitech.com
216-447-4059
216-447-8951 FAX

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
  2007-07-02 15:25 ` Xiao-Yong Jin
  2007-07-02 15:29 ` Dale Smith
@ 2007-07-02 15:36 ` Xavier Maillard
  2007-07-02 16:16 ` Russell Adams
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Xavier Maillard @ 2007-07-02 15:36 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik <at> science.uva.nl> writes:

> I am pretty excited about this release, a new major version.

Marvelous !

Xavier

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (2 preceding siblings ...)
  2007-07-02 15:36 ` Xavier Maillard
@ 2007-07-02 16:16 ` Russell Adams
  2007-07-02 17:01 ` Eddward DeVilla
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Russell Adams @ 2007-07-02 16:16 UTC (permalink / raw)
  To: emacs-orgmode

I must say it:

Is it not nifty?!

Thanks!

On Mon, Jul 02, 2007 at 03:42:36PM +0200, Carsten Dominik wrote:
> Hi,
> 
> I am releasing Org-mode 5.01.  It is available at my website
> 
>    http://www.astro.uva.nl/~dominik/Tools/org
> 
> and also through Emacs CVS.
> 
> I am pretty excited about this release, a new major version.
> 
> First: Credit where credit is due:
> 
> Much of this was triggered by the thread "Duration Tally"
> on emacs-orgmode@gnu.org.  Many thanks to
> 
> - Edward DeVilla for coming up with the idea of properties.
> 
> - Russel Adams for mentioning an "additional level of folding"
>   to be used for capturing properties.  This trigger has become
>   the new "Drawer" feature.
> 
> - Scott Jaderholm for pointing out the advantages of column view.
> 
> - Raman for suggesting a minor mode that exports org-mode
>   structure editing to arbitrary modes.
> 
> There are important changes, so unless you plan to read the manual
> in the near future, I'd advise you carefully read the notes below.
> 
> Enjoy!
> 
> - Carsten
> 
> Changes in version 5.01
> -----------------------
> 
> * Overview
> 
>   - A new minor mode, orgstruct-mode, exports the Org-mode
>     structure editing commands into any other mode.
> 
>   - DRAWERS are a new level off folding for special sections
>     that should stay closed during visibility cycling and only
>     open if explicitly asked.
> 
>   - Entries can now have PROPERTIES.
> 
>   - A COLUMN VIEW implementation allows to easily view and edit
>     the properties of a hierarchy of entries.
> 
>   - Formula evaluation in the spreadsheet is more consistent
>     now.  Properties and per-file constants can be used during
>     evaluation.
> 
>   - Bug fixes and minor changes.
> 
> * Incompatible changes
> 
>   - When using LEVEL=N in a tags search, things have changed if
>     you are also using `org-odd-levels-only'.  If you are using
>     only odd levels (i.e. 1 or 3 or 5... stars), LEVEL=2 will
>     now refer to 3 stars, LEVEL=3 to 5 stars etc.  Many thanks
>     to Leo (or blame him if you must) who has convinced me
>     that this is the better convention.
> 
> * Details
> 
>   + Orgstruct minor mode
> 
>     There is a new minor mode, orgstruct-mode.  This modes works
>     in a similar way as Orgtbl-mode.  It can be used to export
>     the Org-mode structure-editing commands into arbitrary major
>     modes in Emacs.  For example, you can use it in Mail-mode to
>     easily create lists.
> 
>     The functionality in Orgstruct mode is only active, if the
>     cursor is in a line that looks either like a headline, or
>     like the first line of a plain list item.  Then the commands
>     `TAB', `M-cursor', `M-S-cursor', `M-RET', `M-S-RET', `C-c ^',
>     `C-c C-c', and `C-c -' will do structure-related editing just
>     like in Org-mode.  If the cursor is not in such a line, all
>     these keys will do whatever the major mode or other active
>     minor modes have assigned to them.
> 
>     Orgstruct-mode is the result of a proposal by Raman, quite
>     some time ago.  It has taken a long time, but here is finally
>     the promised implementation.
> 
>   + Drawers
> 
>     The new concept of /drawers/ allows to create sections
>     that remain folded during visibility cycling.  Drawers need
>     to be configured using the variable `org-drawers'.  A drawer
>     starts with a line containing only the name of the drawer
>     bracketed by colons. It ends with :END:.  For example,
>     after setting
> 
>        (setq org-drawers '("PROPERTIES" "HIDDEN"))
> 
>     you can then create drawers like this:
> 
>        :HIDDEN:
>          here is some stuff that remains hidden
>          unless TAB is pressed directly in that line
>        :END:
> 
>     The PROPERTIES drawer has special meaning for ORG-mode, it
>     contains properties of an entry (see below).
> 
>   + Properties and Column View
> 
>     - Entries in Org-mode can now have arbitrary /properties/
>       associated with them.  Org-mode handles some default
>       properties like the TODO state, the priority, the local
>       tags, and planning information like DEADLINE and SCHEDULED.
>       In addition, you can assign arbitrary properties by creating
>       a property drawer and inserting a line like
> 
>          :PROPNAME: This is the value of the property
> 
>       Org-mode has an API for properties, if you want to write a
>       program using properties, use the functions
>       `org-entry-properties', `org-entry-get', `org-entry-put',
>       and `org-entry-delete'.
> 
>     - Planning information like DEADLINE can be hidden in the
>       properties drawer.
> 
>       If the PROPERTIES drawer starts in the first line after a
>       headline, also the DEADLINE, SCHEDULED and CLOCK information
>       will be inserted inside the drawer.  If no PROPERTIES drawer
>       is present, or if it does not start in the line right after
>       the headline, this information remains in the lines directly
>       after the headline, outside the drawer.
> 
>     - TAGS searches can now also query properties.  For example,
>       the search
> 
>          LEVEL=3+BOSS+ASSIGNED="Hans"/WAITING
> 
>       will find entries that
>       - are level 3
>       - have the tag BOSS
>       - have an ASSIGNED property with the value "Hans"
>       - are TODO status WAITING.
> 
>         So here is an entry that will match:
> 
>            *** WAITING Clean up the factory     :BOSS:
>                :PROPERTIES:
>                :ASSIGNED:    Hans
>                :END:
> 
>         You may also use a regular expression to match against a
>         property value.  For example, to find stuff assigned to Hans
>         or Sarah, use
> 
>            ASSIGNED={^\(Hans\|Sarah\)$}
> 
>     - Column View is a special way to look at property values in
>       tabular form.  Column View can be used in any org-mode
>       file, and also in any agenda buffer.  It works by placing
>       an overlay over each headline (or agenda line) that shows a
>       table of selected properties.  You can look at and edit
>       properties from this view.  Which properties are shown in
>       the table must be set up using the COLUMNS property.  You
>       can set up different property columns on different levels
>       of an outline tree.  For example:
> 
>          * People
>            :PROPERTIES:
>            :COLUMNS: %25ITEM %Name
>            :END:
>          ** Family
>             :PROPERTIES:
>             :COLUMNS: %25ITEM %Name %3Age
>             :END:
>          *** Sam
>              Info about Sam, including a property list with Name and 
> Age.
>          *** Sarah
>              Info about Sarah, including a property list with Name and 
> Age.
>          ** Office
>             :PROPERTIES:
>             :COLUMNS: %25ITEM %Name %Function %Salary
>             :END:
>          *** Boss
>              Info about the Boss, including a property list with Name,
>              Function and Salary (if only we knew....).
> 
>       Now we have defined three different sets of columns.  If
>       you switch to column view in the /Family/ section, you
>       will get a different table than if you do it in the
>       /Office/ section.  However, if you switch to column
>       view with the cursor on the /People/ section, the
>       table will cover all entries, but contain only the
>       /Name/.
> 
>     - Properties can be used in table formulas.  To access the
>       value of the property :XYZ:, use $PROP_XYZ.  The property
>       needs to be defined in the hierarchy above the table, not
>       necessarily in the same entry as the table.  This was a
>       request by Eddward.  File-wide constants can be defined with
>       #+CONSTANTS, see below.
> 
>     - Things that still need to be sorted out about drawers,
>       properties and column view - comments and suggestions
>       welcome!
> 
>       + How to deal with drawers and properties in HTML and ASCII
>         export?
>       + What key could be used to insert an empty property drawer
>         into an entry?  Where exactly should it be inserted?
>       + Right now column view is invoked through the command C-c
>         C-x C-c.  It is too easy to type C-x C-c by mistake, and
>         that causes Emacs to quit.  Suggestions for a different
>         key?
>       + Fontification of drawers and properties is not good yet.
>         Any suggestions for better defaults?
>       + Mouse support for editing properties in column view would
>         be nice - maybe Piotr is interested to add this to
>         org-mouse.el?
> 
>   + Spreadsheet
> 
>     - In the spreadsheet, the evaluation of formulas has changed.
>       Previously, first the column formulas would be evaluated
>       everywhere, and then the field formulas would kick in, and
>       in some cases overwrite the results of column formulas in
>       the appropriate fields.  This had the side effect that some
>       formulas might always use the wrong, intermediate content of
>       a field that is computed both by a column and a field
>       formula.
> 
>       From now on, column formulas will no longer temporarily
>       overwrite field formulas.  This gives much more consistent
>       results.  For example you can now finally have a column of
>       increasing numbers by setting the first field to a fixed
>       number, and let the rest follow from a column formula.
> 
>       Here is an example
> 
>          | 1 |
>          | 2 |
>          | 3 |
>          #+TBLFM: $1=@-1+1::@1$1=1
> 
>     - Constants for formulas in spreadsheets are globally defined
>       with the variable `org-table-formula-constants'.  File-local
>       constants can now be set with a line like:
> 
>          #+CONSTANTS: c=299792458.  pi=3.14  eps=2.4e-6
> 
>   + Minor changes
> 
>     - When entries are archived, a timestamp for the moment of
>       archiving is added to the line with planning information.
>       It looks like this:
> 
>        ARCHIVED: [2007-07-02 Mon 11:34]
> 
>       Thanks to J. David Boyd for constructive comments.
> 
>     - Bug fixes
> 
>       Many bugs are fixed, as usually all the ones where I replied
>       "fixed" on emacs-orgmode.  If you reported one of these
>       bugs, please check if it really has disappeared in the new
>       version, and complain if not.  Thanks!
> 
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (3 preceding siblings ...)
  2007-07-02 16:16 ` Russell Adams
@ 2007-07-02 17:01 ` Eddward DeVilla
  2007-07-02 20:17 ` Vagn Johansen
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Eddward DeVilla @ 2007-07-02 17:01 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

On 7/2/07, Carsten Dominik <dominik@science.uva.nl> wrote:
> Hi,
>
> I am releasing Org-mode 5.01.  It is available at my website

Good Lord!  That is an awful lot of new stuff!  It's going to take me
a while to soak in what all it is and how to use it.   I didn't think
the properties idea was even coherent enough to to be coded yet.
Columns with properties sound great as do draws.  I'm starting to use
formulas more and I'm sure that will be useful.  Likewise, I'm sure
the minor mode will become useful.  I don't know how you do it.  Good
show Carsten!

Edd

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (4 preceding siblings ...)
  2007-07-02 17:01 ` Eddward DeVilla
@ 2007-07-02 20:17 ` Vagn Johansen
  2007-07-02 20:28   ` Xavier Maillard
  2007-07-02 21:56   ` Carsten Dominik
  2007-07-03  3:49 ` Maxim Loginov
                   ` (7 subsequent siblings)
  13 siblings, 2 replies; 30+ messages in thread
From: Vagn Johansen @ 2007-07-02 20:17 UTC (permalink / raw)
  To: emacs-orgmode


There is a (debug) call on line 21425 in org.el

-- 
Vagn Johansen

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

* Re: Org-mode version 5.01
  2007-07-02 20:17 ` Vagn Johansen
@ 2007-07-02 20:28   ` Xavier Maillard
  2007-07-02 21:56   ` Carsten Dominik
  1 sibling, 0 replies; 30+ messages in thread
From: Xavier Maillard @ 2007-07-02 20:28 UTC (permalink / raw)
  To: emacs-orgmode

Vagn Johansen <gonz808 <at> hotmail.com> writes:

> There is a (debug) call on line 21425 in org.el

I do not have this here. What emacs version do you use ?

Xavier

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

* Re: Re: Org-mode version 5.01
  2007-07-02 20:17 ` Vagn Johansen
  2007-07-02 20:28   ` Xavier Maillard
@ 2007-07-02 21:56   ` Carsten Dominik
  1 sibling, 0 replies; 30+ messages in thread
From: Carsten Dominik @ 2007-07-02 21:56 UTC (permalink / raw)
  To: Vagn Johansen; +Cc: emacs-orgmode


On Jul 2, 2007, at 22:17, Vagn Johansen wrote:

>
> There is a (debug) call on line 21425 in org.el

Well, yes, there is one, but in different line.
Sigh, always the same mistakes.  Fixed now, version 5.01b.

- Carsten

>
> -- 
> Vagn Johansen
>
>
>
> _______________________________________________
> 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] 30+ messages in thread

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (5 preceding siblings ...)
  2007-07-02 20:17 ` Vagn Johansen
@ 2007-07-03  3:49 ` Maxim Loginov
  2007-07-03 13:33   ` Carsten Dominik
  2007-07-03  8:49 ` Rick Moynihan
                   ` (6 subsequent siblings)
  13 siblings, 1 reply; 30+ messages in thread
From: Maxim Loginov @ 2007-07-03  3:49 UTC (permalink / raw)
  To: emacs-orgmode

hi Carsten
very nice job! I'm impressed by properties a lot!

some comments/improvement suggestions:

> There are important changes, so unless you plan to read the manual
> in the near future, I'd advise you carefully read the notes below.

addition Changes subsection into info with hyperlinks to relevant
pages make it easier to track new feature. and you do not need
comments like above

- Remember template %^G always surround newly added tag with colons
  even empty tags (if do not want to insert tag and simply you press
  RET for tag prompt). additionally if some :tag: is already
  predefined then none of these :tag%^G :tag:%^G handle
  empty/non-empty inserted tags correctly

- in agenda view tag completion when no more completion matched the
  message [Sole Completion] instead of [No match] looks less scary :-)

best
Maxim

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (6 preceding siblings ...)
  2007-07-03  3:49 ` Maxim Loginov
@ 2007-07-03  8:49 ` Rick Moynihan
  2007-07-03 13:16   ` Carsten Dominik
                     ` (2 more replies)
  2007-07-03 13:20 ` Leo
                   ` (5 subsequent siblings)
  13 siblings, 3 replies; 30+ messages in thread
From: Rick Moynihan @ 2007-07-03  8:49 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

> I am releasing Org-mode 5.01.  It is available at my website

Wow!  A new (major) version of Org-mode!  Is it just me, or does this 
seem like Christmas?

After removing the wrapping, I found a bug which would cause my whole 
Emacs session to crash violently.  When running org-columns, if I call 
it again within a nested subtree inside the column view, Emacs crashes 
(Gnu Emacs 22.0.91.1).

Regardless, great work!

R.

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

* Re: Org-mode version 5.01
  2007-07-03  8:49 ` Rick Moynihan
@ 2007-07-03 13:16   ` Carsten Dominik
  2007-07-04  9:34   ` Carsten Dominik
  2007-07-04  9:42   ` Carsten Dominik
  2 siblings, 0 replies; 30+ messages in thread
From: Carsten Dominik @ 2007-07-03 13:16 UTC (permalink / raw)
  To: Rick Moynihan; +Cc: emacs-orgmode

It does not crash mine, so maybe this is an issue with
your Emacs version.  Would be good if you can upgrade
to 22.1, to see if the problem persists.

I also noticed that the whole column stuff does not work
correctly on Emacs 21.  I am not sure if that can be fixed,
nor how much time I want to put into fixing it, given that
it does work well on Emacs 22.

- Carsten

On Jul 3, 2007, at 10:49, Rick Moynihan wrote:

>> I am releasing Org-mode 5.01.  It is available at my website
>
> Wow!  A new (major) version of Org-mode!  Is it just me, or does this 
> seem like Christmas?
>
> After removing the wrapping, I found a bug which would cause my whole 
> Emacs session to crash violently.  When running org-columns, if I call 
> it again within a nested subtree inside the column view, Emacs crashes 
> (Gnu Emacs 22.0.91.1).
>
> Regardless, great work!
>
> R.
>
>

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

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (7 preceding siblings ...)
  2007-07-03  8:49 ` Rick Moynihan
@ 2007-07-03 13:20 ` Leo
  2007-07-03 14:35 ` Bernt Hansen
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Leo @ 2007-07-03 13:20 UTC (permalink / raw)
  To: emacs-orgmode

On 02/07/2007, Carsten Dominik wrote:
> * Incompatible changes
>
>   - When using LEVEL=N in a tags search, things have changed if
>     you are also using `org-odd-levels-only'.  If you are using
>     only odd levels (i.e. 1 or 3 or 5... stars), LEVEL=2 will
>     now refer to 3 stars, LEVEL=3 to 5 stars etc.  Many thanks
>     to Leo (or blame him if you must) who has convinced me
>     that this is the better convention.

I hope eventually the name `org-odd-levels-only' is less
confusing. Is `org-odd-stars-only' better?

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

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

* Re: Re: Org-mode version 5.01
  2007-07-03  3:49 ` Maxim Loginov
@ 2007-07-03 13:33   ` Carsten Dominik
  0 siblings, 0 replies; 30+ messages in thread
From: Carsten Dominik @ 2007-07-03 13:33 UTC (permalink / raw)
  To: Maxim Loginov; +Cc: emacs-orgmode


On Jul 3, 2007, at 5:49, Maxim Loginov wrote:
>
> - Remember template %^G always surround newly added tag with colons
>   even empty tags (if do not want to insert tag and simply you press
>   RET for tag prompt). additionally if some :tag: is already
>   predefined then none of these :tag%^G :tag:%^G handle
>   empty/non-empty inserted tags correctly

Fixed, thanks.

>
> - in agenda view tag completion when no more completion matched the
>   message [Sole Completion] instead of [No match] looks less scary :-)

Fixed as well, thanks!

Thanks!

- Carsten

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (8 preceding siblings ...)
  2007-07-03 13:20 ` Leo
@ 2007-07-03 14:35 ` Bernt Hansen
  2007-07-03 14:35   ` Leo
  2007-07-03 15:12   ` Carsten Dominik
  2007-07-03 18:49 ` J. David Boyd
                   ` (3 subsequent siblings)
  13 siblings, 2 replies; 30+ messages in thread
From: Bernt Hansen @ 2007-07-03 14:35 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> I am releasing Org-mode 5.01.  It is available at my website

Thanks!  I've noticed a change in the agenda since 4.79.  I normally
limit the agenda view to a single day using D and in the past the view
remembered this setting.  Now in 5.01 C-a a a always goes back to week
view.  The old behaviour was more convenient for me.

Great job Carsten!  Now I need to dig into all the new features and see
how I can use them effectively.  :-)

Regards,
Bernt

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

* Re: Org-mode version 5.01
  2007-07-03 14:35 ` Bernt Hansen
@ 2007-07-03 14:35   ` Leo
  2007-07-03 15:12   ` Carsten Dominik
  1 sibling, 0 replies; 30+ messages in thread
From: Leo @ 2007-07-03 14:35 UTC (permalink / raw)
  To: emacs-orgmode

On 03/07/2007, Bernt Hansen wrote:
> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> I am releasing Org-mode 5.01.  It is available at my website
>
> Thanks!  I've noticed a change in the agenda since 4.79.  I normally
> limit the agenda view to a single day using D and in the past the view
> remembered this setting.  Now in 5.01 C-a a a always goes back to week
> view.  The old behaviour was more convenient for me.

I second this.

>
> Great job Carsten!  Now I need to dig into all the new features and
>see
> how I can use them effectively.  :-)
>
> Regards,
> Bernt

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

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

* Re: Re: Org-mode version 5.01
  2007-07-03 14:35 ` Bernt Hansen
  2007-07-03 14:35   ` Leo
@ 2007-07-03 15:12   ` Carsten Dominik
  2007-07-03 15:30     ` Bernt Hansen
  1 sibling, 1 reply; 30+ messages in thread
From: Carsten Dominik @ 2007-07-03 15:12 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode


On Jul 3, 2007, at 16:35, Bernt Hansen wrote:

> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> I am releasing Org-mode 5.01.  It is available at my website
>
> Thanks!  I've noticed a change in the agenda since 4.79.  I normally
> limit the agenda view to a single day using D and in the past the view
> remembered this setting.  Now in 5.01 C-a a a always goes back to week
> view.  The old behaviour was more convenient for me.

You can change the default by setting

     (setq org-agenda-ndays 1)

But you are right, it makes sense to make it remember
the change.

The reason why it does not right now is because 5.01
also added month and year view, and these are so slow to create
that I don't want this switch to be remembered.  But I will
change it back to remember day and week view.

- Carsten

>
> Great job Carsten!  Now I need to dig into all the new features and see
> how I can use them effectively.  :-)

:-) Still a few issues to iron out, but soon this should be fully 
functional.

- Carsten

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

* Re: Org-mode version 5.01
  2007-07-03 15:12   ` Carsten Dominik
@ 2007-07-03 15:30     ` Bernt Hansen
  0 siblings, 0 replies; 30+ messages in thread
From: Bernt Hansen @ 2007-07-03 15:30 UTC (permalink / raw)
  To: emacs-orgmode

On Jul 3, 2007, at 16:35, Bernt Hansen wrote:

> Thanks!  I've noticed a change in the agenda since 4.79.  I normally
> limit the agenda view to a single day using D and in the past the view
> remembered this setting.  Now in 5.01 C-a a a always goes back to week
> view.  The old behaviour was more convenient for me.

Carsten Dominik <dominik@science.uva.nl> writes:

> You can change the default by setting
>
>     (setq org-agenda-ndays 1)
>
> But you are right, it makes sense to make it remember
> the change.
>
> The reason why it does not right now is because 5.01
> also added month and year view, and these are so slow to create
> that I don't want this switch to be remembered.  But I will
> change it back to remember day and week view.

That makes sense.  I'll just set this variable in my .emacs for now.  I
use single day view about 95% of the time and I'd rather switch
day-to-week view when I need it instead of constantly switching back to
day view.

One option for remembering it would be to limit the remembered value to
7 or less.  That might feel weird to new org mode users though when it
doesn't remember the longer time spans.

Thanks for the quick solution :)

Bernt

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (9 preceding siblings ...)
  2007-07-03 14:35 ` Bernt Hansen
@ 2007-07-03 18:49 ` J. David Boyd
  2007-07-03 22:14   ` Carsten Dominik
  2007-07-03 23:38 ` J. David Boyd
                   ` (2 subsequent siblings)
  13 siblings, 1 reply; 30+ messages in thread
From: J. David Boyd @ 2007-07-03 18:49 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> Hi,
>
> I am releasing Org-mode 5.01.  It is available at my website
>

I think I've found a bug in the agenda.

I go into it, then run 'd' for day mode, or 'm' for month mode, but 'w' never
gets me back to the week mode

I get

org-agenda-change-time-span: Wrong type argument: number-or-marker-p, nil

If I try to M-S-: and enter (org-agenda-week-view)

I get 

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  org-agenda-compute-time-span(732860 week)
  org-agenda-change-time-span(week)
  org-agenda-week-view()
  eval((org-agenda-week-view))
  eval-expression((org-agenda-week-view) nil)
  call-interactively(eval-expression)

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

* Re: Re: Org-mode version 5.01
  2007-07-03 18:49 ` J. David Boyd
@ 2007-07-03 22:14   ` Carsten Dominik
  2007-07-03 23:27     ` J. David Boyd
  0 siblings, 1 reply; 30+ messages in thread
From: Carsten Dominik @ 2007-07-03 22:14 UTC (permalink / raw)
  To: J. David Boyd; +Cc: emacs-orgmode

Hi David,

your backtrace is still incomplete.  Could you please follow the 
instructions
in the manual on how to make a complete one?  Thanks a lot.

- Carsten

On Jul 3, 2007, at 20:49, J. David Boyd wrote:

> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> Hi,
>>
>> I am releasing Org-mode 5.01.  It is available at my website
>>
>
> I think I've found a bug in the agenda.
>
> I go into it, then run 'd' for day mode, or 'm' for month mode, but 
> 'w' never
> gets me back to the week mode
>
> I get
>
> org-agenda-change-time-span: Wrong type argument: number-or-marker-p, 
> nil
>
> If I try to M-S-: and enter (org-agenda-week-view)
>
> I get
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p 
> nil)
>   org-agenda-compute-time-span(732860 week)
>   org-agenda-change-time-span(week)
>   org-agenda-week-view()
>   eval((org-agenda-week-view))
>   eval-expression((org-agenda-week-view) nil)
>   call-interactively(eval-expression)
>
>
>
> _______________________________________________
> 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] 30+ messages in thread

* Re: Org-mode version 5.01
  2007-07-03 22:14   ` Carsten Dominik
@ 2007-07-03 23:27     ` J. David Boyd
  0 siblings, 0 replies; 30+ messages in thread
From: J. David Boyd @ 2007-07-03 23:27 UTC (permalink / raw)
  To: emacs-orgmode


Sure thing, just as soon as I get a second...


Carsten Dominik <dominik@science.uva.nl> writes:

> Hi David,
>
> your backtrace is still incomplete.  Could you please follow the
> instructions
> in the manual on how to make a complete one?  Thanks a lot.
>
> - Carsten
>
> On Jul 3, 2007, at 20:49, J. David Boyd wrote:
>
>> Carsten Dominik <dominik@science.uva.nl> writes:
>>
>>> Hi,
>>>
>>> I am releasing Org-mode 5.01.  It is available at my website
>>>
>>
>> I think I've found a bug in the agenda.
>>
>> I go into it, then run 'd' for day mode, or 'm' for month mode, but
>> w' never
>> gets me back to the week mode
>>
>> I get
>>
>> org-agenda-change-time-span: Wrong type argument:
>> number-or-marker-p, nil
>>
>> If I try to M-S-: and enter (org-agenda-week-view)
>>
>> I get
>>
>> Debugger entered--Lisp error: (wrong-type-argument
>> number-or-marker-p 
>> nil)
>>   org-agenda-compute-time-span(732860 week)
>>   org-agenda-change-time-span(week)
>>   org-agenda-week-view()
>>   eval((org-agenda-week-view))
>>   eval-expression((org-agenda-week-view) nil)
>>   call-interactively(eval-expression)
>>
>>
>>
>> _______________________________________________
>> 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] 30+ messages in thread

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (10 preceding siblings ...)
  2007-07-03 18:49 ` J. David Boyd
@ 2007-07-03 23:38 ` J. David Boyd
  2007-07-04  9:21   ` Carsten Dominik
  2007-07-04 16:45 ` David O'Toole
  2007-07-05  8:16 ` Dmitri Minaev
  13 siblings, 1 reply; 30+ messages in thread
From: J. David Boyd @ 2007-07-03 23:38 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> Hi,
>
> I am releasing Org-mode 5.01.  It is available at my website
>


So, if I'm in the agenda, and I hit 'd' to go to daily mode, then 'w' to back to week mode, I get:


Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  -(2 nil)
  (let* ((nt ...) (n1 org-agenda-start-on-weekday) (d ...)) (setq sd (- sd ...)) (setq nd 7))
  (cond ((eq span ...) (setq nd 1)) ((eq span ...) (let* ... ... ...)) ((eq span ...) (setq sd ... nd ...)) ((eq span ...) (setq sd ... nd ...)))
  (let* ((greg ...) nd) (cond (... ...) (... ...) (... ...) (... ...)) (cons sd nd))
  org-agenda-compute-time-span(732860 week)
  (let* ((sd ...) (computed ...) (org-agenda-overriding-arguments ...)) (org-agenda-redo) (org-agenda-find-today-or-agenda))
  org-agenda-change-time-span(week)
  org-agenda-week-view()
  call-interactively(org-agenda-week-view)


which is the same thing I get with

M-S : (org-agenda-week-view)

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  -(2 nil)
  (let* ((nt ...) (n1 org-agenda-start-on-weekday) (d ...)) (setq sd (- sd ...)) (setq nd 7))
  (cond ((eq span ...) (setq nd 1)) ((eq span ...) (let* ... ... ...)) ((eq span ...) (setq sd ... nd ...)) ((eq span ...) (setq sd ... nd ...)))
  (let* ((greg ...) nd) (cond (... ...) (... ...) (... ...) (... ...)) (cons sd nd))
  org-agenda-compute-time-span(732860 week)
  (let* ((sd ...) (computed ...) (org-agenda-overriding-arguments ...)) (org-agenda-redo) (org-agenda-find-today-or-agenda))
  org-agenda-change-time-span(week)
  org-agenda-week-view()
  eval((org-agenda-week-view))
  eval-expression((org-agenda-week-view) nil)
  call-interactively(eval-expression)



Hope that helps more!

I wonder how to get the ...'s to be replaced with real data?

Dave

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

* Re: Re: Org-mode version 5.01
  2007-07-03 23:38 ` J. David Boyd
@ 2007-07-04  9:21   ` Carsten Dominik
  2007-07-05 12:23     ` J. David Boyd
  0 siblings, 1 reply; 30+ messages in thread
From: Carsten Dominik @ 2007-07-04  9:21 UTC (permalink / raw)
  To: J. David Boyd; +Cc: emacs-orgmode

Much better, thank you.

The error happens for you and not for me because you have set
org-agenda-start-on-weekday to nil.  This will work again
in the next version.

- Carsten

On Jul 4, 2007, at 1:38, J. David Boyd wrote:

> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> Hi,
>>
>> I am releasing Org-mode 5.01.  It is available at my website
>>
>
>
> So, if I'm in the agenda, and I hit 'd' to go to daily mode, then 'w' 
> to back to week mode, I get:
>
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p 
> nil)
>   -(2 nil)
>   (let* ((nt ...) (n1 org-agenda-start-on-weekday) (d ...)) (setq sd 
> (- sd ...)) (setq nd 7))
>   (cond ((eq span ...) (setq nd 1)) ((eq span ...) (let* ... ... ...)) 
> ((eq span ...) (setq sd ... nd ...)) ((eq span ...) (setq sd ... nd 
> ...)))
>   (let* ((greg ...) nd) (cond (... ...) (... ...) (... ...) (... ...)) 
> (cons sd nd))
>   org-agenda-compute-time-span(732860 week)
>   (let* ((sd ...) (computed ...) (org-agenda-overriding-arguments 
> ...)) (org-agenda-redo) (org-agenda-find-today-or-agenda))
>   org-agenda-change-time-span(week)
>   org-agenda-week-view()
>   call-interactively(org-agenda-week-view)
>
>
> which is the same thing I get with
>
> M-S : (org-agenda-week-view)
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p 
> nil)
>   -(2 nil)
>   (let* ((nt ...) (n1 org-agenda-start-on-weekday) (d ...)) (setq sd 
> (- sd ...)) (setq nd 7))
>   (cond ((eq span ...) (setq nd 1)) ((eq span ...) (let* ... ... ...)) 
> ((eq span ...) (setq sd ... nd ...)) ((eq span ...) (setq sd ... nd 
> ...)))
>   (let* ((greg ...) nd) (cond (... ...) (... ...) (... ...) (... ...)) 
> (cons sd nd))
>   org-agenda-compute-time-span(732860 week)
>   (let* ((sd ...) (computed ...) (org-agenda-overriding-arguments 
> ...)) (org-agenda-redo) (org-agenda-find-today-or-agenda))
>   org-agenda-change-time-span(week)
>   org-agenda-week-view()
>   eval((org-agenda-week-view))
>   eval-expression((org-agenda-week-view) nil)
>   call-interactively(eval-expression)
>
>
>
> Hope that helps more!
>
> I wonder how to get the ...'s to be replaced with real data?
>
> Dave
>
>
>
> _______________________________________________
> 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] 30+ messages in thread

* Re: Org-mode version 5.01
  2007-07-03  8:49 ` Rick Moynihan
  2007-07-03 13:16   ` Carsten Dominik
@ 2007-07-04  9:34   ` Carsten Dominik
  2007-07-04  9:42   ` Carsten Dominik
  2 siblings, 0 replies; 30+ messages in thread
From: Carsten Dominik @ 2007-07-04  9:34 UTC (permalink / raw)
  To: Rick Moynihan; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Jul 3, 2007, at 10:49, Rick Moynihan wrote:

>> I am releasing Org-mode 5.01.  It is available at my website
>
> Wow!  A new (major) version of Org-mode!  Is it just me, or does this 
> seem like Christmas?
>
> After removing the wrapping, I found a bug which would cause my whole 
> Emacs session to crash violently.  When running org-columns, if I call 
> it again within a nested subtree inside the column view, Emacs crashes 
> (Gnu Emacs 22.0.91.1).
>
> Regardless, great work!
>
> R.
>
>

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

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

* Re: Org-mode version 5.01
  2007-07-03  8:49 ` Rick Moynihan
  2007-07-03 13:16   ` Carsten Dominik
  2007-07-04  9:34   ` Carsten Dominik
@ 2007-07-04  9:42   ` Carsten Dominik
  2 siblings, 0 replies; 30+ messages in thread
From: Carsten Dominik @ 2007-07-04  9:42 UTC (permalink / raw)
  To: Rick Moynihan; +Cc: emacs-orgmode


On Jul 3, 2007, at 10:49, Rick Moynihan wrote:

> After removing the wrapping, I found a bug which would cause my whole 
> Emacs session to crash violently.  When running org-columns, if I call 
> it again within a nested subtree inside the column view, Emacs crashes 
> (Gnu Emacs 22.0.91.1).

This happens if the line before the start of the column table
is invisible because of the outline.

Fixed for 5.02, thanks.

- Carsten

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (11 preceding siblings ...)
  2007-07-03 23:38 ` J. David Boyd
@ 2007-07-04 16:45 ` David O'Toole
  2007-07-05 10:13   ` Jason F. McBrayer
  2007-07-05  8:16 ` Dmitri Minaev
  13 siblings, 1 reply; 30+ messages in thread
From: David O'Toole @ 2007-07-04 16:45 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


I am really impressed with all the new stuff, and I can't wait to try
this out.

A lot of this will help my new project:
http://dto.freeshell.org/notebook/Eon.html 

Especially the structure editing minor mode, I would like to use that
to organize the display. I do have some code but Eon is not usable
yet. A few more days of work... it's also Independence Day here in the
U.S. so things are a bit slow.

I think that Eon may be of interest to other org-moders. Perhaps
people can read the design doc on my page and perhaps share some
thoughts?

Carsten Dominik <dominik@science.uva.nl> writes:

> Hi,
>
> I am releasing Org-mode 5.01.  It is available at my website
>
>    http://www.astro.uva.nl/~dominik/Tools/org
>
> and also through Emacs CVS.
>
> I am pretty excited about this release, a new major version.
>
> First: Credit where credit is due:
>
> Much of this was triggered by the thread "Duration Tally"
> on emacs-orgmode@gnu.org.  Many thanks to
>
> - Edward DeVilla for coming up with the idea of properties.
>
> - Russel Adams for mentioning an "additional level of folding"
>   to be used for capturing properties.  This trigger has become
>   the new "Drawer" feature.
>
> - Scott Jaderholm for pointing out the advantages of column view.
>
> - Raman for suggesting a minor mode that exports org-mode
>   structure editing to arbitrary modes.
>
> There are important changes, so unless you plan to read the manual
> in the near future, I'd advise you carefully read the notes below.
>
> Enjoy!
>
> - Carsten
>
> Changes in version 5.01
> -----------------------
>
> * Overview
>
>   - A new minor mode, orgstruct-mode, exports the Org-mode
>     structure editing commands into any other mode.
>
>   - DRAWERS are a new level off folding for special sections
>     that should stay closed during visibility cycling and only
>     open if explicitly asked.
>
>   - Entries can now have PROPERTIES.
>
>   - A COLUMN VIEW implementation allows to easily view and edit
>     the properties of a hierarchy of entries.
>
>   - Formula evaluation in the spreadsheet is more consistent
>     now.  Properties and per-file constants can be used during
>     evaluation.
>
>   - Bug fixes and minor changes.
>
> * Incompatible changes
>
>   - When using LEVEL=N in a tags search, things have changed if
>     you are also using `org-odd-levels-only'.  If you are using
>     only odd levels (i.e. 1 or 3 or 5... stars), LEVEL=2 will
>     now refer to 3 stars, LEVEL=3 to 5 stars etc.  Many thanks
>     to Leo (or blame him if you must) who has convinced me
>     that this is the better convention.
>
> * Details
>
>   + Orgstruct minor mode
>
>     There is a new minor mode, orgstruct-mode.  This modes works
>     in a similar way as Orgtbl-mode.  It can be used to export
>     the Org-mode structure-editing commands into arbitrary major
>     modes in Emacs.  For example, you can use it in Mail-mode to
>     easily create lists.
>
>     The functionality in Orgstruct mode is only active, if the
>     cursor is in a line that looks either like a headline, or
>     like the first line of a plain list item.  Then the commands
>     `TAB', `M-cursor', `M-S-cursor', `M-RET', `M-S-RET', `C-c ^',
>     `C-c C-c', and `C-c -' will do structure-related editing just
>     like in Org-mode.  If the cursor is not in such a line, all
>     these keys will do whatever the major mode or other active
>     minor modes have assigned to them.
>
>     Orgstruct-mode is the result of a proposal by Raman, quite
>     some time ago.  It has taken a long time, but here is finally
>     the promised implementation.
>
>   + Drawers
>
>     The new concept of /drawers/ allows to create sections
>     that remain folded during visibility cycling.  Drawers need
>     to be configured using the variable `org-drawers'.  A drawer
>     starts with a line containing only the name of the drawer
>     bracketed by colons. It ends with :END:.  For example,
>     after setting
>
>        (setq org-drawers '("PROPERTIES" "HIDDEN"))
>
>     you can then create drawers like this:
>
>        :HIDDEN:
>          here is some stuff that remains hidden
>          unless TAB is pressed directly in that line
>        :END:
>
>     The PROPERTIES drawer has special meaning for ORG-mode, it
>     contains properties of an entry (see below).
>
>   + Properties and Column View
>
>     - Entries in Org-mode can now have arbitrary /properties/
>       associated with them.  Org-mode handles some default
>       properties like the TODO state, the priority, the local
>       tags, and planning information like DEADLINE and SCHEDULED.
>       In addition, you can assign arbitrary properties by creating
>       a property drawer and inserting a line like
>
>          :PROPNAME: This is the value of the property
>
>       Org-mode has an API for properties, if you want to write a
>       program using properties, use the functions
>       `org-entry-properties', `org-entry-get', `org-entry-put',
>       and `org-entry-delete'.
>
>     - Planning information like DEADLINE can be hidden in the
>       properties drawer.
>
>       If the PROPERTIES drawer starts in the first line after a
>       headline, also the DEADLINE, SCHEDULED and CLOCK information
>       will be inserted inside the drawer.  If no PROPERTIES drawer
>       is present, or if it does not start in the line right after
>       the headline, this information remains in the lines directly
>       after the headline, outside the drawer.
>
>     - TAGS searches can now also query properties.  For example,
>       the search
>
>          LEVEL=3+BOSS+ASSIGNED="Hans"/WAITING
>
>       will find entries that
>       - are level 3
>       - have the tag BOSS
>       - have an ASSIGNED property with the value "Hans"
>       - are TODO status WAITING.
>
>         So here is an entry that will match:
>
>            *** WAITING Clean up the factory     :BOSS:
>                :PROPERTIES:
>                :ASSIGNED:    Hans
>                :END:
>
>         You may also use a regular expression to match against a
>         property value.  For example, to find stuff assigned to Hans
>         or Sarah, use
>
>            ASSIGNED={^\(Hans\|Sarah\)$}
>
>     - Column View is a special way to look at property values in
>       tabular form.  Column View can be used in any org-mode
>       file, and also in any agenda buffer.  It works by placing
>       an overlay over each headline (or agenda line) that shows a
>       table of selected properties.  You can look at and edit
>       properties from this view.  Which properties are shown in
>       the table must be set up using the COLUMNS property.  You
>       can set up different property columns on different levels
>       of an outline tree.  For example:
>
>          * People
>            :PROPERTIES:
>            :COLUMNS: %25ITEM %Name
>            :END:
>          ** Family
>             :PROPERTIES:
>             :COLUMNS: %25ITEM %Name %3Age
>             :END:
>          *** Sam
>              Info about Sam, including a property list with Name and
> Age.
>          *** Sarah
>              Info about Sarah, including a property list with Name and
> Age.
>          ** Office
>             :PROPERTIES:
>             :COLUMNS: %25ITEM %Name %Function %Salary
>             :END:
>          *** Boss
>              Info about the Boss, including a property list with Name,
>              Function and Salary (if only we knew....).
>
>       Now we have defined three different sets of columns.  If
>       you switch to column view in the /Family/ section, you
>       will get a different table than if you do it in the
>       /Office/ section.  However, if you switch to column
>       view with the cursor on the /People/ section, the
>       table will cover all entries, but contain only the
>       /Name/.
>
>     - Properties can be used in table formulas.  To access the
>       value of the property :XYZ:, use $PROP_XYZ.  The property
>       needs to be defined in the hierarchy above the table, not
>       necessarily in the same entry as the table.  This was a
>       request by Eddward.  File-wide constants can be defined with
>       #+CONSTANTS, see below.
>
>     - Things that still need to be sorted out about drawers,
>       properties and column view - comments and suggestions
>       welcome!
>
>       + How to deal with drawers and properties in HTML and ASCII
>         export?
>       + What key could be used to insert an empty property drawer
>         into an entry?  Where exactly should it be inserted?
>       + Right now column view is invoked through the command C-c
>         C-x C-c.  It is too easy to type C-x C-c by mistake, and
>         that causes Emacs to quit.  Suggestions for a different
>         key?
>       + Fontification of drawers and properties is not good yet.
>         Any suggestions for better defaults?
>       + Mouse support for editing properties in column view would
>         be nice - maybe Piotr is interested to add this to
>         org-mouse.el?
>
>   + Spreadsheet
>
>     - In the spreadsheet, the evaluation of formulas has changed.
>       Previously, first the column formulas would be evaluated
>       everywhere, and then the field formulas would kick in, and
>       in some cases overwrite the results of column formulas in
>       the appropriate fields.  This had the side effect that some
>       formulas might always use the wrong, intermediate content of
>       a field that is computed both by a column and a field
>       formula.
>
>       From now on, column formulas will no longer temporarily
>       overwrite field formulas.  This gives much more consistent
>       results.  For example you can now finally have a column of
>       increasing numbers by setting the first field to a fixed
>       number, and let the rest follow from a column formula.
>
>       Here is an example
>
>          | 1 |
>          | 2 |
>          | 3 |
>          #+TBLFM: $1=@-1+1::@1$1=1
>
>     - Constants for formulas in spreadsheets are globally defined
>       with the variable `org-table-formula-constants'.  File-local
>       constants can now be set with a line like:
>
>          #+CONSTANTS: c=299792458.  pi=3.14  eps=2.4e-6
>
>   + Minor changes
>
>     - When entries are archived, a timestamp for the moment of
>       archiving is added to the line with planning information.
>       It looks like this:
>
>        ARCHIVED: [2007-07-02 Mon 11:34]
>
>       Thanks to J. David Boyd for constructive comments.
>
>     - Bug fixes
>
>       Many bugs are fixed, as usually all the ones where I replied
>       "fixed" on emacs-orgmode.  If you reported one of these
>       bugs, please check if it really has disappeared in the new
>       version, and complain if not.  Thanks!
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

-- 
David O'Toole 
dto@gnu.org
http://dto.freeshell.org/notebook/

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

* Re: Org-mode version 5.01
  2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
                   ` (12 preceding siblings ...)
  2007-07-04 16:45 ` David O'Toole
@ 2007-07-05  8:16 ` Dmitri Minaev
  13 siblings, 0 replies; 30+ messages in thread
From: Dmitri Minaev @ 2007-07-05  8:16 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Thanks for the properties, they seem to be a good thing!

However, I found a problem in the new agenda. When I run a custom
agenda command on a file which is not in org-agenda-files, I get the
correct information and the prompt "Available with `N r':" lists the
TODO states specified for this file in #+SEQ_TODO. However, N r
command in this case uses the global list of TODO states.

For example, in the file where the SEQ_TODO is set to:
#+SEQ_TODO: TOREAD READING DONE

I run a custom agenda and get the header:
Global list of TODO items of type: DONE
Available with `N r': (0)ALL (1)TOREAD (2)READING (3)DONE

When I press, say, 1 r, I get:
Global list of TODO items of type: TODO
Available with `N r': (0)ALL (1)TODO (2)DONE (3)REQUESTED etc.

I am not sure, but could it be something with the new org-re function?..

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com

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

* Re: Org-mode version 5.01
  2007-07-04 16:45 ` David O'Toole
@ 2007-07-05 10:13   ` Jason F. McBrayer
  2007-07-05 13:32     ` David O'Toole
  0 siblings, 1 reply; 30+ messages in thread
From: Jason F. McBrayer @ 2007-07-05 10:13 UTC (permalink / raw)
  To: David O'Toole; +Cc: emacs-orgmode

David O'Toole <dto@gnu.org> writes:

> A lot of this will help my new project:
> http://dto.freeshell.org/notebook/Eon.html 

Eon looks very interesting and promising, but I'd have to see some
more concrete examples of usage to really buy-into it.  How friendly
will it be with org?  I liked the idea and look of linkd, but never
installed it because I wasn't sure how linkd links would get along
with org-native links.

-- 
+-----------------------------------------------------------+
| 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] 30+ messages in thread

* Re: Org-mode version 5.01
  2007-07-04  9:21   ` Carsten Dominik
@ 2007-07-05 12:23     ` J. David Boyd
  0 siblings, 0 replies; 30+ messages in thread
From: J. David Boyd @ 2007-07-05 12:23 UTC (permalink / raw)
  To: emacs-orgmode

Thanks.  I really like the feature of seeing the agenda from 'today'
forwards.

Carsten Dominik wrote:
> Much better, thank you.
> 
> The error happens for you and not for me because you have set
> org-agenda-start-on-weekday to nil.  This will work again
> in the next version.
> 
> - Carsten
> 
> On Jul 4, 2007, at 1:38, J. David Boyd wrote:
> 
>> Carsten Dominik <dominik@science.uva.nl> writes:
>>
>>> Hi,
>>>
>>> I am releasing Org-mode 5.01.  It is available at my website
>>>
>>
>>
>> So, if I'm in the agenda, and I hit 'd' to go to daily mode, then 'w'
>> to back to week mode, I get:
>>
>>
>> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p
>> nil)
>>   -(2 nil)
>>   (let* ((nt ...) (n1 org-agenda-start-on-weekday) (d ...)) (setq sd
>> (- sd ...)) (setq nd 7))
>>   (cond ((eq span ...) (setq nd 1)) ((eq span ...) (let* ... ... ...))
>> ((eq span ...) (setq sd ... nd ...)) ((eq span ...) (setq sd ... nd
>> ...)))
>>   (let* ((greg ...) nd) (cond (... ...) (... ...) (... ...) (... ...))
>> (cons sd nd))
>>   org-agenda-compute-time-span(732860 week)
>>   (let* ((sd ...) (computed ...) (org-agenda-overriding-arguments
>> ...)) (org-agenda-redo) (org-agenda-find-today-or-agenda))
>>   org-agenda-change-time-span(week)
>>   org-agenda-week-view()
>>   call-interactively(org-agenda-week-view)
>>
>>
>> which is the same thing I get with
>>
>> M-S : (org-agenda-week-view)
>>
>> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p
>> nil)
>>   -(2 nil)
>>   (let* ((nt ...) (n1 org-agenda-start-on-weekday) (d ...)) (setq sd
>> (- sd ...)) (setq nd 7))
>>   (cond ((eq span ...) (setq nd 1)) ((eq span ...) (let* ... ... ...))
>> ((eq span ...) (setq sd ... nd ...)) ((eq span ...) (setq sd ... nd
>> ...)))
>>   (let* ((greg ...) nd) (cond (... ...) (... ...) (... ...) (... ...))
>> (cons sd nd))
>>   org-agenda-compute-time-span(732860 week)
>>   (let* ((sd ...) (computed ...) (org-agenda-overriding-arguments
>> ...)) (org-agenda-redo) (org-agenda-find-today-or-agenda))
>>   org-agenda-change-time-span(week)
>>   org-agenda-week-view()
>>   eval((org-agenda-week-view))
>>   eval-expression((org-agenda-week-view) nil)
>>   call-interactively(eval-expression)
>>
>>
>>
>> Hope that helps more!
>>
>> I wonder how to get the ...'s to be replaced with real data?
>>
>> Dave
>>
>>
>>
>> _______________________________________________
>> 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] 30+ messages in thread

* Re: Org-mode version 5.01
  2007-07-05 10:13   ` Jason F. McBrayer
@ 2007-07-05 13:32     ` David O'Toole
  0 siblings, 0 replies; 30+ messages in thread
From: David O'Toole @ 2007-07-05 13:32 UTC (permalink / raw)
  To: Jason F. McBrayer; +Cc: emacs-orgmode


jmcbray@carcosa.net (Jason F. McBrayer) writes:

> Eon looks very interesting and promising, but I'd have to see some
> more concrete examples of usage to really buy-into it.  How friendly

I will be fleshing out Eon soon. Very often my initial design ideas
are a bit vague; but after I write 200 or so lines of code, I return to
the design and make changes or even rewrite it. I suspect things will
be much more concrete when that happens. 

I want to be as org-friendly as possible: 

 - using org-structure-mode to display and navigate Eon's buffers
 - integration with org-publish
 - extraction of data from the org-agenda 

   [carsten, is there a way to get lisp data (instead of CSV) out of
   org-agenda? can we talk about ways to "query" org-files by
   grepping for certain dates and/or keywords?]

I will keep the group posted on my progress. 

-- 
David O'Toole 
dto@gnu.org
http://dto.freeshell.org/notebook/

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

end of thread, other threads:[~2007-07-05 13:45 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-02 13:42 Org-mode version 5.01 Carsten Dominik
2007-07-02 15:25 ` Xiao-Yong Jin
2007-07-02 15:29 ` Dale Smith
2007-07-02 15:36 ` Xavier Maillard
2007-07-02 16:16 ` Russell Adams
2007-07-02 17:01 ` Eddward DeVilla
2007-07-02 20:17 ` Vagn Johansen
2007-07-02 20:28   ` Xavier Maillard
2007-07-02 21:56   ` Carsten Dominik
2007-07-03  3:49 ` Maxim Loginov
2007-07-03 13:33   ` Carsten Dominik
2007-07-03  8:49 ` Rick Moynihan
2007-07-03 13:16   ` Carsten Dominik
2007-07-04  9:34   ` Carsten Dominik
2007-07-04  9:42   ` Carsten Dominik
2007-07-03 13:20 ` Leo
2007-07-03 14:35 ` Bernt Hansen
2007-07-03 14:35   ` Leo
2007-07-03 15:12   ` Carsten Dominik
2007-07-03 15:30     ` Bernt Hansen
2007-07-03 18:49 ` J. David Boyd
2007-07-03 22:14   ` Carsten Dominik
2007-07-03 23:27     ` J. David Boyd
2007-07-03 23:38 ` J. David Boyd
2007-07-04  9:21   ` Carsten Dominik
2007-07-05 12:23     ` J. David Boyd
2007-07-04 16:45 ` David O'Toole
2007-07-05 10:13   ` Jason F. McBrayer
2007-07-05 13:32     ` David O'Toole
2007-07-05  8:16 ` Dmitri Minaev

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).