Commit graph

31 commits

Author SHA1 Message Date
crshd
baa405babb Disable lui-mode line wrapping regardless of :feature spellcheck 2018-06-04 09:17:04 +02:00
Henrik Lissner
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
Benjamin Andresen
4f4176c646 Add: app/irc: include disconnect hook code 2018-04-02 08:08:13 +02:00
Benjamin Andresen
fbf80489da Document: app/irc: add docstrings for all variables 2018-04-02 08:07:44 +02:00
Benjamin Andresen
082b63610c Add: app/irc: pretty up a few more kinds of messages 2018-04-02 07:53:51 +02:00
Henrik Lissner
8e875bfa0e
Phase out doom-kill-buffer 2018-01-04 03:01:35 -05:00
Henrik Lissner
76a4ae459d
Fix obsolete (when|if)-let messages in Emacs 26 2017-12-10 14:49:52 -05:00
Henrik Lissner
07088d3dcf
Removed s.el dependency (prefer built-in) 2017-12-09 14:40:14 -05:00
Henrik Lissner
f8e8dbad8f
General minor refactor 2017-12-08 23:14:12 -05:00
Henrik Lissner
9d81bc5a8b
Major refactor: use-package-always-defer = nil & use :hook
Possibly breaking change: packages are no longer deferred by default.

Addresses #286
2017-12-08 23:14:11 -05:00
Henrik Lissner
79cf78d1c6
Allow new :irc settings to shadow old ones 2017-11-10 00:17:49 +01:00
Henrik Lissner
bac286e8e2
Remove blank autoload files 2017-11-05 01:16:35 +01:00
Henrik Lissner
d2d71795e5 Merge branch 'develop'
* develop: (64 commits)
  Prepare for v2.0.5
  Temporarily disable doom-themes-visual-bell-config
  Fix neotree always changing root
  Update changelog
  Fix wrong-type-argument error from +org/insert-item
  Make +ivy-buffer-transformer autoloadable
  General refactor & cleanup
  Correct troubleshooting link in README
  org: set org-ellipsis to downward chevron
  Add elfeed-(show|search)-mode to evil-snipe-disabled-modes
  Autoload json library
  Rethink smartparens config #181
  README: expand troubleshooting
  Fix wiki links in README (again)
  Correct intro in README
  Fix wiki links in README
  Prevent private commands from affecting projectile cache
  Remove recentf-filename-handlers fix for projectile-recentf-files
  lang/sh: remove unused setup.sh
  Convert +ivy/switch-buffer to transformers + add mode icons #169
  ...
2017-09-03 23:32:23 +02:00
Henrik Lissner
cbabf6849c
Standardize module READMEs 2017-08-21 20:13:31 +02:00
Benjamin Andresen
00180310df Add: app/irc: (=irc) if irc workspace exists switch to that
don't connect to the networks again
2017-08-06 17:01:32 +02:00
Benjamin Andresen
2286a6404f Add: app/irc: make truncate nick character customizable 2017-08-06 17:01:30 +02:00
Benjamin Andresen
6fb8d0164b
Add: app/irc: scroll to bottom on any input
more generalized which allows this to work for Emacs mode or for pastes.

Code inspired and adapted by eshell.
2017-07-26 13:02:14 +02:00
Henrik Lissner
6a5bd216e5
Appease byte-compiler senpai 2017-07-14 18:19:08 +02:00
Benjamin Andresen
ca3184b685 app/irc: get rid of non-interactive #'end-of-buffer warning 2017-06-24 20:25:47 +02:00
Benjamin Andresen
679615899d app/irc: one place +irc-connections var wasn't updated
it's now handled in circe-network-options
2017-06-24 20:25:44 +02:00
Henrik Lissner
928812da8a
Make def-setting! behave more like defmacro
set! used to aggressively evaluate its arguments (at expansion-time),
even if placed inside an after! block. This causes unavoidable errors if
those arguments use functions/variables that don't exist yet.

Fixes #112
2017-06-19 00:32:44 +02:00
Henrik Lissner
96998e40d3
app/irc: general refactor 2017-06-18 23:43:08 +02:00
Benjamin Andresen
360eef0602 app/irc: fix +irc/ivy-jump-to-channel
not it works when buffer-names are indented below server
2017-06-16 23:52:36 +02:00
Benjamin Andresen
b002883d40 app/irc: don't interfere with insert mode unless before prompt 2017-06-16 23:52:29 +02:00
Henrik Lissner
81f475da64
Fix mapcar used for effect 2017-06-12 19:07:40 +02:00
Henrik Lissner
01dc170e5b
app/irc: clean up timer & notifications on quit 2017-06-12 14:37:14 +02:00
Henrik Lissner
b3dafe96d3
app/irc: general rewrite (#103)
+ Refactor initialization process.
+ Refactor for consistency.
+ Add +irc-defer-notifications (for ZNC users).
+ Rewrote =irc (opens separate workspace + auto-connects to registered
  networks).
+ Add +irc/connect (connect to specific network).
+ Add +irc/quit (kill whole circe session).
+ Add +irc/ivy-jump-to-channel command.
+ Rewrite README.
+ Silence QUIT/PART default messages; they're cute, but no thanks.
+ Truncate nicks non-destructively.
+ Jump to prompt when entering insert mode (with evil).
+ Activate solaire-mde in channel buffers to visually distinguish them
  from server buffers.
2017-06-12 14:22:35 +02:00
Henrik Lissner
470117d538
app/irc: fix lui-mode-map typo 2017-06-11 19:33:40 +02:00
Henrik Lissner
d2b514e1ba
Consistency refactor
For consistency with other app modules:

+ Refactor out s.el dependency
+ Reorder variables (public then private)
+ Use add-hook! instead of add-hook+lambda
+ Optimization: replace mapcar+closure with cl-loop (reduces allocations)
+ Replace evil-set-initial-state with (set! :evil-state ...), which is
  ignored if :feature evil is disabled.
2017-06-11 16:15:36 +02:00
Benjamin Andresen
d73da8f995 clean ups (init.exampl.el + app/irc readme) 2017-06-11 15:56:55 +02:00
Benjamin Andresen
9645945465 app/irc: initial commit 2017-06-11 15:55:22 +02:00