]> jturnerusa.dev Git - emacs.d/log
emacs.d
20 months agosetup flycheck to use best-side-window for displaying errors
John Turner [Sat, 4 Nov 2023 22:17:06 +0000 (18:17 -0400)]
setup flycheck to use best-side-window for displaying errors

20 months agodisable auto-save-mode
John Turner [Sat, 4 Nov 2023 22:16:46 +0000 (18:16 -0400)]
disable auto-save-mode

20 months agoconfigure some libraries to use xdg directories to store state
John Turner [Sat, 4 Nov 2023 22:07:54 +0000 (18:07 -0400)]
configure some libraries to use xdg directories to store state

21 months agocreate library fmt
John Turner [Mon, 23 Oct 2023 22:50:46 +0000 (18:50 -0400)]
create library fmt

21 months agocreate use-package expression for dired
John Turner [Mon, 23 Oct 2023 22:46:54 +0000 (18:46 -0400)]
create use-package expression for dired

21 months agofix whitespace insertion
John Turner [Mon, 23 Oct 2023 22:44:49 +0000 (18:44 -0400)]
fix whitespace insertion

21 months agouse user-full-name as default value for license-boilerplate-copyright-author
John Turner [Mon, 23 Oct 2023 22:21:20 +0000 (18:21 -0400)]
use user-full-name as default value for license-boilerplate-copyright-author

21 months agoset user-full-name
John Turner [Mon, 23 Oct 2023 22:20:42 +0000 (18:20 -0400)]
set user-full-name

21 months agoremove clang-format library
John Turner [Mon, 23 Oct 2023 22:20:24 +0000 (18:20 -0400)]
remove clang-format library

22 months agocreate lisp library clang-format
John Turner [Mon, 25 Sep 2023 09:50:16 +0000 (05:50 -0400)]
create lisp library clang-format

22 months agoset license-boilerplate-copyright-author variable
John Turner [Mon, 25 Sep 2023 09:49:24 +0000 (05:49 -0400)]
set license-boilerplate-copyright-author variable

22 months agonew use-package for c-ts-mode
John Turner [Mon, 25 Sep 2023 09:48:47 +0000 (05:48 -0400)]
new use-package for c-ts-mode

22 months agoconditionally configure treesitter modes if their parsers are avail
John Turner [Mon, 25 Sep 2023 09:48:09 +0000 (05:48 -0400)]
conditionally configure treesitter modes if their parsers are avail

22 months agotypo
John Turner [Mon, 25 Sep 2023 08:59:16 +0000 (04:59 -0400)]
typo

22 months agofix syntax
John Turner [Tue, 12 Sep 2023 05:23:04 +0000 (01:23 -0400)]
fix syntax

22 months agocreate package sh-script
John Turner [Tue, 12 Sep 2023 04:46:07 +0000 (00:46 -0400)]
create package sh-script

22 months agocreate package ebuild-mode
John Turner [Tue, 12 Sep 2023 04:45:49 +0000 (00:45 -0400)]
create package ebuild-mode

22 months agoupdate eglot-rust-dir-locals.el
John Turner [Tue, 12 Sep 2023 04:45:02 +0000 (00:45 -0400)]
update eglot-rust-dir-locals.el

22 months agofixup
John Turner [Tue, 12 Sep 2023 04:43:53 +0000 (00:43 -0400)]
fixup

22 months agoadd functions to toggle remote local variables
John Turner [Tue, 12 Sep 2023 04:42:47 +0000 (00:42 -0400)]
add functions to toggle remote local variables

22 months agoadd /root/bin to tramp-remote-path
John Turner [Tue, 12 Sep 2023 04:42:05 +0000 (00:42 -0400)]
add /root/bin to tramp-remote-path

22 months agoincrease tramp-timeout to one hour
John Turner [Tue, 12 Sep 2023 04:41:49 +0000 (00:41 -0400)]
increase tramp-timeout to one hour

