TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Where/How to learn emacs for Python development?

2 点作者 karangoeluw将近 12 年前
Is there any tutorial or screencast FOR PYTHON DEVELOPMENT using emacs? I have gone through the emacs tutorial in the bundle, but I am having a hard time actually using all the hotkeys and shortcuts while in actual development.

1 comment

thaumasiotes将近 12 年前
Well, no one ever accused me of being particularly efficient, but what I do is read the mode documentation (C-h m from a buffer in python mode, or whatever mode you&#x27;re trying to investigate). That brings up a description and a list of all the chords the mode defines, and you can read the docs for any function listed there that sounds potentially useful.<p>But my workflow involves fairly few kinds of commands -- open shell, (re)load buffer into shell, (re)load def statement, that kind of thing. I figure the load of remembering 300 subtly different commands outweighs the benefit of having them ready to mind in case circumstance #277 suddenly comes up. If you really need something, you&#x27;ll know how to do it (and if you don&#x27;t, but you know it&#x27;s something you want... look up how to specifically do that thing! Then you&#x27;ll know).<p>It may not be impressive, but the lowest-common-denominator approach came in handy when I wanted to do python development on a windows machine. Install emacs and it&#x27;s just like emacs anywhere else.