Commit Graph

14533 Commits

Author SHA1 Message Date
Henrik Lissner
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
Henrik Lissner
9e43b69664
docs/api: correct custom-theme-set-faces! example 2020-08-25 05:12:54 -04:00
Henrik Lissner
c0500df5fb
bin/doom: move debugger config to core-cli
And remove unnecessary path expansion.
2020-08-25 05:08:22 -04:00
Henrik Lissner
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
Henrik Lissner
a986621a5f
Revert 70148bb
Fixes #3829
Relevant to #3691
2020-08-25 01:57:00 -04:00
Gabriele Bozzola
7877c92809 Docs: Fix typo: vterm-module.sh -> vterm-module.so 2020-08-24 20:46:15 -07:00
Henrik Lissner
6e22a15e43
Fix 'doom help'
doom-cli-internal-p was accidentally removed in e632871a1, and the
psuedo CLI command :main was renamed to :doom.
2020-08-24 23:36:11 -04:00
Henrik Lissner
0dfee56e35
Fix string type error on 'doom upgrade' 2020-08-24 23:22:57 -04:00
Henrik Lissner
4fa0241134
bin/doom: allow script to be symlinked #3746 2020-08-24 23:19:42 -04:00
Henrik Lissner
5c6189fb4e
Simplify doom/version output
Only really needs to output Doom's version and build info.
2020-08-24 23:00:32 -04:00
Henrik Lissner
98283d302b
docs/faq: minor corrections 2020-08-24 23:00:32 -04:00
Henrik Lissner
75cca3586d
Fix gq/gw squeezing spaces across filled lines
"   abcdef" would be changed to "abcdef". Vim doesn't do this. Evil
shouldn't either.
2020-08-24 23:00:32 -04:00
Henrik Lissner
e632871a11
core-cli: backport more refactors from rewrite
Still a long way to go, but this introduces a few niceties for
debugging CLI failures:

+ The (extended) output of the last bin/doom command is now logged to
  ~/.emacs.d/.local/doom.log
+ If an error occurs, short backtraces are displayed whether or not you
  have debug mode on. The full backtrace is written to
  ~/.emacs.d/.local/doom.error.log.
+ bin/doom now aborts with a warning if:
  - The script itself or its parent directory is a symlink. It's fine if
    ~/.emacs.d is symlinked though.
  - Running bin/doom as root when your DOOMDIR isn't in /root/.
  - If you're sporting Emacs 26.1 (now handled in the elisp side rather
    than the /bin/sh shebang preamble).
+ If a 'doom sync' was aborted prematurely, you'll be warned that Doom
  was left in an inconsistent state and that you must run `doom sync`
  again.

May address #3746
2020-08-24 23:00:32 -04:00
Henrik Lissner
7e362e8fbd
Redesign doom/info
+ Replace "daemonp" and "windowsys" fields with "traits" field, which
  can now indicate the presence of: Chemacs, exec-path-from-shell,
  symlinked EMACSDIR/DOOMDIR, a running server, the daemon and an envvar
  file.
+ Now replaces $USER in absolute paths with literal "$USER".
+ Reordered fields from most to least general (system -> emacs -> doom)
+ Show "&user" next to modules that are private modules (defined in
  ~/.doom.d/modules/)
2020-08-24 22:27:40 -04:00
Henrik Lissner
1884828d22
Add :shadow parameter to package!
For to make replacing built-in packages easier.
2020-08-24 22:27:40 -04:00
Henrik Lissner
6f49f2151e
Fix #3812: direnv not in scope for babel execution 2020-08-24 22:27:40 -04:00
Henrik Lissner
134f959838
tools/lsp: update readme TOC 2020-08-24 22:27:40 -04:00
Henrik Lissner
af35e56abb
Bump :completion
+ :completion company
  company-mode/company-mode@54f60ef -> company-mode/company-mode@4462e7d
  sebastiencs/company-box@20384f0 -> sebastiencs/company-box@d8f71fd
+ :completion helm
  emacs-helm/helm@e9a1e53 -> emacs-helm/helm@d2fbf66
2020-08-24 22:27:37 -04:00
Henrik Lissner
5c6dca2e1a
Merge pull request #3819 from gagbo/fix/bepo-helm-maps
[Fix] be lazier for minibuffer maps in :layout bepo
2020-08-24 22:26:21 -04:00
Henrik Lissner
09fe785a0d
Merge pull request #3822 from zzamboni/fix/org-capture-string-comparison
[Fix] string comparison in TERM check in org-capture
2020-08-24 22:26:15 -04:00
Henrik Lissner
87431c91c5
Merge pull request #3823 from ymarco/latex-spell-fu
Add latex faces to +spell-excluded-faces-alist
2020-08-24 22:26:09 -04:00
Henrik Lissner
04057aec0c
Merge pull request #3825 from JakDar/develop
If +flyspell enabled, disable spell-fu keybindings and use flyspell ones
2020-08-24 22:26:03 -04:00
Jakub Darul
2564bbce0d Use flyspell-mode for SPC t s if +flyspell present
Also corresponding bindigs fix for +emacs-bindigs.el
2020-08-24 20:36:16 +02:00
Jakub Darul
f6bae75bff Disable spell-fu keybinding if +flyspell enabled 2020-08-24 20:25:49 +02:00
Yoav Marco
c0a3c6f977 Add latex faces to +spell-excluded-faces-alist 2020-08-24 16:16:19 +03:00
Diego Zamboni
394c9b5a70 Fix string comparison in TERM check
Script was using -eq, which is a numeric comparison, and was producing
an "integer expression expected" error. Changed to =, the string
comparison operator.
2020-08-24 14:42:45 +02:00
Gerry Agbobada
49ab3dd23f
Separate rotation of minibuffer maps
We cannot use the old method as the hook triggered before the keymaps
are created and possibly modified by (use-package :config :map) hooks
2020-08-24 11:05:00 +02:00
Gerry Agbobada
e164f3714f
Set helm-rg-map in the default +default-minibuffer-maps
It seems like a typo
2020-08-24 11:03:46 +02:00
Henrik Lissner
e3750dbf66
checkers/spell: add +flyspell flag
spell-fu lacks support for multiple dictionaries, affix expansion, and
many non-English dictionaries, so I've added back flyspell support to
the spell module, but opt-in, because it is still the significantly
slower option and spell-fu may support them one day.

