Commit graph

12379 commits

Author SHA1 Message Date
Eelco Dolstra
7474ac871b
nix copy: Abbreviate "daemon" 2017-11-20 15:17:11 +01:00
Vincent Ambo
75fc7a0cc1 fix(nixos): Disable the rather unstable EXWM compositor 2017-11-20 14:19:18 +01:00
Vincent Ambo
a9866504ea fix(look-and-feel): Transparent emacs gets old fast 2017-11-20 13:21:39 +01:00
Chris Feng
71a39840b2 Fix various input focus issues
* exwm-input.el (exwm-input--on-buffer-list-update): Cancel the frame
redirection introduced by 421c0512f7.

* exwm-input.el (exwm-input--on-buffer-list-update): Only ignore temp
buffers just switched from.

* exwm-input.el (exwm-input--update-focus-commit): New function for
ensuring the input focus lock can always be released.
(exwm-input--update-focus-defer, exwm-input--update-focus): Use it.

* exwm-input.el (exwm-input--update-focus): No need to select frames;
only transfer X input focus.

* exwm-core.el (exwm--defer): New macro for correcting the use of
`run-with-idle-timer' by taking `current-idle-time' into account.
* exwm-input.el (exwm-input--update-focus-defer)
(exwm-input--update-focus):
* exwm-layout.el (exwm-layout--on-minibuffer-setup)
(exwm-layout--on-echo-area-change):
* exwm-manage.el (exwm-manage--unmanage-window)
(exwm-workspace--prompt-delete):
* exwm-workspace.el (exwm-workspace-switch)
(exwm-workspace--add-frame-as-workspace):
Use it.
2017-11-19 14:51:45 +08:00
Chris Feng
55626530f4 Free unused X resources
* exwm-cm.el (exwm-cm--paint-tree): Make sure the clip can be
destroyed even the X window is in full screen mode.
(exwm-cm--paint-transparent, exwm-cm--paint-background): Free pixmaps
after creating pictures.
2017-11-19 14:46:35 +08:00
Chris Feng
0106dd69c7 Correct the detection of emacsclient
* exwm.el (exwm-enable): Use `daemonp' instead of `display-graphic-p'.
2017-11-19 14:44:28 +08:00
Chris Feng
61274e0953 Merge branch 'kriyative/bugfix-selecting-deleted-buffer-error' into externals/exwm 2017-11-19 14:41:15 +08:00
Vincent Ambo
7a41f8cd22 chore: Remove unused dependencies
(well, dash was technically a duplicate)
2017-11-18 23:20:11 +01:00
Vincent Ambo
dd9d8af25b feat(nixos): Make helm "dmenu alternatives" work similar to i3 2017-11-18 23:19:30 +01:00
Vincent Ambo
06cf685a88 feat(nixos): Configure pulseaudio volume keys 2017-11-18 23:19:15 +01:00
Abseil Team
4f3edeb1b4 Changes imported from Abseil "staging" branch:
- c910f1792eae8cfdabb93bc261bf26e72f9a6717 Fix uint128 streaming to work with std::ios::internal. by Alex Strelnikov <strel@google.com>

GitOrigin-RevId: c910f1792eae8cfdabb93bc261bf26e72f9a6717
Change-Id: I8ccce2ce6ac91ef7ce16fa8870a718fdfb8fa9a6
2017-11-17 14:58:36 -05:00
Vincent Ambo
f18e578c4b feat(nixos): Add key binding for starting i3lock 2017-11-17 18:24:27 +01:00
Vincent Ambo
051c111646 feat(nixos): Map brightness keys to light command 2017-11-17 16:12:40 +01:00
Vincent Ambo
78f65fbc18 fix(settings): Make ace-window behave sanely 2017-11-17 10:32:56 +01:00
Abseil Team
b05b79538f Changes imported from Abseil "staging" branch:
- 33cefac68ed8720bd7468e59b8fd9a13d7b7a8bf Fix example in comment of absl::Condition. by Abseil Team <absl-team@google.com>
  - 2c95e2895d6bf36b712c0b72cf2a42cbe5442a70 Internal change by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 33cefac68ed8720bd7468e59b8fd9a13d7b7a8bf
