From af80ae257a3f694be330bda3ba479390b82d4b69 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 14 Nov 2016 15:15:20 +0000 Subject: [PATCH] Notes on emacs --- doc/EN/app_emacs.org | 45 +++++ doc/EN/apps.org | 1 + website/EN/app_emacs.html | 376 ++++++++++++++++++++++++++++++++++++++ website/EN/apps.html | 141 +++++++------- 4 files changed, 494 insertions(+), 69 deletions(-) create mode 100644 doc/EN/app_emacs.org create mode 100644 website/EN/app_emacs.html diff --git a/doc/EN/app_emacs.org b/doc/EN/app_emacs.org new file mode 100644 index 00000000..dbadeb59 --- /dev/null +++ b/doc/EN/app_emacs.org @@ -0,0 +1,45 @@ +#+TITLE: +#+AUTHOR: Bob Mottram +#+EMAIL: bob@freedombone.net +#+KEYWORDS: freedombone, emacs +#+DESCRIPTION: How to use Emacs +#+OPTIONS: ^:nil toc:nil +#+HTML_HEAD: + +#+BEGIN_CENTER +[[file:images/logo.png]] +#+END_CENTER + +#+BEGIN_EXPORT html +
+

Emacs

+
+#+END_EXPORT + +Emacs is a text editor popular with software developers or anyone who needs to take notes at high speed or be able to customise their editing environment to a high degree. When installed on Freedombone it can be used together the Mutt email client to edit new emails or if you need to manually edit configuration files. + +* Installation +Log into your system with: + +#+begin_src bash +ssh myusername@mydomain -p 2222 +#+end_src + +Using cursor keys, space bar and Enter key select *Administrator controls* and type in your password. + +Select *Add/Remove Apps*. If Vim is selected then you might want to unselect and uninstall it first, then select *emacs*. + +* Common key combinations +For anyone new to Emacs some common keys are: + +| CTRL-x CTRL-s | Save | +| CTRL-x CTRL-c | Exit | +| CTRL-l | Go to a line number | +| CTRL-x CTRL-f | Open a file | +| SHIFT-ALT-< | Go to the top of the file | +| SHIFT-ALT-> | Go to the end of the file | +| SHIFT cursors | Select text | +| CTRL-x CTRL-h | Highlight all text | +| ALT-w | Copy selected text | +| CTRL-y | Paste selected text | +| ESC-ESC-ESC | Undo current selection | diff --git a/doc/EN/apps.org b/doc/EN/apps.org index cda4300d..cc19f3f7 100644 --- a/doc/EN/apps.org +++ b/doc/EN/apps.org @@ -31,6 +31,7 @@ A databaseless wiki system. * Emacs If you use the Mutt client to read your email then this will set it up to use emacs for composing new mail. +[[./app_emacs.html][How to use it]] * Etherpad Collaborate on creating documents in real time. Maybe you're planning a holiday with other family members or creating documentation for a Free Software project along with other volunteers. Etherpad is hard to beat for simplicity and speed. Only users of the system will be able to access it. diff --git a/website/EN/app_emacs.html b/website/EN/app_emacs.html new file mode 100644 index 00000000..c5d38771 --- /dev/null +++ b/website/EN/app_emacs.html @@ -0,0 +1,376 @@ + + + + + + + + + + + + + + + + + +
+ +
+
+
+ +
+

logo.png +

+
+
+ +
+

Emacs

+
+ +

+Emacs is a text editor popular with software developers or anyone who needs to take notes at high speed or be able to customise their editing environment to a high degree. When installed on Freedombone it can be used together the Mutt email client to edit new emails or if you need to manually edit configuration files. +

+ +
+

Installation

+
+

+Log into your system with: +

+ +
+
ssh myusername@mydomain -p 2222
+
+
+ +

+Using cursor keys, space bar and Enter key select Administrator controls and type in your password. +

+ +

+Select Add/Remove Apps. If Vim is selected then you might want to unselect and uninstall it first, then select emacs. +

+
+
+ +
+

Common key combinations

+
+

+For anyone new to Emacs some common keys are: +

+ + + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CTRL-x CTRL-sSave
CTRL-x CTRL-cExit
CTRL-lGo to a line number
CTRL-x CTRL-fOpen a file
SHIFT-ALT-<Go to the top of the file
SHIFT-ALT->Go to the end of the file
SHIFT cursorsSelect text
CTRL-x CTRL-hHighlight all text
ALT-wCopy selected text
CTRL-yPaste selected text
ESC-ESC-ESCUndo current selection
+
+
+
+
+ + + + +
+ + diff --git a/website/EN/apps.html b/website/EN/apps.html index fe3d3601..a8e99e87 100644 --- a/website/EN/apps.html +++ b/website/EN/apps.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + @@ -257,9 +257,9 @@ The base install of the system just contains an email server and Mutt client, bu -
-

DLNA

-
+
+

DLNA

+

Enables you to use the system as a music server which any DLNA compatible devices can connect to within your home network.

