Follow

Emacs on Android guide and overview 

Install Termux from the emacs Sourceforge first for userland tools. Your emacs app will share a shared app user id and signature with Termux to access its applications with a path variable in a shared home directory, so you get them both built from the same source to avoid package signature conflicts. You cannot do this with the F-Droid version of either app. Make sure your new Termux environment from sourceforge is up to date before you install emacs.

Next check out the README from sourceforge.net/projects/andro
for further instructions. But basically grab a Termux apk and a Emacs apk from the "termux" directory in this sourceforge project for your android version. The command 'uname -m' in an adb shell will tell you your device architecture. Install and setup Termux first, then emacs. Allow management of all files in both apps with app info. Configure emacs early-init config like the README tells you, and viola. Here is a screenshot showing It works, in my current emacs phone config. You pinch zoom to resize text per buffer, and the menus work on touchscreen. Keyboard pops up when a buffer is writeable, and can be configured to be always visible. You can have modifier key mode bar buttons too.
:emacs: 📲

· Edited · · Tusky · 2 · 3 · 3

re: Emacs on Android guide and overview 

I think in terms of my emacs-phone-config I am going to be extending the functionality of the dropdown menus I usually have disabled in my normal config. That way I can bind all my common actions to touch screen menu buttons instead of bound keybinds. I might use gestures to close/create/resize windows after I look more into the docs. With the sourceforge build I should have a better experience bootstrapping certain melpa packages and editing my config to add buttons and hooks for them all. I've found that setting initial-buffer-choice to "/storage/emulted/0" (dired buffer of your Android user documents) is an excellent default choice, since accessing the emacs home dir is just "~" anyways.

bad 

@thufie does this work through waydroid

bad 

@nimona that's how I plan on testing it from here on out until I get it fleshed out, actually. lmao.

indirect benefits of a debianish userspace on my arch install :P

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.