💾 Archived View for gemini.ctrl-c.club › ~ssb22 › emacs.gmi captured on 2023-07-10 at 14:24:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2024-03-21)

-=-=-=-=-=-=-

Emacs and XEmacs configuration

Here are some Emacs configuration files for low vision (large fonts, saving screen real-estate, and dark backgrounds) with many Emacs features supported.

Due to the number of settings involved, I’ve split them across several files.  You can download all of these files as a gzipped tar archive emacs.tgz and unpack it in your home directory (tar -zxf emacs.tgz), taking care first to save any previous configuration that you want to keep.

emacs.tgz

The above configuration is meant for:

On a Mac in 2020 I was able to install FSF Emacs 27.1 even on old OS X 10.7 via MacPorts’ sudo port install emacs-mac-app, but MacPorts dropped pre-10.10 support for Emacs in 2022 (port upgrade fails without removing the old version). Earlier versions of Emacs had more bugs: there’s a crash in Mac Emacs 23 and 24 (and Aquamacs) involving the menubar and FTP buffers (here’s a patch to 24.3rc3 I submitted); the bug is not present in Emacs 22 (but that lacks some of 23+’s functionality) and was fixed in Emacs 24.4 but that introduced *another* bug (albeit a less serious one) regarding use of the non-leftmost pull-down menus when zoom is in effect, which was still present in various forms as late as 26.1 (the last precompiled binary to work on older 10.7 Macs), but is gone in 27.1 if you can compile that with MacPorts.

patch to 24.3rc3 I submitted

If you are using the even older XEmacs 21, it might occasionally “mess up” the fonts: if that happens, try M-x fix-fonts. Also in XEmacs, if you can’t zoom in, try M-x pc-default-font-bigger or M-x pc-default-font-double (if the result is too big for the screen, M-x smaller-frame, M-x even-smaller-frame or M-x very-small-frame).

Look through the .el files for other user functions and things you can customise.

If you’re on a machine that has only vim, I do also have a .vimrc file.

.vimrc file

Legal

All material © Silas S. Brown unless otherwise stated. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Mac is a trademark of Apple Inc. Windows is a registered trademark of Microsoft Corp. Any other trademarks I mentioned without realising are trademarks of their respective holders.