Commit Graph

7438 Commits

Author SHA1 Message Date
8a0d12d4f0 Enable line numbers in restclient-mode 2018-08-16 22:02:30 +02:00
ffccb3a31a Sharp-quote keybind commands 2018-08-16 20:39:16 +02:00
6df179bb29 Use def-package! for highlight-numbers-mode
Easier for users to disable
2018-08-16 19:34:03 +02:00
957ba3ee67 lang/rest: :n RET = run request at point 2018-08-16 17:37:13 +02:00
772febedb7 lang/rest: fix za, zm & zr fold keys 2018-08-16 17:37:13 +02:00
d60296111e lang/rest: prompt for self-signed/invalid certs 2018-08-16 16:42:01 +02:00
ce9f03f310 Use personal fork of highlight-escape-sequences
Improves elisp support, adds support for more modes and fixes some minor
issues.
2018-08-16 15:17:07 +02:00
a715f848aa Let EMACS_SERVER_NAME envvar change server-name 2018-08-16 12:53:38 +02:00
7c82cb6002 org-capture: remove window-system frame parameter
Hopefully, `make-frame` can figure out which window-system to use.
2018-08-16 12:32:13 +02:00
7be7a8b046 Rebind SPC o a -> org-agenda 2018-08-16 11:35:11 +02:00
3cddbd1949 Fix void-variable string #809 2018-08-16 02:18:44 +02:00
480378d30c Fix doom/info in noninteractive sessions 2018-08-16 01:26:28 +02:00
6a582d4f5f Fix SPC / d
Use new +(ivy|helm)/project-search-from-cwd command
2018-08-15 23:35:12 +02:00
c27ab26fd9 Refactor +helm-file-search & show prompt 2018-08-15 23:34:22 +02:00
c69543fecc Fix helm not cooperating with other popups
Like the compilation window
2018-08-15 23:32:53 +02:00
7d1246888b Only set display function for counsel-ag
counsel-rg and counsel-pt both identify themselves as counsel-ag, so
these extra specifications were unnecessary.
2018-08-15 21:19:59 +02:00
40a900f533 lang/web: fix Emacs<26 incompatibility #806
The regexp argument for string-trim-right was introduced in 26.1.
2018-08-15 21:19:59 +02:00
11b8ee55a1 Use helm-do-ag instead of helm-ag #805
Fixes project search matching against the leading file name.

And ensures modeline remains disabled.
2018-08-15 21:19:59 +02:00
104e01f588 Improve set-repl-handler!'s docstring 2018-08-15 21:19:59 +02:00
9584dd6005 Ensure file-template snippets are loaded
In case :feature snippets is disabled.
2018-08-15 21:19:59 +02:00
486d4a12e7 Fix wrong-type-argument error opening new files
Caused when either your snippets library is empty or a file-template
doesn't exist when expanded.
2018-08-15 21:19:56 +02:00
55b5c7711b Updated readme 2018-08-15 08:34:21 +02:00
f5c1be44ba Added quelpa recipe 2018-08-15 08:33:38 +02:00
2929b58cde Modified variable 2018-08-15 08:17:20 +02:00
4280ea3418 Added readme. 2018-08-14 23:30:20 +02:00
5bb40e6dd1 Merge pull request #802 from benj02/patch-3
Fix running make from inside doom
2018-08-14 23:28:58 +02:00
fa223ceafd Added basic coq support 2018-08-14 23:21:55 +02:00
94092081db Fix running make from inside doom
The `term.el` package defines an environment variable `EMACS` inside its shell process, containing the Emacs and term.el version, in a string that looks like this: `26.1 (term:0.96)`. This interferes with the `bin/doom` command, which expects that environment variable to be a path to an Emacs binary. Trying to run make inside a doom terminal thus gives you this error:

```
Emacs isn't installed
make: *** [Makefile:5: all] Error 1
```

This simple fix just checks if `$EMACS` looks like a term version string, and ignores it if so.
2018-08-14 01:08:13 -07:00
a824e04e92 lang/ruby: fix wrong-num-of-args error from setq 2018-08-14 09:33:42 +02:00
cb38ffbd58 Merge pull request #799 from mdssjc/fixes-racket
Fixes Racket
2018-08-13 23:58:39 +02:00
b8f1b90744 Remove set-company-backend!
Since racket-mode uses company-capf, it isn't necessary to set any default backends for it.
2018-08-13 23:57:10 +02:00
9d7f8c359e Add docstrings to helm project search commands 2018-08-13 21:47:56 +02:00
77408ff12f Refactor ivy project search API
The same as 7d617f15, but for ivy:

