Commit graph

4224 commits

Author SHA1 Message Date
Henrik Lissner
ee1875ffd4
Add feature/workspaces/README.org 2017-08-21 20:13:30 +02:00
Henrik Lissner
f0cad4673c
Revise modules/private/README.org 2017-08-21 20:13:30 +02:00
Henrik Lissner
68e973451d
Rewrite README 2017-08-21 20:13:30 +02:00
Brandon Orther
e07972cffb Gracefully handle +ivy-tasks match errors
When trying to use +ivy-tasks in one of my projects it was failing w/ error:
`(Stack overflow in regexp matcher)`. This was due to ripgrep searching a folder
in the project root containing a minified bootstrap CSS source map file (which
had a `TODO:` in it). Since that file was a single line of text concatenated
together, the regex was getting passed ~540KB of text.

To make it easier to recognize what is causing +ivy-tasks to fail I wrapped the
failing code in `condition-case-unless-debug` and report the error and the file
causing the error using `message!`. So now if there is a failure during the
extraction of task from the search cmd's results it moves onto the next and
alerts the user in separate pop-up.

To avoid including the bootstrap file in the ripgrep search result, I added a
`.ignore` file to the project that tells `rg` to ignore it.

NOTE: I was surprised that this problem file was include in the ivy-tasks search
because I expected the search to respect projectile ignore settings. Respecting
projectile's ignored/unignored files and directories wouldn't be too difficult
considering projectile provides a robust collection of functions to help support
this. Also projectile's `projectile-ag` function is a great reference.
2017-08-15 00:37:24 -07:00
Benjamin Andresen
5879ca8517 Add: ui/doom-modeline: get shrink-path from MELPA 2017-08-13 17:19:48 +02:00
Benjamin Andresen
1e07c3d97f Fix: ui/doom-modeline: cleanups to file-name style 'file-name and 'relative-to-project 2017-08-12 00:52:55 +02:00
Benjamin Andresen
d4b3b050d3 Add: ui/doom-modeline: make buffer-file-name display configurable
Introduced variable +doom-modeline-buffer-file-name-style

The options available now:
(Given ~/Projects/FOSS/emacs/lisp/comint.el)

'truncate-upto-project => ~/P/F/emacs/lisp/comint.el
'truncate-upto-root => ~/P/F/e/lisp/comint.el
'truncate-all => ~/P/F/e/l/comint.el
'relative-to-project => lisp/comint.el
'file-name => comint.el
2017-08-12 00:29:26 +02:00
Henrik Lissner
c962e1a47c
Update changelog 2017-08-11 19:57:57 +02:00
Benjamin Andresen
85a085ca2f
Add: ui/doom-modeline: show project-root but truncated 2017-08-11 17:30:52 +02:00
Benjamin Andresen
94e5fda871 Fix: ui/doom-modeline: segment bar has to return "" in any case to not break -nw
Amoriello found this fix in issue #170
2017-08-11 17:27:04 +02:00
Henrik Lissner
e1f7efdf1d Merge pull request #173 from gilbertw1/fix-smerge-hydra
Check if the hydra feature is enabled before opening smerge hydra
2017-08-09 21:56:23 +02:00
Henrik Lissner
ab5c87bae9
Add solaire-mode-swap-bg 2017-08-09 21:22:00 +02:00
Bryan Gilbert
c64769c114 Check if the hydra feature is enabled before opening smerge hydra 2017-08-09 11:56:12 -04:00
Henrik Lissner
5e393b3233
Ensure module state is initialized on make test 2017-08-09 15:30:42 +02:00
Henrik Lissner
7b9a2c850d
Remove unnecessary require 'hydra 2017-08-09 14:52:48 +02:00
Henrik Lissner
c3275a7809
rainbow-mode: don't activate on prog-mode-hook
That is too aggressive. Not sure what a more reasonable default should
be though.
2017-08-09 14:52:48 +02:00
Henrik Lissner
56382f1215
lang/haskell: add intero support #158
To use dante instead, change `haskell` to `(haskell +dante)` in
~/.emacs.d/init.el.
2017-08-09 14:52:48 +02:00
Henrik Lissner
7877f36f0c Merge pull request #168 from bandresen/app_irc__updates
app/irc updates
2017-08-08 21:57:27 +02:00
Henrik Lissner
d173ae1ed8
Add module flag support to :feature version-control 2017-08-08 19:14:33 +02:00
Henrik Lissner
4addd92c30
Simplify core loading process (part 3) 2017-08-08 19:14:10 +02:00
Henrik Lissner
dea8c4727b
Merge branch 'feature-module-flags' into develop
* feature-module-flags:
  Refactor module pairs and paths helpers
  Update :feature version-control to support module flags
  Remove def-feature! (keep things simple!)
  Remove wildcard support from doom! macro
  Add support for module flags in doom! macro #158
