Commit graph

12654 commits

Author SHA1 Message Date
Henrik Lissner
a5fc782e76
cli/upgrade: fix wrong-type-arg string force file error #2277
Due to a vestigial call to the old doom-cli-reload-package-autoloads
2019-12-31 03:38:47 -05:00
Henrik Lissner
9012635d3f
Remove default doom-variable-pitch-font in config.el template
"sans" may not be available.
2019-12-31 02:27:31 -05:00
Henrik Lissner
d7d873e11b
Fix counsel-projectile-find-file from occur buffers #2268
counsel-projectile-find-file-action would open the candidate from wrong
buffer.

This is an experimental fix.
2019-12-31 00:04:07 -05:00
Henrik Lissner
fb261a9c65
Fix extra ivy actions for counsel-{rg,find-file} 2019-12-31 00:02:00 -05:00
Henrik Lissner
a947f64ff2
Replace ace-link with link-hint
Better link support, easier to extend, and maintained more actively.
2019-12-31 00:00:10 -05:00
Henrik Lissner
7c968a8b11
Fix #2278: autoload gen skipping disabled autodefs
If a ;;;###if module cookie returned nil for a file, it should still
allow autodefs to be scraped from it, which wasn't happening before this
fix.

An autodef's guarantee is that it will always be defined, whether or not
the containing module is enabled.
2019-12-30 23:19:56 -05:00
Henrik Lissner
960d756b47
General, minor refactors 2019-12-30 18:23:56 -05:00
Henrik Lissner
3271cd3a54
Remove unused ui/tabs/autoload.el 2019-12-30 18:08:11 -05:00
Henrik Lissner
10f29bffde
Add chemacs support to doom/restart-and-restore 2019-12-30 18:07:37 -05:00
Henrik Lissner
a4653f475b
Print filename instead of absolute paths for purged ELPA packages 2019-12-30 17:28:31 -05:00
Henrik Lissner
f8ed1894e7
Strip text properties from recentf entries
Causing tremendous bloat in recentf lists included with TRAMP paths.
2019-12-30 17:07:39 -05:00
Henrik Lissner
0b1ab39a00
Refactor doom-cli--generate-autoloads 2019-12-30 17:06:49 -05:00
Brett Lyons
20a9beadf8
updated commands to flyspell-correct
version bump on flyspell-correct to 0.6.1. brings deletion of old aliases.
2019-12-30 15:06:44 -07:00
Brett Lyons
7a2f4bddea
flyspell-correct-word-generic -> flyspell-correct-at-point
New release of flyspell-correct yesterday, removed the word-generic aliases.
(Also in tools/flyspell/config.el)
2019-12-30 15:00:33 -07:00
Henrik Lissner
497a6a206e
Fix 'wrong-number-of-arguments autoload 9' error in autoloads
This error was caused by over-aggressive replacement of load-file-name
in autoloads files.

Instances of "load-file-name" would be replaced with a quoted file-path,
even in strings and comments, which would break surrounding strings and
docstrings.

Mentioned in hlissner/doom-emacs@f8ff505
2019-12-30 15:52:38 -05:00
Henrik Lissner
9698235aff
Pre-emptively update license 2019-12-30 07:10:30 -05:00
Henrik Lissner
908bd4b945
Remove FORCE-P argument for doom-cli-reload-autoloads
We weren't using them anyway.
2019-12-30 06:44:16 -05:00
Henrik Lissner
bb425a2e65
Add .dap-breakpoints & .extension/ to gitignore #2273 2019-12-30 05:31:55 -05:00
Henrik Lissner
bfce00d0b4
Don't use so-long if it's been disabled 2019-12-30 05:27:25 -05:00
Henrik Lissner
eba070d8ba
Move dap-breakpoints-file to doom etc dir #2273 2019-12-30 05:26:57 -05:00
Clément Busschaert
0ec1355f13
docs/core: typo in featurep! docs
`s/moduel/module`
2019-12-30 09:35:53 +01:00
Henrik Lissner
8c0561df93
Fix ui/tabs module
Remove all my custom hacks because none of them work anymore.
2019-12-30 00:50:18 -05:00
Henrik Lissner
b9f90b3a1a
lang/org: clear src block results on TAB
When cursor is inside a src block. e.g.

  #+BEGIN_SRC elisp  <-- not here
  (message "hi")     <-- in here
  #+END_SRC          <-- not here
2019-12-30 00:07:19 -05:00
Henrik Lissner
f8ff50565e
Refactor autoload generator
- Halves LOC
- Adopts functional paradigm where possible.
- Reduces the filesize of autoloads files by ~10-20%
- Speeds up autoloads generation by ~20%
2019-12-29 22:20:48 -05:00
Henrik Lissner
4808d40736
Convert def-modeline! macro into function
Eager-expansion was causing void-function errors for set-modeline!
2019-12-29 21:23:39 -05:00
Henrik Lissner
db9bc763ef
Remove redundant straight-fix-org setting
Already exists in core-packages.el
2019-12-29 19:24:55 -05:00
Henrik Lissner
c57aff9b81
Change how +lookup/online populates initial input
If no selection is active, there is no initial input.
If selection is active, use the selection.

