From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1062: 23.0.60; minibuffer-completion-help incomplete Date: Wed, 01 Oct 2008 12:00:52 +0200 Message-ID: <87od24ljmz.fsf@escher.local.home> Reply-To: Stephen Berman , 1062@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222857538 2808 80.91.229.12 (1 Oct 2008 10:38:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2008 10:38:58 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 01 12:39:56 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kkz7V-0002eh-IO for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2008 12:39:49 +0200 Original-Received: from localhost ([127.0.0.1]:53244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kkz6R-0004Ec-VG for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2008 06:38:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kkz6L-0004Da-CJ for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 06:38:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kkz6J-0004CV-7P for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 06:38:35 -0400 Original-Received: from [199.232.76.173] (port=36960 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kkz6I-0004CS-RC for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 06:38:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54155) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kkyy2-0000jY-1c for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 06:30:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m91ATt3R002943; Wed, 1 Oct 2008 03:29:55 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m91AA4vH030736; Wed, 1 Oct 2008 03:10:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 10:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1062 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122285526728632 (code B ref -1); Wed, 01 Oct 2008 10:10:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 1 Oct 2008 10:01:07 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m91A10pd028626 for ; Wed, 1 Oct 2008 03:01:01 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:57550 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KkyTm-0006sn-3f for emacs-pretest-bug@gnu.org; Wed, 01 Oct 2008 05:58:46 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KkyVu-0001xQ-3x for emacs-pretest-bug@gnu.org; Wed, 01 Oct 2008 06:00:59 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:48756) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KkyVt-0001ws-Hj for emacs-pretest-bug@gnu.org; Wed, 01 Oct 2008 06:00:57 -0400 Original-Received: (qmail invoked by alias); 01 Oct 2008 10:00:54 -0000 Original-Received: from i5387D545.versanet.de (EHLO escher.local.home) [83.135.213.69] by mail.gmx.net (mp006) with SMTP; 01 Oct 2008 12:00:54 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19M5hhfrd5MZt6yU9XTrGS2xEaLtaEYGZDOixbg// jSvOSFtPB+mknT Original-Received: by escher.local.home (Postfix, from userid 1000) id D87677FBB1; Wed, 1 Oct 2008 12:00:52 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 01 Oct 2008 06:38:35 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20947 gmane.emacs.pretest.bugs:23124 Archived-At: GNU Emacs 23.0.60.5 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-10-01 on escher 1. emacs -Q 2. Let some directory contain the files "tested" and "Testing" and no other files beginning with "test" or "Test". 3. M-x set-variable RET read-file-name-completion-ignore-case RET t RET 4. C-x C-f /test 5. Now type TAB or "?" and a *Completions* buffer pops that shows only "tested" as a possible completion. However, typing "i" next and then TAB does complete to "Testing". If before doing step 4 completion-styles is set to (emacs22), then after the first TAB or ? in step 5 the *Completions* buffer shows both "tested" and "Testing". The following patch makes the *Completions* buffer show all possible completions in step 5 also with the default completion-style basic, but I don't know if it has undesirable consequences elsewhere. Steve Berman *** emacs/lisp/minibuffer.el.~1.58.~ 2008-09-04 16:16:19.000000000 +0200 --- emacs/lisp/minibuffer.el 2008-10-01 11:42:40.000000000 +0200 *************** *** 1316,1322 **** "" (list (substring beforepoint (car bounds)) 'point (substring afterpoint 0 (cdr bounds))))) ! (all (completion-pcm--all-completions prefix pattern table pred))) (completion-hilit-commonality (if (consp all) (nconc all (car bounds)) all) point))) --- 1316,1324 ---- "" (list (substring beforepoint (car bounds)) 'point (substring afterpoint 0 (cdr bounds))))) ! (all (if completion-ignore-case ! (all-completions (substring string 0 point) table pred) ! (completion-pcm--all-completions prefix pattern table pred)))) (completion-hilit-commonality (if (consp all) (nconc all (car bounds)) all) point)))