Commit a742e5855fed
Changed files (5)
.emacs.d/ac-comphist.dat
@@ -0,0 +1,2 @@
+((("org-bullets" .
+ [0 0 0 0 0 0 1 0 0 0 0])))
.emacs.d/el-get.conf.el
@@ -9,7 +9,11 @@
:description "org html export for text/html MIME emails"
:type http
:url "https://raw.github.com/jwiegley/org-mode/release_7.9.3f/contrib/lisp/org-mime.el")
-
+ (:name org-bullets
+ :description "utf-8 bullets for org-mode"
+ :type github
+ :pkgname "sabof/org-bullets"
+ :website "https://github.com/sabof/org-bullets")
(:name git-modes
:description "GNU Emacs modes for various Git-related files"
:type github
@@ -119,6 +123,7 @@
;;gnus-identities ; Manipulate Gnus identities
;; org stuff
org-mime
+ org-bullets
;; Misc
znc ; znc
gist ; gist integration
.emacs.d/init.el
@@ -81,3 +81,15 @@
'listen)))
(unless (server-running-p server-name)
(server-start))))
+(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.
+ '(org-agenda-files (quote ("~/desktop/documents/org/xgbi.org"))))
+(custom-set-faces
+ ;; custom-set-faces 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.
+ )
.emacs.d/org-protocol.conf.el
@@ -0,0 +1,17 @@
+;; Setup org-protocol with XDG
+(let ((desktop-file (expand-file-name "~/.local/share/applications/emacsclient.desktop")))
+ (unless (file-exists-p desktop-file)
+ (with-temp-file desktop-file
+ (insert "[Desktop Entry]
+Name=Emacs Client
+Exec=emacsclient %u
+Icon=emacs-icon
+Type=Application
+Terminal=false
+MimeType=x-scheme-handler/org-protocol;
+"))
+ (call-process "update-desktop-database" nil nil nil (file-name-directory desktop-file))
+ (call-process "xdg-mime" nil nil nil "default" "emacsclient.desktop" "x-scheme-handler/org-protocol")))
+
+;; Here is the associated bookmarklet:
+;; javascript:location.href='org-protocol://store-link://'+encodeURIComponent(location.href)+'/'+encodeURIComponent(document.title)+'/'+encodeURIComponent(window.getSelection())
.emacs.d/org.conf.el
@@ -0,0 +1,27 @@
+(require 'dash)
+(require 's)
+
+(setq
+ org-completion-use-ido t ; use IDO for completion
+ ; org-startup-indented t ; indent by default
+ org-tags-column -70 ; align tags on the 70th columns
+ org-hide-leading-stars t ; don't show leading stars
+ org-cycle-separator-lines 0 ; don't show blank lines between collapsed trees
+ org-src-fontify-natively t ; fontify code blocks
+ org-edit-src-content-indentation 0 ; don't indent source blocks
+ org-catch-invisible-edits 'error ; don't edit invisible text
+)
+
+;; Todo keywords
+(setq org-todo-keywords
+ '((sequence "TODO(t)" "NEXT(n)" "SOMEDAY(S!)" "PROGRESS(p)" "|" "DONE(d!)")
+ (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)")))
+
+;; Use bullets
+(require 'org-bullets)
+(add-hook 'org-mode-hook
+ '(lambda ()
+ (org-bullets-mode 1)))
+
+(require 'org-protocol)
+(require 'org-mime)