Commit Graph

3723 Commits

Author SHA1 Message Date
85af18a04d lang/emacs-lisp/+symbols: reformat & update
Removed some special forms (provide, require, and defalias)
2018-07-31 03:53:14 +02:00
9f074a1aa3 Add option to enable extra elisp fontification 2018-07-31 03:48:45 +02:00
70e0280db3 Don't byte-compile modeline format functions
Fixes unused lexical arg warnings when starting up.
2018-07-30 23:50:03 +02:00
59f869bf5e ui/modeline: update comments & benchmarks 2018-07-30 23:10:18 +02:00
45e1b371e6 Add after-load-alist to elisp variables 2018-07-30 23:04:27 +02:00
b846a40af4 Remove unused letvar, spec 2018-07-30 23:03:34 +02:00
a820bbd468 lang/common-lisp: fix sly version mismatch prompts
Caused by the perfect storm of Emacs, Doom and Sly decision choices,
this prevents the mismatched sly version prompts each time you start up
sly/lisp-mode.
2018-07-30 23:02:06 +02:00
1211c2c7f7 Fix incorrectly rendered icons in modeline #773
And possibly fix bytecomp warnings about unused lexical variables.
2018-07-30 23:00:35 +02:00
78d14b0439 Add after-delete-frame-functions to elisp variables 2018-07-30 13:19:15 +02:00
71e71b9b83 Revert fe3a73c1: remap newline instead of binding RET 2018-07-30 13:08:52 +02:00
b2b8d5d260 Fix company-backends circular-list error in latex 2018-07-30 13:05:02 +02:00
533cb13a02 Append default backends to buffer-local backends 2018-07-30 12:57:26 +02:00
e94f1f39f4 Enable evil-collection-(deadgrep|imenu-list) 2018-07-30 12:34:53 +02:00
cbc59f9333 Appease the byte-compiler 2018-07-30 12:10:11 +02:00
c935f3e4da lang/org: fix backtab not outdenting items/headers 2018-07-30 04:06:00 +02:00
824abaf2e6 lang/org: alphabetize babel plugins 2018-07-30 03:53:52 +02:00
16e9957c1a Don't install/track org from ELPA
Prevents duplicate installs of org.
2018-07-30 03:49:12 +02:00
fb233bd37d completion/helm: fix evil keybinds in helm
Evil-mode was disabled in the minibuffer due to odd behavior, causing
all helm's evilified keybinds to be inaccessible.
2018-07-30 03:43:43 +02:00
14f4e4384a lang/latex: general refactor 2018-07-30 03:43:43 +02:00
2e6c362df9 lang/latex: replace viewer flags with variable
The +zathura, +skim, +okular and +pdf-tools module flags have been
removed in favor of +latex-viewers, which takes a list of symbols. Its
order determines the priority. The first viewer found on your system is
used.

If none of these viewers are found, it will fall back to
latex-preview-pane.
2018-07-30 03:43:43 +02:00
c96c2aa7fb Add +latex-symbols-compand-backend delegate #754
If +latex-enable-unicode-math is non-nil, company-math-symbols-unicode
will be used instead of company-math-symbols-latex.
2018-07-30 03:43:42 +02:00
9f4b6869b6 lang/php: remove redundant :interpreter
Already defined in php-mode's autoloads.
2018-07-30 03:43:42 +02:00
22aeaec399 Refactor how company-backends are set and stored
Company backends are now built from an alist (+company-backend-alist),
which can be manipulated through set-company-backend!. Backends can now
be set to all children of a parent mode (text-mode, prog-mode, etc),
like so:

  (set-company-backend! :derived 'text-mode 'company-dabbrev)

or only for an exact major-mode:

  (set-company-backend! 'markdown-mode 'company-dabbrev-code)

Backends cascade. So combining the two examples above will cause
company-backends in a markdown-buffer (which is derived from text-mode)
to be (company-dabbrev-code company-dabbrev).
2018-07-30 03:43:42 +02:00
248e9a487f Stop php-extras altering global company-backends 2018-07-30 02:57:50 +02:00
fe3a73c118 Rebind RET rather than remapping newline
The remapping was global, preventing its use in insert mode anywhere.
Binding to RET is less destructive.
2018-07-30 02:57:50 +02:00
c24a3671b1 lang/racket: setq racket-smart-open-bracket-enable
Instead of doing so in a hook (which is harder to customize).

Addresses #772
2018-07-30 02:57:50 +02:00
55870458e6 Byte-compile mode-line segment :eval forms
Byte-compiled function calls are ~10% faster than evalling quoted forms.
2018-07-30 02:57:50 +02:00
1205db0f73 Decouple :modeline popup rule from modeline API
The :modeline property still takes:

  t => default modeline
  nil => no modeline (the default)

But now also accepts:

  function => uses its return value as the mode-line-format
  anything non-nil => used directly as the mode-line-format

This is to decouple the popup API from the modeline API. You can still
use them compositionally:

  (set-popup-rule "abc" :modeline (lambda () (set-modeline! :project)))
2018-07-30 02:57:50 +02:00
cb7e471c90 General reformatting & comment revision/cleanup 2018-07-29 19:31:33 +02:00
5f8f38f02a lang/emacs-lisp: highlight stdlib functions & vars
TODO: Make more customizable
2018-07-29 19:31:33 +02:00
a3942b5e0b Don't set lisp-mode's docset to Emacs Lisp
lisp-mode is for clisp.
2018-07-29 19:31:33 +02:00
253660095f lang/racket: minor reformatting 2018-07-29 19:31:33 +02:00
53b246ef8c Remove racket-mode eval handler
The quickrun package already defines it.
2018-07-29 19:31:33 +02:00
923093b263 Don't set buffer-read-only in +doom-dashboard-mode
This is already set by the parent mode, special-mode.
2018-07-29 19:31:33 +02:00
a4a0441ec9 Rewrite comments for forced deferral of elisp-mode
Made clearer and more succinct.
2018-07-29 19:31:32 +02:00
66056e7a5d Move ob-racket to lang/org & cleanup
+ Remove redundant ob-crystal block
+ Move ob-ipython into separate section
+ Move ob-racket from lang/racket
2018-07-29 19:31:32 +02:00
2f7f8f0868 +ivy/tasks: emit better error if project has no tasks 2018-07-29 19:31:32 +02:00
35e5a47e9f Rewrote indentation detection
More robust and easier to customize.
2018-07-29 19:31:32 +02:00
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
db8ed4aac6 lang/php: add +hack support 2018-07-29 17:42:00 +02:00
143fdd17e1 Use insert mode only if git commit is empty 2018-07-29 17:42:00 +02:00
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
c87c2bd5a6 Remove redundant magit-completing-read-function 2018-07-29 17:41:59 +02:00
e3dc3a6376 Shut up magit-todos-mode complaining about jT
I unbound it, stop complaining about it!
2018-07-29 17:41:59 +02:00
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
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
f0f2c92b8d lang/php: prioritize phpctags in PATH
And fail more gracefully if phpctags isn't installed
2018-07-29 17:41:59 +02:00
5aef36951d Goto file keybind in helm-ag-edit buffers 2018-07-29 17:41:59 +02:00
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
22a2d1de60 app/twitter: add support for +new modeline 2018-07-29 17:41:58 +02:00