emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Juraj Kubelka <Juraj.Kubelka@email.cz>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Org-mode 4.78
Date: Wed, 20 Jun 2007 00:09:37 +0200	[thread overview]
Message-ID: <48492DD0-45B2-4B7E-A2DE-5459EBDC0C5B@email.cz> (raw)
In-Reply-To: <a961c00847b546d29cc8d0db516d9d1d@gmail.com>

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,
Juraj


===== 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))))
      ans))



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

> Org-mode version 4.78 is available through Emacs CVS, and at
>
> http://www.astro.uva.nl/~dominik/Tools/org/
>
> 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.
>
> Enjoy!
>
> - 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
>     Michael.
>
>   - 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
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2007-06-19 22:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-19  8:56 Org-mode 4.78 Carsten Dominik
2007-06-19 11:05 ` Leo
2007-06-19 14:13 ` Carsten Dominik
2007-06-19 16:25   ` ignotus
2007-06-19 15:07 ` William Henney
2007-06-19 15:16   ` William Henney
2007-06-22 15:31     ` Carsten Dominik
2007-06-22 16:32       ` William Henney
2007-06-28 20:03         ` Carsten Dominik
2007-06-19 18:45 ` Michael
2007-06-21  9:29   ` Carsten Dominik
2007-06-19 22:09 ` Juraj Kubelka [this message]
2007-06-20  3:06 ` dave
2007-06-20  4:37   ` Carsten Dominik
2007-06-20  5:57     ` dave
2007-06-20 13:27       ` Jason F. McBrayer
2007-06-21  9:30         ` Carsten Dominik
2007-06-21 15:21           ` Jason F. McBrayer
2007-06-21  9:29       ` Carsten Dominik
2007-06-20  8:52 ` Dmitri Minaev
2007-06-21  9:30   ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48492DD0-45B2-4B7E-A2DE-5459EBDC0C5B@email.cz \
    --to=juraj.kubelka@email.cz \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).