Context: GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2023-03-30, Development version 4508a024e818 on emacs-29 branch; build date 2023-03-30. Linux Mint 21 (Vanessa) Cinnamon: ~ $ emacs -Q .

How to reproduce the in the image shown behavior?

  1. Start Emacs with ~ $ emacs -Q
  2. Split the window into 3 parts
  3. Show window divider
  4. Play around with the width of the windows

In the image below captured what shouldn't be able to exist: three windows showing the same buffer, with Line Wrapping set to the default value of "Truncate Long Lines":

enter image description here


1 Answer 1


This is the intended behavior, controlled by the value of truncate-partial-width-windows. See its doc string for the details.

  • To disable the wrapping no matter the window width I set the value to t (correct?) . The help text about this value is expressed in an for me not easy to understand way, so I was forced to find it out by trial-and-error. First, after reading the help, I have thought I should set it to nil, but setting it to nil causes line wrapping in any of the multiple windows.
    – Claudio
    Apr 2, 2023 at 20:17
  • 1
    ... and welcome to emacs.stackexchange.com . I am very happy to see you being here.
    – Claudio
    Apr 2, 2023 at 20:22
  • @Claudio: Which part of the doc string do you find confusing? (Seems pretty clear to me.) If you have a suggestion for improvement or can point out a problem (e.g. ambiguity), maybe file an enhancement request, with M-x report-emacs-bug.
    – Drew
    Apr 3, 2023 at 1:39
  • @Drew: in order to make really good enhancements it would be first necessary to get a deep understanding of what is going on behind the curtains and how all the used terms are defined. I am still in the process of getting out of confusion gaining more clarity and I am wondering how it comes that you are not confused yourself reading the documentation. Are you able to see from the text that you have to set the value to t in order to switch the wrapping off? And if yes, how do you conclude it from the text?
    – Claudio
    Apr 3, 2023 at 3:00
  • 1
    @Claudio: To be helpful you need not necessarily have a deep understanding of what happens and why. It can sometimes help just to point out some particular text you see that confused you, or that you didn't understand. Just signaling that something is unclear to you might help others. And if not, that'll be politely pointed out to you, with a "thank you" for your report. Feedback is important for improvement, even feedback that doesn't come from "a deep understanding of what is going on behind the curtains" etc. The doc aims to help even people who aren't experts.
    – Drew
    Apr 3, 2023 at 3:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.