22 months agofixup
John Turner [Tue, 12 Sep 2023 04:41:22 +0000 (00:41 -0400)]
fixup

22 months agodisable emacs lockfiles
John Turner [Tue, 12 Sep 2023 04:40:26 +0000 (00:40 -0400)]
disable emacs lockfiles

22 months agorequire 'site-gentoo first
John Turner [Tue, 12 Sep 2023 04:40:08 +0000 (00:40 -0400)]
require 'site-gentoo first

22 months agouse best-side-window for flymake diagnostics buffers
John Turner [Tue, 12 Sep 2023 04:38:46 +0000 (00:38 -0400)]
use best-side-window for flymake diagnostics buffers

22 months agocreate library "best-side-window"
John Turner [Tue, 12 Sep 2023 04:37:11 +0000 (00:37 -0400)]
create library "best-side-window"

2 years agotypo in load-path variable in toggle-local-vars use-package expr
John Turner [Mon, 17 Jul 2023 03:41:40 +0000 (23:41 -0400)]
typo in load-path variable in toggle-local-vars use-package expr

2 years agosetup ts modes in the treesit use-package expression
John Turner [Mon, 17 Jul 2023 03:38:07 +0000 (23:38 -0400)]
setup ts modes in the treesit use-package expression

python-ts-mode and bash-ts-mode are not packages or features, so
we can't use them in a use-package expression.

Since we can't create use-package expressions for them, just set
up the requires variables in the treesit use-package expression.

2 years agoactivate pixel-scoll-mode regardless of display-graphic-p
John Turner [Mon, 17 Jul 2023 03:36:21 +0000 (23:36 -0400)]
activate pixel-scoll-mode regardless of display-graphic-p

2 years agoset default font in init.el
John Turner [Mon, 17 Jul 2023 03:35:53 +0000 (23:35 -0400)]
set default font in init.el

2 years agodon't use custom.el
John Turner [Mon, 17 Jul 2023 03:35:41 +0000 (23:35 -0400)]
don't use custom.el

2 years agorequire site-gentoo
John Turner [Mon, 17 Jul 2023 03:34:35 +0000 (23:34 -0400)]
require site-gentoo

2 years agofixup
John Turner [Sun, 16 Jul 2023 05:24:15 +0000 (01:24 -0400)]
fixup

2 years agoconverted init code to use use-package
John Turner [Sun, 16 Jul 2023 04:45:01 +0000 (00:45 -0400)]
converted init code to use use-package

2 years agoupdate eglot-rust-dir-locals.el
John Turner [Sun, 25 Jun 2023 01:39:40 +0000 (21:39 -0400)]
update eglot-rust-dir-locals.el

2 years agocreate library for reloading libraries while working
John Turner [Sun, 25 Jun 2023 01:38:52 +0000 (21:38 -0400)]
create library for reloading libraries while working

2 years agoadd require for reload-library
John Turner [Sun, 25 Jun 2023 01:37:49 +0000 (21:37 -0400)]
add require for reload-library

2 years agotry to visit symlink for initial-buffer
John Turner [Sun, 25 Jun 2023 01:37:14 +0000 (21:37 -0400)]
try to visit symlink for initial-buffer

2 years agoreadded eglot init module
John Turner [Fri, 28 Apr 2023 02:19:44 +0000 (22:19 -0400)]
readded eglot init module

2 years agouse "env" to set env vars in rust-cargo-bin
John Turner [Sun, 2 Apr 2023 03:24:39 +0000 (23:24 -0400)]
use "env" to set env vars in rust-cargo-bin

2 years agocreated toggle-local-vars lisp script
John Turner [Sun, 2 Apr 2023 03:24:08 +0000 (23:24 -0400)]
created toggle-local-vars lisp script

2 years agocreated check-init.el script
John Turner [Sun, 26 Mar 2023 04:17:24 +0000 (00:17 -0400)]
created check-init.el script

