Commit Graph

554 Commits

Author SHA1 Message Date
Daniel - 12543a352b
Remove obsolete diminish package 2020-08-11 17:38:23 +02:00
Daniel - 09d28876f5
Revert default binding for F1 to EShell
I need more Emacs integration in my default shell.
2020-07-31 16:22:09 +02:00
Daniel - b65d05e2d3
Use an external shell as default shell
This is experimental.
2020-07-31 15:59:24 +02:00
Daniel - f8596e1028
Set default shell to bash
That's not only good enough, but also much more predictable than using the
currently used shell.  Customize `explicit-shell-file-name' if you don't want
bash.
2020-07-25 11:20:55 +02:00
Daniel - 1252023886
Use flycheck instead of flymake for Python
Not sure whether this configuration will actually work in all cases, but it's a
start.
2020-07-12 12:54:54 +02:00
Daniel - 91e67329eb
Remove workaround for eldoc-mode in Python
Turns out the reason was another version of `python-mode' being installed in
parallel.  Removing that mode fixed the issue.  Standard `python-mode' together
with elpy is sufficient for now.
2020-07-11 21:03:41 +02:00
Daniel - d61de4b7a5
Globally disable `semantic-idle-summary-mode'
It's interfering with `eldoc-mode' when programming Python, and likely not
necessary globally.  Enable it for particular modes when needed.
2020-07-11 20:52:07 +02:00
Daniel - 7a729aa006
Add missing information for complex TODO capture templates
The first tasks for complex tasks and tickets should be TODO items.
2020-07-10 22:18:17 +02:00
Daniel - 0885c3b648
Add missing Org Mode state trigger for empty keyword
Then a project is set on hold, the HOLD keyword is added.  When reverting the
hold state, projects go back to not having a keyword.  In this case, the HOLD
tag remains, because the old trigger definition was missing a case for the empty
keyword.  This is now fixed.
2020-07-06 17:13:27 +02:00
Daniel - 7ae1636f87
Add custom agenda view for projects
In our configuration, projects are headlines without TODO keywords, that are
neither periodic tasks nor dates (dates usually have todo keywords, namely GOTO
or ATTN, but sometimes dates are just for information, and then the keyword is
missing).  Additionally, projects are not tagged with NOP.

This listing helps to see the current projects one is working on.
2020-07-04 17:13:27 +02:00
Daniel - af7af1a59c
Add missing trigger for DELG keyword 2020-07-04 15:12:57 +02:00
Daniel - 7f0ba45716
Reset HOLD and WAIT tags when switching to default TODO item 2020-07-04 14:09:55 +02:00
Daniel - e039cfb658
Filter waiting tasks by tag, not keyword
This is possible because the state triggers are working correctly now.

