Hi Rich,

I use Emacs and most other types of editors as well. This is a great tip!

Thanks,
Kevin Williams

On Sun, Feb 12, 2023, at 1:24 PM, Rich Shepard wrote:
> I've asked for emacs help here a number of times. This time I share a
> solution I found (deep in a StackExchange thread) that's very useful for me
> and, perhap, for other emacs users: unfilling a paragraph.
>
> Text downloaded from a web site (and other sources) may come as a single
> line per paragraph. When we want to reformat that text into lines no longer
> than a specified number of characters we use M-q (fill paragraph).
>
> The reverse process is needed when we want to format paragaphs with newlines
> for use on a web site. Turns out there's an unfill command: M-^.
>
> Place the cursor (the point) at the end of the paragraph's last line and
> keep entering M-^. A simple macro does wonders for a long text file.
>
> Hope this helps someone, sometime.
>
> Rich
>
>
>
>
>


Reply via email to