bug-auctex
[Top][All Lists]
Advanced

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

bug#19504: 11.88; [siunitx] unit appears without backslash


From: Mosè Giordano
Subject: bug#19504: 11.88; [siunitx] unit appears without backslash
Date: Wed, 11 Mar 2015 22:59:38 +0100

2015-03-11 16:27 GMT+01:00 Stefan Monnier <address@hidden>:
>> 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è





reply via email to

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