GNU bug report logs -
#19504
11.88; [siunitx] unit appears without backslash
Previous Next
Reported by: Uwe Siart <uwe.siart <at> tum.de>
Date: Sun, 4 Jan 2015 11:23:02 UTC
Severity: normal
Tags: confirmed
Found in version 11.88
Done: Mosè Giordano <mose <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
2015-03-11 16:27 GMT+01:00 Stefan Monnier <monnier <at> iro.umontreal.ca>:
>> Unfortunately no, one can also insert the unit without using macros,
>> so we can't always add the leading backslash
>
> So the user could enter "\second \per meter"?
Yes, something like that: you can enter units using macros (e.g.
"\second\per\metre") but also literally (e.g. "s/m"). The package is
useful because at least adjusts the spacing between the value and the
unit.
> I'm getting the feeling that completing-read-multiple is just not the
> right tool for the job. Could it be that what you want instead is to
> have (in the minibuffer) completion that doesn't apply to the whole
> minibuffer (but that is instead more like in-buffer completion).
>
> So you'd want a `read-string' where you setup
> completion-at-point-functions inside the minibuffer and where you bind
> TAB to `completion-at-point'.
>
>
>
> Stefan
>
>
> PS: The plan is actually to move the minibuffer completion in that
> direction for normal minibuffer completion, so that TAB is bound to
> completion-at-point in the minibuffer as well.
Uh, thanks for the suggestion, but according to git blame
`completion-at-point' exists since 2009, so Emacs <23 is left out.
Bye,
Mosè
This bug report was last modified 9 years and 219 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.