[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58921: Tab completion hangs in eshell
From: |
Jim Porter |
Subject: |
bug#58921: Tab completion hangs in eshell |
Date: |
Fri, 3 Mar 2023 21:37:05 -0800 |
On 2/23/2023 12:43 PM, Jim Porter wrote:
Ah, good point. Instead of '(pcomplete-match "\\`--.*=" 0)', I think we
want to handle all args starting with "--", but not matching "^--\\([^=
\t\n\f]*\\)\\'". The goal is to call 'pcomplete-here*' exactly once per
option.
I did this a slightly different way in the updated patch by moving all
the "--" cases into a single place (likewise with the "-" options). I
think this is easier to follow than before, and makes it more obvious
that we're calling 'pcomplete-here*' the right number of times.
Any other thoughts before I merge this patch?
- bug#58921: Tab completion hangs in eshell,
Jim Porter <=