susam / emfy Goto Github PK
View Code? Open in Web Editor NEWA dark and sleek Emacs setup for general purpose editing and programming
License: MIT License
A dark and sleek Emacs setup for general purpose editing and programming
License: MIT License
The README describes two ways to use emacsclient
: a blocking and a non-blocking way. But, the command provided is the same for both. Probably there was a flag or an &
missing for the non-blocking command. I'm on mobile (GitHub app) so it's hard to link to the line, unfortunately. But I copied some of the text:
- `emacsclient foo.txt bar.txt`: Opens files in the existing Emacs
On the readme it says https://github.com/susam/emfy/raw/main/.emacs
, but that returns a 404 error. Maybe github changed the url for the raw version of files? When clicking the 'raw' button for .emacs I get https://raw.githubusercontent.com/susam/emfy/main/.emacs
.
#!/bin/sh
if [ "$#" -eq 0 ]
then
echo "Starting new Emacs process ..." >&2
emacs -nw
elif emacsclient -t -n "$@" 2> /dev/null
then
echo "Opened $@ in Emacs server" >&2
else
echo "Opening $@ in a new Emacs process ..." >&2
emacs -nw "$@"
fi
Specifically, the -nw
and -t
for emacs
and emacsclient
. I'm just getting started, and I've tested and definitely this is opening files in my existing emacs server. I noticed it wasn't mentioned in the README, so I figure I'd get your input before I settle on it.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.