From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jose Robins Subject: Re: timestamp rounding question. Date: Fri, 28 Mar 2008 13:31:36 -0700 Message-ID: <47ED55A8.6000902@yahoo.com> References: <115428.11740.qm@web37303.mail.mud.yahoo.com> <471D2356-91B8-418E-8B1F-0C079062F32E@science.uva.nl> Reply-To: wulfhomme13-rook@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1391737271==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JfLEi-00025a-0b for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 16:31:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JfLEh-00025C-9C for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 16:31:39 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfLEh-000254-42 for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 16:31:39 -0400 Received: from n15.bullet.mail.mud.yahoo.com ([68.142.206.42]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JfLEg-0005mV-Ea for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 16:31:38 -0400 In-Reply-To: <471D2356-91B8-418E-8B1F-0C079062F32E@science.uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --===============1391737271== Content-Type: multipart/alternative; boundary="------------000904000409090808060206" This is a multi-part message in MIME format. --------------000904000409090808060206 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Carsten, I found out that when I use the **compiled** version of org.el, when I try to do shift up/down on an inactive timestamp, I get an error with the following backtrace... Debugger entered--Lisp error: (void-function signum) signum(-1) org-timestamp-change(-1) org-timestamp-down(1) call-interactively(org-timestamp-down) org-shiftdown(nil) call-interactively(org-shiftdown) However, if I delete the .elc and after restarting emacs, the shift up/down works perfectly. I tried deleting all the .elcs in the directory and I recompiled org.el from within emacs. but the problem still remains... Any idea why this could be. Thanks, Jose Carsten Dominik wrote: > > On Mar 28, 2008, at 5:55 AM, Jose Robins wrote: >> Using org-mode 5.23a with emacs 22.1, I still don't see timestamp >> rounding working during clock in/clock out > > There is no rounding on clock-in and clockout, as we discussed in the > earlier thread. > > There is rounding when you press S-up or S-down on the *minute* part > of a time stamp. If the cursor is no any other part of the tie stamp, > that part will be changed and no rounding applied. > > - Carsten > >> (OR shift up/down on the timestamp). >> Also, I'm slightly confused by an earlier thread we had on this >> subject. At that time I was using 5.20 (or 5.21, I don't remember) >> and it was mentioned that it would not be possible to do rounding >> when inserting time. However the custom options for 5.23a show that >> there is a variable for rounding during time insertion as well as >> during time modification via the up/down key - my .emacs setting for >> this looks as follows... >> '(org-time-stamp-rounding-minutes (quote (5 5))) >> >> However neither seem to have an effect... >> Hmmm.... >> >> Jose >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > --------------000904000409090808060206 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Carsten,
I found out that when I use the **compiled** version of org.el, when I try to do shift up/down on an inactive timestamp, I get an error with the following backtrace...

Debugger entered--Lisp error: (void-function signum)
  signum(-1)
  org-timestamp-change(-1)
  org-timestamp-down(1)
  call-interactively(org-timestamp-down)
  org-shiftdown(nil)
  call-interactively(org-shiftdown)

However, if I delete the .elc and after restarting emacs, the shift up/down works perfectly.

I tried deleting all the .elcs in the directory and I recompiled org.el from within emacs. but the problem still remains...
Any idea why this could be.

Thanks,
Jose

Carsten Dominik wrote:

On Mar 28, 2008, at 5:55 AM, Jose Robins wrote:
Using org-mode 5.23a with emacs 22.1, I still don't see timestamp rounding working during clock in/clock out

There is no rounding on clock-in and clockout, as we discussed in the earlier thread.

There is rounding when you press S-up or S-down on the *minute* part of a time stamp.  If the cursor is no any other part of the tie stamp, that part will be changed and no rounding applied.

- Carsten

(OR shift up/down on the timestamp).
Also, I'm slightly confused by an earlier thread we had on this subject. At that time I was using 5.20 (or 5.21, I don't remember) and it was mentioned that it would not be possible to do  rounding when inserting time. However the custom options for 5.23a show that there is a variable for rounding during time insertion as well as during time modification via the up/down key - my .emacs setting for this looks as follows...
 '(org-time-stamp-rounding-minutes (quote (5 5)))

However neither seem to have an effect...
Hmmm....

Jose
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


--------------000904000409090808060206-- --===============1391737271== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1391737271==--