Re: About `M-C-e` expand result `'` failed

2024-02-01 Thread Chet Ramey
On 1/31/24 6:05 PM, Mike Jonkmans wrote: The first sentence under EXPANSION may make you think otherwise: Expansion is performed on the command line after it has been split into words. There are seven kinds of expansion performed: brace expansion, tilde expansion, parameter and

Re: [PATCH] printf: more error handling

2024-02-01 Thread Chet Ramey
On 1/22/24 9:44 PM, Grisha Levit wrote: The size of the buffer used for printf -v is tracked in an int but this can overflow since the buffer can be built up by multiple vsnprintf(3) calls, each of which can append up to INT_MAX bytes to the buffer: Thanks for the report and patch. Chet --

Re: incorrect cursor position when navigating with 'ALT-b'

2024-02-01 Thread Greg Wooledge
On Thu, Feb 01, 2024 at 01:55:50PM +0100, Korneel Dumon wrote: > Repeat-By: > Execute the following command: > > curl -X POST -H "Content-Type: application/json" > https://ec.europa.eu/taxation_customs/vies/rest-api/check-vat-test-service > -d '{"countryCode":"BE",

incorrect cursor position when navigating with 'ALT-b'

2024-02-01 Thread Korneel Dumon
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall uname output: Linux jarvis

Re: About `M-C-e` expand result `'` failed

2024-02-01 Thread Zachary Santer
On Thu, Feb 1, 2024 at 4:00 AM Andreas Schwab wrote: > The shell-expand-line function's purpose is to let you edit the expansion > further. > That would still leave you needing to requote the line yourself, if there was any quoting present originally.

Re: wait -n misses signaled subprocess

2024-02-01 Thread alex xmb sw ratchev
On Thu, Feb 1, 2024, 09:09 alex xmb sw ratchev wrote: > > > On Wed, Jan 31, 2024, 20:36 Robert Elz wrote: > >> Date:Wed, 31 Jan 2024 11:35:57 -0500 >> From:Chet Ramey >> Message-ID: <1e50aa99-8d53-4cdf-ba5e-6aaf3ccc6...@case.edu> >> >> | Not quite. `new' in this

Re: About `M-C-e` expand result `'` failed

2024-02-01 Thread Andreas Schwab
On Feb 01 2024, Mike Jonkmans wrote: > As end user I would expect that, running shell-expand-line then accept-line, > would do the same as just an accept-line. If you want to execute the line, let bash expand it. The shell-expand-line function's purpose is to let you edit the expansion further.

Re: wait -n misses signaled subprocess

2024-02-01 Thread alex xmb sw ratchev
On Wed, Jan 31, 2024, 20:36 Robert Elz wrote: > Date:Wed, 31 Jan 2024 11:35:57 -0500 > From:Chet Ramey > Message-ID: <1e50aa99-8d53-4cdf-ba5e-6aaf3ccc6...@case.edu> > > | Not quite. `new' in this sense is the opposite of `anything in the > past' > | as Dale