2 years agodon't track custom.el
John Turner [Sun, 26 Mar 2023 02:59:29 +0000 (22:59 -0400)]
don't track custom.el

2 years agorm'd some pattern from ibuffer-never-show-list
John Turner [Sat, 25 Mar 2023 07:37:45 +0000 (03:37 -0400)]
rm'd some pattern from ibuffer-never-show-list

2 years agonever forgot command history
John Turner [Sat, 25 Mar 2023 07:36:19 +0000 (03:36 -0400)]
never forgot command history

2 years agoshow server socket name in modeline
John Turner [Sat, 25 Mar 2023 07:35:46 +0000 (03:35 -0400)]
show server socket name in modeline

2 years agouse early-init.el to allow setting native comp cache dir
John Turner [Sat, 25 Mar 2023 07:28:06 +0000 (03:28 -0400)]
use early-init.el to allow setting native comp cache dir

Some of the init.el setup code moved to early-init.el to allow loading
our init modules in early init.

Loading the native comp init module in init.el set the cache directory variable
too late and resulted in the original directory still being populated
with eln files.

2 years agorm'd early-init.el from gitignore (it ignores everything by default)
John Turner [Sat, 25 Mar 2023 07:26:15 +0000 (03:26 -0400)]
rm'd early-init.el from gitignore (it ignores everything by default)

2 years agorm'd eglot config, it has all the servers I use setup by default now
John Turner [Sat, 25 Mar 2023 07:24:16 +0000 (03:24 -0400)]
rm'd eglot config, it has all the servers I use setup by default now

2 years agodir-locals.el configured to use rust-mode features in rust-ts-mode
John Turner [Sat, 25 Mar 2023 07:22:02 +0000 (03:22 -0400)]
dir-locals.el configured to use rust-mode features in rust-ts-mode

2 years agocleaned up treesitter setup script
John Turner [Wed, 25 Jan 2023 03:37:48 +0000 (22:37 -0500)]
cleaned up treesitter setup script

2 years agoadded some treesitter setup stuff
John Turner [Tue, 24 Jan 2023 05:37:25 +0000 (00:37 -0500)]
added some treesitter setup stuff

2 years agoenabled safe directory variables! useful for peeking into git repos!
John Turner [Fri, 23 Dec 2022 02:36:17 +0000 (21:36 -0500)]
enabled safe directory variables! useful for peeking into git repos!

2 years agodefined lisp and scheme program names
John Turner [Fri, 23 Dec 2022 02:35:41 +0000 (21:35 -0500)]
defined lisp and scheme program names

2 years agoset the elisp debugger to edebug
John Turner [Fri, 23 Dec 2022 02:35:15 +0000 (21:35 -0500)]
set the elisp debugger to edebug

2 years agoadded require? macro for requring optional libraries
John Turner [Fri, 23 Dec 2022 02:34:40 +0000 (21:34 -0500)]
added require? macro for requring optional libraries

2 years agocreated some small functions to insert license headers into buffers
John Turner [Fri, 23 Dec 2022 02:31:26 +0000 (21:31 -0500)]
created some small functions to insert license headers into buffers

2 years agocreated init-pixel-scroll.el
John Turner [Fri, 23 Dec 2022 02:30:58 +0000 (21:30 -0500)]
created init-pixel-scroll.el

2 years agoadded visual-line-mode to compile-mode-hook
John Turner [Fri, 23 Dec 2022 02:28:49 +0000 (21:28 -0500)]
added visual-line-mode to compile-mode-hook

2 years agoadded visual-line-mode to ielm-mode-hook
John Turner [Fri, 23 Dec 2022 02:27:05 +0000 (21:27 -0500)]
added visual-line-mode to ielm-mode-hook

2 years agodeleted old themes, created new badgar theme
John Turner [Fri, 23 Dec 2022 02:23:54 +0000 (21:23 -0500)]
deleted old themes, created new badgar theme

