Commit Graph

1169 Commits

Author SHA1 Message Date
Daniel - 7daf582df5
Query password when executing SQL queries against Oracle databases
I don't like to store my passwords in plain in my files.  Next step should be to
cache the password, but maybe this is already achieved by using a dedicated
session?
2020-06-15 21:18:20 +02:00
Daniel - 0c61bf999d
Remove emms-streams from helm-emms
emms-streams has been rewritten completely and does not seem to work anymore.
2020-06-15 21:17:35 +02:00
Daniel - a6776f1fe4
Do not try to use dbus when showing notifications under windows 2020-06-09 19:38:32 +02:00
Daniel - 4dac319ff7
Do not show waiting-for's in the agenda any longer
They don't have to be visible all the time, and can easily be queried by other
agenda commands.
2020-06-09 19:38:28 +02:00
Daniel - 97814ff988
Cache refile targets 2020-05-25 20:21:15 +02:00
Daniel - a404f9a8c2
Add missing `save-restriction' to template copy function 2020-05-24 16:46:24 +02:00
Daniel - fba18ca527
Add helper function to insert templates of periodic tasks
A periodic task is a task tagged with :PERIODIC:, and whose first child is an
item called "Template".  Following the template are the instances of the
periodic tasks, which constitute the actual things to do and which can be
scheduled independently of each other.  Whenever such an instance is due, the
template of the periodic task is supposed to be copied to the instance as a
first step.  This copying can be done manually, but of course doing it
automatically is easier.  The new function added in this commit represents a
first try to add such an automatism.
2020-05-23 16:25:13 +02:00
Daniel - 8cb39ec9e2
Statically choose face for Org Mode links
Checking whether the file exists or not and choosing the face accordingly may be
slow on Windows, where file operations seem to be expensive.
2020-05-15 11:20:48 +02:00
Daniel - 1be7f0e171
Add buffer overview to main helm shortcut menu
Often, I want to open some file and try to first open the corresponding buffer
in the hope there's some open buffer for it already.  When no such buffer
exists, I have to close the list of buffers, reopen the helm shortcut menu, and
navigate to the corresponding bookmark.  This is cumbersome and somehow
duplicate work, since the bookmark and the file most often are named similarly.

With a buffer overview in the helm shortcut menu I can now search for the file
directly and if it's already open, directly select the corresponding buffer.
If it has not been opened, though, I can navigate to the corresponding bookmark
with at most one additional keystroke (C-o) and open it there.  Nice!
2020-05-15 11:20:44 +02:00
Daniel Borchmann 2051347e72
Pin Org Mode version to stable 2020-05-12 20:01:35 +02:00
Daniel - 43a441e2cb
Remove obsolete function declarations 2020-05-10 14:27:38 +02:00
Daniel - 8f81f49074
Add two variables settings from LOLSMacs
https://github.com/grettke/lolsmacs/blob/master/lolsmacs.el
2020-04-17 19:16:23 +02:00
Daniel - 004ac490ef
Reintroduce helper functions to quickly switch between themes 2020-04-17 18:58:18 +02:00
Daniel - 7a78446a92
Make capitalization a bit more consistent 2020-04-17 18:50:01 +02:00
Daniel - a729085946
Use pandoc as default processor for markdown files 2020-04-17 16:36:20 +02:00
Daniel - 50028af0b4
Update dash 2020-03-22 10:57:42 +01:00
Daniel - 113045a648
Always highlight variables in cperl-mode 2020-02-20 21:26:59 +01:00
Daniel - ffeead8d72
Extend configuration of cperl-mode
Enable automatic display of help messages, and disable most of the other
features.
2020-02-20 21:21:47 +01:00
Daniel - 15f3a2d145
Turn on abbrev-mode by default only text buffers
We don't need that for programming, and it interferes with certain mode
configurations, e.g., cperl-mode.
2020-02-20 21:08:53 +01:00
Daniel - bec4bc13a2
Add new PERIODIC tag for recurring tasks
As described in [1], we are sometimes representing recurring tasks as lists of
single tasks plus a recurring task to create new instances once in a while.  All
of this is grouped under a common headline, and those headlines should be marked
with PERIODIC to inhibit automatic clock-in.

[1]: https://karl-voit.at/2017/01/15/org-clone-subtree-with-time-shift/
2020-01-31 10:41:08 +01:00
Daniel - 292920de52
Extend README to use /plink: on Windows instead of /ssh: 2020-01-31 10:00:25 +01:00
Daniel - cdee268d84
Log note when closing tasks 2020-01-31 07:34:28 +01:00
Daniel - 112800e931
Add missing tag triggers 2020-01-30 15:43:18 +01:00
Daniel - ebe853406c
Not handle NO_EXPORT tag automatically anymore 2020-01-30 15:40:31 +01:00
Daniel - 09ac6b08c4
Take notes again when rescheduling tasks
Tasks are rescheduled quite often, and it should be clear later on why this has
happened.
2020-01-30 15:36:51 +01:00
Daniel - 4dbc4b14c6
Split large setq init block for Org Mode into smaller parts
This makes it easier to evaluate assignments individually.
2020-01-30 15:32:38 +01:00
Daniel - bea691cc9b
Move timeline minor mode activation to mode definition 2020-01-26 21:08:55 +01:00
Daniel - 8d9bdc39de
Transform timeline even when extracting it from the buffer
This reenables automatic gap filling in case it has been configure with
`timeline-tools-filter-functions', but somehow breaks undo of killing in the
timeline buffer.  The problem seems to be that undoing a kill only restores the
killed line, but not the original line entries of the lines right before and
after the lined that had been killed.  In this way, the timeline of the buffer
has overlapping entries, resulting in odd behavior.

