Commit Graph

2041 Commits

Author SHA1 Message Date
Daniel - 82e50e8e22
Silence some byte-compiler and checkdoc warnings 2023-07-15 15:03:24 +02:00
Daniel - a2f0e0ca3b
Determine whether an SSH keyfile is already loaded before loading it 2023-07-15 14:59:30 +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 - 6fb76d1efd
Decrypt SSH key password on demand and not unconditionally
This still always decrypts the password, because `ssh-add` does not check
whether the key is already present in the current agent.  This should propably
done separately before calling `ssh-add`.
2023-07-09 19:17:26 +02:00
Daniel - 603315e5b1
Delay computation of SSH-Key password until start of `ssh-add`
This is to prepare computing the password only when needed, i.e., when the key
is not already included in the running agent.  We are not there yet, though.
2023-07-09 17:55:19 +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 - 83e66e785f
Make default system open function work on Linux
I am not sure why it hasn't been working until now, and I am not sure why it
indeed does work now, but it does, and that sufficient for me – at least for
now.
2023-07-07 17:02:42 +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 - 3bb5b4481d
Search through all Org mode buffers when inserting backlinks
This seems to be fast enough, and since I often find myself aborting a current
backlink insertion query because I missed to include all Org mode buffers,
making it the default only seems to be reasonable.
2023-07-02 16:44:36 +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 - 908b5f278e
Remove some byte-compiler warnings 2023-06-27 21:04:02 +02:00
Daniel - ebb84f2139
Generalize SSH key adding function to additional password backends
Untested for Org password manager.
2023-06-27 20:20:28 +02:00
Daniel - 096f790fab
Change some code heading 2023-06-27 19:40:09 +02:00
Daniel - 74659e7548
Add simple convenience function to add known SSH keys
This is supposed to avoid manually inserting passwords for SSH keys when they
have expired from the local ssh-agent instance.
2023-06-27 19:40:00 +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 - 8f383bcbdb
Make checkdoc happy about db-music.el 2023-06-12 19:38:10 +02:00
Daniel - 4677ea74c7
Ensure number comparison when updating favorites playlist 2023-06-12 19:32:33 +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 - 9ff7c848a1
Change shortcut for interactive clock selection
This is for consistency with all other commands that use "s" to select a running
clock from the history.
2023-05-28 15:30:18 +02:00
Daniel - f8caaae071
Allow adding links to Org items also in non-Org-mode buffers
The relevant use-case (for me at least) is to insert links to Org items in the
minibuffer when capturing new items.
2023-05-26 18:08:22 +02:00
Daniel - 113f3f4495
Fix invalid logic for nil dates in workload report
When not provided in dynamic workload reports, `start-date` and `end-date`
should be treated as unconstrainted.  However, instead dates were queried
interactively in that case, because `org-read-date` is being used to normalize
date display.  Fixed that.
2023-05-24 19:25:02 +02:00
Daniel - a4712cf155
Include items in workload overview planned before given start date 2023-05-24 18:59:39 +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 - cac41d0759
Do not recenter position when jumping to current clock
This keeps the current view as it is in case it's already visible in some
buffer.
2023-05-16 18:26:14 +02:00
Daniel - 58e5cd3506
Jump to headline of the currently clocked item when going there
Before this change, we went to the position of the open clock, which is not
where we want to be in case no open checklist item is found.
2023-05-16 18:25:00 +02:00
Daniel - 0b315f44a3
Go to Org item when trying to insert checklist directly in agenda
This is expected behavior in my point of view.
2023-05-13 10:30:29 +02:00
Daniel - 8e192e5cfb
Downcase login name in eshell prompt
Windows sometimes likes to display the login name in all-caps, this is annoying.
2023-05-09 17:53:36 +02:00
Daniel - 88855f6713
Fix typo in auth-source package declaration 2023-05-07 10:05:36 +02:00
Daniel - 01b5e1b8db
Fix incorrect restriction handling when inserting templates
We must widen the current restriction when searching for the template item, not
when copying the body from it.  In the latter case, `org-with-point-at` will
handle the necessary widening.
2023-05-06 18:03:14 +02:00
Daniel - 925cf115be
Remove ID and CUSTOM_ID properties when inserting checklist template
When the template associated with the item at point contains sub-items itself,
those may have been assigned ID or CUSTOM_ID properties.  Copying the template
would thus duplicate these properties, violating their implicit uniqueness
constraint, so we now remove those properties from the inserted checklist
template.
2023-05-06 16:54:38 +02:00
Daniel - fa56dfdd4d
Ensure `CHECKLIST_INSERTED_P` will be inserted at original heading
When a checklist template contains headings on its own, the
`CHECKLIST_INSERTED_P` property until now would be inserted at the last heading
in this template, instead of at the heading where the template is supposed to be
inserted in the first place.  Fixed this.
2023-05-06 15:30:16 +02:00
Daniel - 7db9f8d56c
Fix indentation in utility library to conform to Common Lisp
This is the current indentation default.
2023-04-30 17:28:23 +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 - b67a920780
Fix wrong search region for inserting active filter display 2023-04-29 17:35:20 +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 - 2f1868da43
Only treat automatically named (e)shell buffers special
This allows to have custom named (e)shell buffers that are treated like any
other buffer, and not as the special bottom shell buffers.
2023-04-16 19:02:24 +02:00