Lint more Elisp files, delete others

I may regret this, but I delete Ocaml and ReasonML modules; I can alway restore
them thanks to Git.

Added more ceremony to other modules to appease the linting gods.
This commit is contained in:
William Carroll 2020-08-31 15:57:34 +01:00
parent 1e253a756b
commit 2a51698672
12 changed files with 41 additions and 77 deletions

View file

@ -40,8 +40,6 @@
(require 'wpc-shell) (require 'wpc-shell)
(require 'wpc-lisp) (require 'wpc-lisp)
(require 'wpc-haskell) (require 'wpc-haskell)
(require 'wpc-reasonml)
;; (require 'wpc-ocaml)
(require 'wpc-elixir) (require 'wpc-elixir)
(require 'wpc-nix) (require 'wpc-nix)
(require 'wpc-rust) (require 'wpc-rust)

View file

@ -1,5 +1,9 @@
;;; misc.el --- Hosting miscellaneous configuration -*- lexical-binding: t -*- ;;; wpc-misc.el --- Hosting miscellaneous configuration -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com> ;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1
;; Package-Requires: ((emacs "25.1"))
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
;;; Commentary: ;;; Commentary:
;; This is the home of any configuration that couldn't find a better home. ;; This is the home of any configuration that couldn't find a better home.
@ -196,11 +200,11 @@
(setq vc-follow-symlinks t) (setq vc-follow-symlinks t)
;; fullscreen settings ;; fullscreen settings
(defvar ns-use-native-fullscreen nil) (setq ns-use-native-fullscreen nil)
(use-package yasnippet (use-package yasnippet
:config :config
(setq yas-snippet-dirs '("~/.emacs.d/snippets/")) (setq yas-snippet-dirs (list (f-join user-emacs-directory "snippets")))
(yas-global-mode 1)) (yas-global-mode 1))
(use-package projectile (use-package projectile

View file

@ -1,5 +1,9 @@
;;; wpc-nix.el --- Nix support -*- lexical-binding: t -*- ;;; wpc-nix.el --- Nix support -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com> ;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1
;; Package-Requires: ((emacs "25.1"))
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
;;; Commentary: ;;; Commentary:
;; Configuration to support working with Nix. ;; Configuration to support working with Nix.

View file

@ -1,41 +0,0 @@
;;; wpc-ocaml.el --- My OCaml preferences -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com>
;;; Commentary:
;; Tooling support for OCaml development.
;;
;; Dependencies:
;; - `opam install tuareg`
;; - `opam install merlin`
;; - `opam install user-setup && opam user-setup install`
;; - `opam install ocamlformat`
;;; Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Dependencies
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'prelude)
(require 'f)
(defconst opam-user-setup
(f-join user-emacs-directory "opam-user-setup.el")
"File for the OPAM Emacs integration.")
(prelude/assert (f-file? opam-user-setup))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Configuration
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package tuareg
:config
(add-hook-before-save 'tuareg-mode-hook #'ocamlformat-before-save))
;; ocamlformat
(require 'opam-user-setup opam-user-setup)
(require 'ocamlformat)
(provide 'wpc-ocaml)
;;; wpc-ocaml.el ends here

View file

@ -1,5 +1,9 @@
;;; org.el --- My org preferences -*- lexical-binding: t -*- ;;; wpc-org.el --- My org preferences -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com> ;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1
;; Package-Requires: ((emacs "24.1"))
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
;;; Commentary: ;;; Commentary:
;; Hosts my org mode preferences ;; Hosts my org mode preferences

View file

@ -1,5 +1,9 @@
;;; package.el --- My package configuration -*- lexical-binding: t -*- ;;; wpc-package.el --- My package configuration -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com> ;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1
;; Package-Requires: ((emacs "24.1"))
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
;;; Commentary: ;;; Commentary:
;; This module hosts all of the settings required to work with ELPA, ;; This module hosts all of the settings required to work with ELPA,

View file

@ -1,5 +1,9 @@
;;; wpc-prolog.el --- For Prologging things -*- lexical-binding: t -*- ;;; wpc-prolog.el --- For Prologging things -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com> ;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1
;; Package-Requires: ((emacs "24"))
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
;;; Commentary: ;;; Commentary:
;; Code configuring my Prolog work. ;; Code configuring my Prolog work.

View file

@ -1,5 +1,9 @@
;;; wpc-python.el --- Python configuration -*- lexical-binding: t -*- ;;; wpc-python.el --- Python configuration -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com> ;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1
;; Package-Requires: ((emacs "24"))
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
;;; Commentary: ;;; Commentary:
;; My Python configuration settings ;; My Python configuration settings

View file

@ -1,29 +0,0 @@
;;; wpc-reasonml.el --- My ReasonML preferences -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com>
;;; Commentary:
;; Tooling support for ReasonML development.
;;
;; Dependencies:
;; - `opam install tuareg`
;; - `opam install merlin`
;; - `opam install user-setup`
;; - `opam install ocamlformat`
;;; Code:
;; ReasonML configuration
(use-package reason-mode
:config
(add-hook-before-save 'reason-mode-hook #'refmt-before-save))
;; ReasonML LSP configuration
(lsp-register-client
(make-lsp-client :new-connection (lsp-stdio-connection (f-full "~/programming/dependencies/reason-language-server"))
:major-modes '(reason-mode)
:notification-handlers (ht ("client/registerCapability" 'ignore))
:priority 1
:server-id 'reason-ls))
(provide 'wpc-reasonml)
;;; wpc-reasonml.el ends here

View file

@ -1,5 +1,9 @@
;;; wpc-rust.el --- Support Rust language -*- lexical-binding: t -*- ;;; wpc-rust.el --- Support Rust language -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com> ;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1
;; Package-Requires: ((emacs "24"))
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
;;; Commentary: ;;; Commentary:
;; Supports my Rust work. ;; Supports my Rust work.

View file

@ -1,5 +1,9 @@
;;; wpc-shell.el --- POSIX Shell scripting support -*- lexical-binding: t -*- ;;; wpc-shell.el --- POSIX Shell scripting support -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com> ;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1
;; Package-Requires: ((emacs "24"))
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
;;; Commentary: ;;; Commentary:
;; Helpers for my shell scripting. Includes bash, zsh, etc. ;; Helpers for my shell scripting. Includes bash, zsh, etc.

View file

@ -1,5 +1,9 @@
;;; wpc-ui.el --- Any related to the UI/UX goes here -*- lexical-binding: t -*- ;;; wpc-ui.el --- Any related to the UI/UX goes here -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com> ;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1
;; Package-Requires: ((emacs "24"))
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
;;; Commentary: ;;; Commentary:
;; Hosts font settings, scrolling, color schemes. ;; Hosts font settings, scrolling, color schemes.