emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-o


From: Yuri Khan
Subject: Re: C-o
Date: Wed, 3 Jul 2024 23:24:41 +0700

On Wed, 3 Jul 2024 at 22:25, Howard Melman <hmelman@gmail.com> wrote:

> I write prose with soft newlines in
> visual-line mode, usually in markdown-mode which can have
> some performance problems with font-locking in larger
> buffers.  If I'm inserting text in the middle of a paragraph
> I'll use C-o to make the paragraph smaller first which can
> alleviate the performance issue.

Since markdown uses blank lines to separate paragraphs,
you could use hard newlines within paragraphs
and place them at strategic points
such as ends of sentences and phrases.

This would probably solve performance issues you mention
and give you more useful diffs.
Your text insertions would also, with high probability,
start on line boundaries.

This is called “semantic line breaks”[1].
This message is formatted this way.

[1]: https://sembr.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]