Commit Graph

1519 Commits

Author SHA1 Message Date
Daniel - 5c36dba12c
Make function to update Org item headlines also work in agenda 2021-11-29 17:39:27 +01:00
Daniel - 25a7051c12
Add function to update headline of Org mode item and log note
This allows changing the headline of an item if it's scope changes and record
this change in a note.
2021-11-29 17:16:25 +01:00
Daniel - d5d6c9ecb2
Try out special behavior of C-a and C-e in Org mode
Learned about this via [1].  Sound interesting!

[1]: https://emacs.stackexchange.com/questions/55360/org-move-point-to-beginning-of-an-item#55366.
2021-11-28 14:41:39 +01:00
Daniel - 901d557c0b
Add backlog overview over all next items, regardless of schedule
This is primarily to be used in the weekly review to check all next items for
still being relevant, but can of course be used for other purposes as well.
2021-11-22 17:24:34 +01:00
Daniel - 56693defa3
Temporarily disable moody modeline
Apparently, this causes a considerable lag when drawing buffers (determined by
experimentation).  It's not clear to me whether really moody is the cause of
this issue here, or some subtle side effect.
2021-11-08 19:15:12 +01:00
Daniel - 6064f0e4b3
Add more test cases for base45 decoder 2021-11-07 10:04:16 +01:00
Daniel - b072e32988
Add more test cases for base45 decoder function 2021-11-07 09:10:09 +01:00
Daniel - 24bb768e3d
Simplify character conversion in base45-decode-string
This actually renders the separate translation function obsolete, it has been
inlined now.
2021-11-07 08:56:06 +01:00
Daniel - f1c3af9ea7
Add some regression tests for base45 decoder 2021-11-07 08:41:00 +01:00
Daniel - f52f48273a
Allow input of base45 decoder to also contain lower-case letters 2021-11-07 08:40:30 +01:00
Daniel - 0edfe4406c
Enable dash fontification and symbol lookup
As suggested by the dash README.
2021-11-07 07:05:24 +01:00
Daniel - e15be73bc1
Fix insertion of text from hex numbers
Using `insert` directly makes use of character conversion and may scramble the
byte when inserting into the buffer (indeed, `insert` does not seem to insert
the byte, but the characters whose code-points is given in the string; same for
`insert-char`).
2021-11-06 17:49:49 +01:00
Daniel - a8cfeaf69f
Add simple function for base45 decoding
For playing around with EU Covid Certificates.
2021-11-06 17:49:46 +01:00
Daniel - ef2932fed7
Always print two bytes when converting text to hex 2021-11-06 15:35:29 +01:00
Daniel - 0d1fe48e6f
Allow to copy template from outside of current file
My checklist template are usually located in a separate file, and sometimes even
in more than one.  Being able to copy those template to point is thus crucial.
2021-10-29 14:35:35 +02:00
Daniel - 747e505fda
Revert "Exclude NOTEs as refile targets"
Excluding NOTEs as refile targets also excludes them as jump targets for C-u C-c
C-w, which is bad.  Better move all NOTEs out of the main task list into a
separate notes.org or something.

