[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allow left-handed fret-markups (issue 339270043 by address@hidden)

From: David Kastrup
Subject: Re: Allow left-handed fret-markups (issue 339270043 by address@hidden)
Date: Tue, 23 Jan 2018 10:54:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

address@hidden writes:

> Yep, the difference between left- and right-handed are certain negative
> instead of a positive values.
> I'd love to use a multiplier retrieved from left-handed.
> Though, how to code properly and user-friendly.
> One could do
> (1) separate conditions (that's what I've done). Disadvantage: code is
> more complex. No multiplier.
> (2) Let 'left-handed accept RIGHT/LEFT. Disadvantage is the need to
> input it via an quasiquoted list
> (3) Let 'left-handed accept -1/1. Disadvantage: it may be not that
> obvious to the user what -1/1 actually means
> (4) Let 'left-handed accept symbols left/right. Disadvantage: need to
> transform these symbols into -1/1.
> Something like (if (eq? left-handed 'left) -1 1) needs to be added.
> (4) Drop 'left-handed and get the -1/1 from (sign string-distance)
> Opinions?

We use enough properties of the LEFT/RIGHT kind ((2) and (3) are really
the same option apart from examples/docs) that I don't see a reason to
diverge here.  A property 'handedness set to LEFT or RIGHT would be in
that ballpark.

It's similar to text-direction.


David Kastrup

reply via email to

[Prev in Thread] Current Thread [Next in Thread]