Themes in Emacs can be loaded on top of each other, allowing to easily
customize or override aspects of other themes, which I did not realize
at the time of creating the custom-wombat theme! Badgar adds a few
small tweaks, like setting highlight-indentation colors, making the
fringe match the background, and highlighting the current line when
using line-number-mode.

2 years agoadded code to append ~/.emacs.d modules to load-path automatically
John Turner [Thu, 17 Nov 2022 03:02:11 +0000 (22:02 -0500)]
added code to append ~/.emacs.d modules to load-path automatically

This code automatically generates the directories for our
init and lisp modules in ~/.emacs.d/ and appends them to
"load-path".

2 years agocreated a mode-line init module and new mode-line format
John Turner [Thu, 17 Nov 2022 02:30:07 +0000 (21:30 -0500)]
created a mode-line init module and new mode-line format

2 years agodisabled filter groups
John Turner [Thu, 17 Nov 2022 02:15:59 +0000 (21:15 -0500)]
disabled filter groups

2 years agooverride "TMPDIR" environment variable for all cargo commands
John Turner [Thu, 17 Nov 2022 02:11:10 +0000 (21:11 -0500)]
override "TMPDIR" environment variable for all cargo commands

Rustdoc does not respect "CARGO_TARGET_DIR" and instead uses "TMPDIR"
or /tmp. On systems that mount /tmp with "noexec" this breaks doc
tests, since they can't be executed.

2 years agoinit/keys/init-keys: kill buffers without prompt by default
John Turner [Wed, 9 Nov 2022 04:38:59 +0000 (23:38 -0500)]
init/keys/init-keys: kill buffers without prompt by default

2 years agoactivate modes at the bottom of init.el or in the assoc init module
John Turner [Sat, 22 Oct 2022 02:58:55 +0000 (22:58 -0400)]
activate modes at the bottom of init.el or in the assoc init module

2 years agorenamed man-wrapper to man-completion
John Turner [Sat, 22 Oct 2022 02:57:24 +0000 (22:57 -0400)]
renamed man-wrapper to man-completion

2 years agoadded elisp-dir-locals.el
John Turner [Tue, 11 Oct 2022 03:53:02 +0000 (23:53 -0400)]
added elisp-dir-locals.el

2 years agorenamed eglot-dir-locals.el to eglot-rust-dir-locals.el
John Turner [Tue, 11 Oct 2022 03:52:38 +0000 (23:52 -0400)]
renamed eglot-dir-locals.el to eglot-rust-dir-locals.el

2 years agoadded an ediff init module
John Turner [Tue, 11 Oct 2022 03:51:16 +0000 (23:51 -0400)]
added an ediff init module

2 years agoforgot to delete a few things
John Turner [Fri, 7 Oct 2022 07:22:11 +0000 (03:22 -0400)]
forgot to delete a few things

2 years agomoved dir-locals out of the init dir
John Turner [Fri, 7 Oct 2022 07:17:37 +0000 (03:17 -0400)]
moved dir-locals out of the init dir

2 years agochanged the config-* prefix to init-* for all of the init files
John Turner [Fri, 7 Oct 2022 07:10:21 +0000 (03:10 -0400)]
changed the config-* prefix to init-* for all of the init files

2 years agoadded a directory to store dir-locals files in git
John Turner [Fri, 7 Oct 2022 06:27:36 +0000 (02:27 -0400)]
added a directory to store dir-locals files in git

2 years agocreated display-buffer-in-side-window wrapper function
John Turner [Fri, 7 Oct 2022 06:13:54 +0000 (02:13 -0400)]
created display-buffer-in-side-window wrapper function

The old display-buffer-alist thing did not work like I expected it to,
so we removed it.

Instead of trying to update display-buffer-alist
when the screen resizes via a hook, we just create our own display function that
can be used in display-buffer-alist directly. The function takes a
"which-side" property in the alist, the property holds a function that returns
which side the new buffer will snap to when invoked. The display
function then creates a new alist with the side property and any other
properties were passed in, and calls display-buffer-in-side-window
with the new alist.