This reverts commit 90b6e91051.
2021-10-24 12:56:29 +02:00
Daniel - 6b5d40b09b
Update local copy of plantuml-mode 2021-10-16 18:45:41 +02:00
Daniel - 5b10f83303
Fix typo 2021-10-16 12:27:56 +02:00
Daniel - c17bc4c1ab
Explicitly set frame title when current Org task changes
This should enable new frames to show the correct title, and not just the
default "emacs" string.
2021-10-16 12:21:02 +02:00
Daniel - 6277e0b104
Removed capture templates that add stuff to the current clock
Those things are added at the end of the LOGBOOK, instead of at the beginning.
This does not help, I would rather like to have those things being added as if I
would have taken a note on the currently clocked-in task.  Indeed, this is what
I have been doing instead of using those capture template, which is why this
commit removes them.
2021-10-16 10:32:48 +02:00
Daniel - aae46c2b0e
Do not show projects on hold in main project list
Use case: if the a super-project is set on hold, all sub-projects should also be
set on hold and not shown on the list of open projects.
2021-10-16 10:19:02 +02:00
Daniel - 1ddda3a730
Globally activate tab-bar-mode
The reason to keep this off was that my solarized-theme did not have support for
this.  Since I have hacked this support together on my own now, I can (and
should) also use it!
2021-10-16 10:14:55 +02:00
Daniel - 90b6e91051
Exclude NOTEs as refile targets
NOTEs are meant to hold information for the project at hand, and not to collect
tasks, because NOTEs are meant to live longer than those tasks.  Use dedicated
subprojects to group tasks.  Task may (and probably should) refer to NOTEs for
keeping long lasting information, though.
2021-10-16 10:12:51 +02:00
Daniel - b952504c81
Fix org mode category refresh when redisplaying timelines
Iterating over the current set of file names may not work when no files are
given (in which case all agenda files should be visisted).  However, instead of
fixing the set of files, it should be more robust to find all referenced buffers
by iterating over the markers of the entries.  In that case, even if a file is
visited by multiple buffers, we can be sure that the right buffers are referesh
before the timeline is redrawn.
2021-09-30 15:35:18 +02:00
Daniel - 31e2067050
Enable hl-line-mode individually
Enabling hl-line-mode globally causes undesired and disruptive highlighting
effects in buffers such as eshell.  Enabling it in prog-mode and text-mode
should be fine, though.

Additional modes may be added later.
2021-09-30 15:08:14 +02:00
Daniel - b80271d299
Disable completion in Org Mode buffers
I do not use the completion provided by company-mode, and sometimes it's even
disruptive during writing.  So let's disable it for the time being.

The original reason to keep it activated has been to have completion when
inserting links to local files.  This can better be achieved by providing a
universal argument to `org-insert-link`.
2021-09-29 16:29:29 +02:00
Daniel - ef3ad78c18
Globally highlight the current line
This should improve readability, but is only activated for test purpose for now.
2021-09-29 16:27:35 +02:00
Daniel - 2586bf8f18
Do not show waiting-for items that are on hold
Those will be listed in a separate list.
2021-09-27 17:33:41 +02:00
Daniel - fdd921d9ff
Indent lines after open parens as blocks
This will move lines more to the left when specifying arguments to constructors
or functions on multiple lines.  Nested function calls can also be broken into
multiple lines to reduce their overall line width.  This looks nicer from my
point of view :)
2021-09-25 20:54:03 +02:00
Daniel - 28a6a86cc4
Merge Reading list with Next Action lists
From my point of view, it does not make much sense anymore to distinguish these
two lists.  Reading items should be on the main next action list as regular TODO
items.  Indeed, using dedicated READ state does not make much sense either, so
let's remove that one from our capture templates, too, but keep the READ tag for
now.  However, we cannot remove it from the keyword list for now as we are still
using it in some old items.
2021-09-24 16:27:17 +02:00
Daniel - 835cd6d091
Update background color for tab-bar-mode
It's better to have this visually separated from the background, so let's use
base02 instead of the default base03 for this.
2021-09-18 11:47:10 +02:00
Daniel Borchmann 96d0c459cc
Add custom tab-bar definitions for solarized-dark
They appear to be missing.
2021-09-18 11:16:17 +02:00
Daniel - 9a106d8f0c
Unconditionally use rgrep when searching for files
This does not exclude files from searches as ag does, and is fast enough for
what I need.

Motivated by https://www.manueluberti.eu//emacs/2021/09/10/rgrep-and-vc-git-grep/.
2021-09-11 09:32:48 +02:00
Daniel - 16d5dd4847
Disable global semantic-mode key bindings
Those collide with Org's bindings for setting item prioties.
2021-09-11 09:26:50 +02:00
Daniel - e95f868c9d
Change default TRAMP method to scp
Motivation: https://helpdeskheadesk.net/help-desk-head-desk/2021-05-19/.  In a
nutshell: scp should be faster.

