GNU bug report logs - #19504
11.88; [siunitx] unit appears without backslash

Previous Next

Package: auctex;

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Mosè Giordano <mose <at> gnu.org>
Cc: 19504 <19504 <at> debbugs.gnu.org>, Uwe Siart <uwe.siart <at> tum.de>
Subject: bug#19504: 11.88; [siunitx] unit appears without backslash
Date: Wed, 11 Mar 2015 11:27:13 -0400
> 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"?

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.




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.