与_和 - ,隐藏可能的结果

发布于 2025-02-07 21:22:23 字数 724 浏览 4 评论 0原文

当我使用IDO-Completing-Read时,

(ido-completing-read "Which tag: " '("DALL-E" "monoidallens") nil t)

它会在我键入“ dall”时找到两个标签,但是一旦我输入“ dalle” “它不再找到” dall-e

Which tag: dall{DALL-E | monoidallens}
Which tag: dalle[monoidallens]

如果我向“ monoidal_lens”添加下划线,则标记

(ido-completing-read "Which tag: " '("DALL-E" "monoidal_lens") nil t)

输入” dall dall “仅匹配” dall--- e“和输入” dalle“都匹配。

Which tag: dall[DALL-E]
Which tag: dalle{DALL-E | monoidal_lens}

为什么会发生这种情况?有没有办法显示所有可能的建议,添加更多字符不应使建议消失。

When using ido-completing-read

(ido-completing-read "Which tag: " '("DALL-E" "monoidallens") nil t)

it finds both tags when I type "dall" but once I enter "dalle" it no longer finds "DALL-E"

Which tag: dall{DALL-E | monoidallens}
Which tag: dalle[monoidallens]

Whereas if I add an underscore to the "monoidal_lens" tag

(ido-completing-read "Which tag: " '("DALL-E" "monoidal_lens") nil t)

the input "dall" only matches "DALL-E" and while the input "dalle" matches both.

Which tag: dall[DALL-E]
Which tag: dalle{DALL-E | monoidal_lens}

Why does this happen? Is there a way to show all possible suggestions, adding more characters should not make suggestions go away.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文