From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: timestamp rounding question. Date: Sat, 29 Mar 2008 05:49:02 +0100 Message-ID: <29936E64-3566-4050-8583-6F3A3E57E6F8@science.uva.nl> References: <115428.11740.qm@web37303.mail.mud.yahoo.com> <471D2356-91B8-418E-8B1F-0C079062F32E@science.uva.nl> <47ED55A8.6000902@yahoo.com> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: multipart/mixed; boundary="===============0264599068==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JfT0I-00006X-0O for emacs-orgmode@gnu.org; Sat, 29 Mar 2008 00:49:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JfT0G-00005x-UT for emacs-orgmode@gnu.org; Sat, 29 Mar 2008 00:49:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfT0G-00005n-GR for emacs-orgmode@gnu.org; Sat, 29 Mar 2008 00:49:16 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JfT0G-0002Mg-19 for emacs-orgmode@gnu.org; Sat, 29 Mar 2008 00:49:16 -0400 Received: by ug-out-1314.google.com with SMTP id a2so30828ugf.48 for ; Fri, 28 Mar 2008 21:49:09 -0700 (PDT) In-Reply-To: <47ED55A8.6000902@yahoo.com> 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: wulfhomme13-rook@yahoo.com Cc: emacs-orgmode@gnu.org --===============0264599068== Content-Type: multipart/alternative; boundary=Apple-Mail-1-825676421 --Apple-Mail-1-825676421 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit fixed, thanks. - Carsten On Mar 28, 2008, at 9:31 PM, Jose Robins wrote: > 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 >> >> --Apple-Mail-1-825676421 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable fixed, = thanks.

- Carsten

On Mar 28, 2008, = at 9:31 PM, Jose Robins wrote:
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

=

= --Apple-Mail-1-825676421-- --===============0264599068== 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 --===============0264599068==--