Commit Graph

6964 Commits

Author SHA1 Message Date
a0b0964355 lang/ruby: fix rbenv version detection 2018-07-06 23:58:11 +02:00
0a577f3a0e lang/python: fix pyenv version detection #736 2018-07-06 23:56:50 +02:00
55f692491e Merge branch 'ar1a-ruby-revamp' into develop
* ar1a-ruby-revamp:
  Cleanup robe processes killing last ruby buffer
  Refactor lang/ruby & remove +ruby-ask-for-server
  lang/ruby: fix type (enh-ruby-ode)
  lang/ruby: what's 'this' lol
  lang/ruby: Add rubocop binds
  lang/ruby: bit more refactoring
  lang/ruby: Initial work on porting to enh-ruby
2018-07-06 23:35:11 +02:00
00d6e7b9ca Cleanup robe processes killing last ruby buffer
Experimental?
2018-07-06 23:11:26 +02:00
f5f87ee0a3 Refactor lang/ruby & remove +ruby-ask-for-server
To conform to conventions and remove redundancies (like activating
flycheck-mode, which is global now).

Also, should now silently create a robe server.
2018-07-06 22:38:01 +02:00
2fa8599364 ui/pretty-code: fix wrong-number-of-args: eq error
And minor refactor
2018-07-06 20:42:51 +02:00
9f769fa985 Merge branch 'jseba-develop' into develop
* jseba-develop:
  ui/pretty-code: general refactor & fix premature )
  Fix & document set-pretty-symbols!
  Fix major mode symbols
  Support for multiple ligature'd fonts
2018-07-06 20:32:35 +02:00
fc87a72904 ui/pretty-code: general refactor & fix premature ) 2018-07-06 20:32:00 +02:00
2a125000ae Fix & document set-pretty-symbols! 2018-07-06 20:31:59 +02:00
372f02b6c0 lang/ruby: fix type (enh-ruby-ode) 2018-07-06 23:56:10 +10:00
811290368c lang/ruby: what's 'this' lol 2018-07-06 23:56:10 +10:00
12b32d6208 lang/ruby: Add rubocop binds 2018-07-06 23:56:10 +10:00
6b1265ae5a lang/ruby: bit more refactoring 2018-07-06 23:54:56 +10:00
29ae7f935f Add eshell/mkdir-and-cd command
I'd recommend aliasing this to mkdircd or take.
2018-07-06 15:34:26 +02:00
633b5b764d Apply smartparens {} fix to enh-ruby-mode too
Fixes:

  {|} => {
    |
  }

in enh-ruby-mode buffers too

Reported by @ar1a
2018-07-06 15:34:26 +02:00
3f553b0a71 lang/ruby: Initial work on porting to enh-ruby 2018-07-06 23:32:06 +10:00
0b7faa468c Fix which-key sharing windows with other popups
Which-key is now lazy-loaded, so the modified which-key-popup-type gets
overwritten.
2018-07-06 14:57:40 +02:00
3443cd870a Disable magit-auto-revert-mode
Because we already use global-auto-revert-mode, but because it's lazy
loaded, the magit-autorevert package may not notice, and will enable
magit-auto-revert-mode anyway.
2018-07-06 13:39:42 +02:00
64867cbed4 Don't lazy load doom|disable-show-paren-mode
In case it is used early (e.g. by org-mode).
2018-07-06 12:48:41 +02:00
eb79760c66 ivy-rich-switch-buffer-pad => ivy-rich-pad
To match upstream changes.

