Questions tagged [line-truncation]
The line-truncation tag has no usage guidance.
14
questions
0
votes
1
answer
38
views
How can I activate truncate-lines in magit only
I want to long commit messages to be truncated rather than wrapped around in magit buffers only because I can simply open a commit to see the full message.
I tried
(add-hook 'magit-mode-hook (lambda ()...
0
votes
2
answers
112
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
369
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
237
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
294
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
757
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 ...
7
votes
1
answer
3k
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
243
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
578
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
453
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 ...
6
votes
3
answers
8k
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
503
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 ...
9
votes
1
answer
876
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. ...