Giter VIP home page Giter VIP logo

Comments (4)

purcell avatar purcell commented on June 5, 2024 1

However, I noticed haskell-cabal-mode also wasn't derived from text-mode, which would be typical, so I've just changed the mode so that it is. That should ease your configuration a bit.

from haskell-mode.

purcell avatar purcell commented on June 5, 2024

Should haskell-cabal mode follow suit?

Not really, sorry. If you look at other configuration and markup modes (conf-toml-mode, yaml-mode, xml-mode), you won't find prog-mode among the parent modes.

from haskell-mode.

cumber avatar cumber commented on June 5, 2024

Yeah, I wasn't sure which would be most appropriate. I ended up suggesting prog-mode since "Text mode is a major mode for editing human languages" according to https://www.gnu.org/software/emacs/manual/html_node/elisp/Basic-Major-Modes.html. I suppose markup languages are often used to mark-up content that is human-language text, but cabal file content really doesn't feel like "text" to me.

But I'm fine with a ruling that text-mode is more appropriate here. Thanks!

from haskell-mode.

purcell avatar purcell commented on June 5, 2024

Agree, yaml also doesn't feel like text to me. Or XML for that matter! But they are both derived from text-mode.

from haskell-mode.

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.