Commit graph

4087 commits

Author SHA1 Message Date
Henrik Lissner
2f7f8f0868
+ivy/tasks: emit better error if project has no tasks 2018-07-29 19:31:32 +02:00
Henrik Lissner
35e5a47e9f
Rewrote indentation detection
More robust and easier to customize.
2018-07-29 19:31:32 +02:00
Henrik Lissner
088480047c
Polish & move new modeline into :ui modeline
Removes modeline library out of core-ui and contains them in :ui
doom-modeline and :ui modeline.

:ui modeline will eventually replace :ui doom-modeline, but is still
considered experimental. This update provides makes it much more stable
and closer to being feature complete.
2018-07-29 19:31:32 +02:00
Henrik Lissner
db8ed4aac6
lang/php: add +hack support 2018-07-29 17:42:00 +02:00
Henrik Lissner
143fdd17e1
Use insert mode only if git commit is empty 2018-07-29 17:42:00 +02:00
Henrik Lissner
d094162d31
Refactor how git-timemachine loads magit-blame
Loading magit-blame immediately after git-timemachine is premature, only
one command uses magit-blame (git-timemachine-blame), so we defer it
until that command is called (also, it makes more sense to be in the
emacs/vc module, than tools/magit).
2018-07-29 17:42:00 +02:00
Henrik Lissner
c87c2bd5a6
Remove redundant magit-completing-read-function 2018-07-29 17:41:59 +02:00
Henrik Lissner
e3dc3a6376
Shut up magit-todos-mode complaining about jT
I unbound it, stop complaining about it!
2018-07-29 17:41:59 +02:00
Henrik Lissner
a2ffbe4ede
Add new emacs/hideshow module
Brings better default code folding support to various languages, like
yaml, ruby, matlab, haml and vimrc. Hideshow is still quite
unsophisticated and will need the help of another package for complete
code folding functionality. Perhaps origami or vimish fold.

