public inbox for gnats-prs@sourceware.org help / color / mirror / Atom feed
From: girgen@partitur.se To: gnats-gnats@sourceware.cygnus.com Subject: gnats/13: gnats.el can't edit-pr Date: Thu, 14 Oct 1999 08:14:00 -0000 [thread overview] Message-ID: <19991014151205.3276.qmail@sourceware.cygnus.com> (raw) >Number: 13 >Category: gnats >Synopsis: gnats.el can't edit-pr >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Oct 14 08:14:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: gnats-3.112.1 >Organization: >Environment: FreeBSD 3.3 RELEASE Xemacs 21.1.7 >Description: the emacs command edit-pr doesn't work. when trying to edit a pr, I get: Wrong type argument: sequencep, 35531606 The number varies, of course :) but the rest is the same. I get the same reaction pressing 'e' in summ-pr as by running "M-x edit-pr". After entering a number, I get "Wrong type..." >How-To-Repeat: Start emacs with gnats.el loaded. .emacs: (autoload 'send-pr-mode "send-pr" "Major mode for sending problem reports." t) (autoload 'send-pr "send-pr" "Command to create and send a problem report." t) (autoload 'edit-pr "gnats" "Command to edit a problem report." t) (autoload 'view-pr "gnats" "Command to view a problem report." t) (autoload 'gnats-mode "gnats" "Major mode for editing of problem reports." t) (autoload 'query-pr "gnats" "Command to query information about problem reports." t) (autoload 'summ-pr "gnats" "Command to display a summary listing of problem reports." t) (autoload 'change-gnats "gnats" "Change the GNATS database in use." t) ;; (setq gnats:::types '( ("partitur" ("/usr/local/share/gnats/gnats-db" "normal")))) (setq gnats:network-server "server") (setq gnats:userid "girgen") (setq gnats:password "passphrase") run M-x edit-pr enter a valid number. boom! >Fix: The fix is simple: the program tries to concat strings with an integer. This doesn't work. The int has to be converted to a string: --- gnats-el.in.orig Wed Nov 25 15:14:44 1998 +++ gnats-el.in Thu Oct 14 16:41:24 1999 @@ -1052,7 +1052,7 @@ proc) (setq proc (apply 'start-process - (concat " *" proc-name "-" (random t)) + (concat " *" proc-name "-" (int-to-string (random t))) buf (format (if gnats:network-server "%s/gnats/npr-edit" >Release-Note: >Audit-Trail: >Unformatted:
reply other threads:[~1999-10-14 8:14 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=19991014151205.3276.qmail@sourceware.cygnus.com \ --to=girgen@partitur.se \ --cc=gnats-gnats@sourceware.cygnus.com \ /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: linkBe 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).