[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing text in a buffer
From: |
Emanuel Berg |
Subject: |
Re: Printing text in a buffer |
Date: |
Mon, 01 Aug 2022 04:58:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
carlmarcos--- via Users list for the GNU Emacs text editor wrote:
> (defvar version-license
> You can redistribute exact copies of Typex or modify it under
> the terms of the Gnu Affero General Public License as published
> by the Free Software Foundation; either version 3 of the License,
> or (at your option) any later version.)
DNC
> which will print the paragraph as it is, when using
>
> (with-current-buffer typex
> (insert version-license))
No :)
> It does not write the text as a paragraph according to
> maximum column as with `fill-paragraph'.
(defun fill-buffer ()
"Fill all paragraphs in the buffer."
(interactive)
(fill-region (point-min) (point-max)) )
Fill even more with Fillcal Software:
https://dataswamp.org/~incal/emacs-init/fill-incal.el
--
underground experts united
https://dataswamp.org/~incal