Commit Graph

137 Commits

Author SHA1 Message Date
1e81a35461 Minimize dependence on map!
This is in preparation for general.el integration coming in 2.1.1. It is
very likely that map! will change (and even more, be split into several
macros). Not much, but change none-the-less. Specifically, the state
keywords (e.g. :nvi, :n, :i) will be removed in favor of a :state
property that takes a list, e.g. (normal visual insert).

In any case, both map! and general are also relatively expensive
compared to define-key and evil-define-key* (and the new define-key!
macro), so use that when we can.

This also means changes to either API won't affect Doom's modules in the
long term.
2018-06-03 15:46:00 +02:00
8f847682fa app/rss: fix invalid window errors #646
The popup system cleans up after closed popup windows, so a
delete-window following a kill-buffer will operate on a dead window,
causing this error.
2018-06-02 18:20:09 +02:00
c8a7005a22 app/twitter: decouple from feature/workspaces 2018-06-01 15:36:14 +02:00
1a452b6842 💥 Change first arg of load! macro
load!'s first argument is no longer a symbol (that will cause
void-variable errors now) to save on unnecessary interning and simplify
compile-time logic. It accepts any valid form that evaluates to a string
now.

If you use load!, you need to change its argument to a string!

e.g. (load! +my-module) => (load! "+my-module")
2018-05-27 12:52:28 +02:00
bb88411cc9 General minor refactor & docstring fixes 2018-05-14 20:55:55 +02:00
e44fd886f2 Appease byte-compiler-sama 2018-05-14 20:37:13 +02:00
966f7c77f9 app/twitter: :feature popup => :ui popup 2018-05-14 18:34:18 +02:00
5a13c436ff app/twitter: add +twitter/ace-link command 2018-05-14 13:05:03 +02:00
bc98f80fed app/twitter: redesign app keybind scheme (first draft)
Thanks to @ar1a for help
2018-05-14 13:05:03 +02:00
c01a1597cf app/twitter: larger compose-tweet popup window 2018-05-14 13:05:03 +02:00
b64b2764fa Fix header vars in doctor/packages.el files 2018-05-08 17:56:21 +02:00
2d9fb67903 app/write: minor refactor (use :when instead of when) 2018-04-28 16:12:22 -04:00
d67496e007 Fix vestigial references to warn! macro
This macro was removed some time ago (and moved to doom-doctor). Where
necessary, these warnings have been moved to that module's doctor.el
file.
2018-04-28 03:49:46 -04:00
c23974e1d5 app/write: new +write-mode-map keymap 2018-04-28 03:28:59 -04:00
ba24073a07 app/email: replace existing contexts instead of shadowing them #528 2018-04-18 01:08:56 -04:00
f0c46e5930 app/email: disable obsolete html2text package 2018-04-04 18:22:19 -04:00
8c486d741e app/email: fix mu4e-maildirs-extension 2018-04-04 18:01:34 -04:00
a582bdf208 app/calendar: fix typo causing void-variable error 2018-04-04 01:05:20 -04:00
a73ba9bc8a Merge pull request #500 from bandresen/develop
a few app/irc improvements
2018-04-02 06:27:52 -04:00
7282553d2d app/calendar: minor indentation refactor 2018-04-02 05:50:07 -04:00
f6f2c92373 app/calendar: don't require :feature workspaces 2018-04-02 05:49:55 -04:00
4f4176c646 Add: app/irc: include disconnect hook code 2018-04-02 08:08:13 +02:00
fbf80489da Document: app/irc: add docstrings for all variables 2018-04-02 08:07:44 +02:00
082b63610c Add: app/irc: pretty up a few more kinds of messages 2018-04-02 07:53:51 +02:00
5c9ef4ee38 Replace doom-hide-modeline-mode w/ hide-mode-line-mode #423 2018-03-02 19:14:44 -05:00
068a9345e3 app/email: load mu4e in =email 2018-02-24 20:26:35 -05:00
da416736ef app/rss: minor refactor; new flag (+org) 2018-02-19 20:20:25 -05:00
d6cba4253f app/calendar: minor refactor; rename +calendar-open-calendar-function 2018-02-19 20:19:54 -05:00
04cb9a2691 app/calendar: general refactor 2018-02-19 15:18:36 -05:00
c8c7bcabc0 app/calendar: fix path in comment header 2018-02-18 03:10:09 -05:00
6291cb1979 app/email: improve mu4e lifetime management & fix =email 2018-02-18 03:09:39 -05:00
7707aec28a Remove doom group
Not really useful, and Doom doesn't encourage using the Emacs Customize
interface.
2018-02-18 03:04:58 -05:00
70c8e3cb52 app/rss: bind M-RET = open entry in browser 2018-02-17 04:56:27 -05:00
9f471806fe app/rss: add :popup rule for elfeed-entry windows 2018-02-17 04:56:16 -05:00
d8be0a5f4c app/rss: move default elfeed file 2018-02-17 04:56:03 -05:00
8240771846 app/rss: fix +rss/quit & compact db 2018-02-17 04:55:35 -05:00
bac73ec938 Replace warn => warn! 2018-02-14 07:46:38 -05:00
3080b68c84 app/write: major refactor+rewrite
+ Make synosaurus unconditional
+ Move much of +write-mode into its hook
+ Conform README.org to template and expand it
+ Try to guess langtool-language-tool-jar
+ Update init.example.el entry
+ Remove redundant variables
+ Add +write-text-scale & +text-line-spacing variables
2018-02-13 17:50:58 -05:00
13e2239fcd Add: add mixed-pitch-mode to +write-mode 2018-02-11 17:05:16 +08:00
562b8ba431 Add: extend +write module 2018-02-11 17:04:30 +08:00
efce68bc29 Make elfeed-org ready at elfeed start. 2018-02-10 19:52:00 +03:00
414383e5f4 Remove vestigial references to doom/{next,previous}-buffer 2018-02-04 05:05:40 -05:00
64d41ed1d9 Refactor & redesign app/twitter
Inspired by UI changes by @fuxialexander, mentioned in
https://github.com/hlissner/emacs-doom-themes/issues/131
2018-01-24 17:37:43 -05:00
b3c429d92a Refactor app/email 2018-01-24 15:08:43 -05:00
41a84a3c6d Add: +calendar/quit binding to "q" 2018-01-14 10:06:36 +08:00
5bfa365809 Fix: hotfix of +calendar-org-gcal-secret-file 2018-01-13 17:57:38 +08:00
7236404f67 Fix: hotfix of +calendar-open-calendar-function 2018-01-13 17:35:59 +08:00
c63aba39ac Add: =calendar app 2018-01-13 17:26:40 +08:00
84cba91e50 feature/popup: remove default slot & window-width
...and fix :popup not mapping the size parameter to the correct
dimension when no side is specified.
2018-01-07 05:56:00 -05:00
392f04446f General refactor (use map.el more)
+ map-delete is shorter and faster than assq-delete-all
+ map-put is simpler than the delete-then-set workflow
+ map-merge is great for merging default and user settings
2018-01-07 00:15:58 -05:00