[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error
From: |
Eli Zaretskii |
Subject: |
bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error |
Date: |
Sat, 20 Jul 2024 09:05:16 +0300 |
> From: Robert Pluim <rpluim@gmail.com>
> Cc: 72176@debbugs.gnu.org, aqua0210@foxmail.com, visuweshm@gmail.com
> Date: Fri, 19 Jul 2024 09:15:49 +0200
>
> >>>>> On Thu, 18 Jul 2024 18:34:35 +0300, Eli Zaretskii <eliz@gnu.org> said:
>
> Eli> (I tested on GNU/Linux as well, and couldn't reproduce.) Why does it
> Eli> happen to you and not to others? What conditions should happen and
> Eli> how to modify the recipe to reproduce this?
>
> If I start emacs from "~", it doesnʼt happen, if I start it from eg
> "~/repos/emacs-30" via "src/emacs -Q" then it does happen.
Thanks. I've applied the trivial band-aid on emacs-30 to avoid the
error in post-command-hook, but the real problem is not in the
function that signals the error, it's in icomplete.el where it calls
the lazy-highlight code. The evidence is that after the fix, the
display shown in those cases that caused the error is not the expected
one, unless you set icomplete-tidy-shadowed-file-names non-nil. It
sounds like the problem happens specifically when the minibuffer text
begins with a "~/" and there's another "~/" later in the minibuffer,
the one the user types: the code probably doesn't expect that.
Adding João, who I think wrote this code.
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Eason Huang, 2024/07/18
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Eli Zaretskii, 2024/07/18
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Visuwesh, 2024/07/18
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Robert Pluim, 2024/07/18
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Eli Zaretskii, 2024/07/18
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Robert Pluim, 2024/07/19
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error,
Eli Zaretskii <=
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, João Távora, 2024/07/20
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Eli Zaretskii, 2024/07/20
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Eshel Yaron, 2024/07/20
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Dmitry Gutov, 2024/07/20
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Stefan Monnier, 2024/07/21
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Eli Zaretskii, 2024/07/25
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Stefan Monnier, 2024/07/25
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Eason Huang, 2024/07/20
- bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Eli Zaretskii, 2024/07/20
bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error, Arash Esbati, 2024/07/18