From: "Stuart Stevens" <stuart_stevens@sierralogic.com>
To: "help-gnats" <help-gnats@gnu.org>
Subject: Append only field
Date: Sat, 28 Aug 2004 06:59:00 -0000 [thread overview]
Message-ID: <E1C0Qj7-0006zL-5z@lists.gnu.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1498 bytes --]
I am interested in having an append only field. When edited, the field
would be blank and any new text would be added to the field with the date
and user name. The entries would have the newest first. Perhaps the order
would be an attribute. A template can be used to define the separation of
each entry.
This can be achieved partially by using on-change and a one line change to
gnatsweb.pr. Editpr users would have to clear the "Comments" field for
every submission. Is anybody working on an append only field? Is there any
interest in such a field?
field "Comments" {
multitext {
default ""
}
on-change "Comments!=\"\"" {
set-field "Comments" {
"================================================\n%D %s\n\n%s\n\n%s\n"
"$CurrentDate" "$EditUserEmailAddr" "$NewValue" "$OldValue"
}
}
on-change "Comments==\"\"" {
set-field "Comments" {
"%s" "$OldValue"
}
}
}
Stuart Stevens
Firmware Engineer
Sierra Logic Inc.
9083 Foothills Blvd., Suite 300, Roseville, CA 95747
916 772-1234 x146, 916 772-1811 Fax
stuart_stevens@sierralogic.com www.sierralogic.com
NOTICE: This email message is for the sole use of the intended recipients
and may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all
copies of the original message.
[-- Attachment #1.2: Type: text/html, Size: 3721 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnats
reply other threads:[~2004-08-26 20:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1C0Qj7-0006zL-5z@lists.gnu.org \
--to=stuart_stevens@sierralogic.com \
--cc=help-gnats@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).