From: Juri Linkov <juri@linkov.net>
To: Knut Anders Hatlen <kahatlen@gmail.com>
Cc: 55712@debbugs.gnu.org
Subject: bug#55712: 29.0.50; Bad interaction between icomplete and completion-auto-select.
Date: Sun, 29 May 2022 22:55:25 +0300 [thread overview]
Message-ID: <86a6b0un9u.fsf@mail.linkov.net> (raw)
In-Reply-To: <87a6b0gp9g.fsf@dell.mail-host-address-is-not-set> (Knut Anders Hatlen's message of "Sun, 29 May 2022 20:36:11 +0200")
> (icomplete-mode 1)
> (setopt completion-auto-select t)
> C-x C-f TAB TAB
>
> The following error message is displayed in the minibuffer:
>
> Error in post-command-hook (icomplete-post-command-hook): (wrong-type-argument integer-or-marker-p nil)
I confirm the problem, I have seen it a few times, but
it seems the root of the problem is in the way how buffer-local
hooks are fired. icomplete-post-command-hook is a hook
local in the minibuffer. But when the command switches
from the minibuffer to the Completions buffer, then for an unknown
reason the minibuffer post-command hook is still fired in another buffer -
in the Completions buffer that has no local post-command hook.
next prev parent reply other threads:[~2022-05-29 19:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-29 18:36 bug#55712: 29.0.50; Bad interaction between icomplete and completion-auto-select Knut Anders Hatlen
2022-05-29 19:55 ` Juri Linkov [this message]
2022-05-30 17:36 ` Juri Linkov
2022-05-30 20:55 ` Knut Anders Hatlen
2022-05-31 17:53 ` Juri Linkov
2022-08-10 4:10 ` bug#55712: the fix for this broke the ability to paste into gmail plain text Tom Gillespie
2022-08-10 11:10 ` Eli Zaretskii
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=86a6b0un9u.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=55712@debbugs.gnu.org \
--cc=kahatlen@gmail.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.