Commit Graph

945 Commits

Author SHA1 Message Date
dbf0963511
Provide regular expression in custom Org refile location function
Not sure what this is good for, but it might be necessary somewhen?
2025-08-17 17:51:33 +02:00
3f767faf08
Fix type signature for org-refile-get-location substitute function 2025-08-17 17:51:01 +02:00
df98f37f69
Use consult for querying Org refile locations 2025-08-17 17:25:59 +02:00
cff1c86d0b
Allow custom prompt in own Org location query function 2025-08-17 15:47:50 +02:00
195a6afb5f
Avoid duplicate entries in Org location queries
This happens when the current buffer is already part of the Org agenda files.  In this case, we do
not add the default buffer to the list of search files.
2025-08-17 15:41:07 +02:00
0ac05e43ef
Fix prompt when choosing Org headings 2025-08-17 13:47:42 +02:00
a1562a1100
Include prefix when choosing Org heading
Otherwise, the candidates seem to be truncated at the front?
2025-08-17 13:47:05 +02:00
fb8b2837d5
Use default buffer for Org location queries 2025-08-17 13:08:18 +02:00
928ef10ac5
Replace custom usage of `org-refile-targets' with consult functions
This is experimental and needs some further testing.
2025-08-17 13:05:04 +02:00
a8da7548af
Remove some unnecessary conditional keybindings
All affected packages are required by now.
2025-08-07 17:27:57 +02:00
2db4ce7607
Move shortcut function to utilities package
This is where it should be, all time long.
2025-08-07 17:01:23 +02:00
99f89be39c
Resolve Org bookmark links on export
Replace bookmark links on export with their actual targets, as the bookmarks itself are of little
use in the final document.
2025-07-24 11:45:44 +02:00
cd90381ad0
Fix capitalization in docstring 2025-07-23 21:07:00 +02:00
64198261f7
Fix equality check for default task when continuing the clock
The markers involved in this check might point to the same heading, but on different positions.  Try
to mitigate this by checking for equality of the ID property.
2025-07-19 15:20:45 +02:00
914609074b
Refactor utilities functions
Group dired functions in separate section.

Remove unused window-single-toogle mode, as I use winner-mode for this.

Remove obsolete custom function to list changed repositories, as `magit-list-repositories` is just fine.
2025-07-14 18:53:52 +02:00
5655c58341
Remove obsolete shell and ansi-term popup shortcuts
Using `project-shell` as a replacement for the shell buffer.  I haven't used `ansi-term` in ages,
mostly because it does not work on Windows.
2025-07-14 18:27:17 +02:00
072fd2887b
Show default eshell buffer in normal window 2025-07-14 17:26:13 +02:00
b5be01b19a
Add shortcut for switching to projects 2025-07-07 17:53:27 +02:00
1ec3748fc4
Prevent accidental refiling to HOLD headings
Headings with inherited tag HOLD are not shown on any agenda and thus risk being overlooked.  Try to
prevent this by disallowing any heading tagged with HOLD (local or inherited) as refile target.
2025-06-27 16:50:57 +02:00
9706def3c6
Fix wide docstring 2025-06-22 11:16:28 +02:00
09009552ae
Fix some warnings in db-mail.el 2025-06-22 11:03:28 +02:00
762d035611
Search RSS links from end of article
The “Link” link is usually placed at the very end of the article, so search from there.
Furthermore, when another link also contains “Link”, searching from the end will avoid opening this
link instead.
2025-06-22 10:44:08 +02:00
1832e9615c
Ensure headlines converted from items end in correct number of blank lines 2025-06-17 08:52:18 +02:00
69564d0495
Make checkdoc a bit more happy 2025-06-16 12:24:00 +02:00
66d32f0ff8
Make redefinition of frequently used features keymap work
Replaced keymap with prefix funtion for this.  Not completely understood yet what I am doing here.
2025-06-16 12:23:31 +02:00
b7c7703b84
Use descriptive names in frequently used feature keymap 2025-06-16 11:24:33 +02:00
90ab0210d0
Make checkdoc happy and apply fill-column 2025-06-15 18:31:21 +02:00
ab9245d58f
Replace hydra for frequently used features by simple map
Easier :)
2025-06-15 18:22:09 +02:00
cef425b1f8
Remove redundant zoom hydra
It's already available with `text-scale-adjust`, so let's use this.
2025-06-15 17:44:20 +02:00
b3830b6868
Move hydras to main db-utils package
No need to keep them separate.  Will be replaced partially by repeat-maps when possible.
2025-06-15 16:59:49 +02:00
3526563ce1
Let Org set Emacs' frame title
Why replicate functionality that is already there? :)
2025-06-07 18:50:03 +02:00
8ca95943e6
Allow display of additional properties in timeline entries 2025-06-07 10:27:11 +02:00
adb22bbc1c
Search for template also in superordinate headings
This allows to jump to templates also in the case that the template contains subtree itself.
2025-05-29 11:06:50 +02:00
61b3964224
Use project.el to pop up shell buffers from shortcuts
The default binding for my shortcuts might be easier to use … ?
2025-05-28 15:54:17 +02:00
d80b71fb72
Revert usage of consult-org-agenda
This reverts commit 96ac10216e.

Not yet it, but close.
2025-05-22 20:39:46 +02:00
96ac10216e
Try out consult-org-agenda for jumping directly to Org headings
Looks good and includes tags!
2025-05-15 18:16:11 +02:00
53313ab3dc
Guard direct headline editing also at beginning of line
Had missed that case up to now.
2025-05-08 20:04:00 +02:00
b4b0bab9c2
Fix quantifier in Org headline insert inhibitor hook
Make sure at least one asteriks is present to not accidentally prevent input on other lines.
2025-04-23 20:42:17 +02:00
837b7fc106
Ignore direct input when at the start of an Org headline
This is to guard headlines to become invalid due to my erratic (mis)typing behavior.
2025-04-19 17:05:26 +02:00
0fe7ec5c1b
Clean up own utilities collection
Properly separate interactive commands from simple functions in use-package declaration, and remove
two unused functions.
2025-03-08 18:34:33 +01:00
47c7e664e5
Remove obsolete extra-symbol customization for TeX input method 2025-03-08 18:26:37 +01:00
f2f98c3ac5
Do not restrict shell buffer display to frame sides
Give buffers running ephemeral `eshell` or `shell` sessions a name that
is different from the default name chosen by these commands, and only
restrict those ephemeral shell buffers to be displayed at the side.
This way, running the commands `eshell` and `shell` will yield windows
can be handled like any others and can be used for long-running
sessions.
2025-03-07 20:35:38 +01:00
de123f7cea
Allow relocation of custom URL bookmark types
This is mostly copied from the current implementation in `bookmark.el`,
adapted to non-filename bookmarks.

Note that we are now using the `location` slot in bookmarks to store the
URLs, and relocating bookmarks will set the `filename` slot to `nil`.
2025-03-02 18:11:13 +01:00
76815c0171
Use more generic location slot for storing URLs in bookmarks
This might allow easier relocation of such bookmarks later on.
2025-03-02 17:38:42 +01:00
a522f48dc5
Add some Org lint checkers for bookmark links
Code taken from `org-lint-invalid-id-link` and suitably modified.
2025-02-25 18:26:08 +01:00
3dbc9604d4
Mark bookmarks to EWW 2025-02-25 17:26:16 +01:00
fc58eb56f4
Resolve link generation conflict in bookmarked files
When a file has a bookmark, generating a link in that file (e.g. to the
line at point) results in a query from Org which link generating
function to use.  This is annoying and interferes with the usual flow.
To remedy this, we simply try not to be too smart and just generate
links to bookmarks when in the bookmark menu.
2025-02-25 17:24:19 +01:00
396ec4fca5
Ignore inaccessible directories when searching for changed git repos 2025-02-23 09:59:15 +01:00
be280ba373
Ensure bookmarks are loaded when opening via Org link 2025-02-23 09:38:48 +01:00
73a8e3be4b
Do not depend on autoloading db-org.el for bookmark links
Let's keep db-org a collection of autoloadable functions and move the
actual configuration of Org bookmark links to init.el.
2025-02-22 20:54:31 +01:00