GNU bug report logs - #10721
24.0.93; M-TAB for :type (file :must-match t) in Customize

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 4 Feb 2012 16:38:02 UTC

Severity: minor

Found in version 24.0.93

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Stefan Monnier'" <monnier <at> iro.umontreal.ca>
Cc: 10721 <at> debbugs.gnu.org
Subject: bug#10721: 24.0.93; M-TAB for :type (file :must-match t) in Customize
Date: Mon, 6 Feb 2012 07:36:56 -0800
> Sounds odd.  Could yo include a recipe?

1. See also bug #8397.

2. emacs -Q

M-x customize-face font-lock-comment-delimiter-face

Delete the text in the Face: field.

Type c in that field.

M-TAB ; you see the completions for `c'

Type u in that field, so you have `cu', with point after the `u'.

M-TAB ; you see all completions for all faces, not the faces that start with
`cu' or that have substring `cu'.

Etc.

Move point to before the `c' in `cu'.  Hit M-TAB.

Now you see the completions for face names with substring `cu'.

Move point to between the `c' and `u' in `cu'. Hit M-TAB.

Point is moved after the `u'. And you see the completions for all face names,
not just those with `c' or `u' or `cu' as substring.

Etc.

Type an `r', so the field has `cur'.  With point after the `r', hit `M-TAB'.
You see all completions for all face names.

Move point before the `c'.  M-TAB completes the input to `cursor' correctly.
Put back only `cur'.  Move point before the `r'.  Hit M-TAB.  You see the face
names that have `cu' as prefix (and not as substring).

Etc.

Contrast with Emacs 23.  This surprising or "odd" behavior is a regression.





This bug report was last modified 13 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.