Skip to content

Small Emacs package for the Belgian railway system

Notifications You must be signed in to change notification settings

detvdl/railtime.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Railtime.el - Belgian Railtime info in Emacs

DISCLAIMER: This is currently a personal project that I will not be maintaining on a regular basis.

Usage

  1. Make sure your Emacs configuration has all of this package’s dependencies installed. json.el, mm-uu.el and url.el should come with any recent Emacs version. bui.el can be installed with M-x package-install bui
  2. Put railtime.el somewhere in your load-path
  3. Run the following lines of code in your *Scratch*-buffer
(require 'railtime)
(setq rt--default-connection-from "Brussels"
      rt--default-connection-to "Antwerp"
      rt--default-language 'en ;; choice from '(nl en de fr)
)
(rt-connections)

You will be prompted for a from station, a to station, whether you’re seaching on departure or arrival times, a time string and a date. The stations will be pre-filled with the placeholder default value if you defined it with the above setq commands.

Todo

A lot

About

Small Emacs package for the Belgian railway system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published