summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bookmarks8
-rw-r--r--custom-settings.el13
-rw-r--r--init.el52
-rw-r--r--org-clock-save.el1
4 files changed, 45 insertions, 29 deletions
diff --git a/bookmarks b/bookmarks
index f519512..72c9bcc 100644
--- a/bookmarks
+++ b/bookmarks
@@ -13,8 +13,8 @@
(rear-context-string . " Personal Tasks\n")
(position . 1001))
("org-capture-last-stored"
- (filename . "~/Nextcloud/org/todo.org")
- (front-context-string . "* TODO Read late")
- (rear-context-string . "2020-01-02 Thu>\n")
- (position . 5562))
+ (filename . "~/Nextcloud/org/journal.org")
+ (front-context-string . "**** Been to the")
+ (rear-context-string . "-01-11 Saturday\n")
+ (position . 4657))
) \ No newline at end of file
diff --git a/custom-settings.el b/custom-settings.el
index 88f914f..063e8cd 100644
--- a/custom-settings.el
+++ b/custom-settings.el
@@ -4,11 +4,11 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(TeX-after-compilation-finished-functions (quote TeX-revert-document-buffer) t)
- '(TeX-auto-save t t)
- '(TeX-master nil t)
- '(TeX-parse-self t t)
- '(TeX-view-program-list (quote (("pdf-tools" "TeX-pdf-tools-sync-view"))) t)
- '(TeX-view-program-selection (quote ((output-pdf "pdf-tools"))) t)
+ '(TeX-auto-save t)
+ '(TeX-master nil)
+ '(TeX-parse-self t)
+ '(TeX-view-program-list (quote (("pdf-tools" "TeX-pdf-tools-sync-view"))))
+ '(TeX-view-program-selection (quote ((output-pdf "pdf-tools"))))
'(ansi-color-faces-vector
[default default default italic underline success warning error])
'(ansi-color-names-vector
@@ -76,6 +76,9 @@
'(nrepl-message-colors
(quote
("#CC9393" "#DFAF8F" "#F0DFAF" "#7F9F7F" "#BFEBBF" "#93E0E3" "#94BFF3" "#DC8CC3")))
+ '(org-modules
+ (quote
+ (ol-bbdb ol-bibtex ol-docview ol-eww ol-gnus org-habit ol-info ol-irc ol-mhe ol-rmail ol-w3m)))
'(org-sort-agenda-notime-is-late nil)
'(package-selected-packages
(quote
diff --git a/init.el b/init.el
index 2b0d2ba..3374f33 100644
--- a/init.el
+++ b/init.el
@@ -220,29 +220,30 @@
(use-package elfeed
:config
(setq elfeed-feeds
- '("http://feeds.bbci.co.uk/news/rss.xml?edition=uk"
+ '(("http://feeds.bbci.co.uk/news/rss.xml?edition=uk" news)
"https://www.feedspot.com/?followfeedid=4946040"
- "http://feeds.bbci.co.uk/news/technology/rss.xml"
- "http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/rugby_union/rss.xml"
- "http://feeds.bbci.co.uk/news/video_and_audio/politics/rss.xml"
- "https://feeds.feedburner.com/arstechnica/open-source"
- "https://www.computerweekly.com/rss/IT-security.xml"
- "https://www.fsf.org/static/fsforg/rss/news.xml"
- "https://www.reddit.com/r/freebsd.rss"
- "https://www.reddit.com/r/emacs.rss"
- "https://www.reddit.com/r/rugbyunion/.rss"
- "http://pragmaticemacs.com/feed/"
- "https://200ok.ch/atom.xml"
+ ("http://feeds.bbci.co.uk/news/technology/rss.xml" tech news)
+ ("https://dominiccummings.com/rss.xml" blog tech)
+ ("http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/rugby_union/rss.xml" rugby)
+ ("http://feeds.bbci.co.uk/news/video_and_audio/politics/rss.xml" news)
+ ("https://feeds.feedburner.com/arstechnica/open-source" opensource)
+ ("https://www.computerweekly.com/rss/IT-security.xml" cyber)
+ ("https://www.fsf.org/static/fsforg/rss/news.xml" opensource)
+ ("https://www.reddit.com/r/freebsd.rss" bsd)
+ ("https://www.reddit.com/r/emacs.rss" emacs)
+ ("https://www.reddit.com/r/rugbyunion/.rss" rugby)
+ ("http://pragmaticemacs.com/feed/" emacs)
+ ("https://200ok.ch/atom.xml" emacs)
"https://www.youtube.com/feeds/videos.xml?channel_id=UCkK9UDm_ZNrq_rIXCz3xCGA"
"https://www.youtube.com/feeds/videos.xml?channel_id=UCFzGyNKXPAglNq28qWYTDFA"
"https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA"
- "http://www.linuxinsider.com/perl/syndication/rssfull.pl"
- "http://planet.debian.org/rss20.xml"
- "http://feeds2.feedburner.com/Command-line-fu"
- "https://opensource.org/news.xml"
- "https://feeds.feedburner.com/arstechnica/index"
- "https://www.wired.com/feed/rss"
- "https://sivers.org/en.atom")))
+ ("http://www.linuxinsider.com/perl/syndication/rssfull.pl" linux)
+ ("http://planet.debian.org/rss20.xml" debian linux)
+ ("http://feeds2.feedburner.com/Command-line-fu" linux)
+ ("https://opensource.org/news.xml" opensource)
+ ("https://feeds.feedburner.com/arstechnica/index" news tech)
+ ("https://www.wired.com/feed/rss" news tech)
+ ("https://sivers.org/en.atom" blog))))
;; recentf
(use-package recentf
@@ -559,7 +560,13 @@
(setq reb-re-syntax 'string))
;; reduce size of images in eww
-(setq shr-max-image-proportion 0.2)
+(setq shr-max-image-proportion 0.4)
+
+;; reset 'r' to go forward in eww
+(add-hook 'eww-mode-hook
+ (lambda ()
+ (define-key eww-mode-map "r"
+ 'eww-forward-url)))
;; org mode config
(use-package org
@@ -568,11 +575,14 @@
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(global-set-key "\C-cc" 'org-capture)
+ (setq org-clock-persist 'history)
+ (org-clock-persistence-insinuate)
(setq org-sort-agenda-notime-is-late nil)
(setq org-agenda-span 'day)
(setq org-directory "~/Nextcloud/org")
(setq org-agenda-files (quote ("~/Nextcloud/org/todo.org"
"~/Nextcloud/org/projects.org"
+ "~/Nextcloud/org/habits.org"
"~/Nextcloud/org/dft.org"
"~/Nextcloud/org/calendar/home-cal.org"
"~/Nextcloud/org/calendar/work-cal.org")))
@@ -584,6 +594,7 @@
(setq org-agenda-skip-deadline-if-done t)
(setq org-agenda-skip-scheduled-if-done t)
(setq org-reverse-note-order t)
+ (setq org-habit-graph-column 35)
(setq org-sort-agenda-notime-is-late nil)
(setq org-archive-location "~/Nextcloud/org/archive.org::* From %s")
@@ -595,6 +606,7 @@
'(("N" "Agenda and NEXT TODOs" ((agenda "") (todo "NEXT")))
("a" "Agenda and All TODOS" ((agenda "") (alltodo "")))
("w" "Agenda and WAITING" ((agenda "") (todo "WAITING")))
+ ("h" "Agenda and @home" ((agenda "") (tags-todo "@home") (tags-todo "read")))
("W" "Agenda and @work" ((agenda "") (tags-todo "@work")))))
(define-key global-map "\C-cc" 'org-capture)
(setq org-capture-templates
diff --git a/org-clock-save.el b/org-clock-save.el
new file mode 100644
index 0000000..44a713c
--- /dev/null
+++ b/org-clock-save.el
@@ -0,0 +1 @@
+;; org-clock-save.el - grafter at <2020-01-12 Sun 16:09>