• Massive-Squirrel-255@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      I downloaded the source code for emacs and compiling it locally with the --with-pgtk flag. (And --with-native-compilation for better performance)

      That made my life improve a lot.

      • glgmacs@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        You can also install pgtk emacs directly from snaps when under Ubuntu in wsl, if you prefer.

        • Massive-Squirrel-255@alien.topB
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 months ago

          I get a warning when compiling emacs from source with the pgtk flag telling me about a known bug in my version of gtk that causes problems when opening and closing multiple emacs instances. Do you know anything about this? In particular would it be resolved by switching to the snap?

    • teaspoonzzz@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      Yep that’s what finally caused me to switch to using Emacs on WSL2 (instead of the Windows build). Then you can also get rid of that ugly white border from WSLg.

      • pekudzu@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        any details on that white border stuff? pgtk didnt autofix it for me in the past and id love to not have it searing my eyes

  • db48x@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    Just run the native Windows binary of Emacs. It uses the native Windows font rendering APIs, so the text should end looking the same as it does in other Windows applications (assuming it’s the same font and size, of course). The Linux version that you’re running uses a completely different font renderer, so it will be very hard to make it match exactly.

    • Kwisacks@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      I don’t know much about wsl but they probably want to develop on headless linux why still being able to use GUI Emacs.

        • Kwisacks@alien.topB
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 months ago

          It actually is, you can’t run a desktop enviroment with it for example but it does let you open linux gui apps to be used from windows.