Note: add the WAIT keyword to all existing waiting tasks, or otherwise this
the Unsupervised view will not work correctly!
2020-07-04 14:03:48 +02:00
Daniel - 01362ff804
Fix org state triggers for WAIT and HOLD todo states
The definition for general todo keywords overwrote the definition for WAIT and
HOLD, thus the corresponding tags where not set automatically.
2020-07-04 14:02:06 +02:00
Daniel - 1ab462f759
Do not show tasks on hold in main todo agenda view 2020-07-04 13:59:24 +02:00
Daniel - 06f243a068
Fix overview of tasks on hold
When filtering for tags instead of todo keywords, inheritance kicks in and makes
handling tasks on hold much easier: the relevant headline can be set on hold,
and all subtasks are automatically on hold as well.
2020-07-04 13:55:21 +02:00
Daniel - 8cd9fd2376
Increase column width in general todo list view
At work a larger margin is necessary.
2020-07-04 13:54:41 +02:00
Daniel - 3d14e85a00
Move view of stuck tasks to Unsupervised View
That's where it belongs.
2020-07-04 12:40:18 +02:00
Daniel - e5d64fec21
Show efforts in main todo agenda view 2020-07-04 12:40:12 +02:00
Daniel - b1b67e7ffe
Update default value of `org-agenda-prefix-format'
This matches my current customization and should thus be the default.
2020-07-04 12:39:42 +02:00
Daniel - b5b16a3791
Rework custom agenda views
The agendas for monthly reviews and notes are gone, I don't use them.  My
monthly review does not look at the agenda at all, only at my backlog.
Searching notes is done using Org's search functionality, and it's working very
fine.

The „Everything“ agenda has been renamed to „Unsupervised“.  The name
„Everything“ is not apt anymore, as this view clusters items that are not
displayed in the main agenda or are stuck.  The name „Unsupervised“ is a little
bit better, but may also change in the future.

Add a new view for listing all items that are not periodic and not part of the
personal backlog (i.e., not tagged with SOMEWHEN).  This list should help
getting an overview over the current workload of real TODO tasks.  Note that
both periodic tasks (tagged with PERIODIC, i.e., series of tasks) and regular
tasks (tagged with REGULAR, i.e., repeating tasks) are excluded from this list.

Descriptions of agenda views have been extended whereever it felt necessary.
2020-07-04 11:33:38 +02:00
Daniel - edf9afa68f
Readd hydra for shortcuts
Turns out I am using those shortcuts indeed, but forget about it ;)
2020-07-01 21:28:55 +02:00
Daniel - 2fd03dcf33
Restructure capture templates
The template for simple tasks should be simple, but got more complex in the last
change.  This mistake is reverted with this commit, and the usual "t" can now be
used again for simple tasks.  The "T" shortcut now provides capture templates
for complex tasks, but since complex tasks are both manifold and rarer, the
capture templates are provided with two-letter shortcuts.
2020-06-30 16:40:05 +02:00
Daniel - dd27018420
Rename main music hydra and move it to `db-music'
The `db-music' package is supposed to be an abstract interface to music
functionality, and should thus define the main hydra for this.  Moreover, the
hydra should not contain „emms“ in it's name, although it's using only EMMS
functions.

It's not clear whether EMMS will every be replaced by some other backend, but
it's nicer to have a (more or less) clear separation between user frontend and
implementation backend.
2020-06-27 10:16:53 +02:00
Daniel - 6183e008d7
Remove unused `hydra-shortcuts'
The idea of having a hydra to access frequently used features is certainly nice,
but quite hard to achive when one wants to redefine the hydra every time
`db/frequently-used-features' changes.  Regrettably, there are not „ephemeral
hydras“ that are created every time one would like to access it.  Therefore, the
shortcuts hydra is removed for now, but may come back again when we have found a
better way to handle its dynamic nature.
2020-06-27 10:08:39 +02:00
Daniel - 46d9973146
Move last Org Mode utility function from `db-utils' to `db-org' 2020-06-27 08:56:53 +02:00
Daniel - 0583c08cda
Move Org Mode utilities to `db-org'
`db-utils', the original place, is used for general purpose utility functions.
2020-06-26 23:21:37 +02:00
Daniel - 5009eb39f9
Move eshell popup function to `db-eshell'
That's where it belongs.
2020-06-26 23:08:00 +02:00
Daniel - 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 - 7c8b28c9bc
Move most `defcustom' declarations to `db-customize' 2020-06-26 22:07:39 +02:00
Daniel - 1cad9cc186
Remove obsolete `db/cmp-date-property' function 2020-06-26 22:00:18 +02:00
Daniel - 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
elsewhere.
2020-06-22 18:03:07 +02:00
Daniel - 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 - 72bc471f98
Remove org capture template for keeping bookmarks
I am not using that one.
2020-06-21 16:59:19 +02:00
Daniel - 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 - 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 - 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 - 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 - 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 - a729085946
Use pandoc as default processor for markdown files 2020-04-17 16:36:20 +02:00