From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 13:39:16 2011 Received: (at submit) by debbugs.gnu.org; 7 Mar 2011 18:39:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwfKu-0002iM-7W for submit@debbugs.gnu.org; Mon, 07 Mar 2011 13:39:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwfKs-0002i7-Ei for submit@debbugs.gnu.org; Mon, 07 Mar 2011 13:39:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwfKm-0002su-NK for submit@debbugs.gnu.org; Mon, 07 Mar 2011 13:39:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_DKIM_INVALID,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:34122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwfKm-0002sq-LL for submit@debbugs.gnu.org; Mon, 07 Mar 2011 13:39:08 -0500 Received: from [140.186.70.92] (port=46206 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwfKl-0006gV-Lg for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 13:39:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwfKk-0002ry-7a for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 13:39:07 -0500 Received: from gateway-b.fh-trier.de ([143.93.54.182]:39605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwfKj-0002fo-Sr for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 13:39:06 -0500 Received: from raven (dslb-088-068-198-042.pools.arcor-ip.net [88.68.198.42]) (Authenticated sender: politza) by gateway-b.fh-trier.de (Postfix) with ESMTP id 618B017B470 for ; Mon, 7 Mar 2011 19:38:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fh-trier.de; s=default; t=1299523114; bh=+SiwfhTbQ8bSSbJmS/sCa4pu3u8=; h=From:To:Subject: Date:Message-ID:MIME-Version:Content-Type; b=UWkAvKocK91TSyXC52SNK uONuWYeDk5d+ZS1KFC3vC4a7rRCzpR0M0QMGaS8IQScoxaaXalFKfpgwbXWS3NgVAZn lCoAiJYAy6rKivxshC0y1RGB89jJVxO4V61rE93q/9SvLoxy/RhGcnzVRHj9+vhljA5 jOO9A56hbLqcAoFk= From: Andreas Politz To: bug-gnu-emacs@gnu.org Subject: 24.0.50; completion-substring-try-completion bug ? Date: Mon, 07 Mar 2011 19:38:33 +0100 Message-ID: <871v2in5cm.fsf@fh-trier.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum FH-Trier (r/ft)] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) (completion-substring-try-completion "foo" '("bar-foo" "baz-foo") nil 2) => ("ba-foo" . 6) I would expect this to return ("ba-foo" . 2) . -ap In GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-06-13 on raven Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Important settings: [..] From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 22:09:21 2011 Received: (at 8197) by debbugs.gnu.org; 7 Oct 2011 02:09:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBzsG-00034i-Hk for submit@debbugs.gnu.org; Thu, 06 Oct 2011 22:09:20 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBzsE-00034Z-Gc for 8197@debbugs.gnu.org; Thu, 06 Oct 2011 22:09:19 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RBzs1-0000PL-He; Thu, 06 Oct 2011 22:09:05 -0400 From: Glenn Morris To: Andreas Politz Subject: Re: bug#8197: 24.0.50; completion-substring-try-completion bug ? References: <871v2in5cm.fsf@fh-trier.de> X-Spook: domestic disruption rs9512c Ron Brown passwd X-Ran: 6/|_i%(@qukJWW(r67"z.>I>6c|Cut5;i]HVYjS>>j0p(%Ogq%~nP[ckz>d3t*W]7b=n-o X-Hue: magenta X-Attribution: GM Date: Thu, 06 Oct 2011 22:09:05 -0400 In-Reply-To: <871v2in5cm.fsf@fh-trier.de> (Andreas Politz's message of "Mon, 07 Mar 2011 19:38:33 +0100") Message-ID: <7s62k18se6.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 8197 Cc: 8197@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Andreas Politz wrote: > (completion-substring-try-completion > "foo" '("bar-foo" "baz-foo") nil 2) > => ("ba-foo" . 6) > > I would expect this to return ("ba-foo" . 2) . Now it returns ("-foo" . 4). Is this progress? I don't know, because the function is undocumented (I guess I have to look it up in completion-styles-alist?). From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 07 02:43:09 2011 Received: (at 8197) by debbugs.gnu.org; 7 Oct 2011 06:43:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RC49F-0001fj-1Q for submit@debbugs.gnu.org; Fri, 07 Oct 2011 02:43:09 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RC49B-0001f4-6B for 8197@debbugs.gnu.org; Fri, 07 Oct 2011 02:43:06 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum FH-Trier (r/ft)] Received: from fh-trier.de (owm.fh-trier.de [143.93.54.170]) by gateway-a.fh-trier.de (Postfix) with ESMTP id 5677F6307; Fri, 7 Oct 2011 08:42:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fh-trier.de; s=default; t=1317969753; bh=sHb+pIqfbAvFniCJ3MkXHqB6MPY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=G6Rhg3QThF+4hj2lFz03bmo/7Et7R8sx6bOeRLt4Oc8VGdBGeNoH9yGTiInsuXoce pIoUNHBolkUSjFDUqkH6SFDocIZDA6QXrHktH3J346YLAe/2VFNsLHNg6b7CmjQzYJ qjnc8FKsX1BzgdFo7ahVxfpi93F5/6y5tuRntVaY= From: "Andreas Politz, INF|INF-I" To: Glenn Morris Subject: Re: bug#8197: 24.0.50; completion-substring-try-completion bug ? Date: Fri, 7 Oct 2011 08:42:33 +0200 Message-Id: <20111007063041.M3161@fh-trier.de> In-Reply-To: <7s62k18se6.fsf@fencepost.gnu.org> References: <871v2in5cm.fsf@fh-trier.de> <7s62k18se6.fsf@fencepost.gnu.org> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 88.68.220.210 (politza) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 8197 Cc: 8197@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) On Thu, 06 Oct 2011 22:09:05 -0400, Glenn Morris wrote > Andreas Politz wrote: > > > (completion-substring-try-completion > > "foo" '("bar-foo" "baz-foo") nil 2) > > => ("ba-foo" . 6) > > > > I would expect this to return ("ba-foo" . 2) . > > Now it returns ("-foo" . 4). > Is this progress? > I don't know, because the function is undocumented > (I guess I have to look it up in completion-styles-alist?). That was a while ago, but in my understanding the function should return a partial substring completion (matching *ba*-foo* in this case) and the index of the ambiguous part. -ap From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 07 08:53:51 2011 Received: (at 8197) by debbugs.gnu.org; 7 Oct 2011 12:53:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RC9vy-0006Nd-9y for submit@debbugs.gnu.org; Fri, 07 Oct 2011 08:53:51 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RC9vv-0006NR-Hk for 8197@debbugs.gnu.org; Fri, 07 Oct 2011 08:53:49 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EALD1jk7O+JxS/2dsb2JhbABEqDyBBoFTAQEEAVYjBQsLNBIUGA0kiBG4bocxBKEOhEU X-IronPort-AV: E=Sophos;i="4.68,502,1312171200"; d="scan'208";a="140241290" Received: from 206-248-156-82.dsl.teksavvy.com (HELO pastel.home) ([206.248.156.82]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 07 Oct 2011 08:53:27 -0400 Received: by pastel.home (Postfix, from userid 20848) id 4F417592D6; Fri, 7 Oct 2011 08:53:27 -0400 (EDT) From: Stefan Monnier To: "Andreas Politz\, INF|INF-I" Subject: Re: bug#8197: 24.0.50; completion-substring-try-completion bug ? Message-ID: References: <871v2in5cm.fsf@fh-trier.de> <7s62k18se6.fsf@fencepost.gnu.org> <20111007063041.M3161@fh-trier.de> Date: Fri, 07 Oct 2011 08:53:27 -0400 In-Reply-To: <20111007063041.M3161@fh-trier.de> (Andreas Politz's message of "Fri, 7 Oct 2011 08:42:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8197 Cc: Glenn Morris , 8197@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) >> > (completion-substring-try-completion >> > "foo" '("bar-foo" "baz-foo") nil 2) >> > => ("ba-foo" . 6) >> > I would expect this to return ("ba-foo" . 2) . >> Now it returns ("-foo" . 4). >> Is this progress? I think this is the correct answer, yes. > That was a while ago, but in my understanding the function should > return a partial substring completion (matching *ba*-foo* in this case) > and the index of the ambiguous part. No, completion styles should not presume that they are used in conjunction with some other style. "completion-*-try-completion" should return a string which matches (using the same style) the same set of elements. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 23 11:52:19 2012 Received: (at control) by debbugs.gnu.org; 23 Apr 2012 15:52:19 +0000 Received: from localhost ([127.0.0.1]:49207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMLYo-0003Ty-Vu for submit@debbugs.gnu.org; Mon, 23 Apr 2012 11:52:19 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34982 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMLYo-0003Ts-7H for control@debbugs.gnu.org; Mon, 23 Apr 2012 11:52:18 -0400 Received: from bb116-14-12-6.singnet.com.sg ([116.14.12.6]:45433 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SMLY6-0006at-Qs for control@debbugs.gnu.org; Mon, 23 Apr 2012 11:51:35 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 8197 Date: Mon, 23 Apr 2012 23:51:27 +0800 Message-ID: <87lilmfnuo.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 8197 thanks From unknown Sat Jun 21 12:15:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 May 2012 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator