Commit Graph

3939 Commits

Author SHA1 Message Date
Henrik Lissner
2be0292a6f
Correct intro in README 2017-08-22 01:14:55 +02:00
Henrik Lissner
0718770151
Fix wiki links in README 2017-08-22 01:12:28 +02:00
Henrik Lissner
33f45f5739 Merge pull request #176 from bandresen/truncate-modeline
Add: ui/doom-modeline: show project-root but truncated
2017-08-22 00:55:11 +02:00
Henrik Lissner
274afba607 Merge pull request #178 from orther/handle-ivy-tasks-matching-errors
Gracefully handle +ivy-tasks match errors
2017-08-22 00:49:31 +02:00
Henrik Lissner
e1f7d76bc5
Prevent private commands from affecting projectile cache
This causes projectile-project-root to act strangely, because my private
project navigational commands were rewriting the projectile cache.
2017-08-21 22:31:13 +02:00
Henrik Lissner
9ed322ded6
Remove recentf-filename-handlers fix for projectile-recentf-files
This is unnecessary now that path abbreviation occurs in an ivy
transformer rather than as a handler in recentf-filename-handlers.
2017-08-21 21:58:53 +02:00
Henrik Lissner
1b8970786d
lang/sh: remove unused setup.sh 2017-08-21 21:55:34 +02:00
Henrik Lissner
8e0e4d67b1
Convert +ivy/switch-buffer to transformers + add mode icons #169 2017-08-21 21:54:12 +02:00
Henrik Lissner
11e55a5a4f
Add *.org file template 2017-08-21 21:52:48 +02:00
Henrik Lissner
7365bab2a3 Merge branch 'feature-doc-rewrite' into develop
* feature-doc-rewrite:
  Add file template for doom module READMEs
  Add READMEs for several modules
  Standardize module READMEs
  Simplify modules/private/README.org (replaced by wiki)
  Remove modules/README.org (replaced by wiki)
  Add feature/workspaces/README.org
  Revise modules/private/README.org
  Rewrite README
2017-08-21 21:52:16 +02:00
Henrik Lissner
ce723d63cc
Add file template for doom module READMEs 2017-08-21 21:51:29 +02:00
Henrik Lissner
4ff80cf416
Add READMEs for several modules 2017-08-21 21:51:29 +02:00
Henrik Lissner
cbabf6849c
Standardize module READMEs 2017-08-21 20:13:31 +02:00
Henrik Lissner
b7d0f4dc3f
Simplify modules/private/README.org (replaced by wiki) 2017-08-21 20:13:30 +02:00
Henrik Lissner
0b2e3e8c81
Remove modules/README.org (replaced by wiki) 2017-08-21 20:13:30 +02:00
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