From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: Other details about completion. Date: Thu, 7 Apr 2022 01:55:27 +0200 Message-ID: <20220406235527.q4xaul2n2xczkcnd@Ergus> References: <20220404193501.adojhz7uvvaoq4sj@Ergus> <86czhw4oqr.fsf@mail.linkov.net> <4E8D9AEF-4D7A-4B11-822F-8D0911964A05@aol.com> <86bkxfibdo.fsf@mail.linkov.net> <20220405232013.5y5jnr4ykzqgxqla@Ergus> <86a6cyiqlt.fsf@mail.linkov.net> <20220406132108.evlofp5l3krsl5h7@Ergus> <86sfqqduon.fsf@mail.linkov.net> <20220406174532.chsgqkzd2gphyuh3@Ergus> <86h776cbxa.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16444"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 07 01:56:46 2022 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 1ncFW1-0004Ay-N4 for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Apr 2022 01:56:45 +0200 Original-Received: from localhost ([::1]:35796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncFW0-0004Up-9t for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Apr 2022 19:56:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncFV2-0003nE-VP for emacs-devel@gnu.org; Wed, 06 Apr 2022 19:55:44 -0400 Original-Received: from sonic316-12.consmr.mail.bf2.yahoo.com ([74.6.130.122]:39452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncFUz-0007qj-N1 for emacs-devel@gnu.org; Wed, 06 Apr 2022 19:55:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1649289336; bh=SwS/1a93KsFzsa0o3qyoV1z6kzmM9DLvxZ+rnKbP41k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=knAm/+8a9xtc8iQJnKXz+xwUXXazrgY9i8qJJVpzsRrBltwY0ZWKrD9UpaniDJsNXJPoWR/UPldKQt9dfJHAVSGZKuMVxLu6bieT6BXrHvd/TiYjNgcL2nnaugX+KmRdSA3tRg3KmBNCHPBZOK2ozd8EQ8v05hCwAWfe1Qs3FXwDK848kedpusufK8FR+O0ref0+lx+4502jMkHJVI6dZDdawzBpivTFH/Qad5k3bodgKwdWzf50/FG0+f7QL8PEdRyPaeE5lKvgIZ16wGRrhmU8P9336EKVmtMejcmBSW0eKbS7JYiBEwiIJSbpq5FCUfmJYbnI9i6LdeayhEGmSQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649289336; bh=nhU8GPxu8tE0zrJDVmJbzXuQ5iuJyDfmft87jh5LsHV=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=lRU40m9YDpYZbs4ZQKk+tBSLRi2xXuvih6F+0u13mstYsIlLet+LowWJfwaDUZzDVrKcHU4XiPA9kx+Uxuj82AkzvkBXBRsrnwXkpCoVf89RkmjKGf2bZBsIM6vEo9uvtpNeu1SOxs9AqYYg+HhDHn+A/+ENiml9W1o53KKmdalvCYvYBKqOvN9HibpUH2uivyhlhxnQGOAKH82HPjsnPwyIJ7J8etuxc2zA++t7q8PH6+ssJTMW/HGzpvUPQ0W/N4RkkJGCk6p2EyO53IWAFQcTzdfVnN2rXjwfYIU1vjDVkTG1FvDUa2AXD9mom0ri+ouWjVQT1g38H4K1JSuJ0w== X-YMail-OSG: LbH8BVwVM1mkMF9TPMfVneXMuOzdkU5dvJMBHRIZS_D4f60iVsbht_XwoDyjoRL BnvnfMKByXhFtR9KqzICu0QahCKOSWqfpvg50Gov_tCjoiFsPW722SbGUDLz082qohfHt9DiFXMK ITBB1AXrMSNBk9YMgZQcaIhACTGvsoDQy8MvxaHttldrQ2X_fU.ms8XgbnOgPF_D4upYKhoCV2Lw hoYRdAL8VJMwUmairidceT8fFgOACWJVpl7Ey8Fb2pArEZdLCq1XC5w24eVNBeQ2Yo0uZWfjsJeK hTox_9fXwdA9zmFwXXkXp55dtYEBDeFYibeGGAjCqRKoErXgHOIMEPH9ilSBxCIaGGrWq0gruQ.5 mCGL16wRc6titykfy4VZPoYkKs9V_AXEC3BuMu58xxj14JXQtOg3zsfh05.qbKBn09pANM5bjTlt lSpDeVOFk41Nuy.jbR709kPVi0cXgvBa_Qy.HjL2TpwdXun5ragLxVy4G860PWEHSeimCkY12WjD zVA2XnP6zuy6oNxhYIr89ocyK7n527lJfSwia7kGM1ebWJTqnGFMFj3DCeXmHrP0bMF36LalNLV3 DfXSe0KynjH8khcGhLFum5hZCtSrhzaAPlImd_aQ2atvTrNAYxPPpy0v6p7oadfbUqvjGWzGkkEn KEwQR3FwVJPY5Df4jxJNDlcgIM0aSNz.X0V3MHWbY6fwH7DYMoV8pJQqTls55H1XJ.j_oJsiME1G 35O23Qo4rIt37FhdNn0nBdkBXJLm2zMwlRQTX84iIlUc3wygWsWslz1n5ewt._p9Eri1RifBpJga tZGqM0H6r1Z95EByIq1jEnYjp5QJCak_kg5.kUthaR X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.bf2.yahoo.com with HTTP; Wed, 6 Apr 2022 23:55:36 +0000 Original-Received: by kubenode512.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 48a8c0286a5fb53c3a68ded0dfa8f74d; Wed, 06 Apr 2022 23:55:31 +0000 (UTC) Content-Disposition: inline In-Reply-To: <86h776cbxa.fsf@mail.linkov.net> X-Mailer: WebService/1.1.20001 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.130.122; envelope-from=spacibba@aol.com; helo=sonic316-12.consmr.mail.bf2.yahoo.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:287863 Archived-At: On Wed, Apr 06, 2022 at 09:29:13PM +0300, Juri Linkov wrote: >> BTW: do we have any sort of history search based on the inserted text >> like bash history-search-backward?? > >It's just 'C-r C-w' in the minibuffer. > Just in case: Reading the code I found two functions in simple.el not documented in the manual: next-complete-history-element and previous-complete-history-element They are undocumented and I didn't find any reference to them in the Emacs manual, but so far they do what I asked for; so I finally did this: (keymap-set minibuffer-local-map "" #'next-complete-history-element) (keymap-set minibuffer-local-map "" #'previous-complete-history-element) Which gives a better experience than the default to complete from history. As I said: `like bash history-search-backward`