[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to debug "Specified time is not representable"
From: |
Carsten Dominik |
Subject: |
Re: [O] How to debug "Specified time is not representable" |
Date: |
Tue, 4 Oct 2011 14:13:02 +0200 |
On Oct 4, 2011, at 1:42 PM, Karl Voit wrote:
> * Jambunathan K <address@hidden> wrote:
>>
>>>> A simple M-x grep-find on .org files for the year should work.
>>>
>>> I do not know the year.
>>
>> That is what regexps are for.
> [...]
>> It is not my intention to provide you with a outright solution but only
>> to give sufficient hints so that you make progress.
>
> :-)
>
> Thanks. I know RegEx perfectly good. Irritating entries could be
> located by...
>
> find . -name "*\.org*"|xargs egrep '<19[0-6]|<20[3-9]'
>
> ...since I am using *lots* of Orgmode files.
>
> My point was more or less usability-related: what use is the message
> «Specified time is not representable» when the user (anybody, not
> just RegEx experts like us) gets no clue, where the problem is?
>
> So I was curious, if there *is* some method I do not know (yet).
>
> If the answer is «no, there is no way of telling you the actual time
> stamp that causes the message», my question is answered. Bad for
> Emacs/Orgmode usability
Fair enough. If you pull, you should now get decent error messages.
- Carsten
> but fine with me so far.
>
> So is this really the case?
>
>>>> You may also try
>>>> M-x debug-on-entry RET ding RET
>>>> Look at the backtrace and see whether you can get some clues.
>>>
>>> Sorry, no clue.
>>>
>>>> Works best if your orgmode is not compiled
>>>
>>> When I have compiled Orgmode, should I delete all *.elc files?
>>
>> May be the debug-on-entry is the wrong strategy for the problem at
>> hand. You may disregard my suggestion.
>
> --
> Karl Voit
>
>
- Carsten