Giter Site home page Giter Site logo

notmuch-mode about lem HOT 4 OPEN

timmydo avatar timmydo commented on June 3, 2024
notmuch-mode

from lem.

Comments (4)

vindarel avatar vindarel commented on June 3, 2024

Does lem have the right primitives for creating a UI for reading/writing mail?

Hello, I'd say yes, because Lem has many primitives to display and write text. You can use plain buffers or windows (like the grep interface), you can associate attributes to text and run a command when a key is pressed on this text depending on the attribute (buttons, essentially) (grep, legit interface), you have completion windows, window popups, etc.

Lem has no text folding yet (it's in the works), same for a spell checker.

from lem.

timmydo avatar timmydo commented on June 3, 2024

I was able to get some very basic stuff in a couple of hours this weekend... c7af615

image
image

It seems lem-button is nice but I'd like to be able to pass all the context I have to the same method call when I press Return on it in the buffer.

from lem.

vindarel avatar vindarel commented on June 3, 2024

nice!

in a couple of hours

that's the magic of Lem. I felt the codebase very approachable, discoverable, and I felt very productive when I dived into writing my first module.

lem-button

I actually didn't know the lem/button package O_o so can't help here. However, when hearing "full context", I think "use a closure?".

from lem.

timmydo avatar timmydo commented on June 3, 2024

Regarding closures, I think that would work for lem-button's click event but I'm not sure how to invoke the click event from a key press in the buffer when the key press happens over the button. If I could do that, then I wouldn't need two different code paths for invoking it. It's probably possible didn't see stumble on it when I was working on it. Will take a look next time I get a chance.

from lem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.