Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    David DeSimone
    @DavidDeSimone
    I'm going to make a push on windows tonight - same idea as last time, if I can get it working, I am going to upload a precompiled binary for now so people can try it, and document the general build steps
    but no CI integration
    Ivan Yonchovski
    @yyoncho
    Btw I did some benchmarking on forge package, because it seems like is slower than what I would expect. It turned out that it is slow due to sql layer
    David DeSimone
    @DavidDeSimone
    forge package?
    Ivan Yonchovski
    @yyoncho
    forge is a fronted for github
    it allows you to browse PRs
    David DeSimone
    @DavidDeSimone
    ah, gotcha
    Ivan Yonchovski
    @yyoncho
    Issues and so on.
    (defvar db (emacsql-sqlite "company.db"))
    (emacsql db [:create-table people ([name id salary])])
    (emacsql db [:insert :into people
                         :values (["Jeff"  1000 60000.0] ["Susan" 1001 64000.0])])
    (emacsql db [:select [name id] :from people])
    => (("Jeff" 1000) ("Susan" 1001) ("Jeff" 1000) ("Susan" 1001))
    the good thing is that everthing in emacssql is defgeneric
    David DeSimone
    @DavidDeSimone
    LNK1189 "library limit of 65535 obj exceeded"
    Ivan Yonchovski
    @yyoncho
    @DavidDeSimone you had somewhere sqlite example?
    Ivan Yonchovski
    @yyoncho
    NVM, the sqlite example from their docs is good enough
    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