Commit dced0272bc

dced0272bc92b4e3d26fa110011905ba71894901

parent: 51561ee1d6

Unsigned

cmc <hello@cleberg.net> · 2024-07-11 20:48 UTC

add draft post for emacs on ipad

Layout: unified · split

content/blog/2024-07-11-emacs-on-ipad.md added +56
@@ -0,0 +1,56 @@
1+++
2date = 2024-07-11T20:24:02
3title = "Emacs on iPadOS"
4description = "Learn how to install and use Emacs on the Apple Silicon iPad natively."
5draft = true
6+++
7
8This post describes the process to install and use Emacs on the iPad Air 13-inch
9(M2). The iPad used in this post is running iPadOS 17.6.
10
11## Shell Application
12
13In order to use Emacs on an iPad, you will need a terminal emulator application.
14I recommend [iSH](https://apps.apple.com/us/app/ish-shell/id1436902243), since
15it runs a version of Alpine Linux within the app itself and will allow you to
16install packages that you need.
17
18![iSH App](https://img.cleberg.net/blog/20240711-emacs-on-ipad/)
19
20## Require Packages
21
22I started by adding the required packages directly within iSH. Emacs should
23install dependencies by default, but I include a few other packages that I use
24in my terminal as well.
25
26```sh
27apk add emacs ripgrep fd findutils
28```
29
30![Package Installation](https://img.cleberg.net/blog/20240711-emacs-on-ipad/)
31
32## Emacs
33
34Once this is complete, you should be able to run Emacs natively on your iPad.
35It's fairly effective, but can be slow at times.
36
37I attempted to also install Doom Emacs, which technically worked, but was so
38incredibly slow and buggy that I was not even able to take screenshots. Someone
39smarter than me could likely get it to work with a little tinkering.
40
41![Emacs](https://img.cleberg.net/blog/20240711-emacs-on-ipad/)
42
43### Annoyances
44
45While Emacs is running at this point, it's not perfect. There is no `.emacs`
46file by default, installing a framework like Doom seemed to be too much, and
47some utilities and packages are missing from the bare Alpine installation.
48
49There also seems to be a problem getting a wider selection of packages from
50MELPA, but you can see below that a handful of readily-available packages. I
51likely just need to change my configuration for MELPA, but I did not explore
52this area further.
53
54You can test this out yourself with `M-x package-install <search-termœ>`.
55
56![package-install](https://img.cleberg.net/blog/20240711-emacs-on-ipad/)