Re: [bug] g< does not work with execute()/redir

2016-09-02 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > > > There is a bug when using g< with execute() > > > > > > One cannot capture it's output using execute()/redir: > > > > > > :echo "a\nb\nc\nd\n" > > > (press enter prompt) > > > :norm! g< > > > (shows the echo output again) > > > :let b=execute(':unsilent norm!

Re: [bug] g< does not work with execute()/redir

2016-09-02 Fir de Conversatie Christian Brabandt
On Do, 01 Sep 2016, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > There is a bug when using g< with execute() > > > > One cannot capture it's output using execute()/redir: > > > > :echo "a\nb\nc\nd\n" > > (press enter prompt) > > :norm! g< > > (shows the echo output again) > >

Re: [bug] g< does not work with execute()/redir

2016-09-01 Fir de Conversatie Christian Brabandt
Hi Bram! On Do, 01 Sep 2016, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > There is a bug when using g< with execute() > > > > One cannot capture it's output using execute()/redir: > > > > :echo "a\nb\nc\nd\n" > > (press enter prompt) > > :norm! g< > > (shows the echo output

Re: [bug] g< does not work with execute()/redir

2016-09-01 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > There is a bug when using g< with execute() > > One cannot capture it's output using execute()/redir: > > :echo "a\nb\nc\nd\n" > (press enter prompt) > :norm! g< > (shows the echo output again) > :let b=execute(':unsilent norm! g<') > :echo empty(b) > 1 > :norm! g<

[bug] g< does not work with execute()/redir

2016-08-31 Fir de Conversatie Christian Brabandt
There is a bug when using g< with execute() One cannot capture it's output using execute()/redir: :echo "a\nb\nc\nd\n" (press enter prompt) :norm! g< (shows the echo output again) :let b=execute(':unsilent norm! g<') :echo empty(b) 1 :norm! g< (does not output anything) Best, Christian -- Ich