Can I hide the part of long lines that exceeds the visual line?Is it possible to have word-wrap as standard but truncate some lines in a buffer at the same time?Collapse regexp matches within a lineDisplay lines aligned with right edge of buffer?Show additional lines that are not part of the filemangled terminal output after failing emacsclient / folding mode launchHow can I hide general text in parentheses?Please explain the behaviour of this emacs feature. (Lisp Interaction mode, truncate long lines)Making relative line numbers behave well with folds?outline minor mode folding enhancements wantedScroll only current line when truncating lines
My parents are Afghan
Was Mohammed the most popular first name for boys born in Berlin in 2018?
How to start your Starctaft II games vs AI immediatly?
99 coins into the sacks
What's an appropriate age to involve kids in life changing decisions?
My perfect evil overlord plan... or is it?
Why does this pattern in powers happen?
why it is 2>&1 and not 2>>&1 to append to a log file
How to append code verbatim to .bashrc?
Capturing the entire webpage with WebExecute's CaptureImage
What's the difference between "ricochet" and "bounce"?
How can it be that ssh somename works, while nslookup somename does not?
Learning how to read schematics, questions about fractional voltage in schematic
My Sixteen Friendly Students
What are my options legally if NYC company is not paying salary?
Mindfulness of Watching Youtube
How could a civilization detect tachyons?
What is the Ancient One's mistake?
What happens when the drag force exceeds the weight of an object falling into earth?
Why did Missandei say this?
Colorless commander using lands that chose based upon identity?
Is there an application which does HTTP PUT?
Align a table column at a specific symbol
Add elements inside Array conditionally in JavaScript
Can I hide the part of long lines that exceeds the visual line?
Is it possible to have word-wrap as standard but truncate some lines in a buffer at the same time?Collapse regexp matches within a lineDisplay lines aligned with right edge of buffer?Show additional lines that are not part of the filemangled terminal output after failing emacsclient / folding mode launchHow can I hide general text in parentheses?Please explain the behaviour of this emacs feature. (Lisp Interaction mode, truncate long lines)Making relative line numbers behave well with folds?outline minor mode folding enhancements wantedScroll only current line when truncating lines
Is it possible to hide the part of long lines that exceeds the visual line rather than wrapping it into further visual lines?
code-folding line-truncation
add a comment |
Is it possible to hide the part of long lines that exceeds the visual line rather than wrapping it into further visual lines?
code-folding line-truncation
add a comment |
Is it possible to hide the part of long lines that exceeds the visual line rather than wrapping it into further visual lines?
code-folding line-truncation
Is it possible to hide the part of long lines that exceeds the visual line rather than wrapping it into further visual lines?
code-folding line-truncation
code-folding line-truncation
edited May 4 at 18:53
Toothrot
asked May 4 at 9:58
ToothrotToothrot
916412
916412
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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 the line. On text
terminals, this is indicated with$signs in the rightmost and/or
leftmost columns.
Horizontal scrolling automatically causes line truncation (*note
Horizontal Scrolling::). You can explicitly enable line truncation for
a particular buffer with the commandM-x toggle-truncate-lines. This
works by locally changing the variabletruncate-lines. If that
variable is non-nil, long lines are truncated; if it isnil, they
are continued onto multiple screen lines. Setting the variable
truncate-linesin any way makes it local to the current buffer; until
that time, the default value, which is normallynil, is in effect.
If a split window becomes too narrow, Emacs may automatically enable
line truncation. *Note Split Window::, for the variable
truncate-partial-width-windowswhich controls this.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "583"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f50332%2fcan-i-hide-the-part-of-long-lines-that-exceeds-the-visual-line%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 the line. On text
terminals, this is indicated with$signs in the rightmost and/or
leftmost columns.
Horizontal scrolling automatically causes line truncation (*note
Horizontal Scrolling::). You can explicitly enable line truncation for
a particular buffer with the commandM-x toggle-truncate-lines. This
works by locally changing the variabletruncate-lines. If that
variable is non-nil, long lines are truncated; if it isnil, they
are continued onto multiple screen lines. Setting the variable
truncate-linesin any way makes it local to the current buffer; until
that time, the default value, which is normallynil, is in effect.
If a split window becomes too narrow, Emacs may automatically enable
line truncation. *Note Split Window::, for the variable
truncate-partial-width-windowswhich controls this.
add a comment |
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 the line. On text
terminals, this is indicated with$signs in the rightmost and/or
leftmost columns.
Horizontal scrolling automatically causes line truncation (*note
Horizontal Scrolling::). You can explicitly enable line truncation for
a particular buffer with the commandM-x toggle-truncate-lines. This
works by locally changing the variabletruncate-lines. If that
variable is non-nil, long lines are truncated; if it isnil, they
are continued onto multiple screen lines. Setting the variable
truncate-linesin any way makes it local to the current buffer; until
that time, the default value, which is normallynil, is in effect.
If a split window becomes too narrow, Emacs may automatically enable
line truncation. *Note Split Window::, for the variable
truncate-partial-width-windowswhich controls this.
add a comment |
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 the line. On text
terminals, this is indicated with$signs in the rightmost and/or
leftmost columns.
Horizontal scrolling automatically causes line truncation (*note
Horizontal Scrolling::). You can explicitly enable line truncation for
a particular buffer with the commandM-x toggle-truncate-lines. This
works by locally changing the variabletruncate-lines. If that
variable is non-nil, long lines are truncated; if it isnil, they
are continued onto multiple screen lines. Setting the variable
truncate-linesin any way makes it local to the current buffer; until
that time, the default value, which is normallynil, is in effect.
If a split window becomes too narrow, Emacs may automatically enable
line truncation. *Note Split Window::, for the variable
truncate-partial-width-windowswhich controls this.
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 the line. On text
terminals, this is indicated with$signs in the rightmost and/or
leftmost columns.
Horizontal scrolling automatically causes line truncation (*note
Horizontal Scrolling::). You can explicitly enable line truncation for
a particular buffer with the commandM-x toggle-truncate-lines. This
works by locally changing the variabletruncate-lines. If that
variable is non-nil, long lines are truncated; if it isnil, they
are continued onto multiple screen lines. Setting the variable
truncate-linesin any way makes it local to the current buffer; until
that time, the default value, which is normallynil, is in effect.
If a split window becomes too narrow, Emacs may automatically enable
line truncation. *Note Split Window::, for the variable
truncate-partial-width-windowswhich controls this.
answered May 4 at 10:27
philsphils
28.8k23871
28.8k23871
add a comment |
add a comment |
Thanks for contributing an answer to Emacs Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f50332%2fcan-i-hide-the-part-of-long-lines-that-exceeds-the-visual-line%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown