Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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.
    Geoffrey J. Teale
    @tealeg
    Thanks @vindarel - yeah, mostly I’m just poking around trying to understand how to implement things in lem. Most of it familiar from emacs. I’m enjoying using Common Lisp again after all these years, though I’m very rusty.
    christos chatzifountas
    @Gavlooth
    How does one invoke the lsp ? Is there documentation somewhere ?
    Is the lsp extensible, seems all the servers supported are hard coded
    eggcaker
    @eggcaker
    is there any keymap configuration SPC based ?(like Spacemacs or doom-emacs)
    borodust
    @borodust:matrix.org
    [m]
    hi, i'm planning to integrate lem as an embedded editor in a certain soon-be-public tool - can someone guide me through frontend development part of lem?
    i looked through wiki and sources for existing frontends (incl) - this wasn't a straightforward journey
    i probably can reverse-engineer the api, but if someone can help me boostrap this process this will help me greatly
    the first question will probably be smth like this - where should i start that will help me to untie lem's frontend dev? :)
    borodust
    @borodust:matrix.org
    [m]
    alright, i figured out some bits: important bits of implementation is lem-if:invoke to handle loops, lem-if:print and print-modeline to display buffers, and lem:send-event to pass input into lem but also to invoke callbacks within editor loop
    this seems enough to bootstrap my frontend, but if you have suggestions and gotchas i'm all ears ;p
    borodust
    @borodust:matrix.org
    [m]
    aha, so i also need to render popups to handle M-x stuff
    sean
    @sean:farley.io
    [m]
    I'm also curious in this because I'd like a native gui as well
    borodust
    @borodust:matrix.org
    [m]
    if you meant you are curious about lem frontend i'm working on rn - it won't be a native one
    capi fronted of lem seems to use native guis
    sean
    @sean:farley.io
    [m]
    No, I'm just interested in general
    borodust
    @borodust:matrix.org
    [m]
    i see
    Alexander Artemenko
    @svetlyak40wt
    I didn't try it, but here is an OpenGL frontend: https://github.com/gregcman/lem-opengl
    Probably you'll find something useful there.
    borodust
    @borodust:matrix.org
    [m]
    thanks! i remember that one, but i think it wasn't completed
    but as another example of lem frontend it might be useful
    borodust
    @borodust:matrix.org
    [m]
    well, i've got basic input and rendering going, so i expect a smoother ride going forward :D
    thanks for your hard work on such a nice editor!
    to all the contributors
    and thanks a lot for making pluggable frontends possible