all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 23.0.50; org-timeline -> encode-time: Specified time is not representable
@ 2007-11-17 14:05 Reiner Steib
  2007-11-18 22:46 ` Richard Stallman
  2007-11-19  8:01 ` Carsten Dominik
  0 siblings, 2 replies; 3+ messages in thread
From: Reiner Steib @ 2007-11-17 14:05 UTC (permalink / raw)
  To: emacs-devel; +Cc: Carsten Dominik

M-x report-emacs-bug wrote:

> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:

- C-x C-x tst.org RET (see file below)

- M-x toggle-debug-on-error RET

- Do `<menu-bar> <Org> <Special views current file> <Timeline>'
  (M-x org-timeline RET)

,----
| Debugger entered--Lisp error: (error "Specified time is not representable")
|   encode-time(0 0 0 1 0 0 nil nil nil)
|   apply(encode-time (0 0 0 1 0 0 nil nil nil))
|   org-time-string-to-time(#("0000-00-01" 0 10 (fontified t
|     mouse-face highlight rear-nonsticky (mouse-face highlight keymap
|     invisible intangible help-echo org-linked-text) keymap (keymap
|     ... ... ...) face org-date)))
|   org-get-all-dates(1 851 no-ranges t nil 3)
|   org-timeline(nil)
|   call-interactively(org-timeline)
`----

I'm not sure if `org-mode' and `encode-time' are supposed to parse
dates like "0000-00-01" correctly.  So maybe it's no a bug. ;-)

> In GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6)
>  of 2007-10-31 on viandante
> Windowing system distributor `The X.Org Foundation', version 11.0.70199902
> configured using `configure  '--prefix=/import/xtra/emacs/HEAD' '--with-gtk' '--exec-prefix=/import/xtra/emacs/HEAD-i686' 'CFLAGS=-Wno-pointer-sign -O0 -fno-crossjumping -gdwarf-2 -g3''
> 
> 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: en_US.UTF-8
>   locale-coding-system: utf-8
>   default-enable-multibyte-characters: t
> 
> Major mode: Org
> 
> Minor modes in effect:
>   tooltip-mode: t
>   tool-bar-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   unify-8859-on-encoding-mode: t
>   utf-translate-cjk-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: identity
> 
> Recent input:
> <help-echo> <help-echo> <help-echo> C-x C-f / t m p 
> / s t e / t s t . o r g <tab> <return> M-x t o g g 
> <tab> d e b <tab> e <tab> <return> <help-echo> <menu-bar> 
> <Org> <Special views current file> <Timeline> <help-echo> 
> M-x r e p <tab> C-g <down-mouse-1> <mouse-1> <help-echo> 
> M-x r e p o <tab> r <tab> <return>
> 
> Recent messages:
> For information about GNU Emacs and the GNU system, type C-h C-a.
> OVERVIEW
> Debug on Error enabled globally
> Entering debugger...
> Making completion list...
> Quit
> Making completion list...

Bye, Reiner.

From <http://thread.gmane.org/gmane.emacs.help/49263>:
----------------------------------------------------------------------
-*- mode: org -*-

  GENESIS - THE WORLD PROJECT

* Environment
** TODO Create Heavens And Earth
   SCHEDULED: <0000-00-01 Mon>
** TODO Make Light
   SCHEDULED: <0000-00-01 Mon>
** TODO Make The Sky
   SCHEDULED: <0000-00-02 Tue>
** TODO Make Some Land
   SCHEDULED: <0000-00-03 Wed>
** TODO Make The Sun And The Moon
   SCHEDULED: <0000-00-04 Thu>
** TODO Make The Stars
   SCHEDULED: <0000-00-04 Thu>

* Life
** TODO Make The Plants
   SCHEDULED: <0000-00-03 Wed>
** TODO Make Sea Creatures
   SCHEDULED: <0000-00-05 Fri>
** TODO Make Birds
   SCHEDULED: <0000-00-05 Fri>
** TODO Make Land Creatures
   SCHEDULED: <0000-00-06 Sat>
** TODO Make Humans
   SCHEDULED: <0000-00-06 Sat>

* Privat
** TODO Take A Rest
   SCHEDULED: <0000-00-07 Sun>

* Notes:
  - The filing of plants is blurry
  - Everything's so important, so it should be capitalized.
----------------------------------------------------------------------
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: 23.0.50; org-timeline -> encode-time: Specified time is not representable
  2007-11-17 14:05 23.0.50; org-timeline -> encode-time: Specified time is not representable Reiner Steib
@ 2007-11-18 22:46 ` Richard Stallman
  2007-11-19  8:01 ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2007-11-18 22:46 UTC (permalink / raw)
  To: Reiner Steib; +Cc: "carsten atorgmodedotorg", emacs-devel

    I'm not sure if `org-mode' and `encode-time' are supposed to parse
    dates like "0000-00-01" correctly.  So maybe it's no a bug. ;-)

Why are such dates "not representable"?  Is it a matter of still using
32-bit time values that start in 1971?

I thought that Linux and GNU libc were moving to 64-bit time values.
What's the status of that?  Do we need to change Emacs to take advantage
of that?  And what date do those time values start at?

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

* Re: 23.0.50; org-timeline -> encode-time: Specified time is not representable
  2007-11-17 14:05 23.0.50; org-timeline -> encode-time: Specified time is not representable Reiner Steib
  2007-11-18 22:46 ` Richard Stallman
