[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49776: 28.0.50; Incorrect username completion results reported by `r
From: |
Lars Ingebrigtsen |
Subject: |
bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal` |
Date: |
Sat, 31 Jul 2021 14:07:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> (read-file-name-internal "~/foo/~man" nil t)
>> => (#("/foo/~man/" 0 9 (face completions-common-part)))
>
> Yup,. that's wrong.
I'm completely unfamiliar with this code...
(defun completion-table-with-quoting (table unquote requote)
...
(boundary (car (completion-boundaries ustring table pred "")))
(completions
(completion--twq-all
string ustring completions boundary unquote requote))
ustring here is "~man", and the boundary is 1, so completion--twq-all
returns "/foo/~man" (because it stripped off 1 character at the start).
But it should have stripped off "~/foo/~", I think? Somehow?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Daniel Mendler, 2021/07/29
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Eli Zaretskii, 2021/07/30
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Lars Ingebrigtsen, 2021/07/30
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Daniel Mendler, 2021/07/30
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Lars Ingebrigtsen, 2021/07/30
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Lars Ingebrigtsen, 2021/07/30
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Daniel Mendler, 2021/07/30
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Lars Ingebrigtsen, 2021/07/30
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Stefan Monnier, 2021/07/30
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`,
Lars Ingebrigtsen <=
- bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Daniel Mendler, 2021/07/30
bug#49777: bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`, Daniel Mendler, 2021/07/30