Change-Id: I34c1a4976c019a548dc94a2a9cf471243fcb623c
2017-11-16 10:59:22 -05:00
Vincent Ambo
5ee1e9387d feat(image): Install git in kontemplate image 2017-11-16 15:10:31 +01:00
Abseil Team
af8c291d9a Changes imported from Abseil "staging" branch:
- 950e7d514bea97ea500284a53318330ec1f04f76 Remove accidental references to "header_modules". by Greg Falcon <gfalcon@google.com>

GitOrigin-RevId: 950e7d514bea97ea500284a53318330ec1f04f76
Change-Id: I482955fe0364a57ed8c6e229fdb6f86fc63faf6e
2017-11-15 16:39:55 -05:00
Vincent Ambo
a564cd4112 fix(nixos): Let buffers move between workspaces 2017-11-15 21:00:59 +01:00
Vincent Ambo
a260bf9e8d fix(settings): Show time in 24h format 2017-11-15 21:00:38 +01:00
Vincent Ambo
87a385557e feat(modes): Enable company-mode for elisp by default 2017-11-15 20:59:51 +01:00
Vincent Ambo
586148bd52 feat(nixos): Show time in the mode line 2017-11-15 20:46:56 +01:00
Vincent Ambo
eb67c739b2 feat: Use ace-window for jumping between windows 2017-11-15 18:56:23 +01:00
Vincent Ambo
b7a5dd0c1b feat(nixos): Enable EXWM compositor 2017-11-15 18:56:01 +01:00
Vincent Ambo
7ca55c3fd5 feat(desktop): Move from i3 to exwm
Emacs just controls everything now. Why not!

Rather than using the builtin NixOS support for EXWM I've added a
custom snippet that takes care of the launching. This assumes that the
user launching the session has my emacs configuration installed, which
I, in practice, always do.

* remove setup of i3wm (until I'm comfortable using exwm I will keep
  the i3 configuration files around)
* disable compton (exwm brings its own compositor)
* disable auto-starting of emacs user service
* enable & configure exwm (also see correlating commits in my emacs.d
  repository)
2017-11-15 18:37:22 +01:00
Vincent Ambo
84601a3978 fix(nixos): Improve key bindings in X11 applications
I don't actually use all that many emacs navication keys in X11
applications - but being able to copy & paste is nice.

Overrides the default set of input simulation keys for EXWM with
slightly fewer and more sane bindings.
2017-11-15 18:30:33 +01:00
Vincent Ambo
f06401d493 fix(nixos): Finetune some minor EXWM parameters 2017-11-15 18:30:22 +01:00
Vincent Ambo
29d4413f16 feat: Install & globally enable which-key 2017-11-15 18:29:01 +01:00
Vincent Ambo
4e1661604d feat(nixos): Add initial NixOS & EXWM configuration
Adds configuratio for using Emacs as a window manager, because clear
that is an extremely sane thing to do.
2017-11-15 17:35:17 +01:00
Vincent Ambo
6225c18914 fix(custom): Fix Helm window splitting behaviour
The default Helm window splitting behaviour is ridiculous. This fixes
it!
2017-11-15 17:07:27 +01:00
Abseil Team
99b92c8736 Changes imported from Abseil "staging" branch:
- 79d5e27b30551028a35084bf0f314d14339f816b Adds "()" suffix for Minutes() and ToDoubleHours() in com... by Abseil Team <absl-team@google.com>
  - 7d43f4d8f056066bd8e4577e15cde6807f6191ec Change type traits tests to static_asserts; Add trivially... by Alex Strelnikov <strel@google.com>
  - b443886fd36b240df78683c676b7ebae07c9e91a Internal cleanup by Abseil Team <absl-team@google.com>
  - ef226810f398f0980e2158bfa352ab8ac5d97d83 Avoid weak virtual table warnings (-Wweak-vtables) and re... by Jorg Brown <jorg@google.com>
  - 76911667bed455c2c7330f8ee27b959bac032e41 Internal change by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 79d5e27b30551028a35084bf0f314d14339f816b
