From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#10721: 24.0.93; M-TAB for :type (file :must-match t) in Customize Date: Sat, 4 Feb 2012 08:35:55 -0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328373457 11270 80.91.229.3 (4 Feb 2012 16:37:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2012 16:37:37 +0000 (UTC) To: 10721@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 04 17:37:35 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RticJ-0000tO-EJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Feb 2012 17:37:35 +0100 Original-Received: from localhost ([::1]:54202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RticI-0007Yb-To for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Feb 2012 11:37:34 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RticB-0007Tt-SC for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 11:37:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rtic7-0002gz-Es for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 11:37:27 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rtic7-0002gv-Aj for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 11:37:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rtick-0003n0-6v for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 11:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Feb 2012 16:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10721 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.132837342414493 (code B ref -1); Sat, 04 Feb 2012 16:38:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Feb 2012 16:37:04 +0000 Original-Received: from localhost ([127.0.0.1]:54438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rtibo-0003li-55 for submit@debbugs.gnu.org; Sat, 04 Feb 2012 11:37:04 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41570) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rtibl-0003lE-Oe for submit@debbugs.gnu.org; Sat, 04 Feb 2012 11:37:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rtiaz-0002ar-B4 for submit@debbugs.gnu.org; Sat, 04 Feb 2012 11:36:17 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:48088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rtiaz-0002an-87 for submit@debbugs.gnu.org; Sat, 04 Feb 2012 11:36:13 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rtiav-0007Qz-8z for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 11:36:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rtiar-0002aR-CV for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 11:36:09 -0500 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:56979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rtiar-0002aH-4A for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 11:36:05 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q14Ga2F7014145 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 4 Feb 2012 16:36:03 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q14Ga1Me019011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 4 Feb 2012 16:36:02 GMT Original-Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q14Ga1Bu021055 for ; Sat, 4 Feb 2012 10:36:01 -0600 Original-Received: from dradamslap1 (/10.159.50.114) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 04 Feb 2012 08:36:00 -0800 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: AczjWxD1QM2nRX46ThuTUo9/9/qn4g== X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4F2D5E73.0019,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56477 Archived-At: (elisp) `Simple Types' says "The value must be a file name for an existing file, and you can do completion with `M-'." That's vague, but I would expect that the text in the edit field is somehow completed. The actual behavior is not described and somewhat surprising. When I try `M-TAB' in the edit field for a must-match file name, the set of completion candidates displayed seems to be the file names that match the text that follows, not precedes, point in the edit field. And matching seems to be substring matching rather than prefix matching. Is that really what this is supposed to do? Why is the text _after_ point "completed" (matched), rather than the text before point? E.g. if the text in the field is "te" and point is on the `t' then I see substring matches for "te". If point is after the `e' then I see matches for _all_ files in the `default-directory' (which hardly "completes" the text in the edit field - it is apparently completing the empty string). If this is not the intended behavior, please fix according to what is intended (whatever that is). Whatever the behavior, please document it. The doc in the manual is too vague: "you can do completion with `M-'". It tells you nothing about what "completion" behavior to expect. In particular, it should say what it is that is completed (which text), and it should say what kind of matching is used - IOW, how the text that is completed is matched against the names of the existing files. 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'