Skip to main content

Questions tagged [python-mode]

Filter by
Sorted by
Tagged with
1 vote
1 answer
651 views

I've desperately been trying to use the lsp-pyright server, but Emacs doesn't seem to recognize that it's installed... What I did: Configured it like described in the docs: (use-package lsp-pyright :...
Markus Grunwald's user avatar
2 votes
2 answers
109 views

Insert the following text in an org buffer with electric-indent-mode on. #+begin_src python s=''' #+1 #+1''' #+end_src add a newline to s, and the buffer will become: #+begin_src python s=''' ,#+...
godblessfq's user avatar
  • 1,311
0 votes
0 answers
65 views

How can I navigate from an abstract class/method to the implementations of that class/method? Using the M-. I can jump to function definition but I can't find a way to easily find the implementation.
Isky's user avatar
  • 101
0 votes
1 answer
120 views

I'm trying to define a custom Python skeleton and have found there are two macros in python.el that might be of use here. After poking around and looking at the value for python-skeleton-autoinsert it ...
slackline's user avatar
  • 377
0 votes
1 answer
119 views

With a .py file open in my buffer, and the major mode being Python, there is a menu called Python. There is a item in it called Debugger. It has no associated keyboard shortcut. What is the lisp ...
MMM's user avatar
  • 115
0 votes
0 answers
67 views

I can use outline-minor-mode to fold Haddock-style headings in Haskell code. For instance, consider the following file: -- (haskell-mode) -- (outline-minor-mode) -- (setq-local outline-regexp "-- ...
Jeffrey Benjamin Brown's user avatar
0 votes
0 answers
36 views

when I press tab in python mode py-indent-or-complete execute. When I'm at a new line, it takes two tab keys for the cursor to move to a position. I'd like to hit just one tab to do that. eg) Suppose ...
eugene's user avatar
  • 539