[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing text in a buffer
From: |
carlmarcos |
Subject: |
Re: Printing text in a buffer |
Date: |
Mon, 1 Aug 2022 05:15:37 +0200 (CEST) |
Aug 1, 2022, 02:58 by incal@dataswamp.org:
> 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
>
I cannot see how to use your solution. When would I insert the message and
what is point-min and point-max?