Daniel dbo
Loading Heatmap…

dbo pushed to master at dbo/.emacs.d

  • 5348856628 Only convert LF to CRLF when encrypting with S/MIME When only signing with S/MIME, `message-encode-message-body` complained about not being able to find \n\n. However, we only need the conversion when encrypting with S/MIME, and apparently the LF → CRLF conversion hack is working in that case. However, I think there should be some way to fix this properly within Gnus, maybe via some configuration … I think I have to write to the Gnus Usenet group for this.
  • b0a3808973 Fix comment on LF → CRLF conversion after signing with S/MIME Replaced "before" with "after", because we are converting after signing. Ah well.
  • Compare 2 commits »

1 week ago

dbo pushed to master at dbo/.emacs.d

  • 318f7c8f44 Fix reference to wrong buffer when creating links to other items When finding the location of an Org mode item to link to, `org-refile-get-location` may return a point even if the target buffer is not the default buffer. Resolving point in the default buffer thus yields a false marker and the inserted link is wrong. To remedy this, also consider the file name returned by `org-refile-get-location` to resolve point in the file buffer for that file.

2 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 8f4fa01304 Remove redundant save of point and mark `org-with-point-at` will do this already (at least for point).
  • 1916eb6736 Move point when inserting link to other Org mode item This is the natural flow, as usually one continues writing after the link, not before it.
  • Compare 2 commits »

2 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 6a590da9cb Disable automatic document highlighting in eglot This causes lagging while highlighting symbols, and the highlighting itself does not add much value. Disabling it thus does not hurt and gets rid of the lagging.

2 weeks ago

dbo pushed to master at dbo/.emacs.d

  • e2bd3880f1 Directly set variable to always create ID properties for links This is mostly because I haven't had time to understand what the `:custom` keyword is actually doing. Apparently, it introduces customizations without user interaction, which in turn makes changing default values a manual process (by changing customizations one has never done) thus resulting in inconsistent behavior.

2 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 185f1d75f3 Reduce configuration done in `early-init.el` As per the documentation (see "(elisp)Startup Summary"), only variable customization that affect package initialization should go into the early init file. Defining package archives is explicitly mentioned as something that still may go into the main init file. So we move it there and adjust comments accordingly.

2 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 4d0264b34b Always create ID properties when creating links This avoids headline-references (as opposed to referencing IDs) when implicitly creating links in new items through `org-capture` when already in `org-capture`. In that case, the %a template specifier will call `org-store-link` non-interactively (as it seems) and the old setting of `org-id-link-to-org-use-id` created links based to the headline of the target instead of creating a new ID property. Note that this will also always ignore CUSTOM_ID properties, but I haven't used it anyway.

2 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 96638b09e4 Allow to show backlinks directly from Org agenda buffers This is more convenient than to first switch to the item in the corrsponding Org mode buffer and then querying for its backlinks.

2 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 732323edfc Ensure to always return a marker when inserting links to other items `org-refile-get-location` sometimes only returns a point and not a marker. In that case, manually convert the point to a marker to ensure that calling functions now where to go to. Additionally, ensure that `db/org-default-org-file` is opened if not already done so, and error out if the current buffer is not associated with a file and no default Org file exists.
  • 00ca4c0276 Minorly simplify definition of Org linking hydra This way, the help buffer of the hydra provides a link to the underlying function.
  • Compare 2 commits »

2 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 22058b1568 Allow adding links to other items without refile verification We are only using the refile mechanism for convenience here, and not for actual refiling. The refile verification function is thus not relevant here. To take effect, we also have to ignore the cache, as it may hold precomputed targets that have used the refile verification function in a previous run.

2 weeks ago

dbo pushed to master at dbo/.emacs.d

  • d6584ef521 Fix signature of frame hook function This got removed in the last refactoring attempt.

2 weeks ago

dbo deleted branch db/org-backlink-searcher from dbo/.emacs.d

3 weeks ago

dbo pushed to master at dbo/.emacs.d

  • d7b2ad0b71 Extend docstring for hydra-org-linking

3 weeks ago

dbo pushed to master at dbo/.emacs.d

  • fd14313b9b Only warn about RESET_CHECK_BOXES if it's really there

3 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 7833e28185 Make checkdoc happy about db-org
  • 6e8b878b4d Warn when using the deprecated RESET_CHECK_BOXES property I want to use periodic tasks for repeated tasks with check boxes.
  • Compare 2 commits »

3 weeks ago

dbo pushed to master at dbo/.emacs.d

  • bfcca623dc Make checkdoc happy about db-hydras package
  • 78b202aed7 Introduce hydra for managing links between Org mode items It's easier to use and easier to keep track of what is available. It also saves key precious bindings!
  • 77920dd9a2 Move cursor forward when inserting link to current clock
  • afb06fca59 Free key binding for f12 I am not using it anymore, so let's make sure it stays that way and we can use that key for something else in the future.
  • Compare 4 commits »

3 weeks ago

dbo pushed to master at dbo/.emacs.d

  • eae1590e68 Add function to add link to currently clocked-in task This might be handy while working on a task and realizing that it's related to another one.

3 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 0946628681 Ignore local project cache
  • fde876a972 Restrict listing of link targets to current buffer by default This is much faster, and usually what we want. If references outside the current buffer are necessary, just prefix the call with a universal argument.
  • Compare 2 commits »

3 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 42d25198d9 Add link to current item when capturing simple TODO tasks Sometimes, I need those, and it's easier to delete references than to add them. Same with dates, where this behavior is already used.

4 weeks ago

dbo pushed to master at dbo/.emacs.d

  • 8fc035cb01 Do not set defaults for python-mode Keep the standards as they are and customize the variables when necessary. Changing the defaults almost always causes trouble when running on other machines. For example, `python3` is the name of the Linux executable, but not the Windows one.

1 month ago