Commit Graph

576 Commits

Author SHA1 Message Date
Daniel - d7b88a1f12
Use `counsel-descbinds' to describe current keybindings 2020-01-03 10:24:15 +01:00
Daniel - 2bc856618a
Don't automatically clock in when taking notes
If this is necessary, clock in separately using the interruption template.
However, I have felt that this is rarely useful, to the extend that I haven't
used the note capture template just because it disturbs the clock.
2019-12-30 13:25:07 +01:00
Daniel - e6f0ee11f8
Fix manual pinning of packages 2019-12-21 19:01:25 +01:00
Daniel - 42ef36f836
Pin essential packages to melpa-stable 2019-12-21 18:52:50 +01:00
Daniel - 02b05ff28f
Pin repositories for EMMS related packages to melpa-stable 2019-12-21 18:39:07 +01:00
Daniel - 9016db229a
Don't explicitly load abbreviations
Since we are loading customizations during initializtion time now, we can let
Emacs handle reading abbreviations itself.
2019-12-20 20:31:15 +01:00
Daniel - 28860ac415
Fixing some typos 2019-12-20 20:28:26 +01:00
Daniel - 508b587d84
Don't set helm's prefix key via setq
Use customize for this.
2019-12-20 20:25:28 +01:00
Daniel - 2980fe59b2
Update comment 2019-12-20 20:25:19 +01:00
Daniel - 339badc995
Simplify helm setup 2019-12-20 18:03:50 +01:00
Daniel - 08e22cb698
Remove verbosity when loading customizations
`load-file' already prints all necessary information.
2019-12-20 18:03:32 +01:00
Daniel - 0dae55d5a9
Remove `helm-org' 2019-12-20 17:57:23 +01:00
Daniel - f2da14592a
Don't load packages when there is no need to do it 2019-12-20 17:54:29 +01:00
Daniel - 9c5f6d062f
Don't explicitly clean up projectile projects
This is done by projectile itself during mode activation.
2019-12-20 17:53:54 +01:00
Daniel - 7c41f1df73
Make loading customizations a bit more verbose 2019-12-20 17:53:38 +01:00
Daniel - c8dfffbbc1
Set default value for semantic modules to load 2019-12-20 17:44:22 +01:00
Daniel - 05cb96d310
Add semantic activation 2019-12-20 17:41:40 +01:00
Daniel - d40f4d92e8
Don't demand yasnippet 2019-12-20 17:34:37 +01:00
Daniel - 571cd3934d
Globally enable yasnippet 2019-12-20 17:34:05 +01:00
Daniel - 96fd57bb90
Load customizations directy during initialization time
Loading customizations in `db/run-init' may cause accidental overwrites of
custom settings when loading variables changes and saves values of other
customizable variables.  For example, loading `custom-enabled-themes' may update
`custom-safe-themes', and if this loading happens after initialization time,
this update is directly written to custom.el via a call to
`customize-push-and-save', overwriting all remaining, i.e. not loaded, custom
settings.  Loading custom settings during initialzation time prevents this
behavior.

Note that this change causes some packages to load during initialization time
that previously had been loaded only afterwards.
2019-12-20 17:05:20 +01:00
Daniel - 9e0338e683
Dynamically create hydra from `db/frequently-used-features' 2019-12-20 16:12:11 +01:00
Daniel - 60dabe0440
Explicitly require `hydra' 2019-12-20 15:38:41 +01:00
Daniel - a9695b9d1a
Generalize `db/frequently-used-features' to also include shortcuts 2019-12-20 15:14:29 +01:00
Daniel - 20cc9f34bb
Remove obsolete definition for `helm-mini' 2019-12-20 15:05:41 +01:00
Daniel - d66c568a83
Update default value of `db/frequently-used-features' 2019-12-20 15:04:35 +01:00
Daniel - fe1c45e95e
Remove duplicate setting of `enable-recursive-minibuffers' 2019-12-20 11:27:58 +01:00
Daniel - 4c656aa8a1
Use counsel for showing shell history 2019-12-20 11:26:19 +01:00
Daniel - fabc890417
Make sure the private data directory exists 2019-12-18 21:04:47 +01:00
Daniel - ec847d606c
Comment the purpose of the `eproject' configuration 2019-12-17 13:10:23 +01:00
Daniel - ace191d0d6
Regroup Python configuration 2019-12-17 13:10:04 +01:00
Daniel - 0579025806
[Init] Add `db/after-init-load-files'
This allows to specify files to be loaded as the last step in `db/run-init'.
This way, custom code can be added to this Emacs configuration without
explicitly adding it to its configuration, making future merges easier.
2019-12-13 16:07:36 +01:00
Daniel - 485b7b84d3
[Utils] Using `dired-open-file' doesn't work for bookmarks
Pity!
2019-12-13 15:28:46 +01:00
Daniel - c2addcd299
[Dired] Don't use nohup on non-linux systems 2019-12-13 15:25:31 +01:00
Daniel - 6f375c301f
[Util] Add helper to add bookmarks to be opened by `dired-open-file' 2019-12-13 15:05:44 +01:00
Daniel - 74fa0b05b4
[Dired] Ensure `dired-open' is present 2019-12-13 14:59:41 +01:00
Daniel - 0880fbf541
[Dired] Untangle requires for `dired+' and `dired-open'
Additionally, `dired-open' is now also required in Windows.
2019-12-13 14:59:06 +01:00
Daniel - 60a5b4572c
[Dired] Always use same applications to open files 2019-12-06 13:11:46 +01:00
Daniel - 4fa4a3bd68
Set default priorities in capture templates 2019-11-30 08:37:36 +01:00
Daniel - c3f0cba213
Always treat org-mode search as boolean searches 2019-11-30 08:37:31 +01:00
Daniel - d98cd21c0f
[Python] Adding some completion
Not clear whether I will really like this, but it's always easier to turn it off
than finding out how to configure it in the first place :)
2019-11-11 19:14:57 +01:00
Daniel - 3de4a086c1
[Init] Load `vlf' lazily in `db/run-init' 2019-11-11 18:29:17 +01:00
Daniel - 10b41b5bfa
[Misc] Some configuration for `markdown-mode' 2019-11-11 18:24:30 +01:00
Daniel - a9c82c1db7
[Misc] Minor cosmetics 2019-11-11 18:24:19 +01:00
Daniel - c183ceed82
[Misc] Remove `ebib' 2019-11-11 18:24:11 +01:00
Daniel - ca09c77084
[Misc] Adding some `:ensure t' 2019-11-11 18:24:08 +01:00
Daniel - ff41f4586e
Revert "[Org] Set `org-agenda-span' to 2 as new default"
This reverts commit 61793eae0e.
2019-11-06 19:51:33 +01:00
Daniel - 61793eae0e
[Org] Set `org-agenda-span' to 2 as new default 2019-11-03 14:53:02 +01:00
Daniel - 5d039a026d
[Misc] Explicitly enable `global-git-commit-mode' in magit 2019-11-02 10:21:06 +01:00
Daniel - fd9c75d693
[Misc] Don’t enable ‘electric-quote-mode’ in text-mode
It disturbs writing in org mode source blocks.
2019-10-31 19:02:19 +01:00
Daniel - 58a5d7e354
[Misc] Move fix for ‘enriched’ outside of ‘db/run-init’ 2019-10-21 17:28:30 +02:00
Daniel - c50d12fadd
[Misc] Reorder entries in ‘db/helm-shortcuts’ 2019-10-15 16:50:38 +02:00
Daniel - 11146c3a9b
[Misc] Add explicit dependency to elpy 2019-10-03 14:50:31 +02:00
Daniel - 3422bb7e46
[Misc] In case eproject gets loaded, disable it for message-mode 2019-09-15 11:22:21 +02:00
Daniel - a33f14f216
[Misc] Fix candidate list of important documents for ‘db/helm-shortcuts’
Now actions work again.
2019-09-02 21:04:14 +02:00
Daniel - e6a5a8d9cd
[Helm] Move code of ‘db/helm-shortcuts’ directly to init.el
This makes ‘db-helm’ obsolete again (already after one commit!).  The function
to extract all files from ‘db/important-path’ has also been dropped in favor of
the standard ‘directory-files-recursively’.  It’s not clear yet whether this
will also work on Windows, though.
2019-08-31 12:02:02 +02:00
Daniel - bbad4b7fd4
[Helm] Move code for ‘db/helm-shortcuts’ to different file
This keeps ‘db-utils’ require-clean.
2019-08-31 11:39:04 +02:00
Daniel - 44e6818abb
[Org] Provide function to set frame title from current clock 2019-08-31 11:26:04 +02:00
Daniel - 541851ed00
[Misc] Remove duplicate assignment for variable 2019-08-31 10:59:24 +02:00
Daniel - 6ffbbfdd90
[Misc] ‘cursor-in-non-selected-windows’ is buffer-local, so use ‘setq-default’ 2019-08-31 10:59:22 +02:00
Daniel - a7bb5d680d
[Misc] Don’t show cursor in non-selected windows 2019-08-31 10:49:49 +02:00
Daniel - d28e51f5e6
[Org] Remove obsolete usage of ‘file+datetree’ from capture templates 2019-08-30 16:28:48 +02:00
Daniel - cfc95c295d
[Org] Remove capture template for MEETING 2019-08-23 17:27:36 +02:00
Daniel - 777494635e
[Org] Make function to mark default task non-anonymous 2019-08-22 20:38:00 +02:00
Daniel - 32afb7eb8f
[Utils] Fix use-package declaration 2019-08-22 20:37:08 +02:00
Daniel - 6f1a27e954
[Org] Clean up capture templates 2019-08-22 19:20:14 +02:00
Daniel - a760b8042f
[Init] Don’t use ‘swiper-isearch’ as default for searching anymore
It’s more disturbing than helpful for my workflow.
2019-08-17 17:07:41 +02:00
Daniel - 8e1cba51d6
[Org] Don’t show separator lines 2019-08-03 16:27:15 +02:00
Daniel - afb69eb351
[ivy] Remove obsolete formatting function
The default is good enough anyway.
2019-07-27 17:27:40 +02:00
Daniel - 27ef9d83d4
[EShell] Don’t use ‘C-l’ to clear the buffer
This usage conflicts with the usual semantics of ‘C-l’ in Emacs.
2019-07-15 16:01:58 +02:00
Daniel - 55c3b60964
[Org] Readd default value for ‘org-duration-format’ 2019-06-16 15:52:13 +02:00
Daniel - 4e23ef8be7
[Org] Don’t fix ‘org-duration-format’ 2019-06-16 08:26:17 +02:00
Daniel - 1775b28e64
[Dired] Two additional default settings 2019-06-11 21:25:29 +02:00
Daniel - 9d73bb57f7
[Org] Enable startup in agenda buffers
It seems that otherwise all drawers are always non-collapsed.
2019-06-11 21:24:36 +02:00
Daniel - 496adadbcd
[Misc] Updateing holidays 2019-06-11 06:32:01 +02:00
Daniel - 952e6f1c95
[Music] Add simple function to play files from git-annex-find call 2019-06-10 16:27:28 +02:00
Daniel - 9e075d6e0c
[Music] Introduce ‘db/play-auto-playlist’
This is the main entry point to play automatically generated playlists (“auto
playlists”).  It is using the value of ‘db/auto-playlist-file-function’ to
generate a list of files to play.  This list if currently played using EMMS, via
‘db/-emms-playlist-from-files’.
2019-06-10 14:11:52 +02:00
Daniel - c309cf7917
[Music] Move customizable variables into db-music.el 2019-06-10 11:33:35 +02:00
Daniel - 7cd6d399a4
[Music] Fix name of playlist function from git-annex-find 2019-06-10 09:39:53 +02:00
Daniel - 9b48edd77f
[Music] Allow for customizing automatic playlist function 2019-06-10 09:39:52 +02:00
Daniel - 0e3ad47943
[Utils] Command to display dired buffer of custom file list 2019-06-08 13:05:17 +02:00
Daniel - 7bfdb92259
[Misc] Move some holidays into main Emacs configuration 2019-06-03 21:26:26 +02:00
Daniel - 5c6468c455
[Misc] Don’t show holidays by default when opening the calendar 2019-06-03 21:26:19 +02:00
Daniel - f2115f5587
[Org] A custom link type for RFCs 2019-05-31 21:38:05 +02:00
Daniel - f518c0ca3d
[Misc] A blank line 2019-05-31 21:37:51 +02:00
Daniel - 63b2e34be4
[Org] Add link types for Outlook and OneNote 2019-05-31 21:28:44 +02:00
Daniel - 71a11c52db
[Init] Fix wrong keybinding for ‘ibuffer’ 2019-05-31 21:20:54 +02:00
Daniel - db10dfc9d4
[Init] Use ‘ibuffer’ instead of ‘list-buffer’
Why didn’t I do this before?
2019-05-31 18:54:32 +02:00
Daniel - a4c09781d0
[Init] Completely disable flyspell mode
Do spell checking on demand instead.
2019-05-25 18:48:37 +02:00
Daniel - a48177680e
[Org] Record closing information also for interruptions 2019-05-20 17:32:38 +02:00
Daniel - bb6018c0f8
[Org] Record time when item is closed
Why haven’t I enabled this earlier?
2019-05-17 21:31:10 +02:00
Daniel - 9370fa747f
[Init] Explain why we explicitly load abbreviations 2019-05-05 20:48:52 +02:00
Daniel - 0e500ae0d0
[Misc] Remove duplicate setting for ‘load-prefer-newer’ 2019-05-05 20:48:38 +02:00
Daniel - cbe330346c
[Magit] Don’t automatically refine hunk 2019-05-03 19:06:00 +02:00
Daniel - fa65f4ad03
[Dired] Add shortcut for ‘dired-subtree-toggle’ 2019-05-03 18:19:03 +02:00
Daniel - 635e85901c
[Init] Disable automatic spell checking on windows
It’s too slow.
2019-05-03 18:17:58 +02:00
Daniel - 22466b550c
[Misc] Set default value for ‘auth-sources’ 2019-04-28 11:25:11 +02:00
Daniel - 2f228ecaaf
[Misc] Set lighter for minions-mode to something reasonable 2019-04-17 19:16:52 +02:00
Daniel - e138b156c6
[Init] Also bind C-r to ‘swiper-isearch’ 2019-04-17 19:12:44 +02:00
Daniel - ac0894e500
[Misc] Explicitly set mode-line-format
This is done before loading customizations, so that they can be used to
overwrite the default.
2019-04-14 14:06:25 +02:00
Daniel - 9892d838a0
[Misc] Replace smart-mode-line with calls to moody functions 2019-04-14 14:06:10 +02:00
Daniel - 1d89673137
[Misc] Adding some code to improve mode line appearance
Using it not much, though.
2019-04-14 13:44:39 +02:00
Daniel - 13f449871d
[Misc] Use counsel for listing bookmarks 2019-04-14 08:39:33 +02:00
Daniel - 626630a14a
[Org] Increase idle time for ‘db/export-diary’ 2019-04-14 08:39:12 +02:00
Daniel - e7222330c9
[Init] Use ‘swiper-isearch’ when available 2019-04-12 11:10:26 +02:00
Daniel - 0c3b613625
[Gnus] Explicitly activate demon after startup
Calling ‘gnus-demon-init’ after loading gnus does not seem to have the desired
effect, now trying to run it after gnus has started.
2019-04-11 19:13:23 +02:00
Daniel - 20e14a345b
[Hydra] Remove hydra for changing ispell dictionaries
Use standard ‘ispell-change-dictionary’ instead (it’s more generic and should
also work on Windows)
2019-04-11 09:03:37 +02:00
Daniel - e67acca3a9
[Init] Unconditionally enable ‘flyspell-mode’ in text buffers 2019-04-11 09:00:19 +02:00
Daniel - 063cae1cf5
[Misc] Don’t set ispell variables 2019-04-11 09:00:04 +02:00
Daniel - bb02015432
[Misc] Don’t set default theme for ‘smart-mode-line’ 2019-04-07 14:32:53 +02:00
Daniel - f62702e1ea
[Gnus] Explicitly initialize demon 2019-03-31 11:16:50 +02:00
Daniel - ed285c87d2
[Music] Minor changes and cosmetics 2019-03-02 15:18:19 +01:00
Daniel - 888e703448
[Music] Introduce ‘db/music’ and move code there
All music related functions that do not directly depend on EMMS will now go into
‘db/music’, with the intention that if we in the future replace EMMS with
something else, the API provided by ‘db/music’ will still be valid.  This does
not mean, however, that functions in ‘db/music’ may not use functions from EMMS.
2019-03-02 13:37:05 +01:00
Daniel - 4128bcd249
[Mail] Set some related variables directly via ‘db/mail-accounts’ 2019-03-02 11:33:21 +01:00
Daniel - 6b47a509f3
[BBDB] Fix typo in command list 2019-03-02 11:23:47 +01:00
Daniel - 0640d67fc2
[Gnus] Don’t error when BBDB fails 2019-03-02 11:21:10 +01:00
Daniel - 772ba2f672
[Init] Very minor restructuring 2019-03-02 11:15:28 +01:00
Daniel - 7f81d18c11
[Utils] Fix outdated reference to ‘db/ascii-to-hex’ 2019-03-02 11:15:07 +01:00
Daniel - a83608e686
[Misc] Enable ‘lispy’ only when available
To ensure that Emacs is still largely responsive without it.
2019-03-02 11:14:37 +01:00
Daniel - 4fb6e3e5c1
[Hydra] Move hydras to separate package
This allows ‘db-utils’ to not be dependent on ‘hydra’
2019-03-02 11:06:55 +01:00
Daniel - 6d5976a00a
[Utils] Make main custom variables for ‘db/helm-shortcuts’ Helm-agnostic 2019-03-02 10:55:13 +01:00
Daniel - be8d5a3f0f
[Init] Don’t override key bindings when ‘avy’ is not present 2019-03-02 09:45:31 +01:00
Daniel - abbd29c534
[Init] Disambiguate error message when loading ‘pdf-tools’ 2019-03-02 09:28:42 +01:00
Daniel - 4bf4e106e6
[Init] Catch error when activation of projectile fails 2019-03-02 09:26:05 +01:00
Daniel - 817228a7c1
[Misc] Don’t load ‘dired-open’ on Windows 2019-03-02 09:05:00 +01:00
Daniel - b6857fd436
[Misc] Don’t error if abbreviation file is not present 2019-03-02 09:04:54 +01:00
Daniel - 48bed56c5f
[Mail] Remove `db/additional-mail-addresses' 2019-03-02 09:04:20 +01:00
Daniel - 6834595512
[Misc] Move more personal data to private 2019-02-24 18:24:59 +01:00
Daniel - 5eec650241
[EMMS] Store variable files in private directory 2019-02-24 15:03:24 +01:00
Daniel - 10302c3368
[Org] Don’t take notes when clocking out 2019-02-24 11:53:41 +01:00
Daniel - ae19dd4992
[Org] Don’t automatically add pensive file to ‘org-agenda-files’ 2019-02-17 16:34:48 +01:00
Daniel - 016fbf3c10
[Org] Extend functionality to insert past interruptions
For this a new function ‘timeline-tools-clockline-no-org-agenda-conflicts’ as
been added that reads in a clock line (start and end times), updates all org
agenda files to fix conflicting clock lines, and returns the string of the new
clock line.  This works for all complete clock lines (i.e., those with end
times), but not for open clock lines (i.e., those missing an end timestamp).
2019-02-16 14:06:25 +01:00
Daniel - f69abd6ec6
[Mail] Move advice to attach at end-of-buffer to init.el 2019-02-10 19:58:06 +01:00
Daniel - b8912ae08d
[Mail] Move SMTP error handling code directly to ‘db/smtpmail-send-it’ 2019-02-10 19:55:25 +01:00
Daniel - 0d81c7fa0b
[Mail] Turn advice on how to send mail into a proper function
More concretely, ‘db/set-smtp-server-from-header’ is now called
‘db/smtpmail-send-it’, and the latter can be used as a value for
‘send-mail-function’.
2019-02-10 15:53:18 +01:00
Daniel - dcf656c2ed
[Org] Log more activity 2019-02-09 17:38:09 +01:00
Daniel - c0edf36f3e
[Misc] Globally enable ‘eldoc-mode’ 2019-02-09 14:05:29 +01:00
Daniel - 3e12fbea46
[Mail] Minor update of comment 2019-02-03 09:35:07 +01:00
Daniel - 966807281f
[Gnus] Restructure and simplify configuration
No need to keep those large junks of setq in the :init block of use-package,
moved them to top level.
2019-02-02 18:22:07 +01:00
Daniel - cfda96a070
[Mail] Defer loading of some packages 2019-02-02 18:10:44 +01:00
Daniel - 995ac19cda
[Gnus] Require db-mail before starting Gnus 2019-02-02 18:02:37 +01:00
Daniel - b1c485e079
[Mail] Move fix to attach files to the end of a message to db-mail 2019-02-02 18:00:47 +01:00
Daniel - 75d6cbdf95
[Gnus] Move setting of mail related variables to db-mail 2019-02-02 17:49:38 +01:00
Daniel - 3c4fcde1cb
[Misc] Some minor restructuring 2019-02-02 15:39:16 +01:00
Daniel - 26b0234b56
[Gnus] Move Gnus’ demon configuration to db-mail and init.el 2019-02-02 15:34:20 +01:00
Daniel - 784f5ce1fd
[Mail] Move ‘db/mail-accounts’ to db-mail package 2019-02-02 15:30:16 +01:00
Daniel - 1066e266fc
[Mail] Refactor SMTP configuration 2019-02-02 15:14:22 +01:00
Daniel - c6f28090df
[Gnus] Moving most of the configuration to init.el 2019-02-02 15:05:29 +01:00
Daniel - 605ebc3981
[Misc] Add dash to main init file
This is mostly to enable the use of dash’s functions in configuration of other
packages.
2019-02-02 14:34:19 +01:00
Daniel - 260b60503c
[Misc] Add shallow configuration for sdcv 2019-02-02 11:57:12 +01:00
Daniel - 5aa23652d7
[Gnus] Move debugging setting to init.el
This makes it customizable, when needed.
2019-01-27 13:52:26 +01:00