On 08/29/12 22:25, Mark Lumsden wrote: > On Wed, Aug 29, 2012 at 05:55:58PM +0000, Florian Obser wrote: >> Hi, >> while looking why sometimes line numbers are wrong in mg I found this: >> 1) mg theo.c >> 2) move around in file >> 3) C-x C-f theo.c >> 4) the cursor will be at the end of the buffer (sometimes one line after >> the end of the buffer) and the line number is not updated. > > I have seen the effects of this a couple of times (wrong line number) > and it has done my head-in trying to work out what I have done (what > functions I have called on which buffers) to cause it, but your series > of steps definitley causes the effects. (there may be other causes of > course ;)
I'm pretty sure there are. I don't usually open a file I'm currently editing ;) Finding this was actually a mistake, I meant to open a different file... I think there is a problem when killing a region that's bigger than what the window currently displays and yanking somewhere else. I have no recipe for that (yet) :/