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: Sun, 31 Jul 2022 02:18:56 +0200 (CEST) [thread overview]
Message-ID: <N8GbgVJ--3-2@tutanota.com> (raw)
In-Reply-To: <877d3uf9wi.fsf@dataswamp.org>
Jul 30, 2022, 23:39 by incal@dataswamp.org:
> carlmarcos--- via Users list for the GNU Emacs text editor wrote:
>
>> But I want to have lines and paragraph fill up to particular
>> column with something like `(fill-paragraph)'. How can such
>> thing be implemented?
>>
>
> I feels like I'm so close to the answer but ... I don't know.
> What is it?
>
For instance, suppose I have
(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.)
which will print the paragraph as it is, when using
(with-current-buffer typex
(insert version-license))
With last word on each line being printed as last word on each line in buffer name `typex'.
It does not write the text as a paragraph according to maximum column as with `fill-paragraph'.
next prev parent reply other threads:[~2022-07-31 0:18 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 [this message]
2022-08-01 2:58 ` Emanuel Berg
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=N8GbgVJ--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.