From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Richard Stallman <rms@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#45443: 28.0.50; Can't find definition of compilation--message->loc
Date: Sun, 27 Dec 2020 00:38:17 -0500
Message-ID: <E1ktOkz-0006j7-R2@fencepost.gnu.org>
References: <E1kt6ez-0000D4-0e@fencepost.gnu.org> <83a6u0n8y7.fsf@gnu.org>
Reply-To: rms@gnu.org
Content-Type: text/plain; charset=Utf-8
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="6879"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 45443@debbugs.gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 27 06:39:15 2020
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1ktOlu-0001gZ-ON
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Dec 2020 06:39:14 +0100
Original-Received: from localhost ([::1]:35870 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1ktOlt-0007ZJ-MD
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Dec 2020 00:39:13 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56688)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1ktOlj-0007VW-7G
 for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2020 00:39:03 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:48641)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1ktOli-0003fG-Tx
 for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2020 00:39:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ktOli-0003UZ-RK
 for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2020 00:39:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Richard Stallman <rms@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 27 Dec 2020 05:39:02 +0000
Resent-Message-ID: <handler.45443.B45443.160904750613360@debbugs.gnu.org>
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.160904750613360
 (code B ref 45443); Sun, 27 Dec 2020 05:39:02 +0000
Original-Received: (at 45443) by debbugs.gnu.org; 27 Dec 2020 05:38:26 +0000
Original-Received: from localhost ([127.0.0.1]:60182 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1ktOl8-0003TQ-Dt
 for submit@debbugs.gnu.org; Sun, 27 Dec 2020 00:38:26 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:35146)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rms@gnu.org>) id 1ktOl6-0003TE-LM
 for 45443@debbugs.gnu.org; Sun, 27 Dec 2020 00:38:25 -0500
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45388)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rms@gnu.org>) id 1ktOl1-0003I8-Fn
 for 45443@debbugs.gnu.org; Sun, 27 Dec 2020 00:38:19 -0500
Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rms@gnu.org>)
 id 1ktOkz-0006j7-R2; Sun, 27 Dec 2020 00:38:18 -0500
In-Reply-To: <83a6u0n8y7.fsf@gnu.org> (message from Eli Zaretskii on Sat, 26
 Dec 2020 12:44:00 +0200)
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:196786
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/196786>

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > 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

What causes the problem?  There has to be a way to fix it.

Does the fact that the defining form name does not start with `def'
have anything to do with it?  We could call it `def-cl-struct'.

There is also this:

            (:conc-name compilation--message->))

Years have taught me that enabling a definition to be a little shorter
by making names by concatenation is a bad idea.  It makes the code
harder to understand because there are references to these names that
you can't find with simple searching.

Is there a way to rewrite that definition so it does not concatenate
names?

If there is none, can we create one?

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)