all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Ergus <spacibba@aol.com>
Cc: arvid-harnack@lavache.com, help-gnu-emacs@gnu.org, moasenwood@zoho.eu
Subject: Re: icomplete-vertical-mode not taking effect
Date: Sun, 20 Jun 2021 14:21:12 +0300	[thread overview]
Message-ID: <YM8kqE4aBMBouJ1B@protected.localdomain> (raw)
In-Reply-To: <20210618115437.nzlm63ugly7q5t3j@Ergus>

* Ergus <spacibba@aol.com> [2021-06-18 14:55]:
> 
> > > Have found that calling (icomplete-vertical-mode 1) without
> > > first calling (icomplete-mode 1), does not enable (icomplete-vertical-mode 1).
> 
> Yes, this is intended. icomplete-vertical-mode is a submode of
> icomplete.

Now we know it is not only related to `icomplete' it is also related
to `fido-mode'.

Additionally the documentation is not clear that it works only within
`icomplete-mode' or `fido-mode'

> icomplete-vertical-mode is an autoloaded interactive Lisp closure in
> ‘icomplete.el’.

> (icomplete-vertical-mode &optional ARG)

>   Probably introduced at or before Emacs version 28.1.

> Toggle vertical candidate display in ‘icomplete-mode’ or
> ‘fido-mode’.

The above does not tell me clearly that I have to first enable one of
those modes for `icomplete-vertical-mode' to work. This may be clear
to person writing it, I don't feel it is enough for users.

> If called interactively, toggle ‘Icomplete-Vertical mode’.  If
> the prefix argument is positive, enable the mode, and if it is
> zero or negative, disable the mode.

The above even further establishes the fact that this function can be
or could be called alone to toggle it. 

> If called from Lisp, toggle the mode if ARG is ‘toggle’.  Enable
> the mode if ARG is nil, omitted, or is a positive number.
> Disable the mode if ARG is a negative number.

The above again establishes more information how it would work alone
without dependencies.

Maybe documentation shall be improved to tell that one has to call
first one or the other mode and that `icomplete-vertical-mode'
functions only under one of those two.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



  parent reply	other threads:[~2021-06-20 11:21 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16 21:42 icomplete-vertical-mode not taking effect arvid-harnack
2021-06-16 23:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-17 13:40   ` arvid-harnack
2021-06-18 11:54     ` Ergus
2021-06-18 16:52       ` arvid-harnack
2021-06-18 18:26         ` Jean Louis
2021-06-18 18:36           ` arvid-harnack
2021-06-18 18:45             ` Jean Louis
2021-06-18 19:01               ` arvid-harnack
2021-06-18 19:07                 ` tomas
2021-06-18 19:51                   ` arvid-harnack
2021-06-18 21:24                     ` Philip Kaludercic
2021-06-18 21:58                       ` arvid-harnack
2021-06-19 16:31                       ` arvid-harnack
2021-06-19 16:43                         ` Jean Louis
2021-06-19 17:08                           ` arvid-harnack
2021-06-19 17:22                             ` Jean Louis
2021-06-19 17:34                               ` arvid-harnack
2021-06-19 18:33                                 ` Eli Zaretskii
2021-06-19 18:03                               ` arvid-harnack
2021-06-19 21:24                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-19 23:04                               ` arvid-harnack
2021-06-20  6:37                                 ` Jean Louis
2021-06-19 21:23                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-19 21:28                             ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-06-20  6:08                             ` Jean Louis
2021-06-20  6:27                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-18 19:09                 ` Jean Louis
2021-06-18 21:16         ` Philip Kaludercic
2021-06-19 17:04         ` 2QdxY4RzWzUUiLuE
2021-06-19 17:28           ` arvid-harnack
2021-06-19 18:32             ` Eli Zaretskii
2021-06-19 19:03               ` arvid-harnack
2021-06-19 19:09                 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-06-19 19:47                   ` tomas
2021-06-19 21:28                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-19 22:51                     ` arvid-harnack
2021-06-20  6:51                     ` Eli Zaretskii
2021-06-19 19:26                 ` Yuri Khan
2021-06-19 19:38                   ` arvid-harnack
2021-06-20 10:44                   ` Philip Kaludercic
2021-06-20 11:03                     ` Jean Louis
2021-06-20 11:20                       ` arvid-harnack
2021-06-20 11:30                         ` Jean Louis
2021-06-20 11:47                           ` arvid-harnack
2021-06-20 11:21       ` Jean Louis [this message]
2021-06-20 11:34         ` arvid-harnack
2021-06-20 11:46           ` Jean Louis
2021-06-20 15:27             ` arvid-harnack
2021-06-20 15:44               ` 2QdxY4RzWzUUiLuE
2021-06-20 16:02                 ` arvid-harnack
2021-06-20 16:07                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-20 20:23                     ` arvid-harnack
2021-06-20 19:43               ` Jean Louis
2021-06-20 19:52                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-20 20:12                   ` arvid-harnack
  -- strict thread matches above, loose matches on Subject: below --
2021-06-19 19:24 arvid-harnack
2021-06-19 19:32 ` Eli Zaretskii
2021-06-19 19:43   ` arvid-harnack
2021-06-19 19:47     ` Eli Zaretskii
2021-06-19 20:17       ` arvid-harnack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YM8kqE4aBMBouJ1B@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=arvid-harnack@lavache.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    --cc=spacibba@aol.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.