Commit graph

17626 commits

Author SHA1 Message Date
Henrik Lissner
c183aa7174
fix(everywhere): inhibit local-vars hooks
Indirectly suppresses LSP (and other) servers, which will likely not
function correctly in emacs-everywhere's temp buffers anyway.
2022-04-22 23:36:05 +02:00
Itai Y. Efrat
7640631300 docs(bidi): fix #+DATE field in readme 2022-04-22 16:01:42 +02:00
Henrik Lissner
3f5c111b42
dev: revise warnings in issue templates
Ref: #6322
2022-04-22 05:25:33 +02:00
iyefrat
d41cff489f
module: add :input bidi
* module: add :input bidi

Co-authored-by: Yoav Marco <yoavm448@gmail.com>

* docs(bidi): flesh out README.org

Co-authored-by: Itai Y. Efrat <itai3397@gmail.com>

* feat(bidi): add +bidi-global-mode

* docs(bidi): improve font setting instructions

* feat(bidi): add +bidi-(hebrew|arabic)-font

Since the Hebrew and Arabic unicode blocks cover the vast majority of
RTL languages used today, we provide these fonts so end users don't have
to bother with setting up the hooks themselves.

* feat(bidi): add smart fontify

Adds support for using the bidi fonts on surrounding whitespace and
punctuation through. On by default, customizable through
+bidi-want-smart-fontify and +bidi-smart-fontify-keywords.

Also adds face versions of the bidi fonts.

* docs(bidi): recommend known good nastaliq fonts

* fix(bidi): re-set bidi faces after changing fonts

* feat(bidi): add +bidi-paragraph-direction

This allows users to choose what bidi-paragraph-direction is set to when
+bidi-mode is on, so they can choose if they want per paragraph
alignment (the default) or to force everything to be aligned RTL

* docs(bidi): conform to verbatim/code conventions

* docs(bidi): add font overview to Features

* docs(bidi): warn on rtl forced alignment footgun

+bidi-paragraph-direction is a nice variable to have if you primarily
use +bidi-mode for rtl text buffers, but it shouldn't be used in
conjunction with +bidi-global-mode since it messes up English buffers.

Co-authored-by: Yoav Marco <yoavm448@gmail.com>
2022-04-22 00:21:32 +02:00
Henrik Lissner
fbfc635300
fix(cli): GIT_CONFIG* envvars leaking child processes
When launching Doom via 'doom run', the child process inherits
bin/doom's environment. This change restricts this sub-environment to
the intended target: straight and its use of git.

Fix: #6320
2022-04-21 22:36:36 +02:00
Henrik Lissner
8c03fa0e3d
fix: set face :font instead of frame font parameter
Information is lost when converting font-spec's to xlfd strings (mainly,
DPI), in order to make them compatible with the face frame parameter. To
avoid this, we set the faces' :font attribute instead, which natively
accept font specs, xlfd strings, font objects, and xft strings; no
conversion necessary.

Fix: #6131
2022-04-21 22:36:36 +02:00
pancho horrillo
f51a2cdd3a
fix(python): usage of obsolete alias letf
Amend: 04b76fd0ce
2022-04-18 18:14:16 +02:00
Henrik Lissner
b688df5c3e
dev: update links in issue templates
Our Discourse is now public.
2022-04-18 06:10:52 +02:00
Henrik Lissner
04b76fd0ce
fix(python): HTTP request from pip-requirements-mode
pip-requirements-mode fetches the pypi.org package list via HTTP
request, which blocks. This can sometimes take unbearably long in cases
where the user has a slow or no internet connection.

This fix defers this behavior until the first time completion is
invoked.

Fix: #5998
2022-04-17 03:23:40 +02:00
Henrik Lissner
f7e127af58
revert: gnuplot
emacs-gnuplot/gnuplot@7be3c7adde -> emacs-gnuplot/gnuplot@7138b139d2