Also remove helm-google package, as the helm functionality is provided
by the core helm package already (and actually works).
2019-12-29 19:24:45 -05:00
Henrik Lissner
b63ce98731
Add benchmark hook & restore switch earlier
If the user wants to remove them for some reason.
2019-12-29 18:47:12 -05:00
Henrik Lissner
0ac7facea7
Reorganize & rethink help commands
Changes:
- Move <help>da to <help>u & <help>du = lookup docs for an autodef
- Rebind <help>dC = goto private init file (and jump to doom! block)
- Add <help>u & <help>du = lookup docs on an autodef
- Add <help>dl = text search on all packages in load-path
- Add <help>dL = text search on all load el files

New <help>p prefix for package help commands:
- <help>dpc = jump to a config block for a package
- <help>dpd = goto private packages.el file
- <help>dph = open a package's homepage (its repo or on melpa)
- <help>dpp = lookup docs on a package (including Doom info; what
    module(s) install package, where it is configured, etc)
2019-12-29 18:29:09 -05:00
Henrik Lissner
f05f4d2b59
Replace search docs button w/ open docs on dashboard
It is more helpful to newcomers.
2019-12-29 16:34:21 -05:00
Henrik Lissner
14cf97e594
lang/org: use org-attach instead of custom system
- Adds more keys under `<localleader> a`
- Reconfigures org-download to use org-attach system
- Make org-id-track-globally = t a global default now (not just for
  org-brain)
- Renamed +org-init-centralized-attachments-h to +org-init-attachments-h
- org-attach-store-link-p = t (stores a link to an attachment when it is
  attached)
- org-attach-use-inheritance = t (inherit attachment properties from
  parent nodes)
2019-12-29 16:31:25 -05:00
Henrik Lissner
54f42fef23
Add popup rules for image-dired 2019-12-29 15:44:10 -05:00
Henrik Lissner
6f31d774b9
Show the pdf compilation window while its building
Even if its output isn't entirely visible (because it redraws once a
second), this is better feedback that something is going on.
2019-12-28 21:28:07 -05:00
Henrik Lissner
678a5d1f7c
Improve prompts for various help commands
To make it clearer what you're searching for.
2019-12-28 19:57:37 -05:00
Henrik Lissner
b38501a67b
Refactor load-path & loaded-files search commands
Follow up to 0df480bf8
2019-12-28 19:55:44 -05:00
Henrik Lissner
2fb76b3ba0
Use [escape] instead of ESC to abort company
Because rebinding ESC breaks some meta keybinds for tty users.
2019-12-28 17:39:00 -05:00
Henrik Lissner
47be32d422
Fail gracefully if no session file is present 2019-12-28 15:46:29 -05:00
Henrik Lissner
8d3954257e
Refactor 'doom purge' & fix elpa purging
Wasn't picking up ELPA packages.
2019-12-28 14:02:07 -05:00
Henrik Lissner
6396cbf6cd
Refactor 'doom build' 2019-12-28 14:01:36 -05:00
Henrik Lissner
da09a3eb8c
Mention commit pinning in docs with package! 2019-12-28 14:00:08 -05:00
Henrik Lissner
7ef3bee851
Consider eval output width when deciding how to display it
If ':tools (eval +overlay)' is enabled, eval commands display their
output in a floating overlay at EOL. If the output is longer than
+eval-popup-min-lines (5), it will display it in a popup window instead.

With this, it also will use a popup window if the output is longer than
the minibuffer can display in one line,
2019-12-28 13:53:13 -05:00
Henrik Lissner
dafa4deef4
lang/python: autoload lsp-python-ms setup/update commands
And set lsp-python-ms-python-executable-cmd a little sooner, to make it
easier for folks to change.
2019-12-28 13:52:15 -05:00
Henrik Lissner
66b005aa18
ui/doom-dashboard: expand README #1166 2019-12-27 14:46:10 -05:00
Henrik Lissner
9bc3d05cb5
docs/getting_started: add macports install docs 2019-12-27 14:14:31 -05:00
Henrik Lissner
566d54d984
Disable continue-comments-on-RET in ess-r-mode & coq-mode
Fixes #2081, #2233
2019-12-27 13:32:24 -05:00
Henrik Lissner
e5fa19ea2d
lang/emacs-lisp: fix wrong-num-args error on doc lookup 2019-12-27 04:44:20 -05:00
Henrik Lissner
75c25fa182
ui/hydra: fix +hydra/text-zoom
Issue brought to light by #2057
2019-12-27 03:35:32 -05:00
Henrik Lissner
e9b85997a9
tools/ein: disable hydra hints #2057 2019-12-27 03:33:12 -05:00
Henrik Lissner
2f540f8c45
Remove vestigial references to doom--finalize-straight 2019-12-27 03:30:03 -05:00
Henrik Lissner
dcb0b6042e
Ensure evil-easymotion is lazy-loaded
The evilem-create calls were pulling it in early, at startup.
2019-12-27 01:54:01 -05:00