@@ -269,9 +269,9 @@ Enables you to use the system as a music server which any DLNA compatible device

-
-

Dokuwiki

-
+
+

Dokuwiki

+

A databaseless wiki system.

@@ -281,18 +281,21 @@ A databaseless wiki system.

-
-

Emacs

-
+
+

Emacs

+

If you use the Mutt client to read your email then this will set it up to use emacs for composing new mail.

-
-
-
-

Etherpad

- +
+
+

Etherpad

+

Collaborate on creating documents in real time. Maybe you're planning a holiday with other family members or creating documentation for a Free Software project along with other volunteers. Etherpad is hard to beat for simplicity and speed. Only users of the system will be able to access it.

@@ -302,18 +305,18 @@ Collaborate on creating documents in real time. Maybe you're planning a holiday

-
-

Ghost

-
+
+

Ghost

+

Modern looking blogging system.

-
-

GNU Social

-
+
+

GNU Social

+

Federated social network. You can "remote follow" other users within the GNU Social federation.

@@ -323,9 +326,9 @@ Federated social network. You can "remote follow" other users within the

-
-

Gogs

-
+
+

Gogs

+

Lightweight git project hosting system. You can mirror projects from Github, or if Github turns evil then just host your own projects while retaining the familiar fork-and-pull workflow. If you can use Github then you can also use Gogs.

@@ -335,18 +338,18 @@ Lightweight git project hosting system. You can mirror projects from Github, or

-
-

HTMLy

-
+
+

HTMLy

+

Databaseless blogging system. Quite simple and with a markdown-like format.

-
-

Hubzilla

-
+
+

Hubzilla

+

Web publishing platform with social network like features and good privacy controls so that it's possible to specify who can see which content. Includes photo albums, calendar, wiki and file storage.

@@ -356,9 +359,9 @@ Web publishing platform with social network like features and good privacy contr

-
-

IRC Server (ngirc)

-
+
+

IRC Server (ngirc)

+

Run your own IRC chat channel which can be secured with a password and accessible via an onion address. A bouncer is included so that you can receive messages sent while you were offline. Works with Hexchat and other popular clients.

@@ -368,27 +371,27 @@ Run your own IRC chat channel which can be secured with a password and accessibl

-
-

Jitsi Meet

-
+
+

Jitsi Meet

+

Experimental WebRTC video conferencing system, similar to Google Hangouts. This may not be fully functional, but is hoped to be in the near future.

-
-

Lychee

-
+
+

Lychee

+

Make your photo albums available on the web.

-
-

Mailpile

-
+
+

Mailpile

+

Modern email client which supports GPG encryption.

@@ -398,9 +401,9 @@ Modern email client which supports GPG encryption.

-
-

Mumble

-
+
+

Mumble

+

The popular VoIP and text chat system. Say goodbye to old-fashioned telephony conferences with silly dial codes. Also works well on mobile.

@@ -410,9 +413,9 @@ The popular VoIP and text chat system. Say goodbye to old-fashioned telephony co

-
-

PI-Hole

-
+
+

PI-Hole

+

The black hole for web adverts. Block adverts at the domain name level within your local network. It can significantly reduce bandwidth, speed up page load times and protect your systems from being tracked by spyware.

@@ -422,27 +425,27 @@ The black hole for web adverts. Block adverts at the domain name level within yo

-
-

PostActiv

-
+
+

PostActiv

+

An alternative federated social networking system compatible with GNU Social. It includes some optimisations and fixes currently not available within the main GNU Social project.

-
-

Radicale

-
+
+

Radicale

+

Calendar system compatible with CalDAV and CardDAV. Manage your calendar events easily across all your devices.

-
-

tt-rss

-
+
+

tt-rss

+

Private RSS reader. Pulls in RSS/Atom feeds via Tor and is only accessible via an onion address. Have "the right to read" without the Surveillance State knowing what you're reading. Also available with a user interface suitable for viewing on mobile devices via a browser such as OrFox.

@@ -452,9 +455,9 @@ Private RSS reader. Pulls in RSS/Atom feeds via Tor and is only accessible via a

-
-

Syncthing

-
+
+

Syncthing

+

Possibly the best way to synchronise files across all of your devices. Once it has been set up it "just works" with no user intervention needed.

@@ -464,9 +467,9 @@ Possibly the best way to synchronise files across all of your devices. Once it h

-
-

Tox

-
+
+

Tox

+

Client and bootstrap node for the Tox chat/VoIP system.

@@ -476,18 +479,18 @@ Client and bootstrap node for the Tox chat/VoIP system.

-
-

Vim

-
+
+

Vim

+

If you use the Mutt client to read your email then this will set it up to use vim for composing new mail.

-
-

XMPP

-
+
+

XMPP

+

Chat server which can be used together with client such as Gajim or Conversations to provide end-to-end content security and also onion routed metadata security. Includes advanced features such as client state notification to save battery power on your mobile devices, support for seamless roaming between networks and message carbons so that you can receive the same messages while being simultaneously logged in to your account on more than one device.