Commit Graph

12 Commits

Author SHA1 Message Date
1a2682da2a chore(languages): move .zsh association to siren-sh module 2022-04-27 02:27:45 +01:00
c84bf1dea6 feat(editor): improve whitespace-mode setup and cleanup on save
Move away from the whitespace-cleanup-mode package, and instead simply
define our own whitespace-cleanup-on-save-mode minor-mode that uses a
before-save-hook.
2022-04-26 23:33:57 +01:00
881250f6c4 chore(core): add siren-dir and siren-cache-dir helper functions 2022-04-26 20:00:03 +01:00
6a95b32f38 feat(editor): separate sentences with a single space instead of two 2021-11-16 11:03:49 +00:00
78cb7fcd04 fix(editor): disable auto-revert-mode's use of file notifications on macOS
Relying on file notifications to detect changes on disk and auto-revert
buffers seems unreliable on macOS, so let's disable the use of file
notifications, and let auto-revert-mode use polling instead.
2021-11-10 10:31:17 +00:00
654eae72ff chore(editor): extract recentf, savehist and uniquify to seperate modules 2021-06-24 19:16:16 +01:00
7ed3e92dbb feat(core): use buffer local hl-line-mode instead of global-hl-line-mode
This allows specific major-modes to disable hl-line-mode, which is
desired some terminal/shell modes like vterm where the hl-line flickers
constantly while typing.
2020-08-16 14:21:00 +01:00
fdfdbc16f4 fix(core): Auto-save folder was not being set correctly
Due to the value being set not ending with a slash, auto-save files were
being stores in `~/.emacs.d/cache` instead of
`~/.emacs.d/cache/autosave`.

The fix was to add a slash at the end, and also to ensure the directory
exists.
2020-02-22 23:42:11 +00:00
e703f4ef53 chore(packages): Refactor package setups in within core
And get rid of:

- dash, doesn't need to be, packages which depend on it, should have it
  listed as a dependency
- smart-mode-line, don't need it anymore as I use the doom-modeline
  package to stylize the modeline.
2020-02-15 19:13:28 +00:00
abff344eb2 refactor(folding): Improve siren-folding module
- Add a siren-folding function which enables all folding-related modes,
  and change other modules to use this new function.
2020-01-26 21:39:46 +00:00
bfed1f8822 Don't turn on global whitespace-mode
It's already turned on within each mode I care about.
2019-09-04 13:55:08 +01:00
0375cd0328 Ensure module names cannot collide with core setup files
The core setup files for Emacs Siren which lives in the core directory
followed a `siren-*.el` naming convention, which is the same as the
naming convention for modules.

This means that the `modules/core/siren-packages.el` module for adding
packages for Emacs package development, was not being loaded due to it's
name conflicting with `core/siren-packages.el` which sets up and
configures the packaging system.

So all files under the root `core` directory now follow a
`siren-core-*.el` naming scheme, meaning modules should no longer
conflict with core files.
2019-08-17 17:00:35 +01:00