Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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.
    zx9w
    @zx9w
    Support for multiple languages is complicated but it's better to figure it out right from the start I suppose.
    arcsech
    @arcsech:matrix.org
    [m]
    I'm still intending to do this! Although it's taking a bit longer than the weekend, obviously. I came across https://github.com/Shinmera/multilang-documentation which we might be able to use (haven't dug in, just looks like the general problem we want to solve)
    vindarel
    @vindarel
    Hello, can we speak about Roswell here? I feel this question doesn't justify an issue.
    We were commenting the last E. Fukamachi post and there is a good question: https://www.reddit.com/r/Common_Lisp/comments/rvudky/day_3_roswell_common_lisp_scripting/ Knowing that it's easy to use one's own core image with for example sbcl --core mycore, is it possible to tell Roswell to use a custom core image inside a script, somewhere in exec ros -Q -- $0 "$@" ? The idea would be that one can build a core image with several libraries already loaded, so the script starts faster. Now how would Roswell know how to build the image, so that the script is still portable? That's something else… (maybe it could be installed separately with ros install mycore) I answered that ros build is here to speed scripts up by building an executable (but consequently, we loose a little bit of ease of use a script offers).
    Gavin Freeborn
    @gavinok:matrix.org
    [m]
    Has anyone played with the lsp features lately? only implemented spec that seems to work is go. Seems like all those using stdio don't function properly.
    for reference I am using lem 1.9.2-665c3f79
    When enabling rust mode I get the following
    The value
      "rls"
    is not of type
      CHARACTER
    when setting an element of (ARRAY CHARACTER)
    Backtrace for: #<SB-THREAD:THREAD "editor" RUNNING {1004655C63}>
    0: ((SB-VM::OPTIMIZED-DATA-VECTOR-SET CHARACTER) #<unavailable argument> #<unavailable argument> #<unavailable argument>)
    1: (REPLACE "^@" ("rls"))
    2: (SB-IMPL::PREPARE-ARGS ("which" ("rls")))
    3: (SB-EXT:RUN-PROGRAM "which" (("rls")) :ENV NIL :ENVIRONMENT NIL :WAIT NIL :SEARCH T :PTY NIL :INPUT NIL :IF-INPUT-DOES-NOT-EXIST :ERROR :OUTPUT NIL :IF-OUTPUT-EXISTS :
    4: (UIOP/LAUNCH-PROGRAM:LAUNCH-PROGRAM ("which" ("rls")) :INPUT NIL :OUTPUT NIL :ERROR-OUTPUT NIL :IGNORE-ERROR-STATUS T)
    5: ((LAMBDA (UIOP/RUN-PROGRAM::REDUCED-INPUT UIOP/RUN-PROGRAM::INPUT-ACTIVITY) :IN UIOP/RUN-PROGRAM::%USE-LAUNCH-PROGRAM) NIL NIL)
    6: (UIOP/RUN-PROGRAM::%USE-LAUNCH-PROGRAM ("which" ("rls")) :IGNORE-ERROR-STATUS T)
    7: (LEM-LSP-MODE/LSP-MODE::EXIST-PROGRAM-P ("rls"))
    8: (LEM-LSP-MODE/LSP-MODE::CHECK-EXIST-PROGRAM ("rls") #<LEM-LSP-MODE/LSP-MODE::RUST-SPEC {10076DBD53}>)
    9: ((:METHOD LEM-LSP-MODE/LSP-MODE::RUN-SERVER-USING-MODE ((EQL :STDIO) T)) #<unused argument> #<LEM-LSP-MODE/LSP-MODE::RUST-SPEC {10076DBD53}>) [fast-method]
    10: (LEM-LSP-MODE/LSP-MODE::ENSURE-RUNNING-SERVER-PROCESS #<LEM-LSP-MODE/LSP-MODE::RUST-SPEC {10076DBD53}>)
    11: (LEM-LSP-MODE/LSP-MODE::ESTABLISH-CONNECTION #<LEM-LSP-MODE/LSP-MODE::RUST-SPEC {10076DBD53}>)
    12: (LEM-LSP-MODE/LSP-MODE::ENSURE-LSP-BUFFER #<BUFFER tmp.rust /home/gavinok/tmp.rust> #<FUNCTION (LAMBDA NIL :IN LEM-LSP-MODE/LSP-MODE::ENABLE-HOOK) {10075E75DB}>)
    13: (LEM-LSP-MODE/LSP-MODE::ENABLE-HOOK)
    14: (LEM-LSP-MODE/LSP-MODE:LSP-MODE NIL)
    15: ((:METHOD LEM-BASE/HOOKS:RUN-HOOKS (LIST)) ((LEM-LSP-MODE/LSP-MODE:LSP-MODE . 0))) [fast-method]
    16: ((SB-PCL::EMF LEM:EXECUTE) #<unused argument> #<unused argument> #<LEM-RUST-MODE:RUST-MODE {10075E4D03}> NIL)
    17: (LEM:CALL-COMMAND LEM-RUST-MODE:RUST-MODE NIL)
    18: ((SB-PCL::EMF LEM:EXECUTE) #<unused argument> #<unused argument> #<LEM:EXECUTE-COMMAND {1006CD0113}> NIL)
    19: (LEM:CALL-COMMAND LEM:EXECUTE-COMMAND NIL)
    20: (LEM::COMMAND-LOOP-BODY)
    21: (LEM::COMMAND-LOOP)
    22: (LEM::TOPLEVEL-COMMAND-LOOP #<FUNCTION (LAMBDA NIL :IN LEM::RUN-EDITOR-THREAD) {1004F73E6B}>)
    23: ((LAMBDA NIL :IN LEM::RUN-EDITOR-THREAD))
    24: ((LAMBDA NIL :IN BORDEAUX-THREADS::BINDING-DEFAULT-SPECIALS))
    25: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
    26: ((FLET "WITHOUT-INTERRUPTS-BODY-10" :IN SB-THREAD::RUN))
    27: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
    28: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-THREAD::RUN))
    29: (SB-THREAD::RUN)
    30: ("foreign function: call_into_lisp")
    31: ("foreign function: funcall1")
    cxxxr
    @cxxxr
    Thank you for report.
    I fixed this problem.
    Gavin Freeborn
    @gavinok:matrix.org
    [m]
    Little late but wanted to say thanks
    Wojciech Nawa
    @VOID404
    IDK if this is the right place to ask this question, but is this project targeted towards Japanese-speaking people? Because I'd love to follow the project and maybe contribute, when I find a second of free time, but the project seems to be in Japanese... Pretty important stuff like changelog is completely in Japanese. Is it meant to stay like that, or will the project become more English as it grows?
    2 replies
    sean
    @sean:farley.io
    [m]
    I'm hoping to get into this project as well but we'll see :-)
    pt
    @_xmpp_pt=40hmm.st:matrix.org
    [m]
    Hello
    Geoffrey J. Teale
    @tealeg
    Hi everyone. I’ve been using Lem as my “daily driver” for about a week now. I’m liking it a lot, though I miss a lot of things in emacs, I’m prepared to do a little work to live in the common lisp world instead of the emacs lisp world ;-) Anyhow, it’s nothing fancy, but I’ve got my .lem directory in a public repo so you can see what I’m poking at ;-) https://github.com/tealeg/dot-lem
    Geoffrey J. Teale
    @tealeg
    Probably the only thing of interest is the modeline-clock
    sean
    @sean:farley.io
    [m]
    That looks cool!
    1 reply
    sean
    @sean:farley.io
    [m]
    I'm really new here but I was hoping to find some discussion about adding a GUI to lem
    1 reply
    This would be a frame in emacs lingo
    sean
    @sean:farley.io
    [m]
    Ah, very nice; thanks @tealeg!
    Geoffrey J. Teale
    @tealeg
    Pleasure @sean:farley.io
    rhbhendron
    @rhbhendron
    hey guys, new to lem here
    I'm just having a problem installing it, currently running Artix. The error seems to be due to the fact that cl-ppcre-unicode is a .asd file, and not a directory containing packages.lisp, even though packages.lisp is in my /usr/share/common-lisp/source/cl-ppcre directory
    1 reply
    bkkavin
    @bkkavin
    Do u guys heard of nyxt browser? It's written in common lisp. I thought finally we will have the modern emacs with lem. With a good browser and everything. Why lem based on ncurses.
    Or can we still do it with lem?
    sean
    @sean:farley.io
    [m]
    This has been brought up a few times before, though I am a new member here so I can't really speak to the reasons of anyone else
    bkkavin
    @bkkavin
    Would love to hear abt what their thought process was.
    sean
    @sean:farley.io
    [m]
    The nyxt devs opened this issue: lem-project/lem#543
    That's where I'm getting most of my info from (a few reddit threads as well)
    There's another issue I'm thinking of but can't find
    bkkavin
    @bkkavin
    Ooohh kaaayy. The nyxt dev said it's doable. I'm excited.
    Can u share those reddit threads?
    sean
    @sean:farley.io
    [m]
    Ah, this is it: lem-project/lem#415
    I forgot they changed their name
    The reddit threads would be crossposts in r/emacs but you'd have to wade through lots of comments (of which I can only remember a gist)
    bkkavin
    @bkkavin
    Looks like the software seriously lacks documentation when compared to emacs. Even docstrings can't be found in source code. I found some docstrings and they weren't in English. Is the software not intended for English speakers?
    vindarel
    @vindarel
    indeed, it's a known issue discussed a bit before. Some have proposed to translate the docstrings in english (core Lem developers are uneasy in english (careful, let's not blame them))
    bkkavin
    @bkkavin
    I will never blame them! Thankful for what they have done so far!
    Kevin Bloom
    @NuclearKev
    hey guys I'm having some issues getting lem to remove trailing whitespace before saving a buffer. I was pretty sure this was correct but it doesn't work. Am I missing something?
    (setf (lem:variable-value 'lem-base:before-save-hook)
           (list (lambda (buf)
                   (lem:delete-trailing-whitespace buf))))
    2 replies
    Geoffrey J. Teale
    @tealeg
    I’ve added some support for Vale to my config, which is quite nice if you’re working with text. I’ve also been trying to implement something akin to emacs’s Flyspell, but that’s been tricky - I’ll get there eventually though. I’m wondering if I should push these things out to separate repositories when they become “usable” - like the modeline clock, or the vale support. I could make it available via quicklisp or even propose a PR on lem itself.
    vindarel
    @vindarel
    I see your commits, that's cool! I like the code, Lem's api seems clear.
    I'd be in favour of the simplest: a PR to Lem, and discuss.
    There's also Roswell scripts that allow to install stuff with a command like ros install lem-spellcheck.