Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Ivan Yonchovski
    @yyoncho
    @DavidDeSimone what is the right way to do this:
    lisp.setq(lisp.symbols.my_result, new DB("test.db"));
    
    lisp.defun({
        name: "db",
        func: (db) => {
            return Array.from(db.query("SELECT * FROM people"));
        }
    });
    is there a way to wrap js object, pass it to elisp layer and then unwrap it in the opposite direction?
    David DeSimone
    @DavidDeSimone
    Thats a case i want to improve on. For now, you can place DB in a javascript array, set my_result to the index into that array, and then have the db function access that array via the index
    Ivan Yonchovski
    @yyoncho
    This is what I ended up doing
    johann bestowrous
    @jobez
    hey all--how involved would it be if i wanted to incorporate this rust org parser into emacs-ng https://github.com/PoiScript/orgize? is there any relevant examples/resources that can walk me through how to do this?
    petr-tik
    @petr-tik
    If you want to integrate the parser for syntax highlighting, a more interesting approach would be to integrate tree-sitter and define a grammar for org-mode files
    brotzeit
    @brotzeit
    @jobez I think that's pioneer work...we can help you to define lisp functions in rust, but I don't think we have any org-mode experts here
    however I really like the idea :+1:
    @petr-tik your idea also sounds great, but I don't know anything about tree-sitter...@yyoncho mentioned implementing it
    would be great...
    petr-tik
    @petr-tik
    I can understand how the rust org parser can help when exporting org files to other formats though
    And then export could be done in native code
    Kevin Krausse
    @kevonavin
    is there a distro out I can download to run on mac catalina? Building it has kind of been annoying
    1 reply
    brotzeit
    @brotzeit
    AFAIK we unfortunately don't have binaries for mac somewhere to download
    @kevonavin is it really that bad ? I thought it should be enough to run make
    but I'm building it all the time...
    Kevin Krausse
    @kevonavin
    oh yes, I should stipulate that I'm trying to compile --with-nativecomp to use doom. I haven't been able to build GCC with libjit support.
    without nativecomp worked :)
    brotzeit
    @brotzeit
    hmmm I think we should have a step by step guide that explains how to install all requirements on each platform
    Eric Dallo
    @ericdallo
    Hey guys, I'll start building the docs infra for the emacs-ng documentation, sorry for the delay
    My idea is do the same I did for emacs-lsp and clojure-lsp, is that work for you?
    I'd need to create a new repo for the docker image of the documentation with the plugins for mkdocs-material etc, like here
    and then open a PR with the documentation pages inside a docs folder on emacs-ng root
    Also, what is your suggestion on the webpage main colors? like the purple we have for emacs-lsp
    Eric Dallo
    @ericdallo
    Oh it'd be nice to have a logo or something like that :sweat_smile:
    Ivan Yonchovski
    @yyoncho
    @ericdallo I think it is your call.
    brotzeit
    @brotzeit
    @ericdallo you have the most experience here regarding generating docs
    looks pretty nice what you did for lsp-mode ;)
    Eric Dallo
    @ericdallo
    Thank you :)
    I'll keep working on that so
    Eric Dallo
    @ericdallo
    Eric Dallo
    @ericdallo
    We now have a homepage for our docs :tada:
    https://emacs-ng.github.io/emacs-ng/
    David DeSimone
    @DavidDeSimone
    Hello team
    sorry for being radio silent, ive been on a business trip and havent had much time/connectivity
    wanted to oer
    Wanted to say im still alive and should have a new PR shortly with what ive been working on offline
    Murilo Pereira
    @mpereira
    @ericdallo looks great!
    Eric Dallo
    @ericdallo
    Thanks :)
    brotzeit
    @brotzeit
    @DavidDeSimone hey, glad you're alive ;)
    I thought you might need a break, I also just started working on the project again since I was a little frustrated when I realized that my work on magit-blame isn't worth much without also improving the libgit code
    kiennq
    @kiennq
    Are we still looking for creating precompiled binary for emacs-ng? I've created a Github workflow to automate the process for creating deb file here.
    brotzeit
    @brotzeit
    @kiennq absolutely, I think that's quite important...it seems people have issues compiling the project https://www.reddit.com/r/emacsng/comments/lmo4js/trying_to_build_emacsng/
    although I have no idea what could be the reason
    Murilo Pereira
    @mpereira
    emacs-ng is on the HN front page btw: https://news.ycombinator.com/item?id=26453174
    some "interesting" comments in the thread :poop:
    2 replies
    brotzeit
    @brotzeit
    every time the stargazer count goes up, I look at HN :D
    Ivan Yonchovski
    @yyoncho

    from reddit

    Yep, I would love to remove that part in my "emacs" script which detects big files with long lines and open them in sublime text.
    However, if this project somehow able to achieve that, then I promise to rewrite my 11k-lines config in JS just to spite u/ieure. LOL.

    brotzeit
    @brotzeit
    ^^
    Murilo Pereira
    @mpereira
    people with JavaScript aversion miss the point of embedding Deno so badly
    Ivan Yonchovski
    @yyoncho
    IMHO hating js is like hating assembly.
    Murilo Pereira
    @mpereira
    aye. I couldn't care less if I have to write JS if it gets me much better performance and unlocks great UI features