[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rl_filename_rewrite_hook called on wrong filename
From: |
Chet Ramey |
Subject: |
Re: rl_filename_rewrite_hook called on wrong filename |
Date: |
Tue, 3 Oct 2023 11:45:42 -0400 |
User-agent: |
Mozilla Thunderbird |
On 9/25/23 12:35 PM, Stefan H. Holek wrote:
Hi Grisha,
Thank you for the detailed reply. I was not aware of the paste and
glob-complete-word issues. OMG!
Yes, Grisha put it well.
The previous implementation was based on two guarantees, neither of
which are guaranteed now:
1. Data (filenames, directory names) from the file system are encoded
using NFD; and
2. Terminal input (anything that readline reads, really) is in NFC.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: rl_filename_rewrite_hook called on wrong filename,
Chet Ramey <=