Code Monkey home page Code Monkey logo

Comments (5)

halcyonquest avatar halcyonquest commented on August 16, 2024 3

In case this might be helpful to someone else, I have been dealing with this on OSX 10.15.5 on emacs 26.3. My deft buffer looked like the screenshot above. Resizing the screen did not fix it. After some playing around I figured out that it had to do with showing line numbers.

In init.el, I had
(global-display-line-numbers-mode t)

I added this at the end of init.el:
(add-hook 'deft-mode-hook (lambda() (display-line-numbers-mode -1)))

This resolved the problem for me.

I'm very new to emacs, so if there is another way I'm happy to learn.

from deft.

codevbus avatar codevbus commented on August 16, 2024 2

FWIW, on the graphical client(26.2 | OSX 10.14.6), you can fix this with the following GUI menu setting:

Options -> Line Wrapping in This Buffer -> Truncate Long Lines

The config setting should be:

(setq-default truncate-lines t)

I imagine you'd want some lisp logic to truncate some buffers, like deft, and not some, like org/md files.

from deft.

jasonzhouu avatar jasonzhouu commented on August 16, 2024

I have the same problem in Mac OS X.
After I switched to Ubuntu, it never happen again.

from deft.

nalhasan avatar nalhasan commented on August 16, 2024

I have the same problem as well on Windows 10.

from deft.

Nebucatnetzer avatar Nebucatnetzer commented on August 16, 2024

The solution from @halcyonquest was the solution for me as well.

from deft.

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.