Git Product home page Git Product logo

Comments (4)

stsquad avatar stsquad commented on August 19, 2024

Probably - although I can imagine a use-case where people know what they are doing and just want it done so it should be controllable behaviour.

from emacs_chrome.

poritzj avatar poritzj commented on August 19, 2024

Hmm, I agree with your imagination.

But if I want to go with what you agree might make sense (= query before destroying modified content), do you think that would be hard? There is some status message when using your package about the modified flag, so perhaps the flag is fine, I just need to steal some elisp from ... somewhere ... to implement the same conditional exit as usually happens with destroying a modified buffer. ... Any suggestions?

Thanks! (BTW, I love this package, I use it all the time now!)

from emacs_chrome.

stsquad avatar stsquad commented on August 19, 2024

I'm re-opening this as I'm sure this configurable functionality is desirable. I just don't have time to look at it myself, however if someone else can contribute that's great.

As far as implementation details are concerned I suspect we can piggy-back on existing Emacs functionality. I would be stunned if there wasn't already a mechanism for dealing with this use case. It might be worth sending a query to the emacs-help mailing list for ideas?

from emacs_chrome.

poritzj avatar poritzj commented on August 19, 2024

Thanks for re-opening, I didn't intend to close it.

I agree that there must be hooks to enable this sort of thing, and I will look into it when I have time... which will likely be on the timescale of months, though!

from emacs_chrome.

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.