From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: arvid-harnack@lavache.com Newsgroups: gmane.emacs.bugs Subject: bug#49075: (icomplete-vertical-mode 1) not taking effect Date: Sun, 20 Jun 2021 01:26:08 +0200 (CEST) Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_60ce7d10_3f40_1eda37da" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17715"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 49075@debbugs.gnu.org To: "Juri Linkov" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 20 01:27: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 1lukMp-0004Pz-A1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Jun 2021 01:27:11 +0200 Original-Received: from localhost ([::1]:35816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lukMn-0001ea-MC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Jun 2021 19:27:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lukMh-0001eM-0H for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2021 19:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49418) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lukMg-0001Kv-Kx for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2021 19:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lukMg-0001qC-G5 for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2021 19:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: arvid-harnack@lavache.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Jun 2021 23:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49075 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 49075-submit@debbugs.gnu.org id=B49075.16241451827030 (code B ref 49075); Sat, 19 Jun 2021 23:27:02 +0000 Original-Received: (at 49075) by debbugs.gnu.org; 19 Jun 2021 23:26:22 +0000 Original-Received: from localhost ([127.0.0.1]:60964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lukM1-0001pK-JG for submit@debbugs.gnu.org; Sat, 19 Jun 2021 19:26:22 -0400 Original-Received: from msg-2.mailo.com ([213.182.54.12]:45738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lukLz-0001p6-Dq for 49075@debbugs.gnu.org; Sat, 19 Jun 2021 19:26:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lavache.com; s=mailo; t=1624145168; bh=MWYJPZVWBUFLGYNTZ2CIaJy7KLu5ClihUFEXyZKPdVg=; h=X-EA-Auth:From:To:Cc:Date:Subject:MIME-Version:X-Mailer: Message-ID:In-Reply-To:Content-Type; b=fbsg2gG5LMvg3wRYY1bhZ+WQURr/lhnpMM386cL5E0JF8f3wVvsHY0iEkRjCFCUbR pifpcwJGBaBuGg+tvLtnxL4bU4GU5r4XKE7RvFNHBx2RnvJA+t8irIkh6ifLTdA68i BVJjAdbbXIN62MJnHogFjivsRcaq1NzJSyUTCbZg= Original-Received: by www-8.mailo.com with http webmail; Sun, 20 Jun 2021 01:26:08 +0200 (CEST) X-EA-Auth: 9W7MSDHxINPZHXdjVzb+/1UuLuC7Hj189Pl/TMwLWnpp/rD+qh2UgVjfG7eRSh7cSgXwpvHHfr6m03C0NrHWiTvN8WwRvQ0i X-Priority: 3 X-Mailer: COMS/EA21.01/r20210601 In-Reply-To: <871r8x7afj.fsf@mail.linkov.net> 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:208777 Archived-At: ------=_NextPart_001_60ce7d10_3f40_1eda37da Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: Juri Linkov To: arvid-harnack@lavache.com Subject: bug#49075: (icomplete-vertical-mode 1) not taking effect Date: 20/06/2021 01:02:17 Europe/Paris Cc: Lars Ingebrigtsen ; =C2=A0=C2=A0=C2=A049075@debbugs.gnu.org >>> > Recently, icomplete-vertical-mode was added. But calling >>> > (icomplete-vertical-mode 1) does not enable vertical completion, >>> > unless one has called (icomplete-mode 1) first. >>> >>> I think that works as designed -- as the doc string says: >>> >>> "Toggle vertical candidate display in `icomplete-mode' or `fido-mode'.= " >>> >>> So the mode can't just switch on icomplete-mode by itself, because it >>> works two different modes. >> >> Either icomplete-vertical-mode is a regular user option or icomplete-ve= rtical-mode >> should enable icomplete-mode too. >This will require adding separate `fido-vertical-mode'. I have put forward an alternative plan -------- Currently (icomplete-mode 1) is necessary. =C2=A0 And (icomplete-vertical-= mode 1) is relatively new. Emacs could ditch (icomplete-vertical-mode 1). Instead, have a variable one can set (such functionality is already being = done for completion-style). Users can just put=20 (icomplete-mode 1) (setq icomplete-vertical 1) -------- To disable, one could use=20 (setq icomplete-vertical 0)=C2=A0=C2=A0=C2=A0=20 Moreover one can use negative numbers (setq icomplete-vertical -1)=20 -------- To disable icomplete totally, use (icomplete-mode 0) -------- In summary there shall be no=20 (icomplete-vertical-mode 1)=20 or=20 (icomplete-vertical-mode 0)=20 -------- From: Juri Linkov To: arvid-harnack@lavache.com Subject: bug#49075: (icomplete-vertical-mode 1) not taking effect Date: 20/06/2021 01:02:17 Europe/Paris Cc: Lars Ingebrigtsen ; =C2=A0=C2=A0=C2=A049075@debbugs.gnu.org >> > Recently, icomplete-vertical-mode was added. But calling >> > (icomplete-vertical-mode 1) does not enable vertical completion, >> > unless one has called (icomplete-mode 1) first. >> >> I think that works as designed -- as the doc string says: >> >> "Toggle vertical candidate display in `icomplete-mode' or `fido-mode'." >> >> So the mode can't just switch on icomplete-mode by itself, because it >> works two different modes. > > Either icomplete-vertical-mode is a regular user option or icomplete-ver= tical-mode > should enable icomplete-mode too. This will require adding separate `fido-vertical-mode'. ------=_NextPart_001_60ce7d10_3f40_1eda37da Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From: Juri Linkov <juri@linkov.net>
To: arvid-harnack@lavache.com
Subject: bug#49075: (icomplete-vertical-mode 1) not taking effect
Date: 20/06/2021 01:02:17 Europe/Paris
Cc: Lars Ingebrigtsen <larsi@gnus.org>;
=C2=A0=C2=A0=C2=A049075@debbugs.gnu.org

