[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21)
From: |
Jan Nieuwenhuizen |
Subject: |
Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21) |
Date: |
Wed, 19 Nov 2003 22:07:39 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
address@hidden (Kim F. Storm) writes:
> This is definitely better than before, but you still do not address
> the issue whether the new setting for top should be top/left or
> bottom/right relative, ie. whether the new top value should be (+ INT)
> or (- INT) if the old settings had that format (rather than an
> integer).
Ah. I assumed this:
`((top . ,(+ top (* lines char-height))))
to be correct, and the value of TOP wrong if not an INT, but you're
suggesting something like:
`((top . ,((if (consp top)
(cond ((eq '+ (car top))
(list '+ (+ (cadr top) (* lines char-height))))
((eq '- (car top))
(list '- (- (cadr top) (* lines char-height))))
(t 0))
,(+ top (* lines char-height))))))
but I'm not at all sure about the right arithmetic for (+/- INT) ...
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
- byte-code: Wrong type argument: number-or-marker-p, (+ -21), Jan Nieuwenhuizen, 2003/11/12
- Re: byte-code: Wrong type argument: number-or-marker-p, (+ -21), Jan D., 2003/11/14
- FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21), Jan Nieuwenhuizen, 2003/11/17
- Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21), Kim F. Storm, 2003/11/17
- Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21), Jan Nieuwenhuizen, 2003/11/17
- Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21), Jan Nieuwenhuizen, 2003/11/19
- Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21), Kim F. Storm, 2003/11/19
- Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21),
Jan Nieuwenhuizen <=
- Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21), Kim F. Storm, 2003/11/19
- Re: FIX#3: byte-code: Wrong type argument: number-or-marker-p, (+ -21), Jan Nieuwenhuizen, 2003/11/20
- Re: FIX#3: byte-code: Wrong type argument: number-or-marker-p, (+ -21), Jan D., 2003/11/23