Hacker News new | ask | show | jobs
by ValentinPearce 1216 days ago
Just need to find a way to setup doom-emacs on android and then I'm good to go !
4 comments

For those playing along at home, here's where I got to with doom emacs -

- You can't just "git clone" doom emacs using a rooted termux, because /data/data/org.gnu.emacs/ is read-only.

- So it seems that you have to use the emacs process. I went to buffers -> scratch to get a keyboard, and then used https://f-droid.org/en/packages/juloo.keyboard2/ to `M-x shell`.

- You don't have `git` in this shell, but you can still download doomemacs from github using

  curl -LJO https://github.com/doomemacs/doomemacs/archive/refs/heads/master.zip
- and `unzip` the archive, moving it into place.

- .emacs.d/bin/doom is just a shell script, so you can invoke installation with

- `sh .emacs.d/bin/doom install`

- This is where I left off, for this script fails with "`emacs` not found on path".

All-in-all, a very, very exciting release! I hope somebody else manages to hack this.

I'll be eagerly following developments about this :)
Have you tried doing it however doom gets installed normally?

I tried emacs via termux and it gobbled up the opulent spacemacs without issues.

I just couldn't find a way to associate it with certain file types or even just to create i shortcut opening a specific file.

doom emacs on termux is great ! I might try forcing a doom install through termux but if I can find a "cleaner" way, I'd rather do that. The main problem I expect to have is the lack of git outside of termux
Yeah, I don't know where it stores its configuration directory. Also, the on-screen keyboard keeps disappearing, and I can't find a way to keep it on all the time.
I have a physical keyboard that I intend to have with me most of the time (a bluetooth ferris sweep that fits in my pocket when packed) so that part is solved, the config part is slightly more complicated
Evil-droid, or android-mode ;)