From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Date: Mon, 24 Jul 2017 18:13:21 +0200 Message-ID: <87zibt7qzi.fsf@detlef> References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> <87y3rm2pbw.fsf@detlef> <87bmohai2u.fsf@detlef> <8760eh98v0.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500912864 18883 195.159.176.226 (24 Jul 2017 16:14:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2017 16:14:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27371@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 24 18:14:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZfzl-0004DS-Af for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jul 2017 18:14:09 +0200 Original-Received: from localhost ([::1]:55770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZfzq-0006BM-VP for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jul 2017 12:14:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZfzh-0006B5-NM for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 12:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZfze-0004EA-DK for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 12:14:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51828) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZfze-0004E6-9F for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 12:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dZfze-0007gp-4y for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 12:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2017 16:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27371 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150091281529515 (code B ref 27371); Mon, 24 Jul 2017 16:14:02 +0000 Original-Received: (at 27371) by debbugs.gnu.org; 24 Jul 2017 16:13:35 +0000 Original-Received: from localhost ([127.0.0.1]:54505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZfzD-0007fy-Hb for submit@debbugs.gnu.org; Mon, 24 Jul 2017 12:13:35 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:56154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZfzC-0007fj-7s for 27371@debbugs.gnu.org; Mon, 24 Jul 2017 12:13:34 -0400 Original-Received: from detlef.gmx.de ([212.86.46.16]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lfolq-1dxTLM1SDi-00pQ8o; Mon, 24 Jul 2017 18:13:22 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 24 Jul 2017 11:33:59 -0400") X-Provags-ID: V03:K0:LgWSgfDnH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debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134919 Archived-At: Stefan Monnier writes: >> + ;; Remove internal functions. >> + (dolist (fun >> + (append >> + ;; constructor, copier, predicate, tag-symbol. >> + `(,(format "make-%s" name) >> + ,(format "copy-%s" name) >> + ,(format "%s-p" name) >> + ,(format "cl-struct-%s-tags" name)) >> + ;; accessors. >> + (mapcar #'(lambda (y) (format "%s-%s" name y)) slots))) > > AFAIK all these functions are defined with `defalias', so they should > already be handled by their own entry in load-history. You're right. So what's left to do is (setf (cl--find-class name) nil))) If you don't object I would commit the patch then ('tho it's rather your patch). > Stefan Best regards, Michael.