Paul Jolly wrote:

> Thanks very much for taking the time to investigate, debug and fix this.

Thanks for making the repro steps.  It turns out the exact text content
mattered and the exact change mattered.  After failing to spot it by
stepping through the code, I added ch_log() calls in various places to
see what happens, and finally spotted the getbufline() call happening
while in a lower level memline function, where it should not invoke the
callback.  Moving that to a higher level fortunately wasn't difficult.

-- 
It is illegal to rob a bank and then shoot at the bank teller with a water
pistol.
                [real standing law in Louisana, United States of America]

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201907181006.x6IA6lD6005772%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui