From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.emacs.devel Subject: Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21) Date: Mon, 17 Nov 2003 14:43:36 +0100 Organization: Jan at Appel Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200311142330.hAENUB5p021655@stubby.bodenonline.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069077584 27288 80.91.224.253 (17 Nov 2003 13:59:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2003 13:59:44 +0000 (UTC) Cc: "Jan D." , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Nov 17 14:59:40 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ALjum-0008Ei-00 for ; Mon, 17 Nov 2003 14:59:40 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ALjul-0001gN-00 for ; Mon, 17 Nov 2003 14:59:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ALkrN-0000fa-6P for emacs-devel@quimby.gnus.org; Mon, 17 Nov 2003 10:00:13 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ALkng-0006s6-NN for emacs-devel@gnu.org; Mon, 17 Nov 2003 09:56:24 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ALkn9-0006dC-KF for emacs-devel@gnu.org; Mon, 17 Nov 2003 09:56:22 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ALkn8-0005lC-Md for emacs-devel@gnu.org; Mon, 17 Nov 2003 09:55:50 -0500 Original-Received: from [62.195.48.83] (helo=appel.flower) by mx20.gnu.org with esmtp (Exim 4.24) id 1ALjfT-00052K-ND for emacs-devel@gnu.org; Mon, 17 Nov 2003 08:43:51 -0500 Original-Received: from localhost ([127.0.0.1] helo=appel.flower) by appel.flower with esmtp (Exim 3.36 #1 (Debian)) id 1ALjfE-0004xL-00; Mon, 17 Nov 2003 14:43:36 +0100 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (storm@cua.dk's message of "17 Nov 2003 15:06:15 +0100") Original-Lines: 21 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3 (powerpc-unknown-linux-gnu) X-RBL-Warning: (inputs.orbz.org) X-RBL-Warning: (outputs.orbz.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17866 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17866 storm@cua.dk (Kim F. Storm) writes: >> + (cond ((eq '+ (car fif-top)) (cadr fif-top)) >> + ((eq '- (car fif-top)) (- 0 (cadr fif-top))) > This still looks bogus to me, as the new parameter doesn't preserve > the (+ ...) or (- ...) form of the original setting, but uses the > calculated value directly. Shouldn't it preserve the top/left (+) or > bottom/right (-) indication? Ah, so that's what (and why) the strange notation means. Then it should probably be something like: (cond ((eq '+ (car fif-top)) (cadr fif-top)) ((eq '- (car fif-top)) (- (cadr fif-top))) Jan. -- Jan Nieuwenhuizen | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org