.emacs.d/init.el
This commit is contained in:
parent
91d5bae6f3
commit
5cfcc802d2
1 changed files with 9 additions and 2 deletions
|
@ -238,6 +238,7 @@ DOT are intentionally being skipped."
|
||||||
|
|
||||||
(defun oni:html-mode-func ()
|
(defun oni:html-mode-func ()
|
||||||
"Function for `html-mode-hook'."
|
"Function for `html-mode-hook'."
|
||||||
|
(yas-minor-mode)
|
||||||
(fci-mode))
|
(fci-mode))
|
||||||
|
|
||||||
(defun oni:indent-shift-left (start end &optional count)
|
(defun oni:indent-shift-left (start end &optional count)
|
||||||
|
@ -413,6 +414,10 @@ code. Found at http://xahlee.org/emacs/elisp_parse_time.html"
|
||||||
(end-of-line)))
|
(end-of-line)))
|
||||||
(end-of-line))))
|
(end-of-line))))
|
||||||
|
|
||||||
|
;; (defun oni:mu4e-view-mode-func ()
|
||||||
|
;; "Function for `mu4e-view-mode-hook'."
|
||||||
|
;; (longlines-mode))
|
||||||
|
|
||||||
(defun oni:myepisodes-formatter (plist)
|
(defun oni:myepisodes-formatter (plist)
|
||||||
"Format RSS items from MyEpisodes as org tasks.
|
"Format RSS items from MyEpisodes as org tasks.
|
||||||
PLIST contains all the pertinent information."
|
PLIST contains all the pertinent information."
|
||||||
|
@ -442,7 +447,8 @@ When dealing with braces, add another line and indent that too."
|
||||||
(defun oni:org-mode-func ()
|
(defun oni:org-mode-func ()
|
||||||
"Function for `org-mode-hook'."
|
"Function for `org-mode-hook'."
|
||||||
(flyspell-mode)
|
(flyspell-mode)
|
||||||
(auto-fill-mode))
|
(auto-fill-mode)
|
||||||
|
(yas-minor-mode))
|
||||||
|
|
||||||
(defun oni:php-mode-func ()
|
(defun oni:php-mode-func ()
|
||||||
"Function for `php-mode-hook'."
|
"Function for `php-mode-hook'."
|
||||||
|
@ -897,7 +903,7 @@ for easy selection."
|
||||||
(setq org-feed-alist
|
(setq org-feed-alist
|
||||||
'(("MyEpisodes"
|
'(("MyEpisodes"
|
||||||
"http://www.myepisodes.com/rss.php?feed=mylist&uid=Slash&pwdmd5=04028968e1f0b7ee678b748a4320ac17"
|
"http://www.myepisodes.com/rss.php?feed=mylist&uid=Slash&pwdmd5=04028968e1f0b7ee678b748a4320ac17"
|
||||||
"~/documents/org/org" "MyEpisodes"
|
"~/documents/org/tasks" "MyEpisodes"
|
||||||
:formatter oni:myepisodes-formatter)))
|
:formatter oni:myepisodes-formatter)))
|
||||||
(setq org-hide-emphasis-markers t)
|
(setq org-hide-emphasis-markers t)
|
||||||
(setq org-outline-path-complete-in-steps t)
|
(setq org-outline-path-complete-in-steps t)
|
||||||
|
@ -981,6 +987,7 @@ for easy selection."
|
||||||
(add-hook 'magit-log-edit-mode-hook 'oni:magit-log-edit-mode-func)
|
(add-hook 'magit-log-edit-mode-hook 'oni:magit-log-edit-mode-func)
|
||||||
(add-hook 'markdown-mode-hook 'oni:markdown-mode-func)
|
(add-hook 'markdown-mode-hook 'oni:markdown-mode-func)
|
||||||
(add-hook 'message-mode-hook 'oni:message-mode-func)
|
(add-hook 'message-mode-hook 'oni:message-mode-func)
|
||||||
|
;; (add-hook 'mu4e-view-mode-hook 'oni:mu4e-view-mode-func)
|
||||||
(add-hook 'org-mode-hook 'oni:org-mode-func)
|
(add-hook 'org-mode-hook 'oni:org-mode-func)
|
||||||
(add-hook 'php-mode-hook 'oni:php-mode-func)
|
(add-hook 'php-mode-hook 'oni:php-mode-func)
|
||||||
(add-hook 'prog-mode-hook 'oni:prog-mode-func)
|
(add-hook 'prog-mode-hook 'oni:prog-mode-func)
|
||||||
|
|
Loading…
Reference in a new issue