From 5183d7fb05d8b09022aa917d9b026c71ca5b13b5 Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Sat, 12 Sep 2020 13:57:22 -0400 Subject: emacs-termux: update scripts, work on writing --- content/posts/emacs-on-android-setup/index.org | 38 +++++++++++++++++++------- 1 file changed, 28 insertions(+), 10 deletions(-) (limited to 'content/posts') diff --git a/content/posts/emacs-on-android-setup/index.org b/content/posts/emacs-on-android-setup/index.org index e017416..970be53 100644 --- a/content/posts/emacs-on-android-setup/index.org +++ b/content/posts/emacs-on-android-setup/index.org @@ -47,9 +47,15 @@ installs all the required packages and dependencies without requiring my intervention. Because I host my blog's contents in a git repository as well, I'm -also able to clone that and work on it using the =hugo= package. I can -even run the development server in a =shell= buffer in Emacs and check -out how the post I'm writing looks in Firefox, all on the tablet. +also able to clone that and work on it using the =hugo= package. + +#+BEGIN_SRC shell +pkg install hugo +#+END_SRC + +I can even run the development server in a =shell= buffer in Emacs and +check out how the post I'm writing looks in Firefox, all on the +tablet. From there I'm able to much of the same things as I do anywhere else. For writing C, I installed =clang= and =gdb=, which are both @@ -74,20 +80,32 @@ Setting up =rclone= to work with my nextcloud instance is incredibly easy and only took me a minute using [[https://rclone.org/webdav/][this]] guide from the =rclone= website. -Both scripts are incredibly simple, consisting of a single line each. +Both scripts are incredibly simple, consisting mainly of a single line each. =nextcloud-pull.sh= #+BEGIN_SRC shell #!/bin/sh -rclone sync -P -i nextcloud:Org Org +echo +echo "############################" +echo "## PULLING FROM NEXTCLOUD ##" +echo "############################" +echo + +rclone sync -i nextcloud:Org Org #+END_SRC =nextcloud-push.sh= #+BEGIN_SRC shell #!/bin/sh -rclone sync -P -i Org nextcloud:Org +echo +echo "##########################" +echo "## PUSHING TO NEXTCLOUD ##" +echo "##########################" +echo + +rclone sync -i Org nextcloud:Org #+END_SRC There's even a spectacular third-party repository called [[https://github.com/its-pointless/its-pointless.github.io][its-pointless]], @@ -95,10 +113,10 @@ which provides tools which aren't available in the main Termux repo. Perhaps most importantly from an Emacs perspective, they provice -=ecl=. Thanks to this, I'm able to have a full interactive Common Lisp -development environment on my tablet. There's something about that I -find really cool! Of course because of the nature of how =ecl= works, -the first time I launched =sly=, it took a couple seconds while =ecl= +=ecl=. Because to this, I'm able to have a full interactive Common +Lisp development environment on my tablet. There's something about +that I find really cool! Of course because of how =ecl= works, the +first time I launched =sly= it took a couple seconds while =ecl= compiled everything. Something which is important to note is that even though it's not -- cgit v1.2.3