Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    madhu
    @m4zzz

    But I can't seem to M-x like in emacs

    that is, I can't type commands.

    madhu
    @m4zzz

    I found that setting "left option key" to "Esc+" instead of "meta" in the iterm2 preferences allows me to generate a meta key event. Huzzah!

    This works.
    Thanks!

    madhu
    @m4zzz
    The variable LEM:*IMPLEMENTATION* is unbound
    This is the error i got after (swank:create-server :dont-close t)
    Any ideas about what caused this?
    Shinichi Tanaka
    @t-sin
    How do you boot lem?
    madhu
    @m4zzz
    from a terminal
    installed via roswell
    Shinichi Tanaka
    @t-sin
    oh. It seems normal way.
    @cxxxr How do you think about?
    madhu
    @m4zzz
    Screen Shot 2020-11-29 at 12.48.14 PM.png

    This is the error

    This is the error i got after (swank:create-server :dont-close t)

    There's something here.
    But I can't understand japanese
    Shinichi Tanaka
    @t-sin
    That window is slime on lem. You want to create-server in slime?
    Or it's emacs?
    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.