UP| HOME

Emacs Literate Package Additions

Table of Contents

1About this file

This is an Emacs literate package file and is meant to compliment my configuration, as well as the init.el. It contains the basic structure along with some data about each package and why it’s needed. This is to be used in tandem with the define-package!function in config.org.

Since it’s primarily aimed at doom-emacslet’s add their comments.

;; 
-*- no-byte-compile: t; -*-
;;; 
~/.config/doom/packages.el

1.1About that TOC..

So as mentioned herethere is trouble when org-exporttries to create files while keeping the org-toctag.

It’s not really a problem since org-exportactually generates a TOC for the files anyway.

1.2The properties

Basically, the properties set imply that the file is to be tangled for every block and moreover the output directory is the doom-private-dir. It’s practically self explanatory but still.

The filename is determined by the SRCblock languages.

2Aesthetic Packages

2.1Dired Icons

Since treemacs already uses all-the-iconsit is silly to not use them in dired, from the all-the-icons wiki.

(
package! all-the-icons-dired
)

2.2Wakatime

Not exactly aesthetic, but yeah, for stats.

(
package! 
wakatime-mode
)

3LATER Magit Additions

These basically allow for TODOs in magit along with enhanced github integration. These have been added upstream in develop.

(
package! magit-org-todos
)
(
package! magithub
)
(
package! magit-todos
)

Actually magit-todoshas been added upstream which collates all todoitems. There might still be workflows where magit-org-todosis useful since that displays a global todo.orgfile.

4 DONEKey Chords and Keybindings

It turns out that the switch to general.elis both inevitable (doom version 2.1) and very rational. However, I really can’t wait. So.. This is a stop gap solution.

(
package! general
)
  • Remove when it’s merged upstream

5Evil Colemak

I guess I just gave up, from here. Read about why here. The visual line mode setup leverages this package.

(
package! evil-colemak-basics
)
(
package!
evil-better-visual-line
)

6Firestarter

For running shell commands on-save.

(
package! 
firestarter
)

7Org Additions

The new ones need to be covered in the config.orgfile with the appropriate keybindings. The notes are described here.

7.1Org Download

Now I load it here since I don’t use +attach.

(
package! org-download
  
:recipe 
(
:host github
            
:repo 
"abo-abo/org-download"
)
)

7.2LATER Org Drill

The actual repohas not been updated in 3 years, so I must use this fork.

(
package! org-drill
  
:recipe 
(
:host github
            
:repo 
"hakanserce/org-drill"
)
)

7.3Org Protocol Updates

This needs to be installed specially, from this repo.

(
package!
org-protocol-capture-html
  
:recipe 
(
:host github
           
:repo 

"alphapapa/org-protocol-capture-html"
)
)

7.4 TODOOrg Noter

This is sort of more of a pdf-toolsextension and it needs it’s own biblatexsetup and stuff as well so this might move into a tree of it’s own.

(
package! org-noter
)

This actually breaks the pdf-toolsbindings.

7.5Org Ref

This is probably not the best thing in my current setup.. Now part of the init.elsetup.

(
package! org-ref
)

7.6Org Mind Map

Not on MELPA yet. From here.

(
package! org-mind-map
  
:recipe 
(
:host github
            
:repo 
"theodorewiles/org-mind-map"
)
)

7.7Org Rifle

Technically a helm addition. Perfect for monolithic orgfiles. More details here.

(
package! helm-org-rifle
)

7.8Org Async

We will use this.

(
package!
org-babel-eval-in-repl
)

7.9Anki Mode

This is put here since it only works with org-modestuff.

(
package! anki-editor
)

7.10Org Re-Reveal Ref

An extensionto org-re-reveal-ref.

(
package! org-re-reveal-ref
)

7.11Org Roam Bibtex

This should be a part of the main +roamsetup, but until then.

(
package! org-roam-bibtex
)

8Dockerfile Mode

For syntax highlighting and inline builds. From spotifyweirdly. ## -*- docker-image-name: "your-image-name-here" -*-can be used to specify the image name.

(
package! dockerfile-mode
)

9Reference Management

9.0.1Zotero

There are a bunch of zoterointegrations for emacs, most notably, zotelo, but they don’t seem to be all that well mantained. Zotxtseems to be updated pretty often though.

(
package! zotxt
)

10Syntax Highlighting

These are additionally required to work with the sort of files I use often. The configuration and settings are as usual in config.org

10.1Tup Mode

Because honestly there isn’t anything better than tup. Who doesn’t need a build system which scales with the eye of Mordor?

(
package! tup-mode
:recipe 
(
:host github
           
:repo 
"ejmr/tup-mode"
)
)

10.1.1LATER Caveats

The repo is unmaintained so I ought to fork it and take a look into maintaining it.

10.2SaltStack Mode

I have recently decided that saltstackought to be used for working on multiple systems.

(
package! salt-mode
:recipe 
(
:host github
         
:repo 
"glynnforrest/salt-mode"
)
)

10.3PKGBUILD Mode

No point using emacsif I can’t get highlighting for all my needs. This needs some extra configuration. Must figure out if this is well mantained. The developer is very responsive to pull requests and the like.

(
package! pkgbuild-mode
  
:recipe 
(
:host github
            
:repo 
"juergenhoetzel/pkgbuild-mode"
)
)

10.4LAMMPS Mode

This could do with some updates. Will look into this soon. Also it takesunbearably long this way. Must figure out how to stop it from downloading the whole repo.Mantained by menow.

(
package! lammps-mode
  
:recipe 
(
:host github
                    
:repo 
"HaoZeke/lammps-mode"
)
)

10.5Pug Mode

I just like pugs.

(
package! pug-mode
)

10.6Nix Mode

For building more cross-os stuff. This is the official package, but will look into binding and using nix-emacsas well.

(
package! nix-mode
)

10.7JVM Languages

Currently the languages I care about (apart from Java) are:

; 
Kotlin > Java
(
package! kotlin-mode
)
; 
Groovy -> Testing
(
package! groovy-mode
)

10.8Systemd Mode

Since I use a lot of user systemd units, it makes sense to have pretty highlighting.

(
package! systemd
)

10.9Dart Mode

Might eventually want to also get the companion dart serversometime, but for now this syntax-highlighter will do. Might actually want to see if prettierhas anything for it.

(
package! dart-mode
)

10.10Wolfram Mode

Actually wolfram-modeseems to be able to do more than just syntax highlighting, but at the moment I just need font-locking.

(
package! wolfram-mode
)

10.11Polymode

For working with .Rmdfiles and better orgmodeR support.

(
package! poly-R
)
(
package! poly-org
)

11Flycheck Additions

11.1MELPA Helper

This is for linting files before submitting to MELPA.

(
package! package-lint
)
(
package! flycheck-package
)

12Snippets

These are from hlissner.

12.1Doom

(
package! emacs-snippets
  
:recipe 
(
:host github
           
:repo 
"hlissner/emacs-snippets"
           
:files 
(
"*"
)
)
)

12.2Standard

These are from the official snippets repo.

(
package! yasnippet-snippets
  
:recipe 
(
:host github
           
:repo 

"AndreaCrotti/yasnippet-snippets"
           
:files 
(
"*"
)
)
)

13Math support

I like cdlatex.

(
package! cdlatex
)

Date: 2020:04:09

Author: Rohit Goswami (HaoZeke) <rohit.goswami@aol.com>

Created: 2020-06-14 Sun 16:06