Commit graph

958 commits

Author SHA1 Message Date
Vincent Ambo
a25485fad4 refactor(emacs): Install eglot & jsonrpc from ELPA instead of Github
trust++;
2018-07-29 16:56:11 +02:00
Vincent Ambo
b805265c7d feat(pkgs): Enable hie-nix Cachix cache 2018-07-29 16:46:55 +02:00
Vincent Ambo
aa048203b7 chore(emacs): Update eglot version to 1.1 2018-07-29 16:46:45 +02:00
Vincent Ambo
503eff9a1f feat(desktop): Install corefonts 2018-07-22 15:22:41 +02:00
Vincent Ambo
117f3f6d58 feat(config): Enable Redis service 2018-07-15 12:29:58 +02:00
Vincent Ambo
e77fd237bd feat(emacs): Install elixir-mode 2018-07-14 16:18:32 +02:00
Vincent Ambo
b41d1cecc1 feat(pkgs): Install fallback icon theme 2018-07-14 16:18:32 +02:00
Vincent Ambo
4976c6d2b9 fix(mail): Filter NixOS Discourse into nix-devel tag 2018-07-13 00:11:52 +02:00
Vincent Ambo
a3bd254d01 feat(emacs): Install alchemist 2018-07-03 18:58:22 +02:00
Vincent Ambo
3b3bae22f7 feat(pkgs): Install Haskell IDE Engine 2018-07-02 20:35:23 +02:00
Vincent Ambo
b08abbd81e chore(pkgs): Remove unused packages 2018-07-02 20:35:06 +02:00
Vincent Ambo
40f7804576 feat(emacs): Install counsel-notmuch 2018-06-29 13:06:52 +02:00
Vincent Ambo
d14bc8e293 feat(emacs): Add a newer version of sly from git 2018-06-28 11:01:30 +02:00
Vincent Ambo
328b692ae9 feat(adho): Add Postkontoret & MAGNAT wifi 2018-06-25 18:56:10 +02:00
Vincent Ambo
356e9fca06 feat(emacs): Install use-package 2018-06-22 10:32:01 +02:00
Vincent Ambo
c2507d91f8 feat(emacs): Install hydra 2018-06-19 15:21:34 +02:00
Vincent Ambo
f0dfc8b06d feat(functions): Add ivy-browse-repositories function
Quick helper to switch between all relevant projects.
2018-06-18 16:39:57 +02:00
Vincent Ambo
2e2e8379e9 fix(emacs): Fix ivy & prescient integration by manually pinning ivy
In the previous configuration the dependency on `ivy-pass` added a
second version of ivy to the load-path.

It is fixed by manually pinning ivy and its related packages and using
those to build ivy-pass.

This configuration should be temporary until the next time the MELPA
package set is updated in nixpkgs.

This caused the symptoms in raxod502/prescient.el#10
2018-06-16 16:37:17 +02:00
Vincent Ambo
8cc7d8da79 feat(packages): Pick VLC 3 from unstable
Finally!
2018-06-16 11:48:18 +02:00
Vincent Ambo
b1d45f5b76 refactor(emacs): Use unstable channel directly in emacs module
Stores the unstable channel in the global package set to make it
available in the emacs module.

All emacs-related packages are now taken from the unstable channel.

Related changes:

* prescient is now built directly from git
* sly has been (temporarily) removed because the MELPA recipe is
  failing

Unfortunately the version bumps to prescient and ivy (& its related
packages) don't seem to help with raxod502/prescient.el#10
2018-06-15 13:56:47 +02:00
Vincent Ambo
24314a61d6 chore(packages): Remove unused Haskell packages 2018-06-15 13:55:27 +02:00
Vincent Ambo
2bc9d09eb7 chore(packages): Bump channel versions
emacs 26 is now included in unstable, so the extra pin has been
removed.
2018-06-15 13:54:51 +02:00
Vincent Ambo
e743ea28c5 feat(look-and-feel): Display EXWM workspace index in mode-line
Been waiting to do this since forever!
2018-06-15 01:32:34 +02:00
Vincent Ambo
9da4606162 style(look-and-feel): Use more compact battery display layout 2018-06-15 01:32:15 +02:00
Vincent Ambo
454cb9e506 feat(look-and-feel): Display unread mail telephone line segment
Defines a new highlight face and configures the telephone line
segments to display the unread count if there are unread mails.
2018-06-15 01:15:13 +02:00
Vincent Ambo
e543ddff2e style(look-and-feel): Use tan-shaped separators for telephone-line 2018-06-15 01:15:13 +02:00
Vincent Ambo
59aa338932 feat(mail): Implement unread count telephone-line segment
Implements a periodically updated telephone-line segment that displays
the current unread count for the two most important inboxes in the
mode-line, if there are unread mails.
2018-06-15 01:15:13 +02:00
Vincent Ambo
9665318115 feat(look-and-feel): Display battery % in mode-line on adho 2018-06-15 01:15:13 +02:00
Vincent Ambo
5442d6c0fb refactor(look-and-feel): Simplify frame configuration
When using EXWM new frames don't just show up the way they used to.
2018-06-15 01:15:13 +02:00
Vincent Ambo
e941e6b836 feat(look-and-feel): Enable winner-mode 2018-06-15 01:15:13 +02:00
Vincent Ambo
221c60e448 refactor(look-and-feel): Replace SML with telephone-line
Telephone line has a slightly easier to configure segment system. This
commit also uses the commit introduced in the previous function to
conditionally display miscellaneous modeline information in the last
window of a frame.

