Commit Graph

1068 Commits

Author SHA1 Message Date
Daniel - a287d2af01
Increase Gnus' large-group limit
200 is not enough, let's try 500.
2023-10-05 10:21:47 +02:00
Daniel - 48836d41f7
Move main initialization function to the end of init.el
It's called at the end, so it can very well also be located there.  This also
avoids some byte-compiler warnings due to the order of declarations.
2023-10-02 13:08:57 +02:00
Daniel - 15ee9caea0
Globally define private userdata directory
This is instead of repeating the path again and again in the code.  It's cleaner
this way, also easier to spot mistakes (see the now fixed definition for
`abbrev-file-name' …).
2023-10-01 18:47:33 +02:00
Daniel - 3004f96949
More local data from `url` package to private/ 2023-10-01 18:29:11 +02:00
Daniel - 31268927e0
Revert "Remove obsolete lisp indentation setting for use-package"
This reverts commit aa4ac442a0.

Turns out this setting is not obsolete, as my whole init file would be
reformatted without it … keeping it for now.
2023-10-01 18:27:36 +02:00
Daniel - 975c2869ea
Move some user-specific data to private/ and clean up .gitignore
There may be more data to be moved to private/, but for now it's enough like
this – I think.
2023-10-01 18:00:39 +02:00
Daniel - 08ccbbbfab
Reorder initial use-package settings
This way no warnings are emitted by the byte compiler.
2023-10-01 17:47:46 +02:00
Daniel - cb66fb4976
Move smex save file to private directory 2023-10-01 17:41:09 +02:00
Daniel - aa4ac442a0
Remove obsolete lisp indentation setting for use-package 2023-10-01 17:11:11 +02:00
Daniel - 2f6aa6a1f7
Introduce major-mode-remap-alist into auto-mode configuration
Also distribute the current auto-mode setting from `db/run-init` to the
individual packages, to allow overwriting via customizations.
2023-10-01 17:04:55 +02:00
Daniel - a4556632b0
Remove advice for moving message attachments to the end of buffer
This is configurable since Emacs 29.1.
2023-10-01 15:39:02 +02:00
Daniel - cfdd235f94
Set multisession directory before loading package
This allows to overwrite this default via customize.
2023-10-01 15:36:45 +02:00
Daniel - e01e02970f
Comment personal M-SPC binding to be the default since Emacs 29.1
So that it can be removed later on, maybe.
2023-10-01 15:31:05 +02:00
Daniel - f7254fc6a4
Configure multisessions' directory to be under private/
It contains data to be stored between sessions and thus belongs there.
2023-10-01 15:30:18 +02:00
Daniel - 563ce633a0
Remove obsolete setting for df program on Windows
This variable is obsolete since Emacs 27.1.
2023-10-01 15:25:55 +02:00
Daniel - 2d1fd71265
Ignore HOLD entries on Waiting-For list 2023-09-14 19:03:47 +02:00
Daniel - 1b860b9273
Add some minimal default configuration for YAML files 2023-09-14 16:19:10 +02:00
Daniel - 6e20565ef0
Fix typo in Org capture template 2023-09-10 15:09:48 +02:00
Daniel - c085dda842
Allow to provide password to SQL blocks via ID
This is better than having to store the password in plaintext.
2023-08-17 18:40:59 +02:00
Daniel - a6324a668d
Move custom org-password function to db-org
This is where it belongs, even if there's a warning about free variable
referencing.
2023-08-17 17:06:42 +02:00
Daniel - 53f60f1d82
Use vls as (additional?) player for EMMS
This is to increase the available choices for EMMS in case mplayer does not work
for some reason.
2023-08-15 18:10:50 +02:00
Daniel - cbd97e8c3e
Remove loading of obsolete `helm-config` library 2023-08-13 10:56:30 +02:00
Daniel - de271c1295
Remove obsolete tab-bar faces for solarized-dark-theme
This has been fixed upstream, see
https://github.com/bbatsov/solarized-emacs/issues/427.
2023-08-08 17:31:57 +02:00
Daniel - bc5df22b55
Fix wrong case statement to check server start 2023-08-06 15:09:38 +02:00
Daniel - 42af8216e0
Define magit-projectile synchronization function after loading magit
This is supposed to inhibit this warning:

```
Warning: Eager macro-expansion skipped due to cycle:
… => (load "db-utils.el") => (macroexpand-all (defalias 'db/sync-magit-repos-from-projectile …)) => (macroexpand (eval-when-compile …)) => (load "db-utils.el")
```

It should make calling this function also more robust.

Also updated the implementation to be more “dash-y”.
2023-07-23 17:02:15 +02:00
Daniel - d0aa2bf33d
Restrict Org cache advice to Org 9.5.5 and earlier
Org 9.6.7 does not seem to have these performance issues anymore.
2023-07-19 19:46:27 +02:00
Daniel - 0c0009b655
Add leading space in org agenda lines
This is required by the regular expression in `org-agenda-show-clocking-issues`,
without this space, no consistency checking is done.

Also indent all other agenda views, for consistency.
2023-07-17 19:54:38 +02:00
Daniel - b3ab6d7a9d
Fix some identation 2023-07-10 17:07:35 +02:00
Daniel - 1ce7564f57
Exclude finished items from Waiting and On-Hold list
Forgot this in c45ca29.
2023-07-10 16:51:01 +02:00
Daniel - bf88128d25
Do not show SCHEDULED items in agenda task backlog
They are shown in the time grid already, no need to duplicate them in the
backlog.
2023-07-09 10:39:53 +02:00
Daniel - c45ca29ad0
Unify WAIT and HOLD lists
Both lists now include also non-TODO-items and only filter by tag and scheduling
information.
2023-07-07 16:46:34 +02:00
Daniel - 1b62989720
Move deadlines before NEXT list in main agenda view
Deadlines should be looked at first before choosing a task from the NEXT list.
2023-07-07 16:43:39 +02:00
Daniel - d6bd360593
Reverse treatment of universal argument for helm shortcut menu
Usually, when searching for important documents vie `db/helm-shortcuts`, I
forget to include the universal argument, abort the current search and repeat
it.  This is annoying.  Since listing documents is fast enough, including them
by default should alleviate this issue.

When retrieving the list of documents is too slow and should be disabled
interactively, providing a universal argument excludes this listing now.
2023-07-07 16:27:09 +02:00
Daniel - 536d3b37ba
Rewrite ansi-term `defadvice` with `define-advice`
Only two instances of `defadvice` remaining, will rewrite those somewhen.
2023-07-01 17:31:22 +02:00
Daniel - d8a41ca0cf
Move Dired utility functions to general utility library 2023-07-01 17:02:12 +02:00
Daniel - 2dc1a4e6e0
Disable `delete-selection-mode`
Accidentally touching keys while having an active region happens far too often
to me, so let's keep things safe for now.  Deleting an active via C-w is easy
enough when needed.
2023-07-01 12:44:48 +02:00
Daniel - 3b6dcaecf9
Do not show past SCHEDULED items in NEXT list
Items scheduled in the past are shown in the grid view anyway, there's no need
to duplicate those in the NEXT list.
2023-06-21 17:46:20 +02:00
Daniel - 5b6af3ad3d
Fix agenda title for task backlog
It's not the NEXT list, this is the list two above that list.
2023-06-21 17:45:45 +02:00
Daniel - 8cdc1de7ca
Add some sensible defaults for proced
Used proced quite often lately, because it offers a nice process overview on
Windows without having to leave Emacs.

Default taken from [lw's blog][1], nice post!

`proced-enable-color-flag` will only be available from Emacs 29 on, but let's
included it nevertheless to be “future proof”.

[1]: https://laurencewarne.github.io/emacs/programming/2022/12/26/exploring-proced.html
2023-06-03 09:31:19 +02:00
Daniel - f742b213fc
Hide NOTEs and TOPICs tagged with SOMEWHEN on main project agenda
Those items will show up in the dedicated SOMEWHEN list, where they belong.
2023-06-01 21:05:51 +02:00
Daniel - d190f7af80
Do not enable `auth-source-pass` by default
When logging in via TRAMP and sudo, the root password is transmitted
automatically.  This does not feel right to me, so let's not enable
`auth-source-pass` for now.
2023-05-28 17:45:28 +02:00
Daniel - 242d5cbcba
Add function to retrieve library version
This could come in handy when checking for necessary library versions.
2023-05-18 19:07:21 +02:00
Daniel - 88855f6713
Fix typo in auth-source package declaration 2023-05-07 10:05:36 +02:00
Daniel - 28b9918325
Add utility function to create selector functions from table headers
This might be useful to work with table data from Org tables in source blocks,
maybe.

Does this exist somewhere already?
2023-04-30 17:26:56 +02:00
Daniel - 7bd8c0ef2b
Remove obsolete function to conditionally enable lispy
Not using this anymore.
2023-04-30 17:25:53 +02:00
Daniel - 8df66edf25
Automatically retrieve passwords from password-store when available
This saves typing time.
2023-04-30 12:27:58 +02:00
Daniel - a4823651a1
Use Common Lisp indentation by default
It's not perfect, but I think it's still closer to what I like.
2023-04-29 17:29:53 +02:00
Daniel - a44b7b660e
Remove obsolete function to skip tags in agenda views 2023-04-29 17:28:35 +02:00
Daniel - 8c9c47f6e3
Prominently display of active filters in agenda view
Displaying the current filters in the mode line alone often goes unnoticed for
me, so I need a more direct display.  Let's add it to the first structural
header.
2023-04-29 17:27:50 +02:00
Daniel - 2d6b40088e
Delete shell buffers windows on `delete-other-windows`
More often, I want the shell buffer to be gone when calling
`delete-other-windows` than not, so let's make this the default.
2023-04-28 16:32:53 +02:00