From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#61943: 29.0.60; icomplete--in-region-setup should activate icomplete-fido-mode-map too Date: Fri, 03 Mar 2023 19:13:04 -0700 Message-ID: <87lekds1qn.fsf@melete.silentflame.com> References: <87o7p9u29j.fsf@melete.silentflame.com> 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="19662"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , 61943@debbugs.gnu.org, juri@linkov.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 04 03:14:19 2023 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 1pYHPe-0004sE-1G for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Mar 2023 03:14:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYHPP-0000ce-Lv; Fri, 03 Mar 2023 21:14:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYHPO-0000cH-Ko for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 21:14:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYHPO-0006QP-AP for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 21:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYHPN-0008Qd-Rc for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 21:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2023 02:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61943 X-GNU-PR-Package: emacs Original-Received: via spool by 61943-submit@debbugs.gnu.org id=B61943.167789599432338 (code B ref 61943); Sat, 04 Mar 2023 02:14:01 +0000 Original-Received: (at 61943) by debbugs.gnu.org; 4 Mar 2023 02:13:14 +0000 Original-Received: from localhost ([127.0.0.1]:34347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYHOb-0008PV-Uh for submit@debbugs.gnu.org; Fri, 03 Mar 2023 21:13:14 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:55539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYHOZ-0008PH-9K for 61943@debbugs.gnu.org; Fri, 03 Mar 2023 21:13:12 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id EDE3C5C00C4; Fri, 3 Mar 2023 21:13:05 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 03 Mar 2023 21:13:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1677895985; x=1677982385; bh=WNNPJ6enFCQLenSroHnGbI+bxdaD6PJjyYD zJx138BE=; b=sVuvrEquP0/95FpcGtK6fQ/DNcvudCkO6d07MrDgnv2drw+s7PG ++Mpp/w2QyeQ3WvFTEi+jsq2LalwheQZFgMrXB0PrTS6iyrC7o8/GnxkfkVr4Y+j hMqnWY3jyD3YvHILqNodY4ltVxVWyNbkrknYCKt+yMJVuq1bAgO5lRvqoEE5gjHk Gns+6WAVJMMJO1MokcT3Fq/y6+ikRdg1wioVqlWgHY11IKCUYBCerm+Nrv1n8Vt9 OUbdxpjSIKM+cNJQSe8qBniPyL5GpL3WpMcL6Wz+af8DzOuvBFUoSxjVTig5NIn2 K8fpKLIOa0rhlpATFD4K8Renv7oJYaRXHGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1677895985; x= 1677982385; bh=WNNPJ6enFCQLenSroHnGbI+bxdaD6PJjyYDzJx138BE=; b=J D+aMBOCFXhPMMku2aJZhhWeNZd+GVkONNXZSO9n+09+2bpmAkFlu5tKGuLP22xmj mKem0MbEvpF2jxKrG92CjWfEeGbAgQqeKA00fkF/dOTg644qcfvSwlreqS4tcq6n g1wek0Hi8g7b/lsn3MmLKrUwgkbVI1b7E32Rk7qMTOVR/HQ5VYbceVULZ6peTjop MnFa1TJ1onTjxxIMI60da39GeDwpJyLKtqfDgak98+urphq51acxfKiqvOwDJYo8 MgkrWthM/72BO7bkokicei5Zsru10fmnbfOa5hLiKdAQHuaY21MC+MSaUCz1DC3I AkLIiEnItXDMXZBFhg2PQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddttddggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfgfgggtgfesthhqtddttderjeenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpedugfehledtgfegkedvudetheffvddvfeegveduleehhefg geehhffhveekteejfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Mar 2023 21:13:05 -0500 (EST) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id B13567E3C80; Fri, 3 Mar 2023 19:13:04 -0700 (MST) In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Fri, 3 Mar 2023 20:26:14 +0000") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257247 Archived-At: Hello, On Fri 03 Mar 2023 at 08:26PM GMT, Jo=C3=A3o T=C3=A1vora wrote: > I imagined it would show the typical constantly-adjusting > fido-mode/icomplete list of candidates in the echo area, but it > doesn't, only for in-buffer instead of minibuffer. > Instead, it seems to popup *Completions* as usual. > > Am I being dense here? How do you set it up? Is it just > (setq icomplete-in-buffer t) + M-x fido-mode as I did? > And how do you invoke it? Is it C-M-i? Well, the candidates are meant to appear as an overlay after point, not in the minibuffer. However, there's something strange going on in that sometimes you can get the candidates display in-buffer but *also* the *Completions* buffer popping up. Sometimes this happens and sometimes it doesn't, I haven't figured out the pattern yet ... >> I am a fido-mode user. I noticed that my custom bindings for the >> fido-mode minibuffer don't work for in-buffer completion. I think that >> icomplete--in-region-setup should compose in icomplete-fido-mode-map, in >> addition to icomplete-minibuffer-map, in the case that fido-mode is on? > > This probably makes sense, but please, for my benefit, try to show > a minimal config with just Emacs -Q and your keybindings that > you want to use in both fido modes. Sure, e.g. evaluating these forms in emacs -Q: (setq icomplete-in-buffer t) (fido-mode 1) (define-key icomplete-fido-mode-map [?\M-.] #'icomplete-forward-completions) (define-key icomplete-fido-mode-map [?\M-,] #'icomplete-backward-completion= s) .. then do something like typing "icomplete- into *scratch* and then C-M-i. --=20 Sean Whitton