atevm
  • Member for 5 years, 10 months
  • Last seen more than a month ago
3 answers
10 votes
4k views
Running ipython remotely
5 votes

@serv-inc answear is the best approach here: (setq python-shell-interpreter "ssh yourhost ipython" python-shell-interpreter-args "--simple-prompt -i") but it will still fail with the error:...

View answer
4 answers
6 votes
4k views
Function to restart python console
Accepted answer
4 votes

Well I figured it out: kill-process kills the process as a side effect, so it returns before that is really killed. So a function like this works: (defun my-restart-python-console () "Restart ...

View answer
1 answers
3 votes
3k views
Symbol's value as variable is void: shell-mode-map
Accepted answer
2 votes

Drew is right you need to load the package, which defines shell-mode-map (require 'shell) ;; your code based on functions and variables defined in shell.el Explanation At the end of your Emacs's ...

View answer
1 answers
0 votes
124 views
Emacs fail to exit
Accepted answer
1 votes

Well the source of the problem was this line: (setq help-char (kbd "<f1>")) I changed it to (setq help-char nil) Well it was a kinda intuitive solution, so if another answer explains it, I ...

View answer
1 answers
0 votes
411 views
Force elpy to work only with .py extension files
Accepted answer
1 votes

The problem was that I added elpy-mode as hook for flyspell-prog-mode before I enabled elpy, so it activated it globally. I wrote that part of my config one week after I started using Emacs half year ...

View answer
1 answers
1 votes
273 views
custom delete-backward-char key-binding does not work in helm
1 votes

Thanks to Constantine I solved the problem, the only difference that newer helm use C-h C-d for the helm-enable-or-switch-to-debug function. So it still can be unbound as Constantine advised. (define-...

View answer
1 answers
7 votes
827 views
Narrow helm-projectile-grep to specific file type
0 votes

It is possible with the helm-ag package, which passes every "--" prefixed fields to ag as CLI arguments. To filter by file type use its extension as an argument. So calling helm-projectil-ag with: --...

View answer
1 answers
1 votes
136 views
Helm would not show line previews if used regexp
Accepted answer
0 votes

Thanks to thierryvolpiatto from Helm's github, I learnt the answer. Helm interprets spaces as search pattern separators so they should be escaped with backslashes.

View answer