Commit Graph

11647 Commits

Author SHA1 Message Date
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
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
960d756b47 General, minor refactors 2019-12-30 18:23:56 -05:00
3271cd3a54 Remove unused ui/tabs/autoload.el 2019-12-30 18:08:11 -05:00
10f29bffde Add chemacs support to doom/restart-and-restore 2019-12-30 18:07:37 -05:00
a4653f475b Print filename instead of absolute paths for purged ELPA packages 2019-12-30 17:28:31 -05:00
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
0b1ab39a00 Refactor doom-cli--generate-autoloads 2019-12-30 17:06:49 -05:00
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
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
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
9698235aff Pre-emptively update license 2019-12-30 07:10:30 -05:00
908bd4b945 Remove FORCE-P argument for doom-cli-reload-autoloads
We weren't using them anyway.
2019-12-30 06:44:16 -05:00
bb425a2e65 Add .dap-breakpoints & .extension/ to gitignore #2273 2019-12-30 05:31:55 -05:00
bfce00d0b4 Don't use so-long if it's been disabled 2019-12-30 05:27:25 -05:00
eba070d8ba Move dap-breakpoints-file to doom etc dir #2273 2019-12-30 05:26:57 -05:00
0ec1355f13 docs/core: typo in featurep! docs
`s/moduel/module`
2019-12-30 09:35:53 +01:00
8c0561df93 Fix ui/tabs module
Remove all my custom hacks because none of them work anymore.
2019-12-30 00:50:18 -05:00
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
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
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
db9bc763ef Remove redundant straight-fix-org setting
Already exists in core-packages.el
2019-12-29 19:24:55 -05:00
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
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
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
f05f4d2b59 Replace search docs button w/ open docs on dashboard
It is more helpful to newcomers.
2019-12-29 16:34:21 -05:00
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
54f42fef23 Add popup rules for image-dired 2019-12-29 15:44:10 -05:00
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
678a5d1f7c Improve prompts for various help commands
To make it clearer what you're searching for.
2019-12-28 19:57:37 -05:00
b38501a67b Refactor load-path & loaded-files search commands
Follow up to 0df480bf8
2019-12-28 19:55:44 -05:00
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
47be32d422 Fail gracefully if no session file is present 2019-12-28 15:46:29 -05:00
8d3954257e Refactor 'doom purge' & fix elpa purging
Wasn't picking up ELPA packages.
2019-12-28 14:02:07 -05:00
6396cbf6cd Refactor 'doom build' 2019-12-28 14:01:36 -05:00
da09a3eb8c Mention commit pinning in docs with package! 2019-12-28 14:00:08 -05:00
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
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
66b005aa18 ui/doom-dashboard: expand README #1166 2019-12-27 14:46:10 -05:00
9bc3d05cb5 docs/getting_started: add macports install docs 2019-12-27 14:14:31 -05:00
566d54d984 Disable continue-comments-on-RET in ess-r-mode & coq-mode
Fixes #2081, #2233
2019-12-27 13:32:24 -05:00
e5fa19ea2d lang/emacs-lisp: fix wrong-num-args error on doc lookup 2019-12-27 04:44:20 -05:00
75c25fa182 ui/hydra: fix +hydra/text-zoom
Issue brought to light by #2057
2019-12-27 03:35:32 -05:00
e9b85997a9 tools/ein: disable hydra hints #2057 2019-12-27 03:33:12 -05:00
2f540f8c45 Remove vestigial references to doom--finalize-straight 2019-12-27 03:30:03 -05:00
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
e5602c1802 Move async.el out of baseline packages
It isn't needed anywhere atm. Perhaps we don't need it in core at all?
2019-12-27 01:52:45 -05:00
6920ae80f0 Fix wrong-type-argument sequencep when loading ein's hydra #2057 2019-12-27 01:45:15 -05:00
0ff68e5a7f Don't handle straight transactions anymore
Since raxod502/straight.el@e45f726, straight handles its transactions in
non-interactive sessions.
2019-12-27 01:44:41 -05:00
a02cfdc365 No-op package--ensure-init-file completely
Rather than setting package--init-file-ensured to nil. It's less work
for Emacs at startup and is functionally equivalent.
2019-12-27 01:44:40 -05:00