unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30
@ 2010-02-09  0:33 karme
  2010-02-10  7:32 ` Glenn Morris
  0 siblings, 1 reply; 10+ messages in thread
From: karme @ 2010-02-09  0:33 UTC (permalink / raw)
  To: 5549

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]







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

* bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30
  2010-02-09  0:33 bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30 karme
@ 2010-02-10  7:32 ` Glenn Morris
  2010-02-11 19:16   ` Ulf Jasper
  0 siblings, 1 reply; 10+ messages in thread
From: Glenn Morris @ 2010-02-10  7:32 UTC (permalink / raw)
  To: karme; +Cc: 5549

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]   ?






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

* bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30
  2010-02-10  7:32 ` Glenn Morris
@ 2010-02-11 19:16   ` Ulf Jasper
  2010-02-15 20:25     ` Ulf Jasper
  0 siblings, 1 reply; 10+ messages in thread
From: Ulf Jasper @ 2010-02-11 19:16 UTC (permalink / raw)
  To: Glenn Morris; +Cc: karme, 5549

Glenn Morris <rgm@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






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

* bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30
  2010-02-11 19:16   ` Ulf Jasper
@ 2010-02-15 20:25     ` Ulf Jasper
  2010-02-15 22:16       ` karme
  2010-02-18  1:12       ` Glenn Morris
  0 siblings, 2 replies; 10+ messages in thread
From: Ulf Jasper @ 2010-02-15 20:25 UTC (permalink / raw)
  To: Glenn Morris; +Cc: karme, 5549

Fixed.






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

* bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30
  2010-02-15 20:25     ` Ulf Jasper
@ 2010-02-15 22:16       ` karme
  2010-02-18  1:12       ` Glenn Morris
  1 sibling, 0 replies; 10+ messages in thread
From: karme @ 2010-02-15 22:16 UTC (permalink / raw)
  To: Ulf Jasper; +Cc: 5549

Ulf Jasper <ulf.jasper@web.de> writes:

> Fixed.

thanks!






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

* bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30
  2010-02-15 20:25     ` Ulf Jasper
  2010-02-15 22:16       ` karme
@ 2010-02-18  1:12       ` Glenn Morris
  2010-02-18 19:08         ` Ulf Jasper
  1 sibling, 1 reply; 10+ messages in thread
From: Glenn Morris @ 2010-02-18  1:12 UTC (permalink / raw)
  To: Ulf Jasper; +Cc: 5549

Ulf Jasper wrote:

> Fixed.

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






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

* bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30
  2010-02-18  1:12       ` Glenn Morris
@ 2010-02-18 19:08         ` Ulf Jasper
  2010-02-18 19:45           ` Glenn Morris
  0 siblings, 1 reply; 10+ messages in thread
From: Ulf Jasper @ 2010-02-18 19:08 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 5549

Glenn Morris <rgm@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)






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

* bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30
  2010-02-18 19:08         ` Ulf Jasper
@ 2010-02-18 19:45           ` Glenn Morris
  2010-02-19 19:04             ` Ulf Jasper
  0 siblings, 1 reply; 10+ messages in thread
From: Glenn Morris @ 2010-02-18 19:45 UTC (permalink / raw)
  To: Ulf Jasper; +Cc: 5549

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






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

* bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30
  2010-02-18 19:45           ` Glenn Morris
@ 2010-02-19 19:04             ` Ulf Jasper
  2010-02-20  0:30               ` Glenn Morris
  0 siblings, 1 reply; 10+ messages in thread
From: Ulf Jasper @ 2010-02-19 19:04 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 5549

Glenn Morris <rgm@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






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

* bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30
  2010-02-19 19:04             ` Ulf Jasper
@ 2010-02-20  0:30               ` Glenn Morris
  0 siblings, 0 replies; 10+ messages in thread
From: Glenn Morris @ 2010-02-20  0:30 UTC (permalink / raw)
  To: 5549-done

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!






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

end of thread, other threads:[~2010-02-20  0:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-09  0:33 bug#5549: 23.1; icalender-export-region fails to recognize times like 0:30 karme
2010-02-10  7:32 ` Glenn Morris
2010-02-11 19:16   ` Ulf Jasper
2010-02-15 20:25     ` Ulf Jasper
2010-02-15 22:16       ` karme
2010-02-18  1:12       ` Glenn Morris
2010-02-18 19:08         ` Ulf Jasper
2010-02-18 19:45           ` Glenn Morris
2010-02-19 19:04             ` Ulf Jasper
2010-02-20  0:30               ` Glenn Morris

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

	https://git.savannah.gnu.org/cgit/emacs.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).