This allows us to use this function as if it were
display-buffer-in-side-window, but with an extra property to decide
which side the window snaps to each time the function is invoked. This
is useful if you want side windows to snap to different parts of the
screen based on the current size of the frame, or anything else.

2 years agotweaked ibuffer-formats width variables for the "name" column
John Turner [Wed, 5 Oct 2022 02:48:25 +0000 (22:48 -0400)]
tweaked ibuffer-formats width variables for the "name" column

2 years agoadded a few things to the ibuffer-never-show list
John Turner [Wed, 5 Oct 2022 02:47:51 +0000 (22:47 -0400)]
added a few things to the ibuffer-never-show list

2 years agoupdated filter groups
John Turner [Wed, 5 Oct 2022 02:43:35 +0000 (22:43 -0400)]
updated filter groups

We changed the filter groups labels to start with a capital to keep
the style consistent with the Default group. We also added a new Man
filter group and a condition in the "Misc" group to exclude man pages.

2 years agoremoved display-buffer-alist update function
John Turner [Wed, 5 Oct 2022 02:32:18 +0000 (22:32 -0400)]
removed display-buffer-alist update function

Before we had a function that updated display-buffer-alist whenever
the frame's size was changed, so that info windows like flymake or
flycheck open would snap to either the bottom or right hand side of the
frame depending on whether the window manager had the frame squeezed
vertically (like when you have two windows side by side split
vertically).

Now instead of having that function run every time the frame resizes,
we just make the 'side property a function that should get evaluated
each time the property is read. The function returns either 'bottom or
'right depending on the frame's current size in pixels.

2 years agorenamed load-local-lisp.el to load-lisp.el
John Turner [Fri, 26 Aug 2022 03:01:17 +0000 (23:01 -0400)]
renamed load-local-lisp.el to load-lisp.el

2 years agosetup ibuffer
John Turner [Fri, 26 Aug 2022 02:58:11 +0000 (22:58 -0400)]
setup ibuffer

3 years agoremoved backup-before-save
John Turner [Fri, 15 Jul 2022 02:12:27 +0000 (22:12 -0400)]
removed backup-before-save

3 years agoadded an explicit require for site-gentoo when it's available
John Turner [Sat, 9 Jul 2022 01:49:17 +0000 (21:49 -0400)]
added an explicit require for site-gentoo when it's available

I have disabled site-gentoo being loaded automatically on start by
editing site-start. Now I explicitly require it when it's available in
this config, but it can be omitted or toggled in other configs (a
minimal config for example).

3 years agorestored man config module
John Turner [Mon, 4 Jul 2022 03:50:48 +0000 (23:50 -0400)]
restored man config module

3 years agorestored man wrapper functions into the new lisp directory
John Turner [Mon, 4 Jul 2022 03:47:39 +0000 (23:47 -0400)]
restored man wrapper functions into the new lisp directory

3 years agomoved non-config functions into a new lisp directory
John Turner [Mon, 4 Jul 2022 03:20:44 +0000 (23:20 -0400)]
moved non-config functions into a new lisp directory

We will now put non-config related functions (any elisp libraries or
snippets that I write) into a new ".emacs.d/lisp" directory and separate them from
the config code in the ".emacs.d/config" directory.

During the transition I decided to move and rewrite the logic that
adds all of the libraries to load-path. Now this logic is in two top
level files (load-config.el load-local-lisp.el). I needed to remove
the config-programming-languages module because it conflicted with the
new load-path logic (it was mostly useless anyways).

The man advice functions are deleted in this commit but they will be
added into the new ".emacs.d/lisp" directory soon.

3 years agoupdated .gitignore
John Turner [Mon, 4 Jul 2022 03:16:15 +0000 (23:16 -0400)]
updated .gitignore

3 years agoinit
John Turner [Mon, 4 Jul 2022 01:29:51 +0000 (21:29 -0400)]
init