From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: How to debug "Specified time is not representable" Date: Tue, 4 Oct 2011 13:42:21 +0200 Message-ID: <2011-10-04T13-24-16@devnull.Karl-Voit.at> References: <2011-09-30T16-30-44@devnull.Karl-Voit.at> <81lit6rskb.fsf@gmail.com> <2011-10-03T13-48-08@devnull.Karl-Voit.at> <81r52tjjb1.fsf@gmail.com> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB3OU-0001MQ-Hf for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 07:42:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB3OS-0004eE-KA for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 07:42:42 -0400 Received: from lo.gmane.org ([80.91.229.12]:40740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB3OS-0004e5-BK for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 07:42:40 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RB3OR-0002kF-6A for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 13:42:39 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Oct 2011 13:42:39 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Oct 2011 13:42:39 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * Jambunathan K 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 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