2017-08-08 16:40:56 +02:00
Henrik Lissner
c021d347d3 Refactor module pairs and paths helpers 2017-08-08 16:38:17 +02:00
Henrik Lissner
5849a1fe38 Update :feature version-control to support module flags 2017-08-08 16:38:17 +02:00
Henrik Lissner
87ee1a06e3 Remove def-feature! (keep things simple!)
Removed syntactic sugar macro because it just hides obvious
functionality behind magic.
2017-08-08 16:38:17 +02:00
Henrik Lissner
ac05f9a763 Remove wildcard support from doom! macro
"Explicit is better than implicit."
2017-08-08 16:38:17 +02:00
Henrik Lissner
0b7b8800a2 Add support for module flags in doom! macro #158
For example:

  (doom! :feature (version-control +git))

I leave it to modules to interpret these flags, and they can be detected
through one of the following:

 + (featurep! :feature version-control +git)
 + (featurep! +git) -- syntactic sugar, only available from within
   modules.
 + (doom-module-flags :feature version-control) -- returns a list of
   flags for this module.

Flags are also available from packages.el files.
2017-08-08 16:38:17 +02:00
Henrik Lissner
6e8726a624
Simplify core loading process (part 2) 2017-08-08 16:31:48 +02:00
Henrik Lissner
65748c5809
Simplify core loading process 2017-08-08 14:25:36 +02:00
Henrik Lissner
7409890e78
Refactor lang/python (use :jump instead of keybinds) 2017-08-08 14:24:48 +02:00
Henrik Lissner
5e1ece4291
test/autoload/buffers: fix dead buffers in buffer-list 2017-08-08 14:09:49 +02:00
Henrik Lissner
7af0dd8545
org/org: refactor table navigation keys
Fixes a conflict with the C-[hjkl] window navigation keys.
2017-08-06 20:49:21 +02:00
Henrik Lissner
382f4c1256
private/hlissner: refactor window navigation keys 2017-08-06 20:48:51 +02:00
Henrik Lissner
6d44cec666
Fix new workspace & file prompt on project switch
Properly initialize a new workspace, switch to the fallback buffer
(scratch/dash), update its default-directory to the project root, and
fuzzy-prompt for a file to open.
2017-08-06 18:49:47 +02:00
Benjamin Andresen
00180310df Add: app/irc: (=irc) if irc workspace exists switch to that
don't connect to the networks again
2017-08-06 17:01:32 +02:00
Benjamin Andresen
2286a6404f Add: app/irc: make truncate nick character customizable 2017-08-06 17:01:30 +02:00
Henrik Lissner
85c28444b3
General cleanup & refactor 2017-08-06 16:30:53 +02:00
Henrik Lissner
a76693c7e2
private/hlissner: general update 2017-08-06 16:29:33 +02:00
Henrik Lissner
6cb14cd961
bin/doom-doctor: refactor + speed up tls checks 2017-08-05 13:19:51 +02:00
Henrik Lissner
b65718691f
Improve font detection (+ all-the-icons fonts) #167
make doctor will now complain if it can't find any of the fonts that
Doom uses, and offer help on how to install them.
2017-08-05 13:18:45 +02:00
Henrik Lissner
7233d6f19a
bin/doom-doctor: load doom more comprehensively 2017-08-05 13:17:48 +02:00
Henrik Lissner
52d0dffba4
Restore missing c++ lineup-arglist advice 2017-08-04 22:48:06 +02:00
Henrik Lissner
ad516141d8
Add r and d bindings for neotree 2017-08-04 22:36:36 +02:00
Henrik Lissner
0ad96a4100
Switch to fallback buffer on kill-all-buffers 2017-08-04 22:36:06 +02:00
Henrik Lissner
749553993d
Remove org-mode custom fontification
This has been merged into doom-themes.
2017-08-03 21:24:08 +02:00
Henrik Lissner
a63640b120
Force interactive when running tests 2017-07-29 00:30:42 +02:00
Henrik Lissner
19dfb22fe0
private/hlissner: wrap circe/mu4e configs in after!
Not strictly necessary, but is more readable.
2017-07-29 00:04:48 +02:00
Henrik Lissner
9506cc9902
Take 2 on auth-store-pass detection in Emacs 26+ 2017-07-29 00:00:21 +02:00
Henrik Lissner
ff9965e039
Disable +pass-get-field in noninteractive session
Otherwise you'll get pass pinentry prompts in while byte compiling.
2017-07-28 23:59:36 +02:00
Henrik Lissner
7e4a0dbe95
Try to prevent wrong-type-argument font-spec error
Addresses #164, #165
2017-07-28 19:54:31 +02:00
Henrik Lissner
5346670ab0 Add doom/recompile-packages (make compile:elpa)
If you upgrade (or downgrade) Emacs, there may be byte-compilation
errors. This works around that.
2017-07-28 19:21:00 +02:00