Commit Graph

14277 Commits

Author SHA1 Message Date
4dc888d104 Tangle org files on save if in same dir as config.org 2020-08-28 04:33:56 -04:00
f89a9458b0 Merge pull request #3861 from cxb811201/patch-2
Fix non evil environment (void-variable evil-this-operator)
2020-08-28 04:33:42 -04:00
f22f2e28b8 Modifying wrong variable judgment logic 2020-08-28 15:57:58 +08:00
5c9e21814e Fix non evil environment (void variable evil this operator) 2020-08-28 15:40:08 +08:00
841eacc77d tools/lsp: lazy load <leader> c l keybind
Fixes a issue where folks would try to rebind <leader> c, only to get a
non-prefix key error about <leader> c l.
2020-08-27 17:44:58 -04:00
362f101227 config/literate: fix hanging paren
Whoopsidoodlepopsicolanumptywombatbiscuitmuffin.
2020-08-27 17:30:43 -04:00
666ea63591 config/literate: make default tangle target DOOMDIR/config.el
Rather than ./config.el, which means it will end up in the wrong place
if the user moves their config.org out of $DOOMDIR or into a
subdirectory.
2020-08-27 17:19:52 -04:00
e03824bf5e bin/doom: improve POSIX compliance
+ The bourne shell does not guarantee it'll understand the new $()
  subshell syntax.
+ Can't rely on set -e to short circuit the script. No avoiding the
  roundabout suppression of the postscript error with '&& true'.

