From b542c5739902bfd638eb81848b04bcb5d789be57 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 27 Apr 2017 16:20:24 +0100 Subject: [PATCH] Mention emacs mode with postactiv --- doc/EN/app_postactiv.org | 35 +++++++++++ website/EN/app_postactiv.html | 113 +++++++++++++++++++++++++++++++--- 2 files changed, 138 insertions(+), 10 deletions(-) diff --git a/doc/EN/app_postactiv.org b/doc/EN/app_postactiv.org index ea58da05..96d87c4b 100644 --- a/doc/EN/app_postactiv.org +++ b/doc/EN/app_postactiv.org @@ -38,6 +38,41 @@ To see the login password for your site go to *Passwords* on the *Administrator Navigate to your PostActiv domain name and log in. +* Using with Emacs + +#+BEGIN_CENTER +[[file:images/gnu-social-mode.jpg]] +#+END_CENTER + +If you are an Emacs user it's also possible to set up GNU Social mode, which is compatible with PostActiv. You can do that as follows: + +#+begin_src bash :tangle no +mkdir ~/elisp +git clone git://git.savannah.nongnu.org/gnu-social-mode ~/elisp/gnu-social-mode +sed -i 's|"http"|"https"|g' ~/elisp/gnu-social-mode/gnu-social-mode.el +sed -i 's|http:|https:|g' ~/elisp/gnu-social-mode/gnu-social-mode.el +sed -i 's|http?|https?|g' ~/elisp/gnu-social-mode/gnu-social-mode.el +echo "(add-to-list 'load-path \"~/elisp/gnu-social-mode\")" >> ~/.emacs +echo "(require 'gnu-social-mode)" >> ~/.emacs +echo "(setq gnu-social-server-textlimit 2000" >> ~/.emacs +echo " gnu-social-server \"yourpostactivdomain\"" >> ~/.emacs +echo " gnu-social-username \"yourusername\"" >> ~/.emacs +echo " gnu-social-password \"postactivpassword\")" >> ~/.emacs +#+end_src + +And as a quick reference the main keys are: + +| Key | Function | +|---------------+--------------------| +| i | Show icons | +| CTRL-c CTRL-s | Post status update | +| r | Repeat | +| F | Favourite | +| R | Reply to user | +| CTRL-c CTRL-h | Highlight | +| CTRL-c CTRL-r | Show replies | +| CTRL-c CTRL-f | Friends timeline | + * Blocking controls #+BEGIN_CENTER [[file:images/controlpanel/control_panel_blocking.jpg]] diff --git a/website/EN/app_postactiv.html b/website/EN/app_postactiv.html index e5d8c25b..df3863e9 100644 --- a/website/EN/app_postactiv.html +++ b/website/EN/app_postactiv.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + @@ -252,9 +252,9 @@ for the JavaScript code in this tag. PostActiv is a fork of GNU Social which includes some extra fixes and optimisations to improve performance. It federates just like GNU Social does and so whether you choose GNU Social or PostActiv is really just down to personal prefernce.

-
-

Installation

-
+
+

Installation

+

Log into your system with:

@@ -278,9 +278,9 @@ After the install has completed go to Security settings and select Cre
-
-

Initial setup

-
+
+

Initial setup

+

If you have just obtained a Lets Encrypt certificate as above then go to About on the administrator control panel and you should see your Postactiv domain listed there along with an onion address. You can then navigate to your site in a browser.

@@ -295,9 +295,102 @@ Navigate to your PostActiv domain name and log in.
-
-

Blocking controls

-
+
+

Using with Emacs

+
+
+ +
+

gnu-social-mode.jpg +

+
+
+ +

+If you are an Emacs user it's also possible to set up GNU Social mode, which is compatible with PostActiv. You can do that as follows: +

+ +
+
mkdir ~/elisp
+git clone git://git.savannah.nongnu.org/gnu-social-mode ~/elisp/gnu-social-mode
+sed -i 's|"http"|"https"|g' ~/elisp/gnu-social-mode/gnu-social-mode.el
+sed -i 's|http:|https:|g' ~/elisp/gnu-social-mode/gnu-social-mode.el
+sed -i 's|http?|https?|g' ~/elisp/gnu-social-mode/gnu-social-mode.el
+echo "(add-to-list 'load-path \"~/elisp/gnu-social-mode\")" >> ~/.emacs
+echo "(require 'gnu-social-mode)" >> ~/.emacs
+echo "(setq gnu-social-server-textlimit 2000" >> ~/.emacs
+echo "      gnu-social-server \"yourpostactivdomain\"" >> ~/.emacs
+echo "    gnu-social-username \"yourusername\"" >> ~/.emacs
+echo "    gnu-social-password \"postactivpassword\")" >> ~/.emacs
+
+
+ +

+And as a quick reference the main keys are: +

+ + + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
KeyFunction
iShow icons
CTRL-c CTRL-sPost status update
rRepeat
FFavourite
RReply to user
CTRL-c CTRL-hHighlight
CTRL-c CTRL-rShow replies
CTRL-c CTRL-fFriends timeline
+
+
+ +
+

Blocking controls

+