GNU bug report logs -
#12638
24.2.50; FR: Some suggestions for icomplete-mode
Previous Next
Reported by: Jambunathan K <kjambunathan <at> gmail.com>
Date: Sat, 13 Oct 2012 17:33:01 UTC
Severity: wishlist
Found in version 24.2.50
Done: Jambunathan K <kjambunathan <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #86 received at 12638 <at> debbugs.gnu.org (full text, mbox):
> > (and most-is-exact
> > (substring icomplete-separator
> > (string-match "[^ ]" icomplete-separator)))
> >
> > The default value of the option is (string ?\u2605 ?\ ),
> > i.e., a star. See attached. (The number 5 shown is the total
> > number of completions. In this particular case all are shown.)
>
> Just curious: Why isn't the exact match (represented by the
> star) separated from the other matches with a vertical bar?
If you are asking me about my code and not the vanilla version, the answer is:
(a) I didn't think it would be clearer (but yes, someone could interpret it as
belonging only to the first alternative), (b) a user can easily include the bar
in the option value (string), and (c) the bar is not hard-coded, but is from the
other separator used between the other alternatives.
If you want an initial bar, you can add it easily. If you want no bars at all,
you can easily have that. If you want `spaghetti' for the first separator and
`lasagne' for the others, you can easily have that.
But I'm open to other suggestions. I'm not in favor (for my code) of
hard-coding a connection between the two separators.
This bug report was last modified 11 years and 248 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.