Re: Content below current line lost

2021-02-15 Thread Dmitry Knyaginin
Hi Ihor, No, I am not using undo-tree. Thanks, Dmitry On Mon, Feb 15, 2021 at 1:41 PM Ihor Radchenko wrote: > Dmitry Knyaginin writes: > > > By the way, I have started to test my theory that the bug has to do with > > the file size, but so far I have not been able to reproduce the bug. > > A

Re: Content below current line lost

2021-02-15 Thread Eric S Fraga
On Monday, 15 Feb 2021 at 13:21, Dmitry Knyaginin wrote: > the beginning, and to be honest I am unsure I understand "not intended for > that mode". I mean, if I visit plain text files, I guess it does not matter > which mode I invoke, right? There are some modes that expect buffers to have specifi

Re: Content below current line lost

2021-02-15 Thread Ihor Radchenko
Dmitry Knyaginin writes: > By the way, I have started to test my theory that the bug has to do with > the file size, but so far I have not been able to reproduce the bug. Another guess about your case: I have experienced deleted parts of buffer and lost history when using undo-tree. Do you happe

Re: Content below current line lost

2021-02-15 Thread Dmitry Knyaginin
> > if you invoke a special mode while visting a file not intended for that > mode sound interesting to test... in my case the file has been in org mode from the beginning, and to be honest I am unsure I understand "not intended for that mode". I mean, if I visit plain text files, I guess it does

Re: Content below current line lost

2021-02-15 Thread Eric S Fraga
On Friday, 12 Feb 2021 at 11:29, Dmitry Knyaginin wrote: > I have some wild theories, including a gamma particle hitting my laptop ;) Something I saw on the emacs developer list: if you invoke a special mode while visting a file not intended for that mode, it is possible for contents to be deleted

Re: Content below current line lost

2021-02-14 Thread Dmitry Knyaginin
Hi Eric, I have tried the regular means to recover the latest data, but eventually had to recover from the latest git commit. This incident sounds similar: https://emacs.stackexchange.com/questions/44659/help-emacs-empty-my-1-year-org-file I have some wild theories, including a gamma particle hi

Re: Content below current line lost

2021-02-11 Thread Eric S Fraga
On Tuesday, 9 Feb 2021 at 11:57, Dmitry Knyaginin wrote: > during typing, all content below the current line disappeared. > The content was unrecoverable with "undo". :-( You can type C-h l at any time to see all your recent keystrokes, in case it was something you mis-typed to lead to this outc