An Emacs major mode for writing BBCode