Henrik Lissner
01d4223f18
Fix prettify-symbols not unprettifying at point
...
defvar wasn't being set soon enough.
2018-06-17 18:25:13 +02:00
Henrik Lissner
6b73f408aa
Remove prettify-utils dependency
2018-06-17 18:25:08 +02:00
Henrik Lissner
6490c4b922
Prevent unsafe file variable prompts on help links
2018-06-17 17:26:15 +02:00
Julien Wintz
d0e4e0801f
Setup solaie mode for doom themes.
2018-06-17 14:22:29 +02:00
Henrik Lissner
0fd8e1dd6b
Restore +popup-ttl
...
Accidentally removed in a recent commit.
Fixes #692
2018-06-17 11:34:55 +02:00
Henrik Lissner
d822560b34
Fix void-variable after-focus-change-function error
...
This variable is introduced in the latest Emacs and the condition around
it was inverted.
2018-06-17 02:54:14 +02:00
Henrik Lissner
d31052d9db
Reformat popup library: move polyfills down
2018-06-17 02:21:46 +02:00
Henrik Lissner
1eae57a0b4
Rename +popup-display-buffer
...
To +popup-display-buffer-stacked-side-window, to make it more obvious
what it actually does.
2018-06-17 02:21:46 +02:00
Henrik Lissner
c3988a8298
Give popups a small margin
...
To make up for lack of fringe.
2018-06-17 02:21:46 +02:00
Henrik Lissner
9b5a219373
Improve robustness of popup predicates & checks
2018-06-17 02:21:46 +02:00
Henrik Lissner
30c5f2fa26
set-pretty-symbols!: add :iosevka, :merge & :alist
...
MORE. POWER.
2018-06-17 02:21:46 +02:00
Henrik Lissner
79413be1f0
Improve doom modeline focus hooks
...
More reliable deactivation when unfocusing or switching away from Emacs.
2018-06-16 21:41:39 +02:00
Henrik Lissner
e50b485948
All hail, our glorious byte compiler
...
Hush. Stop your complaining.
2018-06-16 21:19:57 +02:00
Henrik Lissner
486019d853
Remove leading space in dashboard buffer's name
...
The leading space indicates a temporary buffer. The dashboard is no such
thing!
2018-06-16 21:01:16 +02:00
Henrik Lissner
08986d9101
Simplify dashboard initial buffer check
...
We only need to check if we're in the scratch buffer. doom-real-buffer-p
is overkill for that.
This also reduces file loads at startup for autoloaded functions added
to the doom-real-buffer-functions and doom-unreal-buffer-functions.
2018-06-16 21:00:37 +02:00
Henrik Lissner
8c64644450
setq->defvar (prettify-symbols-unprettify-at-point)
2018-06-16 20:57:51 +02:00
Henrik Lissner
ec8ae0bedc
Add :ui pretty-code & set-pretty-symbols! autodef
...
Along with defaults for C/C++, elm, elisp, js, typescript, web-mode, and
org-mode. Thanks to @ar1a for inspiration.
2018-06-16 19:32:25 +02:00
Henrik Lissner
635fbb4a97
Fix "selecting deleted buffer" errors in helm #665
...
By properly handling helm popups.
2018-06-16 14:42:47 +02:00
Henrik Lissner
44363cae40
General, minor refactor & revision
...
Across the board. All the boards.
2018-06-16 12:26:58 +02:00
Henrik Lissner
74d364776e
Move no-other-window to +popup-default-parameters
...
Should be customizable.
2018-06-16 11:45:09 +02:00
Henrik Lissner
02d532a09a
Set ibuffer-use-other-window in ui/popup/+hacks.el
...
It was originally set to accommodate the popup system.
2018-06-16 10:22:59 +02:00
Henrik Lissner
1cfc146e3a
Fix indentation of set-popup-rule!'s arguments
2018-06-16 00:40:37 +02:00
Henrik Lissner
fe6a9b0cd8
ui/popup: tie +defaults flag to +hacks
2018-06-15 22:13:44 +02:00
Henrik Lissner
f81a0e6f41
Remove redundant def-setting! docstrings
...
def-setting! will now grab the autodef's docstring if it has an
:obsolete property defined.
2018-06-15 16:54:39 +02:00
Henrik Lissner
eaca8c58fa
Move unit tests from ert to buttercup
...
Easier to organize and write. Now I can hopefully strive for better
coverage!
2018-06-15 03:42:01 +02:00
Henrik Lissner
2023aac314
Add +treemacs/toggle command
2018-06-15 03:42:01 +02:00
Henrik Lissner
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
Henrik Lissner
6fe0017e24
Add popup hacks for pdf-tools' annot list windows
...
Annotations are displayed in stacked windows to the left of the pdf.
Thanks to @UndeadKernel for help figuring this out.
2018-06-14 19:55:36 +02:00
Henrik Lissner
b2b6ff67f2
Prevent treemacs from creating ~/.emacs.d/.cache
...
Alexander-Miller/treemacs#212 introduced treemacs-persist-file, which we
now use instead of tools/treemacs' old treemacs-persistence hack (which
didn't work).
Relevant to #669
2018-06-14 14:03:10 +02:00
Henrik Lissner
1f07b37c9c
Fix elusive back-to-top-level error
...
These occurred because of disruptive kill-buffer-hooks running when the
backtrace buffer was auto-killed by the popup cleanup system. No more!
2018-06-14 00:45:57 +02:00
Henrik Lissner
a77a967299
Fix elusive 'already at top-level' error
...
I have hunted this bug on and off for nearly a year now. It would kill
processes randomly, move the point suddenly, and quit the active
minibuffer without warning.
The only clue it'd leave behind is an announcement in the minibuffer:
"Already at top-level".
Thanks to @UndeadKernel for the last piece of the puzzle!
Fixes #436
2018-06-12 14:13:12 +02:00
Henrik Lissner
c8783f3291
ESC -> close treemacs for evil users
2018-06-11 00:11:20 +02:00
Henrik Lissner
8c6e403215
Hide mode-line in treemacs
2018-06-11 00:11:04 +02:00
Henrik Lissner
40077c6c4b
Merge pull request #669 from ar1a/treemacs
...
Add treemacs module
2018-06-10 23:19:43 +02:00
Henrik Lissner
cf6b4f891e
Add +everywhere flag to treemacs-evil
2018-06-10 23:17:12 +02:00
Henrik Lissner
cb0ab2fcda
Refactor ui/treemacs
2018-06-10 23:16:50 +02:00
Aria Edmonds
7175c7dffb
Add initial treemacs module
2018-06-09 12:16:29 +10:00
Henrik Lissner
4b8ac0ad3d
Disable fci-mode in org-mode by default
...
Too many issues caused by variable font and icon sizes in org-mode (see
2018-06-08 14:29:38 +02:00
Henrik Lissner
d008a7e977
Make ui/fci's automatic color change customizable
2018-06-08 13:29:06 +02:00
Henrik Lissner
e918040e70
Add :ui fci module for fill-column-indicator
2018-06-08 13:08:38 +02:00
Henrik Lissner
6729de9918
evil-goggles-duration = 0.1
...
Display a little longer.
2018-06-04 00:12:51 +02:00
Henrik Lissner
e71cd93488
Don't change which-key settings in doom dashboard
2018-06-03 17:22:23 +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
Henrik Lissner
01b07e573e
Fix visual j/k in dashboard and evil-mode
...
In case you've remapped j/k to gj/gk universally.
2018-06-03 12:04:42 +02:00
Henrik Lissner
4d2e1dd526
Fix modeline growing incrementally on big font mode
...
Fixes #575
2018-06-02 21:40:57 +02:00
Henrik Lissner
6e6dfc2215
Implement helm project search functionality #644
...
Adds +helm/project-search, as well as +helm/ag and +helm/ag-from-cwd,
and variants for rg, pt and grep/git-grep, to mirror the functionality
available to :completion ivy.
Also updates the evil ex commands and keybinds
2018-06-02 20:37:02 +02:00
Henrik Lissner
dd57a521f3
Correct :popup/:popups docstrings
2018-06-02 18:20:09 +02:00
Henrik Lissner
209b281dc6
Move popup mode keymaps to autoload.el
2018-06-02 16:58:56 +02:00
Henrik Lissner
e66abfb9e8
Use newline-based alignment technique on dashboard
...
Fixes #645 , because Emacs' mouse events don't appear to compensate for
variable-width whitespace.
2018-06-02 10:48:55 +02:00
Henrik Lissner
90ddc67337
Fix with-popup-rules! macro
2018-05-31 01:34:53 +02:00