GNU bug report logs - #5549
23.1; icalender-export-region fails to recognize times like 0:30

Previous Next

Package: emacs;

Reported by: karme <karme <at> karme.de>

Date: Tue, 9 Feb 2010 01:17:01 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5549 in the body.
You can then email your comments to 5549 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5549; Package emacs. (Tue, 09 Feb 2010 01:17:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to karme <karme <at> karme.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 09 Feb 2010 01:17:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: karme <karme <at> karme.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; icalender-export-region fails to recognize times like 0:30
Date: Tue, 09 Feb 2010 01:33:27 +0100
example ~/diary file:
Feb 9, 2010 0:15-0:30 test
Feb 9, 2010 1:00-1:30 test

M-x mark-whole-buffer
M-x icalender-export-region /tmp/test <RET>
M-x find-file /tmp/test:

BEGIN:VCALENDAR
PRODID:-//Emacs//NONSGML icalendar.el//EN
VERSION:2.0
BEGIN:VEVENT
UID:emacs19312442528474988
DTSTART;VALUE=DATE:20100209
DTEND;VALUE=DATE:20100210
SUMMARY:0:15-0:30 test
END:VEVENT
BEGIN:VEVENT
UID:emacs19312442528481099
DTSTART;VALUE=DATE-TIME:20100209T010000
DTEND;VALUE=DATE-TIME:20100209T013000
SUMMARY:test
END:VEVENT
END:VCALENDAR

Note how the the first entry is different from the second one. The time
has not been recognized.

In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu)
 of 2010-01-27 on brahms, modified by Debian
