question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for Doom Emacs

See original GitHub issue

Hello and thanks for the awesome plugin. I am here to report that the live-py-mode does not work correctly with Doom Emacs. The cursor decides to jump to the live window even if I am in the insert mode (evil).

What I did

Any Python code would reproduce this. As an example:

import os

print(os.path.join('foo', 'bar')

What happened

The cursor jumps to the live-py-trace buffer while typing if you delay the typing for more than one second.

What I wanted to happen

Normal behavior as for Spacemacs or Vanilla Emacs.

My environment

Describe the versions of everything you were using:

  • Editor Doom Emacs
  • Operating system Linux Manjaro
  • Python 3.7

Other feedback

I love this mode and being able to utilize it using Doom Emacs would be highly appreciated.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
donkirkbycommented, Jun 28, 2020

OK, I followed the instructions linked above to install Doom Emacs, then installed live-py-mode by adding this to my ~/.doom.d/packages.el file:

(package! live-py-mode)

Finally, I ran .emacs.d/bin/doom sync to actually install it, and then edited a Python file.

emacs scratch.py

I typed C-z to get out of evil mode, because I don’t know how to launch live-py-mode in evil mode, then I typed M-x live-py-mode. I typed M-x evil-normal-state to go back to evil mode, and then I edited my Python code.

The cursor never left the main editor window, so I can’t reproduce your problem. Please provide me with more information or try reproducing the problem on another system to see if we can learn more.

I tried it with Emacs 26.3 on Ubuntu 18.04 with Python 3.7.7.

1reaction
haditimcommented, Jun 30, 2020

I finally found the culprit: in my init.el, I had (popup +all +defaults) while the default was (popup +defaults). Reverting it back to default did the trick.

Read more comments on GitHub >

github_iconTop Results From Across the Web

An Emacs framework for the stubborn martian hacker - GitHub
It is a story as old as time. A stubborn, shell-dwelling, and melodramatic vimmer—envious of the features of modern text editors—spirals into despair...
Read more >
Documentation - Doom Emacs v21.12 documentation
Our documentation was designed to be read within Doom Emacs (accessible with M-x doom/help ) or online at https://docs.doomemacs.org.
Read more >
Doom Emacs built with native compilation support - Reddit
Doom Emacs already supports native compilation. You just need to install Emacs with native compilation support (I think there is a package ...
Read more >
Doom Emacs Configuration - GitHub Pages
Each module (when enabled) can provide a list of packages to install (on doom sync ) and configuration to be applied. The modules...
Read more >
DOOM Emacs - Rui Vieira
To enable support of Go templates, install the lang/web packages by adding to init.el . ... This will install the web-mode package To...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found