Commit Graph

4537 Commits

Author SHA1 Message Date
fuxialexander
c63aba39ac Add: =calendar app 2018-01-13 17:26:40 +08:00
Henrik Lissner
8785664267
feature/popup: replace split-window-no-error calls #349
split-window-no-error is a Emacs 26+ function.
2018-01-12 15:09:10 -05:00
Henrik Lissner
987805de5f
Fix recursive load errors with multiple doom! calls #352 2018-01-12 14:40:34 -05:00
Henrik Lissner
98fbbc533f
feature/popup: improve emacs 25.x compatibility #349 2018-01-12 14:40:34 -05:00
Henrik Lissner
59c8689f40
Merge pull request #350 from vikigenius/vikigenius
Fix race between eldoc and flycheck by delaying flycheck
2018-01-12 14:40:24 -05:00
Vikash Kathirvel
507ee07513 Fix race between eldoc and flycheck by delaying flycheck 2018-01-12 16:11:18 +05:30
Henrik Lissner
2f0822ed44
Remove aggressive load of use-package
The autoload in core-packages takes care of it.
2018-01-11 22:18:32 -05:00
Henrik Lissner
2967b404d8
feature/popup: don't let neotree reset its width
Causes it to shrink everytime the wconf changes.
2018-01-11 22:17:37 -05:00
Henrik Lissner
7f7dfb0959
feature/evil: more vim-esque save messages
Now when saving, you get a message like:

  "modules/feature/evil/config.el" 435L, 16678C written

Instead of

  Wrote /home/hlissner/work/conf/doom-emacs/modules/feature/evil/config.el

PEDANTRY INTENSIFIES
2018-01-11 13:23:07 -05:00
Henrik Lissner
2bfb4accf2
Merge pull request #348 from UndeadKernel/rtags-fix
Correctly report when rtags's client or server are not found.
2018-01-11 13:11:47 -05:00
Henrik Lissner
637a678529
ui/doom-dashboard: fix unchanging default-directory #347 2018-01-11 12:24:38 -05:00
UndeadKernel
c59f584444 Correctly report when rtags's client or server are not found. 2018-01-11 15:49:50 +01:00
Henrik Lissner
ad06eacdac
feature/popup: general refactor
Adds +popup-origin-window, which contains the last non-popup you were in
before a popup was opened.
2018-01-11 01:09:16 -05:00
Henrik Lissner
bff48e5ed7
feature/popup: use new +popup-display-buffer #337
Adds support for `slot` and `vslot`, allowing for two dimensional
control over where popups may spawn. Highly experimental.

It's upsetting that I have to set `window--sides-inhibit-check`, I'd
like to find a way around that, if possible.
2018-01-11 01:05:24 -05:00
Henrik Lissner
991297b8e7
feature/popup: fix wrong-number-of-args error 2018-01-11 00:43:26 -05:00
Henrik Lissner
fa54eef776
Merge pull request #342 from dsdshcym/feature-evil-numbers-config
feature/evil: add mapping for evil-numbers
2018-01-10 22:57:28 -05:00
Yiming Chen
471c68fc8a feature/evil: move evil-numbers bindings to private/default/+bindings.el 2018-01-11 11:50:55 +08:00
Henrik Lissner
2b98e550e8
Reverse load-path to fix precedence issues
Originally, I built the load-path with site-lisp paths first, then
packages. There was a modest ~10% startup boost doing this, because
there were considerably more site packages loaded at startup than
plugins.

However, this meant built-in packages would get precedence over plugins,
which is undesirable. In org's case, I simply modified the load-path
in lang/org/init.el. However, this issue has cropped up again in #340.

Evidently, that 10% boost may not be worth the risk it imposes, so I've
rearranged the load-path with packages first.
2018-01-10 22:47:35 -05:00
Henrik Lissner
669b3cbbb0
lang/cc: fix void-function irony-mode error #341 2018-01-10 22:25:09 -05:00
Henrik Lissner
44f8b579ab
Merge pull request #339 from dsdshcym/fix-popup-evil-command-window-execute
Fix popup evil command window execute
2018-01-10 22:08:05 -05:00
Yiming Chen
c24889d75e feature/evil: add mapping for evil-numbers 2018-01-11 09:17:49 +08:00
Yiming Chen
ea55fcfd0f feature/popup: use delete-window in +popup*evil-command-window-execute
- +popup/close will pollute the popup history
- see also https://github.com/hlissner/doom-emacs/pull/339#issuecomment-356544535
2018-01-10 17:39:12 +08:00
Henrik Lissner
e571060063
Merge pull request #332 from UndeadKernel/latex_module
Latex module revamped
2018-01-10 04:16:27 -05:00
Henrik Lissner
4a8825e91d
Merge pull request #336 from Dragnucs/patch-1
Add Vue file to web mode
2018-01-10 04:15:46 -05:00
Yiming Chen
4c310bfb17 feature/popup: call get-buffer-window for evil-command execute-window
- doom-popup-other-window was removed
2018-01-10 10:09:03 +08:00
Yiming Chen
8227f40d08 feature/popup: call +popup/close in +popup*evil-command-window-execute
- doom/popup-close was renamed to +popup/close
2018-01-10 10:08:55 +08:00
Henrik Lissner
01b4a59f84
feature/version-control: don't manage magit popups 2018-01-09 17:44:39 -05:00
Henrik Lissner
a4e22d48b8
feature/popup: add :ignore support to :popup
Allows you to ignore certain buffers. Helpful for plugins that manage
their own windows, like magit.

