C-hig (emacs)Line Truncation
As an alternative to continuation (*note Continuation Lines::), Emacs
can display long lines by “truncation”. This means that all the
characters that do not fit in the width of the screen or window do not
appear at all. On graphical displays, a small straight arrow in the
fringe indicates truncation at either end of ...
truncate-lines possibly overridden
The built-in help for truncate-lines mention that it is overridden by the variable truncate-partial-width-windows. You might want to check if it is set by using <C-h> v and typing truncate-partial-width-windows.
Relevant portion of built-in help for truncate-lines
Note that this is overridden by the variable
The short answer (not so good) for turning off truncate-line is:
(add-hook 'org-mode-hook #'spacemacs/toggle-truncate-lines-off)
But if what you want is line wrap in org mode. This is not a good solution because:
truncate-line starts the new line at the beginning of the window, but not the beginning of the previous line.
It also adds small arrows on both ...
Emacs 26 has a new feature to horizontal scroll the current line when the variable truncate-lines is also non-nil. The variable to control that new feature is auto-hscroll-mode and the relevant portion from the doc-string reads: "... The value 'current-line means the line displaying point in each window is automatically scrolled horizontally to make point ...
I found a solution by "abusing" the display table. In the below solution, msg is a string whose length is window width +1 (such as to display the truncation character). I then set the truncation character to the last character of the string.
Are you asking how to turn off such line truncation? If so, the answer is M-x toggle-truncate-lines.
You can also set variable truncate-lines to nil in any given buffer. And you can set its default, global value using setq-default.
See the Emacs manual, node Line Truncation.
See also user option truncate-partial-width-windows.
You could discover this ...
It is quite simple to display the line end at the left boundary of the buffer with the help of line-prefix text properties.
I hope that is acceptable for displaying the status of your tests.
The following elisp code defines the minor mode pfx-mode (meaning: line prefix mode).
You can define the string to be displayed as line-prefix for each line by setting ...
Try command scroll-left, bound to C-x <.
See also auto-hscroll-mode. You can also set hscroll-margin and hscroll-step.
See the Emacs manual, node Horizontal Scrolling for more information.
For more details, see also the Elisp manual, node Horizontal Scrolling.