Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Harry Fei
    @harryfei
    The end user should get benefits when using emacs-ng instead of emacs
    Harry Fei
    @harryfei
    Enhancement of existing elisp app or new functionalities(apis).
    Many people want us to improve those things in GNU emacs. But I don't want to. Because the C language is not a productive programming language and the C code of GNU emacs is very dirty.
    Harry Fei
    @harryfei
    I think we can embed this into emacs-ng. Open the way to use machine learning model to enhance our programming experience.
    2 replies
    Harry Fei
    @harryfei
    Reggie
    @reggiemarr:bridge.monster
    [m]
    I think what makes emacs so great in general is all the things it supports outside of what is covered by most "IDE"s. AKA being able to view pdfs, write emails, update jira, and now send messages on matrix. But I do notice that in particular viewing pdf's and getting message updates can start to feel "heavy". I haven't done a good enough debugging job myself to bring this forward as an actual issue however it strikes me that in theory emacs-ng should be better equipped to support these things than traditional emacs (due to better support for async operators) imho this is one area where it would really shine as a favorable alternative.
    But that's just two cents from a frequent lurker, and as of yet, non-contributor so take that for what its worth
    Reggie
    @reggiemarr:bridge.monster
    [m]

    also, I frequently run into this problem when building

    find native-lisp -type d -exec /usr/bin/mkdir -p "/usr/local/lib/emacs/28.0.50/{}" \; ; \
    find native-lisp -type f -exec /usr/bin/install -c -m 644 "{}" "/usr/local/lib/emacs/28.0.50/{}" \;
    find: ‘native-lisp’: No such file or directory
    find: ‘native-lisp’: No such file or directory
    make: *** [Makefile:803: install-eln] Error 1

    In the past I've been able to get past it with make -C lisp all but not lately. Any idea what could be going wrong?

    Reggie
    @reggiemarr:bridge.monster
    [m]
    nvm I'm an idiot. I used ./confgure --with-native-compilation instead of ./configure --with-native-comp
    I used tokio to replace emacs' select!
    brotzeit
    @brotzeit
    nice
    Harry Fei
    @harryfei
    emacs-ng/emacs-ng#373 help to test this PR
    Harry Fei
    @harryfei
    emacs-ng/emacs-ng#373 anyone review this?
    David DeSimone
    @DavidDeSimone
    I was looking it over last night, submitted my review
    Harry Fei
    @harryfei
    Thanks, David
    gtrunsec
    @gtrunsec:matrix.org
    [m]
    @brotzeit: request to add one of the repo secret for nix binary cachix pushing. plz check your email.
    brotzeit
    @brotzeit

    what do you think about temporarily add a fork of lsp-mode to emacs-ng(like use-package and straight) and provide an optional feature "lsp-mode"(or something else) so users can give it try(it works, kind of)

    requests like hover and documentHighlight are working, but for other requests I get different errors like Input/output error or broken pipe(seems to differ with different servers)

    I think it doesn't make much sense to merge it into lsp-mode if it's only half functional and crashes every 10 minutes...when we maintain a fork we could improve the lsp-mode integration while fixing issues in emacs-ng, would make things easier

    1 reply
    Reggie
    @reggiemarr:bridge.monster
    [m]
    What languages have you tested this on?
    brotzeit
    @brotzeit
    I've tested it with clangd and rust-alanyzer
    ...I think now that we have use-package working, it should be easy to setup lsp-mode in emacs-ng.el
    brotzeit
    @brotzeit
    I mean straight
    Reggie
    @reggiemarr:bridge.monster
    [m]
    So this might be a noob question but I don't know if it fully get the implications of having straight.el setup
    brotzeit
    @brotzeit
    we can install packages + its dependencies
    means we can add features in emacs-ng and then optionally install elisp packages
    but I think this should only be done in special situations, like lsp enhancement
    Reggie
    @reggiemarr:bridge.monster
    [m]
    Hmm yeah I mean lsp is a pretty core component of my dev env so makes sense to me
    brotzeit
    @brotzeit
    @reggiemarr:bridge.monster we actually decided to not include lsp-mode in emacs-ng #98
    but we are trying to leverage lsp-mode by using emacs-ng async functionality
    so while these changes aren't merged into lsp-mode, it seems to make sense to include our modified lsp-mode, at least optional
    and this way it's also easier for me to get some help, it's complex stuff =)
    Harry Fei
    @harryfei
    Don't bundle too many packages.
    For lsp support, there are two projects: elgot vs lsp-mode
    People will ask: why lsp-mode, why not elgot?
    brotzeit
    @brotzeit
    I'm trying to find a way that avoids bundling
    and just install it by using straight
    when we fixed the issues with our lsp facilities we can provide interfaces that can also be used by eglot
    brotzeit
    @brotzeit
    ok I have to admit we would have to maintain a fork of lsp-mode, at least for some time
    brotzeit
    @brotzeit
    maybe I can also modify eglot so it works with emacs-ng...
    2 replies
    Oscar Vargas Torres
    @oscarvarto
    Hello! Does the nix-build depend on haskell? Or could it be that something else in my machine is calling ghc if I enter nix-shell in the repo?
    Oscar Vargas Torres
    @oscarvarto
    I executed update-emacsNg and update-master, and don't know if that interfered with my installation of nix. I am on Manjaro, not NixOS
    1 reply
    gtrunsec
    @gtrunsec:matrix.org
    [m]
    Sorry, I did't update the doc of nix-build. if you want to update the emacs-ng that you can try nix develop -c nvfetcher
    Reggie
    @reggiemarr:bridge.monster
    [m]
    Hi all, I've noticed development seems to have slowed a bit but I'm a big fan of the project and I have some rust experience so I'm going to try to lend a hand.
    I've been using emacsng as my daily driver for the most part for the last couple of months and theres a couple issues that I'm most interesting in helping fix or at least diagnose better.
    In particular I noticed significant lag when moving around buffers. This seems to get worse when more buffers are open and when distributed on a wide screen. It seems this is related to the effort described emacs-ng/emacs-ng#378
    Additionally some of the ui issues described emacs-ng/emacs-ng#347 (in particular misrendering child frames, and wrongly scaling images and pdfs) hamper the experience a bit. I can move to making comments on the issues themsevles but I thought I'd reach out here first to see if anyone is currently working on addressing these and how best I'd be able to help collaborate.
    Harry Fei
    @harryfei
    Personally, I haven't given up this project.
    Just be busy at my personal life recently.
    Reggie
    @reggiemarr:bridge.monster
    [m]
    Fair enough, I was just looking to help contribute, the webrender stuff seems neat but I'm not sure I understand the architecture too well