Not sure whether choosing pscp on Windows is a good idea, though.  This may
change in the future.
2021-09-08 18:24:44 +02:00
Daniel - d8691928b0
Do not keep inserted links in history
When keeping old links around, it may happen that adding another link is already
present in `org-stored-links`.  In that case, only a message is displayed (“This
link already exists”), but the link itself is not pushed to the front of the
link history.  A subsequent insertion of the link then requires manual selection
of the desired target, resulting in massive interruptions of the current flow.
2021-09-08 17:57:09 +02:00
Daniel - 1d107f4fd1
Add more blanks in Org mode lists
This should improve readability, and I am doing this manually all the time
anyway.
2021-09-08 17:41:51 +02:00
Daniel - 785db3ded8
Fix typo in linking hydra 2021-09-04 16:17:35 +02:00
Daniel - eeff9a5194
Push org-clock-history-lenght to the recommanded maximum
The more items are available in the clock history, the easier I can reference
them using `db/org-add-link-to-org-clock-select-task`.
2021-09-04 16:16:54 +02:00
Daniel - 3d761a4c6b
Add new commands and key-bindings for Org-roam v2 2021-09-04 14:53:58 +02:00
Daniel - 0c28ac9283
Upgrade dash 2021-09-04 14:47:04 +02:00
Daniel - e37be56b64
Migrating Org-roam to v2
Not completed yet, just removed old code from v1 that's not relevant anymore.
2021-09-04 14:46:43 +02:00
Daniel - 73228fdfc7
Sort tag and todo search result by priority also
This is the current default value from Org mode.  It also makes more sense for
my workflows, as those searches usually are meant to be worked upon, and
sorting by priority helps to find the most relevant items on those lists.
2021-09-03 17:17:37 +02:00
Daniel - 476d7128f8
Only show topics that have not been done or canceled yet
Those topics are not interesting anymore and should not appear on the topic
overview.
2021-08-28 20:55:02 +02:00
Daniel - 84f14a43a3
Do not show TOPICs scheduled in the future
This allows to hide topics that will only become relevant in the future.
2021-08-28 08:55:59 +02:00
Daniel - d6a392bcc7
Show topics in main project agenda
Topics are reviewed regularly (e.g, every month), so having a readily available
agenda view helps here.  It's also easier, I think, to keep an overview over all
active topics if they are easily accessible in a custom agenda view.
2021-08-27 17:28:59 +02:00
Daniel - 456cc6107b
Move refile overview to unspecified agenda
Things to refile should not be shown on the main agenda, as this view is only
meant to show open tasks.  Indeed, if to-be-refiled items are already done, they
should not be here for exactly that reason; and if they are not done yet, then
they will show up in the Next Action list anyway.

Bringing items to their (supposedly) correct location is not part of doing the
item, it's part of cleaning up (e.g., while doing the weekly review).

Emptying the refile file should still be done regularly, though, i.e., every
day (via a daily review) or weekly (in the weekly review).
2021-08-27 17:22:26 +02:00
Daniel - a1f0acfd87
Add custom function to list git-annex files via dired
This can already be done by using `db/dired-from-shell-command`, but it's more
convenient to have a specific command for this.
2021-08-24 10:18:36 +02:00
Daniel - 83dde6adc9
Move main part of Gnus' files out of private configuration directory
Those files are specific for each machine where Emacs is running and change
often, and should not be included as private configuration files.  Indeed, those
files might be versioned (e.g., using git) and deploying those versioned
configuration files over multiple machines would cause a number of conflicts if
Gnus' local mail files would be included as well (as has happend to me).  Since
those machine-specific files are not really relevant for other machines, keeping
them somewhere else is reasonable.  The new default is $HOME/.config/gnus-news.

Note that the main gnus-newsrc file is still kept as private configuration file.
2021-08-22 09:35:17 +02:00
Daniel - e14a7248b0
Directly complain when not file are available in custom dired view
Otherwise, a rather confusing error message is displayed about not being able to
find a file called "Command output" in the current directory.
2021-08-22 09:32:05 +02:00