Henrik Lissner
bcc01628a3
Remove anaconda-view-mode-map keybinds
...
It, with anaconda-view-mode, have been removed upstream.
2018-06-03 11:20:43 +02:00
Henrik Lissner
cb4b94cc12
Conditionally install anaconda-mode dependencies
2018-06-01 17:14:17 +02:00
Henrik Lissner
83db654058
Fix anaconda-mode loading late in python-mode #638
...
This would mean anaconda-mode's config wouldn't work until the second
opened python buffer (or invokation of python-mode).
2018-06-01 12:19:11 +02:00
Henrik Lissner
1f5dae9176
Merge evil-collection-anaconda into lang/python #628
...
This is the first step of removing evil-collection from Doom.
2018-05-31 13:59:21 +02:00
Henrik Lissner
c80baef05d
lang/python: minor refactor
...
company-anaconda is *not* being removed, it just autoloads itself, so we
don't need its def-package! block.
2018-05-31 11:31:32 +02:00
Henrik Lissner
568a6c7e2c
lang/python: remove defunct advice
2018-05-31 11:27:23 +02:00
Henrik Lissner
09cb4f6716
Major refactor & optimization of how modules load their packages
...
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.
In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.
Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.
This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
Henrik Lissner
80adb9c1f6
General refactor for consistency & idempotency
...
Also updated comments
2018-05-18 01:26:41 +02:00
Henrik Lissner
fd16719324
lang/{python,ruby}: add doctor.el
2018-05-15 21:49:51 +02:00
Henrik Lissner
7eb0dd6340
lang/python: remove redundant pip-requirements config
...
The auto-mode-alist entry is already set up by
pip-requirements-autoloads.
2018-05-15 21:49:47 +02:00
Henrik Lissner
e421720996
lang/python: fix non-interactive command on gf
2018-03-23 15:18:52 -04:00
Henrik Lissner
738f39d21a
Change how shell env is injected #449
...
Changes the behavior of the :env setting to fetch the shell variables
immediately on call.
2018-03-02 19:55:05 -05:00
Henrik Lissner
a9cbfc7f4e
New :env setting for pulling shell envvars into MacOS sessions
...
:env lets you specify what environment variables exec-path-from-shell
should pull in from your shell environment at startup. As such, these
need to be defined at startup. :env is useless post-init.
May address #433
2018-03-01 01:03:03 -05:00
Henrik Lissner
4dbca5b21f
lang/python: kill anaconda processes after killing last python buffer
2018-01-31 05:33:26 -05:00
Henrik Lissner
ac825754c6
lang/python: move :lookup setting to anaconda-mode block
2018-01-24 03:16:36 -05:00
Henrik Lissner
12ac162276
lang/python: set :company-backend sooner #369
...
company-anaconda was added to company-backends too late, causing
code completion not to work in first-time python buffers.
2018-01-24 03:15:49 -05:00
Henrik Lissner
91357a3e5d
💥 Replace core-popup with new feature/popup module
...
This is a breaking change! Update your :popup settings. Old ones will
throw errors!
Doom's new popup management system casts off its shackles (hur hur) and
replaces them with the monster that is `display-buffer-alist`, and
window parameters.
However, this is highly experimental! Expect edge cases. Particularly
with org-mode and magit (or anything that does its own window
management).
Relevant to #261 , #263 , #325
2018-01-06 02:17:43 -05:00
Henrik Lissner
42cee2e046
Update :jump => :lookup
2018-01-05 23:57:48 -05:00
Henrik Lissner
8ef3cf8ea7
lang/python: fix anaconda-mode-find-references typo
2018-01-04 16:16:44 -05:00
Henrik Lissner
76a4ae459d
Fix obsolete (when|if)-let messages in Emacs 26
2017-12-10 14:49:52 -05:00
Henrik Lissner
f8e8dbad8f
General minor refactor
2017-12-08 23:14:12 -05:00
Henrik Lissner
9d81bc5a8b
Major refactor: use-package-always-defer = nil & use :hook
...
Possibly breaking change: packages are no longer deferred by default.
Addresses #286
2017-12-08 23:14:11 -05:00
Henrik Lissner
738d85e84f
Let python/ruby modules handle version strings
...
Also, set RBENV_VERSION and PYENV_VERSION envvars.
2017-09-26 01:02:47 +02:00
Henrik Lissner
7409890e78
Refactor lang/python (use :jump instead of keybinds)
2017-08-08 14:24:48 +02:00
Henrik Lissner
c7254e7bdc
Major optimization refactor, across the board
...
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
window-setup hooks; a customization opportunity for users + ensures
custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
Henrik Lissner
be46654629
Add highlight-numbers-mode to python & elisp
2017-06-07 14:36:24 +02:00
Henrik Lissner
ce49f94bbe
Remove doom-bootstrap system (will be replaced)
2017-05-20 18:40:13 +02:00
Henrik Lissner
9dc9cc3840
lang/python: relegate +evil|simple-matchit hook to feature/evil
2017-05-15 20:26:32 +02:00
Henrik Lissner
0e63ad913d
lang/python: add ipython REPL support
2017-04-22 17:08:26 -04:00
Henrik Lissner
816b2a6206
lang/python: make evilmi-jump-items simpler in python
2017-04-21 15:55:34 -04:00
Henrik Lissner
5ae94b765c
PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES
2017-04-17 02:17:10 -04:00
Henrik Lissner
9a5ea0e795
lang/python: make : character electric
2017-04-09 15:02:31 -04:00
Henrik Lissner
72698ca9e8
Add :requires prop to def-bootstrap! & refactor+rewrite bootstrapping
2017-03-25 18:41:29 -04:00
Henrik Lissner
2a377b44f1
Use s.el instead of subr-x string funcs
2017-03-25 01:45:23 -04:00
Henrik Lissner
f5ce4d40b7
lang/python: fix pip bootstrap
2017-03-24 15:02:40 -04:00
Henrik Lissner
4cebeb092e
lang/python: add bootstrap
2017-03-20 04:22:50 -04:00
Henrik Lissner
f3a065868c
lang/python: gD = anaconda-mode-find-references
2017-03-19 22:52:33 -04:00
Henrik Lissner
db7cf68775
General tweaks
2017-03-19 22:50:57 -04:00
Henrik Lissner
3e63d2d23b
Reduce def-package magic; explicitly use :when property
2017-03-19 22:47:50 -04:00
Henrik Lissner
923d4585fa
Extract make clean/clean-cache into elisp; new doom-etc-dir for non-volatile temp files
2017-03-16 23:38:22 -04:00
Henrik Lissner
2e70c746ed
lang/python: add *anaconda-mode* popup rule
2017-03-04 20:51:54 -05:00
Henrik Lissner
aa23b3c5c1
smartparens: more conservative single-quote autopairing
2017-03-04 20:51:35 -05:00
Henrik Lissner
2dc1c616d1
lang/python: add +python/repl
2017-03-04 18:46:38 -05:00
Henrik Lissner
ca75c1cf49
lang{emacs-lisp,python,ruby}: improve repl integration
2017-03-04 18:31:18 -05:00
Henrik Lissner
c037c325a1
Refactor add-hook! and associate!; associate! only for minor modes now
2017-03-02 18:28:46 -05:00
Henrik Lissner
45122cdea5
Fix keybindings + make them more consistent
2017-02-28 12:11:18 -05:00
Henrik Lissner
a338b61cc6
lang/python: remove reference to keymap (no longer in anaconda-mode)
2017-02-27 20:53:20 -05:00
Henrik Lissner
3a502f9bfd
lang/python: be quiet about indent guessing
2017-02-27 20:52:50 -05:00
Henrik Lissner
8abf254a48
lang/python: replace :emr setting with localleader bindings
2017-02-27 20:52:34 -05:00
Henrik Lissner
33c88d4f82
Revert macros to ...! name convention (elisp doesn't like @...)
2017-02-23 00:06:12 -05:00