public inbox for
help / color / mirror / Atom feed
* gnats/251: gnats:state-change-from-to fails with ACK message
@ 2001-08-29  1:34 andrewg
  0 siblings, 0 replies; only message in thread
From: andrewg @ 2001-08-29  1:34 UTC (permalink / raw)
  To: gnats-gnats

>Number:         251
>Category:       gnats
>Synopsis:       gnats:state-change-from-to fails with ACK message
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 29 01:34:00 PDT 2001
>Originator:     Andrew Gray
>Release:        gnats-3.113.1 with gnats/250 patch
Red Hat Linux release 7.1, kernel 2.4.2-2, i586,
Emacs 20.7.1
When running edit-pr on Emacs (after applying the patch
attached to gnats/250), changing the State field fails
with an ACK message in the command buffer.
Start Emacs.
M-x edit-pr
Change to <category>/200 buffer
C-c C-s
The immediate cause of the error message seems to be that
the default value for the "States" field as found in the
gnats::fields variable is a compiled function, i.e.
 (type-of (elt (assoc "State" gnats::fields) 2))
evaluates to
but the gnats::functionp function used by
gnats::field-default does not recognise it as a function
and returns nil. Using the built in functionp function
instead appears to fix the problem in my environment. The
attached patch file for makes this change.
I don't understand enough about Emacs Lisp to know why
gnats::functionp was coded originally and what the affect
of using the built-in functionp instead will be.
Content-Type: application/octet-stream; name="patchfile.out"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="patchfile.out"


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-29  1:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-29  1:34 gnats/251: gnats:state-change-from-to fails with ACK message andrewg

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).