Commit Graph

2224 Commits

Author SHA1 Message Date
583ddabeaa
Do not require pyvenv to be installed
It's not that crucial to be anymore.
2024-06-27 12:05:29 +02:00
bca13ec9f2
Use more telling name for setting up git commit buffers
There is no mode here, just a call to `git-commit-setup`.
2024-06-27 11:15:40 +02:00
e84b4fb825
Ensure org-password-manager only checks for properties when in Org
This surpresses warnings like

> Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer #<buffer *Org Agenda*> (org-agenda-mode)

among others.
2024-06-19 16:45:01 +02:00
f196d6e808
Show bookmarks before important files
I access bookmarks far more often than the list of local important
files, so let's skip the usual `C-o` hazzle and have bookmarks right
under point when available.
2024-06-17 16:20:42 +02:00
028dc91f28
Insert current clock when capturing simple tasks
This is more reasonable than inserting a link to the current location of
point, which can be quite arbitrary (at least in my workflow).  When a
link to the item at point is needed, it should be inserted manually.
2024-06-13 21:04:45 +02:00
5d28ab04a6
Fix some warnings in timeline-tools 2024-06-11 18:19:37 +02:00
051b578ba0
Do not include archives in timeline-tools by default
They are usually not needed, and can be included explicitly when
necessary.
2024-06-11 18:17:08 +02:00
2144c7e110
Fix headline display in timeline tools
Why did I do this that complicated to begin with?
2024-06-11 18:12:51 +02:00
3b8fa72a5a
Add missing but obvious path for magit to search for git repositories
Ah, well … that one's important ;)
2024-06-10 18:54:49 +02:00
5d561c0e1d
Update elpa packages
Also remove obsolete configuration for `git-commit` package.
2024-06-10 18:09:40 +02:00
03f856ce49
Use visual line breaks in markdown mode
Markdown formatted files are often displayed as HTML, where automatic
line breaks work better.
2024-06-09 16:01:57 +02:00
01a71c93d2
Move known links to front of link list only in older Org versions
This behavior became the default in Org 9.7.
2024-06-08 10:41:07 +02:00
de68fc30b2
Statically specify git repositories for magit
Relying on projectile's project list seems to be fragile and often
includes too many repositories, so let's let magit find those
repositories itself.
2024-06-08 09:26:40 +02:00
3dee200729
Skip task backlog items with deadline warning time in the future
This change is experimental and might be reverted.

Idea: we don't want to see those items until the deadline warning date
is due anyway.  Drawback: those items are not shown even when jumping to
the specific date (or past it), so planning ahread get's a bit more
complicated.
2024-06-06 10:45:25 +02:00
599cdec229
Ignore SOMEWHEN tasks in NEXT list 2024-06-02 18:17:41 +02:00
4a8e0a611b
Only considered direct tags when checking for missed appointments
Subitems of DATE entries are not relevant for this check.
2024-05-12 15:21:31 +02:00
207d9f8c39
Remove statistics cookies from Org links
Those cookies are correct when the link is inserted, but subsequently
gets updated (usually to `[0/0]`) when the statistics cookie is updated
in the Org item where the link is placed — removing any meaning from
this cookie.  It's thus better to not have it at all, I think.
2024-04-30 08:30:07 +02:00
85a6366550
Remove explicit final newlines in Org capture templates
`org-capture-fill-template` unconditionally adds a final newline to each
template.  This caused extra empty lines with the old templates when
nothing is inserted at point (`%?`), because in this case empty lines
before and after point were present, with nothing in between.

Those extra empty lines are gone now, and point is positioned after the
final non-blank character.  When extra empty lines are needed, they have
to be inserted manually.
2024-04-28 19:56:33 +02:00
84b18acc54
Show empty lines in collapsed Org view between too many blank lines
This is to better be able to identify those empty lines and keep the
notes tidy.

