Commit Graph

202 Commits

Author SHA1 Message Date
Henrik Lissner
7c5eefee3e
General, minor refactoring 2019-02-24 13:58:56 -05:00
Henrik Lissner
69ed1a4a99
feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05:00
Shanavas M
7ec46c4d95
Add port to circe network config
Fixes #1121
2019-02-20 13:14:14 +05:30
Henrik Lissner
5b48c21762
app/irc: fix & improve feedback from =irc #1121
Hopefully prevents =irc from nooping.
2019-02-16 17:00:31 -05:00
Henrik Lissner
b8da259d90
app/email: trim maildirs config
maildir-expanded-prefix and maildir-default-prefix were already set to
their defaults, and the action-text change seemed arbitrary.

Indirectly fixes #1175
2019-02-16 13:12:28 -05:00
Henrik Lissner
fb8a378d72
app/irc: fix =irc nooping without preset networks #1121
=irc would do nothing if no networks were pre-set with set-irc-server!.
2019-02-11 15:20:21 -05:00
Sean Farley
30fad8b08b irc: fix lui track bar not being enabled
It seemed I mistakenly put this in an `evil` block and didn't notice.
2019-02-05 11:06:21 -08:00
Henrik Lissner
5c1edde613
app/irc: general refactor 2019-01-23 15:54:12 -05:00
Sean Farley
fe44a3c435 irc: remap tracking-next-buffer to +irc/tracking-next-buffer
This prevents default keybindings from using `tracking-next-buffer' so
that a user doesn't accidentally end up in a weird mixed workspace.
2019-01-22 13:56:34 -08:00
Henrik Lissner
26caa28e8f
Merge pull request #1130 from seanfarley/smf/irc
irc: automatically add circe buffers to irc workspace
2019-01-21 22:22:41 -05:00
Sean Farley
274d9a6c0c irc: add +irc/tracking-next-buffer
This way the user won't accidentally switch to the next unread buffer in
the wrong workspacee and end up in a weird state.
2019-01-21 17:48:55 -08:00
Sean Farley
ffc9e0f48e irc: enable tracking last read message 2019-01-21 17:17:24 -08:00
Sean Farley
7f205130af irc: add +irc|add-circe-buffer-to-persp
A convenience function that prevents a new circe buffer (e.g. a new
message pop up) from being added automatically to whichever is current
workspace and instead adds it to the irc workspace.
2019-01-21 17:13:52 -08:00
Sean Farley
8a0098ee52 irc: add +circe-buffer-p
This allows us to list the circe buffers as real when they are added to
the +irc--workspace-name.
2019-01-21 17:12:59 -08:00
Sean Farley
03f4a91c93 email: move some gmail specific settings to gmail.el 2019-01-21 16:10:27 -08:00
Henrik Lissner
b56639e31b
Remove deprecated set! & def-setting! macros 2019-01-05 17:48:46 -05:00
Henrik Lissner
d82745844b
app/email: rewrite README 2019-01-05 16:50:19 -05:00
Henrik Lissner
e8465bb5ff
app/irc: rewrite README 2019-01-05 16:32:37 -05:00
Henrik Lissner
b1aca7dbed
Map offlineimaprc+mbsyncrc to conf-mode #1091 2019-01-03 02:10:07 -05:00
Henrik Lissner
c38e8cf759
Merge pull request #1073 from SteamedFish/fix-offlineimaprc-repository-path
fix wrong url of dotfiles repository
2018-12-27 14:55:28 -05:00
SteamedFish
32e5e78b53 fix wrong url of dotfiles repository 2018-12-27 19:29:56 +08:00
Henrik Lissner
65290d3d2f
app/irc: re-nest keybinds
And restore missing circe-command-NAMES keybind.
2018-12-22 04:36:51 -05:00
Henrik Lissner
4daa9271a0
Introduce general.el & rewrite map!
+ Now uses an overriding keymap for leader keys, so that it is always
  available, even outside of normal/visual states. In insert/emacs
  states, or in sessions where evil is absent, an alternative prefix is
  used for leader/localleader keys. See these variables:
  + doom-leader-prefix
  + doom-leader-alt-prefix
  + doom-localleader-prefix
  + doom-localleader-alt-prefix
+ Keybinds now support alternative prefixes through the new :alt-prefix
  property. This is useful for non-evil users and non-normal evil
  states. By default, this is M-SPC (leader) and M-SPC m (localleader).
+ Removed +evil-commands flag from config/default (moved to
  feature/evil/+commands.el).
+ config/default/+bindings.el has been split into
  config/default/+{evil,emacs}-bindings.el, which one is loaded depends
  on whether evil is present or not. The latter is blank, but will soon
  be populated with a keybinding scheme for non-evil users (perhaps
  inspired by #641).
+ The define-key! macro has been replaced; it is now an alias for
  general-def.
+ Added unmap! as an alias for general-unbind.
+ The following modifier key conventions are now enforced for
  consistency, across all OSes:
    alt/option      = meta
    windows/command = super
  It used to be
    alt/option      = alt
    windows/command = meta
  Many of the default keybinds have been updated to reflect this switch,
  but it is likely to affect personal meta/super keybinds!

The map! macro has also been rewritten to use general-define-key. Here
is what has been changed:

+ map! no longer works with characters, e.g. (map! ?x #'do-something) is
  no longer supported. Keys must be kbd-able strings like "C-c x" or
  vectors like [?C-c ?x].
+ The :map and :map* properties are now the same thing. If specified
  keymaps aren't defined when binding keys, it is automatically
  deferred.
+ The way you bind local keybinds has changed:

    ;; Don't do this
    (map! :l "a" #'func-a
          :l "b" #'func-b)
    ;; Do this
    (map! :map 'local "a" #'func-a
                      "b" #'func-b)

+ map! now supports the following new blocks:
  + (:if COND THEN-FORM ELSE-FORM...)
  + (:alt-prefix PREFIX KEYS...) -- this prefix will be used for
    non-normal evil states. Equivalent to :non-normal-prefix in general.
+ The way you declare a which-key label for a prefix key has changed:

    ;; before
    (map! :desc "label" :prefix "a" ...)
    ;; now
    (map! :prefix ("a" . "label") ...)

+ It used to be that map! supported binding a key to a key sequence,
  like so:

    (map! "a" [?x])  ; pressing a is like pressing x

  This functionality was removed *temporarily* while I figure out the
  implementation.

Addresses: #448, #814, #860
Mentioned in: #940
2018-12-22 04:14:43 -05:00
Henrik Lissner
e77c4f2406
app/email: minor refactor 2018-10-24 01:09:17 -04:00
Henrik Lissner
cdf745e72a
map!: remove buffer-local :desc properties
which-key labels are registered globally, and will not work for
buffer-local keybinds. Until general is brought in, we'll have to suffer
label-less localleader keybinds.
2018-10-07 21:34:24 -04:00
Henrik Lissner
77510ed2d8
app/write: monospaced indentation in org 2018-10-06 20:44:25 -04:00
Henrik Lissner
22c85e2c5a
Merge pull request #924 from ragone/develop
mu4e-confirm-quit should be nil instead of t
2018-10-03 19:16:18 -04:00
Edwin Török
58dd73030c +write-mode: initialization functions were not run
setting +write-mode-hook had no effect because +write-mode-hook was not
defined yet, it is only defined by the minor mode definition inside
autoload.el (which didn't get autoloaded yet).

Due to this when activating `+write-mode` the `mixed-pitch-mode` did not
get activated.

Fix this by moving these all to autoload.

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-03 23:03:11 +01:00
ragone
aeae3ef1f3 fix: mu4e-confirm-quit should be nil 2018-10-03 19:58:17 +13:00
Henrik Lissner
7d3ffdff06
Remove third line in section headers
This is truly important stuff. We've saved many lives with this update.
2018-09-09 09:58:19 -04:00
Henrik Lissner
4f671c3acb
Fix stringp error caused by app/write's doctor
Caused by langtool-langauge-tool-jar not being set (because defvar won't
change a defined variable), and app/write/doctor.el uses it in a
file-exists-p call, which throws the stringp error if given anything
other than a string.
2018-08-25 20:58:42 +02:00
Henrik Lissner
a7da9a4738
💥 Rewrite line numbers system for Emacs 25
This removes the various doom-line-number* variables and replaces it
with the Emacs 26 display-line-numbers API, which I've ported to Emacs
25.x (however, it uses nlinum under the hood, and not all of
display-line-numbers options are supported).
2018-08-21 03:34:39 +02:00
Henrik Lissner
f38e04bf83
Restore default mu4e non-fancy marks #810 2018-08-17 12:40:47 +02:00
Aidan Gilmore
2e98e1ae50
Configurable sync backends for NotMuch 2018-08-08 12:06:07 -04:00
Henrik Lissner
8d486b755e
Add app/notmuch module (WIP) 2018-07-31 19:33:27 +02:00
Henrik Lissner
26cc2a4f8a
app/write: don't tamper with org-indent-mode 2018-07-31 19:12:40 +02:00
Henrik Lissner
9079fdd9ec
app/write: fix +write-mode not disabling other modes 2018-07-31 19:11:41 +02:00
Henrik Lissner
0a746bdf1e
app/write: fixed-pitch for org-todo & line numbers 2018-07-31 19:11:10 +02:00
Henrik Lissner
a7bef8ec88
app/write: refactor
Removed autoloads that are already defined by packages.
2018-07-31 18:41:34 +02:00
Henrik Lissner
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
Henrik Lissner
22a2d1de60
app/twitter: add support for +new modeline 2018-07-29 17:41:58 +02:00
Henrik Lissner
f52008873e
Refactor app/rss & improve kill-buffer process 2018-06-29 15:08:06 +02:00
Henrik Lissner
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
Henrik Lissner
db0ad48e4d
Enable evil-collection-elfeed 2018-06-29 14:12:50 +02:00
Henrik Lissner
1a923441ff
Fix infinite-recursion when killing elfeed buffers 2018-06-29 14:12:50 +02:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
e9ccc09fe4
Fix featurep! check in app/rss
Reported by @sarg
2018-06-27 20:35:49 +02:00
Henrik Lissner
8f3f31bac8
Fix hardcoded language-tool path on MacOS
Reported by @jwintz
2018-06-26 18:58:07 +02:00
Henrik Lissner
e6a89e4bf9
app/rss: fix keymapp error & refactor keybinds 2018-06-26 18:58:02 +02:00