Commit Graph

1546 Commits

Author SHA1 Message Date
Daniel - 9d7e88df0e
Ensure functioning of Org Clock hydra even if no task is clocked
It happens sometimes that the clock is not active, in which case hydra tried to
replace strings in `org-clock-current-task`, then a nil value.  Fixed this.
2022-02-26 10:16:13 +01:00
Daniel - c35956c2dd
Fix false filter in Next Action List 2022-02-25 17:13:25 +01:00
Daniel - 9221f0f8af
Don't let TRAMP use auth-sources when completing input
This is unnecessary and potentially annoying.
2022-02-23 18:10:17 +01:00
Daniel - b3202085c3
Simplify dired ls switches
This should also work on busybox now.
2022-02-23 18:09:56 +01:00
Daniel - 5234ddd0a3
Do not show scheduled items in WIP or NEXT list
When things are scheduled, they are shown in the time grid portion of the
agenda.  When they are scheduled in the future, they will not show up until that
date is due; when they are scheduled in the past or present, they are shown on
the time grid directly.  Both situations are sufficient, and it's thus not
necessary to show scheduled items in other lists as well.
2022-02-23 16:51:45 +01:00
Daniel - 695b3396dd
Extend WIP list with started dates and remove future items
Started dates are also WIP, in particular if they have been interrupted.  Items
scheduled in the future should only appear on the WIP list when they are due.
2022-02-07 17:10:17 +01:00
Daniel - 83421c072a
Remove trailing whitespace after HTML rendering a file
Those whitespaces are neither necessary nor helpful.
2022-02-06 20:57:36 +01:00
Daniel - 0a76969a95
Automatically expire elements in Gnus groups via gnus handler
So I don't have to do it manually.

Not sure whether this works, though.
2022-02-06 20:56:46 +01:00
Daniel - 940c4b04a8
Remove explicit initialization of gnus-demon
This is automatically done by `gnus-demon-add-handler`.
2022-02-06 20:56:19 +01:00
Daniel - 5178d039f4
Experimentally add a WIP list
I regularly filter the main agenda view for the CONT tag to see my WIP items, so
it's propably meaningful to have this as extra list.  It's using some space in
the agenda view, though, so let's see how this will turn out.
2022-02-06 14:19:45 +01:00
Daniel - 90223e3ab0
Do not export diary by default
This had been used to synchronize my calender with others, but since this
synchronization is not in use anymore, regular exports are unnecessary.
Furthermore, the export makes Emacs unresponsive sometimes, as the export does
not seem to be easily preemtable.
2022-02-06 10:11:28 +01:00
Daniel - 2b02da2eca
Do not filter short kill ring entries in helm selection
I sometime kill single characters for usage in query-replace, and not having
them available in the kill ring is hampering.
2022-01-30 21:06:43 +01:00
Daniel - dccac3982f
Do not highlight LaTeX related syntax by default
Enabling this somehow caused performance issues in Org Mode buffers, and since I
am not using this syntax, let's just disable it.  This setting can be
overwritten via the Customize interface.
2022-01-29 15:37:56 +01:00
Daniel - 50362f4d27
Allow to ignore stuck projects that are scheduled in the future
This allows to postpone projects into the future when they are not relevant now
but would otherwise be stuck.  Because of the scheduling, an automatic reminder
will appear on the agenda when the date is due, upon which the projects is shown
again as stuck.  Then new items can be planned, or other measure might be taken.
2022-01-23 09:34:18 +01:00
Daniel - efb7500202
Add original value as default when changing Org item headlines
This allows to make simple changes to the original headline of an item.
2022-01-08 15:42:40 +01:00
Daniel - d23a8dc817
Fix adding notes when updating headlines
I think I just did it wrong, so let's try adding a note by calling
`org-add-note` directly.  So far it's working better, but I am not quite sure
whether I really did it right this time.  In any way, `org-add-note` keeps track
of all the bookkeeping for taking notes, so my code is simpler now :)
2022-01-08 09:11:02 +01:00
Daniel - 4a5b363ead
Show items in main agenda view that are not scheduled in the future
This should make the main agenda view into a good overview of everything that
can be done right now, allowing it to choose the next task directly from that
list.  The scheduled items then are only meant for information and hiding future
tasks.
2022-01-02 14:22:35 +01:00
Daniel - 407f5d70f2
Add newlines when inserting templates
I find myself inserting these newlines whenever I insert a template, so let's
let them insert them automatically.
2022-01-02 09:31:29 +01:00
Daniel - 1fa15e6736
Clean up local Emacs notes
They should go somewhere else, but until then it's better to keep them clean.
2021-12-26 11:29:54 +01:00
Daniel - 4ae5bc87dd
Reduce Gnus registry size
I had ≈9500 entries and I think this had been too much, causing noticable lag
when closing Groupd.  In particular my email volume is much lower than this.
2021-12-15 09:46:01 +01:00
Daniel - 5bc7c70882
Add function to copy template of Org Mode item to location at point
This is a convenience function and has been bound to a shortcut for easier
usage.  This function is supposed to be the standard way to copy templates.
2021-12-15 09:43:50 +01:00
Daniel - 092cbd653d
Ignore SOMEWHEN items on waiting-for list
They are shown in the dedicated SOMEWHEN list, where they belong.
2021-12-14 19:34:34 +01:00
Daniel - ded3e93e78
Add some missing autoload statements 2021-12-13 21:36:04 +01:00
Daniel - 80eeca1e44
Add simple function to find template via special property
This allows both a more fine-grained and more flexible control over where
templates can be located and which templates are suppoed to be used for the item
at point.  This function could also be bound to a custom key binding to make it
easier to invoke.
2021-12-13 21:32:05 +01:00
Daniel - eafebe1cb9
Add simple function to directly render html from a file
This is simpler than opening the file in a buffer and calling shr-render-buffer,
with some buffer maneuvring afterwards.
2021-12-13 21:17:45 +01:00
Daniel - cedaae00e8
Make template copy function more robust
Instead of going upward from the end, we now just start from the beginning and
skip all drawers we may encounter.  This should also allow to copy subtrees in
templates, although adjustments to the headline indentations might be necessary
if the template and point are on different levels.
2021-12-13 21:17:18 +01:00
Daniel - 159c8c0eb6
First check for major mode when update Org item headline 2021-11-29 17:39:33 +01:00
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