From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylvain Beucler Subject: Bug: symbol function's definition is null : signum [7.5] Date: Wed, 13 Apr 2011 10:04:10 +0200 Message-ID: <20110413080410.GA3112@perso.beuc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9v3k-0004l4-Af for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 04:04:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9v3e-0005NE-S6 for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 04:04:20 -0400 Received: from smtp10.smtpout.orange.fr ([80.12.242.132]:18180 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9v3e-0005Me-Ke for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 04:04:14 -0400 Received: from me by gun with local (Exim 4.74) (envelope-from ) id 1Q9v3a-0000qg-5O for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 10:04:10 +0200 Content-Disposition: inline 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 When using S- to modify a date with an our range in Org 7.5, I get "symbol function's definition is null : signum". E.g. <2011-03-10 jeu. 10:30-11:30> It appears that (org-modify-ts-extra) is using this function, but unlike in CL isn't not an elisp built-in :) As a work-around I added an internal defun: (defun org-modify-ts-extra (s pos n dm) "Change the different parts of the lead-time and repeat fields in timestamp." (defun signum (x) (cond ((> x 0) 1) ((< x 0) -1) ((= x 0) 0))) [...] -- Sylvain