@ 2007-11-19  8:01 ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2007-11-19  8:01 UTC (permalink / raw)
  To: Reiner Steib, emacs-devel

On Nov 17, 2007 3:05 PM, Reiner Steib <reinersteib+gmane@imap.cc> wrote:
> M-x report-emacs-bug wrote:
>
> > Please describe exactly what actions triggered the bug
> > and the precise symptoms of the bug:
>
> - C-x C-x tst.org RET (see file below)
>
> - M-x toggle-debug-on-error RET
>
> - Do `<menu-bar> <Org> <Special views current file> <Timeline>'
>   (M-x org-timeline RET)
>
> ,----
> | Debugger entered--Lisp error: (error "Specified time is not representable")
> |   encode-time(0 0 0 1 0 0 nil nil nil)
> |   apply(encode-time (0 0 0 1 0 0 nil nil nil))
> |   org-time-string-to-time(#("0000-00-01" 0 10 (fontified t
> |     mouse-face highlight rear-nonsticky (mouse-face highlight keymap
> |     invisible intangible help-echo org-linked-text) keymap (keymap
> |     ... ... ...) face org-date)))
> |   org-get-all-dates(1 851 no-ranges t nil 3)
> |   org-timeline(nil)
> |   call-interactively(org-timeline)
> `----
>
> I'm not sure if `org-mode' and `encode-time' are supposed to parse
> dates like "0000-00-01" correctly.  So maybe it's no a bug. ;-)

Internal Emacs times are limited to 1970-2037, I believe....

- Carsten



>
> > In GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6)
> >  of 2007-10-31 on viandante
> > Windowing system distributor `The X.Org Foundation', version 11.0.70199902
> > configured using `configure  '--prefix=/import/xtra/emacs/HEAD' '--with-gtk' '--exec-prefix=/import/xtra/emacs/HEAD-i686' 'CFLAGS=-Wno-pointer-sign -O0 -fno-crossjumping -gdwarf-2 -g3''
> >
> > 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: en_US.UTF-8
> >   locale-coding-system: utf-8
> >   default-enable-multibyte-characters: t
> >
> > Major mode: Org
> >
> > Minor modes in effect:
> >   tooltip-mode: t
> >   tool-bar-mode: t
> >   mouse-wheel-mode: t
> >   menu-bar-mode: t
> >   file-name-shadow-mode: t
> >   global-font-lock-mode: t
> >   font-lock-mode: t
> >   blink-cursor-mode: t
> >   unify-8859-on-encoding-mode: t
> >   utf-translate-cjk-mode: t
> >   auto-compression-mode: t
> >   line-number-mode: t
> >   transient-mark-mode: identity
> >
> > Recent input:
> > <help-echo> <help-echo> <help-echo> C-x C-f / t m p
> > / s t e / t s t . o r g <tab> <return> M-x t o g g
> > <tab> d e b <tab> e <tab> <return> <help-echo> <menu-bar>
> > <Org> <Special views current file> <Timeline> <help-echo>
> > M-x r e p <tab> C-g <down-mouse-1> <mouse-1> <help-echo>
> > M-x r e p o <tab> r <tab> <return>
> >
> > Recent messages:
> > For information about GNU Emacs and the GNU system, type C-h C-a.
> > OVERVIEW
> > Debug on Error enabled globally
> > Entering debugger...
> > Making completion list...
> > Quit
> > Making completion list...
>
> Bye, Reiner.
>
> From <http://thread.gmane.org/gmane.emacs.help/49263>:
> ----------------------------------------------------------------------
> -*- mode: org -*-
>
>   GENESIS - THE WORLD PROJECT
>
> * Environment
> ** TODO Create Heavens And Earth
>    SCHEDULED: <0000-00-01 Mon>
> ** TODO Make Light
>    SCHEDULED: <0000-00-01 Mon>
> ** TODO Make The Sky
>    SCHEDULED: <0000-00-02 Tue>
> ** TODO Make Some Land
>    SCHEDULED: <0000-00-03 Wed>
> ** TODO Make The Sun And The Moon
>    SCHEDULED: <0000-00-04 Thu>
> ** TODO Make The Stars
>    SCHEDULED: <0000-00-04 Thu>
>
> * Life
> ** TODO Make The Plants
>    SCHEDULED: <0000-00-03 Wed>
> ** TODO Make Sea Creatures
>    SCHEDULED: <0000-00-05 Fri>
> ** TODO Make Birds
>    SCHEDULED: <0000-00-05 Fri>
> ** TODO Make Land Creatures
>    SCHEDULED: <0000-00-06 Sat>
> ** TODO Make Humans
>    SCHEDULED: <0000-00-06 Sat>
>
> * Privat
> ** TODO Take A Rest
>    SCHEDULED: <0000-00-07 Sun>
>
> * Notes:
>   - The filing of plants is blurry
>   - Everything's so important, so it should be capitalized.
> ----------------------------------------------------------------------
> --
>        ,,,
>       (o o)
> ---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
>

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

end of thread, other threads:[~2007-11-19  8:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-17 14:05 23.0.50; org-timeline -> encode-time: Specified time is not representable Reiner Steib
2007-11-18 22:46 ` Richard Stallman
2007-11-19  8:01 ` Carsten Dominik

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.