[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org-mode 4.78

From: Juraj Kubelka
Subject: Re: [Orgmode] Org-mode 4.78
Date: Wed, 20 Jun 2007 00:09:37 +0200

Hi Carsten,

thank you a lot for your efforts. Unfortunately thanks to changes in org-at-timestamp-p function (see patch below) org-agenda-date-later doesn't work. If I comment it, it works. "(match-end 8)" returns nil but number or pointer is expected.

Best regards,

===== patch =====
@@ -13432,6 +13593,8 @@ With prefix ARG, change that many days."
               ((org-pos-in-match-range pos 8)      'minute)
               ((or (org-pos-in-match-range pos 4)
                    (org-pos-in-match-range pos 5)) 'day)
+              ((and (> pos (match-end 8)) (< pos (match-end 0)))
+               (- pos (match-end 8)))
               (t 'day))))

On 19.6.2007, at 10:56, Carsten Dominik wrote:

Org-mode version 4.78 is available through Emacs CVS, and at


XEmacs users, please check, the installation procedure has changed slightly,
and this is not yet in the manual, only below in the list of changes.


- Carsten

Change in Version 4.78

* Overview

  - Time stamps with a time range *included*, like
    : <2007-06-18 Mon 17:33-18:23>

  - Clock times without clocking in/out: CLOCK: => 2:00

  - Language-specific characters allowed in TAGS (Emacs only).

  - Promotion and demotion of items gets the indentation right.

  - Indenting lines with TAB is more intelligent.

* Incompatible changes

  - There is now a special version of `org.el' for XEmacs.
    Before installation, as an XEmacs user you must rename the
    file org_xemacs.el to org.el, i.e. you must overwrite org.el
    with the xemacs version.  For example:

    : mv org_xemacs.el org.el

    This is necessary so that I can make use of some features
    that would be cumbersome to support in a single file.  The
    XEmacs version is derived from the Emacs version with a
    program, so no reason to fear that I might be dropping
    XEmacs support any time soon.  Sorry for the trouble.

* Details

  - A time stamp may now contain a range of times.  So you no
    longer need to use two separate stamps to indicate a time
    interval on a single day.  For example

    : <2007-06-18 Mon 17:30-18:20>

    This is now fully supported, including changing the time
    with S-up/down while the cursor is on the end time.  Also,
    da the date/time prompt, you can simply write your time like
    12:00-14:00 and the range will be inserted.

    This was proposed by Leo some time ago, and recently by

  - You may specify clocking times by hand (i.e. without
    clocking in and out) using this syntax.

    : CLOCK: => 2:00

    Thanks to Scott Jaderholm for this proposal.

  - TAGS may now contain language-specific word characters, as
    long as they are matched by the "[:alnum:]" regexp syntax.
    This is for Emacs only, the XEmacs version continues to use
    the character class "a-zA-Z0-9_@" for tag names.  Thanks to
    David Smith for a patch to this effect (a modified version
    of that patch was applied).  I am considering to make the
    same change for TODO keywords, but not yet.  Note that files
    using localization features may not work correctly in the
    Emacs configuration of another user, so if you are sharing
    org-mode files with other users, it might still be best to
    stick to the ASCII characters.

  - Promotion and demotion of plain list items (commands M-left,
    M-right) no longer changes the indentation by just one
    space.  Instead, it uses intelligence gathered from the
    surrounding list structure to do the right thing.  Thanks to
    William Henney for starting the discussion about this.

  - TAB does now a better job of indenting lines.

    + After tables and code segments (lines starting with ":"),
      indentation goes back to what it was before (thanks to
      William Henney for suggesting this behavior).

    + When plain lists items are involved, we had a long
      discussion on emacs-orgmode where I tried to show that a
      too-sophisticated implementation will still be easily
      fooled.   Here is what I have implemented now - lets see
      if we can agree on this:

      Indentation will flatten lists with the same bullet type,
      but indent another bullet type further.  The time when
      this fails is in a nested list, when you want to get back
      out to a previous level.  For example

      : - item 1
      : - item 2
      : + item 2a
      : + item 2b
      : - item 3

      When using TAB on every line in this list, the structure
      will change to

      : - item 1
      : - item 2
      :   + item 2a
      :   + item 2b
      :     - item 3

      So you need to change the level of the last line by hand,
      using promotion and demotion functions.

Emacs-orgmode mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]