Commit Graph

1288 Commits (5e4125cba31545d30f328b131b839044cf4d6b56)

Author SHA1 Message Date
Daniel Borchmann 5009eb39f9
Move eshell popup function to `db-eshell'
That's where it belongs.
2020-06-26 23:08:00 +02:00
Daniel Borchmann 32b424de24
Add missing require for `timeline-tools' 2020-06-26 23:02:09 +02:00
Daniel Borchmann 501060c05a
Silence byte-compiler in `db-eshell' 2020-06-26 22:59:46 +02:00
Daniel Borchmann 60808bee7d
Fix requirements for `db-emms' 2020-06-26 22:50:01 +02:00
Daniel Borchmann f163e925b8
Silence byte-compiler in custom mail handling code 2020-06-26 22:49:44 +02:00
Daniel Borchmann 7dbe2445ac
Remove obsolete cache playlist functionality
It has been replaced by a git-annex powered backend long ago.
2020-06-26 22:29:44 +02:00
Daniel Borchmann 8bb2d69fb3
Add missing requires for `db-music' 2020-06-26 22:28:15 +02:00
Daniel Borchmann 755fb23e2b
Replace `org-get-tags-at' by 'org-get-tags' 2020-06-26 22:17:25 +02:00
Daniel Borchmann 7c8b28c9bc
Move most `defcustom' declarations to `db-customize' 2020-06-26 22:07:39 +02:00
Daniel Borchmann b2709c0187
Add missing require for `db-org' 2020-06-26 22:07:14 +02:00
Daniel Borchmann 1cad9cc186
Remove obsolete `db/cmp-date-property' function 2020-06-26 22:00:18 +02:00
Daniel Borchmann 336ee9d7c4
Incorporate some suggestions from the byte compiler 2020-06-26 21:59:25 +02:00
Daniel Borchmann 7085e3ff65
Add Makefile for static analysis and automatic testing
Inspired by and fancy to use make :)
Yay make!
2020-06-26 20:17:21 +02:00
Daniel Borchmann a5393b597f
Extend Org Mode capture templates to include various forms of tasks
Org's capture template now distinguish between simple tasks, complex
tasks (i.e., those that need a separate headline because other subtasks may
follow later) and tickets (complex tasks that have a ticket number and a
reference).  Those things are necessary for work and may be helpful also
2020-06-22 18:03:07 +02:00
Daniel Borchmann c0f7ed37bc
Introduct org capture template for complex tickets
From time to time, a new item introduces a more complex task that requires a
separate headline.  The new capture template is meant for this use case: it will
ask for a ticket number (the complex tasks I currently have to deal with always
come with a ticket number), a headline description, a reference (link to
redmine ticket or something), and a first task (usually a link to the first
email from the ticket).  It might be that the template is too specific, but
let's try it out first and adapt it if necessary.
2020-06-21 17:05:55 +02:00
Daniel Borchmann 72bc471f98
Remove org capture template for keeping bookmarks
I am not using that one.
2020-06-21 16:59:19 +02:00
Daniel Borchmann aff6b2257f
Use `unbind-key' to unbind keys
It's more directly than the previousely used `(bind-key … nil)'.
2020-06-20 12:05:23 +02:00
Daniel Borchmann 1af68a6b00
Unbind default key binding for closing Emacs
Every so often, I accidentally close Emacs by confusing C-x and C-c.  To prevent
this, unbind the default key binding C-x C-c for closing Emacs.  Instead, we can
directly call `save-buffers-kill-emacs', what is what I am usually doing.

And, seriously, why should anyone close Emacs in the first place?
2020-06-20 12:01:19 +02:00
Daniel Borchmann 153c6e0aed
Mark task as not stuck while attending last meeting
If the only item below a task is a meeting that is currently attended, and thus
marked with the ATTN keyword, then the task as stuck.  Indeed, during the
meeting, new items may be added to the task at hand, so that after the meeting
is finished, the task will still be not stuck.  Because of this,
`org-stuck-projects' has been updated to not classify tasks as stuck if an item
with ATTN keyword is attached to it.
2020-06-20 11:12:11 +02:00
Daniel Borchmann 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
2020-06-15 21:18:20 +02:00
Daniel Borchmann 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 Borchmann a6776f1fe4
Do not try to use dbus when showing notifications under windows 2020-06-09 19:38:32 +02:00
Daniel Borchmann 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 Borchmann 97814ff988
Cache refile targets 2020-05-25 20:21:15 +02:00
Daniel Borchmann a404f9a8c2
Add missing `save-restriction' to template copy function 2020-05-24 16:46:24 +02:00
Daniel Borchmann 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 Borchmann 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 Borchmann 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 Borchmann 43a441e2cb
Remove obsolete function declarations 2020-05-10 14:27:38 +02:00
Daniel Borchmann 8f81f49074
Add two variables settings from LOLSMacs
2020-04-17 19:16:23 +02:00
Daniel Borchmann 004ac490ef
Reintroduce helper functions to quickly switch between themes 2020-04-17 18:58:18 +02:00
Daniel Borchmann 7a78446a92
Make capitalization a bit more consistent 2020-04-17 18:50:01 +02:00
Daniel Borchmann a729085946
Use pandoc as default processor for markdown files 2020-04-17 16:36:20 +02:00
Daniel Borchmann 50028af0b4
Update dash 2020-03-22 10:57:42 +01:00
Daniel Borchmann 113045a648
Always highlight variables in cperl-mode 2020-02-20 21:26:59 +01:00
Daniel Borchmann ffeead8d72
Extend configuration of cperl-mode
Enable automatic display of help messages, and disable most of the other
2020-02-20 21:21:47 +01:00
Daniel Borchmann 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 Borchmann 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.

2020-01-31 10:41:08 +01:00
Daniel Borchmann 292920de52
Extend README to use /plink: on Windows instead of /ssh: 2020-01-31 10:00:25 +01:00
Daniel Borchmann cdee268d84
Log note when closing tasks 2020-01-31 07:34:28 +01:00
Daniel Borchmann 112800e931
Add missing tag triggers 2020-01-30 15:43:18 +01:00
Daniel Borchmann ebe853406c
Not handle NO_EXPORT tag automatically anymore 2020-01-30 15:40:31 +01:00
Daniel Borchmann 09ac6b08c4
Take notes again when rescheduling tasks
Tasks are rescheduled quite often, and it should be clear later on why this has
2020-01-30 15:36:51 +01:00
Daniel Borchmann 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 Borchmann bea691cc9b
Move timeline minor mode activation to mode definition 2020-01-26 21:08:55 +01:00
Daniel Borchmann 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 Borchmann 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 Borchmann cccaf5bf4b
Move up timeline functions for moving the cursor
They are more fundamental than other functions, and should thus be closer to the
2020-01-26 20:54:34 +01:00
Daniel Borchmann 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