Might fix #3844, but doubt it.
2020-08-27 14:42:48 -04:00
b6a6f41025 Merge pull request #3855 from yuhan0/fix-3257
Filter directories when rebuilding straight repos
2020-08-27 14:42:29 -04:00
15779e7a16 Filter directories when rebuilding straight repos
Prevents auto-generated files like .DS_Store on macOS from causing an
error.
2020-08-27 23:22:24 +08:00
098f10306d Fix CLI error not including straight output 2020-08-27 03:11:46 -04:00
6e6f2ddca3 Merge pull request #3851 from TomFryers/patch-1
Fix typo in faq.org
2020-08-27 01:57:42 -04:00
791ab1a1db Fix typo in faq.org 2020-08-27 06:44:14 +01:00
2bd921e15d Merge pull request #3850 from thiagokokada/cleanup-help-el
core: Cleanup core/autoload/help.el
2020-08-27 01:15:51 -04:00
c8dfd1b821 Merge pull request #3848 from gagbo/fix/bepo-evil-markdown
Set navkeys for evil-markdown in bepo
2020-08-27 01:15:36 -04:00
723583e8d7 Automatically download reveal.js and use local copy, default to v4 (#3846)
* Automatically download reveal.js upgrade to v4

The +present option now automatically checks out the reveal.js
repository and configures org-re-reveal to use it. It also now uses
reveal.js 4 instead of 3.9.2.

* Changed :init to :config
2020-08-27 01:15:14 -04:00
5cf3c499c8 Merge pull request #3843 from t-e-r-m/change-flycheck-posframe-warning-prefix
Change the warning prefix to a non-unicode character
2020-08-27 01:14:44 -04:00
f59ffe32a7 Merge pull request #3839 from cxb811201/patch-1
Fix ivy interop with lsp-ivy-workspace-symbol
2020-08-27 01:14:30 -04:00
a2a5038b97 Fix #3844: bin/doom emits wrong-type-arg error on windows
For some reason __DOOMPOST isn't being exported into emacs' environment
on Windows (powershell and git bash).
2020-08-27 01:10:08 -04:00
a6dc9bf7e5 core-cli: minor refactors 2020-08-27 01:10:08 -04:00
518c97a2ac Rename {if,when}! -> eval-{if,when}!
To better represent its purpose, as extensions to Emacs' eval-when*
API (for control flow at compile time).
2020-08-27 01:10:08 -04:00
7808f02646 ui/modeline: add +modeline-mode & +modeline-global-mode 2020-08-27 01:10:07 -04:00
2e2f72a2de ui/modeline: refactor buffer-id segment 2020-08-27 01:10:07 -04:00
0111e26373 core: Cleanup core/autoload/help.el
Removing references after e24b8cd1d1.
2020-08-26 21:27:25 -03:00
b3006ecabb ui/modeline: update buffer id when renaming files
And revert 247ce145b, since I wasn't aware
after-set-visited-file-name-hook existed.
2020-08-26 19:54:05 -04:00
247ce145b4 Revert buffer after renaming file 2020-08-26 19:52:06 -04:00
e00560caf8 Fix #3827 (part 2): inverted file cookies
Turns out some autodefs weren't being noop'ed when their file's cookie
returns nil. This was the secondary cause of #3827.
2020-08-26 19:51:46 -04:00
bfd71a8bb9 Fix #3827: void-variable flyspell-delayed-commands
This occurs in org-compat.el:

  (eval-after-load "flyspell"
    '(add-to-list 'flyspell-delayed-commands 'org-self-insert-command))

By not using a package symbol, this code runs whenever any file named
flyspell.el is loaded. Guess what one of the :checkers spell module's
autoloads files is named? flyspell.el
2020-08-26 19:33:24 -04:00
65fed7ad1c Set navkeys for evil-markdown in bepo 2020-08-26 23:52:51 +02:00
848cc117c4 ui/modeline: cache buffer id for +light modeline 2020-08-26 17:23:31 -04:00
6352524d32 Allow def-modeline-var! to overwrite old segments 2020-08-26 16:58:25 -04:00
e459842a9b Escape newlines in backtrace frames
And quote strings
2020-08-26 16:02:55 -04:00
c7588bacdf cli/upgrade: don't reload if Doom's up-to-date 2020-08-26 15:11:47 -04:00
ed2c750023 docs/getting_started: clarify "using local packages" #3842 2020-08-26 14:25:46 -04:00
2df1eb7a76 Fix #2972: disable eldoc for plantuml org blocks 2020-08-26 13:55:09 -04:00
018cedf05f tools/lsp: fix void-function apply-orig-fn
When +lsp-auto-install-servers is non-nil.
2020-08-26 13:22:05 -04:00
c7bbdd65f3 Change the error prefix to a non-unicode character 2020-08-26 21:50:19 +05:30
8873193234 Change the warning prefix to a non-unicode character
It's faster and stylistically compliant.
2020-08-26 14:11:33 +05:30
93795633dd fix ivy not working well with lsp-ivy-workspace-symbol
More details here: emacs-lsp/lsp-ivy#18 (comment)
2020-08-26 15:09:52 +08:00
1c99aed0c0 Add +python-{ipython,jupyter}-command vars for REPLs 2020-08-25 21:22:56 -04:00
76eae7bc46 Bind SPC s S -> swiper-isearch-thing-at-point #3656 2020-08-25 21:12:50 -04:00
47b42a9d08 Don't exec postscript #3746
Doesn't seem to persist exported environment variables (like __DOOMPOST)
in some windows environments.
2020-08-25 20:22:06 -04:00
239516a7db Fix #3831: integer expression expected error on bin/doom
Also mentioned in #3746
2020-08-25 13:24:45 -04:00
ce2cabf07e Autoload org-download-clipboard #3830 2020-08-25 06:07:47 -04:00
63a03848a3 Fix literate tangling on 'doom sync'
Relevant to #3746
2020-08-25 06:01:35 -04:00
bdbeb8f507 lang/org: SPC m a p -> org-download-clipboard
And SPC m a P -> org-download-yank for consistency.

p meaning paste.

Closes #3830
2020-08-25 05:50:09 -04:00
9e43b69664 docs/api: correct custom-theme-set-faces! example 2020-08-25 05:12:54 -04:00
c0500df5fb bin/doom: move debugger config to core-cli
And remove unnecessary path expansion.
2020-08-25 05:08:22 -04:00
93ac32d082 bin/doom: refactor shebang preamble
Indirectly fixes folks' ability to set EMACS to more complex
commands (like 'flatpak run org.gnu.emacs').
2020-08-25 05:08:14 -04:00
a986621a5f Revert 70148bb
Fixes #3829
Relevant to #3691
2020-08-25 01:57:00 -04:00