-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Mike Stroyan on 2/8/2006 6:29 PM:
>>My only concern is whether this patch also affects {non-,}incremental
>>searches in emacs mode.  But it sure solves the display bugs of doing
>>non-incremental searches in vi mode.  Thanks for the patch.
> 
> 
> I don't tend to use emacs mode.  A few quick experiments
> definitely show the prompt problem does occur with the
> non-incremental-reverse-search-history (M-p)
> feature in emacs mode.  The patch corrects that symptom as well.
> I don't see any problem with the incremental search.  It doesn't
> seem to ever try to incorporate the standard prompt.

It seems I spoke too soon.  Your patch works great on single-line prompts
with invisible characters, but breaks on multiline prompts:

$ set -o vi
$ PS1='\[\e]0;hi\a\]\n% '  # After this, I hit [ENTER][ESC]/P[Ctrl-c]
%

%
% /
% /
% /P

% # Wow - look at those extra lines!

- --
Life is short - so eat dessert first!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD9qcX84KuGfSFAYARAtOTAKClZCEZNVBaffXQ+e2CsCPAn4yIqwCfXglM
A/gajepfvACxOC/5HYq1TfY=
=cKhx
-----END PGP SIGNATURE-----


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to