>>> > Recently, icomplete-vertical-mode was added. But cal= ling
>>> > (icomplete-vertical-mode 1) does not enable vertical= completion,
>>> > unless one has called (icomplete-mode 1) first.
>>>
>>> I think that works as designed -- as the doc string says:=
>>>
>>> "Toggle vertical candidate display in `icomplete-mod= e' or `fido-mode'."
>>>
>>> So the mode can't just switch on icomplete-mode by itself= , because it
>>> works two different modes.
>>
>> Either icomplete-vertical-mode is a regular user option or icompl= ete-vertical-mode
>> should enable icomplete-mode too.

>This will require adding separate `fido-vertical-mode'.

=

I have put forward an alternative plan

--------

Currently (icomplete-mode 1) is necessary. =C2= =A0 And (icomplete-vertical-mode 1) is relatively new.
Emacs could ditch (icomplete-vertical-mode 1).

Instead, have a variable one can set (such functionality is already being = done for completion-style).

Users can just put

(icomplete-mode 1)
(setq icomplete-vertical 1)

--------

To disable, one could use
(setq icomplete-vertical 0)=C2=A0=C2=A0=C2=A0

Moreover one can use negative numbers
(setq icomplete-vertical -1)

--------

To disable icomplete totally, use
(icomplete-mode 0)

--------

In summary there shall be no

(icomplete-vertical-mode 1)

or

(icomplete-vertical-mode 0)

--------


From: Juri Linkov <juri@linkov.net>=
To: arvid-harnack@lavache.com
Subject: bug#49075: (icomplete-vertical-mode 1) not taking effect
Date: 20/06/2021 01:02:17 Europe/Paris
Cc: Lars Ingebrigtsen <larsi@gnus.org>;
=C2=A0=C2=A0=C2=A049075@debbugs.gnu.org

>> > Recently, icomplete-vertical-mode was added. But calling=
>> > (icomplete-vertical-mode 1) does not enable vertical com= pletion,
>> > unless one has called (icomplete-mode 1) first.
>>
>> I think that works as designed -- as the doc string says:
= >>
>> "Toggle vertical candidate display in `icomplete-mode' o= r `fido-mode'."
>>
>> So the mode can't just switch on icomplete-mode by itself, be= cause it
>> works two different modes.
>
> Either icomplete-vertical-mode is a regular user option or icomplete-= vertical-mode
> should enable icomplete-mode too.

This will require adding separate `fido-vertical-mode'.



------=_NextPart_001_60ce7d10_3f40_1eda37da--