On 2/22/17 2:51 AM, Jason Hood wrote:
> On 22/02/2017 2:12, Chet Ramey wrote:
>> On 2/21/17 1:16 AM, Jason Hood wrote:
>>> * if show-mode-in-prompt is on, the initial Emacs prompt would
>>>   not show the mode;
>>
>> I can't reproduce this using bash. Are you using a different application,
>> maybe with callback mode?
> 
> It was rltest.  Just tested with units and noticed it worked there.
> Looking at rltest.c, I see it doesn't have rl_initialize(); adding
> that made it work.  So here's a better fix:

Yeah, but moving it there makes it not work with callback mode, which
doesn't call readline().  I think it has to go in readline_internal_setup()
to catch both code paths.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://cnswww.cns.cwru.edu/~chet/

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to