Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 43774) by debbugs.gnu.org; 6 Jun 2021 11:09:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 06 07:09:20 2021 Received: from localhost ([127.0.0.1]:50809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lpqee-0006h6-Az for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 07:09:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1lpqec-0006gs-9m for 43774 <at> debbugs.gnu.org; Sun, 06 Jun 2021 07:09:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6M8RmB1swgO5h0kZoJhC7/fOaH3WZL3zuofcuP/qnX0=; b=RDXwDxg2G9Q1vtMhcBeghYABkf 6MkuciWF/jnrm6Txt50ffq/uIRHafrTQyTjMBpKkBRDKeiS1x1OM1jMrslPIMnyafAufRIHL6BiYe sLgQ+CT914c09r3i3aCAXy7vCYN5taJ0Dg1Qrk99P7Cqjf/q2PPSTXIOx1zyXVYt5h0Q=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1lpqeU-0005sh-36; Sun, 06 Jun 2021 13:09:12 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Teemu Likonen <tlikonen@HIDDEN> Subject: Re: bug#43774: 27.1; fido-mode completion don't accept empty string nor matching substring References: <87ft6vkei5.fsf@HIDDEN> <87sgautq5x.fsf@HIDDEN> <87mu124cvq.fsf@HIDDEN> X-Now-Playing: Crash Course In Science's _Situational Awareness_: "The Lightning" Date: Sun, 06 Jun 2021 13:09:09 +0200 In-Reply-To: <87mu124cvq.fsf@HIDDEN> (Teemu Likonen's message of "Sun, 04 Oct 2020 11:24:41 +0300") Message-ID: <871r9fs10q.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Teemu Likonen <tlikonen@HIDDEN> writes: > * 2020-10-04 10:18:34+03, Protesilaos Stavrou wrote: > >> Try to use C-j (icomplete-force-complete-and-exit) to insert a >> substring that is not part of the list of candidates. > > It doesn't work [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43774 Cc: 43774 <at> debbugs.gnu.org, Protesilaos Stavrou <info@HIDDEN> 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: -1.7 (-) Teemu Likonen <tlikonen@HIDDEN> writes: > * 2020-10-04 10:18:34+03, Protesilaos Stavrou wrote: > >> Try to use C-j (icomplete-force-complete-and-exit) to insert a >> substring that is not part of the list of candidates. > > It doesn't work with my test cases. C-j in fido-mode selects the current > option, not the typed (sub)string. Yes, there seems to be no way to select the empty string in fido-mode with C-j, as far as I can tell (with your test case). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#43774
; Package emacs
.
Full text available.Received: (at 43774) by debbugs.gnu.org; 4 Oct 2020 08:24:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 04 04:24:54 2020 Received: from localhost ([127.0.0.1]:44931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kOzK9-0001R0-Po for submit <at> debbugs.gnu.org; Sun, 04 Oct 2020 04:24:53 -0400 Received: from lahtoruutu.iki.fi ([185.185.170.37]:44798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tlikonen@HIDDEN>) id 1kOzK8-0001Qa-3Y for 43774 <at> debbugs.gnu.org; Sun, 04 Oct 2020 04:24:53 -0400 Received: from mithlond (mobile-access-bceeea-132.dhcp.inet.fi [188.238.234.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: tlikonen) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4AFDE1B00120; Sun, 4 Oct 2020 11:24:49 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1601799889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UqknEtAArGs/8ndKGUDm9jxNOAmZRXMB8KxN/TUVcMo=; b=jFdgcGTc367kWoJGgMrhNmwBqmKT+OlMWaESqQC+4884YY6UutVICebgXgCXCr0WxomKhz AfF2HwC6MoGGN95EzBflaLLt2F5CxuTYT2G1/Z0TuncUK7bBLW/nc+t6rro7AcVbrpeBVP ZVrkS2ao2S4f6aMwinHjALHrrxB6Yna9Ea2R/JpjbtfZvDRZcbmR3o/ftYE+f0+nlePivu qf7LOhz1NNYCDuY2gfRspuF1AzYcXI0EW33rOAKi7c1SfiMk6kXxoUyXaoXkkTFMQk4vpM APCvJ9wg8S2Kumr5u/7tCJPz+DbMY1BPNedaEzRuOossHofcDUY39KDZnLfH6A== From: Teemu Likonen <tlikonen@HIDDEN> To: Protesilaos Stavrou <info@HIDDEN> Subject: Re: bug#43774: 27.1; fido-mode completion don't accept empty string nor matching substring In-Reply-To: <87sgautq5x.fsf@HIDDEN> References: <87ft6vkei5.fsf@HIDDEN> <87sgautq5x.fsf@HIDDEN> Date: Sun, 04 Oct 2020 11:24:41 +0300 Message-ID: <87mu124cvq.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1601799889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UqknEtAArGs/8ndKGUDm9jxNOAmZRXMB8KxN/TUVcMo=; b=mU99wlgMExoa1V/R8LHLcD8IWk/OAxNMD5c0M1mj7qMZl7c0VWkXxv6YaUY3a1clPmox2x 7J/TV9nFtMus8DD40y7xf33I5270qLW62ABEOBVVcxNydC+QgX9mAjyCDGTs8B20P4WwmD Mn32rSyjB/5R4IivmdKBfsUnE83sHaLJyXxKJrq0QKCWCFtMQ+CARfuUAf33Gn138EoeX4 oBALiQ/uoCDB/HjtIyeTpS5TVKzl47mnUHNvsOQNTKXIV6kvsfgTiES+WsWON+oUOyv6xz FnY5+RZV+zuyqypfF1EOFaX1TfmC5rBhG3C77wE2CWSxDCHh2K3ox7SijhFHWw== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1601799889; a=rsa-sha256; cv=none; b=vcPyMnpkknJ/zvomdha9TtfHORmPztjs+KdoDMl0WKpegRnl25nDXCTvPz9BIUZtGY2e9W zDRuaoeNGau2KTRaym6KX+lUJnAgi4sSHAsDlV5arO2AL8fY+ccJ7T2wez7e9Xq3QR/cd/ oUKNCFt32/1SUlcz5Sy66MlH0fDAZiIXa4H9VGpCasoeBRYTQdPFF/ielqLqGtQwerE3of H/h9vOP2y46Rn/JQ261I2V9/L8UqstCUeXvN8XinWFn0lw5SyZfh+SYOxhEs1J6S+vuGi7 1N8IrRcBW5YbOaXB95Qat9H63CZ5hYypFXGT2VzpdTB0GsGD7LhzgyFiQ0iHPA== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=tlikonen smtp.mailfrom=tlikonen@HIDDEN X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43774 Cc: 43774 <at> debbugs.gnu.org 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: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * 2020-10-04 10:18:34+03, Protesilaos Stavrou wrote: > Try to use C-j (icomplete-force-complete-and-exit) to insert a > substring that is not part of the list of candidates. It doesn't work with my test cases. C-j in fido-mode selects the current option, not the typed (sub)string. I have switched to plain icomplete-mode. It is quite close to fido-mode when used with these settings: (setq completion-styles '(flex) read-file-name-completion-ignore-case t read-buffer-completion-ignore-case t) Plain icomplete-mode has a way to choose only the typed string (RET), a way to choose the suggested option and exit (C-j), and a way to complete the string to the suggested option (C-M-i), plus some other things. =2D-=20 /// Teemu Likonen - .-.. http://www.iki.fi/tlikonen/ // OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYIAC4WIQTJW2wqtelxC1gHdbitnXWr7pTCcwUCX3mGyRAcdGxpa29uZW5A aWtpLmZpAAoJEK2ddavulMJzEa4A/RkL5OFWBrV33DK8xEOMDcdig6XbBXMNIuvV Gox865oAAP47NbTwHMMJLfSIHM6oDRifPhpyVVXxm1zR5uVy8bKODQ== =+7pr -----END PGP SIGNATURE----- --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#43774
; Package emacs
.
Full text available.Received: (at 43774) by debbugs.gnu.org; 4 Oct 2020 07:18:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 04 03:18:47 2020 Received: from localhost ([127.0.0.1]:44907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kOyIB-00059P-2X for submit <at> debbugs.gnu.org; Sun, 04 Oct 2020 03:18:47 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:45775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <info@HIDDEN>) id 1kOyI9-00059B-B9 for 43774 <at> debbugs.gnu.org; Sun, 04 Oct 2020 03:18:45 -0400 X-Originating-IP: 213.207.159.45 Received: from kronos (unknown [213.207.159.45]) (Authenticated sender: public@HIDDEN) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 40FECE0004; Sun, 4 Oct 2020 07:18:36 +0000 (UTC) From: Protesilaos Stavrou <info@HIDDEN> To: Teemu Likonen <tlikonen@HIDDEN> Subject: Re: bug#43774: 27.1; fido-mode completion don't accept empty string nor matching substring References: <87ft6vkei5.fsf@HIDDEN> Date: Sun, 04 Oct 2020 10:18:34 +0300 In-Reply-To: <87ft6vkei5.fsf@HIDDEN> (Teemu Likonen's message of "Sat, 03 Oct 2020 09:30:42 +0300") Message-ID: <87sgautq5x.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43774 Cc: 43774 <at> debbugs.gnu.org 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: -1.0 (-) On 2020-10-03, 09:30 +0300, Teemu Likonen <tlikonen@HIDDEN> wrote: > Emacs fido-mode (which is part of icomplete-mode) implements minibuffer > completion system which offers quick and easy way to choose one of the > available options. However, sometimes user needs to enter a different > substring which is not any of the available options. Sometimes even > empty string is needed. This seems to be impossible in fido-mode. The > following example demonstrates the empty string problem. > > [..] Hi Teemu, Try to use C-j (icomplete-force-complete-and-exit) to insert a substring that is not part of the list of candidates. A simple reproducible recipe (I am on Emacs 28.0.50): + Start 'emacs -Q' + In the scratch buffer first evaluate: (fido-mode 1) + Then evaluate: (insert (completing-read "Test arbitrary input: " '(one two three))) + Instead of selecting among {one,two,three} you can type any string, such as "test" and add it with C-j. Your input shall be inserted at point. This should work for a substring, but I am not sure it does for an empty string. -- Protesilaos Stavrou protesilaos.com
bug-gnu-emacs@HIDDEN
:bug#43774
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 3 Oct 2020 06:31:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 03 02:31:11 2020 Received: from localhost ([127.0.0.1]:42877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kOb4Z-00070o-HO for submit <at> debbugs.gnu.org; Sat, 03 Oct 2020 02:31:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:56730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tlikonen@HIDDEN>) id 1kOb4V-00070e-D5 for submit <at> debbugs.gnu.org; Sat, 03 Oct 2020 02:31:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tlikonen@HIDDEN>) id 1kOb4U-0000mg-Rf for bug-gnu-emacs@HIDDEN; Sat, 03 Oct 2020 02:31:07 -0400 Received: from lahtoruutu.iki.fi ([185.185.170.37]:51566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tlikonen@HIDDEN>) id 1kOb4P-0005mV-R9 for bug-gnu-emacs@HIDDEN; Sat, 03 Oct 2020 02:31:06 -0400 Received: from mithlond (mobile-access-bceeea-132.dhcp.inet.fi [188.238.234.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: tlikonen) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id F33041B00596 for <bug-gnu-emacs@HIDDEN>; Sat, 3 Oct 2020 09:30:49 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1601706650; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=UMFmbxQ/YP0v4Vq1XWMSdaJ5ArMJJjKXkjH5LI+Cxec=; b=HViXLdzOlDSPcVfjv/j//8AJAXR9zsN5ki534lX3AOexGeJku7RtV3rm/NWxk4TFYT35z0 qA5eWX1d5S6B7rRlZAHYY+vmH1hZUcgzRHC4yfVzBVN1Tiefsf6nFio2Kv3yiUTUvzC/un 14xChpkHhG3KSX86hIDnuAI84y/4Ky/cVlIGP9uI680nJut3FL8gylGLP0Hmad9cyGOo47 R+bxcZOahbn3mKQnZyKH/Zdr2GQ33dlnmrHUTKZiZvoRt91yjd+lORsT5wMIWn8n8GkU1A UGmPrF5s0bF6SyXiHyM/huhMcikAkAdH3WN6kRfjsEK3s55+JJexG1i6DgLiRA== From: Teemu Likonen <tlikonen@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 27.1; fido-mode completion don't accept empty string nor matching substring Date: Sat, 03 Oct 2020 09:30:42 +0300 Message-ID: <87ft6vkei5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1601706650; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=UMFmbxQ/YP0v4Vq1XWMSdaJ5ArMJJjKXkjH5LI+Cxec=; b=vBYXSB28Bri0o8DZgfYk4tYNk7vQyeD4MgEdycZNyZtwN5c7g0eADdE452dBYmlv3RVDOh EqtwlKN/DUAuGdq8mGYHvLZcbTqbcXppxh4hu+Jl83ctoFwYBso6rXTMecAiZpYOcQvLST 3qMxjiRVMbBlCRHCtvKKmQH+gJXBTSuszN/sBzWOY0LNFvhVQcxoT8KFqiLTLcYE0YbfGn 6lAu5fD4KocyGLAkL/obEjo1J5phPECsGD5mz6/G4+GZLMTmAFY8LJoyiEli40QXPe0Xjx V+JtgkZzr1iTvj1LCp/ZpyT+0JwiN1N82cEAc1qT/1Ck9RM4oUNg/JdK/nTKUA== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1601706650; a=rsa-sha256; cv=none; b=DqRJJYI5Dk9uo+F6dvXYFB8cxzw4EdBtHA+HnxRGRTL7TAl1pwCRgXZuQKODr8ZwWuUSvT NT/fbFIsbt8Grxd5ECJx35MfY3wM+/VnBinpFKyqz7ZSNLPgeFbATI2XGg1e9s7q2H94qP HgAP+nb1HJHsBdEUo92q4vDgi9Tej9JboRY5Guu1ISMMHUxS0wCxKdHwXoL4AzCiLv9wgd +P+9G6M1nHjWPRz80+RKAz1gM7rARjRxaeDP+fxXn8aJzryUtNIAHv5MdUOvi4BZvt6n+C oxrZQy+Ben+ifQuSXIAPClUMYujdVqPxode1cZ6OHG1RgxQZh+9VpxLki1YlRA== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=tlikonen smtp.mailfrom=tlikonen@HIDDEN Received-SPF: pass client-ip=185.185.170.37; envelope-from=tlikonen@HIDDEN; helo=lahtoruutu.iki.fi X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/03 02:30:51 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit 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.6 (--) --=-=-= Content-Type: text/plain Emacs fido-mode (which is part of icomplete-mode) implements minibuffer completion system which offers quick and easy way to choose one of the available options. However, sometimes user needs to enter a different substring which is not any of the available options. Sometimes even empty string is needed. This seems to be impossible in fido-mode. The following example demonstrates the empty string problem. 1. Save the attached (inline) file "test.org". 2. Start Emacs and open the file: emacs -Q test.org 3. Ensure that the major mode is org-mode and turn on fido-mode: M-x org-mode M-x fido-mode 4. Press "C-c C-c" (org-ctrl-c-ctrl-c) on any of the Org heading lines. The command will start editing tags for the current heading line. The available tags in the buffer are :one:, :two:, :three:. 5. Try to clear the prompt from any tags. This works but it seems to be impossible to actually enter empty string because one of the buffer's present tags are always chosen when user finishes the prompt with RET key. A work-around in org-mode's tag completion prompt is to enter one colon (:) in the prompt but this is not general solution to the empty string problem. Another difficulty comes with entering just a substring of available matches. The following example demonstrates this. 1. Start Emacs with "emacs -Q". 2. Turn fido-mode on. M-x fido-mode 3. Press "C-x b" (switch-to-buffer) and try to create buffer named "scr" which is a substring of "*scratch*" buffer. This seems to be impossible or there is no documented way to do this. -- /// Teemu Likonen - .-.. http://www.iki.fi/tlikonen/ // OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450 --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=test.org * first :one: * second :two: * third :three: --=-=-=--
Teemu Likonen <tlikonen@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#43774
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.