The code-folding functional in the feature/evil module will soon be
replaced by that.
2018-07-29 17:41:59 +02:00
Henrik Lissner
2e25989dc5
undo-tree-enable-undo-in-region = nil
Try to save off the elusive and annoying "unrecognized entry in undo
list undo-tree-canary" error produced by undo-tree.
2018-07-29 17:41:59 +02:00
Henrik Lissner
f0f2c92b8d
lang/php: prioritize phpctags in PATH
And fail more gracefully if phpctags isn't installed
2018-07-29 17:41:59 +02:00
Henrik Lissner
5aef36951d
Goto file keybind in helm-ag-edit buffers 2018-07-29 17:41:59 +02:00
Henrik Lissner
46c49cf55a
app/twitter: fix missing epa--decode-coding-string
In latest Emacs 27, this alias is missing.
2018-07-29 17:41:58 +02:00
Henrik Lissner
22a2d1de60
app/twitter: add support for +new modeline 2018-07-29 17:41:58 +02:00
Henrik Lissner
df233eb1a9
lang/pdf: fix compatibility with +new modeline 2018-07-29 17:41:58 +02:00
Henrik Lissner
9abafcf74a
Rename def-modeline! -> def-modeline-format!
As to differentiate it from the old def-modeline! macro. This only
affects users of the +new modeline.
2018-07-29 17:41:55 +02:00
Henrik Lissner
6bcc01f591
Merge pull request #754 from patrl/latexRefactor
DONE: large refactor of latex
2018-07-29 17:39:46 +02:00
Henrik Lissner
2a3c2ce7f7
Merge pull request #772 from mdssjc/racket-lang
Add Racket lang
2018-07-29 17:38:37 +02:00
Henrik Lissner
960bde480d
Install ob-racket conditionally
I'll move this to lang/org/packages.el later (not easy to do from the github text editor).
2018-07-29 17:29:27 +02:00
Henrik Lissner
238e37a171
lang/racket: refactor and cleanup
+ Removed highlight-quoted block because `highlight-quoted-mode` is already autoloaded by the package
+ Removed org-babel-do-load-languages because lang/org/+babel already has a built-in autoloader for ob-* packages.
+ Removed flycheck-mode from racket-mode hook because it is enabled globally in :feature syntax-checker
+ Removed highlight-numbers-mode from racket-mode-hook because it is enabled on prog-mode-hook in core-ui (as of #770)
+ Fix racket popup rule regexp
+ Remove popup rules that were redundant with the defaults
+ Remove racket-mode-specific company-frontends value, looks like personal preference, otherwise should be set in a separate hook function that is easily recognized and disabled, if the user desires.
+ Remove :interpreter and :mode properties because they are already registered by the racket-mode package.
+ Move racket-unicode-input-method-enable into :hook property (to defer the config)
2018-07-29 17:22:01 +02:00
Marcelo dos Santos
d8cd4bdf03 Add Racket lang 2018-07-29 10:50:17 -03:00
Aria
90d09e6f93 Highlight-numbers on every prog-mode 2018-07-29 12:19:56 +10:00
Henrik Lissner
f58f3c3604
ui/nav-flash: refactor
+ Add +nav-flash-exclude-commands to control where
  +nav-flash-blink-cursor-maybe should not trigger nav-flash.
+ Rename API to conform to Doom naming conventions
  + +nav-flash-blink-cursor
  + +nav-flash-blink-cursor-maybe
  + +nav-flash|delayed-blink-cursor
  + +nav-flash|blink-cursor
  + +nav-flash|blink-cursor-maybe
  + +nav-flash*blink-cursor
2018-07-24 20:04:03 +02:00
Henrik Lissner
ebd3b0223e
Fix followed org links not recentering correctly
Links like `file:test.cpp::45` would open file.cpp, but end up somewhere
else than line 45. Same with links like `file:test.cpp::int main()`.
2018-07-24 20:01:42 +02:00
Henrik Lissner
277915b28c
Fix order of +(helm|ivy)-project-search-engines 2018-07-24 14:18:44 +02:00
Henrik Lissner
a8d41a93c0
Fix helm project search commands
Used ivy variable in helm commands, causing a void-variable error.

Reported by @ar1a
2018-07-24 14:07:13 +02:00
Patrick Elliott
189ff349cc Merge branch 'latexRefactor' of https://github.com/patrl/doom-emacs into latexRefactor 2018-07-23 15:48:23 +02:00
Patrick Elliott
9a23492888 Removed unicode-math setup 2018-07-23 15:47:40 +02:00
Henrik Lissner
e865526c75
Add +(helm|ivy)-project-search-engines variables
This allows you to control what search engines for project-search
commands (bound to SPC / p) to try, and in what order. If you didn't
want to use ripgrep, for instance, remove 'rg from these variables, or
move it to the end of the list.
2018-07-23 00:06:47 +02:00
Henrik Lissner
6b06cd32ac
Add :autosave t :ttl nil to Org src popups
Suggested by @fuxialexander
2018-07-22 17:38:24 +02:00
Henrik Lissner
399194e868
Autoload +popup--init
Fixes #766
2018-07-21 14:00:02 +02:00
Henrik Lissner
ec49220740
emacs/dired: add-hook -> :hook 2018-07-21 01:29:38 +02:00
Henrik Lissner
28e21352ec
Have popup manager handle treemacs windows
Other windows would be resized slightly incorrectly because treemacs
opens as a fixed split, rather than a side window. This change forces it
to be a side window, which resolves the problem _and_ restores the
functionality of balance-windows, which is disabled when a fixed split
is present.
2018-07-21 01:20:59 +02:00
Henrik Lissner
7f284e98b6
Fix helm-M-x help popup not properly closing
On successive TAB presses on a command
2018-07-21 01:20:05 +02:00
Henrik Lissner
41cf970c75
Autosave org capture popups
Prevents unsaved confirmation prompts when the org-capture popup is
closed.
2018-07-21 01:00:11 +02:00
Patrick Elliott
faf59ff2a9 undo header scaling 2018-07-20 14:23:17 +02:00
Patrick Elliott
8b00a208cf typo 2018-07-20 13:56:04 +02:00
Patrick Elliott
ccd6ceab86 fix typo 2018-07-20 13:54:23 +02:00
Patrick Elliott
75278663cc header scaling 2018-07-20 13:48:02 +02:00
Patrick Elliott
e5afab1e17 math highlighting and org-mode compat 2018-07-20 12:29:44 +02:00
Henrik Lissner
ce9f7f9bde
lang/haskell: minor reformatting & refactor
Conform to conventions, use `add-hook!` for multiple hooks, use single semi-colon for eol comments, remove comments redundant with code, and use sharp-quote to indicate function symbol.
2018-07-19 19:03:05 +02:00
Patrick Elliott
82fee01611 fix typo 2018-07-19 17:13:56 +02:00
Patrick Elliott
4980c66e15 Disable overlays conditionally if flycheck is loaded 2018-07-19 17:09:19 +02:00
Patrick Elliott
b0af6bcbef Add some useful haskell-mode options 2018-07-19 17:00:01 +02:00
Patrick Elliott
864e15f19d Add support for folding haskell code blocks 2018-07-19 16:37:22 +02:00
Patrick Elliott
3a5af1d591 Added subword mode hook. 2018-07-19 16:34:13 +02:00
Henrik Lissner
66679d2f7b
Remove (ivy|helm)-bibtex def-package's
ivy-bibtex and helm-bibtex are autoloaded by their respective packages' autoloads files, so their def-package! blocks are unnecessary.
2018-07-19 15:44:23 +02:00
Henrik Lissner
5d361534ce
Move set-company-backend! into reftex config
Since the company-reftex config doesn't do anything else, and set-company-backend! is an autodef function, it will no-op if :completion company isn't enabled.
2018-07-19 15:43:30 +02:00
Henrik Lissner
421b96ddc8
Merge pull request #763 from patrl/dhall
Add support for the dhall configuration language
2018-07-19 15:26:12 +02:00
Henrik Lissner
6b971e91b1
Remove dhall def-package block
dhall registers `\\.dhall\\'` in auto-mode-alist in its autoloads file, so this block is unnecessary.
2018-07-19 15:25:45 +02:00