Commit Graph

1083 Commits

Author SHA1 Message Date
886598e0d8
Remove eval-when-compile for non-essential auctex package
This leads to an error on Emacs startup when auctex is not installed.
2023-10-28 11:35:32 +02:00
f94e909987
Fix enabling imenu support for use-package
The setting has to be done before loading `use-package` (which yields a new
byte-compiler warning, narf).
2023-10-27 16:58:10 +02:00
88bc5b3162
Remove unnecessary require statements for helm-emms
The removed packages are loaded by `helm-emms` directly.
2023-10-27 16:32:30 +02:00
dae26fcc5a
Do not perform adaptive sorting in personal shortcut helper
This never worked anyway, I would probably have had to define the source
globally for adaptive sorting to work, or something like that.  However, I am
usually happying with the interactive narrowing of the candidates, so let's get
rid of adaptive sorting for now.
2023-10-27 16:31:02 +02:00
b3d620d884
Get rid of some more byte-compiler warnings in main init file 2023-10-27 16:30:19 +02:00
535bdda429
Clean up personal shortcut helper function
Get rid of some helm sources I usually don't use, to speed up function
execution.  Indeed, on Windows 11, if this function takes too long, the Emacs
frame will loose its focus, which is super annoying!
2023-10-26 15:36:31 +02:00
52559e8cf8
Fix location of multisession data path
It's session data, and thus goes into `emacs-d-userdata`.
2023-10-19 16:35:19 +02:00
37a12c4d16
Reenable automatic indentation in Org mode buffers
This partially reverts 39f652e.
2023-10-15 15:02:01 +02:00
39f652e070
Do not automatically indent anymore in Org mode after newline
`org-return-indent` is obsolete since 9.4, one should use `org-return` with
`indent` set to `t` instead – and I am not sure whether it will work if I rebind
`org-return` to some interactive lambda form.  So let's try to not indentent
automatically anymore, maybe this is good enough?
2023-10-15 11:20:04 +02:00
4051fc1a38
Remove workaround to inhibit eproject-mode in message-mode
`eproject-mode` seems to be gone, at least it's not in elpa anymore (there's
still a `elpa-eproject` package in Debian, though).
2023-10-15 10:41:41 +02:00
04c5040f75
Get rid of byte compiler warnings in Dired configuration 2023-10-15 10:21:34 +02:00
eb8e696374
Fix use-package indentation also for common-lisp-indent-function 2023-10-14 21:55:54 +02:00
71e89d2976
Handle some byte compiler warnings in main initialization file 2023-10-14 21:55:30 +02:00
86879ec84e
Update assignment to obsolete BBDB variable 2023-10-05 10:27:54 +02:00
435a9f52a9
Ignore further user data files in main .emacs.d directory
Files of the `transient` package are now kept under `private/`.
2023-10-05 10:26:51 +02:00
a287d2af01
Increase Gnus' large-group limit
200 is not enough, let's try 500.
2023-10-05 10:21:47 +02:00
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
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
3004f96949
More local data from url package to private/ 2023-10-01 18:29:11 +02:00
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
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
08ccbbbfab
Reorder initial use-package settings
This way no warnings are emitted by the byte compiler.
2023-10-01 17:47:46 +02:00
cb66fb4976
Move smex save file to private directory 2023-10-01 17:41:09 +02:00
aa4ac442a0
Remove obsolete lisp indentation setting for use-package 2023-10-01 17:11:11 +02:00
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
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
cfdd235f94
Set multisession directory before loading package
This allows to overwrite this default via customize.
2023-10-01 15:36:45 +02:00
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
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
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
2d1fd71265
Ignore HOLD entries on Waiting-For list 2023-09-14 19:03:47 +02:00
1b860b9273
Add some minimal default configuration for YAML files 2023-09-14 16:19:10 +02:00
6e20565ef0
Fix typo in Org capture template 2023-09-10 15:09:48 +02:00
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
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
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
cbd97e8c3e
Remove loading of obsolete helm-config library 2023-08-13 10:56:30 +02:00
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
bc5df22b55
Fix wrong case statement to check server start 2023-08-06 15:09:38 +02:00
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
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
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
b3ab6d7a9d
Fix some identation 2023-07-10 17:07:35 +02:00
1ce7564f57
Exclude finished items from Waiting and On-Hold list
Forgot this in c45ca29.
2023-07-10 16:51:01 +02:00
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
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
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
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
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
d8a41ca0cf
Move Dired utility functions to general utility library 2023-07-01 17:02:12 +02:00