Skip to content
Display real time BART departures in Emacs!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.org
bart-mode.el
screenshot.png

README.org

bart-mode provides long awaited access to real-time BART departure information from within Emacs:

./screenshot.png

Install

Available from Melpa package repository.

Or to install manually, clone this repo and in your config file:

(add-to-list 'load-path "path/to/bart-mode")
(require 'bart-mode)

Configure

The default station can be set with bart-station which must be set to a recognized station abbreviation. For example, to set your default station to civic center:

(setq bart-station 'civc)

The complete list of abbreviations can be viewed by using M-x describe-variable on bart-stations

By default the bart buffer is displayed with display-buffer. The option bart-manage-window can be used to display the bart window similar to how the calc window is displayed. This is disabled by default, to enable:

(setq bart-manage-window t)

These options, and others, may also be set using customize: M-x customize-group and selecting the bart group

Usage

To view real time bart departures:

M-x bart

supported key commands:

sselect another station
gupdate
qquit
atoggle station abbreviation

API key

Bart-mode comes with the public API key. If BART revokes this key due to abuse you may have to register for your own at http://api.bart.gov/api/register.aspx

You can’t perform that action at this time.