Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    madhu
    @m4zzz
    Yes.
    I want to hack on lem.
    So I followed these instructions.
    https://github.com/cxxxr/lem/wiki/How-to-hack-on-lem-itself
    That's how I got this error.
    Shinichi Tanaka
    @t-sin
    I got it.
    lem needs its "frontend", physical window abstraction, but lem has no emacs frontend so this error caused.
    madhu
    @m4zzz
    How should I fix this error?
    Shinichi Tanaka
    @t-sin
    wait, I check the instruction. I forgot to do that :innocent:
    Shinichi Tanaka
    @t-sin

    You should do like this:

    1. in terminal, run SBCL REPL via roswell with ros run
    2. (ql:quickload '(:lem-ncurses :swank)) in SBCL REPL
    3. (swank:create-server) in SBCL REPL
    4. (lem:lem) in SBCL REPL, then lem will be started
    5. in Emacs, start slime
    6. in slime, M-x slime-connect

    after this, you can see lem's symbols via Emacs slime!

    (why fails the wiki way...)
    madhu
    @m4zzz
    It works now!
    Thank you very much.
    vindarel
    @vindarel_gitlab
    Hello, I tweaked a command line argument in lib/core/lem.lisp. What's the best way to run Lem to try my change?
    Am I obliged to build it with ./bootstrap and ./configure or is there a way to run it as a script?
    thanks
    cxxxr
    @cxxxr
    There is no script unless you prepare it with ros init etc.
    For now, I think it's better to do ros install lem and then lem
    vindarel
    @vindarel_gitlab
    OK (and then ./lem, created at the project root).
    (having another issue when running ./lem, it finds an old version of ASDF somewhere in my filesystem)
    vindarel
    @vindarel_gitlab

    caught 1 fatal ERROR conditionvince/bacasable/asdf-sphinx-test/asdf.asd" and have an older version of ASDF (and older than 2.27 at that)

    but that asdf-sphinx-test directory does NOT exist O_o
    I tried a make clean.
    (BTW this error and the backtrace are displayed in the ncurses window, unusable then. I expected it to be on stdout)

    vindarel
    @vindarel_gitlab
    I can start Lem with a REPL with lem --eval "(lem-lisp-mode:start-lisp-repl)".
    However the window is split in two. How would you make the REPL fullscreen from the start?
    cxxxr
    @cxxxr
    I've just added an argument to start-lisp-repl
    (lem-lisp-mode:start-lisp-repl t)
    vindarel
    @vindarel_gitlab
    Very nice, thanks!
    achrafmam2
    @achrafmam2
    Hi everyone, I am new to the lisp world. I am doing a project on the side and I got to try roswell. But I am having problems setting up correctly with quicklisp
    Alexander Artemenko
    @svetlyak40wt
    @achrafmam2 Roswell initializes Quicklisp for you. If you want your software to have reproducible builds, don't use local-projects. Fix all requirements using Qlot's (https://github.com/fukamachi/qlot) qlfile.lock, or CLPM (https://gitlab.common-lisp.net/clpm/clpm) lock.
    achrafmam2
    @achrafmam2
    Sweet thanks @svetlyak40wt
    Quick question, what is the difference between SLIME and LEM?
    Alexander Artemenko
    @svetlyak40wt

    SLIME is a client-server protocol, CL library (called SWANK) and Emacs extension to communicate with CL process.

    Lem is Emacs reimplemented in Common Lisp. You can play with REPL connected to the Lem itself, or connect to a separate CL process, running SLIME server.

    There is also SLIME's fork called SLY (https://github.com/joaotavora/sly) which has cool features. I prefer SLY, but Lem is unable to connect to the CL process running SLYNK server (analog of SLIME's SWANK).

    Andrew
    @commander-trashdin

    I was trying to run lem via just quickloading it and (lem:lem). I get

    The value
      LEM-LISP-MODE.AUTODOC::LISP-INSERT-SPACE-AND-AUTODOC
    is not of type
      HASH-TABLE

    Is this normal?

    Andrew
    @commander-trashdin
    Apparently it comes from define-key-internal function where there's table which is not a hash-table at all.
    vindarel
    @vindarel

    Well done for the new release, Lem developers!
    I will party with you, even though I'll remark that there is no release notes in the Github release and that the Changelog was last changed 9 months ago ;)
    (you added a shell mode? Nice. What does it do?)
    A point on documentation I wanted to raise earlier: what about saying in the README that Lem supports other programming languages? I'd send a PR but I don't know enough their support status, and I'd send a big PR which may not be of the taste of Lem developers :p

    While I'm at it. I'd love to see more self-documenting features in Lem, à la Emacs. If there are some, they are not documented, so it slows Lem adoption down. Would it help to sponsor this specific issue on OpenCollective?
    Best regards

    Alexander Artemenko
    @svetlyak40wt

    I'd like to support @vinderl here.

    Yet, I think it might be useful to set up a separate quicklisp distribution for Lem plugins. I easily create such distribution at Ultralisp.org (recently I already did the same for LispWorks extensions (https://ultralisp.org/dists/lispworks).

    This way people will have a place to share Lem plugins. And it will be easy to make a list-plugins command.

    SANO,Masatoshi
    @snmsts
    @svetlyak40wt nice. I'm planning to make a binary distribution for lem (which you can download tarball and install) so that I can add that dist as default. though I don't know when I could do that.
    rndd-github
    @rndd-github
    hi everyone! just started to use lem. So, newbe question, how i can hide this blue box https://paste.pics/94147d4c3cb7e3ed23d9ffaf6a91b987
    jackiechun
    @jackiec93953201_twitter
    hi i'm trying to install on a raspi3 but not having much luck. bordeaux-threads seemed fine
    I also tried lem-opengl from quicklisp in sbcl and that failed as well
    sbcl is like 1.4
    this is what i get typing ros install lem-project/lem... http://paste.debian.net/1214337/
    jackiechun
    @jackiec93953201_twitter
    i tried that ros refused to install it
    says package QL does not exist.
    am i supposed to install CCL and QL myself or?
    arcsech
    @arcsech:matrix.org
    [m]
    I'm out of ideas. Generally roswell support for anything except SBCL isn't great. Maybe try installing CCL via your distro package manager and running lem from source?
    jackiechun
    @jackiec93953201_twitter
    i'll see if i can install CCL in that case or maybe just switch to my debian x86_64 box
    jackiechun
    @jackiec93953201_twitter
    ok i switched to a linux vm. still can't build lem from the git repo
    jackiechun
    @jackiec93953201_twitter
    it's having problem with esrap when installing sbcl-bin 2.1.1
    arcsech
    @arcsech:matrix.org
    [m]
    @cxxxr: I notice that a lot of the docstrings in Lem are in Japanese - I don't want to step on your toes, but would you accept contributions of English docstrings?
    Common Lisp doesn't exactly make i18n easy :p
    arcsech
    @arcsech:matrix.org
    [m]
    Maybe a solution to multiple-language docstrings could be a package that uses (setf documentation) to switch the docstring language when called?
    cxxxr
    @cxxxr
    Yes, I think it's better to use English too.
    Japanese is included because I'm not very good at English and can't express myself well.
    (This is also with the help of DeepL/google translation.)
    cxxxr
    @cxxxr
    I also believe that it is better to rewrite the Japanese text into English.
    arcsech
    @arcsech:matrix.org
    [m]
    Okay, thanks! I’ll probably throw together a PR or two this weekend then.