by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Sean Perry
    @shaleh
    Just remember it merges into the branch and not master.
    Harry Fei
    @harryfei
    Shall we have a new IDEFUN macro instead of IGNORE_RUST_PORT
    The IDEFINE(Fzlib_decompress_region ... macro will make the c lisp function compiled into __c_Fzlib_decompress_region
    Harry Fei
    @harryfei
    Then, we can add a new attribution in rust macro #[lisp_fn(..., use-old-c-impl=true)] which make the ported function to use __c_Fzlib_decompress_region as underlying implementation.
    It would be helpful for debugging.
    Daniel Brooks
    @db48x
    @harryfei: that is an interesting idea
    Sean Perry
    @shaleh
    Why would we want to do that?
    Oh. You are suggesting we could keep both alive and switch to the C version with a change to the Rust function definition. Hmmmm...
    I am almost done with a port to the newest Syn package. Adding new parameters should not be too hard.
    Harry Fei
    @harryfei
    Just a idea, not certain whether it's really helpful.
    Sean Perry
    @shaleh
    It is interesting. One of the reasons I suggested wrapping the C DEFUNs in ifdef is we can flip between the two easily.
    Uros Nedic
    @urosn
    /Library/Developer/CommandLineTools/usr/bin/make -C ../lisp compile-first EMACS="../src/bootstrap-emacs" ELC emacs-lisp/macroexp.elc
    /bin/sh: line 1: 7684 Killed: 9 EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile emacs-lisp/macroexp.el
    make[2]: *** [emacs-lisp/macroexp.elc] Error 137
    make[1]: *** [bootstrap-emacs] Error 2
    make: *** [src] Error 2
    I am getting this error when I do make.
    Sean Perry
    @shaleh
    Have you made any code changes?
    Uros Nedic
    @urosn
    @shaleh I did not. Just did clone from github.com repo.
    Daniel Brooks
    @db48x
    probably an oom or other similar condition
    Uros Nedic
    @urosn
    @db48x What do you suggest to do step-by-step?
    Daniel Brooks
    @db48x
    well, if it's being killed because your computer is out of memory, then you need more memory
    or you need to close other applications that are using memory while the build is happening
    or potentially both
    Uros Nedic
    @urosn
    I do have 16GB of RAM. Everything is closed.
    Daniel Brooks
    @db48x
    then you'll need to monitor the build process to see what's going wrong
    Sean Perry
    @shaleh
    hmmm interesting. I just pulled and built it from scratch to double check. No issues for me.
    16GB of RAM should be plenty. that is what this MacBook pro has.
    I have docker, 100 chrome tabs, slack, and more active.
    Uros Nedic
    @urosn
    @saleh Can you write step-by-step (from GitHub.com clone to running) commands you wrote in Terminal?
    Sean Perry
    @shaleh
    @urosn sure, for which thing do you need steps?
    Uros Nedic
    @urosn
    @shaleh for compiling remacs on macOS Catalina. Version I can work (not develop), it is release branch, I think.
    Daniel Brooks
    @db48x
    @urosn, I don't use OSX, but git clone followed by ,/autogen.sh && configure && make -j ought to work
    @urosn, a similar question showed up on StackExchange recently
    Daniel Brooks
    @db48x
    one of the commenters made a suggestion that I think is a good one
    run ulimit -s to see what the maximum stack size is configured to
    on my machine it's configured to 8 MB
    Sean Perry
    @shaleh
    Remacs has other issues on new MacOS. See the bug tracker. Even if you get it built, the GUI is problematic. It works ok in text mode.
    Work is finally settling out from COVID insanity so I should be able to get back to working on fun stuff like remacs again.
    once we get to a place where we function properly on MacOS, we can look at adding a configure check for any needed extra configuration like ulimit if the upstream emacs people have not added it already.
    Harry Fei
    @harryfei
    333.png
    Webrender GUI...
    Daniel Brooks
    @db48x
    that's looking really good
    Harry Fei
    @harryfei
    I think it's easy to be re-ported into MacOS.
    Daniel Brooks
    @db48x
    @harryfei, how does it currently differ from the non-webrender gui?
    Harry Fei
    @harryfei
    No cursor, no image, bad performance
    Daniel Brooks
    @db48x
    :D
    Harry Fei
    @harryfei
    Maybe some minor UI differences
    I will use it for my daily programming if I fix the performance issue.
    Daniel Brooks
    @db48x
    what do you think causes the performance problem?
    Harry Fei
    @harryfei
    I think these are some necessary GUI callbacks I need to implement(some callbacks are ignored in current version)
    I wish we can get a more workable GUI on MacOS with the webrender intergration.
    Currently, I built it on Linux platform.
    brotzeit
    @brotzeit
    @harryfei nice