bmag / emacs-purpose

Manage Windows and Buffers According to Purposes
GNU General Public License v3.0
496 stars 23 forks source link

Fix emacs ipython notebook #190

Open deb0ch opened 2 years ago

deb0ch commented 2 years ago

Ein uses uses a magic trick to give the user the impression of navigating one single buffer, where in reality they are magically switching between different buffers whenever they enter a markdown cell (markwodn-mode), a Python cell (python-mode), in a different language or in between two cells (fundamental mode).

The problematic one is the fundamental mode one, going to general purpose where the rest of the cells are edit. This causes a glitch, where the notebook will be opened in two windows, with the focus switching from the one to the other as the cursor goes through the notebook.

See repro in screen captures :