To use:

  (set! :popup "^\\*magit" :ignore)

Relevant to #337
2018-01-09 17:42:11 -05:00
Henrik Lissner
bfcbb9ca01
feature/popup: fix +popup/toggle always opening *Messagse*
Because +popup/restore would always return nil.
2018-01-09 16:49:26 -05:00
Henrik Lissner
c03d0dbc06
feature/popup: add +popup-display-buffer action #337
This is experimental and disabled by default. It uses a slightly more
primitive backend that will stack popups away from the edge of the
frame. This will need more work to take window-slot into account.

To use it:

  (remove-hook '+popup-display-buffer-actions 'display-buffer-in-side-window)
  (add-hook '+popup-display-buffer-actions #'+popup-display-buffer t)
2018-01-09 16:49:25 -05:00
Henrik Lissner
7bdf8cf8d9
feature/popup: add +popup-display-buffer-actions #337
Gives us more flexibility to control what display-buffer functions to
use when trying to display the popup window.
2018-01-09 16:49:14 -05:00
UndeadKernel
56a3c81778 Correct def-setting and use string-empty-p.
Change default ivy-bibtex behavior to insert bibliography.
2018-01-09 14:19:02 +01:00
Dragnucs
32c3dd847e
Add Vue file to web mode
Support `.vue` Vue.js files in web-mode.
2018-01-09 11:27:48 +00:00
Henrik Lissner
228b3a36e5
private/default: doom/kill-this-buffer => kill-this-buffer #334
Missed this when I removed doom/kill-this-buffer!
2018-01-09 04:16:31 -05:00
Henrik Lissner
d2bab1dc4d
Fix kill-this-buffer's dashboard addiction, the sequel
Again, the dashboard was being switched to too early (there were still
other real buffers to display).
2018-01-09 04:05:33 -05:00
Henrik Lissner
0e0966a4ce
feature/evil: evil-respect-visual-line-mode = t
Remaps line motions in visual-line-mode.
2018-01-09 03:52:11 -05:00
Henrik Lissner
233b2021ce
completion/ivy: add transformer for projectile-find-file 2018-01-09 03:45:27 -05:00
Henrik Lissner
565c4fa0f4
completion/ivy: fix stringp error from blank buffer-file-name 2018-01-09 03:45:05 -05:00
Henrik Lissner
3a0f27935e
Merge pull request #333 from dsdshcym/call-flycheck-popup-tip-mode-correctly
Call flycheck-popup-tip-mode correctly
2018-01-08 23:02:45 -05:00
Yiming Chen
eb927290b5 Call flycheck-popup-tip-mode correctly
- Fix issue: Symbol’s function definition is void: flycheck-popup-tip
2018-01-09 12:00:35 +08:00
Henrik Lissner
42f4d10d6d
Fix doom//reload-autoloads not reloading autoloads file
doom-packages--async-run doesn't return anything. Whoops!
2018-01-08 22:47:38 -05:00
Henrik Lissner
ca3f955a93
completion/ivy: use upstream ivy-rich
My PR was merged upstream.
2018-01-08 20:43:57 -05:00
Henrik Lissner
3dbf994871
lang/org: close agenda buffers after org-agenda
Experimental. Running org-agenda would leave leftover open buffers, this
hook cleans them up.
2018-01-08 20:42:43 -05:00
Henrik Lissner
6853196017
lang/org: general refactor; split init into hooks
lang/org's initialization process is now split up into hooks on
org-load-hook. This approach is cleaner and easier to customize. I also
removed the escape binding in org-agenda-mode-map, as the popup system
makes it redundant.
2018-01-08 20:41:56 -05:00
Henrik Lissner
b57c2e2264
Disarm doom/cleanup-session's oppressive regime
It killed buffers a little too indiscriminantly.
2018-01-08 19:36:02 -05:00
Henrik Lissner
af37d430fb
Fix kill-this-buffer's dashboard addiction
Our kill-this-buffer advice, which tries to ensure the user will always
land on a real buffer after killing another, would prematurely jump to
the dashboard even though there were other available, real buffers.

Also fixes an issue where kill-this-buffer would get stuck switching
between the last buffers (because they aren't killed if they're visible
in other windows). If the only buffers left are visible in other
windows, it will now switch to the fallback buffer (dashboard or
scratch).
2018-01-08 19:32:53 -05:00
Henrik Lissner
865fe29a9d
completion/ivy: use switch-buffer transformer for projectile 2018-01-08 19:07:23 -05:00
Henrik Lissner
4b4447d31e
completion/ivy: dim non-project entries in counsel-recentf
Added +ivy-recentf-transformer to counsel-recentf. Entries that aren't
in the same project as the buffer recentf was opened from will be
slightly dimmed.
2018-01-08 19:05:12 -05:00
Henrik Lissner
1f52669684
completion/ivy: refactor switch-buffer transformer #331
Also switches to my private fork of ivy-rich until the changes are
merged upstream.
2018-01-08 19:04:21 -05:00
Henrik Lissner
3bdf1dd174
feature/popup: by default, don't handle window selection
Plenty of special popups switch to a buffer and simply assume that that
buffer is now focused. So best we don't interfere with that unless we
must.
2018-01-08 17:30:55 -05:00