Commit Graph

163 Commits

Author SHA1 Message Date
46c49cf55a app/twitter: fix missing epa--decode-coding-string
In latest Emacs 27, this alias is missing.
2018-07-29 17:41:58 +02:00
22a2d1de60 app/twitter: add support for +new modeline 2018-07-29 17:41:58 +02:00
f52008873e Refactor app/rss & improve kill-buffer process 2018-06-29 15:08:06 +02:00
ba674c8744 Slice images in rss entries for easier scrolling
Can be disabled with +rss-enable-sliced-images.
2018-06-29 14:12:50 +02:00
db0ad48e4d Enable evil-collection-elfeed 2018-06-29 14:12:50 +02:00
1a923441ff Fix infinite-recursion when killing elfeed buffers 2018-06-29 14:12:50 +02:00
b583af198d Pop up elfeed-show buffers below current
Instead of in a frame popup. You no longer are required to run elfeed in
fullscreen.
2018-06-29 13:57:21 +02:00
6c0c6ee47b Fix infinite recursion when quitting elfeed
+rss/quit kills the buffer, triggering its kill-buffer-hook, which calls
+rss/quit, triggering its kill-buffer-hook, which calls +rss/quit,
triggering its kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, which summons Cthulhu...
2018-06-28 14:40:12 +02:00
e9ccc09fe4 Fix featurep! check in app/rss
Reported by @sarg
2018-06-27 20:35:49 +02:00
8f3f31bac8 Fix hardcoded language-tool path on MacOS
Reported by @jwintz
2018-06-26 18:58:07 +02:00
e6a89e4bf9 app/rss: fix keymapp error & refactor keybinds 2018-06-26 18:58:02 +02:00
2ad1280e4e Add set-irc-server! autodef & move :irc setting 2018-06-24 22:23:08 +02:00
0b437ccae8 Merge pull request #717 from MarkRedeman/circe-keybindings
Add keybindings for circe
2018-06-24 17:15:30 +02:00
14dfc9fad9 Add FIXMEs to def-setting!'s
They will be removed on the 2.1.1 release.
2018-06-24 17:13:23 +02:00
a8c31db7be Remove the SPC o I keybinding to open IRC 2018-06-24 00:01:07 +02:00
f6dc6ac74e Refactor out map.el usage
After some profiling, it turns out map-put and map-delete are 5-7x
slower (more on Emacs 25) than delq, setf/alist-get and add-to-list for
small lists (under 250 items), which is exactly how I've been using
them.

The only caveat is alist-get's signature is different on Emacs 25, thus
a polyfill is necessary in core-lib.
2018-06-23 19:53:54 +02:00
e8834710c2 Docs: improve irc documentation
Explain how `+pass-user-fields` works and show a basic example for
configuring a pass entry to be used by circe.

Show how to connect to IRC and show a list of commands that can be used
in circe buffers.
2018-06-23 15:32:00 +02:00
7a6407eb92 Add: reasonable default keybindings for circe
The =+irc/send-message= function was added so that we can send private
messages using =SPC m m= or =M-x= with =+irc/send-message=.
2018-06-23 14:44:40 +02:00
6808c46b58 💥 Change set-popup-rule! usage
Now accepts a flat plist of all its former parameters, including new
:parameters and :actions properties to increase your control over the
fate of your windows.

The old usage of set-popup-rule! is deprecated and may not work right!

The :ui popup module has also seen a major refactor to improve
efficiency and load times.

Sorry! This is the last "big" change before 2.1!
2018-06-18 02:34:16 +02:00
44363cae40 General, minor refactor & revision
Across the board. All the boards.
2018-06-16 12:26:58 +02:00
9c748600a5 Fix set-email-account! & minor refactor
Mentioned by @myme
2018-06-16 01:13:34 +02:00
8ca88aba9e Replace :email with set-email-account! autodef 2018-06-15 18:03:50 +02:00
d8b1e469bc Introduce autodefs to replace some settings
+ :popup -> set-popup-rule!
+ :popups -> set-popup-rules!
+ :company-backend -> set-company-backend!
+ :evil-state -> set-evil-initial-state!

I am slowly phasing out the setting system (def-setting! and set!),
starting with these.

What are autodefs? These are functions that are always defined, whether
or not their respective modules are enabled. However, when their modules
are disabled, they are replaced with macros that no-op and don't
waste time evaluating their arguments.

The old set! function will still work, for a while.
2018-06-15 03:42:01 +02:00
6693db48af Mark +org-dir obsolete (use org-directory instead)
I prefer not to invent new variables when they aren't strictly
necessary. org-directory is one such variable (although the other path
variables are still necessary).
2018-06-15 01:05:22 +02:00
baa405babb Disable lui-mode line wrapping regardless of :feature spellcheck 2018-06-04 09:17:04 +02:00
32a2a2b64d General, minor refactor
+ Group hooks with add-hook!
+ Sharpquote elfeed call
+ Extract elfeed buffer detector into function and ensure idempotency of
  doom-real-buffer-functions
2018-06-03 15:51:59 +02:00
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