Commit Graph

1047 Commits

Author SHA1 Message Date
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
Daniel - 1e262aef13
Allow `scroll-left` command 2023-04-26 16:54:04 +02:00
Daniel - 9904e24333
Make shell side windows more persistent
Do not delete shell side windows when deleting other windows and do not make
them selectable by default (although `ace-windows` does not seem to respect this
setting).
2023-04-16 16:37:08 +02:00
Daniel - b6bdb4f9e2
Allow to display shell and eshell in same side window
Inspired by
https://www.gnu.org/software/emacs/manual/html_node/elisp/Frame-Layouts-with-Side-Windows.html.
2023-04-16 11:29:34 +02:00
Daniel - cfe1dcfa0a
Explicitly display shell and eshell buffers in side window
This should inhibit their windows from being split by `display-buffer` to
display normal buffers, but during early testing also magit buffers went to this
side window.  This configuration may thus not be final yet.
2023-04-16 10:57:26 +02:00
Daniel - 1f248358bc
Remove obsolete hook to reset checkboxes
The function called here has been removed.
2023-04-09 10:28:07 +02:00
Daniel - 71f07d1e8f
Remedy some flycheck and checkdoc warnings coming from `db-org.el` 2023-04-07 12:52:35 +02:00
Daniel - 2d4f626635
Ignore byte compile warnings for too wide docstrings
Ignore this both in the currently running Emacs as well as in all Emacs
subprocesses spawned by flycheck.
2023-04-07 12:41:58 +02:00
Daniel - 806c7b1053
Do not suppress undo and discard warnings
Warnings are now displayed in a side buffer, so suppressing warnings because
they are annoying is no longer a valid rationale.
2023-04-07 12:10:02 +02:00
Daniel - 347a3bf08d
Clean up personal Org utility functions
Mostly moving functions around and updating page headers.  Also removed some
obsolete functions, see updated command list for `db-org` use-package
declaration.
2023-04-07 11:49:58 +02:00
Daniel - a52190f3be
Reuse windows to display buffers by default 2023-04-06 17:59:21 +02:00
Daniel - 0a14f01729
Sort agenda entries by remaining effort by default
This might be slow and buggy, but let's keep it for now.
2023-04-01 16:57:37 +02:00
Daniel - 1f9e032a1a
Display remaining effort in Org agenda by default
Note that sorting is wrong now, this needs to be fixed later.
2023-04-01 16:50:30 +02:00
Daniel - bef3a482f3
Explicitly require `org-ql-search` when loading `org-ql`
`org-ql-search.ql` contains the definitions for Org QL dynamic blocks but is not
automatically loaded by `org-ql.el`.  Since I am using Org QL dynamic blocks
extensively, let's load this library explicitly when `org-ql.el` is activated.

Note that this implicitly reverts 939b1e882a,
which changed the use-package declaration from `org-ql-search` to `org-ql`
proper.  So this commit was wrong after all (and the state before that commit
was right), but having a use-package declaration for `org-ql` instead of some of
its sublibraries seems to be clearer to me.
2023-03-31 16:35:18 +02:00
Daniel - 939b1e882a
Fix package name in org-ql use-package declaration
Package pinning won't work otherwise.
2023-03-27 19:22:46 +02:00
Daniel - ad2fbe31f7
Remove obsolete fix for org-ql link matching
This has been fixed upstream, no need to keep it any longer.
2023-03-25 17:32:49 +01:00
Daniel - 90293c7735
Remove whitespace when inserting interrupted task in capture message
Not quite sure whether this is really necessary, but it won't hurt.
2023-03-25 11:09:04 +01:00
Daniel - a01bbe28e7
Fix wrong Org QL queries in constraint check agenda view 2023-03-11 10:02:32 +01:00
Daniel - 4e10c06799
Recognize Org bable header arguments when exporting
For this, `org-export-use-babel` has to be non-nil.  To still inhibit source
block evaluation on export (both for performance and for security reasons), set
`:eval` to `never-export` by default.
2023-03-01 20:35:15 +01:00
Daniel - 7fb9b84449
Do not refresh non-selected magit status buffers on Windows
This setting is experimental and a test whether performance on Windows can be
increased this way without causing too much confusion.
2023-02-19 12:44:46 +01:00
Daniel - b5f03ddf96
Distribute some variable settings to specific configuration sections
Two configuration changes have been made:

- Removed `require-final-newline`, which originally had been set to nil; this is
  not necessary (I think), because this is a buffer-local variable that is
  usually set by the respective major mode when necessary; the default value is
  nil anyway.

- Activate `minibuffer-depth-indicate-mode` by default, to signify the depth of
  recursive minibuffer edits when they happen.
2023-02-18 17:01:30 +01:00
Daniel - 92d43a6306
Move more packages from core configuration to more specific sections
Also generalize the “dired” section to a more general “file handling section”,
as it already contained the configuration of `trashed` anyway.
2023-02-18 15:35:01 +01:00