Henrik Lissner
1c237106aa
Don't pollute module help warnings with text props
2020-01-04 17:12:49 -05:00
Henrik Lissner
8c7aaa6468
scroll-conservatively = 101 #2217
2020-01-04 17:12:09 -05:00
Henrik Lissner
ae5cf1889b
Move custom-file to {doom-local-dir}/custom.el
2020-01-04 17:10:56 -05:00
Henrik Lissner
a2eee97c9d
undo-tree-{visualizer,auto-save-history} = t
2020-01-04 16:26:28 -05:00
Henrik Lissner
13be4fa178
Fix doom/sudo-save-buffer
...
Trying to open a buffer named after the filename, rather than opening
the file and returning a buffer.
2020-01-04 04:57:58 -05:00
Henrik Lissner
e0b8b4f190
Fix set-pretty-symbols! not merging properties w/ old rules
...
This removes the :merge property, as merging is now its default
behavior.
2020-01-04 04:55:57 -05:00
Nikola M
f9b3ad2bb1
Fix typo in env.el
2020-01-03 21:42:14 +01:00
Henrik Lissner
11676b0153
Fix #2299 : void-function sp-point-in-string during 'doom refresh'
...
Due to use of third-party code before it is installed. Since we can be
sure that elisp has a sane syntax-table we do not need sophisticated
comment/string detection.
2020-01-03 05:22:10 -05:00
Henrik Lissner
63d42c97bc
Pass POS to sp-point-in-string
...
And doom-point-in-string-or-comment-p is no longer side-effect-free, due
to sp-point-in-* caching syntax-ppss.
2020-01-03 05:22:10 -05:00
Henrik Lissner
5495922a20
Resolve symlinks in doomdir slot for doom/info
2020-01-03 05:22:10 -05:00
Henrik Lissner
8ff15c2aeb
Optimize doom-point-in-*-p functions
...
Since we won't be dumping smartparens just yet, use it for now.
2020-01-03 02:44:29 -05:00
Henrik Lissner
8857dc1a5e
Add doom-point-in-{comment,string}-functions
...
Fixes #2297
2020-01-03 02:40:50 -05:00
Henrik Lissner
27bf3c85b5
Generalize thing-at-point & region functions
2020-01-03 02:39:47 -05:00
Henrik Lissner
195dfda045
Minor refactors & comment revision
2020-01-02 21:16:02 -05:00
How Si Wei
da8bce53bc
Enable smartparens-mode during pp-eval-expression
2020-01-03 00:21:01 +08:00
Henrik Lissner
4d64021980
Merge pull request #2270 from facelesspanda/patch-1
...
docs/core: fix typo in `featurep!` docstring
2020-01-02 00:04:39 -05:00
Henrik Lissner
f78f71a74c
Minor refactors & comment revision
2020-01-01 23:52:02 -05:00
Henrik Lissner
fd6def4d5a
Fix letenv! macro
...
It didn't work due to over-aggressive quoting of the let-vars.
2020-01-01 23:48:36 -05:00
Henrik Lissner
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
Henrik Lissner
29773baa55
Add 'doom sync' as an alias for 'doom refresh'
...
'sync' more accurately describes the purpose of the command. 'refresh'
is now soft-deprecated; but I will phase it out of the documentation
and promote 'sync' instead, but it won't be removed.
2020-01-01 21:19:21 -05:00
Henrik Lissner
2ef0ed90a4
Fix C-a/C-e #1802
...
Fixes two issues:
1. Where C-e would throw the cursor somewhere on another line (or at
BOF).
2. Fixes #1802 ; where the cursor would stop a character shy of true
end-of-text.
2020-01-01 21:19:21 -05:00
Henrik Lissner
f0e05c1a44
Fix C-w in ivy not moving up directory
...
And ensure C-w doesn't affect kill-ring from minibuffer.
2020-01-01 19:58:52 -05:00
Henrik Lissner
5929e5b75a
Add undefadvice! macro for rotate-text convenience
2020-01-01 19:34:33 -05:00
Henrik Lissner
7a348f8784
Refactor how we indent straight's progress output
...
More work up front, less work in the trenches.
2020-01-01 19:34:30 -05:00
Henrik Lissner
4f676bd218
Refactor autoload generator bootstrappers
2020-01-01 13:31:40 -05:00
Henrik Lissner
4a53f0818d
Don't insert autoloads literally #2281
...
It causes encoding issues.
2020-01-01 03:02:05 -05:00
Henrik Lissner
445ba1a46d
Minor refactors & comment revision across the board
2019-12-31 19:18:02 -05:00
Henrik Lissner
6f951229ec
Add & revise comments
...
And move line number hooks to core/autoload/ui.el
2019-12-31 15:55:56 -05:00
Henrik Lissner
b592e58c97
Fix warning when disabling core packages
2019-12-31 14:10:52 -05:00
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
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
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
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
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
bfce00d0b4
Don't use so-long if it's been disabled
2019-12-30 05:27:25 -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
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
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
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
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