Questions tagged [line-truncation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8
votes
1answer
340 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. ...
3
votes
1answer
232 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?
3
votes
1answer
229 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 ...
3
votes
0answers
3k 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"...
2
votes
2answers
235 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
1answer
201 views

Please explain the behaviour of this emacs feature. (Lisp Interaction mode, truncate long lines)

Sometimes when a function or variable outputs a very long line, it ends with ...). When the cursor is on that line and I press return, the line gets longer (probably expanded). I guess this is some ...
2
votes
2answers
1k 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
119 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
63 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 ...