Comments (7)
Actually, you see this with ps x
as well, although there it is OK since the definition is on one line, instead of systemctl status
's multiline output. Would it be possible to wrap that module inside another script that is called instead to prevent this?
from anaconda-mode.
This is a duplicate of #393.
Putting it inside another script is certainly possible but you have to be careful that it still works over tramp.
from anaconda-mode.
I'm not very experienced with elisp that touches outside processes - could you give me a pointer on how I could have that module external? Then I could submit a PR for that.
Edit:
I have found how to wrap it in a script - I replaced
:args `("-c"
,anaconda-mode-server-command
with
:args `(,(concat (file-name-directory (locate-library "anaconda-mode")) "anaconda-mode.py")
where anaconda-mode.py
wraps that script. But as expected, it won't work over TRAMP, as I suppose the filename is expanded with the current TRAMP prefix...
from anaconda-mode.
Maybe a simple solution is to check (pythonic-remote-p)
and if that's true, send the content of anaconda-mode.py
instead of passing the filename.
Other option would be to copy the file to the remote host first?!
from anaconda-mode.
I made a pull request fixing this - #407.
It's my first change of this kind, so it may not be exactly what you're looking for - let me know!
from anaconda-mode.
Thanks.
Had a quick look and lgtm.
I'm pretty busy atm, so in case @CeleritasCelery isn't faster than me it'll take some time
for a proper review.
from anaconda-mode.
Fixed in #407
from anaconda-mode.
Related Issues (20)
- Anaconda causes extreme slowness on remote links with pyvenv HOT 5
- jedi 0.18.0 incompatibilities - anaconda-eldoc-mode causes TypeError: __init__() takes from 1 to 2 positional arguments but 5 positional arguments (and 1 keyword-only argument) were given HOT 14
- Restricting newest jedi version allowed (and making it possible to configure this requirement) HOT 3
- autocomplete broken 'wrong-type-argument listp' HOT 2
- Can not read anaconda-mode server response over tramp
- Symbol’s function definition is void: pythonic-local-p HOT 2
- As of setuptools 53.0 .command.easy_install.main() is removed breaking anaconda-mode HOT 3
- [FR] Add option to disable anaconda-mode's RPC calls completely when on TRAMP HOT 1
- anaconda-mode does not complete modules from pip3
- Skip to the cpython primitive definition of the python function/operator.
- Can not import packages installed in server_directory when using docker HOT 5
- Cannot Read Anaconda Mode Server Response (Again)
- python: remove implicit pip dependency
- replace distutils.version by packaging.version HOT 4
- A server errors appears as I interact with the server HOT 2
- Eldoc error: bad url
- Anaconda does not retrieve signatures for certain functions, even though jedi does HOT 2
- `conda-mode-find-definitions` on constant variable points to class, not the def site
- `EOFError: Ran out of input` in spacemacs HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anaconda-mode.