all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Printing text in a buffer
Date: Mon, 01 Aug 2022 04:58:35 +0200	[thread overview]
Message-ID: <87sfmgfz50.fsf@dataswamp.org> (raw)
In-Reply-To: N8GbgVJ--3-2@tutanota.com

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




  reply	other threads:[~2022-08-01  2:58 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 [this message]
2022-08-01  3:15       ` carlmarcos--- via Users list for the GNU Emacs text editor
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=87sfmgfz50.fsf@dataswamp.org \
    --to=incal@dataswamp.org \
    --cc=help-gnu-emacs@gnu.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.