Change-Id: I752b04c882ff6677af7ee91b1e4f424417a1e4eb
2017-11-15 10:43:52 -05:00
Vincent Ambo
d79b7f45e7 feat(pkgs): Install gopass-bin 2017-11-15 15:27:32 +01:00
Eelco Dolstra
8956ae1987
Add a "profile" option to S3BinaryCacheStore
This allows specifying the AWS configuration profile to use. E.g.

  nix copy --from s3://my-cache?profile=aws-dev-account /nix/store/cf3isrlqavvd5w7rpky1fa8j9lcnlggm-...
2017-11-15 14:18:20 +01:00
Eelco Dolstra
897ca33a1c
Merge pull request #1678 from dtzWill/feature/anchor-exit-exception
anchor nix::Exit exception
2017-11-15 12:31:47 +01:00
Eelco Dolstra
27131866c9
Doh 2017-11-15 12:23:31 +01:00
Abseil Team
02f833cb81 Changes imported from Abseil "staging" branch:
- 89d5b08eeb96f195151a340772148fe7ed0a18f6 Put the internal ABSL_PRETTY_FUNCTION API behind a visibi... by Matt Armstrong <marmstrong@google.com>

GitOrigin-RevId: 89d5b08eeb96f195151a340772148fe7ed0a18f6
Change-Id: I6588a15c09a53a43ff87847e593864b1468dd375
2017-11-14 15:55:11 -05:00
Will Dietz
9d7ce0bf45 anchor nix::Exit exception 2017-11-14 12:39:30 -06:00
Eelco Dolstra
2f5789c5d6
Add dependencies for coverage test 2017-11-14 18:47:44 +01:00
Eelco Dolstra
4b45d8c95a
Update lcov filter 2017-11-14 18:47:37 +01:00
Eelco Dolstra
ec5b04862b
nix sign-paths: Support binary caches 2017-11-14 18:44:05 +01:00
Eelco Dolstra
d6dbda7004
Add tests for "nix verify", "nix sign-paths" etc. 2017-11-14 18:24:20 +01:00
Eelco Dolstra
2c39e4eca0
Revert "Don't parse "x:x" as a URI"
This reverts commit f90f660b24.

This broke Hydra's release.nix, which contained

  preCheck = ''export LOGNAME=${LOGNAME:-foo}'';
2017-11-14 15:10:52 +01:00
Eelco Dolstra
5773d667ee
nix ls-{nar,store}: Don't abort on missing files 2017-11-14 14:49:06 +01:00
Eelco Dolstra
b8d446829e
Add some tests 2017-11-14 14:37:39 +01:00
Eelco Dolstra
4db0a9555e
nix ls-{nar,store} --json: Respect -R 2017-11-14 14:31:38 +01:00
Eelco Dolstra
c8155e9f5f
Don't indent JSON output 2017-11-14 14:28:03 +01:00
Eelco Dolstra
bac8055652
nix ls-{store,nar}: Add --json flag 2017-11-14 14:23:53 +01:00
Eelco Dolstra
c0d93a01ee
Remove ncurses-bin 2017-11-14 14:16:16 +01:00
Eelco Dolstra
5ef5d70b5e
Make config options available to legacy commands 2017-11-14 14:04:09 +01:00
Eelco Dolstra
c9c3fc710b
Rename tests/nar-index -> tests/nar-access 2017-11-14 13:27:40 +01:00
Abseil Team
95ddf85f80 Changes imported from Abseil "staging" branch:
- 5677afe8f626bb9db6d8bf9f25ba3d835ffa12d6 Internal TSAN bookkeeping change. by Greg Falcon <gfalcon@google.com>
  - c7492bad6fe6c8f106d3fcb1f8a939ea73b1a962 MSVC fix. by Alex Strelnikov <strel@google.com>

GitOrigin-RevId: 5677afe8f626bb9db6d8bf9f25ba3d835ffa12d6
Change-Id: I1b8497508c8005a094824b4ccf9b220812b81bdb
2017-11-13 16:52:47 -05:00