From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simon Lang Newsgroups: gmane.emacs.bugs Subject: bug#49005: 28.0.50; Not possible to jump to first or last completions entry in fido-vertical-mode Date: Thu, 1 Jul 2021 09:16:11 +0100 Message-ID: References: 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="34599"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "49005@debbugs.gnu.org" <49005@debbugs.gnu.org> To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 01 10:17:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lyrsj-0008n4-Vu for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Jul 2021 10:17:10 +0200 Original-Received: from localhost ([::1]:55074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyrsi-00041g-RJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Jul 2021 04:17:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyrsb-00041A-Ut for bug-gnu-emacs@gnu.org; Thu, 01 Jul 2021 04:17:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyrsb-0000s9-NH for bug-gnu-emacs@gnu.org; Thu, 01 Jul 2021 04:17:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyrsb-0001UH-K6 for bug-gnu-emacs@gnu.org; Thu, 01 Jul 2021 04:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Lang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Jul 2021 08:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49005 X-GNU-PR-Package: emacs Original-Received: via spool by 49005-submit@debbugs.gnu.org id=B49005.16251273845670 (code B ref 49005); Thu, 01 Jul 2021 08:17:01 +0000 Original-Received: (at 49005) by debbugs.gnu.org; 1 Jul 2021 08:16:24 +0000 Original-Received: from localhost ([127.0.0.1]:59496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyrs0-0001TO-BS for submit@debbugs.gnu.org; Thu, 01 Jul 2021 04:16:24 -0400 Original-Received: from mail-oln040092075104.outbound.protection.outlook.com ([40.92.75.104]:61703 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyrrw-0001T6-LY for 49005@debbugs.gnu.org; Thu, 01 Jul 2021 04:16:22 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n+w6zYGKRfwj/zmFpnRIoG3AoF9vXbqbd/MzF5dXPWW3ogfdtHj+oQgOqeum/wD9zXydjMPFhpO4a8UKAyBSgv2dw09RiyKTtXqBw2H2CSQS1iBAbcduJ/NyvEU1COwTy7h2jYehJt+Xt34o4HEDKyAH3cSldm57zdhj8pTdIa2nkBCrxkLUB+H26sgbuYYZegsBV6RZ+Fv7BtlOLOQoaTbu6hkxeCzDOdI5hSSxEtdkK3wWt4RW455ivshSjBCto3ad/ZCYvywHISRFq+WWQ8FuDlQVLvSdEFMjgTTHdn1imz451/yGL1xscpvDP1YJSKEs5W81dV9V6zBWptngsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6V7ZVHW87oHy4y1t2jBeo8oWXwHJCDDmJVHm4ZpkiVw=; b=jGNwZ09U8KjbIONiYNzj3VyHAbuoKF+qtEciC5kTKsklbcYRxTCvk8tRSgRMQ6MeI8zoI01R5Kolgwf0pRqOiDjsYC+Fm6FypLdo5opduzntSP2BriQntnSsxzwLYPw7FT1t8ZngByfulJWw+DiPgGMeK+3cllD8zNQVozEWiXSagadLIQGDsE2D7lAskZ17cpKIY6ca0P7MMKF5O5uSKRhz2ZQEbDlIJmFpPs+bIlyQXp/7W0IMDSsjGO0QUw+oe8DdnuGTboToshQ7nPV6eVqFeTwLoDl/QeDXTkn1s8SvuRjepjbQJzPr2IFsqygnMHRh6xumhPFFpD429q0MhQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6V7ZVHW87oHy4y1t2jBeo8oWXwHJCDDmJVHm4ZpkiVw=; b=IILFAPdBhpVIVm+WpH+/Ea+2MSnqUSp9OUWVTb1n/BtROjKrnd4i9v/vdwB+Gh+2aeduv0Q5mhD/uYgTTqU+GGnQR0p+rFNEEcSA+9j4+n6fLPWra5Qd5y4jaP8JHIla5XrlyPQnnmCUAGiHxPz/X2h366Dezg0WK3dopO5PmB7vqy+ptZEiPH/f9UuVqA81dqRZUD9+SlOL7VdHMXc8qk7n0bW7L5VhmUUdMiKHN4RhzpILu7jy2ROCBdOtlRBAuPWNgc5ksPKgjHDEgsWps3sCqU0VcbHS8P4SkApB809ZzKkvri2QVGQGsdAthANvw9MX525ZRyHMBXBp0hgKOg== Original-Received: from DBAPR06MB7045.eurprd06.prod.outlook.com (20.181.184.20) by DBAPR06MB7096.eurprd06.prod.outlook.com (20.181.187.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.23; Thu, 1 Jul 2021 08:16:13 +0000 Original-Received: from DBAPR06MB7045.eurprd06.prod.outlook.com ([fe80::2d71:41d9:f32:6cba]) by DBAPR06MB7045.eurprd06.prod.outlook.com ([fe80::2d71:41d9:f32:6cba%6]) with mapi id 15.20.4287.023; Thu, 1 Jul 2021 08:16:13 +0000 In-Reply-To: X-Mailer: Apple Mail (2.3654.100.0.2.22) X-TMN: [jBKqFqGuGTpMObJegIuoy6aI+OesvTHWRORTLIFvb/d98AKq7kQ9t2mvbfX8VH/ZNvdgydhh6UA=] X-ClientProxiedBy: LNXP265CA0002.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::14) To DBAPR06MB7045.eurprd06.prod.outlook.com (2603:10a6:10:1a0::20) X-Microsoft-Original-Message-ID: X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from smtpclient.apple (2a00:23c5:9b83:1501:a8f9:ceef:9d7e:6913) by LNXP265CA0002.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22 via Frontend Transport; Thu, 1 Jul 2021 08:16:12 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0391f7f0-a756-4089-5e4c-08d93c687d86 X-MS-TrafficTypeDiagnostic: DBAPR06MB7096: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZW0AbOZg+IEEPIcGd6ZxqZfo1GeA7FoSv5JcvQAHvFJHkrbac70zZja/FGeYuX/TkuRd6PVU23KKAygSaXjNWUTfpJm2yCARgY4Ed0JmlSvMv14VX2EKDf00xwVmxq/R5wrERJHdpYxqglSXOp8so3apIBmy/LfSJHpilqDpLwRYbZn3tJbiFN/9a7EbZu1jmBPuJcU9P97dgcJAGyjg3eafMIfDueSFbCnwsf/I1w2odorwHyMHPGlD2yjRgHByuDvzwvdyB8pTTAn3sc2wt9OlWiDYp5QxQhqngR2T+r72MqCc4dNs9nm2OZq3VHEQcCDzKrPujUxWb5gRCLtXWtFjj9I7HWQ2dg/Wkp1CGmKmowOE2f5U8fvm4vwq8VS5ElIRmYHiPzlvVzU24jyabW97l0GGoE9AtfY1QWba6xHldWs3FJBWnO4xbZ7ya9zy X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mnXhfzYJXHYliEsXNjubbGQUvjrU5Q+vwVqKjTuImLcKvmF0qxgEWBxayjm/KoF9w51wPMxPVQJH7a7/MRFOm6/4gNzu+sN8Fi8ijadkoarygAT6S8voVmoDMgq4E4kzKafPi6HaYaqm0YmO6toqZbN9hsUpb69irLDfnNJYR2t6SvD1ZJiT31iBaRb8aOnW7m8f6KM3ej18LsrxQ2PJVw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0391f7f0-a756-4089-5e4c-08d93c687d86 X-MS-Exchange-CrossTenant-AuthSource: DBAPR06MB7045.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2021 08:16:13.3254 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR06MB7096 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209247 Archived-At: will do! > On 30 Jun 2021, at 21:08, Jo=C3=A3o T=C3=A1vora wr= ote: >=20 > No, no, makes a lot of sense. I just haven't looked at your code > yet in depth. >=20 > Your implementation seems to repeat some logic, and I'd rather > reuse paging code, so maybe you can work on that: reducing code > duplication. But as soon as I have time I'll look at this and offer some > suggestions. >=20 > Sorry for the delay, and keep bumping this if I forget. >=20 > Jo=C3=A3o >=20 > On Wed, Jun 30, 2021 at 8:27 PM Simon Lang wrote= : >>=20 >> doesn=E2=80=99t make sense? >>=20 >>> On 13 Jun 2021, at 16:27, Simon Lang wrote: >>>=20 >>>=20 >>> In the brand new fido-vertical mode, completions are not cycled in cont= rast to icomplete-vertical-mode. >>> There is not yet a function to jump to the first or last completions en= try, which sometimes can be helpful. >>> This patch would proposes two simple helper functions for doing that. >>>=20 >>> Thank you! >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>> In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.5.0, NS appkit-202= 2.50 Version 11.4 (Build 20F71)) >>> of 2021-06-06 built on Zwei.local >>> Windowing system distributor 'Apple', version 10.3.2022 >>> System Description: macOS 11.4 >>>=20 >>> Configured using: >>> 'configure --disable-dependency-tracking --disable-silent-rules >>> --enable-locallisppath=3D/usr/local/share/emacs/site-lisp >>> --infodir=3D/usr/local/Cellar/emacs-plus@28/28.0.50/share/info/emacs >>> --prefix=3D/usr/local/Cellar/emacs-plus@28/28.0.50 --with-xml2 >>> --with-gnutls --with-native-compilation --without-dbus >>> --with-imagemagick --with-modules --with-rsvg --with-ns >>> --disable-ns-self-contained 'CFLAGS=3D-I/usr/local/opt/gcc/include >>> -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include >>> -I/usr/local/opt/jpeg/include' 'LDFLAGS=3D-L/usr/local/lib/gcc/11 >>> -I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include >>> -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include'' >>>=20 >>> Configured features: >>> ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES >>> NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF >>> TOOLKIT_SCROLL_BARS XIM ZLIB >>>=20 >>> Important settings: >>> value of $LANG: en_GB.UTF-8 >>> locale-coding-system: utf-8-unix >>>=20 >>> Major mode: Lisp Interaction >>>=20 >>> Minor modes in effect: >>> tooltip-mode: t >>> global-eldoc-mode: t >>> eldoc-mode: t >>> electric-indent-mode: t >>> mouse-wheel-mode: t >>> tool-bar-mode: t >>> menu-bar-mode: t >>> file-name-shadow-mode: t >>> global-font-lock-mode: t >>> font-lock-mode: t >>> blink-cursor-mode: t >>> auto-composition-mode: t >>> auto-encryption-mode: t >>> auto-compression-mode: t >>> line-number-mode: t >>> transient-mark-mode: t >>>=20 >>> Load-path shadows: >>> None found. >>>=20 >>> Features: >>> (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs >>> rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail >>> rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs >>> eieio-loaddefs password-cache json map text-property-search time-date >>> subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies >>> mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddef= s >>> cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-util= s >>> iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks >>> lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util >>> term/common-win tool-bar dnd fontset image regexp-opt fringe >>> tabulated-list replace newcomment text-mode elisp-mode lisp-mode >>> prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu >>> timer select scroll-bar mouse jit-lock font-lock syntax font-core >>> term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang >>> misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms >>> cp51932 hebrew greek romanian slovak czech european ethiopic indian >>> cyrillic chinese composite charscript charprop case-table epa-hook >>> jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button >>> loaddefs faces cus-face macroexp files window text-properties overlay >>> sha1 md5 base64 format env code-pages mule custom widget >>> hashtable-print-readable backquote threads kqueue cocoa ns lcms2 >>> multi-tty make-network-process native-compile emacs) >>>=20 >>> Memory information: >>> ((conses 16 67367 8465) >>> (symbols 48 6527 0) >>> (strings 32 18695 2230) >>> (string-bytes 1 645512) >>> (vectors 16 13390) >>> (vector-slots 8 280721 11188) >>> (floats 8 22 39) >>> (intervals 56 226 0) >>> (buffers 992 10)) >>>=20 >>> <0001-icomplete-vertical-functions-to-go-to-first-or-last-.patch> >>=20 >=20 >=20 > --=20 > Jo=C3=A3o T=C3=A1vora