bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Readline 7.0 minor bugs


From: Chet Ramey
Subject: Re: [Bug-readline] Readline 7.0 minor bugs
Date: Wed, 22 Feb 2017 11:59:58 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

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    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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