[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Save more readline state when running compgen
From: |
Koichi Murase |
Subject: |
Re: [PATCH] Save more readline state when running compgen |
Date: |
Thu, 23 Mar 2023 05:33:40 +0900 |
2023年3月22日(水) 22:51 Chet Ramey <chet.ramey@case.edu>:
> > I wouldn't say my usage is typical, but I do that in fact. I have a
> > shell function to do that for an arbitrary command (which I once
> > posted in help-bash [1] but now it's old. The latest is [2]) and use
> > it everywhere.
>
> So is your function suite dependent on the compgen invocations changing
> the readline completion state?
I mean the function itself does not rely on the compgen, but I call
compgen through such a function so the compgen would be executed in
the main shell. If I understand this report correctly, it changes the
state of Readline. But I'm not sure if it affects any observable
behavior in my specific setup because I re-implement the entire
completion so these `compgen's are not called from inside the readline
bindable function `complete'. Do you think calling `compgen', which
leaves the state of `compopt -o filenames', etc., outside the bindable
function `compete' would affect any behaviors?
--
Koichi
- [PATCH] Save more readline state when running compgen, Grisha Levit, 2023/03/19
- Re: [PATCH] Save more readline state when running compgen, Chet Ramey, 2023/03/21
- Re: [PATCH] Save more readline state when running compgen, Grisha Levit, 2023/03/21
- Re: [PATCH] Save more readline state when running compgen, Chet Ramey, 2023/03/21
- Re: [PATCH] Save more readline state when running compgen, Grisha Levit, 2023/03/21
- Re: [PATCH] Save more readline state when running compgen, Greg Wooledge, 2023/03/21
- Re: [PATCH] Save more readline state when running compgen, Koichi Murase, 2023/03/21
- Re: [PATCH] Save more readline state when running compgen, Chet Ramey, 2023/03/22
- Re: [PATCH] Save more readline state when running compgen,
Koichi Murase <=
- Re: [PATCH] Save more readline state when running compgen, Chet Ramey, 2023/03/23
- Re: [PATCH] Save more readline state when running compgen, alex xmb ratchev, 2023/03/21
- Re: [PATCH] Save more readline state when running compgen, Grisha Levit, 2023/03/21
- Re: [PATCH] Save more readline state when running compgen, alex xmb ratchev, 2023/03/21
- Re: [PATCH] Save more readline state when running compgen, Grisha Levit, 2023/03/21
- Re: [PATCH] Save more readline state when running compgen, alex xmb ratchev, 2023/03/21