Henrik Lissner
5b3f52f5fb
Fix missing doom.error.log and silent straight errors
2021-03-22 21:11:22 -04:00
Henrik Lissner
a2ccae917e
doom compile: add warning
2021-03-21 00:42:49 -04:00
Henrik Lissner
763d0b670c
Change envvar file format
...
Storing it as a sexp eliminates the need to parse it.
Fixes #4802
2021-03-21 00:42:49 -04:00
Henrik Lissner
ea105b874e
Toggle async-debug on doom-debug-mode
2021-03-12 22:58:15 -05:00
Henrik Lissner
2e1c10a6a4
Move sandbox code into own library
2021-03-12 22:58:15 -05:00
Henrik Lissner
e9c4c7471c
Reorganize CLI libraries
2021-03-12 17:55:41 -05:00
Henrik Lissner
fc75573962
Include straight error in doom.error.log
2021-03-12 17:06:10 -05:00
Henrik Lissner
d667a2a292
Fix expiration of doom-store entries
2021-03-11 17:55:29 -05:00
Henrik Lissner
ce22f75a57
Fix string type error from doom-store API
...
Do to nil location.
2021-03-11 17:49:59 -05:00
Henrik Lissner
26319322b2
Remove redundant straight--build-compile advice
...
May address #4778 and #4783
2021-03-11 11:44:18 -05:00
Henrik Lissner
abec86310b
Fix #4777 : wrong-type-argument listp unpin error
2021-03-11 10:57:41 -05:00
ivanbrennan
e8fe7582a3
fix doom-{after,before}-reload-hook doc strings
2021-03-10 20:27:57 -05:00
Henrik Lissner
d76d50c1c9
Fix #4676 : one-off on go-to-EOL if comment at BOL
...
Before this commit:
1. With `|;;; hello`
2. Press `C-e`: `;|;; hello`
3. Press `C-e` again: `;;; hello|`
After:
1. With `|;;; hello`
2. Press `C-e`: `;;; hello|`
3. Press `C-e` again: `|;;; hello`
2021-03-10 13:03:29 -05:00
Henrik Lissner
7870350f84
Fix #4768 : don't ignore remote projects
2021-03-10 10:48:57 -05:00
Henrik Lissner
b0bec922a9
Fix #4758 : wrong-type-arg listp on doom-store-persist
2021-03-09 14:44:24 -05:00
Henrik Lissner
ab7710adfd
doom-info: fix args-out-of-range error
2021-03-08 10:25:09 -05:00
Henrik Lissner
cf44c43f41
Simplify doctor's native JSON detection
2021-03-07 14:33:11 -05:00
Henrik Lissner
4192d87dcd
Redesign doom/info
...
+ Focus on the important information and cut down on excess.
+ Prompt the user to open pastebin.com after copying doom-info to
clipboard.
+ Include timestamp in doom-info.
2021-03-07 00:03:04 -05:00
Henrik Lissner
6b173c5cc5
Remove mention of removed -p in 'doom help install'
...
This option was removed some time ago. Setting the DOOMDIR envvar is the
canonical way to do this now.
Fixes #4643
2021-03-06 15:06:09 -05:00
Henrik Lissner
f8d181a8c4
Ignore remote/temp files or packages as projects
2021-03-06 11:41:47 -05:00
Henrik Lissner
0ebd58c991
Purge ignored projects from cache/known projects
...
At shutdown time.
2021-03-06 11:39:54 -05:00
Henrik Lissner
e52fd138e2
Refactor autoload/store.el library
...
+ Expired pcache entries are now purged when Emacs is killed.
+ Preform additional type checks for better runtime safety.
+ TTL argument can now be a predicate function. Takes two arguments: the
key and value, if it returns nil, consider the entry stale.
2021-03-05 20:09:22 -05:00
Henrik Lissner
3bb271738a
Fix void-variable disto on M-x doom/info
2021-03-04 16:10:45 -05:00
Henrik Lissner
7798aa9190
Fix repo location in doom/help-packages
2021-03-04 14:09:40 -05:00
Henrik Lissner
70c8ca30b2
Update docstrings for doom/window-{enlargen,maximize-buffer}
...
As of 56e9d273e
, these commands no longer toggle because the toggle was
brittle could be unpredictable at times. Use winner-undo instead (on
`C-w r` or `SPC w r` by default).
2021-03-02 23:48:54 -05:00
Henrik Lissner
8ccba925dd
Fix parsing issue in doom-system-distro{,-version}
...
No guarantee the values in /etc/os-release are quoted.
Also, eliminate the code paths where these functions return nil.
2021-03-02 11:59:55 -05:00
Benjamin Tan
f151b3de45
Load autoload/system
in core-cli
...
Fixes #4715 .
2021-03-02 15:57:45 +08:00
Henrik Lissner
ad16d85e99
Merge pull request #4600 from MageJohn/refactor/help-packages
...
Refactor doom/help-packages
2021-03-01 22:53:59 -05:00
Henrik Lissner
c5e3f4d632
New autoload/system.el core library
2021-03-01 22:27:17 -05:00
Henrik Lissner
9ef11d0e31
Auto-truncate compilation buffers
...
To prevent memory issues in long lived processes.
Allows #4261 to be merged
Addresses (and mentioned in) asok/projectile-rails#148
2021-02-26 21:33:00 -05:00
Henrik Lissner
6cb5c381b8
Disable dtrt-indent in pascal-mode
...
Throws wrong-type-argument number-or-marker-p errors otherwise, because
dtrt-indent--for-each-indentation calls
dtrt-indent--skip-to-end-of-match with four nil arguments (presumably
because there is no pascal entry in dtrt-indent-language-syntax-table)
and there is no fall back to its default entry.
2021-02-25 18:34:31 -05:00
Henrik Lissner
1274de3d34
Minor reformatting & refactors across the board
2021-02-25 13:59:43 -05:00
Henrik Lissner
b8b51cee7b
Simplify after!
...
The featurep check is redundant. eval-after-load does it too.
2021-02-24 18:28:23 -05:00
Henrik Lissner
d52abd37f7
Fix #4691 : half revert 7e9911f642
...
Seems this was not fixed upstream.
2021-02-24 18:06:30 -05:00
Henrik Lissner
3894611a8f
Minor comment revision
2021-02-21 14:44:59 -05:00
Henrik Lissner
1a92dcab7e
Blacklist XAUTHORITY from envvar files
...
XAUTHORITY is likely to become stale if persisted across sessions.
2021-02-21 14:44:59 -05:00
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