Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 21639

use for Python programming language in Emacs. Emacs supports several versions of the language implementation, versions, and coding styles. Python questions should augment with additional tags as appropriate as described in the description below.

1 vote
0 answers
249 views

Identation issues in python mode

My python config reads (use-package python :mode ("\\.py\\'" . python-mode) :interpreter ("python" . python-mode) :config (progn (setq python-shell-interpreter "python") (setq python-indent-offset … 4) (setq python-shell-completion-native-disabled-interpreters '("python")))) So how can I achieve to just paste in code and it is indented and aligned correctly? …
CD86's user avatar
  • 603
0 votes
0 answers
85 views

strange minor modes and how to diminish them

I am working in a python file and thought I have diminished all modes accordingly, also yapfify. However, that does not seem to be the case as one can see in the screenshot. …
CD86's user avatar
  • 603
0 votes
1 answer
1k views

does one has to explicity enable python-mode etc. to work with python files?

Sometimes I see people talking about enabling python-mode and so on. Is that only necessary for older emacs versions? … This leaves me wondering, what the python-mode package additionally brings to the table that is not already provided by the build-in python.el …
CD86's user avatar
  • 603
5 votes
2 answers
2k views

emacs lsp-mode python how to disable certain warnings

lsp-mode complies to PEP8 style guide I guess, but how can I disable certain warnings, e.g. about missing docstrings etc.?
CD86's user avatar
  • 603
0 votes
0 answers
51 views

Emacs flashes when changing buffer with `ido-switch-buffer`

When I change buffer via ido-switch-buffer and enter a python buffer my entire Emacs flashes visually for a second. If I handle other files the same way, it does not. What can be the reason for that? …
CD86's user avatar
  • 603