Amin Bandali [Tue, 30 Oct 2018 00:51:49 +0000 (20:51 -0400)]
[emacs] assimilate and use typo.el, along with ispell workaround
typo.el: a nicer alternative to electric-quote-mode which allows
cycling between the quotes
also add an ispell workaround for correctly checking spelling of words
with ’ apostrophe in them
Amin Bandali [Mon, 22 Oct 2018 18:46:35 +0000 (14:46 -0400)]
[rc/{sway,i3status}] display screen icon on the bar when nosleep
- since i3status doesn't support custom blocks, we have to wrap around
it to add more info to it. if colours aren't needed, it could be as
simple as something like this (from the i3status manual):
#!/bin/sh
# shell script to prepend i3status with more stuff
i3status | while :
do
read line
echo "mystuff | $line" || exit 1
done
but since i like colours, we need a more sophisticated solution
which involves dealing with json; and thus the output_format needs
to be "i3bar".
- `killall -USR1 i3status` forces an update when we toggle nosleep.
Amin Bandali [Mon, 22 Oct 2018 03:58:19 +0000 (23:58 -0400)]
[rc/sway] simple file-based presentation mode
Amin Bandali [Sun, 21 Oct 2018 15:59:46 +0000 (11:59 -0400)]
[emacs/pdf-tools] whoops, fix key binding typo
Amin Bandali [Sun, 21 Oct 2018 15:57:02 +0000 (11:57 -0400)]
[emacs] use-package ox-beamer, mark org-beamer-export-to-latex safe
Amin Bandali [Sun, 21 Oct 2018 15:55:21 +0000 (11:55 -0400)]
[emacs] update 5 drones, use new magit 2.90.0 command names
lib/doom-modeline master
v0.5.1-5-g19757b4
lib/helpful master
0.15-3-g1c1c324
lib/magit master
2.13.0-324-gf410eb16
lib/nix-mode master
v1.2.2-64-g8b3a992
lib/notmuch master archive/debian/
0.28-2-7-g7f726c6e
Amin Bandali [Sun, 21 Oct 2018 15:50:44 +0000 (11:50 -0400)]
[emacs] assimilate pdf-tools and deps
anzu is not a dependency, but I noticed doom-modeline refers to it
when using isearch (in pdf-view-mode swiper searches through binary
contents of a pdf, so we'll fall back to isearch), resulting in a
warning if it's not present.
Amin Bandali [Sat, 20 Oct 2018 20:12:36 +0000 (16:12 -0400)]
[rc/sway] add notifications and screenshotting
deps: mako, grim, and slurp (all by emersion)
Amin Bandali [Sat, 20 Oct 2018 20:00:54 +0000 (16:00 -0400)]
[rc] fix arguments to light
recent breaking change on upstream
Amin Bandali [Sat, 20 Oct 2018 20:00:01 +0000 (16:00 -0400)]
[rc] be more quiet while fetching email
Amin Bandali [Sat, 20 Oct 2018 19:58:52 +0000 (15:58 -0400)]
[rc/tlp] fix hostname
Amin Bandali [Sat, 20 Oct 2018 19:58:10 +0000 (15:58 -0400)]
[rc/sway] don't automatically lock the screen
Amin Bandali [Sat, 20 Oct 2018 19:55:06 +0000 (15:55 -0400)]
[rc/sway] per host input config
Amin Bandali [Sat, 20 Oct 2018 18:58:55 +0000 (14:58 -0400)]
[emacs] update 4 drones
lib/magit master
2.13.0-313-g5f407a29
lib/notmuch master archive/debian/
0.28-2-3-g64bfe544
lib/org master release_9
.1.14-996-g4a2e7c8db
lib/projectile master
v1.0.0-187-g6cb9524
Amin Bandali [Sat, 20 Oct 2018 18:56:49 +0000 (14:56 -0400)]
[emacs] remove tao-theme
i've been using eink for a few months already
Amin Bandali [Sat, 20 Oct 2018 18:53:45 +0000 (14:53 -0400)]
[emacs/ibuffer] change org filter from name-based to mode-based
Amin Bandali [Sat, 20 Oct 2018 18:51:45 +0000 (14:51 -0400)]
[emacs] some cosmetic changes
Amin Bandali [Thu, 18 Oct 2018 16:46:09 +0000 (12:46 -0400)]
[emacs] update 13 drones
lib/borg master
v2.0.0-72-gfe5fea4
lib/company master
0.9.6-62-gafbaad1
lib/doom-modeline master
v0.5.1-3-g1fd66c4
lib/flycheck master
31-179-gf85eb1c8
lib/flycheck-haskell master
0.8-73-g30a09b9
lib/helpful master
0.15-1-gdaa4a64
lib/ivy master
0.10.0-419-gd346991
lib/magit master
2.13.0-294-g21f786a1
lib/nix-mode master
v1.2.2-63-gf1973ce
lib/org master release_9
.1.14-995-g9e05a6ac8
lib/ox-hugo master
v0.8-423-g03c146e
lib/projectile master
v1.0.0-186-gca55203
lib/use-package master
2.3-406-g6c6ecca
Amin Bandali [Wed, 17 Oct 2018 06:42:57 +0000 (02:42 -0400)]
[emacs,rc] update mail and gpg key
Amin Bandali [Wed, 10 Oct 2018 02:47:49 +0000 (22:47 -0400)]
[rc] update my gnu address once more
Amin Bandali [Wed, 10 Oct 2018 02:42:07 +0000 (22:42 -0400)]
[emacs,rc] switch to Source Code Pro from Ubuntu Mono throughout
Amin Bandali [Wed, 10 Oct 2018 02:40:24 +0000 (22:40 -0400)]
[emacs] add ox-latex IEEEtran support
Amin Bandali [Wed, 10 Oct 2018 02:39:22 +0000 (22:39 -0400)]
[emacs] set up outline-minor-mode for prog-mode, with bindings
Amin Bandali [Wed, 10 Oct 2018 02:38:52 +0000 (22:38 -0400)]
[emacs] disable borg-nix-shell for now
TODO: remove notmuch after migrating to Gnus
Amin Bandali [Wed, 10 Oct 2018 02:37:48 +0000 (22:37 -0400)]
[emacs] gentler font resizing
Amin Bandali [Wed, 10 Oct 2018 02:36:13 +0000 (22:36 -0400)]
[emacs] update 7 drones
lib/doom-modeline master
v0.5.0-2-g645f242
lib/ivy master
0.10.0-418-g59b8966
lib/magit master
2.13.0-293-g50e05e4a
lib/org master release_9
.1.14-975-g0df6d9f78
lib/ox-hugo master
v0.8-420-gaeb48b0
lib/projectile master
v1.0.0-178-gc56c2a8
lib/with-editor master
v2.7.4-4-gf69daaf
Amin Bandali [Sat, 6 Oct 2018 03:57:59 +0000 (23:57 -0400)]
add .mailmap
Amin Bandali [Sat, 6 Oct 2018 03:56:15 +0000 (23:56 -0400)]
[emacs] update 5 drones
lib/helm master
v3.0-12-g46157453
lib/magit master
2.13.0-277-g43264c87
lib/org master release_9
.1.14-963-g0ae2e656d
lib/ox-hugo master
v0.8-410-gb8cf224
lib/projectile master
v1.0.0-166-g66cbed9
Amin Bandali [Wed, 3 Oct 2018 23:59:01 +0000 (19:59 -0400)]
[emacs] update 12 drones
lib/crux master
v0.3.0-31-ge67d040
lib/doom-modeline master v0.5.0
lib/ghub master
v2.0.1-56-g84dbc5d
lib/helm master
v3.0-9-gcfa78aab
lib/helpful master
0.13-21-g0de7c15
lib/magit master
2.13.0-272-ga232ed6c
lib/magit-popup master
v2.12.4-1-g8436447
lib/org master release_9
.1.14-960-g524be7cdb
lib/orgalist master
d120090
lib/ox-hugo master
v0.8-409-ge33b3dc
lib/projectile master
v1.0.0-159-gb6d8b4e
lib/tao-theme master
358c155
Amin Bandali [Sat, 29 Sep 2018 15:30:18 +0000 (11:30 -0400)]
[emacs] update 8 drones
lib/closql master
v0.6.0-5-g253ceab
lib/doom-modeline master
v0.4.0-23-g671553d
lib/helm master
v3.0-8-g5bca5679
lib/ivy master
0.10.0-414-gc45233e
lib/magit master
2.13.0-270-g7c74b660
lib/org master release_9
.1.14-947-g8ef876053
lib/projectile master
v1.0.0-107-g0c9ca04
lib/proof-site master
v4.4-205-g5b7b84bc
Amin Bandali [Thu, 27 Sep 2018 00:25:21 +0000 (20:25 -0400)]
[emacs] update 6 drones
lib/doom-modeline master
v0.4.0-16-g92b5bf5
lib/ivy master
0.10.0-413-g02d9528
lib/magit master
2.13.0-267-g5303d75e
lib/org master release_9
.1.14-935-g7ae123081
lib/ox-hugo master
v0.8-402-g2be4bc0
lib/projectile master
v1.0.0-90-gaaafbfd
Amin Bandali [Tue, 25 Sep 2018 00:58:31 +0000 (20:58 -0400)]
[rc] small misc changes
Amin Bandali [Tue, 25 Sep 2018 00:53:54 +0000 (20:53 -0400)]
[rc/sway] change font from Ubuntu Mono to DejaVu Sans Mono
looks better than Ubuntu Mono after the following recent changes:
https://github.com/swaywm/sway/pull/2677
https://github.com/swaywm/sway/pull/2691
Amin Bandali [Tue, 25 Sep 2018 00:53:02 +0000 (20:53 -0400)]
[emacs] update 6 drones
lib/doom-modeline master
v0.4.0-15-gf7a5739
lib/epkg master
v3.1.0-1-gcb1da87
lib/ghub master
v2.0.1-53-gc0b472c
lib/helpful master
0.13-18-g500bc28
lib/magit master
2.13.0-264-g4d5ef3aa
lib/projectile master
v1.0.0-85-g819ce5f
Amin Bandali [Tue, 25 Sep 2018 00:45:42 +0000 (20:45 -0400)]
[emacs] assimilate 6 drones (nix-mode and its deps)
Amin Bandali [Sun, 23 Sep 2018 15:33:33 +0000 (11:33 -0400)]
[emacs] update 6 drones
lib/elisp-refs master
1.3-5-g226ea71
lib/helpful master
0.13-15-g607048a
lib/magit master
2.13.0-256-g9ece0c93
lib/org master release_9
.1.14-932-gf82a3051a
lib/ox-hugo master
v0.8-398-gebf37ef
lib/projectile master
v1.0.0-77-g4fc07d1
Amin Bandali [Sun, 23 Sep 2018 15:30:33 +0000 (11:30 -0400)]
[emacs] increase recentf-max-saved-items from 20 to 40
Amin Bandali [Sun, 23 Sep 2018 15:30:15 +0000 (11:30 -0400)]
[emacs] assimilate orgalist
Amin Bandali [Fri, 21 Sep 2018 20:42:05 +0000 (16:42 -0400)]
[rc/i3status] enable displaying ethernet status
Amin Bandali [Fri, 21 Sep 2018 20:40:49 +0000 (16:40 -0400)]
[emacs] update 7 drones
lib/doom-modeline master
0.4.0-14-g3d8e81b
lib/hydra master
0.14.0-19-gc30e04d
lib/ivy master
0.10.0-412-g71b60a7
lib/magit master
2.13.0-252-ga8997684
lib/notmuch master archive/debian/
0.27-3-41-g5ae8ae13
lib/org master release_9
.1.14-923-g69c2d102f
lib/projectile master
v1.0.0-62-g0d189a4
Amin Bandali [Tue, 18 Sep 2018 14:08:16 +0000 (10:08 -0400)]
[emacs] update 7 drones
lib/dante master
1.4-78-gf16562a
lib/doom-modeline master
0.4.0-13-g32963f4
lib/haskell-mode master
v13.14-1180-g6a70c18
lib/ivy master
0.10.0-404-gf38ae6c
lib/magit master
2.13.0-243-gb7b71d5d
lib/notmuch master archive/debian/
0.27-3-40-g2fd4e760
lib/ox-hugo master
v0.8-397-gee85213
Amin Bandali [Tue, 18 Sep 2018 05:53:19 +0000 (01:53 -0400)]
[rc/{sway,X}] add custom keyboard layout, mapping Menu to Alt_R
back when i wasn't on wayland, i used to use xmodmap to remap the menu
key to right alt, xmodmap -e "keycode 135 = Alt_R", since, as it turns
out, setxkbmap doesn't have an option for that.
there being no xkb option for changing menu into right alt meant i was
stuck with it on sway, since setxkbmap is X-specific.
figuring out how to write my own xkb rules was "fun". at first i did
a separate aminb file containing aminb:menu_ralt (à la altwin:menu);
but decided it would be simpler to just define my own us(basic)-based
layout and make all the changes there.
also, no need to map right control to right alt using ctrl:rctrl_ralt
anymore.
Amin Bandali [Mon, 17 Sep 2018 15:37:44 +0000 (11:37 -0400)]
[rc/sway] bind XF86PowerOff to prompt for system exit action
- (l)ock
- (e)xit sway
- (s)uspend
- (h)ibernate
- (r)eboot
- (S)hutdown
need to inhibit systemd's handling of the power button using
systemd-inhibit (or alternatively and less elegantly by modifying
/etc/systemd/logind.conf, which i didn't want to do)
Amin Bandali [Mon, 17 Sep 2018 15:36:44 +0000 (11:36 -0400)]
[rc/sway] increase font size to 11
Amin Bandali [Sun, 16 Sep 2018 22:43:36 +0000 (18:43 -0400)]
[rc/sway] increase locking delays and use Ubuntu Mono
Amin Bandali [Sun, 16 Sep 2018 20:36:24 +0000 (16:36 -0400)]
[emacs] put sendmail and message into their own sections
also change notmuch binding from C-c m to C-c n; all in anticipation
for adding a Gnus config and potentially transitioning to Gnus.
Amin Bandali [Sun, 16 Sep 2018 18:09:46 +0000 (14:09 -0400)]
[rc/sway] disable langa's touchapd
i only use the trackpoint
Amin Bandali [Sun, 16 Sep 2018 17:10:11 +0000 (13:10 -0400)]
[rc] add swaylock configuration and lock screen when idle
Amin Bandali [Sun, 16 Sep 2018 04:28:33 +0000 (00:28 -0400)]
[rc/tlp] disable bluetooth on startup for langa
Amin Bandali [Sun, 16 Sep 2018 04:03:24 +0000 (00:03 -0400)]
[rc/tlp] add config for langa (formerly enigma)
Amin Bandali [Sat, 15 Sep 2018 16:41:19 +0000 (12:41 -0400)]
[emacs] update 13 drones
lib/company master
0.9.6-61-g4205ad6
lib/doom-modeline master
0.4.0-11-ga476d58
lib/ghub master
v2.0.1-51-g440a563
lib/graphql master
0.1.1-4-ge2b3096
lib/haskell-mode master
v13.14-1175-gd6c2666
lib/helpful master
0.13-11-g2565d04
lib/ivy master
0.10.0-402-gf969cf8
lib/magit master
2.13.0-242-g8adbe435
lib/notmuch master archive/debian/
0.27-3-34-gc846e15f
lib/org master release_9
.1.14-914-gfa3dab48d
lib/ox-hugo master
v0.8-395-gbdc20fb
lib/tao-theme master
f21288c
lib/use-package master
2.3-404-g2b89ca4
Amin Bandali [Sat, 15 Sep 2018 15:39:06 +0000 (11:39 -0400)]
[emacs] use ox-hugo-auto-export
Amin Bandali [Sat, 15 Sep 2018 15:38:46 +0000 (11:38 -0400)]
[emacs] unbind C-j in emmet-mode-keymap
Amin Bandali [Sat, 15 Sep 2018 15:38:13 +0000 (11:38 -0400)]
[emacs] company-dabbrev: don't ever change casing of completions
Amin Bandali [Sat, 15 Sep 2018 15:37:23 +0000 (11:37 -0400)]
[emacs] Ibubffer: categorize css-mode and scss-mode in "web"
Amin Bandali [Sat, 15 Sep 2018 15:36:50 +0000 (11:36 -0400)]
[emacs] (setq org-log-done 'time)
Amin Bandali [Sat, 15 Sep 2018 15:31:38 +0000 (11:31 -0400)]
[rc/fontconfig] use Liberation Sans over Nimbus Sans for Helvetica
Amin Bandali [Tue, 11 Sep 2018 15:59:35 +0000 (11:59 -0400)]
[emacs] update 6 drones, assimilate 2 new deps
lib/doom-modeline master
0.4.0-10-g54c2824
lib/ghub master
v2.0.1-45-gcdccff8
lib/graphql master
ea85c2b
lib/haskell-mode master
v13.14-1172-gb441b93
lib/org master release_9
.1.14-912-g5fe165003
lib/projectile master
v1.0.0-25-g0944c25
lib/tao-theme master
8582ac9
lib/treepy master 0.1.1
Amin Bandali [Tue, 11 Sep 2018 00:51:08 +0000 (20:51 -0400)]
[emacs] update 16 drones
lib/borg master
v2.0.0-71-g759dc85
lib/company master
0.9.6-57-g4fe0bec
lib/dante master
1.4-77-g5cbf672
lib/dash master
2.14.1-21-g6514359
lib/doom-modeline master
0.4.0-8-gbc06fad
lib/flycheck master
31-177-g253febbd
lib/ghub master
v2.0.1-42-g1653e6f
lib/helm master
v3.0-7-gf4e0168b
lib/highlight-indent-guides master
e463564
lib/ivy master
0.10.0-397-g196dd15
lib/lean-mode master
9d6b847
lib/magit master
2.13.0-205-g0e818e9d
lib/markdown-mode master
v2.3-198-g30ae222
lib/notmuch master archive/debian/
0.27-3-31-g8dcc38ce
lib/org master release_9
.1.14-911-g98755f629
lib/ox-hugo master
v0.8-391-gc211999
Amin Bandali [Mon, 10 Sep 2018 17:24:00 +0000 (13:24 -0400)]
disable making notmuch docs for now, due to automake issues
fix doesn't seem to be applied to nixpkgs unstable yet ? either that,
or some package might somehow be using an unpatched version.
https://github.com/NixOS/nixpkgs/pull/42649
http://git.savannah.gnu.org/cgit/automake.git/commit/?id=
13f00eb4493c217269b76614759e452d8302955e
Amin Bandali [Mon, 10 Sep 2018 17:21:40 +0000 (13:21 -0400)]
[rc] a few changes and notmuch tags for new courses
Amin Bandali [Mon, 3 Sep 2018 02:55:59 +0000 (22:55 -0400)]
[emacs] configure Ibuffer
Amin Bandali [Mon, 3 Sep 2018 00:00:57 +0000 (20:00 -0400)]
[emacs] update 5 drones
lib/dante master
1.4-70-ge35bac2
lib/lcr master 1.1
lib/magit master
2.13.0-204-g852c7593
lib/org master release_9
.1.14-908-gf1269e4c1
lib/proof-site master
v4.4-203-g65d69a7a
Amin Bandali [Sun, 2 Sep 2018 18:43:26 +0000 (14:43 -0400)]
[emacs] assimilate highlight-indent-guides
Amin Bandali [Sun, 2 Sep 2018 16:34:46 +0000 (12:34 -0400)]
[emacs] defmacro setq-every! and set web-related indentation to 2
Amin Bandali [Sun, 2 Sep 2018 16:11:25 +0000 (12:11 -0400)]
[emacs] assimilate web-mode and emmet-mode for better web dev xp
TODO: change indentation offsets to 2
Amin Bandali [Sat, 1 Sep 2018 06:43:36 +0000 (02:43 -0400)]
add license (GPLv3+) file
Amin Bandali [Sat, 1 Sep 2018 06:38:17 +0000 (02:38 -0400)]
[emacs] remove shackle
most packages that i use have fairly sane defaults. also, shackles
messes with magit popups a bit, and fixing it would require writing
custom functions, which i'm not down to do at the moment. basically,
the costs way outweight the benefits right now. i might add it again
some day though :)
Amin Bandali [Sat, 1 Sep 2018 06:29:58 +0000 (02:29 -0400)]
[emacs] update 5 drones
lib/helm master
v3.0-6-g3f3bfa4f
lib/hydra master
0.14.0-18-g44b4259
lib/markdown-mode master
v2.3-196-gb6de08a
lib/org master release_9
.1.14-906-gcbb7be9c2
lib/ox-hugo master
v0.8-360-gd31eb31
Amin Bandali [Sat, 1 Sep 2018 06:27:47 +0000 (02:27 -0400)]
[emacs/shackle] fix typo in rule :align
Amin Bandali [Fri, 31 Aug 2018 16:32:01 +0000 (12:32 -0400)]
[emacs] assimilate boxquote.el and add key bindings on C-c q
Amin Bandali [Thu, 30 Aug 2018 22:13:39 +0000 (18:13 -0400)]
[emacs] assimilate unkillable-scratch
make *scratch* and *Messages* unkillable
Amin Bandali [Thu, 30 Aug 2018 22:00:57 +0000 (18:00 -0400)]
[emacs] move *compilation* auto-close to own section under Defaults
Amin Bandali [Thu, 30 Aug 2018 21:57:44 +0000 (17:57 -0400)]
remove vestigial other/ directory
Amin Bandali [Thu, 30 Aug 2018 21:57:14 +0000 (17:57 -0400)]
[emacs] update 4 drones
lib/doom-modeline master
0.4.0-6-gac03729
lib/magit master
2.13.0-203-g854fb0b0
lib/org master release_9
.1.14-905-gee4dbaff6
lib/proof-site master
v4.4-202-g6aeacf58
Amin Bandali [Thu, 30 Aug 2018 21:53:00 +0000 (17:53 -0400)]
[emacs] delete old backups automatically
stops emacs from annoying me on exit
Amin Bandali [Thu, 30 Aug 2018 21:08:19 +0000 (17:08 -0400)]
[emacs] call compile after async tangle, auto-close *compilation*
close *compilation* buffer on successful compile
Amin Bandali [Thu, 30 Aug 2018 05:17:06 +0000 (01:17 -0400)]
[emacs] automatically tangle init.org on save
Amin Bandali [Thu, 30 Aug 2018 04:49:15 +0000 (00:49 -0400)]
[emacs] add crux-top-join-line bindings (à la evil-mode's J)
Amin Bandali [Thu, 30 Aug 2018 03:03:20 +0000 (23:03 -0400)]
[emacs] C-l eshell clear binding and magit-dispatch-popup on bottom
Amin Bandali [Thu, 30 Aug 2018 03:02:42 +0000 (23:02 -0400)]
[emacs] assimilate shell-pop
Amin Bandali [Thu, 30 Aug 2018 02:27:06 +0000 (22:27 -0400)]
[rc/notmuch] add work and lists/alloytools tagging rules
Amin Bandali [Thu, 30 Aug 2018 02:26:05 +0000 (22:26 -0400)]
[emacs] assimilate helpful and its deps, and add bindings
Amin Bandali [Thu, 30 Aug 2018 02:15:54 +0000 (22:15 -0400)]
[emacs] assimilate shackle and add a few useful popup rules
Amin Bandali [Thu, 30 Aug 2018 02:13:15 +0000 (22:13 -0400)]
[emacs] have C-d quit eshell on empty prompt input
Amin Bandali [Wed, 29 Aug 2018 02:31:51 +0000 (22:31 -0400)]
[emacs] update 9 drones and remove general
lib/borg master
v2.0.0-68-ga495a46
lib/doom-modeline master
0.4.0-5-gad7c7ae
lib/helm master
v3.0-2-g40a3fd4f
lib/magit master
2.13.0-193-g648ea6e5
lib/no-littering master
v0.5.14-8-g3f6d290
lib/org master release_9
.1.14-901-g38a89014a
lib/ox-hugo master
v0.8-348-g0af60fc
lib/proof-site master
v4.4-198-g69066bf2
lib/which-key master
v3.3.0-2-gc938bbf
Amin Bandali [Sat, 25 Aug 2018 05:18:19 +0000 (01:18 -0400)]
[rc/notmuch] add uw/se212 tag rule
Amin Bandali [Sat, 25 Aug 2018 05:17:54 +0000 (01:17 -0400)]
[emacs] update 3 drones
lib/helm master v3.0
lib/ox-hugo master
v0.8-332-g8e244fa
lib/projectile master
v1.0.0-23-g62ef2ae
Amin Bandali [Fri, 24 Aug 2018 18:26:12 +0000 (14:26 -0400)]
[emacs] add borg-nix-shell and use it to build notmuch's build deps
- currently only works in regular emacs session and not via terminal:
https://github.com/emacscollective/borg/issues/78
- TODO: add support for guix environment
Amin Bandali [Fri, 24 Aug 2018 18:25:07 +0000 (14:25 -0400)]
[emacs/notmuch] remove the g common binding and use notmuch's own G
Amin Bandali [Thu, 23 Aug 2018 22:32:31 +0000 (18:32 -0400)]
[emacs/notmuch] [re-]add a couple of bindings
Amin Bandali [Thu, 23 Aug 2018 21:06:51 +0000 (17:06 -0400)]
[emacs] minor changes
Amin Bandali [Thu, 23 Aug 2018 20:19:42 +0000 (16:19 -0400)]
[emacs] use-package projectile
Amin Bandali [Thu, 23 Aug 2018 20:19:15 +0000 (16:19 -0400)]
[emacs] use the standard C-c as my prefix, instead of M-m
at least for now
Amin Bandali [Thu, 23 Aug 2018 20:02:53 +0000 (16:02 -0400)]
[emacs] remove evil; back to using vanilla emacs
Amin Bandali [Thu, 23 Aug 2018 18:19:54 +0000 (14:19 -0400)]
[emacs] update 12 drones
lib/dante master
1.4-66-g8b3e799
lib/doom-modeline master
0.3.0-33-g9d15e92
lib/evil-collection master
5db4a9a
lib/flycheck master
31-170-g10248d4b
lib/ghub master
v2.0.1-30-g48e91c0
lib/helm master
v2.9.8-45-gc0449b96
lib/ivy master
0.10.0-387-g02537c9
lib/magit master
2.13.0-170-gce6bbc83
lib/org master release_9
.1.14-897-g80d334085
lib/ox-hugo master
v0.8-330-g35b7e1a
lib/projectile master
v1.0.0-22-ga4b447d
lib/proof-site master
v4.4-196-g95786256
Amin Bandali [Thu, 23 Aug 2018 16:42:39 +0000 (12:42 -0400)]
[emacs] work around org source block indentation issue with evil
happens due to (setq org-src-tab-acts-natively t)
another less-elegant workaround is to unbind TAB:
(define-key evil-motion-state-map (kbd "TAB") nil)
---
excerpt of conversation with wasamasa on #evil-mode about the issue:
│12:15:00 aminb | wasamasa: mannaged to pinpoint the cause:
│12:15:05 aminb | i had (setq org-src-tab-acts-natively t) in my config
│12:15:22 wasamasa | what does that do?
│12:15:23 aminb | which, for some reason, messes with indentation, and it only happens when evil is enabled
│12:15:26 aminb | give it a shot
│12:15:43 aminb | Documentation:
│12:15:43 aminb | If non-nil, the effect of TAB in a code block is as if it were
│12:15:43 aminb | issued in the language major mode buffer.
│12:15:57 wasamasa | sounds magic
│12:16:11 aminb | i can't notice any difference, at least not with emacs-lisp blocks
│12:16:23 aminb | except that it fucks with evil somehow
│12:19:12 wasamasa | ah, now I get fun behavior
│12:19:19 wasamasa | unless I unbind C-i :P
│12:20:56 aminb | wasamasa: :p so if you unbind C-i, indentation works fine even with that var set?
│12:21:28 wasamasa | I suspect that's why it works normally in my customized session, as opposed to the minimal one (where the block is indented with two spaces for each line)
│12:21:57 aminb | hmm
│12:22:11 wasamasa | ok, it's a bit more complicated
│12:22:35 wasamasa | org looks up the command for the pressed key (evil-jump-forward), executes that in the buffer, then does reformatting
│12:22:56 wasamasa | evil-jump-forward does no indentation, but the reformatting adds indentation unless you customized that
│12:23:10 wasamasa | which I did
│12:23:16 aminb | ha
│12:23:20 aminb | is there anyway to 'fix' this?
│12:23:22 wasamasa | I also unbound TAB and bound C-i separately from that
│12:23:24 wasamasa | well, not really
│12:23:49 aminb | hm okay
│12:23:49 wasamasa | org tries to do the smart thing, but didn't anticipate there's evil where keybindings resolve to something different depending on the state
│12:24:14 aminb | right
│12:26:02 wasamasa | try (define-key evil-motion-state-map (kbd "TAB") nil)
│12:26:29 wasamasa | but as noted, that will kill C-i
│12:27:47 aminb | wasamasa: yup, that seems to do it
│12:27:50 wasamasa | looking at the source of org-babel-do-in-edit-buffer you could do some hack so that the edit buffer comes up in insert state
│12:28:04 wasamasa | then TAB would be looked up correctly
│12:29:10 aminb | i see
│12:42:41 wasamasa | well indeed, try (add-hook 'org-src-mode-hook 'evil-insert-state)
(excerpt included with permission)
Amin Bandali [Thu, 23 Aug 2018 04:18:51 +0000 (00:18 -0400)]
[emacs][wip] adapt to evil-collection-notmuch bindings etc
Amin Bandali [Thu, 23 Aug 2018 02:44:15 +0000 (22:44 -0400)]
[emacs] further evil-related enhancements
Amin Bandali [Thu, 23 Aug 2018 01:19:38 +0000 (21:19 -0400)]
[emacs] switch back to evil