+ Heavily refactored +ivy-file-search
+ Removed -z flag from all engines by default
+ Changed the behavior of the universal argument for from-cwd
  interactive commands (e.g. +ivy/rg-from-cwd). It used to enable
  recursive searches, but now enables inclusion of hidden and compressed
  files in the search instead. *-from-cwd searches are always recursive
  now.
+ Now generates +ivy/X and +ivy/X-from-cwd commands dynamically.
+ Split +ivy/project-search into +ivy/project-search-from-cwd.
  Universal arguments are passed from these commands to their delegated
  engine command.
2018-08-13 21:47:56 +02:00
f94b00887b config/default: bind SPC b B/SPC b b appropriately
Depending on the status of feature/workspaces.
2018-08-13 21:47:56 +02:00
2cc5d223fe Rewrite how magit windows/popups are managed
The old policy was to invoke magit in fullscreen, but in practice, I've
found myself wanting to peek at other buffers (maybe even notes) while I
manage my project in version control.

So this change introduces two big changes and one fix:

+ Instead of a full-frame policy, we use full-column. e.g. Invoking
  magit-status will take up a full column of windows (and will restore
  them when you quit).
+ Popups are displayed below the current window if called from a magit
  buffer, otherwise as a popup at the bottom of the frame.
+ Fixes popups opening in a random window if called from a magit buffer
  in a popup.

This is only a start and needs more testing.
2018-08-13 21:47:56 +02:00
391ac1cae5 Leverage cache in tide-project-root advise 2018-08-13 21:47:56 +02:00
4c18fc81af Ensure switch hooks don't reference dead buffers 2018-08-13 21:47:56 +02:00
9c4d1c3b02 lang/php: replace ac-php with phpactor.el
phpactor is superior to phpctags, though it requires more setup.

phpactors.el is superior to ac-php, though it is in alpha.
2018-08-13 21:47:55 +02:00
e0f2c260a1 Update lang/nix to reflect changes upstream
+ Restore nix-mode entry in auto-mode-alist
+ Add .drv entry to auto-mode-alist
+ Minor refactor for def-package! blocks
2018-08-13 21:47:55 +02:00
5663778e36 Make TAB respect org-cycle-separator-lines #800
outline-toggle-children and org-cycle-hide-drawers didn't respect
org-cycle-separator-lines.
2018-08-13 21:47:55 +02:00
90fa4a8c37 Add helm-ag-fuzzy-match support 2018-08-13 21:47:55 +02:00
5714ff423a Fix evil jumplist after jumping to ag match
helm-ag would formerly add multiple entries to the jump list. It now
only adds one, and recenters the window when jumping to an ag match.
2018-08-13 21:47:55 +02:00
b149dcffd4 Replace esup with doom/profile-emacs #788
Since esup (called directly) doesn't work with Doom.
2018-08-13 03:50:17 +02:00
25d9786edf Add early-init-file support to doom/profile-emacs #788
And fix wrong-type-argument: stringp errors when running esup.

Also ensure that doom|run-all-startup-hooks sets after-init-time.
2018-08-13 03:47:33 +02:00
7d617f1541 Refactor helm project search API
+ Heavily refactored +helm-file-search
+ Removed -z flag from all engines by default
+ Changed the behavior of the universal argument for from-cwd
  interactive commands (e.g. +helm/rg-from-cwd). It used to enable
  recursive searches, but now enables inclusion of hidden and compressed
  files in the search instead. *-from-cwd searches are always recursive
  now.
+ Now generates +helm/X and +helm/X-from-cwd commands dynamically.
+ Split +helm/project-search into +helm/project-search-from-cwd.
  Universal arguments are passed from these commands to their delegated
  engine command.
2018-08-13 03:47:33 +02:00
b0c71c2492 Add +helm/workspace-mini command & bind to SPC b b
+ Rename +helm/persp-buffer-list to +helm/workspace-buffer-list
+ Silence compiler warnings when feature/workspaces is disabled
+ Throw error if feature/workspaces is disabled and these commands are
  called.
2018-08-13 03:47:30 +02:00
f143a03221 Use set-company-backend!
Fixes incorrect usage of setq-local in a global context.
2018-08-13 02:59:38 +02:00
2f7282af12 Input-method optional 2018-08-12 13:52:35 -03:00
d692718ab4 Fix selecting deleted window error
Caused by focus/unfocus modeline fixes accessing possibly dead buffers.
2018-08-12 18:25:09 +02:00
36ac08f3fa Company-capf needs to be the first 2018-08-12 13:13:25 -03:00