Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [python-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Python-mode code navigation

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
0 answers
30 views

Emacs Python Virtualenv Support

I am able to enable a virtual environment by adding these lines in .dir-locals.el in my project directory: ((python-mode . ((python-shell-virtualenv-root . "s:/.virtualenvs/default/")))) ...
Mehdi Khawari's user avatar
0 votes
1 answer
37 views

Defining custom Python skeletons

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
  • 345
0 votes
1 answer
72 views

How do I assign Ctrl-C Ctrl-D to menu Python/Debugger in my ~/.emacs file?

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
44 views

outline-minor-mode works for Haskell but not Python

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
24 views

py-indent-or-complete, make hitting-tab in python mode move the cursor at first try

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
  • 489