Reported by @sarg
2018-07-06 12:17:29 +02:00
fff9547763 Fix major mode symbols 2018-07-05 22:09:29 -07:00
a7cba67fd6 Support for multiple ligature'd fonts
Refactors the ligature configuration to support more than just Iosevka
(uses Fira Code as the second font).
2018-07-05 19:37:06 -07:00
15f66f4b52 Add doom|disable-show-paren-mode hook
For disabling show-paren-mode buffer-locally.
2018-07-06 01:06:13 +02:00
80a3c9bf62 Fix company-box not showing lone candidates
Revert this once sebastiencz/company-box#40 is merged.
2018-07-05 21:45:44 +02:00
dfed54c7ad Shrink oversized company-box icons
This would cause lines in company-box frames to be too large, making the
last candidate seem cut off by the frame edge.
2018-07-05 21:40:34 +02:00
8c688da586 Add Cask generated folders to gitignore 2018-07-05 17:09:40 +02:00
c38d324663 Make banner customizable
Add banner-file and banner-dir variables. If banner-file is nil, use
ASCII banner.
2018-07-05 14:33:48 +02:00
2d30d996c3 Refactor counsel-find-file actions
Conform them to naming conventions & only autoload the functions that
aren't used immediately.
2018-07-05 14:05:09 +02:00
cd26e11e94 Merge pull request #740 from fuxialexander/counsel_find_file_action
Add ivy action to counsel-find-file and counsel-projectile-switch-project
2018-07-05 13:49:04 +02:00
4ebbf8f056 Fix variable height org-level-N faces in eldoc
It only uses the face's :foreground, which should be enough, but it
prevents the minibuffer from being resized when eldoc displays
breadcrumbs in org-mode.
2018-07-05 13:44:34 +02:00
b67745a9b6 Don't show "Open user manual" button
...unless the manual exists (it will soon)!
2018-07-05 12:37:05 +02:00
3a1ba5381e Use +default/find-in-config instead on dashboard
Instead of browse-config.
2018-07-05 12:36:32 +02:00
8b8c7c7411 doom-doctor: use ~ instead of HOME envvar 2018-07-05 01:32:38 +02:00
1fa4c65c3a ui/doom-dashboard: minor refactor 2018-07-05 01:32:04 +02:00
ad5470ce3f Make org-export-directory an obsolete alias
Slow down to give people time to transition.
2018-07-04 23:57:17 +02:00
030e80d202 Refactor lang/org/+export
+ Changed org-export-directory to +org-export-dir (conform to naming
  convention). It turns out org-export-directory never existed in org.
+ Make org-export-backends addition (for ox-pandoc) idempotent.
+ Fix redundant forward slash in org-publish-timestamp-directory.
+ Resolve export directory later, giving the user a larger window to
  change +org-export-dir.
2018-07-04 23:52:29 +02:00
f949df5646 Reformat ui/doom-dashboard tests 2018-07-04 23:14:31 +02:00
ebd4d19fa4 Fix +doom-dashboard-p 2018-07-04 23:14:12 +02:00
57bad58dea Fix SPC h D keybind (wrong command name) 2018-07-04 23:09:07 +02:00
c55d6dad17 Reduce coupling with buffers library and dashboard 2018-07-04 23:06:47 +02:00
0b1cb1bb48 Look up command binds dynamically in dashboard
Keys are no longer hard coded.

cc @UndeadKernel
2018-07-04 23:05:49 +02:00
a406b2d0c8 Ignore errors if display-buffer ALIST is malformed
The gud.el library uses display-buffer incorrectly, by passing a list of
functions as its second argument, instead of as a nested list.

CORRECT:
  (display-buffer buffer
    '((display-buffer-reuse-window
       display-buffer-in-previous-window
       display-buffer-same-window display-buffer-pop-up-window)))

INCORRECT (how gud does it):
  (display-buffer buffer
    '(display-buffer-reuse-window
      display-buffer-in-previous-window
      display-buffer-same-window display-buffer-pop-up-window))

This causes "wrong-type-argument: listp
display-buffer-in-previous-window" error. However, it appears Emacs
handles malformed alists by just ignoring them, so Doom will do the
same.

Reported by @maskray
2018-07-04 21:42:33 +02:00
57020cdfdb Fix void-variable after-focus-change-function error
The condition was the wrong way around.
2018-07-04 21:26:20 +02:00
daa05eb7f2 Fix regexp for realgud popup rule
Causing invalid-regexp errors.
2018-07-04 21:23:56 +02:00
7eb3ae62d7 Conditionally install os packages #741
Fixes an issue where exec-shell-from-path could not be installed on
Linux or Windows.

Doom used :ignore because, at the time, it supported a workflow where
your Emacs config was shared over dropbox or rslsync across multiple
computers. This workflow is no longer supported (it was very buggy!), so
this is no longer necessary. :ignore should also be reserved for private
use and not used internally.
2018-07-04 21:08:23 +02:00
0df9bae16b don't override original actions 2018-07-05 00:38:41 +08:00
8f74ce982d add action for counsel-projectile-switch-project 2018-07-04 23:59:36 +08:00
a906b82788 add action for counsel-find-file 2018-07-04 23:59:18 +08:00
f5e8c72bb6 Add experimental modeline (disabled by default)
This mode-line may have bugs and its implementation details are certain
to change (it doesn't follow naming conventions, for instance). It also
doesn't have all the features of the old modeline (yet).

However, it is easily twice as fast as the original, and a little more
flexible, what with the `mode-line-format-left' and
`mode-line-format-right' variables. It also exposes a more powerful API
for defining modelines and modeline segments (and switching between
them).

It is disabled by default and must be activated with the +new module
flag on the ui/doom-modeline module.
2018-07-04 17:49:44 +02:00
ee4060ab80 Add image banner display logic to dashboard
But disabled by default (until the logo is ready).
2018-07-04 16:20:02 +02:00