- Vim or emacs python
- Arch Linux
- #2 2006-09-12 08:36:19
- Re: VIM or Emacs for python programming?
- #3 2006-09-12 09:12:24
- Re: VIM or Emacs for python programming?
- #4 2006-09-12 14:00:22
- Re: VIM or Emacs for python programming?
- Vim/Emacs для Python?
- Войдите, чтобы написать ответ
- Почему ломается фрагмент кода?
- Ошибка программы на пайтон, как исправить?
- Ошибка при попытки скачать requirements.txt, что делать?
Vim or emacs python
The extensible, customizable, self-documenting real-time display editor.
tl;dr: I’m using Vim or Spacemacs as a GUI (not IDE) for a Python project (not for editing the code, but as an user-interface to the software). Emacs is clearly better in a lot of ways, but it’s a Python project and Vim allows Python extensions and I’m a Python programmer.
I’m developing some personal knowledgebase software, kind of like org-mode. I’ve already built a fairly large system with Python and Django, and I’m going to stick with that, so I’m just modifying a text-editor to be a GUI front-end for that system. I’m not really an expert in Vim or Emacs (I’m doing elisp 101, basically), but I’m more comfortable with Vim, and I’m more enamoured by Emacs (Spacemacs).
Org-mode and Helm are huge draws for Emacs, and there’s no reason I couldn’t use org-mode’s syntax and pre-built functionality (at least in place of Markdown, if not more integral). Emacs also has support for more than one text size, images, and so on (and so on, . ). I’m also really curious about the self-editing-editor aspect of Emacs, and it just seems like a lovely IDE experience. It seems really developer-friendly, but it also seems that it’s been so developer-friendly for so long that it’s an intimidating, monolithic piece of software, and I’m worried that it’ll be like trying to build around the scaffolding for some other guy’s house.
For Vim, the biggest draws are the «green-field feeling» and NeoVim’s support for Python extensions. My thinking is that, since it’s already a Python project, this can substantially decrease code duplication and, hopefully, lower the barrier of entry for contributions. Also, I’m as close to an expert in Python as I am in anything, so this seems like a way to capitalize on what I already know. A secondary advantage is that Vim doesn’t already have org-mode, so, there’s probably a better chance for my project to get some traction, when I publish it.
My overall feelings are that Emacs is better in a whole lot of ways, but it will require mastering a whole new language and complex environment, and keeping up with that knowledge. Using Vim with Python plugins seems like it will get me up and running faster, and make long-term development smoother and faster, except that lots of things won’t be quite as good as I want (like I’m really going to compete with Helm or org-mode) and I’m going to have to build more stuff from scratch. It’s hard to say how either will flesh out — maybe every little thing in Vim will be a fight and a struggle, when it would’ve been easy in Emacs? The biggest draw for Vim is that I feel like I know which way is forward with it. With Emacs, it feels like I’ve got a lot of amorphous and ambiguous learning to do before I can even know enough to even get a feel for the landscape.
Can anyone give any input on this, please?
Arch Linux
Hi!
I began to program with python half a year ago and now I am looking for a better editor than gedit. I’ ve heard a lot about emacs and vi.
What is the better editor for python? I don’t know if I should use Xemacs or the gnu emacs.
Any suggestions what to choose?
#2 2006-09-12 08:36:19
Re: VIM or Emacs for python programming?
They are very different editors so it is best to take a look at both and decide which is right for you.
Most people use gnu emacs over xemacs.
#3 2006-09-12 09:12:24
Re: VIM or Emacs for python programming?
Mr Green ArchBang Developer.
#4 2006-09-12 14:00:22
Dusty Schwag Merchant From: Medicine Hat, Alberta, Canada Registered: 2004-01-18 Posts: 5,986 Website
Re: VIM or Emacs for python programming?
Just to summarize what’s happened on this board before, more Arch users use vim than e-macs, but both will suggest either. Personally, as a python programmer myself, I hate both lisp (used to configure emacs) and vim configuration syntax. I used jEdit for a long time, its nice and configurable, same as both vim and emacs, but its configured in Java. which I’m also not fond of anymore.
Decent editors that are configured in Python are hard to come by so I wrote my own — thanks Mr Green for the plug. However, I don’t really consider it a good editor yet. You might look at eric3, pype, or dr python.
Now, if you really have decided to go traditional and choose one of vim and emacs, all I can say is when I was making the decision, I used them both for about three months each, vim first and then emacs. I haven’t used emacs since.
Editors have personalities. You have to choose the one that suits you and only you. No matter which one you choose, there are going to be people that hate you for it.
Sound advice for choosing a mate too. :-S
Vim/Emacs для Python?
Начал понемногу осваивать пайтон, пока что консоли и IDLE хватает вполне, но хочется освоить Vim/Emacs. Из плюсов для меня то, что там можно всё делать на клавиатуре, а не тянуться рукой к мышке. Да и IDE типу PyCharm’а мне не нужно, особенно, если с того же Emacs тоже можно сделать IDE, но с тем функционалом, который действительно нужен. И вот я сегодня установил Emacs, запустил и всё. Дальше я не продвинулся. Много гайдов в сети сделано именно для тех, кто знаком хотя бы б с базовой настройкой редактора. С этого возникает следующий вопрос — как освоить Emacs? Где брать материалы для него, документации хватит? Почему нужно или почему не нужно использовать тот или иной редактор вместо IDE? Вот с этим всем хочу разобраться и прошу у вас помощи.
у питона есть IDE и полегче-посимпатичнее Пайчарма
а без IDE никак — как хотя бы отладку делать?
Отладку ведь можно делать из консоли, разве нет?
Ещё вот есть более дружелюбный «spacemacs», но о нём для новичков очень мало информации.
Если ты такой хардкорный олдскульный мужик — отреверси emacs и пойми его полностью сам.
А разрабатывать удобно в VSCode, например, если пайчарм «мне не нужно».
> С этого возникает следующий вопрос — как освоить Emacs? Где брать материалы для него, документации хватит?
Смешно. Проблема сопроводительной документации не в том, что ее не хватает. А в том, что ее *не осиливают*.
Оттого и плодятся всякие методички, видеолекции и прочие «материалы».
1. вам что надо прежде всего: осваивать питон или плагины для вим/имакса вникать и настраивать?
2. ставьте ipython (с автодополн) и пишИте, пишИте, пишИте свои примеры.
3. мало будет, и если вы не веб, то ставьте джупитер с веб интерфейсом.