Code Monkey home page Code Monkey logo

Comments (5)

treed avatar treed commented on August 18, 2024 1

I had similar issues with osm.el, which were simply because I was using global modes for things that only make sense in certain contexts. I replaced a bunch of global modes with this:

  (defun treed/local-modes ()
    (visual-line-mode)
    (show-paren-mode)
    (auto-revert-mode)
    (hl-line-mode))
  (add-hook 'prog-mode-hook #'treed/local-modes)
  (add-hook 'text-mode-hook #'treed/local-modes)

Most (all?) modes that I care about these actually being enabled for are derived from either prog-mode or text-mode. This gets what I wanted, without erroneously enabling them in contexts where they don't make sense.

from ement.el.

alphapapa avatar alphapapa commented on August 18, 2024

Looks like you have visual-line-mode enabled, but that is not enabled by Ement, so I guess it's something in your config? Anyway, try toggle-truncate-lines.

from ement.el.

akater avatar akater commented on August 18, 2024

Yes, it's visual-line-mode. Maybe ensure (once only) it's disabled when the buffer is created. If it can't be done reliably, it's not at ement issue but rather tabulated-list-mode's.

from ement.el.

alphapapa avatar alphapapa commented on August 18, 2024

I don't know why it would even be enabled in a tabulated-list buffer. It doesn't appear to be in a default Emacs config, so I'd rather not add code to disable it unless there's something I'm missing.

from ement.el.

alphapapa avatar alphapapa commented on August 18, 2024

I don't think there's anything to be done here, so closing this. But please ping me in a comment if this needs to be reopened.

from ement.el.

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.