Commit Graph

1382 Commits (7833e28185d7b9ec0ca638fece30cc414d0c57a2)

Author SHA1 Message Date
Daniel Borchmann 29ab4d6335
Always create standalone documents from markdown files
It's confusing me that the output of pandoc is a document fragment by default,
so let's instruct Emacs to generated complete, standalone documents instead.
2020-12-20 17:29:14 +01:00
Daniel Borchmann 6e23836a1d
Always use pandoc for markdown export
Pandoc is the default for me.
2020-12-20 17:27:07 +01:00
Daniel Borchmann 5b7671ba7f
Always generate standalone docx documents from org files
Not yet clear whether this has any impact on the result, though.
2020-12-20 17:21:23 +01:00
Daniel Borchmann b40c8672bc
Add explicit autoload for gnus-registry-split-with-parent
Apparantly, when Gnus starts up for the first time, this function seems to be
undefined, because we are calling gnus-registry-initialize quite late in the
init process.  Let's try to fix this by having this autoload.
2020-12-20 09:00:38 +01:00
Daniel Borchmann 904f7e6902
Make sure mails are also encrypted to self
This should also be covered by gpg's configuration, but better safe than sorry.
2020-12-12 18:21:37 +01:00
Daniel Borchmann 56c9f940ce
Fix line-ending issues with MIME and Outlook
Outlook seems to expect CRLF in S/MIME signed+encrypted mails, so we add those
somewhere in the process of encoding the mail.  Furthermore, Outlook is sending
MIME messages with CRLF line endings, and we have to take care of that when
looking for the end headers.

The changes proposed here are preliminary and subject to further testing.
2020-12-12 18:05:57 +01:00
Daniel Borchmann 106d13519c
Do not enable helm-mode globally
Generation of candidates for Emacs Lisp completion is noticably slow, do not
know why, need to investigate further.
2020-12-08 19:54:15 +01:00
Daniel Borchmann d105b7765f
Do not use counsel for listing bookmarks
Bookmark are included in our main helm menu, no need to have a separate funtion
here.
2020-12-07 18:42:41 +01:00
Daniel Borchmann 459fdff428
Enable helm completion in region (and others)
Do not use it for eshell, though, as it adds a space after completing filenames.
2020-12-07 18:42:01 +01:00
Daniel Borchmann 31f3cc58d2
Remove temporary fix to support gpgsm S/MIME verification
Emacs apparanetly supports this now out of the box.
2020-12-06 09:16:57 +01:00
Daniel Borchmann 57515fff34
Restructure Gnus' MIME configuration
Let's group configuration related to MIME decoding and MIME encoding, to better
understand what these variables are actually doing and to decrease maintanence
complexity.
2020-12-06 09:15:37 +01:00
Daniel Borchmann 33394059ad
Dim backgrounds when ace-window selection is on
This way, it's easier to see when the selection mode is active.
2020-12-06 08:55:29 +01:00
Daniel Borchmann 26a22fe551
Ignore temporary flycheck files
Not that we accidentally add them to the repository.
2020-12-06 08:55:08 +01:00
Daniel Borchmann 421a272733
Do not ask for automatic password storage
This can be annoying when used with ivy/helm.  When the need to store passwords
in the auth sources arises, we'll do it manually.
2020-12-05 20:37:10 +01:00
Daniel Borchmann ea4a165897
Decrease default font height 2020-12-04 17:40:55 +01:00
Daniel Borchmann 8fba9cad3b
Add default notes file as standard refile target 2020-12-03 18:06:25 +01:00
Daniel Borchmann 81e193e1bc
Globally enable Gnus' scoring
Scoring didn't work in my IMAP mailing list folders, but not it should.  In all
other folders, as long as there is no scoring file, nothing should happen.
2020-12-03 18:03:48 +01:00
Daniel Borchmann 0ea56b203b
Do not show tabs in tab-bar-mode 2020-11-29 17:21:39 +01:00
Daniel Borchmann 94c1c76e4d
Add some minor default configuration for tab-bar 2020-11-28 09:29:44 +01:00
Daniel Borchmann ebf14b6643
Rebind global toggle hydra to not shadow tab-bar mode keys 2020-11-28 09:22:17 +01:00
Daniel Borchmann 6742695f53
Enable flycheck mode in Emacs Lisp only when buffer has a file
Flycheck used to be activated unconditionally, resulting in annoying warnings
when evaluating Lisp expressions in the minibuffer with `pp-eval-expression`,
and in the scratch buffer.
2020-11-28 08:50:47 +01:00
Daniel Borchmann 9e84ba5251
Ensure sandbox link to local .emacs.d directory is created properly
If `sandbox/.emacs.d` already exists, calling `ln` again seems to create links
within this directory.  Ensure that this does not happen anymore by deleting the
link first if it already exists.  Also add `-T` to `ln` to ensure its arguments
are interpreted properly.

