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: fido-vertical bindings Date: Fri, 20 Aug 2021 04:21:25 +0200 Message-ID: <20210820022125.wfq6rluuxe5afofu@Ergus> References: <20210817000745.cpnevwj7anmarue2.ref@Ergus> <20210817000745.cpnevwj7anmarue2@Ergus> <87czqcw9x6.fsf@gmail.com> <20210818122558.cqhspwxrk3fmix4r@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32733"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 20 04:23:10 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 1mGuBa-0008GV-4f for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Aug 2021 04:23:10 +0200 Original-Received: from localhost ([::1]:37816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGuBY-00068w-Mj for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Aug 2021 22:23:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGuAQ-0005Sf-Lf for emacs-devel@gnu.org; Thu, 19 Aug 2021 22:21:58 -0400 Original-Received: from sonic310-15.consmr.mail.bf2.yahoo.com ([74.6.135.125]:41775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGuAO-0001QO-05 for emacs-devel@gnu.org; Thu, 19 Aug 2021 22:21:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1629426113; bh=K3AB+ixZNVUjU3QUgFTfX3J02+/ZWiHTcUvz9nf/uRs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=WHLTke+eHBCAMsyctQJ824CMviWySCpmcqX5rnCEwFcck+nh0QBkRJIDM/wnzkJsylTPdD/CJvIjDC4M3XEBi2X+FO1uI8frgYJUYfasVF1HS6B1SrVqZ84KlRTHYI+Zvr6uGcikLNSwUlZ0AvAe75QL2kykXRQagnFyaGheBRiYQFOb+8si2Ao12B9R3F+Q//SRrC5dAfkYgymMoiDjPsyTMXvLaRDF8bBuzsdN1BFeV4t8dyHtokHhrfvAeWUfhss0iX1iViOeb6vDZfdhhUQ0AEUBDxCp+D0UVTgZYDrsGjgi4GU61daR6hX5JwhHhGypS9ZCLIJwNIjGaDsIrw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1629426113; bh=t1N2Tstza+CkWcikQqqVH3OdF1XClooc3uepaldkeQN=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=Nlrz+DXDGytoiRGq1wIsL0nI35kzFMdWEhtpRgPABz+6Yo2eFCbh9exANIVrXbvEL5ShsPFGBMp+prejdRFvMb/h7/SUSoqrtJOlEMfLeTVtgRDhPKYdZdW5/7NO06Z1GL3B7ZJyhKCqzrUSHlbxWnN3bAGyfRuOl480Ehjc92qgPkSMDDvkgmRGhpmbjaQLUc7U9xCsOf5Wdp35yehMEh4N0GlTq7UEJdfwxJUYe0sCx2sXmpDqi+18TQgNCbVgyz57yxe1gf+shausXWX3cEhkl/AdcDPb7x9aAGCLXw0F/bgz3sOp7C9ra6nvad+hCKuxC/EeFwgm5Y5yeDeSew== X-YMail-OSG: K.q2eNsVM1nhzeMVTvjoNq_XXSfHPO7aE6NRM8h_gF4Hi3dAGEBIRsyPuuQ25j_ wRJ4vDca8dWs5dBI3oDmsfF.lDUkX3N_iZK0DLMomNyYk1zSzrdFOwCfbc.2U5ecHPTs2QFzDmjH mxEvIqS1jWOWq2tZE2WkgvOGjVkH_bhQ68029o2eY631pcW3lST51nt_vyzYqyHmb1BM8tKT8ldO 1JYOnPCVOhqlXWENA40MPaw29ExpxWvrjO5RiYNuFN8TTkkxFkXweUPKrkmzudmDx22fVAPvDWGc clTBEWE97afkM7_4y5ETinli7RkIcZOso6dFgYZXxaa3Fu81O0xxTQ2wNW99cwjn1BH4Pjp.SUTq cgAOicT6LqfZqdhlOjwgJYV2iYpDWCjYLUR1Ni0RXBNFLIWVsEp7VUne1VMM3Fg72eP0Wh2TeVKj d8oWzjIN1G9skmHemfVXOQpCU20stDaItEVfsWTePF_Mpq5_DZAesTIIxVYDl2ehvy7N4GyqC.Fn FtucsGCHeqzAn_WGMni.f2Mz_X4PMJGzGd4uPpLZiG4MkvCXdwQ8MzKXv1RJClF.XY4nNlQpdhdM nGXyiY6ep8aeuCDLHs0vREOOonFBb_BkraYyOuEKgnxSfZ.Sp28Viya0IM1jAejU_Jj2BPT2rh0z RESqIb_PhZzDh1GTjPeROgQ.HE9srVeBHAimoOgsSt5caTSyN5rqe_NgxZYmq5aO8_yQmmh9zatn MrBaIeYuiiTNUO3ror6Xc7Qrx6Da0EN6MQSeVZrHnHgGz2tsS01K4Jy8uAlQneuGg58omnKzBKnf a5l7USAdtcq22u6QLh6TTP2A4uIzte8lJihQ8OqMAl X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Fri, 20 Aug 2021 02:21:53 +0000 Original-Received: by kubenode532.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID eadba032eaedfa8ed6f24e8cfa4c5753; Fri, 20 Aug 2021 02:21:49 +0000 (UTC) Content-Disposition: inline In-Reply-To: <20210818122558.cqhspwxrk3fmix4r@Ergus> X-Mailer: WebService/1.1.18850 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.135.125; envelope-from=spacibba@aol.com; helo=sonic310-15.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:272695 Archived-At: Just a question: Why icomplete-scroll is not a custom? It is not intended to be set by the user? On Wed, Aug 18, 2021 at 02:25:58PM +0200, Ergus wrote: >Perfect!! > >Very thanks Joao. > >On Tue, Aug 17, 2021 at 01:08:37PM +0100, Jo�o T�vora wrote: >>Ergus writes: >> >>>I just tried the new fido-vertical you added. >> >>I added it some time ago, IIRC. What I've done very recently is make it >>enable fido-mode automatically, so that you don't need two foo-mode >>calls to get the desired functionality. So >> >>M-x fido-vertical-mode >> >>is all you need. >> >>>I think there is a small issue very simple to fix. In vertical mode >>>either the right/left arrows and C-n/p may be switched with the actual >>>up/down and maybe C-r C-s... to have a consistent behavior. >> >>I had a tough time understanding what you meant, but now I think I do >>and I just committed the patch after my sig. >> >>If you use fido-vertical-mode, also notice the new goto-first/last stuff >>suggested by Simon Lang in bug#49005. >> >>Jo�o >> >>diff --git a/lisp/icomplete.el b/lisp/icomplete.el >>index 96b7e0f201..81fc6ff03c 100644 >>--- a/lisp/icomplete.el >>+++ b/lisp/icomplete.el >>@@ -624,6 +624,8 @@ icomplete-vertical-mode-minibuffer-map >> (let ((map (make-sparse-keymap))) >> (define-key map (kbd "C-n") 'icomplete-forward-completions) >> (define-key map (kbd "C-p") 'icomplete-backward-completions) >>+ (define-key map (kbd "") 'icomplete-forward-completions) >>+ (define-key map (kbd "") 'icomplete-backward-completions) >> (define-key map (kbd "M-<") 'icomplete-vertical-goto-first) >> (define-key map (kbd "M->") 'icomplete-vertical-goto-last) >> map) >> >> >> >