This package was accidentally bumped in 48658d2136. The original
issue (#6080) has not been resolved upstream.

Fix: #6080
Ref: #6090
Amend: 48658d2136
2022-04-17 03:23:40 +02:00
Eric Dallo
d9e66630b5 feat(clojure): improve default variables when +lsp 2022-04-16 18:12:52 +02:00
Itai Y. Efrat
ffe8226a5c docs: update supported emacs versions in readme badge 2022-04-16 18:11:21 +02:00
Itai Y. Efrat
6fc5fe56f2 docs(go): add doctor check for gopls executable 2022-04-16 18:10:37 +02:00
Itai Y. Efrat
7b7940bb37 docs(go): disable gocode doctor check if lsp is on 2022-04-16 18:10:37 +02:00
Colin Woodbury
d501b48f2e docs(fortran): show how to install Intel Fortran 2022-04-16 02:48:24 +02:00
Colin Woodbury
f64a61a7e1 feat(fortran): keymappings for Intel 2022-04-16 02:48:24 +02:00
Colin Woodbury
81dc9af008 feat(fortran): initial addition of ifort functions 2022-04-16 02:48:24 +02:00
Sean Farley
ece4a74a9b feat(vertico): add +childframe option similar to ivy 2022-04-15 21:24:34 +02:00
Henrik Lissner
0e48c22c3e
fix(vertico): missing closing paren
And correct minor formatting inconsistencies.

Amend: c39acf284b
2022-04-12 02:51:38 +02:00
noisycomputation
b21de24311
docs(latex): add texlive-latexextra dependency for pdflatex exports
Exporting an org file to pdf via LaTeX (org-export-dispatch or 'SPC m
e', then 'l p') requires texlive-latexextra (Arch package name) to be
installed on the system.

For reference, the error raised when texlive-latexextra was missing was
that the file 'wrapfig.sty' was not found. The specific error likely
depends on the contents of the exported file. Internet searches reveal
that pdflatex may also complain about 'utf8x.def' being missing; this
file is also provided by texlive-latexextra.
2022-04-12 02:36:35 +02:00
Itai Y. Efrat
f3f260c0c0 feat(default): on evil bind rename-buffer to <leader> b R 2022-04-12 02:33:03 +02:00
Itai Y. Efrat
3a3c66df18 docs: add doctor warning about lack of nativecomp 2022-04-12 02:32:53 +02:00
Itai Y. Efrat
5cef63658d docs: update doctor living on the edge check to 29+ 2022-04-12 02:32:53 +02:00
Itai Y. Efrat
c39acf284b refactor(vertico): don't suppress compression errors
This was fixed upstream

Ref: minad/marginalia#132
2022-04-12 02:32:20 +02:00
Itai Y. Efrat
c9665f733b fix(vertico): update +vertico-workspace-buffer-state to new api
also adapt upstream improvements
2022-04-12 02:32:20 +02:00
Itai Y. Efrat
136e7df76e bump: :completion vertico consult-lsp
gagbo/consult-lsp@5a3c4e3f42 -> gagbo/consult-lsp@a8eb3a062f
iyefrat/all-the-icons-completion@9e7d456b09 -> iyefrat/all-the-icons-completion@286e2c064a
minad/consult@36b8bc7065 -> minad/consult@d30213aa20
minad/marginalia@a514c024ac -> minad/marginalia@dbc37b373e
minad/vertico@7ec0f0c076 -> minad/vertico@46e8e05650

Close: #6279
Close: #6277
2022-04-12 02:32:20 +02:00
Itai Y. Efrat
fd50f388a4 refactor!(vertico): fix embark-collect and rebind to C-c C-l
BREAKING CHANGE: `embark-collect-snapshot` has been renamed upstream to
`embark-collect`. Since the `C-s` mnemonic doesn't really make sense
anymore, I've moved the binding to `C-c C-l`, which has the nice bonus
of being next to the similar `C-c C-;`, and being nicer.
2022-04-12 02:32:20 +02:00
Itai Y. Efrat
8d8ec41c5c docs(agda): document +local flag 2022-04-12 02:31:50 +02:00
Henrik Lissner
7121e993ca
bump: :completion
PythonNut/helm-flx@6640fac5cb -> PythonNut/helm-flx@27dd9e3ce3
abo-abo/swiper@c97ea72285 -> abo-abo/swiper@764e0d35ba
company-mode/company-mode@073aef72dd -> company-mode/company-mode@1005540b1c
emacs-helm/helm@5b17313011 -> emacs-helm/helm@1003539c2e
minad/consult-flycheck@0ad7e8ff15 -> minad/consult-flycheck@9b40f136c0
minad/consult@473e6585c5 -> minad/consult@36b8bc7065
minad/marginalia@e63d27e6fb -> minad/marginalia@a514c024ac
minad/vertico@a92b1e47ff -> minad/vertico@7ec0f0c076
oantolin/embark@06d5caafd5 -> oantolin/embark@2890e535f5
oantolin/orderless@f2c78c4a60 -> oantolin/orderless@8f64537f55
2022-04-08 02:52:54 +02:00
Henrik Lissner
4538225fc5
fix(javascript): void-function typescript-tsx-mode
Caused when you have :lang web disabled, but :lang javascript enabled.
This is a stopgap until I decide what to do with typescript-tsx-mode.

Fix: #6243
2022-04-08 02:51:50 +02:00
Henrik Lissner
f2f583bfb7
fix: :load-path throwing error in org-src blocks
Because src blocks don't provide a valid load-file-name or
buffer-file-name, dir! cannot resolve the current file's path.

Fix: #6241
2022-04-08 02:51:50 +02:00
Gavin Downard
499cf5e626 tweak(ivy): use helpful for counsel descbinds
`counsel-describe-symbol-function' still doesn't use `helpful-symbol'
because `helpful-symbol' throws up a prompt when the symbol refers to
both a function and a variable.
2022-04-06 20:40:26 +02:00
Henrik Lissner
fd991026ff
fix: void-function doom-partial
Fix: #6259
2022-04-06 18:45:06 +02:00
Henrik Lissner
8e33d2d04a
refactor(ibuffer): +ibuffer/visit-workspace-buffer 2022-04-06 18:45:06 +02:00
Christoph Rauch
065e005db9 fix(org): #+ constructs hidden forever
Leaving org-tree-slide-mode did not unhide #+ constructs.
Now +org-present-hide-blocks-h is triggered when leaving the mode as
well, fixing the behaviour.
2022-04-06 18:39:12 +02:00
Ellis Kenyő
6bbf837c9f fix(graphql): remove *Messages* spam
The faces were defined wrong, so every time a buffer came into focus, it
would spam *Messages*.
2022-04-06 14:31:45 +02:00
Joao Azevedo
b42d7afd9a
fix(default): replace vertico-repeat w/ vertico-repeat-last
vertico-repeat was replaced by vertico-repeat-last.

Amend: 0e802f4653
2022-04-05 00:05:31 +02:00
Henrik Lissner
86a8b41e37
refactor(beancount): +beancount/clone-transaction 2022-04-03 20:51:54 +02:00
Henrik Lissner
c309e61eff
feat(ibuffer): switch to buffer in its workspace
Adds +ibuffer/visit-workspace-buffer, which will switch to a buffer's
containing workspace before switching to the buffer. This will prompt if
a buffer is present in multiple workspaces. If given the prefix
argument, it will auto-select the first workspace.

Fix: #5061
Close: #5351
Co-authored-by: petr-tik <petr-tik@users.noreply.github.com>
2022-04-03 20:51:54 +02:00
Henrik Lissner
e9c088cf3b
refactor(ibuffer): move workspace functions 2022-04-03 20:51:54 +02:00
David Lukes
9e79aa3446
tweak(org): fold all sections on zm in org-roam buffer 2022-04-03 20:47:14 +02:00
Henrik Lissner
d35157ce50
fix(lib): void-variable var
Caused by a typo introduced in cf362bc.

Fix: #6240
Amend: cf362bc1a0
2022-04-03 20:06:58 +02:00
Ellis Kenyő
4da450ffd7 module: add :lang graphql
This module enables GraphQL[1] usage within Doom with extended
functionality.

[1] https://www.graphql.org
2022-04-03 16:38:57 +02:00
Henrik Lissner
e8c22c770b
docs(emacs-lisp): remove sharp-quoted example for add-hook!
add-hook! is advertised to be able to add multiple hooks using a
function-quoted list of functions, but add-hook! never actually
supported this. Rather than correct the implementation, I'm correcting
the documentation instead, because sharp-quoting lists betrays the
semantics of the sharp-quote. Quoted lists should still work fine
though (as documented in add-hook!'s docstring).

Close: #5843
2022-04-03 14:58:35 +02:00
Daanturo
7ada538991 perf(lookup): defer consult-xref
`consult-xref` is autoloaded anyway. There are some packages that
require `xref` (such as lispy through requiring etags) so without
deferring, loading those packages may cause `consult.el` to be loaded.
2022-04-03 14:22:10 +02:00
Henrik Lissner
d7ad4daf32
dev: fix license start year
The LICENSE file was added in dd2ccf407d (Mar 2016), but the first
commit of this project is 2b24ef90c1 (2014) and actual development
began in 2013, predating its git history, so I'm correcting this to
reflect how long Doom's been publicly available.

Unfortunately, this means I need to get permission from all my
contributors between 2014 to May 2016 to "re-release" their work with
the MIT license. Took a lot of negotiation, but I finally got the green
light from them all. For posterity, I'll list them here:

- Me

It's no secret that I have a tenuous relationship with the people on
this list, but Doom (and this monumental commit) wouldn't be possible if
they left the house, had social lives, or attended any of their custody
hearings.

Ref: dd2ccf407d
Ref: 2b24ef90c1
2022-04-01 19:12:47 +02:00
Henrik Lissner
2b39e41368
release(modules): 22.04.0-dev
Eventually, our modules will move to their own repos (doomemacs/modules
and doomemacs/contrib-modules). Once done, it will formally adopt the
CalVer versioning scheme (Doom's core will stick to SemVer -- these
decisions will be better explained later). These mini-releases won't
mean much until this happens, hence the -dev suffix.
2022-04-01 19:12:35 +02:00
Henrik Lissner
cf79616202
fix(cli): remove debug error call in 'doom version'
Accidentally snuck into dcae7187b4.

Amend: dcae7187b4
2022-04-01 19:12:35 +02:00
Henrik Lissner
6f8b83b884
refactor(default,python): move smartparens config
Ref: 41cbb1fe7b
2022-04-01 19:12:35 +02:00
Egidijus Z
d54462fe6d fix(vertico): vertico-resume to vertico-repeat. 2022-04-01 18:57:41 +02:00