Comments (7)
Sure! I'll make a new github repo for remote-emacsclient shortly.
I'm curious how you would use this for interactive rebasing, though.
from dotfiles.
Nice! About interactive rebasing, from what I understand I can set GIT_EDITOR
to what you wrote and my local emacs would be asked to edit the rebase steps file.
The only tricky step is about how to have local emacs notify the remote emacsclient that it's done with the file, but I think it shouldn't be too hard. You just need to write a version of the remote emacsclient that waits for some signal.
Then we can use it like EDITOR=remote-emacsclient crontab -e
too.
from dotfiles.
Yes, however, remote-emacslient isn't necessary for that—you could use regular emacsclient. The only time remote-emacsclient is necessary is when you are trying to do all of this over TRAMP as well.
from dotfiles.
Well this is the point, to do it over TRAMP. Sorry if I was unclear.
We already use emacsclient locally a lot for magit. So you think you will have a package ready soon? :)
I'm currently testing remote-emacsclient
, I'll ask if I get stuck.
from dotfiles.
OMG IT WORKED IT WAS AWESOME LET'S DANCE NAKED IN THE RAIN 😍
I just did a heavy interactive rebase over TRAMP and it worked perfectly. I just ran GIT_EDITOR=emacsclient.py git rebase -i SHA1
, there I did some squashed/reworded commits and it did the right thing. I think this is awesome for any TRAMP emacs users.
About, emacsclient.sh
, one has to be careful which version of netcat he uses, for me it didn't work with nmap-ncat
's version, but package nc6
worked. I guess the package could offer bash/python/perl wrappers and do some autodetection. Also it probably makes sense to copy the script to /tmp
on successful TRAMP connection.
from dotfiles.
yeah, emacsclient.sh
was a first draft, but it's pretty much garbage. I'm going to delete it. sorry about the delay on this, though! here's the split repo: https://github.com/habnabit/remote-emacsclient
from dotfiles.
Ok I'll create issues on the new repo then ;)
from dotfiles.
Related Issues (1)
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 dotfiles.