Commit graph

16901 commits

Author SHA1 Message Date
yuuyins
8e4381f0cf
fix: gitignore 'places' and 'transient/' in $EMACSDIR
Fix #5434
2021-09-11 12:54:21 +00:00
Henrik Lissner
f9c5b44623
merge: pull request #5449 from iyefrat/mu4e-docfix
docs(mu4e): fix msmtp config in readme
2021-09-11 14:50:26 +02:00
Henrik Lissner
c44aacb319 fix(rss): disable ligatures in elfeed list buffers
Ligatures were interfering with font-lock in elfeed search/show buffers.

Fix #3391
2021-09-11 14:26:45 +02:00
Henrik Lissner
48239aeb97 fix(cli): git version check on Windows
Of course Git on Windows produces '2.33.0.windows.2'. Why wouldn't it?
2021-09-11 14:26:45 +02:00
Henrik Lissner
ff62412c11
merge: pull request #5463 from lexa/develop
bump!: :emacs vc
2021-09-11 14:26:11 +02:00
Aleksei Fedotov
accffb8f5e bump!: :emacs vc
rmuslimov/browse-at-remote@e02ad2189c -> rmuslimov/browse-at-remote@cef26f2c06

BREAKING CHANGE: browse-at-remote-remote-type-domains is replaced by
browse-at-remote-remote-type-regexps. If you have a custom domain
configured replace:

    (add-to-list 'browse-at-remote-remote-type-domains
      ("git.example.com" . "github")

with

    (add-to-list 'browse-at-remote-remote-type-regexps
      ("^git\\.example\\.com$" . "github")

Added support for Gittiles.

Shortlog:

Jack Rosenthal (3):
      Add support for Gitiles
      Fix broken tests
      More permissive regex in browse-at-remote--gerrit-url-cleanup

Rustem Muslimov (2):
      Fix broken merge
      Fix savannah gnu message

rmuslimov (3):
      Merge pull request #78 from jackrosenthal/gitiles
      Merge pull request #80 from jackrosenthal/broke_tests
      Merge pull request #81 from jackrosenthal/regex
2021-09-09 17:22:29 +02:00
Itai Y. Efrat
777783c144 docs(mu4e): fix msmtp config in readme
- requires being in an (after! mu4e ...) to work
- minor fixes
2021-09-04 16:09:26 +03:00
Henrik Lissner
bf8495b412 fix(org): epdfinfo error when storing/exporting links
Here's the problem:

1. Org's link system unconditionally calls *all* link :store handlers
   when you call `org-store-link`, and all :export handlers when you
   export an Org file.
2. The org-pdftools package works by defining a custom pdf: link with
   custom :store and :export handlers.
3. Those handlers do not perform error handling before using pdftool's
   API.
4. pdf-tools fails loudly and ungracefully with a
   "pdf-info-epdfinfo-program is not executable" error when its API is
   used and epdfinfo isn't installed.

TL;DR org-pdftools effectively breaks storing/exporting in org-mode
until pdf-tools-install is executed to install epdfinfo. This is awful
UX, so let's suppress the error.
2021-08-22 01:41:26 -04:00
Henrik Lissner
265e19a405 fix(vertico): +vertico/jump-list failing to jump
Prior to this fix this command would error out because of incorrect
expectations wrt consult--read's return value.
2021-08-21 03:29:13 -04:00
Henrik Lissner
277a376b43 fix(default): don't override S-RET/C-j in occur buffers
These keybinds were too wide-reaching. I can only consider them
reasonable defaults for evil users, not vanilla users.

Fix #3953
2021-08-16 17:16:30 -04:00
Henrik Lissner
c298dc3ac7 refactor(doom-quit): distinguish flavor text in quit prompts
Makes it easier to tell apart flavor text from the actual prompt.
2021-08-16 15:01:22 -04:00
Henrik Lissner
d88948f764 fix(file-templates): github user in elisp packages 2021-08-16 11:36:09 -04:00
Kiran Shila
782de48e0b
feat(doom-quit): add message from Sid Meier's Alpha Centauri
I loved the idea, so I added it :)

Fix #5373
Close #5375
2021-08-14 21:50:50 -04:00
Henrik Lissner
462bfb9693 fix: doom/reload runs remotely in tramp buffers
When run in a remote buffer, `doom sync` is executed on the remote host,
which is not intended behavior.

Fix #5378
2021-08-14 02:29:46 -04:00
Henrik Lissner
9b177957f8 dev: insist on pastebin for sysinfo in issue forms 2021-08-14 02:24:32 -04:00
Henrik Lissner
c0c64738cb dev: remove placeholder titles form issue forms
Too many people not modifying the title and now my inbox is full of
"Briefly summarize your issue" issues. At least when it's blank by
default, Github won't let you submit it until you fill it out.
2021-08-12 19:31:52 -04:00
Daanturo
14f9289998
fix: wrong-number-of-args error in doom/reload-env
Close #5368
Ref 9687c04a84
2021-08-12 12:26:56 -04:00
Henrik Lissner
9687c04a84 fix: doom/reload 404ing on executables
Half-reverts c2c6a64, which tried to get doom/reload to regenerate the
envvar file from within Emacs, but running an environment scraper in a
bare environment is really hard to get right. Ideally, your shell config
should set up your environment, but there are too many edge cases or
poor configs in the wild to depend on this.

I've brought back doom/reload-env, but only to reload the envvar file
-- *not* regenerate it. I've given up on trying to do that from within
Emacs.

Fix #5344
Ref c2c6a64118
2021-08-11 01:50:42 -04:00
Henrik Lissner
2c4328ccf0 fix: flipped logic in tramp + projectile advice
Some logic derps from 0b5243c. Also restores
projectile-git-submodule-command in remote buffers (to fix a
wrong-type-argument error waiting to happen).

Ref 0b5243c12c
Ref #5360
2021-08-10 17:32:34 -04:00
Henrik Lissner
0b5243c12c perf: optimize tramp + projectile integration
Reduce how much projectile hits the server in TRAMP buffers by:

- Not looking for fd/fdfind (just use the VCS-specific commands
  projectile provides and assume they're present on the remote).
- Not walking up the directory tree to display the project name in the
  mode line.
- Reducing TRAMP file-cache misses.
- Reducing how chatty tramp is about its connections.

Fix #5360
2021-08-10 17:10:42 -04:00
Henrik Lissner
44412955cc dev: warn about modifying doom/info in issue form
The user's doom/info is essential information for debuggin issues.
Please don't modify or omit parts of it. Of course, feel free to remove
sensitive information, but do so selectively. The more you omit, the
less I have to work with.
2021-08-10 17:10:42 -04:00
Henrik Lissner
13123c60e8 bump: :tools lsp debugger
emacs-lsp/dap-mode@01d92978d8 -> emacs-lsp/dap-mode@d472a6c937
emacs-lsp/lsp-mode@fe1bf85523 -> emacs-lsp/lsp-mode@32d34445f3
joaotavora/eglot@5cc8df63d8 -> joaotavora/eglot@194b178ef4

Ref emacs-lsp/dap-mode#487
2021-08-10 17:10:42 -04:00
Nham Le
6678f3833b
fix(lsp): explicitly set xref handlers for eglot
Otherwise a major mode's lookup handlers may take precedence (e.g. in
go-mode).

Close #5329
2021-08-06 03:50:33 -04:00
Henrik Lissner
e76f5388be fix: doom-system-cpus not handling int values
ce31880 did not fix doom-system-cpus on msys2 builds because the
function didn't handle integer return values from any of its code
paths (which formerly returned strings or lists).

Ref ce31880ccc
Fix #5347
2021-08-06 03:44:34 -04:00
Robert Irelan
ff356e9c37
fix(org): error trying to kill dead agenda buffers
It may happen that org-agenda-new-buffers contains a killed buffer.
2021-08-06 03:18:47 -04:00
Itai Y. Efrat
891628379d docs(mu4e): minor readme fixes
- use links instead of ~code~ markup for early project mentions
- fix install matrix
2021-08-06 03:16:52 -04:00
Itai Y. Efrat
78a75608bd docs(notmuch): fix links in readme 2021-08-06 03:16:52 -04:00
Henrik Lissner
1352f8a9aa fix: args-out-of-range when cleaning project cache
Caused when the key of a cached project is an empty string.

Fix #5345
2021-08-06 03:13:36 -04:00
Henrik Lissner
ce31880ccc fix: doom-system-cpus returning 1 on msys2 build
Fix #5347
2021-08-06 03:08:33 -04:00
Henrik Lissner
6c52e33302 fix(evil): don't load help.el twice
a2a128d3 changed prefix-help-command to use embark. This commit fixes
prefix-help-command getting reset to describe-prefix-bindings due to
help.el setting it at top-level because it is eventually loaded twice
due to defer-feature!, which removes a symbol from emacs' list of loaded
features.

Ref a2a128d3a5
2021-08-05 21:24:01 -04:00
Henrik Lissner
f5570db4c2 perf(markdown): fontify-code-blocks-natively = nil
This is a source of slowdowns in markdown-mode buffers, even
ones without code blocks, which drastically affects typing and motion
latency. This appears to be an upstream issue.
2021-08-05 16:31:07 -04:00
Henrik Lissner
a2a128d3a5 tweak(vertico): prefix-help-command = embark-prefix-help-command
Embark's interface of prefix-help-command is so vastly superior to the
original prefix-help-command that it makes good sense that it be a
default.
2021-08-05 12:54:37 -04:00
Henrik Lissner
24866a17ee fix: void-variable arg error from doom/reload
Some leftover code from the doom/reload-env, which was removed in
c2c6a6411.

Ref c2c6a64118
Fix #5344
2021-08-05 12:54:37 -04:00
Henrik Lissner
abc16ef68c refactor(cli): make all searches case-sensitive
This is more predictable, and is safe as a global default in CLI
sessions (but not in interactive ones). This indirectly fixes case
insensitivity in our commit linter rules.
2021-08-05 12:53:20 -04:00
Henrik Lissner
a3f917c42d dev: fix off-by-one for line length rule 2021-08-04 10:46:10 -04:00
Henrik Lissner
f74debdea8 fix(mu4e): remove forced dependency on doom-themes
Fix #5340
2021-08-04 01:53:12 -04:00
Henrik Lissner
045ea7460d nit: revise and reformat code comments 2021-08-04 01:53:12 -04:00
Henrik Lissner
2467729035 tweak: fill-column = 80 for project
This is to prevent incorrect line length in code/doc contributions from
users who have changed fill-column in their own configs.
2021-08-04 01:53:12 -04:00
Henrik Lissner
06392a723f refactor: rename orig-fn arg in advice to fn
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04:00
Henrik Lissner
12732be155 feat: don't delay when opening auto-saved files
If a file has auto-saved data (see auto-save-default), after-find-file
will stop the world for 1 second to tell you about it. Very annoying.
Just log it to *Messages* and open the file immediately.
2021-08-04 01:53:12 -04:00
Ralf Beckmann
0df8d78bd7 docs(mu4e): explain how to fetch/sync mail in other ways
Add explanation on how to use other backends that are neither mbsync
nor offlineimap.
2021-08-03 23:04:38 -04:00
Ralf Beckmann
2fa7bee91f docs(mu4e): remove reference to non-existing variable
The variable +mu4e-mu4e-mail-path is not present in the codebase.
2021-08-03 23:04:38 -04:00
Ralf Beckmann
451afea47b docs(mu4e): clarify impact of user-full-name
The variable is not really required. It seems to be only used by mu4e
to determine the contents of the FROM field when composing mail.
2021-08-03 23:04:38 -04:00
Henrik Lissner
77f78f0df3 revert: Fix #5215: mix snippets with completion candidates
The sorting of these two backends are counter-intuitive in this
configuration, but I don't want to place the snippets in front of the
more meaningful capf results as suggested in #5215. A better solution is
needed, but for the time being this will do.

Fix #5262
Ref #5215
Revert ba716d69f0
2021-08-03 23:02:11 -04:00
Henrik Lissner
ab7517c2d9 dev: run triage workflows twice daily instead
They were occasionally rate limited at once-an-hour.

Ref 3227573350
2021-08-03 23:00:43 -04:00
Henrik Lissner
c2c6a64118 fix: doom/reload now regenerates the envvar file
Removes doom/reload-env, now that it is redundant.
2021-08-03 23:00:43 -04:00
Henrik Lissner
3beff3133f dev: refactor, fix, and add rules to commit linter
- Conform commit linter to 50/72 rule
- Add linter rule for body line length; excludes the footer and lines
  with long URLs.
- Add linter rule for validating scopes are in lexical order.
- Add linter rule for validating footer refs.
  Footer references should reference one thing per line. That thing can
  be one of:
  - An URL.
  - An issue or PR reference (local or remote).
  - A 12-character commit hash (local or remote).
- Extend linter to detect new scopes for docs:
  - Commits of type 'docs' can now use these additional scopes (in
    addition to other possible scopes):
    - docs(install) -> for changes to our installation guide(s). It is
      expected for this to change so often that it has its own scope.
    - docs(X) -> where X is the basename of any org file in docs/*.org.
      e.g.
      - docs(index): ...
      - docs(modules): ...
      - docs(faq): ...
- Modify the scope checker to consider *any* parenthetical scope given
  for bump, revert, merge, module, or release commits to be invalid.
- Update bump commit linter for 12c hashes (see 3bedae38dd).
- Fix language in imperative ref linter warning.

Ref https://discourse.doomemacs.org/how2commit
Ref 3bedae38dd
2021-08-03 23:00:43 -04:00
mwmajewsk
02c578f95c
docs: add emacs26 removal for ubuntu to install guide
In some cases, ubuntu may contain a preinstalled version of Emacs26,
which cannot be simply removed with "sudo apt remove emacs", and needs
additional "sudo apt autoremove" to properly uninstall emacs26. Only
this will result with the command "emacs" opening other version than
emacs26.

Ref https://unix.stackexchange.com/a/84488
Close #5336
2021-08-03 10:49:33 -04:00
Rudi Grinberg
dd55ebb67a
module: add :lang dhall
Close #4791

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-08-03 01:51:31 -04:00
Henrik Lissner
199fde526e dev: link commit convention guide in PR template
Also clarify the rest of the criteria for concision.
2021-08-02 23:46:44 -04:00