configured using `configure  '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=no' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  server-mode: t
  savehist-mode: t
  iswitchb-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B C-x b d i a RET C-a C-k C-y 
ESC O A RET ESC O A C-y C-k ESC O A ESC O C ESC O C 
ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC 
O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O D 
DEL 0 ESC O C ESC O C ESC O C ESC O C ESC O C ESC O 
C ESC O D DEL 0 C-a C-x C-s ESC O B ESC O A C-@ ESC 
O B ESC O B ESC x ESC O A RET ESC O A RET C-x C-f C-a 
C-k 7 DEL ( t DEL DEL / t TAB t TAB RET ESC < C-@ ESC 
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B 
C-w C-x C-s ESC x r e p TAB o TAB b DEL r t TAB RE
T

Recent messages:
Mark set [2 times]
Saving file /home/karme/diary...
Wrote /home/karme/diary
Mark activated
Saving file /tmp/test...
Wrote /tmp/test
Mark set [2 times]
Saving file /tmp/test...
Wrote /tmp/test
Making completion list... [2 times]





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5549; Package emacs. (Wed, 10 Feb 2010 07:33:02 GMT) Full text and rfc822 format available.

Message #8 received at 5549 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: karme <karme <at> karme.de>
Cc: ulf jasper <ulf.jasper <at> web.de>, 5549 <at> debbugs.gnu.org
Subject: Re: bug#5549: 23.1;
	icalender-export-region fails to recognize times like 0:30
Date: Wed, 10 Feb 2010 02:32:08 -0500
karme wrote:

> example ~/diary file:
> Feb 9, 2010 0:15-0:30 test
> Feb 9, 2010 1:00-1:30 test
>
> M-x mark-whole-buffer
> M-x icalender-export-region /tmp/test <RET>
> M-x find-file /tmp/test:

[first time is not understood]

icalendar.el seems to use a slightly odd regexp for times, namely:

0?\\([1-9][0-9]?:[0-9][0-9]

This isn't going to match a time like "0:15".

Why not just [0-9][0-9]?:[0-9][0-9]   ?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5549; Package emacs. (Thu, 11 Feb 2010 19:17:01 GMT) Full text and rfc822 format available.

Message #11 received at 5549 <at> debbugs.gnu.org (full text, mbox):

From: Ulf Jasper <ulf.jasper <at> web.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: karme <karme <at> karme.de>, 5549 <at> debbugs.gnu.org
Subject: Re: bug#5549: 23.1;
	icalender-export-region fails to recognize times like 0:30
Date: Thu, 11 Feb 2010 20:16:02 +0100
Glenn Morris <rgm <at> gnu.org> writes:
> Why not just [0-9][0-9]?:[0-9][0-9]   ?

That's probably what I had in mind.  I'll fix it the next days.

Ulf




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5549; Package emacs. (Mon, 15 Feb 2010 20:26:02 GMT) Full text and rfc822 format available.

Message #14 received at 5549 <at> debbugs.gnu.org (full text, mbox):

From: Ulf Jasper <ulf.jasper <at> web.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: karme <karme <at> karme.de>, 5549 <at> debbugs.gnu.org
Subject: Re: bug#5549: 23.1;
	icalender-export-region fails to recognize times like 0:30
Date: Mon, 15 Feb 2010 21:25:24 +0100
Fixed.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5549; Package emacs. (Mon, 15 Feb 2010 22:26:01 GMT) Full text and rfc822 format available.

Message #17 received at 5549 <at> debbugs.gnu.org (full text, mbox):

From: karme <karme <at> karme.de>
To: Ulf Jasper <ulf.jasper <at> web.de>
Cc: Glenn Morris <rgm <at> gnu.org>, 5549 <at> debbugs.gnu.org
Subject: Re: bug#5549: 23.1;
	icalender-export-region fails to recognize times like 0:30
Date: Mon, 15 Feb 2010 23:16:51 +0100
Ulf Jasper <ulf.jasper <at> web.de> writes:

> Fixed.

thanks!




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5549; Package emacs. (Thu, 18 Feb 2010 01:13:01 GMT) Full text and rfc822 format available.

Message #20 received at 5549 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Ulf Jasper <ulf.jasper <at> web.de>
Cc: 5549 <at> debbugs.gnu.org
Subject: Re: bug#5549: 23.1;
	icalender-export-region fails to recognize times like 0:30
Date: Wed, 17 Feb 2010 20:12:01 -0500
Ulf Jasper wrote:

> Fixed.

Did you mean to commit something to Emacs trunk here?
(AFAICS, you haven't.)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5549; Package emacs. (Thu, 18 Feb 2010 19:10:03 GMT) Full text and rfc822 format available.

Message #23 received at 5549 <at> debbugs.gnu.org (full text, mbox):

From: Ulf Jasper <ulf.jasper <at> web.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 5549 <at> debbugs.gnu.org
Subject: Re: bug#5549: 23.1;
	icalender-export-region fails to recognize times like 0:30
Date: Thu, 18 Feb 2010 20:08:44 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> Ulf Jasper wrote:
>
>> Fixed.
>
> Did you mean to commit something to Emacs trunk here?
> (AFAICS, you haven't.)

Yes, I committed my changes on monday, 2010-02-15. "bzr status" claims
that everything is ok. So does vc-dir. However, doing "bzr update" says
"Tree is up to date at revision 99387" which seems rather unlikely as i
haven't updated since monday. 

How can I find out, what's wrong here? (BTW I tried to follow the
instructions at http://www.emacswiki.org/emacs/BzrForEmacsDevs)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5549; Package emacs. (Thu, 18 Feb 2010 19:46:02 GMT) Full text and rfc822 format available.

Message #26 received at 5549 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Ulf Jasper <ulf.jasper <at> web.de>
Cc: 5549 <at> debbugs.gnu.org
Subject: Re: bug#5549: 23.1;
	icalender-export-region fails to recognize times like 0:30
Date: Thu, 18 Feb 2010 14:45:48 -0500
Ulf Jasper wrote:

> Yes, I committed my changes on monday, 2010-02-15. "bzr status" claims
> that everything is ok. So does vc-dir. However, doing "bzr update" says
> "Tree is up to date at revision 99387" which seems rather unlikely as i
> haven't updated since monday. 
>
> How can I find out, what's wrong here? (BTW I tried to follow the
> instructions at http://www.emacswiki.org/emacs/BzrForEmacsDevs)

It's probably best to ask about this on emacs-devel.

(I guess you may have only committed it to a local repository on your
machine, and not sent it upstream to the Emacs repository.)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5549; Package emacs. (Fri, 19 Feb 2010 19:05:01 GMT) Full text and rfc822 format available.

Message #29 received at 5549 <at> debbugs.gnu.org (full text, mbox):

From: Ulf Jasper <ulf.jasper <at> web.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 5549 <at> debbugs.gnu.org
Subject: Re: bug#5549: 23.1;
	icalender-export-region fails to recognize times like 0:30
Date: Fri, 19 Feb 2010 20:04:21 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> Ulf Jasper wrote:
>
>> Yes, I committed my changes on monday, 2010-02-15. "bzr status" claims
>> that everything is ok. So does vc-dir. However, doing "bzr update" says
>> "Tree is up to date at revision 99387" which seems rather unlikely as i
>> haven't updated since monday. 
>>
>> How can I find out, what's wrong here? (BTW I tried to follow the
>> instructions at http://www.emacswiki.org/emacs/BzrForEmacsDevs)
>
> It's probably best to ask about this on emacs-devel.
>
> (I guess you may have only committed it to a local repository on your
> machine, and not sent it upstream to the Emacs repository.)

A while ago I noticed that bzr instructions at emacswiki had
changed. Something about "notree" was removed or so. When I tried to
adjust to that I must have messed up my repository/branch/mirror/whatever.

I created a new local repository and now everything is working
again. Sorry for the trouble. Now it really should be

Fixed




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 20 Feb 2010 00:31:02 GMT) Full text and rfc822 format available.

Notification sent to karme <karme <at> karme.de>:
bug acknowledged by developer. (Sat, 20 Feb 2010 00:31:02 GMT) Full text and rfc822 format available.

Message #34 received at 5549-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 5549-done <at> debbugs.gnu.org
Subject: Re: bug#5549: 23.1;
	icalender-export-region fails to recognize times like 0:30
Date: Fri, 19 Feb 2010 19:30:25 -0500
Ulf Jasper wrote:

> I created a new local repository and now everything is working
> again. Sorry for the trouble. Now it really should be
>
> Fixed

Looks like it, thanks!




bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 20 Mar 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.