Hacker Public Radio

HPR3918: Emacs package curation, part 3


Listen Later

We discuss the packages installed in the second of three files that
make up my emacs config.
Since recording, I pulled in some EXWM (the Emacs X Window Manager,
that's right), even though I'm not actually using it, I'm still using
stumpWM.
I have also added pass, the password manager, khardel, an emacs
package for the khard CLI address book application.
I also moved (server-start) to this file, so that it'll only happen
when I'm on linux.
;;; init-extra.el --- Extra init stuff
;;; Commentary:
;;; Stuff just for my personal laptop, not for my work laptop or termux, for example.
;;; Code:
;;;;;;;;;;;;;;;;
;;; org-roam ;;;
;;;;;;;;;;;;;;;;
(use-package org-roam
:demand t
:straight (:host github :repo "org-roam/org-roam"
:files (:defaults "extensions/*"))
:custom (org-roam-mode-sections (list #'org-roam-backlinks-section
#'org-roam-reflinks-section
#'org-roam-unlinked-references-section))
:init (setq org-roam-directory "~/org/roam/"
org-roam-capture-templates
'(("o" "outline" plain
"%?"
:if-new
(file+head "${slug}.org" "#+title: ${title}n#+filetags: :outline:n")
:immediate-finish t
:unnarrowed t)
("r" "reference" plain "%?"
:if-new
(file+head "${slug}.org" "#+title: ${title}n")
:immediate-finish t
:unnarrowed t)
("m" "memo" entry "* ${title}n%?"
:if-new
(file "memos.org")
:immediate-finish t
:unnarrowed t)))
:bind (("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
("C-c n g" . org-roam-graph)
("C-c n i" . org-roam-node-insert)
("C-c n c" . org-roam-capture)
;; Dailies
("C-c n j" . org-roam-dailies-capture-today))
:config
;; If you're using a vertical completion framework, you might want a more informative completion interface
(setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
(org-roam-db-autosync-mode)
;; If using org-roam-protocol
(require 'org-roam-protocol))
;; citations
(use-package citar
:after org-roam
:custom (org-cite-insert-processor 'citar)
(org-cite-follow-processor 'citar)
(org-cite-activate-processor 'citar)
(citar-bibliography '("~/org/biblio.bib"))
(citar-notes-paths '("~/org/roam"))
(citar-file-note-extensions '("org"))
:hook (LaTeX-mode . citar-capf-setup)
(org-mode . citar-capf-setup)
:bind (("C-c n b" . #'citar-open-notes)
:map org-mode-map :package org
("C-c b" . #'org-cite-insert)))
;; view your org-roam notes on a map
(use-package org-roam-ui
:after org-roam
:custom (org-roam-ui-sync-theme t)
(org-roam-ui-follow t)
(org-roam-ui-update-on-save t)
(org-roam-ui-open-on-start t))
;; archive web pages in org attachments
(use-package org-board
:after org
:custom (org-board-default-browser #'browse-url)
(org-board-property "ROAM_REFS")
:bind (:map org-mode-map
("C-c B a" . org-board-archive)
("C-c B o" . org-board-open)
("C-c B D" . org-board-delete-all)))
;;;;;;;;;;;;;;;
;;; Writing ;;;
;;;;;;;;;;;;;;;
; something like
...more
View all episodesView all episodes
Download on the App Store

Hacker Public RadioBy Hacker Public Radio

  • 4.2
  • 4.2
  • 4.2
  • 4.2
  • 4.2

4.2

34 ratings


More shows like Hacker Public Radio

View all
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

289 Listeners

Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec by Jerry Bell and Andrew Kalat

Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec

373 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

268 Listeners

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast) by Johannes B. Ullrich

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast)

653 Listeners

Curious Cases by BBC Radio 4

Curious Cases

829 Listeners

The Strong Towns Podcast by Strong Towns

The Strong Towns Podcast

422 Listeners

Late Night Linux by The Late Night Linux Family

Late Night Linux

164 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,044 Listeners

Cybersecurity Today by Jim Love

Cybersecurity Today

181 Listeners

CISO Series Podcast by David Spark, Mike Johnson, and Andy Ellis

CISO Series Podcast

189 Listeners

TechCrunch Daily Crunch by TechCrunch

TechCrunch Daily Crunch

42 Listeners

Strict Scrutiny by Crooked Media

Strict Scrutiny

5,799 Listeners

2.5 Admins by The Late Night Linux Family

2.5 Admins

98 Listeners

Cyber Security Headlines by CISO Series

Cyber Security Headlines

139 Listeners

What the Hack? by DeleteMe

What the Hack?

221 Listeners