The problem is not quite understood yet, but it seems to be that undo does not
notice the changes to the surrounding lines (maybe because they have not been
done by text editing functions).
2020-01-26 21:01:13 +01:00
Daniel - caea47fc5f
Add standard shortcut for redrawing a timeline buffer
I keep hitting "g" so often that it has to work to not confuse me any longer.
2020-01-26 20:55:10 +01:00
Daniel - cccaf5bf4b
Move up timeline functions for moving the cursor
They are more fundamental than other functions, and should thus be closer to the
top.
2020-01-26 20:54:34 +01:00
Daniel - 619e5bdcae
No longer store timeline of current buffer in separate variable
This does not play nicely with undo, because undo won't track changes to local
variables.  Thus, if we every want to have a working undo in timeline buffers,
the timeline needs to be saved as something textual.  Luckily, we already store
each entry of the timeline as a text property in the timeline table, and from
now on we will extract the timeline from there whenever we need it.

Undo is still not working fully yet, there are some oddities that need to be
addressed first.
2020-01-26 20:45:44 +01:00
Daniel - 85cfd25097
Delete feature to remove short entries
Haven't used it much anyway, and this will not work anymore when we no longer
explicitly store the current timeline of the buffer.
2020-01-26 20:40:36 +01:00
Daniel - be43c611d9
Introduce explicit force parameter for timeline reparsing 2020-01-26 20:16:57 +01:00
Daniel - 3f5ae63ea4
Reparse timeline when buffer-local variable is nil
This removes a lot of duplicate code.
2020-01-26 19:50:29 +01:00
Daniel - ea4d49e99b
Delete assignment for `haskell-program-name'
Apparently, this variable is not used anymore.
2020-01-24 21:05:03 +01:00
Daniel - f4b1d80e6f
Set default mail user agent to Gnus
It has always been Gnus, but now it's official :)
2020-01-19 19:41:27 +01:00
Daniel - abfdbe41d2
Add another shortcut for standard git commit message
„Update submodule references“ is used when the commit just updates references to
updated submodules.
2020-01-19 17:22:09 +01:00
Daniel - 3fc25e3cad
Require customizations in utilities package
The function may make use of some custom variables, and this way we make sure
they are there when needed.
2020-01-19 17:21:32 +01:00
Daniel - 38f7fd7c88
Move some more custom org mode link handlers to `db-org'
This is where they belong, nowhere else.
2020-01-19 17:21:14 +01:00
Daniel - c566908deb
Let the org mode RFC link handler cache its documents
RFC documents do not change over time.  The custom org mode link handler
`db/org-rfc-open' now makes use of this by downloading RFC documents to
`db/rfc-cache-path' (if defined) and opening the files locally.  If
`db/rfc-cache-path' is not defined, the RFC is opened in an external browser as
before.

This allows to keep a selection of used RFC documents locally on the filesystem
for future reference, without the need to retrieve them again from the IETF.

Since this is all org mode related, the handler now also resides in `db-org'
instead of `db-utils'.
2020-01-19 17:17:47 +01:00
Daniel - bc6b1acde4
Convert `sc' shortcut to imperative mood
This shortcut is mostly used in git commit messages, and should be in imperative
mood.  Inspired by https://chris.beams.io/posts/git-commit/.
2020-01-18 15:06:12 +01:00
Daniel - 31bde05efa
Add missing word in comment
Sorry, but need to have it there …
2020-01-18 10:25:40 +01:00
Daniel - 66eb5e3da4
Fix missing handling of optional NTP format string 2020-01-18 10:24:49 +01:00
Daniel - c86051ba22
Add obvious test for NTP conversion
This test could not have been added before, because conversion was not
guaranteed to work for dates before the unix epoch.  It now is, and we finally
can check the start of the NTP epoch! :)
2020-01-18 10:20:21 +01:00
Daniel - 010f3cec86
Reimplement NTP conversion using Calc
The previous implementation made use of `encode-time', which is not
guaranteed to work with times before the unix epoch.  Indeed, on at least one
Windows machine, the corresponding function `db/ntp-to-time' could not handle
such dates.  However, Calc can handle those independently of `encode-time',
and `db/ntp-to-time' has now been reimplemented in terms of the corresponding
Calc functions.

All (both) tests still pass.
2020-01-18 10:17:54 +01:00
Daniel - 02299b11a4
Increase default value of the undo limit 2020-01-12 17:52:08 +01:00
Daniel - 158a232cfe
Move some personal customization variables to dedicated package 2020-01-11 12:35:53 +01:00
Daniel - f4b55ad777
Add tests for NTP time conversion 2020-01-11 10:13:30 +01:00
Daniel - a63210a336
Update criteria for stuck projects
Previously, a project was not stuck if any subtask was tagged NOP (no-project).
However, this led constellations like the following to be hidden from the stuck
project list:

  * Test               :NOP:
  ** TestTest
  *** TestTestTest     :NOP:

In this case, the NOP at TestTestTest would result in hiding TestTest, which,
however, does not have any more things to do and should thus be marked stuck.
The new configuration will check NOP only at the top headline, and not at any
other sub-headlines.  For this, a property search TAGS={NOP} is necessary,
because otherwise tag inheritance would result in wrong false negatives.
2020-01-10 18:23:11 +01:00
Daniel - a4f2428e49
Don' use `dired-open' when on windows
The reason is that `dired-open--start-process' uses POSIX tools (sh, nohup) that
are not generally available on Windows.
2020-01-10 18:18:26 +01:00