Questions tagged [line-truncation]
The line-truncation tag has no usage guidance.
12
questions
8
votes
1answer
579 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. ...
5
votes
1answer
1k 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 ...
4
votes
2answers
5k 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"...
3
votes
1answer
369 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
2answers
327 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
2answers
2k 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 ...
1
vote
2answers
197 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 ...
0
votes
1answer
72 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
1answer
63 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
2answers
229 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 ...
0
votes
0answers
24 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
1answer
148 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 ...