If not, tlikonen/wcheck-mode is another alternative to consider.

Fixes #3813
2020-08-23 18:48:50 -04:00
Henrik Lissner
97471f11db
Fix #2807: fix void-variable errors in ui/ligatures 2020-08-23 18:15:17 -04:00
Henrik Lissner
00e9d8335c
lang/rust: update readme 2020-08-23 17:27:32 -04:00
Henrik Lissner
6444662131
Fix envrc not being activated correctly
Fixes #3812
2020-08-23 15:18:03 -04:00
Henrik Lissner
5918d2b5c8
Merge pull request #3805 from sarna/develop
Fix bindings for racket-mode
2020-08-23 14:10:46 -04:00
Henrik Lissner
4222219c49
Merge pull request #3806 from gagbo/fix/bepo-org-completing-read
Fix #3783: advice org-completing-read in bepo
2020-08-23 14:10:30 -04:00
Henrik Lissner
fbd94d5475
Merge pull request #3811 from Sbozzolo/develop
ui/nav-flash add vterm to +nav-flash-blink-cursor-maybe
2020-08-23 14:10:20 -04:00
Henrik Lissner
d49471a3b7
Merge pull request #3801 from jeetelongname/develop
Update docs for doom-quit, ligatures & hl-todo
2020-08-23 14:10:14 -04:00
Henrik Lissner
b5227b3036
Fix #2807: wrong-number-of-args error on +ligatures/install-patched-font 2020-08-23 14:00:06 -04:00
Gabriele Bozzola
afd495b7e1 ui/nav-flash add vterm to +nav-flash-blink-cursor-maybe
(vterm-mode is not derived from term-mode)
2020-08-23 08:13:21 -07:00
Henrik Lissner
c497cdabc7
checkers/spell: fix z=, zq, zw & personal dictionary
+ Fixes ispell not noticing allowed words in your personal dictionary.
  So +spell/correct would sometimes correct words that spell-fu wasn't
  highlighting as incorrect, and sometimes wouldn't correct words that
  were.
+ Fixes spell-fu refusing to read or write to the personal dictionary if
  the file didn't already exist beforehand (for zq and zw).
+ Change ispell-dictionary fallback from "en_US" (which aspell won't
  always recognize) to "en".
+ Moved ispell-personal-dictionary to ~/.emacs.d/.local/etc/ispell/ by
  default.
2020-08-23 02:32:58 -04:00
Henrik Lissner
a8b7c00426
config/literate: don't add save hook more than once
Hinders the user's ability to disable tangle-on-save behavior.
2020-08-22 17:40:25 -04:00
Henrik Lissner
5a4823500a
Bump :lang cc
MaskRay/emacs-ccls@44f1fb3 -> MaskRay/emacs-ccls@675a570

A force push upstream caused MaskRay/emacs-ccls@44f1fb3 to be a dangling
and inaccessible commit.
2020-08-22 15:59:01 -04:00
Henrik Lissner
ffb21b18e5
tools/lsp: minor refactor & doc revision 2020-08-22 15:34:52 -04:00
Jeetaditya Chatterjee
89068d88d4 adding the requested changes 2020-08-22 18:32:02 +01:00
Gerry Agbobada
4f81870fda
Fix #3783: advice org-completing-read in bepo
The original function tries to map `C-c !` in
minibuffer-local-completion-map although `C-c` is a non-prefix key in
this map for bepo users
2020-08-22 15:55:58 +02:00
sarna
452bc0d183 Map bindings for the repl 2020-08-22 15:12:39 +02:00
sarna
113ec1c201 Remap funs to xp-specific ones in racket-xp-mode 2020-08-22 15:10:30 +02:00
sarna
86b144a915 Set lookup handlers in the repl as well 2020-08-22 15:09:43 +02:00
Henrik Lissner
f83e6fe1cc
Fix #3804: rename TANGLE -> __TANGLE
So 'doom env' will naturally exclude it.
2020-08-22 03:37:14 -04:00
Henrik Lissner
0aab1118de
lang/cc: revise prerequisites in readme 2020-08-21 23:18:01 -04:00
Henrik Lissner
f8c94547ea
Bump :tools pdf
flatwhatson/pdf-tools@86db180 -> flatwhatson/pdf-tools@eb6d406

Fixes #3803
2020-08-21 23:02:39 -04:00