Questions tagged [line-truncation]
The line-truncation tag has no usage guidance.
13
questions
0
votes
2
answers
58
views
How to truncate the lines of a file?
I need to truncate the lines in a file to 24 characters, to feed to a small dot-matrix printer. How can I do this? I use doom emacs.
2
votes
0
answers
249
views
adaptive-wrap-prefix-mode behavior is different/inconsistent inside a buffer
in org-mode I have adaptive-wrap-prefix-mode on.
The indentation though has a inconsistent behavior.
I have already tried to toggle visual-line-mode and word wrap but the sometimes correct and ...
0
votes
1
answer
147
views
How to completely remove truncation symbol (default '$') from truncated lines when no fringes?
In a GUI Emacs without fringes, I would like to get rid of the '$' at the end of truncated lines such that lines can use the fill width of the window. I've tried:
(set-display-table-slot standard-...
0
votes
1
answer
174
views
How to set the default of `truncate-lines` for dired buffers to `truncate`?
How can I set the default of truncate-lines for dired buffers to truncate?
I.e. when I open a new dired buffer it should show the directory truncated and not wrapped into the next line.
0
votes
2
answers
486
views
Remove dollar sign at beginning of line
In emacs when I scroll right and beginning of lines are truncated emacs inserts dollar sign same as it insert \ at the end of truncated line. I wish it would not insert these two signs. Can I disable ...
5
votes
1
answer
2k
views
How to truncate lines by default
Almost every text editor is able to truncate lines by default, but in Emacs I'm still using the cumbersome M-x toggle-truncate-lines in every buffer with long lines. Unfortunately, buffers with long ...
0
votes
1
answer
205
views
How to indent truncated lines?
For me it seems like a really ruff edge that default spacemacs comes without an option to give my lines a correct indentation, when they are wrapped. (Click the first link if you want to see the issue ...
3
votes
1
answer
484
views
Can I hide the part of long lines that exceeds the visual line?
Is it possible to hide the part of long lines that exceeds the visual line rather than wrapping it into further visual lines?
2
votes
2
answers
409
views
Scroll only current line when truncating lines
When using (set-default 'truncate-lines t), and when moving to the end of the long line, is it possible to make Emacs scroll only that line, while the other lines stand still? nano does this.
2
votes
2
answers
3k
views
how to set truncate-lines in org-mode in spacemacs by default
Whenever I open up an .org file in spacemacs, the truncate-lines variable is set to t.
How can I make truncate-lines be set to nil by default in org-mode in the org-layer for spacemacs?
I would like ...
5
votes
2
answers
7k
views
How do I toggle soft-wrapped lines in org-mode?
I want to be able to toggle soft-wrapped lines in org-mode. My .emacs file has this code:
;;;;;;;;;;;;;;
;; Org Mode ;;
;;;;;;;;;;;;;;
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca"...
1
vote
2
answers
392
views
Display lines aligned with right edge of buffer?
I'm running a test suite in a shell buffer that tends to produce really long lines with PASSED or FAILED at the end of them.
I'd like to be able to quickly see whether a given line passed or failed ...
8
votes
1
answer
784
views
Is it possible to have word-wrap as standard but truncate some lines in a buffer at the same time?
I'm working with large LaTeX tables in AucTEX and it would be helpful to display them in truncated lines, like here:
The red marks are the "&" characters which separate the columns of the table. ...