Where communities thrive


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

    Hmm, seems without background and foreground in the theme specification, I have to have my terminal background dark when switching to the dark theme :(

    This is bad.

    Themes which define foreground and background looks cool, but are broken in some places, like "monokai" theme from https://github.com/koji-kojiro/lem-pygments-colorthemes:
    Screenshot 2020-08-15 at 13.15.27.png
    Alexander Artemenko
    @svetlyak40wt

    @cxxxr why do some symbols are unreadable with this "monokai" theme?

    Their attributes are not defined by the "monokai" theme.

    Is there a way to fix thir rendering?

    BTW, terminal's background was propertly restored to the light color when I've exited from Lem with "monokai" theme.
    Alexander Artemenko
    @svetlyak40wt
    Seems the roots of this bug is some where in the overlays processing. But I can't figure out where it is exactly.
    Alexander Artemenko
    @svetlyak40wt

    I've created a CLOS based color themes extension for the Lem.

    Here is the demo showing how does live reload works:

    https://www.youtube.com/watch?v=LWL0he_T9rU

    cxxxr
    @cxxxr
    It's great.
    I'm not sure about the attribute behavior bug.
    When I tried monokai with electron, the problem did not reproduce.
    スクリーンショット 2020-08-16 18.58.28.png
    Left is ncurses, right is electron.
    cxxxr
    @cxxxr
    The condition for the bug is that it seems to occur when the background is specified.
    By the way, it's my preference not to specify foreground/background as the default color theme.
    That doesn't mean you can't specify any other color theme.
    Alexander Artemenko
    @svetlyak40wt

    @cxxxr please point to the place where Lem calculates the properties to draw a point according it's attribute and all overlays?

    I wasn't able to find it myself :(

    Alexander Artemenko
    @svetlyak40wt
    @cxxxr can you help me, please?
    I guess it's around here.
    The ncurses backend uses an attribute here
    madhu
    @m4zzz
    Hey!
    I just installed lem.
    But I can't seem to M-x like in emacs
    Is this specific to me?
    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