Update syntax to meet the clisp linter standards.

This commit is contained in:
Josiah Ledbetter 2021-03-02 16:26:47 -06:00
parent e66ff74035
commit 21c6a35b92
3 changed files with 34 additions and 12 deletions

View File

@ -1,10 +1,14 @@
(setq inhibit-splash-screen t) ; Disable the splash screen
;; (when (version<= "26.0.50" emacs-version )
;; (global-display-line-numbers-mode)); show line numbers; use this instead of linum if you can
;;; jlj-generic.el --- generic changes that don't fit in a general category go here -*- lexical-binding: t -*-
;;; Commentary:
;; this file is messy by default, because its just a bucket
;; i.e. "this doesn't have a real category, so lets put it here."
;;; Code:
(global-visual-line-mode t) ; turn on word-wrap globally
(setq case-fold-search t) ; ignore case when searching
(fset 'yes-or-no-p 'y-or-n-p) ; make it easier to answer qs.
;; set default font
(set-frame-font "fira code 12")
(add-to-list 'default-frame-alist '(font . "fira code 12" ))
@ -19,7 +23,7 @@
(find-file "~/Sync/Documents/org/personal.org") ;open primary org file on launch
(electric-pair-mode 1) ; create paired brackets.
;; themes
;; experiemtning with the modus themes that will be native come emacs 28
;; they are more acciessble for r/g color blind stuff
;; (load-theme 'manoj-dark) loads my favorite default theme
@ -220,7 +224,6 @@
(progn
(global-set-key [f8] 'neotree-toggle)))
(server-start)
;;; jlj-generic.el ends here

View File

@ -1,3 +1,10 @@
;;; jlj-org.el --- Customize my org setup -*- lexical-binding: t -*-
;;; Commentary:
;; Anything that customizes org-mode goes here.
;; this could probably be cleaned up more but its fine for now.
;;; Code:
;; Initialise installed packages
(use-package org
:ensure t
:config
@ -117,9 +124,9 @@
;; org mode hack for screenshots; see org mode hacks page.
(defun my-org-screenshot ()
"Take a screenshot into a time stamped unique-named file in the
same directory as the org-buffer and insert a link to this file.
reference: https://orgmode.org/worg/org-hacks.html
"Take a screenshot and save a file.
The file is saved into a time stamped unique-named file in the same directory as the buffer.
Then insert a link to this file.reference: https://orgmode.org/worg/org-hacks.html
dependency: this relies on imagemagick"
(interactive)
(setq filename
@ -141,7 +148,7 @@ dependency: this relies on imagemagick"
;; force source blocks to respect the proper indentation.
(setq org-src-preserve-indentation nil
(setq org-src-preserve-indentation nil
org-edit-src-content-indentation 0)
;; calender integration
@ -155,3 +162,5 @@ dependency: this relies on imagemagick"
:inbox "~/Sync/Documents/org/fromworkcal.org")))
(setq org-icalendar-timezone "America/Chicago"))
;;; jlj-org.el ends here

View File

@ -1,9 +1,17 @@
;;; jlj-python.el --- python customizations -*- lexical-binding: t -*-
;;; Commentary:
;; pylint is required (pip install pylint)
;; pep8 (pip install pep8)
;; don't use python-mode because JESUS. CHRIST. it throws everything off.
;; don't use python-mode because JESUS. CHRIST. it throws everything off.
;; using jedi requires virtualenv to be installed
;; pipenv is mostly acceptable but i could not make a full IDE experience happen
;;; Code:
;; Initialise installed packages
(use-package pipenv
:ensure t)
@ -53,3 +61,5 @@
(venv-initialize-interactive-shells) ;; if you want interactive shell support
(venv-initialize-eshell) ;; if you want eshell support
(setq venv-location "~/.local/share/virtualenvs/"))
;;; jlj-python.el ends here