They day I understand argument interpretation in `ln` will be a good day …
2020-11-21 12:14:00 +01:00
Daniel Borchmann 0cf2ba7d1e
Add compile and test targets to phony list 2020-11-21 12:06:16 +01:00
Daniel Borchmann d36bebec90
Mark phony targets in Makefile as such 2020-11-21 11:48:55 +01:00
Daniel Borchmann 6fa623d9d7
Add simple makefile target to start a sandbox version of Emacs
This starts emacs in the local copy of the .emacs.d directory we are currently
in, by creating a new `sandbox` directory as home directory, linking the current
directory as `.emacs.d` into there, and starting emacs.
2020-11-21 11:47:52 +01:00
Daniel Borchmann 5ba0b27ec4
Warn if global key bindings for helm are not available
If helm is installed as system package, the global keybindings may be missing.
The user should be informed about this and reinstall helm from melpa.
2020-11-21 11:30:59 +01:00
Daniel Borchmann 822b8a7430
Do not load default configuration from elsewhere
This only leads to surprises.
2020-11-21 11:30:59 +01:00
Daniel Borchmann 79b11b864e
Ensure packages for general appearance are installed 2020-11-21 11:05:49 +01:00
Daniel Borchmann 439c4ff1e5
Add simple target for removing all locally installed packages
For development purposes.
2020-11-21 11:01:21 +01:00
Daniel Borchmann 243fb9179f
Ensure flycheck is available when needed 2020-11-21 11:01:11 +01:00
Daniel Borchmann 26ae993c1b
Set default file name for abbreviations
Even if not customized, abbreviations should go into the private directory.
2020-11-21 10:59:23 +01:00
Daniel Borchmann 4555e0f789
Remove delay when sending freshly completed input in eshell
See comment in code for more explanation.
2020-11-19 19:43:28 +01:00
Daniel Borchmann b39894e6a6
Reorder helm-emms default sources
I mostly use helm-emms to access streams, and thus I would like to have them on
the top.
2020-11-17 09:14:34 +01:00
Daniel Borchmann 4d6aaf5711
Resolve some flycheck hints
Random selection.
2020-11-14 21:06:22 +01:00
Daniel Borchmann fe5c7c2bd2
Use xref for dumb-jump
This seems to be the recommended way to run dumb-jump now.
2020-11-14 18:51:49 +01:00
Daniel Borchmann 330a52a40f
Enable flycheck for Emacs Lisp by default
It used to be slow, but it's not the case anymore.  This should help identifying
problems in my ELisp code, but might cause some trouble on Windows.  Let's see …
2020-11-14 18:41:29 +01:00
Daniel Borchmann 3f10d6e415
Use locally installed version of `helm-emms'
That is, install `helm-emms' directly from the buffer.
2020-11-14 18:08:57 +01:00
Daniel Borchmann 78edfa6c75
Let flycheck use the current load-path as load path 2020-11-14 18:08:45 +01:00
Daniel Borchmann fca3c03107
Use local version of `helm-emms'
This one works with emms 6.0 and later, even when including
`helm-source-emms-streams'.  Thus, we also use the default value of
`helm-emms-default-sources' again.
2020-11-14 17:36:36 +01:00
Daniel Borchmann a1b4d294c5
Restore default key binding for `helm-emms' 2020-11-14 17:36:20 +01:00
Daniel Borchmann 12dbc5a465
Revert "Remove `helm-emms'"
Let's try to revive `helm-emms'!

This reverts commit abc06188b7.
2020-11-14 17:09:00 +01:00
Daniel Borchmann 1e5fb1ac97
Expand history items in eshell by default
When did it this change?
2020-11-14 15:17:56 +01:00
Daniel Borchmann 4a1506fc4c
Explicitly specify org roam db location
Seems to have changed with the latest update, making it explicit avoids issues.
2020-11-14 15:17:28 +01:00
Daniel Borchmann bfa7672cfc
Add shortcut to find variable location
For consistency.
2020-11-14 15:17:14 +01:00
Daniel Borchmann 5e4125cba3
Run elpa update 2020-11-14 15:17:00 +01:00
Daniel Borchmann 18b90d758e
Do not use ivy for completion in regions
This makes eshell completion use drop down menues instead of the standard
complete-until-ambiguous style I am used to.  Moreover, in Org Babel shell
source blocks, ivy completion in region causes a drop down menu of possible
commands to appear after a block has been created and entered for the first
time, which not only is annoying, but also sometimes causes to cursor to
disappear (set `cursor-type' to 'bar to revert).
2020-11-14 11:50:31 +01:00
Daniel Borchmann 2622b048b6
Do not enable company completion in Org Mode buffers by default
It's rather annoying, from my point of view.  The original use case was to
complete file names in links, and this can be done by calling `company-complete'
explicitly.
2020-11-14 11:39:31 +01:00
Daniel Borchmann 0f4262044a
Remove obsolete configuration for dired+ 2020-11-14 11:32:29 +01:00
Daniel Borchmann a7ea15df00
Fix possible cyclic face definition in custom themes
This might render Emacs unresponsive when trying to display text formatted with
those faces, as happened on Emacs 27.1 and Windows 10.
2020-11-14 10:06:25 +01:00
Daniel Borchmann a7fea93b81
Allow automatic display of HTML email messages
They are getting more and more common, and their text counterparts are often
unreadable.  Pity.
2020-11-07 13:18:57 +01:00