From: carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Emanuel Berg <incal@dataswamp.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Printing text in a buffer
Date: Mon, 1 Aug 2022 05:15:37 +0200 (CEST) [thread overview]
Message-ID: <N8MOhtG--3-2@tutanota.com> (raw)
In-Reply-To: <87sfmgfz50.fsf@dataswamp.org>
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?
next prev parent reply other threads:[~2022-08-01 3:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-30 22:23 Printing text in a buffer carlmarcos--- via Users list for the GNU Emacs text editor
2022-07-30 23:39 ` Emanuel Berg
2022-07-31 0:18 ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-08-01 2:58 ` Emanuel Berg
2022-08-01 3:15 ` carlmarcos--- via Users list for the GNU Emacs text editor [this message]
2022-08-01 3:23 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=N8MOhtG--3-2@tutanota.com \
--to=help-gnu-emacs@gnu.org \
--cc=carlmarcos@tutanota.com \
--cc=incal@dataswamp.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.