zevlg / telega.el

GNU Emacs telegram client (unofficial)
https://zevlg.github.io/telega.el/
GNU General Public License v3.0
1.11k stars 86 forks source link

telega rootbuff messing org file #285

Closed OrionRandD closed 3 years ago

OrionRandD commented 3 years ago

I have experienced an annoying behaviour using telega root buffer sometimes I am working and an org file and after calling C-x b to change from telega to that file it happens that telega root buffer contents overtake the org file contents and write its information on that and turns the org file read only beyond undo recover... :(). Then I loose all my work in the org file :((())) I cannot open telega in emacs -q I use doom It does not open telega in emacs -q. So, perhaps it is a doom issue or whatever... It has happened a few times with me :( The scenario is: I edit file, then switch to rootbuf, then back to org file with C-x b and after RET part of rootbuf appears in that org file and erases the org buffer contents and the rootbuff contents takes over the file makes it read-only and I cannot recover the org contents with undo. The part of the rootbuf that is inserted into org file is:

Status: Ready
[19:📑Main         85]  [4:Groups          28]  [7:Channels
57]
[0:Online            ]  [1:Important         ]  [0:📑Archive
]

et.al.

Now I have to open another instance of Emacs, using chemacs, just to open telega root-buff and channels. So, that it does not mix things with my doom-Emacs instance... Not a good solution though... But, a workaround...

-> "Evgeny Zajcev And can’t think of any part in telega causing ... I’ll add some asserts to prevent other packages hacking on core Emacs functionalities. Could you please create issue about this, to not forget. I’ll add some asserts to prevent other package..."