question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't work with latest Emacs git master?

See original GitHub issue

This is a kinda of … opaque bug, I know, but I just recently rebuild my Emacs from latest git sources with “everything” enabled:

cd build/emacs
git checkout master
git pull
make distclean
./configure --with-imagemagick --with-json  ^Cwith-native-compilation --with-xwidgets -with-xinput2
make -j6

I’ve nuked my $HOME/.emacs.d/elpa and reinstalled all packages.

And now everything works nicely… Except csharp-ls.

That is, other lsp-mode backends seems to work correctly (even omnisharp!), but csharp-ls fails to start and never provides any completions or anything. I’ve reinstalled csharp-ls (0.1.8) but to no avail. I’ve also tried downgrading to 0.1.7, but with no difference in behaviour.

So so far, the only significant change seems to be my Emacs build itself.

Could this be an issue with csharp-ls? Could this be an issue with how csharp-ls is registered/used in lsp-csharp? Anyone have any ideas?

Can anyone else reproduce this at all? 😄

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:39 (23 by maintainers)

github_iconTop GitHub Comments

3reactions
razzmatazzcommented, Feb 13, 2022

ok, status update:

2reactions
razzmatazzcommented, May 10, 2022

closing as the fix has been merged with the latest emacs (both master and emacs-28) and we have a workaround applied in lsp-csharp.el in lsp-mode

ATM we only need this workaround on `emacs-28.1/macos" – emacs-28.2/macos will include the fix too when released later; emacs-28.1/linux still used the old vfork mechanism for subprocesses, so no workaround is needed there

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do you stay up to date with latest emacs version?
I use homebrew on mac OS to build emacs from git master build. I use this command: brew install emacs --HEAD --with-gnutls --with-librsvg ......
Read more >
"git pull origin master" is opening emacs since I installed ...
It happens on pull if the pull results in a "true merge" (i.e. new commits from upstream that are not rebased and onto...
Read more >
Error when loading new version of org mode
When I run org-version , I get 9.1.9 , instead of the 9.3.3 from the master branch; yet I don't have this problem...
Read more >
repos that have renamed "master" branch to "main" must ...
doom upgrade (and I presume doom update) aborts if upstream has changed the default branch name (for example, from master to main).
Read more >
Working with Git from Emacs - Alex Ott
The git-emacs package allows to create new repositories using two different ways — by cloning existing repository, or by importing files from the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found