GNU bug report logs -
#10062
24.0.91; completions-first-difference
Previous Next
Reported by: Leo <sdl.web <at> gmail.com>
Date: Wed, 16 Nov 2011 09:47:02 UTC
Severity: normal
Found in version 24.0.91
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 10062 <at> debbugs.gnu.org (full text, mbox):
On 2011-11-16 17:45 +0800, Leo wrote:
> 1. Emacs -q
> 2. (setq completion-cycle-threshold 4)
> 3. In the *scratch* buffer type "(push" without the double quotes
> 4. Type M-Tab a few times
Any objection to the following patch:
=== modified file 'lisp/minibuffer.el'
--- lisp/minibuffer.el 2011-10-17 16:30:02 +0000
+++ lisp/minibuffer.el 2011-11-17 16:22:45 +0000
@@ -1203,9 +1203,10 @@
'font-lock-face 'completions-common-part
str)
(if (> (length str) com-str-len)
- (put-text-property com-str-len (1+ com-str-len)
- 'font-lock-face 'completions-first-difference
- str)))
+ (add-text-properties com-str-len (1+ com-str-len)
+ '(font-lock-face completions-first-difference
+ rear-nonsticky t)
+ str)))
elem)
completions)
base-size))))
Leo
This bug report was last modified 13 years and 185 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.