From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Example of how to handle multi-line records in Emacs forms mode (i.e. using forms.el) ?
Date: Mon, 01 Jul 2024 14:42:22 +0300 [thread overview]
Message-ID: <86ed8dfie9.fsf@gnu.org> (raw)
In-Reply-To: <20240630173032.GM13058@uit.co.uk> (message from Niall Mansfield on Sun, 30 Jun 2024 18:30:32 +0100)
> Date: Sun, 30 Jun 2024 18:30:32 +0100
> From: Niall Mansfield <gnu@barg.org.uk>
>
> Is it possible to handle multi-line records using Emacs forms mode?
>
> For example, how would you handle something like this:
>
> Title: GNU Emacs Manual
> Author: Richard M. Stallman
> Publisher: FSF
> Location: home
>
> Title: The Colour of Magic
> Author: Terry Pratchett
> Location: loaned
>
> Title: Mio Cid
> Author: Anonymous
> Location: home
>
> Title: chapters.gnu.org administration guide
> Author: Nacho Gonzalez
> Author: Jose E. Marchesi
> Location: unknown
>
> (which is taken from a tutorial example for GNU recutils).
>
> I ask because the Forms Mode User's Manual
> (https://www.gnu.org/software/emacs/manual/html_mono/forms.html)
> talks of "multi-line fields" ("Fields may contain text which
> shows up in the forms in multiple lines") but I can't see
> how to handle multi-line records.
Embed literal ^J characters in the text?
next prev parent reply other threads:[~2024-07-01 11:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-30 17:30 Example of how to handle multi-line records in Emacs forms mode (i.e. using forms.el) ? Niall Mansfield
2024-07-01 11:42 ` Eli Zaretskii [this message]
2024-07-02 1:21 ` Jude DaShiell
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86ed8dfie9.fsf@gnu.org \
--to=eliz@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).