[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About `M-C-e` expand result `'` failed
From: |
Chet Ramey |
Subject: |
Re: About `M-C-e` expand result `'` failed |
Date: |
Tue, 6 Feb 2024 15:13:02 -0500 |
User-agent: |
Mozilla Thunderbird |
On 2/6/24 3:04 PM, Zachary Santer wrote:
On Tue, Feb 6, 2024 at 2:35 PM Chet Ramey <chet.ramey@case.edu
<mailto:chet.ramey@case.edu>> wrote:
and add a second bindable function -- which would add the same keypress
-- to quote the words.
Would Bash be saving what the line looked like before it performed quote
removal with M-C-e,
It already makes the shell expansions an undoable operation, I think that
would suffice. I'm not talking about changing the behavior of M-C-e, I'm
talking about adding a different function that you could use separately as
well.
and replacing what's on the command-line with that when
this other readline function is invoked? All this talk of a quote-line
readline function doesn't make any sense if Bash doesn't know how you want
it to be quoted.
There are other places (e.g., ${var@Q} where bash chooses the most
appropriate form of quoting. Why not here?
--
``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: About `M-C-e` expand result `'` failed, (continued)
- Re: About `M-C-e` expand result `'` failed, Koichi Murase, 2024/02/03
- Re: About `M-C-e` expand result `'` failed, Koichi Murase, 2024/02/03
- Re: About `M-C-e` expand result `'` failed, Martin D Kealey, 2024/02/03
- Re: About `M-C-e` expand result `'` failed, Koichi Murase, 2024/02/04
- Re: About `M-C-e` expand result `'` failed, Martin D Kealey, 2024/02/04
- Re: About `M-C-e` expand result `'` failed, Chet Ramey, 2024/02/06
- Re: About `M-C-e` expand result `'` failed, Mike Jonkmans, 2024/02/06
- Re: About `M-C-e` expand result `'` failed, Chet Ramey, 2024/02/07
- Re: About `M-C-e` expand result `'` failed, Chet Ramey, 2024/02/06
- Re: About `M-C-e` expand result `'` failed, Zachary Santer, 2024/02/06
- Re: About `M-C-e` expand result `'` failed,
Chet Ramey <=
- Re: About `M-C-e` expand result `'` failed, Zachary Santer, 2024/02/06
Re: About `M-C-e` expand result `'` failed, Chet Ramey, 2024/02/06
Re: About `M-C-e` expand result `'` failed, Chet Ramey, 2024/02/03