From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#51575: 28.0.60; Many issues with icomplete-in-buffer Date: Tue, 2 Nov 2021 19:41:06 -0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19580"; mail-complaints-to="usenet@ciao.gmane.io" To: 51575@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 02 23:42:13 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 1mi2Tt-0004vM-3Y for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Nov 2021 23:42:13 +0100 Original-Received: from localhost ([::1]:33834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mi2Ts-0007wj-56 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Nov 2021 18:42:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mi2Ti-0007wb-Mf for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2021 18:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54971) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mi2Ti-00045c-By for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2021 18:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mi2Ti-0005oV-8P for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2021 18:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Nov 2021 22:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51575 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163589288822305 (code B ref -1); Tue, 02 Nov 2021 22:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Nov 2021 22:41:28 +0000 Original-Received: from localhost ([127.0.0.1]:38284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mi2T9-0005ng-Rk for submit@debbugs.gnu.org; Tue, 02 Nov 2021 18:41:28 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mi2T7-0005nU-Kw for submit@debbugs.gnu.org; Tue, 02 Nov 2021 18:41:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mi2T7-0007v9-Ec for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2021 18:41:25 -0400 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:45719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mi2T5-00041i-Cr for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2021 18:41:25 -0400 Original-Received: by mail-wm1-x32d.google.com with SMTP id g191-20020a1c9dc8000000b0032fbf912885so468062wme.4 for ; Tue, 02 Nov 2021 15:41:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=ZY0I2wWmCslrXPWeh15KJg0pg2OchoGK5nxIhcL+AfY=; b=HerQRmTprXPtNCbeOFK/ujuQbTeK36BDD86f1Q9Fdz3Brj4uiNQ/j82VHZFePsBaOT O/1LIjTHqqxHNzmEjCxLGQwtSbIHa4TRL52U5v0yPEf7fyX7GfEfecCqe35sxdg0zmh3 AjyszNRpH6xzXSvJOqERqNBXvIdXrP9AQgR02UpOhu02EhqVtzxEwYk9eXk/SKe2wWAO COfE9NkCfm1Vsuagdg9EVB62X/XKZY1Vf9FuCChZs6/X4z3GBD+Q0CKyPZrMDxX4UoGI b5p2O+8vgyv+1XXu9igk5Ap8dnVu41JKXo54Ew27V07iqJ9ctuhSA1VlkfWb3IaKmux3 SAnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZY0I2wWmCslrXPWeh15KJg0pg2OchoGK5nxIhcL+AfY=; b=5enfITYbmm3l9rrNwhwKaEJXSCC1Kx0rqs/FhM19+fj18hH7ZjnqRcbcJFzrqqFnd9 oZ8EOEMF6/68ILRywt2VsRFDySHTVqg6dlqmuqpgglSWTEu6IK99EDOOh0hSLGPuJGud h4HbFgI7V6q6OUzQoUq9rXD4eM4Pf14zNsEmOIz+/VTzWbgCaADWOZUCmpSiQZbLGctl gum4MwPaXMVSl4TxVmUuQLk4ACHoc4x8s8zLM/TbuYROPZPYVlH3y20OIRBUB2Y5hL93 vQZrYUWfTmPxcSYB7kUlyoozhFEnwhHf7zvi9ZuU/K0EhJphTVOlzu+3EOqy8TgP86QK j8Mg== X-Gm-Message-State: AOAM531umLduR6tlfoTWR14+gpinkCWNROt+oZ5cKJxdzRfl7WKNEI9P Zjp/Yb9SQBHHH2bYVRCBgGsnru6V5ZDjLcTYez7bw9AITyU= X-Google-Smtp-Source: ABdhPJy+8CnEx3yhvk7L2RS1N+Z95KcJs+3KIHMOAX/of0yIRFkX/zGZ0O82nVtpIRn8ZWQm3snYWGDkwopOzl6PS5Y= X-Received: by 2002:a1c:9a4f:: with SMTP id c76mr10301372wme.162.1635892880680; Tue, 02 Nov 2021 15:41:20 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=carlosjosepita@gmail.com; helo=mail-wm1-x32d.google.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:218836 Archived-At: Hi all, I would like to use fido-mode in completion in-region / at-point contexts. I realized there is a icomplete-in-buffer flag that is intended to do that, at least for icomplete. So I started emacs with: (setq icomplete-in-buffer t) (icomplete-mode 1) But the behavior is erratic to say the best. Say I'm in *scratch* and want to autocomplete some symbol: 1. Doing M- once shows the icomplete menu, doing it again replaces the *entire* buffer contents with just the selection. 2. Sometimes only the icomplete menu is shown, sometimes the traditional *Completions* buffer is shown at the same time. 3. Pressing Enter doesn't select the candidate but inserts Enter. 4. If I enable fido-mode it disables and re-enables icomplete-mode but leaves the icomplete completion-in-region-mode-hook uninstalled, disregarding icomplete-in-buffer. Maybe this is a legacy option that should be made obsolete, but it's a pity that vanilla emacs provides so many alternatives for completing-read but none for completion-at-point. The current implementation wants to show the menu at point, this probably makes it more complex, but simply showing the standard minibuffer icomplete interface at the bottom would be a lot (like for example selectrum does). Best regards -- Carlos In GNU Emacs 28.0.60 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.6 (Build 20G165)) of 2021-11-02 built on Carloss-MacBook-Pro.local Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.6 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus@28/28.0.50/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus@28/28.0.50 --with-xml2 --with-gnutls --without-dbus --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained' Configured features: ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM ZLIB Important settings: value of $LC_ALL: en_AR.UTF-8 value of $LC_CTYPE: UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: icomplete-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-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 indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode vc-dispatcher icomplete info easy-mmode package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 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 emoji-zwj 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 emacs) Memory information: ((conses 16 68619 7911) (symbols 48 8282 1) (strings 32 25724 1866) (string-bytes 1 825669) (vectors 16 16218) (vector-slots 8 218902 10078) (floats 8 30 29) (intervals 56 347 450) (buffers 992 13))