This is a slightly belated post about the release of beorg - a new iOS Org-mode app. I’m going to admit to being a relative newcomer to Emacs and Org-mode. Whilst I’ve toyed with Emacs over the years I stuck with Vim since first using it at university in the late 1990s. The concept and polished implementation of Org-mode lead me finally to reconsider Emacs as my main editing environment1 a few months back.
NOTE: borg (now called beorg) is on the App Store! Read about version 1 If use Org-mode and have an iPhone carry on reading. As you know Org-mode is a fantastic plaintext based system for outlining, task planning, authoring and more. Many people, myself included, started using Emacs because of Org-mode. You are probably also aware that there is an iOS Org-mode app called MobileOrg. It allows for sync and editing of your org files on your iOS device.
Workflow is a fantastic app, recently acquired by Apple, which allows users to create their own iOS mini apps. It is a great way of automating common tasks and adding custom functionality to your iPhone. In this blog post we are going to use Workflow to create Today Widgets to: Open a specific Trunk Notes page Quickly capture some text and append it to a Trunk Notes pages In order to follow this blog post get started by installing Workflow onto your device - it’s free.
Trunk Notes 4.7.0 is now on the App Store. A minor change in this release is that images are not always shown at the full width of the screen, greater for smaller images or if you want to specify a size. The main change is the update to the Markdown parser. In this blog post I’m going to review some of the new Markdown features. Trunk Notes uses the Markdown parser Discount, an excellent C library written by David Parsons.
I remember about 18 months ago, seeing an app development company’s website which promised bug free apps. As an experienced software developer I know that such a claim is a very bold one to make. A mobile app is a piece of software just like Microsoft Office, Photoshop or Windows 10 - in most cases much less complex, however a piece of software nonetheless. If you are someone who has ever used Microsoft Office, Photoshop or Windows 10 you will know that bugs do exist in these products.
The Trunk Notes manual gives a partial example of using Lua to automatically switch your wiki to a night mode. The idea is that at night your wiki will use light text on a dark background to make reading easier. This blog post is going to give a more complete description of how to achieve this. To start with you need to create a special stylesheet to use at night. Anything defined here will be added to the default stylesheet.
If I need some work done on my car or house I generally have no idea how much it’s going to cost. Unless I get a number of different quotes, I feel a bit in the dark as to whether I’m getting good value for money. The same would be true if it involved many areas in which I have limited or no knowledge. For many people having software developed is just the same.
Lua is a great way to really make your Trunk Notes wiki your own. If you have done some programming before then Lua is quite easy to pick up. This week I had a question from someone wanting to create their own settings page. The page would have checkboxes which could then be read by a Lua script run on each page load. Doing this is fairly straightforward. To start with create a new page containing your checkboxes.
One of my clients produces heritage and tourism apps and I’ve been lucky enough to work on a number of these for him. Recently he came to me needing some help adding custom/offline mapping support to one of his Android apps. He had a map image he’d licensed and needed it to work largely offline in addition to already implemented mapping using the Google Maps SDK. This is quite a text heavy article and could use some images.
I’ve been asked recently for more tutorials on using Lua with Trunk Notes, and this morning I was asked: “I want to include the previous page at the top of my current page.” Using Lua this is an easy ability to add in Trunk Notes. The starting point is working out how to get access to the last page. Trunk Notes has a function history which returns a certain number of page titles that have been browsed recently.