From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#14907: 24.3.50; Too few completions shown when case ignored Date: Tue, 30 Jul 2013 16:42:02 -0400 Message-ID: References: <87ppuehfsy.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375217000 29473 80.91.229.3 (30 Jul 2013 20:43:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jul 2013 20:43:20 +0000 (UTC) Cc: 14907-done@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 30 22:43:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V4GlL-0002E7-Tz for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2013 22:43:20 +0200 Original-Received: from localhost ([::1]:52396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4GlL-0006yf-JJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2013 16:43:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4GlC-0006wu-Og for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 16:43:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4Gl5-0007WT-9i for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 16:43:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4Gl5-0007WH-5s for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 16:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V4Gl4-0004pY-TY for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 16:43:02 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2013 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 14907 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 14907@debbugs.gnu.org, monnier@iro.umontreal.ca, stephen.berman@gmx.net Original-Received: via spool by 14907-done@debbugs.gnu.org id=D14907.137521693418473 (code D ref 14907); Tue, 30 Jul 2013 20:43:02 +0000 Original-Received: (at 14907-done) by debbugs.gnu.org; 30 Jul 2013 20:42:14 +0000 Original-Received: from localhost ([127.0.0.1]:59038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V4GkI-0004ns-1P for submit@debbugs.gnu.org; Tue, 30 Jul 2013 16:42:14 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:7381) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V4GkC-0004nY-ML for 14907-done@debbugs.gnu.org; Tue, 30 Jul 2013 16:42:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFLd+pP/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgaxH5AOkQoDpHqBXoMT X-IPAS-Result: Av8EABK/CFFLd+pP/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgaxH5AOkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20202863" Original-Received: from 75-119-234-79.dsl.teksavvy.com (HELO pastel.home) ([75.119.234.79]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 30 Jul 2013 16:41:56 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 5AFAA66249; Tue, 30 Jul 2013 16:42:02 -0400 (EDT) In-Reply-To: <87ppuehfsy.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Fri, 19 Jul 2013 14:53:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:76833 Archived-At: > If I debugged this correctly, the problem is due to completion--twq-all > not distinguishing between prefix strings for completions that differ > only in case. The following patch fixes this problem for me (I tried to > reuse the relevant part of the requoting code, but haven't tested such > cases). Thanks. It's probably not 100% sufficient in all cases, but I don't know how to do it right, and it solves the 99% case. I installed a slightly different version which skips the extra work if ignore-case is not used. Stefan