Subject: bug#49777: bug#49776: 28.0.50; Incorrect username completion results reported by `read-file-name-interal`

From: Daniel Mendler <[email-masked]>
Date: Fri, 30 Jul 2021 14:45:37 +0200

A few more examples for comparison:

(all-completions "~/etc/~man" 'read-file-name-internal); /etc/~man/, bug
(all-completions "~/etc/~foo" 'read-file-name-internal); nil, ok
(all-completions "/etc/~man" 'read-file-name-internal); man/, ok
(all-completions "/etc/~man/" 'read-file-name-internal); ~man files, ok
(all-completions "~/etc/~man/" 'read-file-name-internal); ~man files, ok