unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>
Cc: 10721@debbugs.gnu.org
Subject: bug#10721: 24.0.93; M-TAB for :type (file :must-match t) in Customize
Date: Mon, 6 Feb 2012 13:26:54 -0800	[thread overview]
Message-ID: <3094FAF0D1184F7F97D964B8316BEC35@us.oracle.com> (raw)
In-Reply-To: <jwvaa4v1y4y.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2243 bytes --]

> > 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'
> 
> Indeed, I see completions starting with "c".

I was mistaken saying that.  See below.

> > 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'.
> 
> No, I see completions starting with "cu".
> We must be doing something different, but I don't know what.  I typed:
> % emacs -Q
> M-x customize-face RET font-lock-comment-delimiter-face RET
> click on "font-lock-comment-face"
> C-a C-k
> c M-TAB u M-TAB

I'm using the latest Windows binary:

In GNU Emacs 24.0.93.1 (i386-mingw-nt5.1.2600)
 of 2012-01-29 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include --ldflags
 -LD:/devel/emacs/libs/gnutls-3.0.9/lib'

Are you?

Actually, even after typing `c' and hitting M-TAB (your recipe and mine), I see
all possible font names, not just those containing `c'.

And after typing `u' and hitting M-TAB again (still with point at the end, i.e.,
after `u'), I still see all possible font names, not just those with `c' or `u'
or `cu'.

Again, I must move point to be _before_ the text for M-TAB to match it (as a
substring).  Before `c' with only `c' present it shows all font names containing
`c'.  After `c' with only `c' present it shows _all_ font names.

Before `c' with `cu' present it shows all font names having substring `cu'.
Before `u' with `cu' present, however, it shows _all_ font names (not just names
containing `u'), and it moves point after the `u'.  After `u' with `cu' present
it shows _all_ font names (same).

See attachment.

Perhaps the problem is platform-specific?

[-- Attachment #2: throw-emacs-bug-10721.png --]
[-- Type: image/png, Size: 50490 bytes --]

  reply	other threads:[~2012-02-06 21:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-04 16:35 bug#10721: 24.0.93; M-TAB for :type (file :must-match t) in Customize Drew Adams
2012-02-06 14:02 ` Stefan Monnier
2012-02-06 15:36   ` Drew Adams
2012-02-06 21:01     ` Stefan Monnier
2012-02-06 21:26       ` Drew Adams [this message]
2012-02-07  2:52         ` Stefan Monnier
2012-02-07  5:54           ` Chong Yidong
2012-02-07 16:44             ` Drew Adams
2012-03-10  9:26               ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3094FAF0D1184F7F97D964B8316BEC35@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=10721@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).