Commit Graph

221 Commits

Author SHA1 Message Date
Henrik Lissner
149b2617b0
💥 revise hook/var fns naming convention (2/2)
This is second of three big naming convention changes. In this commit,
we change the naming conventions for hook functions and variable
functions:

1. Replace the bar | to indicate a hook function with a -h suffix, e.g.

     doom|init-ui -> doom-init-ui-h
     doom|run-local-var-hooks -> doom-run-local-var-hooks-h

2. And add a -fn suffix for functions meant to be set on variables,
   e.g.

     (setq magit-display-buffer-function #'+magit-display-buffer-fn)

See ccf327f8 for the reasoning behind these changes.
2019-07-22 02:30:38 +02:00
Henrik Lissner
4a8db3a8cd
app/calendar: remove +calendar-org-gcal-secret-file
The user can load this file themselves.
2019-07-01 18:43:41 +02:00
Henrik Lissner
9a02bd8ac8
Minor refactors across the board
- when-let* -> when-let
- Fix projectile-locate-dominating-file for connected remote files
2019-06-26 14:31:06 +02:00
Siddharth Shekar
aa64cf9426 Replace kill-this-buffer with kill-current-buffer
As per the documentation for kill-this-buffer, it should only be invoked
from the menu and behaves unpredictably when invoked programmatically.
2019-05-30 18:54:58 -07:00
Henrik Lissner
2214c3175e
Minor tweaks across the board 2019-05-21 00:34:32 -04:00
Henrik Lissner
9561331d05
Fix +calendar/open-calendar
It was using a doom-themes function, which isn't guaranteed to exist,
e.g. if the user isn't using a doom-themes theme.
2019-05-20 21:09:12 -04:00
Henrik Lissner
c3cb7c5000
:tools password-store -> :tools pass
A simpler name and matches the prefix of its module.
2019-05-19 02:18:25 -04:00
Henrik Lissner
20720cda61
Remove visual-fill-column package from Doom core
It is not essential enough to keep in Doom core. I'm working on a new
module (or a rewrite for app/write) to replace it.
2019-05-17 01:58:27 -04:00
Henrik Lissner
ca8202c224
Standardize the READMEs of various modules 2019-05-09 21:31:23 -04:00
Henrik Lissner
84c5da844b
Add email/{wanderlust,mu4e,notmuch} modules
Removed app/{email,notmuch}
2019-05-05 14:14:12 -04:00
Henrik Lissner
4aa65aa019
Move avy, ace-link & ace-window out of core
They don't belong there, and ace-window is no longer a core dependency
anyhow.
2019-05-01 21:02:28 -04:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00
Henrik Lissner
d6839fc4c6
Remove references to old scratch buffer functions 2019-04-19 20:50:53 -04:00
Henrik Lissner
ca32f7b7d1
app/rss: improve entry readability
By not using variable-pitch fonts in the SHR-converted output and
allowing images to be larger than 60% of the window's width.

Also corrects the docstring for +rss|elfeed-wrap, promising to use
`visual-fill-column-mode` when it doesn't (and never did).

Also changes `=rss` to an alias.
2019-04-02 15:47:09 -04:00
Jason Scott
1ca499bafb adds to falsely branch in case invoked from splash 2019-03-30 16:05:33 +01:00
Jason Scott
5c15934733 fixes calfw calendar creation width 2019-03-30 11:23:02 +01:00
Henrik Lissner
99aefd6e02
Disable projectile cache during elfeed-db-compact 2019-03-29 03:52:24 -04:00
Henrik Lissner
1f3c41a8ac
Revert ab797994 #226
These were merged into evil-collection-mu4e.
2019-03-01 03:56:10 -05:00
Henrik Lissner
ab79799407
app/email: add :keep-visual prop on mu4e commands #975 2019-02-28 14:01:22 -05:00
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