More configuration for this will come over time.
2018-06-15 01:15:13 +02:00
Vincent Ambo
608cd6226a feat(emacs): Replace smart-mode-line with telephone-line 2018-06-15 00:12:06 +02:00
Vincent Ambo
75749b68b0 fix(settings): Add counsel-rg to ivy-prescient-excluded-commands
History should not be remembered for counsel-rg
2018-06-15 00:03:11 +02:00
Vincent Ambo
ecf68e357c feat(functions): Add predicate function to determine last window
Adds a function that can be used to check whether the current buffer
is displayed in the "last" window of the active frame.

The intention is to use this predicate to modify the modeline display
to only show miscellaneous information (time, battery percentage etc.)
on the last window instead of duplicating it.
2018-06-15 00:02:04 +02:00
Vincent Ambo
a6a0e28e11 refactor(settings): Use prescient together with ivy
Ivy's regex-based fuzzy matching can occasionally be slow, which was
getting on my nerves.

This switches the completion engine to prescient[1] which promises to
be faster. Experimental testing in large files like the
`configuration.nix` man page looks promissing.

[1]: https://github.com/raxod502/prescient.el
2018-06-13 00:09:16 +02:00
Vincent Ambo
fc6126f579 feat(emacs): Install prescient & ivy-prescient
These packages are not in nixpkgs yet (will most likely be added after
the next MELPA import), so they're added here manually.

As both originate from the same source they're added to the same
derivation here by using a custom recipe.
2018-06-13 00:08:23 +02:00
Vincent Ambo
ebc1dd1a18 chore(mail): Switch to citing messages without signature 2018-06-12 09:12:39 +02:00
Vincent Ambo
7781a059b3 fix(mail): Fix setup of drafts & cache folder 2018-06-12 09:12:39 +02:00
Vincent Ambo
711afd3bd5 chore(mail): Unbind notmuch-save-draft
I don't use drafts and they're kind of annoying.
2018-06-12 09:10:25 +02:00
Vincent Ambo
ad5fff55a2 feat(mail): Tag nix-devel mailing list 2018-06-10 21:45:27 +02:00
Vincent Ambo
cd94994073 fix(mail): Always mark drafts as read 2018-06-10 15:50:37 +02:00
Vincent Ambo
761e3794ed fix(mail): Exclude drafts from search results 2018-06-10 15:50:37 +02:00
Vincent Ambo
e3b4a370a2 chore(notmuch-config): Set work email as default
Office365 groups don't add required metadata to automatically
determine which sender should be used when replying to a mail.
2018-06-10 15:50:37 +02:00
Vincent Ambo
45432f9b34 fix(mail): Set mail-host-address variable from hostname 2018-06-08 15:14:22 +02:00
Vincent Ambo
d146f1089b feat(functions): Add M-x nixos-man
Opens the configuration.nix man page
2018-06-08 15:14:09 +02:00
Vincent Ambo
b80a567cdb feat(emacs): Install jq-mode 2018-06-08 00:13:27 +02:00
Vincent Ambo
f70a16f453 feat(mail): Add development list to notmuch jump shortcuts 2018-06-07 23:23:57 +02:00
Vincent Ambo
8ac9fac175 feat(mail): Tag development mailing list 2018-06-07 23:23:34 +02:00
Vincent Ambo
b304289de3 chore(rust): Remove flycheck-require
eglot uses flymake, which is bundled.
2018-06-06 23:33:22 +02:00
Vincent Ambo
8813e55555 feat(emacs): Add websocket lib (and remove flycheck) 2018-06-06 23:32:55 +02:00