Henrik Lissner
d81ef69525
Fix #3693 : don't unfold archive trees on file-open
...
Also refactors +org-make-last-point-visible-h to be more realistic about
when it should and shouldn't expand the hidden region at point. Since
org-agenda-inhibit-startup is now non-nil by default it makes no sense
to test it (and it was a poor choice to begin with).
Plus, instead of using outline's API, better to use org's, even if
they're aliases or wrappers. Less of a maintenance burden.
2020-08-05 15:00:34 -04:00
Henrik Lissner
77fbde957a
Remove universal repeater on ; and ,
...
Ultimately, I didn't find this useful. Unifying n/N and ;/, was
inconvenient when you wanted to repeat each kind of search
independently (which happened more often than I had anticipated).
What's more, it introduced another point of confusion for new users
coming from vim. In the end, it's simply better to do as vim does.
Fixes #3689
2020-08-05 14:56:30 -04:00
Henrik Lissner
00a8f750ed
Fix wrong-type-arg: stringp when tangling config.org
2020-08-05 03:32:21 -04:00
Henrik Lissner
5a68352cd5
Mention that +evil-repeat-keys can be set to nil
...
To disable universal repeating on ; and ,
2020-08-05 03:32:17 -04:00
Sorawee Porncharoenwase
214411edb4
racket-mode: avoid using flycheck-disable-checker
...
The problem is that at this point, flycheck-mode might not be active
yet. Calling flycheck-disable-checker always call (flycheck-buffer)
which would result in an error: (user-error "Flycheck mode disabled")
2020-08-04 17:30:39 -07:00
Henrik Lissner
01c5c35686
Fix #3688 : failure tangling config.org
2020-08-04 18:04:15 -04:00
Henrik Lissner
d45fff0088
Merge pull request #3684 from Janfel/patch-1
...
Fix Elisp file template header in doom-private-dir.
2020-08-04 14:59:53 -04:00
Henrik Lissner
dc489d24e7
bidi-inhibit-bpa = t
...
Speeds up redisplay a little, but possible at the expense of folks who
use Emacs for RTL languages.
2020-08-04 14:58:13 -04:00
Henrik Lissner
c7bfbafdcc
Tempfix #3683 : vterm not building on emacsgcc
...
Remove this when akermu/emacs-libvterm#363 is resolved.
2020-08-04 14:03:06 -04:00
Henrik Lissner
f641bf4554
Fix 'void-variable: backup' error
...
Fixes my fix for #3685
2020-08-04 13:58:40 -04:00
Henrik Lissner
8580b53e8e
Fix #3685 : don't mutate org buffer when tangling
...
If the buffer doesn't change, the cursor won't move.
2020-08-04 13:43:14 -04:00
Janfel
6ba04c13b2
Fix file template header in $DOOMDIR/autoload.
2020-08-04 15:24:50 +02:00
Henrik Lissner
9f84bc334b
Forward file-missing errors from within autoloads
...
If a load call occurs within the autoloads file and throws a
file-missing error, it would be misleading to say 'doom sync' will fix
it, so forward the real error!
2020-08-04 07:34:16 -04:00
Henrik Lissner
7638bd3968
Revert 439999cb6
...
I had incorrectly assumed tramp-own-remote-path would prepend the remote
system's PATH to tramp's exec-path, but it does not, it prepends your
local machine's PATH onto it. tramp-default-remote-path was what I was
looking for and it is already in tramp-remote-path by default.
If tramp can't find a program on the remote it's because either the
remote doesn't support getconf (which tramp uses to scrape the remote
PATH), or your PATH on the remote has been incorrectly configured.
2020-08-03 20:29:41 -04:00
Henrik Lissner
6e702a435a
Warn when :ensure t is used
...
When package.el isn't initialized.
2020-08-03 19:11:15 -04:00
Henrik Lissner
9ac9deb0fd
Bump :lang clojure
...
clojure-emacs/cider@3d8552a -> clojure-emacs/cider@9e117c2
Closes #3680
2020-08-03 18:57:34 -04:00
Henrik Lissner
a1b39b4011
Bump :lang nix
...
NixOS/nix-mode@5b59617 -> NixOS/nix-mode@a00b3f7
2020-08-03 15:01:27 -04:00
Henrik Lissner
439999cb66
Add tramp-own-remote-path to tramp-remote-path
...
Makes tramp consider the remote's PATH when searching for executables.
2020-08-03 15:01:11 -04:00
Henrik Lissner
15e156294f
Merge pull request #3668 from willbchang/develop
...
ui(tabs): use a smaller dot to show unsaved file status
2020-08-03 02:52:55 -04:00
Henrik Lissner
1d7d493f0d
Remove redundant auto-mode-alist entries
...
rc files are covered in core-editor.el
2020-08-03 00:45:32 -04:00
Henrik Lissner
e2855db2a6
Refactor doom-highlight-non-default-indentation-h
...
And revise its docstring.
2020-08-02 22:55:15 -04:00
Henrik Lissner
1406a45750
Fix indentation highlights in built-in libraries
...
Doom highlights incorrect indentation (i.e. tabs if indent-tabs-mode =
nil, spaces if indent-tabs-mode = t). This used to be disabled in
read-only buffers (e.g. built-in libraries), making style conflicts hard
to see. No more! Now you can see the mess for yourself!
2020-08-02 22:48:35 -04:00
Henrik Lissner
a9d36ddcaf
editor/multiple-cursors: minor refactor
...
Remove some redundant entries in evil-mc-custom-known-commands.
2020-08-02 19:21:38 -04:00
Henrik Lissner
b8c20d50fe
Fix unreadable indentation in native elisp files
2020-08-02 18:58:58 -04:00
Henrik Lissner
a9bd4965bf
Improve error handling in doom-first-*-hook
...
This should at least report what function invoked the error.
doom-first-input-hook was especially problematic because it runs on
pre-command-hook, which Emacs is very protective of. It will smother
errors that arise from it and auto-remove the offending hook. This
self-correction is nice for avoiding a broken Emacs, but it makes it
tough to debug those issues.
2020-08-02 18:41:21 -04:00
Henrik Lissner
c3be74139a
Add eval-and-replace support to evil-mc
...
And refactor evil-mc-custom-known-commands init
2020-08-02 18:11:45 -04:00
Henrik Lissner
c7513e4135
Fix #3390 : only execute local-vars hooks once
2020-08-02 16:29:46 -04:00
Henrik Lissner
7784c0b6e9
No-op (lsp) if already enabled #3390
...
`lsp-deferred` calls `lsp` and `lsp` seems to do something expensive
whether or not lsp-mode is already active. Over TRAMP, this is much too
expensive, so we no-op lsp-deferred if lsp-mode is already active.
2020-08-02 16:27:09 -04:00
Henrik Lissner
b08f9c607d
Fix #3671 : some dap-mode libs not loading
2020-08-02 13:57:06 -04:00
Will B Chang
23372c82b9
ui(tabs): use a smaller dot to show unsaved file status
2020-08-02 15:33:48 +08:00
Henrik Lissner
ffbd7b63bf
Fix #3654 : prevent org-export-to-html removing line-breaks
...
When either :input chinese or :input japanese is enabled, due to
overzealous advice.
2020-08-02 01:33:51 -04:00
Henrik Lissner
de343fd314
lang/csharp: add csproj-mode package
...
A major mode for .NET *.proj files
2020-08-01 16:00:18 -04:00
Henrik Lissner
014a3b5c4c
Bump :tools magit
...
magit/magit@312791e -> magit/magit@798aff5
magit/forge@d1346f4 -> magit/forge@2c48746
2020-08-01 16:00:18 -04:00
Henrik Lissner
d451ffaec9
Bump :tools ein
...
millejoh/emacs-ipython-notebook@ee31cdb -> millejoh/emacs-ipython-notebook@ccbed30
2020-08-01 15:59:07 -04:00
Henrik Lissner
a954657631
Bump :lang csharp
...
josteink/csharp-mode@57bd21b -> josteink/csharp-mode@4885177
We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125
for why.
2020-08-01 15:56:30 -04:00
Henrik Lissner
7dab38deea
Add -A/-R switches to 'doom env'
...
Two new convenience switches for generating envvar files:
doom env -A x
doom env -R x
Is equivalent to
doom env -a x -r .
doom env -r x -a .
2020-08-01 15:23:10 -04:00
Henrik Lissner
68507e1eac
Load straight in doom/bump* commands
...
Prevents errors about missing straight functions/variables.
2020-08-01 15:20:32 -04:00
Henrik Lissner
f7b786f72e
Reduce projectile cache limit
...
fd/ripgrep are pretty fast, so be a little more aggressive when cleaning
up the projectile cache.
2020-08-01 15:19:59 -04:00
Henrik Lissner
e852ac0469
Re-introduce +lsp-company-backends
...
Not a perfect solution, but it'll do while I figure out a better
solution for set-company-backends!'s inflexibility.
2020-08-01 15:18:02 -04:00
Henrik Lissner
318b3ef238
tools/debugger: refactor dap lib loader
2020-08-01 15:15:59 -04:00
Henrik Lissner
bfb04102ef
email/mu4e: replace org-mu4e with org-msg
...
Fixes #3663
2020-08-01 14:16:43 -04:00
Henrik Lissner
8a0fd0b18d
Bump :emacs dired
...
dgutov/diff-hl@a625033 -> dgutov/diff-hl@2281a89
ralesi/ranger.el@ae9b381 -> ralesi/ranger.el@d7c1837
yqrashawn/fd-dired@001cc95 -> yqrashawn/fd-dired@5622041
Fixes pasting file to its original directory. Previously it failed with
error, adding a suffix.
Closes #3665
Co-authored-by: Jakub Darul <JakDar@users.noreply.github.com>
2020-08-01 13:52:24 -04:00
Henrik Lissner
e07cc77c19
docs/getting_started: clarify ~/.emacs.d/bin entry in PATH
...
I took this for granted:
Works:
export PATH=~/.emacs.d/bin:$PATH
export PATH="$HOME/.emacs.d/bin:$PATH"
Does not work:
export PATH="~/.emacs.d/bin:$PATH"
2020-07-31 18:18:07 -04:00
Henrik Lissner
84fe780b34
tools/lookup: remove redundant Emacs 26 gnutls fix
...
A fix for this issue is already part of Doom core, so this is redundant.
2020-07-31 18:14:07 -04:00
Henrik Lissner
16acf1a41f
Bump :lang purescript
...
purescript-emacs/psc-ide-emacs@7fc2b84 -> purescript-emacs/psc-ide-emacs@663f4e2
purescript-emacs/purescript-mode@8db1d02 -> purescript-emacs/purescript-mode@154ad16
We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125
for why.
2020-07-31 16:25:45 -04:00
Henrik Lissner
cccc5d2479
Bump :lang php
...
arnested/php-extras@d410c5a -> arnested/php-extras@81ebd7c
emacs-php/php-mode@b5d9988 -> emacs-php/php-mode@4345dfd
emacs-php/phpactor.el@31fe2ea -> emacs-php/phpactor.el@62d2372
hhvm/hack-mode@fd6a661 -> hhvm/hack-mode@572c3b4
We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125
for why.
2020-07-31 16:07:13 -04:00
Henrik Lissner
38390be0db
Bump :lang markdown
...
jrblevin/markdown-mode@770e3aa -> jrblevin/markdown-mode@fa9fa20
seagle0128/grip-mode@9615c47 -> seagle0128/grip-mode@52768a0
2020-07-31 16:05:56 -04:00
Henrik Lissner
ecaa246361
Bump :lang ocaml
...
diml/utop@30c77ce -> diml/utop@7bc5117
ocaml-ppx/ocamlformat@5282e04 -> ocaml-ppx/ocamlformat@27a49cc
ocaml/dune@1944d0f -> ocaml/dune@66cfb3a
ocaml/tuareg@c12061e -> ocaml/tuareg@ccde45b
We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125
for why.
2020-07-31 16:05:37 -04:00
Henrik Lissner
e01a9e8173
docs/modules.org: minor revisions
2020-07-31 16:03:36 -04:00
Henrik Lissner
d597663d63
Discover projects on switch-project
...
Rather than when projectile-mode is started up.
Also clean up 404'ed projects on quit.
2020-07-31 16:01:55 -04:00