From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45443: 28.0.50; Can't find definition of compilation--message->loc Date: Sat, 26 Dec 2020 12:44:00 +0200 Message-ID: <83a6u0n8y7.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28481"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45443@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 26 11:45:18 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kt74Y-0007IJ-Fm for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Dec 2020 11:45:18 +0100 Original-Received: from localhost ([::1]:35124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kt74X-0005gM-9g for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Dec 2020 05:45:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kt74I-0005ex-VF for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 05:45:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47230) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kt74I-00006t-GN for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 05:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kt74I-0004pc-DR for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 05:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Dec 2020 10:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45443 X-GNU-PR-Package: emacs Original-Received: via spool by 45443-submit@debbugs.gnu.org id=B45443.160897947118512 (code B ref 45443); Sat, 26 Dec 2020 10:45:02 +0000 Original-Received: (at 45443) by debbugs.gnu.org; 26 Dec 2020 10:44:31 +0000 Original-Received: from localhost ([127.0.0.1]:58776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kt73m-0004oW-PC for submit@debbugs.gnu.org; Sat, 26 Dec 2020 05:44:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kt73k-0004oG-Ng for 45443@debbugs.gnu.org; Sat, 26 Dec 2020 05:44:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60704) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kt73f-0008LM-Ee for 45443@debbugs.gnu.org; Sat, 26 Dec 2020 05:44:23 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3529 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kt73X-0007Zv-BC; Sat, 26 Dec 2020 05:44:15 -0500 In-Reply-To: (message from Richard Stallman on Sat, 26 Dec 2020 05:18:53 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196758 Archived-At: > From: Richard Stallman > Date: Sat, 26 Dec 2020 05:18:53 -0500 > > Trying to debug a bug in compile-goto-error on Rmail files, > I typed C-h f compilation--message->loc RET > then clicked on the file name -- which is supposed to find the definition > of that function. > > It did not find the definition; instead it said, > > Unable to find location in file > > I also tried M-x find-function RET compilation--message->loc RET. > It found a call to compilation--message->loc, not the definition. > > I searched for that name in the file and did not find a definition. > I will try grepping for it. It's a general problem with uses of cl-defstruct and similar constructs: they generate functions and macros that the Help functions are unable to find. In this case, see this part of compile.el: (cl-defstruct (compilation--message (:constructor nil) (:copier nil) ;; (:type list) ;Old representation. (:constructor compilation--make-message (loc type end-loc rule)) (:conc-name compilation--message->)) loc type end-loc rule)