poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recently broken tab completion in repl


From: John Darrington
Subject: Re: Recently broken tab completion in repl
Date: Sun, 12 Apr 2020 10:20:17 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

On Sun, Apr 12, 2020 at 10:02:54AM +0200, Jose E. Marchesi wrote:
         
         (BTW - Your test (added in commit 
fee96d31a9860f5ae42faa871881b7d2b0953902) does not
         seem to do what you intend.   If I reinstate 
c576c04c32c10f1f550229b0c487ded1f4948e53 your
         new test does not fail.)
     
     Hm, it actually does what I intended.
     
     As far as I can tell the problem in
     c576c04c32c10f1f550229b0c487ded1f4948e53 impacted the echo of the typed
     entry on the prompt, but not the autocompleted command that poke
     received, i.e.
     
     (poke) .se\t obase 16
     
     What you see: (poke) .se  obase 16
     What the rl edit line has and poke receives: .set obase 16
     
     So poke didn't fail when you sent ".se\t obase 16", and therefore
     replied with the prompt which is what the {} for PATTERN in the
     poke_test_cmd invocation means...


I'm not sure that I follow.  But anyway what we really need is a test
that will ensure (for example) that when I type:

(poke) .e\t\t  [no newline]

Then I get the response:

.editor  .exit

But I don't know  how to do that (or much else) using deja-gnu.

J'

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]