Various fixes.

master
Ambrevar 2012-12-28 14:11:27 +01:00
parent 0bca821b55
commit cac1fe19ed
3 changed files with 17 additions and 10 deletions

View File

@ -46,14 +46,21 @@
(require 'mediawiki)
;; TODO: make it 'customize' independant.
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(mediawiki-site-alist (quote (("Wikipedia" "http://en.wikipedia.org/w/" "Ambrevar" "" "Main Page") ("Wikibooks" "http://en.wikibooks.org/w/" "Ambrevar" "" "LaTeX") ("ArchLinux" "https://wiki.archlinux.org/" "Ambrevar" "" "Mutt")))))
;; TODO: make it 'customize' independant.
;; The url-cookie timer is set to a high value because it seems that once the
;; cookie is saved, MediaWiki fails to upload files correctly. TODO: does not
;; work.
(custom-set-variables
'(mediawiki-site-alist
(quote
(
("Wikipedia" "http://en.wikipedia.org/w/" "Ambrevar" "" "Main Page")
("Wikibooks" "http://en.wikibooks.org/w/" "Ambrevar" "" "LaTeX")
("ArchLinux" "https://wiki.archlinux.org/" "Ambrevar" "" "Mutt"))
))
'(url-cookie-save-interval 86400)
)
(setq mediawiki-mode-hook (lambda ()
(visual-line-mode 1)

View File

@ -6,4 +6,4 @@
<source lang="latex">
$1
</source>
$0
$0

View File

@ -82,8 +82,8 @@ folder-hook '$my_ac_work' 'source ~/.mutt/$my_ac_work'
folder-hook '$my_ac_university' 'source ~/.mutt/$my_ac_university'
## Switch to default account on startup
# source "~/.mutt/$my_ac_university"
source "~/.mutt/$my_ac_personal"
source "~/.mutt/$my_ac_university"
# source "~/.mutt/$my_ac_personal"
# source "~/.mutt/$my_ac_work"
## Keys