From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= Newsgroups: gmane.emacs.devel Subject: Re: History completion Date: Thu, 09 Dec 2021 22:52:52 +0000 Message-ID: <87ee6lo0fv.fsf@gmail.com> References: <86mtlbvuq2.fsf@mail.linkov.net> <87bl1qq30j.fsf@gmail.com> <861r2lspqo.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30884"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 09 23:54:16 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvSIq-0007q7-78 for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 23:54:16 +0100 Original-Received: from localhost ([::1]:39766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvSIo-0005xj-ON for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 17:54:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvSHb-0005CT-SX for emacs-devel@gnu.org; Thu, 09 Dec 2021 17:53:00 -0500 Original-Received: from [2a00:1450:4864:20::334] (port=46629 helo=mail-wm1-x334.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvSHZ-0001kd-Ks for emacs-devel@gnu.org; Thu, 09 Dec 2021 17:52:59 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id c6-20020a05600c0ac600b0033c3aedd30aso5274365wmr.5 for ; Thu, 09 Dec 2021 14:52:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=3bk5Xmea90viPYHwYvgn9T3aEfgMnB6hcbBFxwt9rF8=; b=exD+U/knK4ViMKDZYFnDKBADM5IzWNw7fsRrSnMcQ/x7HlO5G3eqRN+WB5kbo4HPV0 AhFRuuMQ9BFquymp/KHvs1BbxncsqmODb97T21vxfOWcWUMrnb1oQNuASvny+TdiKsFc tnmbtwIktLkzQbN7oPbgypkQn3eI67QNWxAuXMfMJvVxOsT9zIa5eUNfr4ANjYeiLHYP 6U97qXnQLNWLVnD0huaf+caeTGV+Neg2Jl6QuEw+2/+Q6kEmCF+VP44wi4jRGvrAPO8S OuCo3RzHc+ox6nDwAcKhWTrlQHUUYjMoNGuJPd5tzEkG6L5R7pIYV670HTlH9sG+oZve lUJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=3bk5Xmea90viPYHwYvgn9T3aEfgMnB6hcbBFxwt9rF8=; b=WT23J76ToHbsUYm34VG3PsATCiop+ZYcMWwTVtdyrULJj4RJTVO/qceUFP8uD2zPJB bzr98FHhIKVXUd6SGINsRBHbHMtZvM5ZygAKv3N22zWDbr/7LB6XHF6/zov2v7hb/qno W4xaxEDlipZRL+EepSgUHJ/ZffjnPONQt7zUfgyUdpHiN2v3OS6IdiIgXgQJq9IvRaUY xgCIrVMuH+rVdZxWV+PeEglEOc8P1Dqj6vnUQn6dp/0bXtf1WAB54ZBu+zLQr5IC4kcT Fbg8Jii9LfXDly/ufShx3oGAuZr6aZVi8eaSccyjiiknIy3589NWWaxdSmlPZnKxnyKh lTUA== X-Gm-Message-State: AOAM530yHZgdI+mOBKrX/v2FzkSLpM8oCV8t3JE0KRFvdtY03aaRyrxc DUr36e3JveKJcQ9WtHTDfjvXxvDWSw8= X-Google-Smtp-Source: ABdhPJwRZj9239RNDlgaTteGDs4VZvHjE2mPD6GzbJLiqXbxo2cpG1r/WkXMVs0YoHn/hGn8JWNpUw== X-Received: by 2002:a05:600c:3846:: with SMTP id s6mr11052706wmr.55.1639090373496; Thu, 09 Dec 2021 14:52:53 -0800 (PST) Original-Received: from guix-xps13 ([2001:818:daa9:6700:462d:384e:6de8:4a1c]) by smtp.gmail.com with ESMTPSA id l26sm1133893wms.15.2021.12.09.14.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 14:52:53 -0800 (PST) In-Reply-To: <861r2lspqo.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 09 Dec 2021 19:12:49 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::334 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=andremegafone@gmail.com; helo=mail-wm1-x334.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281554 Archived-At: Juri Linkov writes: >> Another suggestion would be to follow comint mode's bindings: C-c M-r/s. >> But, unlike comint's case, C-c M-p/n aren't being used so it's also an >> option. > > Two key presses is not the most convenient to browse completions. > Horizontal Icomplete uses =E2=80=98C-,=E2=80=99 and =E2=80=98C-.=E2=80=99. Maybe I got something wrong, but I thought we're discussing commands that were similar `next-matching-history-element' and `previous-matching-history-element' (bound to M-s and M-r). The ones I thought we're referring to would match an element based on a given prefix (akin to comint-previous-matching-input-from-input and friends). IMO, it would make sense to have a symmetric behaviour in comint mode and the minibuffer. Some will argue that I can just type "^" right after I call M-r/s in the minibuffer. Well... In that vein, I suggested C-c M-r/s for the hypothetical `previous-matching-history-element-from-input' and `next-matching-history-element-from-input'. --=20 Andr=C3=A9 A. Gomes "Free Thought, Free World"