Commit Graph

5090 Commits

Author SHA1 Message Date
Henrik Lissner
79f2f42b95 Persist Emacs registers across sessions
Has the side effect of persisting evil macros between
sessions (equivalent to vim's "set viminfo")
2021-02-21 14:44:59 -05:00
Henrik Lissner
47925933df Fix "Can't set ASCII font to nil" error in daemon
Caused because the :ui unicode module sets doom-unicode-font to nil,
then doom-init-extra-fonts-h tries to use it.
2021-02-17 14:20:37 -05:00
Henrik Lissner
60f74c7696 Resolve symlinks in module paths 2021-02-17 13:47:43 -05:00
Henrik Lissner
987da645c2 core/cli: show run duration in human-readable format
e.g. "Finished in 2h27m11s"

I pray for your soul if you ever see "h".
2021-02-13 09:47:13 -05:00
Henrik Lissner
0ff85015f8 s/defadvice!/advice-add in comp config block
Part 2 of 811099282.

The latest build of native-comp appears to eagerly load comp very early,
so defadvice! won't be defined when this block runs, causing this error.
2021-02-11 23:33:28 -05:00
Henrik Lissner
0df791469d Resolve symlinks in autoloads files
For marginally faster package load times.
2021-02-11 23:00:49 -05:00
Henrik Lissner
5d0f781062 Add doom-autoloads-excluded-files variable
So specific/problematic files can be omitted from autoloads.
2021-02-11 23:00:11 -05:00
Henrik Lissner
dc89eb239c Remove load-path & Info-directory-list duplicates
Potentially slowing down load times due to unresolved symlinks.
2021-02-11 22:48:58 -05:00
Henrik Lissner
7e9911f642 Bump :core
domtronn/all-the-icons.el@5fa7283 -> domtronn/all-the-icons.el@2f5ea72
jscheid/dtrt-indent@854b9a1 -> jscheid/dtrt-indent@4a30d8e
jwiegley/use-package@317137b -> jwiegley/use-package@a7422fb
raxod502/straight.el@f2cb888 -> raxod502/straight.el@0f9b828

Remove dtrt-indent+smie fix (was fixed upstream)
2021-02-11 17:35:48 -05:00
Henrik Lissner
76636d4a98 Refactor cmds!!
+ No longer depends on general.el
+ Each branch is now anaphoric (binds `it` to the return value of the
  predicate)
2021-02-11 17:35:48 -05:00
Henrik Lissner
1a7536cbd1 Extend & compact doom/info
+ Output is now a couple lines shorter
+ Now tries to guess Linux distro names and versions
+ Displays symlinked EMACSDIR and DOOMDIR
+ Replaces elc-files segment with 'byte-compiled-config trait
2021-02-11 17:35:48 -05:00
Henrik Lissner
510bc7b5b4 Revert "Don't auto-create directory when opening files"
This reverts commit 4d7640b4c2.
2021-02-11 17:35:48 -05:00
Henrik Lissner
8110992829 s/doom-partial/apply-partially
comp is loaded earlier on some builds of native-comp, for some reason?
2021-02-11 13:36:55 -05:00
Henrik Lissner
16a495c97d Fix #4548: global TAB overwritten by evil keybind 2021-02-06 06:54:18 -05:00
Henrik Lissner
9446a8f411 Move byte-compile fix to core-packages
So it targets more than just 28.x+ users.
2021-02-06 04:49:28 -05:00
Henrik Lissner
de1f2a8f96 Add doom-plist-{keys,values} functions
Backported from the CLI rewrite.
2021-02-05 22:50:18 -05:00
Henrik Lissner
628f0a930f Force straight to byte-compile packages in same session
Straight (on its develop branch) byte compiles packages in a child
process, isolated from the current session. This is a sensible approach
and I applaud it, but there's a problem:

Some packages don't load their compile-time dependencies at
compile-time, causing errors *at* compile-time. They unwittingly rely on
the fact that package.el compiles them in the same session as their
dependencies, which indirectly loads their macros for them. I can't
depend on package authors to do the right thing, but I can force
straight to revert to the old approach.
2021-02-05 22:48:31 -05:00
Henrik Lissner
c3c001ad7d Bump core
domtronn/all-the-icons.el@c795d0f -> domtronn/all-the-icons.el@5fa7283
hlissner/emacs-so-long@ed666b0 -> emacs-straight/so-long@a5d445d
jwiegley/use-package@365c73d -> jwiegley/use-package@317137b
raxod502/straight.el@ac4df5c -> raxod502/straight.el@f2cb888

+ Complain if :no-byte-compile, :no-native-compile, or :no-build are
  used in package!. Straight replaced them with :build (and the old
  :build was renamed to :pre-build). See raxod502/straight.el@6a273d1
+ Update getting_started.org to mention :build
+ Switch to emacs-straight/so-long so I don't have to maintain my mirror
  anymore.
2021-02-04 07:32:26 -05:00
Janfel
8331f4f896 Fix interactive spec of doom/retab 2021-02-02 02:41:45 +01:00
Yuri Pieters
bf185edd91 Prefer readability over a line length < 80 2021-02-01 19:01:42 +00:00
Henrik Lissner
3a7be7bb4f Fix #4602, part 2! 2021-02-01 02:45:45 -05:00
Henrik Lissner
a61758523d Fix #4602: void-variable straight--build-default-steps 2021-02-01 02:31:22 -05:00
Yuri Pieters
b983929e82 Refactor doom/help-packages 2021-02-01 02:23:37 +00:00
Henrik Lissner
b78206d002 Bump :core
raxod502/straight.el@47dd03d -> raxod502/straight.el@ac4df5c
domtronn/all-the-icons.el@050d4c5 -> domtronn/all-the-icons.el@c795d0f
bbatsov/projectile@0e2620a -> bbatsov/projectile@793abfe
justbur/emacs-which-key@428aedf -> justbur/emacs-which-key@c0608e8

Fixes regression caused by 75549f5743
2021-01-31 20:41:17 -05:00
Henrik Lissner
7fcf2c2025 doom {build,purge}: reduce unnecessarily loud output
These lines don't add anything, and shouldn't be highlighted as
"success" messages.
2021-01-31 20:41:17 -05:00
Yuri Pieters
5293c460db Refactor doom--help-insert-button
Changes:
- Fixes a bug where opening a file which a buffer was already visiting
didn't raise the buffer.
- The function had unused functionality where it would split a string on
'::' and then search for the text after the first '::' in the buffer;
this has been removed.
- The searching functionality has been replaced with the option to pass
a line number, which the opened buffer will jump to. This is now used by
the part of doom/help-packages that shows the places a package is configured.
- It now fails earlier. If there's an invalid file, it fails at call
time rather than when the button is pressed.
- Add a docstring
2021-01-31 19:11:31 +00:00
MithicSpirit
d3112b5dfc Doom Doctor: Fix insteadOf check
Always triggers when it's correct and never triggers when it's
incorrect.
2021-01-31 13:14:19 -05:00
Henrik Lissner
026d961985 doom doctor: fix insteadOf check #2679
I got the source and destination urls mixed up.
2021-01-31 04:34:46 -05:00
Henrik Lissner
05aa13ea19 doom purge: make repo regrafting opt-out
Was originally opt-in.
2021-01-31 04:30:48 -05:00
Henrik Lissner
07f134b10e doom purge: delete old ELN directories 2021-01-31 04:30:48 -05:00
Henrik Lissner
f5a9dc11ee Update deprecated notices on back (+forward) ports 2021-01-31 04:30:48 -05:00
Henrik Lissner
b91f1607d8 Fix #4532: wrong-number-of-args errors on emacs HEAD
This is a temporary fix. These should be removed once packages have
updated to accommodate the changes to the
define-obsolete-{variable,function,face}-alias macros.
2021-01-31 04:30:48 -05:00
Henrik Lissner
1650e25794 doom doctor: warn about insertOf rules in gitconfig
Closes #2679
2021-01-31 04:30:48 -05:00
Henrik Lissner
75549f5743 Fix doom build skipping some packages 2021-01-31 04:30:48 -05:00
Janfel
faefc9991c Fix :unless in (doom!) 2021-01-29 23:07:03 +01:00
Henrik Lissner
56e9d273e1 Simplify doom/window-enlargen & doom/window-maximize-buffer
+ No longer toggle window conf on consecutive presses. It's redundant
  with winner-undo and only adds a degree of uncertainty to the command.
+ `doom/window-maximize-buffer` now works with popup windows (before
  it'd spout an unhelp error about running +popup/raise).
2021-01-28 21:23:07 -05:00
Yuri Pieters
a5f39d75a5 Fix 'readme' button doom/help-packages
The button was trying to open `path/to/README.org/README.org`.
2021-01-28 21:09:36 +00:00
Henrik Lissner
2d718cc86f Remove eager native compilation of subr-trampolines
This was fixed upstream.
2021-01-27 03:37:55 -05:00
Henrik Lissner
3a4f182a3c Revise core docstrings & comments 2021-01-27 03:36:53 -05:00
Henrik Lissner
4d7640b4c2 Don't auto-create directory when opening files
It'll ask when you want to save, so this is redundant and imposing.
2021-01-27 03:30:19 -05:00
Henrik Lissner
47f222a61f Fix #4558: void-variable comp-native-version-dir
Occurs for non-gccemacs users due to aggressive negation if (car build)
== :not
2021-01-27 03:00:41 -05:00
Henrik Lissner
614dc93569 mouse-wheel-scroll-amount-horizontal = 2
Make hscrolling a little faster. Our windows and displays are large.
Scrolling one character at a time is too slow.
2021-01-27 02:50:39 -05:00
Henrik Lissner
454c4132d4 Slower mouse-wheel and re-enable acceleration
This improves the illusion of faster scrolling.
2021-01-27 02:50:36 -05:00
Henrik Lissner
6d2b9ff100 Enable hl-line-mode in org-agenda-mode
Closes #4567
2021-01-27 02:50:19 -05:00
Henrik Lissner
20e74206a8 Merge pull request #4531 from jbampton/fix-spelling
Fix spelling
2021-01-27 02:36:44 -05:00
Henrik Lissner
7108aa8107 Merge pull request #4575 from yangsheng6810/develop
Fix typo
2021-01-27 02:34:16 -05:00
Henrik Lissner
c6944885b1 Merge pull request #4550 from chuxubank/fix-msys2-path
Fix path separator in msys2
2021-01-27 02:34:02 -05:00
Sheng Yang
181379c006 Fix typo 2021-01-27 01:08:47 -06:00
Henrik Lissner
2c4b5b2f93 Fix type error when printing straight errors 2021-01-26 22:38:53 -05:00
Henrik Lissner
c29bbbc171 Fix doom-package-depending-on 2021-01-26 22:38:53 -05:00