The new value for org-cycle-separator-lines` is the current default
value.
2024-04-27 20:14:44 +02:00
655da52bf0
Update Org tag alignment in headlines to match new text line width 2024-04-27 12:08:43 +02:00
a9f0f0b2ee
Increase text line width to take advantage of monitor space
Yes, 80 has been the default since ages, but I indeed to have more
horizontal space available and I should use it #NewTraditionsFromOld.
2024-04-27 10:45:18 +02:00
8fa265bd9b
Exemplarily simplify hook definition for BBDB setup
Inspired by the `use-package` documentation, but the other places where
`add-hook` is called this simplification does not seem to be appropriate
from my point of view (missing `-hook` suffix, better readability when
calling `add-hook` directly).
2024-04-25 17:16:58 +02:00
37d8c1c282
Do not enable proced auto-updating on Windows
This seems to be slow, causing proced to take more time updating a
buffer than waiting the one second until the next update – resulting in
an unresponsive proced buffer.

Note: I am not sure whether this setting is correct, as `(not
on-windows)` will not be evaluated when `use-package` calls
`custom-theme-set-variables`.  However, I think it will be evaluated
eventually, and that should be all that's needed.
2024-04-25 11:03:28 +02:00
83c9fd7d20
Allow the agent in Gnus to cache all articles
I sometimes have the feeling that mails are downloaded multiple times …
maybe this setting will help?
2024-04-24 21:15:56 +02:00
8ed64b7fb1
Remove more extra empty lines in Org capture templates 2024-04-14 11:00:30 +02:00
f064bf9384
Remove seemingly extra blank line after captured interruptions 2024-04-13 15:34:56 +02:00
595ac9e696
Disable org-lint checker for obsolete percentage encoding
I do not mind having such links, and sometimes I have to put up with
them, so let's spare `org-lint` of the trouble reporting them.
2024-04-11 20:19:11 +02:00
edb5d9119b
Experimentally include plain lists in Org's visibility cycling
It's nice to be able to collapse plain lists easily, as I have some
quite large ones.  The comment advises to be careful with certain
situations yields strange results, though, which is why this setting is
deemed experimental for the time being.
2024-04-11 19:01:04 +02:00
9edd604d26
Fix ill-worded comment 2024-04-11 18:58:59 +02:00
238c8ae0c8
Add extra spacing also to Org capture template for generic items
Missed that before.
2024-04-05 15:37:33 +02:00
5f33044458
Globally deactivate Org refile cache
This seems to be fast enough on Windows (and on Linux anyway) and avoids
cache invalidation problems.
2024-04-05 15:36:15 +02:00
1f348e256d
Disable refile verification when jumping to any Org item
Any item could be of interest, not only those that are valid refile
targets.

This might be slow.  May we should not be using the refile mechanism to
jump to any item?
2024-04-01 11:16:15 +02:00
840f10cab9
Display async shell command buffer again
I keep opening it manually for most of the commands, so why not have it
pop up automatically?
2024-03-30 15:46:21 +01:00
63eeefcb8e
Ignore backlink items tagged HOLD in default checklist
Items tagged with HOLD should be ignored in normal processes and should
thus not appear as backlinks.  Items tagged WAIT are supposed to appear,
though, and are not excluded from the list of relevant backlinks.
2024-03-25 17:48:50 +01:00
c6bfd493db
Minor reformatting in music-control hydra
This way, the help page for the `music-control` hydra show a link to
`db/play-auto-playlist`, as for all the other key bindings.
2024-03-24 16:55:19 +01:00
019c8822a1
Ignore scheduled entries on Waiting-For list altogether
They are shown on the main agenda view.
2024-03-24 13:44:19 +01:00
60c8a57bf8
Use consult for region completion, when available
This seems to be a good default?
2024-03-23 09:54:18 +01:00
04a714fc8c
Optionally use consult for some completion tasks 2024-03-23 09:50:10 +01:00
53a0c1b56b
Filter buffer and bookmark list only via orderless completion
I don't expect basic completion here, only the matching style from ivy.
2024-03-17 09:13:10 +01:00
8876f04756
Harden shortcut to jump to any Org heading from anywhere
In the previous implementation, when in some buffer which is not an Org
buffer that accidentally contains lines that partially match the regular
expression describing an Org heading, errors could occur when the Org
refile cache was empty.  To address this issue, let's temporarily switch
to some Org buffer before generating the list of all Org heading
targets.
2024-03-16 17:08:00 +01:00
3099e642ce
Change ellipsis character for Org mode
The old character had some odd depth in my current font …
2024-03-13 17:45:10 +01:00
85338cc8f5
Use basic completion before orderless
Using orderless by default get's in the way of “usual” code completion
and shell completion, where prefix completion is the expected
behavior (for me).  So let's try to use basic completion first, and try
to rely on orderless completion to kick in as soon as spaces are
involved (which should not happen for shell and code completion).

The completion colors should also help to see whether we are still using
basic completion or orderless completion.  Let's try this for now.
2024-03-11 17:25:30 +01:00
a4bae1d96e
Enable ivy region completion for ledger-mode
This is where I used it most often, and where I still want it to work
until a proper replacement is found.
2024-03-11 17:02:41 +01:00
4a14d2e37b
Add default keybinding for accessing recently used files
Since `counsel-switch-buffer` has been replaced by the plain
`switch-to-buffer`, recently used files are not shown there anymore, so
let's make `recentf` easier to access.

NB: `consult` also provides a function akin to `counsel-switch-buffer`,
so maybe this keybinding will not be that relevant anymore in the
future.
2024-03-11 16:14:00 +01:00
2ca13e12eb
Revert "Use ivy for completion in regions"
Using ivy for completing in regions somehow has problems in eshell, so
let's not do it.  The main use-case for using ivy in region completion
is for ledger, so maybe it can only be activated there?

This mostly reverts commit 615b285f74.
2024-03-11 16:10:24 +01:00
ea345e4d91
Use LaTeX-mode when available
This is achieved by aliasing `latex-mode` to `LaTeX-mode`, requiring a
bit of refactoring of how `major-mode-remap-alist` is being used.
2024-03-10 21:07:10 +01:00
615b285f74
Use ivy for completion in regions
This is nicer than the default completion window … but maybe there's a
better approach than using ivy only for this?
2024-03-10 11:44:46 +01:00
256f378c76
Disable garbage collection during Emacs startup
Taken from https://protesilaos.com/emacs/dotemacs, nice idea :)
2024-03-10 11:14:48 +01:00
b3a1689741
Simplify completion styles by with overrides for certain categories
The default completion style is now to use orderless by default, but
certain categories can benefit from additional completions (e.g., file
and partial-completion).

It's quite hard to determine the appropriate completion categories,
though.  Does Org have a dedicated one?
2024-03-10 08:55:25 +01:00
ea0e94c312
Only keep orderless match faces that are readable with solarized 2024-03-09 20:19:41 +01:00