161 karma · joined November 27, 2014
See texpresso [1] for one solution that does something like this with the LaTeX process.
Another, more conservative solution is the upcoming changes to Org mode's LaTeX previews [2] which can preview live as you type, with no Emacs input lag (Demos [3,4]).
[1] https://github.com/let-def/texpresso
[2] https://abode.karthinks.com/org-latex-preview/
Emacs allows for both (tab-bar-mode vs tab-line-mode).
gptel is designed to do this. It also tries to provide the same interface to local LLMs (via ollama, GPT4All etc) and remote services (ChatGPT, Gemini, Kagi, etc).
Emacs is pretty good in the other direction (can type, can't see) thanks to Emacspeak.
But it's going to be a while before Emacs can catch up in this domain. The display engine can't handle cursorless-style notation, and the tree-sitter integration is not mature yet.
Source: I've tried.
From the NEWS file:
Emacs is now capable of editing files with very long lines. The display of long lines has been optimized, and Emacs should no longer choke when a buffer on display contains long lines.
Where is this, if you don't mind my asking?
Yes. The new fixes don't work by turning off features like so-long-mode does. And they remove the long lines penalty almost completely.
M-x shortdoc-display-group string
Not favorably. Perhaps there's a magic combination of SSH and Tramp settings that can make the experience lag free, but I can't find it. VSCode's remote editing was setup-free and close to seamless when I tried it.
Tramp has support for many, many more remote protocols though.
Outside of edebug I've used `trace-function` and `watch-variable` in the past for this.
The downside of autoloading (lazy loading) all libraries is that there's a hitch when I first open a "heavy" elisp library. A PDF, an org mode document or something that launches an LSP server, say. But if I launch emacs to edit a bash script or a config file the speed is indistinguishable from vim.
The only downside is that you can't embed images in info, so you end up lots of ASCII art flowcharts ava box drawings. But that's true of man pages as well.
My fork with personalizations[2]
Org-mode integration for Krita[3] and Xournal[4]
[1] https://github.com/foxfriday/ink [2] https://github.com/karthink/ink [3] https://github.com/lepisma/org-krita [4] https://gitlab.com/vherrmann/org-xournalpp
The "flow charts" were made in Inkscape. No custom (ya)snippets are in use. (My Emacs configuration is linked to on the home page of the blog, but there isn't anything particularly interesting about it.)
There is a lisp-based tree sitter package that works for now, but there are no plans to add it to the core.
This is built into Emacs (no add-ons needed). Calling undo with a region selected undoes changes only in that region.
[1]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Ov...
The objective and this command are fairly but not completely aligned, so it may require multiple presses of C-x C-SPC. To be clear, you only need to press C-SPC after the first invocation to repeat the command.
C-x C-SPC will pop the global mark which, depending on what you've done in the buffer you're visiting, can pop you right back to where you started, functioning as the equivalent of M-,.
C-x b RET (C-x b with no input) should take you back to the most recently used buffer, which will usually be the buffer you started from.
Not built in: It's also fairly trivial to write some defadvice that stores your point (pre-jump) to a register, so you can jump back to the register with one key.
There's no doubt that it's all ad hoc though. 'd/something' is doable with C-s something RET C-w, but it's already getting tedious in comparison.
It's not a great experience for a PDF with no margins and a complicated layout (like some magazines.)
- It's 10.3", perfect for reading PDFs like scientific papers without being too large to carry around.
- The included reader is stellar, with special modes for reading PDFs, comicbooks, etc.
- The included note-taking app is pretty good and fully featured. It integrates with the reader and there's a side-by-side mode.
- It supports every open format I've tried: PDFs, DJVU, epub, mobi and more. (Haven't tried PS.)
- I can scribble on all document types, including ebooks.
- I can install apps from the app store. In particular this means I can read my Kindle library and Wallabag feed, and...
- with Syncthing syncing is set and forget. When I download a PDF or book on my computer, I simply pick up the tablet and start reading it. Any notes I make are synced back to my laptop.
- Of course, the above is in addition to the standard E-Ink features you'd expect: It lasts for weeks on a charge, the reading experience in bright sunlight is fantastic, it's lighter than an iPad, zero eye strain, etc.
I installed only the software I need for reading and syncing, but there's a lot more you could do with it since the play store and F-droid are available. You can use it as an external monitor, for instance.
Quoted insert is generally useful when you want to enter a specific character that is bound to something other than self-insert, such as a literal newline in a regex pattern.