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
3dbc9604d4
Mark bookmarks to EWW
2025-02-25 17:26:16 +01:00
396ec4fca5
Ignore inaccessible directories when searching for changed git repos
2025-02-23 09:59:15 +01:00
795fcde3b8
Use default mechanism to store URL bookmarks directly after creation
...
Nicer :)
2025-02-22 20:54:31 +01:00
35cc0080d5
Set bookmark type for URLs
...
Just for display, nothing else should change with this (yet).
2025-02-22 20:54:31 +01:00
4ddb17f204
Allow to run git-repo-change-checker command under old script name
...
Old habits die hard …
2025-02-22 10:24:24 +01:00
003121ba0c
Add simple function to list changed git repositories
...
This is akin (in purpose) to `magit-list-repositories`, but also
descends into submodules. It's not as nice as
`magit-list-repositories`, though … more of a draft version right now.
This replaces a shell script with similar purpose.
2025-02-16 17:51:00 +01:00
3a6d2005cb
Fix some flycheck warnings
2025-01-17 19:37:27 +01:00
ffe7eaf727
Minor identation fix
...
Done automatically, not fighting it.
2024-12-30 10:39:46 +01:00
ae5657fcc9
Add small utility to zoom into dedicated window
...
Taken from prot, see comment.
2024-12-30 10:39:29 +01:00
8521d627b4
Add convenience function to retrieve auth-source entries
...
Again inspired by https://magnus.therning.org/2024-09-01-improving-how-i-handle-secrets-in-my-work-notes.html .
2024-11-16 17:17:19 +01:00
0f43b7303f
Add custom function to start ement.el without prompts
...
Inspired by https://github.com/alphapapa/ement.el/issues/32#issuecomment-902539093 .
2024-10-20 19:11:19 +02:00
0acc0687ea
Save bookmarks added with custom handlers
...
I am saving bookmarks anyway, so why not do it automatically.
2024-07-06 09:18:31 +02:00
42074f7d6a
Fix some docstring formatting
2024-03-09 16:30:08 +01:00
dbd19d0da8
Extend candidate list for custom grep-files function with history
...
It might be useful to actually see the history entries, so let's
explicitly include them in the candiate list.
2024-03-09 16:18:51 +01:00
4124bc28d5
Provide default value for custom grep-files pattern query function
2024-03-09 16:16:03 +01:00
f6c40ad619
Fix wrong candiate specification in custom grep-read-files function
...
Somehow mixed up the order, I suppose.
2024-03-09 13:45:49 +01:00
ed0286dc95
Include last modification time when adding custom-type bookmarks
2023-11-27 18:02:14 +01:00
15d202340f
Remove obsolete part of a function docstring
2023-11-27 17:46:12 +01:00
11ae275bb8
Do not use closures as handlers for custom bookmark types
...
Using closures leads to errors when using standard bookmark functions,
as they seem to expect a symbol as handler.
2023-11-27 17:35:33 +01:00
f2a62083d7
Allow overriding presence check for adding known SSH keys
...
Providing a non-nil universal argument to `db/load-known-ssh-keys` now readds
all known SSH keys to the current SSH agent, irregardless of whether they are
already present or not.
2023-10-01 09:51:53 +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
53a9ede65c
Marginally refactor function to add SSH keys to current agent
...
Does this improve readability?
2023-07-16 15:12:30 +02:00
1ec3dd24e6
Add some error-handling when adding SSH keyfiles
2023-07-16 15:12:26 +02:00
45c3b61476
Extend docstring of ssh-add utility function
2023-07-16 10:17:42 +02:00
c43291d23b
Modularize SSH key-file utility functions to increase reusability
2023-07-16 10:15:55 +02:00
82e50e8e22
Silence some byte-compiler and checkdoc warnings
2023-07-15 15:03:24 +02:00
a2f0e0ca3b
Determine whether an SSH keyfile is already loaded before loading it
2023-07-15 14:59:30 +02:00
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
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
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
d8a41ca0cf
Move Dired utility functions to general utility library
2023-07-01 17:02:12 +02:00
908b5f278e
Remove some byte-compiler warnings
2023-06-27 21:04:02 +02:00
ebb84f2139
Generalize SSH key adding function to additional password backends
...
Untested for Org password manager.
2023-06-27 20:20:28 +02:00
096f790fab
Change some code heading
2023-06-27 19:40:09 +02:00
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
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
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
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
7bd8c0ef2b
Remove obsolete function to conditionally enable lispy
...
Not using this anymore.
2023-04-30 17:25:53 +02:00
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
47d7e31800
Let display-buffer handle window placement for shells
...
This provides the same functionality, but makes it more configurable.
2023-02-13 13:22:51 +01:00
aec896c939
Always display shell buffers at bottom of frame in dedicated window
...
Inspired by https://www.masteringemacs.org/article/demystifying-emacs-window-manager .
2023-02-11 19:33:19 +01:00
461f212529
Simplify file pattern query for grep
...
The original version of `grep-read-files` includes file names in its default
values, giving an irritating completion candidate list when used with ivy.
Changed this to just let `completing-read` do the completion itself.
2022-12-15 16:29:36 +01:00
40ff1d3004
Update indentation in some elisp files
...
According to new elisp default indentation provided by
`common-lisp-indent-function`.
2022-08-05 09:15:33 +02:00
c17a0e7f4c
Move custom ediff Dired function to utilities package
...
This is more in line with other utility functions.
2022-08-04 18:58:42 +02:00