all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Niall Mansfield <gnu@barg.org.uk>
To: help-gnu-emacs@gnu.org
Subject: Example of how to handle multi-line records in Emacs forms mode (i.e. using forms.el) ?
Date: Sun, 30 Jun 2024 18:30:32 +0100	[thread overview]
Message-ID: <20240630173032.GM13058@uit.co.uk> (raw)

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.

	Thanks,
	Niall



             reply	other threads:[~2024-06-30 17:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-30 17:30 Niall Mansfield [this message]
2024-07-01 11:42 ` Example of how to handle multi-line records in Emacs forms mode (i.e. using forms.el) ? Eli Zaretskii
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240630173032.GM13058@uit.co.uk \
    --to=gnu@barg.org.uk \
    --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.