Commit Graph

7303 Commits

Author SHA1 Message Date
a3c0985aa0 lang/racket: remove keybind :desc properties #814 2018-08-18 23:50:28 +02:00
491088de4d Merge pull request #804 from patrl/coq
DONE: add coq module
2018-08-18 23:48:34 +02:00
48c531e76c lang/coq: move config.el to autoload.el
The auto-mode-alist entry for coq-mode and friends are already added by proof-general's autoloads file, and neither coq-mode nor company-coq-mode belong to proof-site specifically, so they shouldn't be treated like they are (this could cause autoloading errors).

The `def-package!` block altogether is unnecessary. The only thing we need is to enable `company-coq-mode` on coq-mode-hook. However, having a one-line config.el is a tad excessive, so we put it in autoload.el instead.
2018-08-18 23:45:36 +02:00
6393ebe16b Removed redundant config 2018-08-18 14:51:21 +02:00
33e0f9f11c Merge pull request #811 from chengyi/fix-c-mode-tab-width-error
delete redundant comma
2018-08-17 19:09:33 +02:00
1d3a1ee82f highlight-numbers-mode -> highlight-numbers #813
Correct package name
2018-08-17 13:03:59 +02:00
f38e04bf83 Restore default mu4e non-fancy marks #810 2018-08-17 12:40:47 +02:00
b867afff1f delete redundant comma
this cause wrong tab width in c mode
2018-08-17 10:48:14 +08:00
f923ed4341 Add docstrings to doom-inhibit-switch-*-hooks vars 2018-08-17 04:34:43 +02:00
6ab9cf6460 Switch org-agenda-list for org-agenda on dashboard 2018-08-17 04:10:11 +02:00
1dca969a14 Update switch hook tests 2018-08-17 04:03:19 +02:00
deea5f11b3 Fix enter/exit window/buffer hook names 2018-08-17 04:01:46 +02:00
1a6519aa45 Display search command & directory in helm header
Displays the full command (minus formatting options) and target
directory rather than the unhelpful "The Silver Searcher", even if we're
using ripgrep or pt.
2018-08-17 03:56:45 +02:00
7a578eb242 Move counsel+helpful integration to ivy module 2018-08-17 03:37:07 +02:00
4a4b012b5d Move custom hooks to core/core.el
Also ensures that the custom hooks aren't fired until as late as
possible, which prevents a few packages from prematurely loading at
startup. Faster startup! Yay!
2018-08-17 01:57:09 +02:00
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