d12752324a
Introduce letf! convenience macro
...
A more succinct cl-letf, which allows for local functions and macros.
2020-04-29 23:48:21 -04:00
e24b8cd1d1
Slim down from lang/data
...
+ Removes jsonnet, graphql, dhall & protobuf packages from the module.
+ Removes +data-vagrant-mode project minor mode (unused).
I'm phasing out the lang/data module. Its original purpose was to be for
data interchange formats, like JSON, but over time it became the dumping
ground for languages with no clear defining feature.
These packages are being removed first because their configs are
non-existent or so trivial that it offers nothing a user couldn't set up
themselves.
graphql and jsonnet might get heir own modules (or jsonnet might be
gated behind a flag in the :lang json module), but for now they gotta
go.
fixup! Remove jsonnet, graphql, dhall & protobuf modes from lang/data
2020-04-23 23:56:17 -04:00
a36afa5136
Remove redundant dtrt-indent mapping
...
It was upstreamed in jscheid/dtrt-indent#51
2020-04-19 20:34:47 -04:00
07350731ad
Update comment re:soft line wrapping
2020-04-15 18:22:59 -04:00
46b99567de
Make soft-wrapping the default in text modes
2020-04-15 13:12:10 -04:00
3e340ab415
Add :emacs undo module
...
Moves undo-fu/undo-tree out of core and allows uses to choose one or the
other.
Relevant to #2339
2020-04-13 18:45:40 -04:00
15ab86848e
Fix load-order issue for undo-fu-session
...
Which made it much more difficult to customize undo-fu-session with
merely an `after!` block. See jwiegley/use-package#829 for why this
happens.
2020-04-09 18:19:11 -04:00
aa2096e00c
Add typescript-mode support to dtrt-indent #2860
...
Until jscheid/dtrt-indent#51 is merged.
2020-04-09 15:35:41 -04:00
09652762a2
Remove undo-tree command remaps
2020-04-09 14:46:42 -04:00
f8c808d785
Remove xclip
2020-04-08 22:06:38 -04:00
b78fc4eb76
Minor refactor & reformatting across the board
2020-04-08 15:30:10 -04:00
8ab0cd66a7
Replace undo-tree with undo-fu + undo-fu-session
...
Despite the recent patches to fix undo history corruption, its history
would still get unpredictably truncated due to non-linear memory
expansion.
Relevant to #2339
2020-04-07 20:15:53 -04:00
3264e73a66
Merge pull request #2734 from Shooooooooo/develop
...
Add clipetty for TTY users.
2020-04-07 17:58:25 -04:00
e29136dd3e
Don't backup remote files
2020-03-27 02:30:49 -04:00
a038e7799b
Fix #2754 : recover-session cannot see auto-saves
2020-03-27 02:30:49 -04:00
215d9646ea
Add clipetty for TTY users.
2020-03-16 23:00:16 +01:00
69f14bc3da
Apply smartparens lisp rules to sly-mrepl-mode
2020-03-06 15:26:36 -05:00
089e653637
Reduce so-long false positives
2020-02-26 18:05:58 -05:00
2f251edc87
Fix doom-guess-mode-h for indirect buffers
2020-02-25 20:34:26 -05:00
014385a9f6
Prevent numerical type errors on after-find-file
...
In some edge cases.
2020-02-07 04:23:07 -05:00
12ebc58f2e
Suppress so-long in soft-wrapped text-mode buffers
2020-01-15 02:20:46 -05:00
29250133e8
Replace doom/describe-symbol w/ helpful-symbol
...
And helpful-at-point.
2020-01-11 17:21:35 -05:00
44fb8ab594
undo-tree-enable-undo-in-region = t
2020-01-09 03:40:02 -05:00
15f2245b10
Install undo-tree 0.7.1 from emacs-straight/undo-tree
...
I re-enable history persistence, now that it has been fixed.
Also, I install it from the emacs-straight/undo-tree mirror, which is
fast and reliable.
Closes #2339 , #2334
2020-01-09 03:09:06 -05:00
dc22815227
Fix #2234 (temporarily)
...
Due to breaking changes in undo-tree.
2020-01-08 00:47:18 -05:00
36e73aedb6
Disable xclip-mode on windows
2020-01-06 15:06:28 -05:00
fe57256d6b
Minor refactors; reduce sp-max-prefix-length
2020-01-05 19:58:59 -05:00
f26b148b2b
Use my fork of ws-butler
2020-01-04 18:11:10 -05:00
a2eee97c9d
undo-tree-{visualizer,auto-save-history} = t
2020-01-04 16:26:28 -05:00
da8bce53bc
Enable smartparens-mode during pp-eval-expression
2020-01-03 00:21:01 +08:00
8f5977d9b8
Fix #2282 : save-interprogram-paste-before-kill = nil
...
Seems more problematic than helpful to manipulate Emacs' kill-ring more
than we have to.
2020-01-01 21:24:06 -05:00
445ba1a46d
Minor refactors & comment revision across the board
2019-12-31 19:18:02 -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
bfce00d0b4
Don't use so-long if it's been disabled
2019-12-30 05:27:25 -05:00
7cc8a90c11
Disable save-place in large/long files
2019-12-26 01:41:45 -05:00
606d53cc47
Fix wrong-type-argument when opening file that doesn't exist yet
2019-12-25 14:02:43 -05:00
fd66b2321e
Trigger so-long even in modes with no comment syntax
...
Refactoring of #2183
2019-12-25 02:17:01 -05:00
aa3cb1e7dc
Inhibit saveplace in "large" files
2019-12-25 02:15:48 -05:00
44fcbb52dc
Change format of doom-large-file-size-alist
...
Instead of mapping major modes to file size thresholds, it maps file
regexps (like auto-mode-alist) since the major mode cannot be known
before set-auto-mode is called (in after-find-file).
2019-12-25 02:13:53 -05:00
f49913fc9e
define-key! -> global-set-key
...
In case general hasn't been installed yet.
2019-12-24 00:00:40 -05:00
b53703d527
General comment revision & reformatting
2019-12-21 15:01:05 -05:00
7033b589cb
Start server after brief idle delay
2019-12-20 23:00:54 -05:00
322bca710a
General refactors & reformatting
2019-12-20 00:59:52 -05:00
c0116d1447
Fix #2183 : suppress so-long when no comment syntax
...
Hopefully a better solution can be found.
2019-12-13 14:56:25 -05:00
019e6e530b
Add text-mode to so-long-target-modes
2019-12-09 18:14:29 -05:00
f251eb5ba9
Remove recentf-exclude setting
...
We don't need to be so judicious about what files are included in the
MRU list. If you open a file, any file, it'll be considered a recently
opened file.
2019-12-08 20:14:11 -05:00
bc89de4228
Move vc-follow-symlinks to core-editor
...
And remove vc-make-backup-files setting. nil is already its default
2019-12-08 16:10:31 -05:00
41e2fb3f76
Replace doom-large-file-size w/ doom-large-file-size-alist
...
Now you can have major-mode-specific large-filesize thresholds, since
not all major modes are created equal.
2019-12-02 20:22:00 -05:00
c7420a4bd7
Speed up indent guessing
...
Guessing the indentation can be awfully slow because it scans the whole
buffer. This PR overrides the guessing mechanism to scan at most 10000
points.
Signed-off-by: Rudi Grinberg <me@rgrinberg.com >
2019-11-20 11:27:26 +07:00
2bf74158fd
Minor refactors across the board
2019-11-04 03:37:54 -05:00