summaryrefslogtreecommitdiffstats
path: root/content/posts/emacs-on-android-setup/index.org
diff options
context:
space:
mode:
authorDante Catalfamo2020-09-12 13:57:22 -0400
committerDante Catalfamo2020-09-12 13:57:22 -0400
commit5183d7fb05d8b09022aa917d9b026c71ca5b13b5 (patch)
tree9da959dc69e6e7f53543f07b62f4b2c0159a75a3 /content/posts/emacs-on-android-setup/index.org
parent07f83a3e786cdb82d8b7fedf9d7e0edc015893e0 (diff)
downloadblog-5183d7fb05d8b09022aa917d9b026c71ca5b13b5.tar.gz
blog-5183d7fb05d8b09022aa917d9b026c71ca5b13b5.tar.bz2
blog-5183d7fb05d8b09022aa917d9b026c71ca5b13b5.zip
emacs-termux: update scripts, work on writing
Diffstat (limited to 'content/posts/emacs-on-android-setup/index.org')
-rw-r--r--content/posts/emacs-on-android-setup/index.org38
1 files changed, 28 insertions, 10 deletions
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