GNU bug report logs - #49075
(icomplete-vertical-mode 1) not taking effect

Previous Next

Package: emacs;

Reported by: arvid-harnack <at> lavache.com

Date: Thu, 17 Jun 2021 16:02:02 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49075 in the body.
You can then email your comments to 49075 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#49075; Package emacs. (Thu, 17 Jun 2021 16:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to arvid-harnack <at> lavache.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 17 Jun 2021 16:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: arvid-harnack <at> lavache.com
To: bug-gnu-emacs <at> gnu.org
Subject: (icomplete-vertical-mode 1) not taking effect
Date: Thu, 17 Jun 2021 17:46:59 +0200 (CEST)
[Message part 1 (text/plain, inline)]
icomplete provides a convenient way to quickly select an element
among the possible completions in a minibuffer.

It is enabled by calling (icomplete-mode 1)

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.

It is more natural to simply enable the mode by calling
(icomplete-vertical-mode 1), the same way as one enables
icomplete.  Either call (icomplete-mode 1) or
(icomplete-vertical-mode 1) to activate icamplete with the
appropriate style.

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49075; Package emacs. (Sat, 19 Jun 2021 13:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 49075 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: arvid-harnack <at> lavache.com
Cc: 49075 <at> debbugs.gnu.org
Subject: Re: bug#49075: (icomplete-vertical-mode 1) not taking effect
Date: Sat, 19 Jun 2021 15:34:58 +0200
arvid-harnack <at> lavache.com writes:

> 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.

Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 19 Jun 2021 13:36:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 49075 <at> debbugs.gnu.org and arvid-harnack <at> lavache.com Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 19 Jun 2021 13:36:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49075; Package emacs. (Sat, 19 Jun 2021 13:56:01 GMT) Full text and rfc822 format available.

Message #15 received at 49075 <at> debbugs.gnu.org (full text, mbox):

From: arvid-harnack <at> lavache.com
To: "Lars Ingebrigtsen" <larsi <at> gnus.org>
Cc: 49075 <at> debbugs.gnu.org
Subject: bug#49075: (icomplete-vertical-mode 1) not taking effect
Date: Sat, 19 Jun 2021 15:55:08 +0200 (CEST)
[Message part 1 (text/plain, inline)]
The argument is that the design is wrong.

Either icomplete-vertical-mode is a regular user option or icomplete-vertical-mode
should enable icomplete-mode too.

Many people would second this

Sincerely




From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: arvid-harnack <at> lavache.com
Subject: bug#49075: (icomplete-vertical-mode 1) not taking effect
Date: 19/06/2021 15:34:58 Europe/Paris
Cc: 49075 <at> debbugs.gnu.org

arvid-harnack <at> lavache.com writes:

> 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.

Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no




[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49075; Package emacs. (Sat, 19 Jun 2021 23:14:02 GMT) Full text and rfc822 format available.

Message #18 received at 49075 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: arvid-harnack <at> lavache.com
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 49075 <at> debbugs.gnu.org
Subject: Re: bug#49075: (icomplete-vertical-mode 1) not taking effect
Date: Sun, 20 Jun 2021 02:02:17 +0300
>>     > 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-vertical-mode
> should enable icomplete-mode too.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49075; Package emacs. (Sat, 19 Jun 2021 23:27:02 GMT) Full text and rfc822 format available.

Message #21 received at 49075 <at> debbugs.gnu.org (full text, mbox):

From: arvid-harnack <at> lavache.com
To: "Juri Linkov" <juri <at> linkov.net>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 49075 <at> debbugs.gnu.org
Subject: bug#49075: (icomplete-vertical-mode 1) not taking effect
Date: Sun, 20 Jun 2021 01:26:08 +0200 (CEST)
[Message part 1 (text/plain, inline)]
From: Juri Linkov <juri <at> linkov.net>
To: arvid-harnack <at> 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 <at> gnus.org>;
   49075 <at> 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-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.   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)    

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 <at> linkov.net>
To: arvid-harnack <at> 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 <at> gnus.org>;
   49075 <at> 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-vertical-mode
> should enable icomplete-mode too.

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




[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 18 Jul 2021 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.