Open with Emacs in same window

/usr/local/bin/myemacs:

#!/bin/bash

# how many emacs?
NUM_EMACS=$(emacsclient -e "(length (frame-list))" -a "") if [$NUM_EMACS -le 1 ]; then
emacsclient -c -e "(progn (select-frame-set-input-focus (selected-frame)) (find-file \"\$@\"))"
else
emacsclient -e "(progn
»
• Welcome to the new look Inane Observations! And a trip down memory lane

A slightly belated welcome from me to the new look Inane Observations blog! The new theme has been created from scratch, using resources from the Jekyll Minima theme, and aims to be clean, minimalist and responsive. In accordance with this style, the tagline has also… »

• DRM Round-up: Q3 2018

Today is the International Day Against DRM, and it seems a fitting time for my first quarterly DRM round-up: In the spirit of IDAD, I have a policy of refusing to purchase any eBooks encumbered with DRM, which I observe strictly. My frustration has grown… »

• Listen

Listen. Strange people standing in polling centres distributing ballot papers is no basis for a system of government. Supreme executive power derives from a mandate from a constitutional council, not from some farcical psephological ceremony.

This message brought to you by Republicans for the McGarvie»

• Why are the D'Hondt (quotient) and Jefferson (quota) methods equivalent?

The D'Hondt method/Jefferson method is a highest averages voting system (or apportionment method). While D'Hondt is usually described using successive division to calculate various quotients, Jefferson is usually described using a quota. It is known that the two systems produce the same results, but why?… »

• Hacking the Kobo Clara HD – 5: Setting up SSH

Last time, we set up telnet on the Clara HD and set up the USB network interface. Now we will extend this to enable SSH on the device.

Unfortunately, unlike telnet, the Clara HD does not ship with any SSH binaries, so we will… »