Read this: Allows running other applications from emacs. For example, browsers.
Sometimes a 'read-only' text property is stuck, and we cannot edit a file. This is the reason.
Json mode in emacs 29.1 seems to always place text as read only, and not let edit: “Text is read-only“. This describes the fix: (let ((inhibit-read-only t)) (set-text-properties (point-min) (point-max) ()))
Use emacs --daemon=your-server-name -l “custom-init-file“ to start a new server and emacsclient -nw -s your-server-name to connect to it from the terminal itself. The section on Using Emacs as a server in the manual has more initialization options.
emacs-devel bugs and discussion
Eshell commands for init.el
Report GNU emacs bugs including eshell here
Use shebang + exec emacs --script to run emacs code as a shell script but also as emacs code, for example load-file #! /bin/sh “:“; exec emacs --no-site-file --script “$0“ -- “$@“ # -*-emacs-lisp-*- (print (+ 2 2))
Start here, and click on “Practical elisp“ or “Lisp Basics“. Menu on the left
Also describes how to use eshell commands for finding etc.
Leaf in emacs provides a better configuration and package loading in init.el. It is intended as plugin replacement for use-package.
Lsp mode is Emacs IDE. Tree view on the left