Oddmuse Curl is a fork of a very old revision of Oddmuse Mode. Use it to edit Oddmuse wikis such as Emacs Wiki.
Cool features:
- VC integration
- Preview
C-c C-b
– browse this page in a web browserC-c C-c
– post the changes you madeC-c C-e
– edit a pageC-c C-f
– follow a linkC-c C-h
– look at the history of the page you are editingC-c C-i
– insert an existing page name (avoiding typos)C-c C-m
– toggle posting minor changes (often people will make a big change and continue fixing later typos using minor changes)C-c C-n
– create a new page with the current date as the default page name (useful for blogging)C-c C-p
– preview the current pageC-c C-r
– list recent changes to the wikiC-c C-s
– search the wikiC-c C-t
– insert HTML tagC-x C-v
– revert your changesC-x v l
– look at /all/ past changes of the page you are editingC-x v =
– look at the diff of what you will be postingC-x v u
– revert you changes
;;; Oddmuse
(setq oddmuse-username "AlexSchroeder")
(add-to-list 'auto-mode-alist '("/Users/alex/.emacs.d/oddmuse" . oddmuse-mode))
(autoload 'oddmuse-edit "oddmuse-curl"
"Edit a page on an Oddmuse wiki." t)
(add-to-list 'vc-handled-backends 'oddmuse)
(defun vc-oddmuse-registered (file)
"Handle files in `oddmuse-directory'."
(string-match (concat "^" (expand-file-name oddmuse-directory))
(file-name-directory file)))
Adding to vc-handled-backends
and the definition of
vc-oddmuse-registered
would be part of autoloads, if this file was
distributed with Emacs. As it stands, you could instead (require 'vc-oddmuse)
. It’s just that I want to keep my Emacs startup speed
down and that’s why I don’t.