X-Loop: help-debbugs@HIDDEN Subject: bug#17559: 24.3.50; Partial completion does not complete underscore delimited input Resent-From: Andreas Politz <politza@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 23 May 2014 14:49:02 +0000 Resent-Message-ID: <handler.17559.B.140085652722992 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 17559 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17559 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.140085652722992 (code B ref -1); Fri, 23 May 2014 14:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 May 2014 14:48:47 +0000 Received: from localhost ([127.0.0.1]:57985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Wnqm3-0005yc-9k for submit <at> debbugs.gnu.org; Fri, 23 May 2014 10:48:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41293) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <politza@HIDDEN>) id 1Wnqlw-0005yE-Pu for submit <at> debbugs.gnu.org; Fri, 23 May 2014 10:48:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <politza@HIDDEN>) id 1Wnqlk-0001ag-3Q for submit <at> debbugs.gnu.org; Fri, 23 May 2014 10:48:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <politza@HIDDEN>) id 1Wnqlk-0001ac-0r for submit <at> debbugs.gnu.org; Fri, 23 May 2014 10:48:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <politza@HIDDEN>) id 1Wnqld-0006Cg-02 for bug-gnu-emacs@HIDDEN; Fri, 23 May 2014 10:48:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <politza@HIDDEN>) id 1WnqlW-0001Y2-19 for bug-gnu-emacs@HIDDEN; Fri, 23 May 2014 10:48:16 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:34001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <politza@HIDDEN>) id 1WnqlV-0001Xs-OU for bug-gnu-emacs@HIDDEN; Fri, 23 May 2014 10:48:09 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier] Received: from luca (dslb-178-004-154-209.pools.arcor-ip.net [178.4.154.209]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id B02DC178A5D2 for <bug-gnu-emacs@HIDDEN>; Fri, 23 May 2014 16:47:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1400856472; bh=jIYYCgmcmLS9OThUIcKV6mbGZzo=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; b=W3bCMF2p8VBxWSh5ZYTbT3G8ZpgwbwQV2RQm/rS3dvNToDPxuOS+fJvgzgQvNHDVT 8+hj/I82PiAh4O6mLMJjAYLZN4hUFjHQL1R67DQn12+B+KG0qI6TWRhUvzYxWIyV/+ i0YX5VJPwrrpxNNy5WOxl9DzmkrLHGMpnMph/JV0= Received: from politza by luca with local (Exim 4.80) (envelope-from <politza@HIDDEN>) id 1WnqlE-0002tS-0o for bug-gnu-emacs@HIDDEN; Fri, 23 May 2014 16:47:52 +0200 From: Andreas Politz <politza@HIDDEN> Date: Fri, 23 May 2014 16:47:51 +0200 Message-ID: <87mwe88sbs.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) The documentation for the customizable variable `completion-pcm-word-delimiters' states: ``"A string of characters treated as word delimiters for completion.'' The default value contains _ , yet it does not seem to work, i.e. (let ((completion-styles '(partial))) (completion-initials-all-completions "fdh" '("friss_die_haelfte") nil 0)) =3D> nil (let ((completion-styles '(partial))) (completion-initials-all-completions "fdh" '("friss-die-haelfte") nil 0)) =3D> ("friss-die-haelfte" . 0) It would be nice for c-mode, if this could be made working. Gr=C3=BC=C3=9Fe, A. Politz
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Andreas Politz <politza@HIDDEN> Subject: bug#17559: Acknowledgement (24.3.50; Partial completion does not complete underscore delimited input ) Message-ID: <handler.17559.B.140085652722992.ack <at> debbugs.gnu.org> References: <87mwe88sbs.fsf@HIDDEN> X-Gnu-PR-Message: ack 17559 X-Gnu-PR-Package: emacs Reply-To: 17559 <at> debbugs.gnu.org Date: Fri, 23 May 2014 14:49:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 17559 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 17559: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17559 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#17559: 24.3.50; Partial completion does not complete underscore delimited input Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 23 May 2014 15:48:02 +0000 Resent-Message-ID: <handler.17559.B17559.140086005930006 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 17559 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Politz <politza@HIDDEN> Cc: 17559 <at> debbugs.gnu.org Received: via spool by 17559-submit <at> debbugs.gnu.org id=B17559.140086005930006 (code B ref 17559); Fri, 23 May 2014 15:48:02 +0000 Received: (at 17559) by debbugs.gnu.org; 23 May 2014 15:47:39 +0000 Received: from localhost ([127.0.0.1]:58024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Wnrgz-0007nn-W0 for submit <at> debbugs.gnu.org; Fri, 23 May 2014 11:47:38 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:37909) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <monnier@HIDDEN>) id 1Wnrgs-0007nJ-Jc; Fri, 23 May 2014 11:47:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVPO+KQe/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqBcYFbIQ X-IPAS-Result: ArYGAIDvNVPO+KQe/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqBcYFbIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="63867220" Received: from 206-248-164-30.dsl.teksavvy.com (HELO pastel.home) ([206.248.164.30]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 23 May 2014 11:47:20 -0400 Received: by pastel.home (Postfix, from userid 20848) id 5FBA5600B0; Fri, 23 May 2014 11:47:20 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwvwqdc5ws2.fsf-monnier+emacsbugs@HIDDEN> References: <87mwe88sbs.fsf@HIDDEN> Date: Fri, 23 May 2014 11:47:20 -0400 In-Reply-To: <87mwe88sbs.fsf@HIDDEN> (Andreas Politz's message of "Fri, 23 May 2014 16:47:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) retitle 17559 `initials' does not complete underscore delimited input severity 17559 wishlist thanks > The documentation for the customizable variable > `completion-pcm-word-delimiters' states: > ``"A string of characters treated as word delimiters for completion.'' > The default value contains _ , yet it does not seem to work, i.e. This variable just means that "a_b_c" can be completed by `partial-completion' style to "alonzo_bob_church" and indeed, that works, AFAICT. > (let ((completion-styles '(partial))) > (completion-initials-all-completions "fdh" '("friss_die_haelfte") nil 0)) [ completion-styles is used to decide which completion-*-all-completions to call, but completion-initials-all-completions should be unaffected by completion-styles (and indeed, it isn't, and `partial' is not a valid completion style, AFAIK). ] > => nil Indeed, completion-initials-all-completions hard-codes "-" as the separator (you can see it in completion-initials-expand). Stefan
Received: (at control) by debbugs.gnu.org; 23 May 2014 15:47:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 23 11:47:43 2014 Received: from localhost ([127.0.0.1]:58026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Wnrh4-0007nv-Um for submit <at> debbugs.gnu.org; Fri, 23 May 2014 11:47:43 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:37909) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <monnier@HIDDEN>) id 1Wnrgs-0007nJ-Jc; Fri, 23 May 2014 11:47:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVPO+KQe/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqBcYFbIQ X-IPAS-Result: ArYGAIDvNVPO+KQe/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqBcYFbIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="63867220" Received: from 206-248-164-30.dsl.teksavvy.com (HELO pastel.home) ([206.248.164.30]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 23 May 2014 11:47:20 -0400 Received: by pastel.home (Postfix, from userid 20848) id 5FBA5600B0; Fri, 23 May 2014 11:47:20 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Andreas Politz <politza@HIDDEN> Subject: Re: bug#17559: 24.3.50; Partial completion does not complete underscore delimited input Message-ID: <jwvwqdc5ws2.fsf-monnier+emacsbugs@HIDDEN> References: <87mwe88sbs.fsf@HIDDEN> Date: Fri, 23 May 2014 11:47:20 -0400 In-Reply-To: <87mwe88sbs.fsf@HIDDEN> (Andreas Politz's message of "Fri, 23 May 2014 16:47:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: control Cc: 17559 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) retitle 17559 `initials' does not complete underscore delimited input severity 17559 wishlist thanks > The documentation for the customizable variable > `completion-pcm-word-delimiters' states: > ``"A string of characters treated as word delimiters for completion.'' > The default value contains _ , yet it does not seem to work, i.e. This variable just means that "a_b_c" can be completed by `partial-completion' style to "alonzo_bob_church" and indeed, that works, AFAICT. > (let ((completion-styles '(partial))) > (completion-initials-all-completions "fdh" '("friss_die_haelfte") nil 0)) [ completion-styles is used to decide which completion-*-all-completions to call, but completion-initials-all-completions should be unaffected by completion-styles (and indeed, it isn't, and `partial' is not a valid completion style, AFAIK). ] > => nil Indeed, completion-initials-all-completions hard-codes "-" as the separator (you can see it in completion-initials-expand). Stefan
Received: (at control) by debbugs.gnu.org; 23 May 2014 15:47:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 23 11:47:43 2014 Received: from localhost ([127.0.0.1]:58026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Wnrh4-0007nv-Um for submit <at> debbugs.gnu.org; Fri, 23 May 2014 11:47:43 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:37909) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <monnier@HIDDEN>) id 1Wnrgs-0007nJ-Jc; Fri, 23 May 2014 11:47:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVPO+KQe/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqBcYFbIQ X-IPAS-Result: ArYGAIDvNVPO+KQe/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqBcYFbIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="63867220" Received: from 206-248-164-30.dsl.teksavvy.com (HELO pastel.home) ([206.248.164.30]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 23 May 2014 11:47:20 -0400 Received: by pastel.home (Postfix, from userid 20848) id 5FBA5600B0; Fri, 23 May 2014 11:47:20 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Andreas Politz <politza@HIDDEN> Subject: Re: bug#17559: 24.3.50; Partial completion does not complete underscore delimited input Message-ID: <jwvwqdc5ws2.fsf-monnier+emacsbugs@HIDDEN> References: <87mwe88sbs.fsf@HIDDEN> Date: Fri, 23 May 2014 11:47:20 -0400 In-Reply-To: <87mwe88sbs.fsf@HIDDEN> (Andreas Politz's message of "Fri, 23 May 2014 16:47:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: control Cc: 17559 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) retitle 17559 `initials' does not complete underscore delimited input severity 17559 wishlist thanks > The documentation for the customizable variable > `completion-pcm-word-delimiters' states: > ``"A string of characters treated as word delimiters for completion.'' > The default value contains _ , yet it does not seem to work, i.e. This variable just means that "a_b_c" can be completed by `partial-completion' style to "alonzo_bob_church" and indeed, that works, AFAICT. > (let ((completion-styles '(partial))) > (completion-initials-all-completions "fdh" '("friss_die_haelfte") nil 0)) [ completion-styles is used to decide which completion-*-all-completions to call, but completion-initials-all-completions should be unaffected by completion-styles (and indeed, it isn't, and `partial' is not a valid completion style, AFAIK). ] > => nil Indeed, completion-initials-all-completions hard-codes "-" as the separator (you can see it in completion-initials-expand). Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#17559: 24.3.50; Partial completion does not complete underscore delimited input Resent-From: Andreas Politz <politza@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 23 May 2014 17:59:01 +0000 Resent-Message-ID: <handler.17559.B17559.140086790923394 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 17559 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: 17559 <at> debbugs.gnu.org Received: via spool by 17559-submit <at> debbugs.gnu.org id=B17559.140086790923394 (code B ref 17559); Fri, 23 May 2014 17:59:01 +0000 Received: (at 17559) by debbugs.gnu.org; 23 May 2014 17:58:29 +0000 Received: from localhost ([127.0.0.1]:58138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Wntjd-00065B-0l for submit <at> debbugs.gnu.org; Fri, 23 May 2014 13:58:28 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:56178) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <politza@HIDDEN>) id 1WntjW-00064p-Uj for 17559 <at> debbugs.gnu.org; Fri, 23 May 2014 13:58:23 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier] Received: from luca (dslb-178-004-154-209.pools.arcor-ip.net [178.4.154.209]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 0F946178A580; Fri, 23 May 2014 19:57:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1400867877; bh=cze0VCZdxNx5F2aHmGgqBi4JGBM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=SgH33LnsDo95HpA1bzq3BaLAGsgNhtqNMU3gWe5v7Amr78GYAyVOJ24ZRhlcKh4X6 L0UlX3ThTmEtSYDzSAb34+IcUjWu/N2C78Or19gfjkh6/5GOBzKfO2/yQXHUD+lSty rU5C5TsaGuWPW/oNwxAeyPPIiTWo7xgivbsnff8g= Received: from politza by luca with local (Exim 4.80) (envelope-from <politza@HIDDEN>) id 1WntjA-0003sa-Cf; Fri, 23 May 2014 19:57:56 +0200 From: Andreas Politz <politza@HIDDEN> References: <87mwe88sbs.fsf@HIDDEN> <jwvwqdc5ws2.fsf-monnier+emacsbugs@HIDDEN> Date: Fri, 23 May 2014 19:57:56 +0200 In-Reply-To: <jwvwqdc5ws2.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's message of "Fri, 23 May 2014 11:47:20 -0400") Message-ID: <87fvk08jiz.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Stefan Monnier <monnier@HIDDEN> writes: > retitle 17559 `initials' does not complete underscore delimited input > severity 17559 wishlist > thanks > > [...] "a_b_c" can be completed by > `partial-completion' style to "alonzo_bob_church" [...] > Yes, you're right. Andreas
X-Loop: help-debbugs@HIDDEN Subject: bug#17559: 24.3.50; Partial completion does not complete underscore delimited input Resent-From: Andreas Politz <politza@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 23 May 2014 18:20:02 +0000 Resent-Message-ID: <handler.17559.B17559.140086918526050 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 17559 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: 17559 <at> debbugs.gnu.org Received: via spool by 17559-submit <at> debbugs.gnu.org id=B17559.140086918526050 (code B ref 17559); Fri, 23 May 2014 18:20:02 +0000 Received: (at 17559) by debbugs.gnu.org; 23 May 2014 18:19:45 +0000 Received: from localhost ([127.0.0.1]:58169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Wnu4C-0006lw-St for submit <at> debbugs.gnu.org; Fri, 23 May 2014 14:19:44 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:43710) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <politza@HIDDEN>) id 1Wnu47-0006lc-BF for 17559 <at> debbugs.gnu.org; Fri, 23 May 2014 14:19:39 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier] Received: from luca (dslb-178-004-154-209.pools.arcor-ip.net [178.4.154.209]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 28CC0178A5D2; Fri, 23 May 2014 20:19:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1400869155; bh=JCeUalQQcIaIyA81S0a59WqpbvE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=RzmR+Tuu7cKtjzW8d3L1QPHUV2wNKUrE4Hwl9k7X2XljxlxWVBylgaxE2W0KRLnoO M7A9aFbP21qluI/t4Kq02+f7iDGiIlamTauxdtgQTLHSh/dix2GMyuke/8rJmv0hR2 PmuWdilwYYFUvOmTzKvk03ieFzUXoKEDj+1iWqLg= Received: from politza by luca with local (Exim 4.80) (envelope-from <politza@HIDDEN>) id 1Wnu3m-0003up-H3; Fri, 23 May 2014 20:19:14 +0200 From: Andreas Politz <politza@HIDDEN> References: <87mwe88sbs.fsf@HIDDEN> <jwvwqdc5ws2.fsf-monnier+emacsbugs@HIDDEN> Date: Fri, 23 May 2014 20:19:14 +0200 In-Reply-To: <jwvwqdc5ws2.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's message of "Fri, 23 May 2014 11:47:20 -0400") Message-ID: <87bnuo8ijh.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Stefan Monnier <monnier@HIDDEN> writes: > severity 17559 wishlist Would something like the following be sufficient ? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=vc.diff === modified file 'lisp/minibuffer.el' *** lisp/minibuffer.el 2013-10-04 02:12:16 +0000 --- lisp/minibuffer.el 2014-05-23 18:14:44 +0000 *************** *** 3187,3193 **** (string-match completion-pcm--delim-wild-regex str (car bounds))) (if (zerop (car bounds)) ! (mapconcat 'string str "-") ;; If there's a boundary, it's trickier. The main use-case ;; we consider here is file-name completion. We'd like ;; to expand ~/eee to ~/e/e/e and /eee to /e/e/e. --- 3187,3200 ---- (string-match completion-pcm--delim-wild-regex str (car bounds))) (if (zerop (car bounds)) ! (let ((separator ! (or (completion-metadata-get ! (completion-metadata str table pred) ! 'completion-initials-separator) ! (plist-get completion-extra-properties ! :completion-initials-separator) ! "-"))) ! (mapconcat 'string str separator)) ;; If there's a boundary, it's trickier. The main use-case ;; we consider here is file-name completion. We'd like ;; to expand ~/eee to ~/e/e/e and /eee to /e/e/e. --=-=-= Content-Type: text/plain This appears to work, but I have little clue about the underlying partial completion matching algorithm. Andreas --=-=-=--
X-Loop: help-debbugs@HIDDEN Subject: bug#17559: 24.3.50; Partial completion does not complete underscore delimited input Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 19 Jun 2014 21:42:02 +0000 Resent-Message-ID: <handler.17559.B17559.140321410112077 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 17559 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Politz <politza@HIDDEN> Cc: 17559 <at> debbugs.gnu.org Received: via spool by 17559-submit <at> debbugs.gnu.org id=B17559.140321410112077 (code B ref 17559); Thu, 19 Jun 2014 21:42:02 +0000 Received: (at 17559) by debbugs.gnu.org; 19 Jun 2014 21:41:41 +0000 Received: from localhost ([127.0.0.1]:53524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Wxk5U-00038i-JH for submit <at> debbugs.gnu.org; Thu, 19 Jun 2014 17:41:41 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:12870) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <monnier@HIDDEN>) id 1Wxk5S-00038V-7g for 17559 <at> debbugs.gnu.org; Thu, 19 Jun 2014 17:41:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqBcYFbIQ X-IPAS-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqBcYFbIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="68438393" Received: from 75-119-224-253.dsl.teksavvy.com (HELO pastel.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 19 Jun 2014 17:41:32 -0400 Received: by pastel.home (Postfix, from userid 20848) id 52F0F61DB8; Thu, 19 Jun 2014 17:41:32 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwvy4wstw8g.fsf-monnier+emacsbugs@HIDDEN> References: <87mwe88sbs.fsf@HIDDEN> <jwvwqdc5ws2.fsf-monnier+emacsbugs@HIDDEN> <87bnuo8ijh.fsf@HIDDEN> Date: Thu, 19 Jun 2014 17:41:32 -0400 In-Reply-To: <87bnuo8ijh.fsf@HIDDEN> (Andreas Politz's message of "Fri, 23 May 2014 20:19:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) > Would something like the following be sufficient ? [...] > ! (let ((separator > ! (or (completion-metadata-get > ! (completion-metadata str table pred) > ! 'completion-initials-separator) > ! (plist-get completion-extra-properties > ! :completion-initials-separator) > ! "-"))) It could work, tho it requires changing all the corresponding completion tables to provide the other "filling" when needed. I think this should be fixable/fixed without needing to touch the completion tables. And if we add such `completion-initials-separator' properties, we'll be stuck with them "for ever", so I'd rather not go there if there's a chance we might not need them. Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#17559: 24.3.50; Partial completion does not complete underscore delimited input References: <87mwe88sbs.fsf@HIDDEN> In-Reply-To: <87mwe88sbs.fsf@HIDDEN> Resent-From: Andreas Politz <politza@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 31 Aug 2016 19:28:01 +0000 Resent-Message-ID: <handler.17559.B17559.147267166028752 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 17559 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17559 <at> debbugs.gnu.org Received: via spool by 17559-submit <at> debbugs.gnu.org id=B17559.147267166028752 (code B ref 17559); Wed, 31 Aug 2016 19:28:01 +0000 Received: (at 17559) by debbugs.gnu.org; 31 Aug 2016 19:27:40 +0000 Received: from localhost ([127.0.0.1]:45647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1bfBAh-0007Tg-OR for submit <at> debbugs.gnu.org; Wed, 31 Aug 2016 15:27:39 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:58977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <politza@HIDDEN>) id 1bfBAg-0007TT-Sg for 17559 <at> debbugs.gnu.org; Wed, 31 Aug 2016 15:27:39 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdf67.dynamic.kabel-deutschland.de [95.91.223.103]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 36F1A1798A52 for <17559 <at> debbugs.gnu.org>; Wed, 31 Aug 2016 21:27:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1472671643; bh=a3SM9Pv1PZqPOiRQuP9IDnoq9Ow=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=g7BTPL406ESN+/6EIdesfcNKkB0BXRf6Mjum9MOCmwsZmobtTBZh9D6HgFGzReObq fRGppkLYClm5Ncolf+mysa67kvb5GlPGPfbuoXBULPOKMh7UGFV4diFKWaXWCz+4qx eQWwCCPOcorZ1ICxmxrO9tGVu2JgLZvJM4YCvia8= From: Andreas Politz <politza@HIDDEN> Date: Wed, 31 Aug 2016 21:27:22 +0200 Message-ID: <87zins4u3p.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Coming back to this... What do you think, where should the information regarding the string to use as a separator for the initials style come from, if it's not hard-coded ? Andreas
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.