From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jun 2017 08:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27371 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 27371@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149751395111288 (code B ref -1); Thu, 15 Jun 2017 08:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jun 2017 08:05:51 +0000 Received: from localhost ([127.0.0.1]:48472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLPmp-0002w0-5I for submit@debbugs.gnu.org; Thu, 15 Jun 2017 04:05:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLPmm-0002vm-RP for submit@debbugs.gnu.org; Thu, 15 Jun 2017 04:05:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLPmg-0006cX-7f for submit@debbugs.gnu.org; Thu, 15 Jun 2017 04:05:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54257) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dLPmg-0006cS-4d for submit@debbugs.gnu.org; Thu, 15 Jun 2017 04:05:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLPme-0002pg-6A for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2017 04:05:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLPma-0006aL-4s for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2017 04:05:40 -0400 Received: from mout.gmx.net ([212.227.15.19]:54599) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLPmZ-0006ZY-Pz for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2017 04:05:36 -0400 Received: from detlef.gmx.de ([212.86.51.31]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Le5XQ-1eBBTs26BA-00pyBi for ; Thu, 15 Jun 2017 10:05:32 +0200 From: Michael Albinus Date: Thu, 15 Jun 2017 10:05:31 +0200 Message-ID: <87mv99n0ac.fsf@detlef> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:P5h0jpDVNjcK7GcZyeBLhsTpFUDUbpG2U1xDtuUiF+WAB0YyFvk IP9CasxLGVq1yMKUGxFFuswnDh6iHOzJvHGockJ2iG8GOJNT7Zt6T8kUlvMiua5haO7Cv6G tWQUdJXM4oHP+Sfwuh2l2EYsgxXzdHkt+Bw5bXqFWms0pdhDxmDJVsynTr/DPd3ncFSYdZi d50C5AreosM7BL8LeKKnA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ExmReCiZbbQ=:/JK6i53UdVbJ2dbLdBve9b NZQqHnOAX8D8YYNJvNBw8OCJFUozE6LpAwpd0G2cpt2uYu0eKDO3QcRjP1wFa8Sor9btlVgqB b7KlH8xTRChkPEMs6ELmazoB0gaY2BRc+Rh4VpjGKku7L/yhX/4cQ42OmoHNYxL2eqEhm3tt+ 8VUZGR1B8E/Gdrzhy6W4oL+MmlxIQZ51N+qlfBJD/pJ4mPXfZP2gfJfSnyWoWA9TOagf/KMgJ 3FvYEJoStnnVZqEeloF1WLy8+0f8bBILjPi+N/ze/5xaHIraDgXys1Cs1cs7J/XJbBMmmtBfT izt97MyPrl8CzGe5MbwwLh57OFrB/Yce/Cj8E2xgw2/6pj0IgEF6uGEWL6/GKHh7L2vAkbyFR uw+XfGsn7Os6/NxoBs7rX+YoG7FzeWEHOjXK9FSDrYXSMKYaQe0yAo2qyO1P04DvbDwEvkkpl 3rfaqIJuRj4H6ih3p5TYjm4Oopq7/Y864qDY9inlOZN9iKRFxkD8z5ZPrShxiB5wZPgTD/bdU ysy+n+LyUxP+GpIOMEjybsTtnZRIr2k336IhPLJKY9lehPvceDatiEiToe4l6hRL4HCFTDAPl dOpbNkgh+f6eFh3azIxP2yS1fqL9Vnt6dH0nXRnKmGh3UQthf+/Rl5J/VniiLRxpDEPWahMpQ D77KRNFOPz0IMrJaI38XY/6h6gp8gKS3fd7Lg/H+UQYUluZ6WsT5wgSmrox2f8SZ4UWhhcqfH 7O4usbCGOQn/FaT4WCUGm54P1QZFddaiWiYLOu9jBSpVOUi2JL/bWva8saS/sp0QtUq9vRsGt QWMq9xl X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) 1. emacs -Q -l tramp 2. M-x unload-feature tramp => Unexpected element (define-type . tramp-file-name) in load-history In GNU Emacs 26.0.50 (build 44, x86_64-pc-linux-gnu, GTK+ Version 2.24.30) of 2017-03-31 built on detlef Repository revision: 1da9a207669a3cf5d27ac1dd61543c1492e05360 System Description: Ubuntu 17.04 Recent messages: Mark set uncompressing 23073.gz...done Deleting article 23073 in default No more unseen articles Mark set Returning to the group buffer Saving /home/albinus/.newsrc.eld... Saving file /home/albinus/.newsrc.eld... Wrote /home/albinus/.newsrc.eld Saving /home/albinus/.newsrc.eld...done Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GCONF GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 Major mode: Lisp Interaction Minor modes in effect: diff-auto-refine-mode: t erc-notify-mode: t erc-notifications-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t display-time-mode: t shell-dirtrack-mode: t icomplete-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/albinus/src/elpa/packages/debbugs/debbugs-org hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-org /home/albinus/src/elpa/packages/debbugs/debbugs-gnu hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-gnu /home/albinus/src/elpa/packages/debbugs/debbugs hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs /home/albinus/src/elpa/packages/debbugs/debbugs-autoloads hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-autoloads /home/albinus/src/elpa/packages/debbugs/debbugs-pkg hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-pkg /home/albinus/src/elpa/packages/debbugs/debbugs-browse hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-browse /home/albinus/src/elpa/packages/tramp-theme/tramp-theme hides /home/albinus/.emacs.d/elpa/tramp-theme-0.1.1/tramp-theme /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-autoloads hides /home/albinus/.emacs.d/elpa/tramp-theme-0.1.1/tramp-theme-autoloads /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-pkg hides /home/albinus/.emacs.d/elpa/tramp-theme-0.1.1/tramp-theme-pkg /home/albinus/.emacs.d/elpa/telepathy-20131209.458/telepathy hides ~/lisp/telepathy ~/src/tramp/lisp/tramp-smb hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-smb ~/src/tramp/lisp/tramp-uu hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-uu ~/src/tramp/lisp/tramp-adb hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-adb ~/src/tramp/lisp/tramp-compat hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-compat ~/src/tramp/lisp/tramp hides /usr/local/share/emacs/26.0.50/lisp/net/tramp ~/src/tramp/lisp/trampver hides /usr/local/share/emacs/26.0.50/lisp/net/trampver ~/src/tramp/lisp/tramp-ftp hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-ftp /home/albinus/.emacs.d/elpa/soap-client-3.1.2/soap-client hides /usr/local/share/emacs/26.0.50/lisp/net/soap-client /home/albinus/.emacs.d/elpa/soap-client-3.1.2/soap-inspect hides /usr/local/share/emacs/26.0.50/lisp/net/soap-inspect ~/src/tramp/lisp/tramp-cmds hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-cmds ~/src/tramp/lisp/tramp-gvfs hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-gvfs ~/src/tramp/lisp/tramp-loaddefs hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-loaddefs ~/lisp/dbus hides /usr/local/share/emacs/26.0.50/lisp/net/dbus ~/src/tramp/lisp/tramp-sh hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-sh ~/src/tramp/lisp/tramp-cache hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-cache Features: (shadow warnings emacsbug time-stamp url-http url-gw url-auth url-queue url-cache url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf diff-mode easy-mmode flow-fill sort gnus-cite url-util shr-color color shr svg dom browse-url mm-archive mail-extr gnus-bcklg qp gnus-async gnus-ml pop3 utf-7 nndraft nnmh nnml network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-cache gnus-sum nnnil smtpmail sendmail gnus-demon nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo gnus-spec gnus-int gnus-range message puny rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr term/xterm xterm erc-notify erc-desktop-notifications notifications dbus xml erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat thingatpt pp cperl-mode tramp-theme em-dirs esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util finder-inf rx docker-tramp tramp-cache slime-autoloads vagrant-tramp dash term disp-table ehelp info package epg-config url-handlers url-parse url-vars time tramp-sh tramp-cmds tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete comint ansi-color ring parse-time format-spec advice auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache ido seq byte-opt subr-x gv bytecomp byte-compile cl-extra help-mode easymenu cconv jka-compr icomplete time-date paren vc cl-loaddefs pcase cl-lib vc-dispatcher dired dired-loaddefs mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 453817 58583) (symbols 48 42157 120) (miscs 40 69 285) (strings 32 100342 15319) (string-bytes 1 3099767) (vectors 16 60096) (vector-slots 8 992964 10665) (floats 8 436 632) (intervals 56 302 0) (buffers 976 23)) From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 12:57:18 2017 Received: (at control) by debbugs.gnu.org; 15 Jun 2017 16:57:18 +0000 Received: from localhost ([127.0.0.1]:49844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLY58-0002Ze-78 for submit@debbugs.gnu.org; Thu, 15 Jun 2017 12:57:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLY56-0002ZS-Hs for control@debbugs.gnu.org; Thu, 15 Jun 2017 12:57:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLY50-0007mU-QU for control@debbugs.gnu.org; Thu, 15 Jun 2017 12:57:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLY50-0007mD-Ng for control@debbugs.gnu.org; Thu, 15 Jun 2017 12:57:10 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dLY50-0004TD-EA for control@debbugs.gnu.org; Thu, 15 Jun 2017 12:57:10 -0400 Subject: control message for bug 24655 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 15 Jun 2017 12:57:10 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 24655 by 27371 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 16:52:22 2017 Received: (at control) by debbugs.gnu.org; 15 Jun 2017 20:52:22 +0000 Received: from localhost ([127.0.0.1]:49948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLbkc-0001Gz-0S for submit@debbugs.gnu.org; Thu, 15 Jun 2017 16:52:22 -0400 Received: from mout.gmx.net ([212.227.15.15]:49495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLbkZ-0001Gk-O7 for control@debbugs.gnu.org; Thu, 15 Jun 2017 16:52:20 -0400 Received: from detlef.gmx.de ([212.86.51.31]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MdaCy-1dBdR22ryG-00PNvC for ; Thu, 15 Jun 2017 22:52:12 +0200 Date: Thu, 15 Jun 2017 22:52:11 +0200 Message-Id: <87efulj7no.fsf@detlef> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #27371 X-Provags-ID: V03:K0:e6hnRxgabF/2wHmAjtPOqScShujQYQnpA/AR99vA37iksbZozjm NvB2NMlBdGLaiCvp/IrmJfnwlZJS7PmaGEnGBgc06fbBFf6JaJ3pIUyxY7p5jdm7rI8FJGj nz7LtUj31JaI2s4BJXYr/A9UTTSd8gsTWZqkA119Qdcsk7RIlqIk3VQZrVVUgh68pl/s/6F XqDHuVOmfyr9YEh1Ojjig== X-UI-Out-Filterresults: notjunk:1;V01:K0:WNloTpxjY8s=:vqUTP6stIUFLoqgD143d46 fFFPS81F+XQIxQKQvl6GhzaMbJl+2iB1VowsLqUi+RHCrLiSFuKa3pYwyTh+6945IQFReAFeR gVgsR5aDIP660SSCeYOqEt0Ixn+KCXb3Td2WeN9KiktlQC4UsaDPNBXPBELiqLEXxit11oW1z pKGhBbs+wy3AO/bc1iYUFoOWTose5RIAdXJhspuBUsbPjH+HKLlhkb60Df3SbSlF2uYS6eNhm jSBvk5OiuaB5rpTSlERsbXI01V36eunz1Rgt0EJ6hoddm/jXLRkhulqHAlafXQJ8hneKNuVZ/ g7yGDazTv0gD9tUZf38BSP4zPKIqrLfC0IlqPz25SsA/V+aHqpQA4blC6TGVVzVgeiY+SIKue g5N0i0VOaZi8IrUr9uVaYiLFM/AE63lxbuCVFjWHjotDsdeWmE+5+7IqaqjHmXwMaIQJRjuGe PEMduc2dOsE4r6qkGWGXCFG6pEUSruB4GPt5kFBA3iWynuv0taap3XK/toV56zqagOZYQfODP HnSNG2EaH+BDNJtPslIMEVVS2hbPa2/wyAd/un2gHo7lq4XEXbhwaAoz0PE6QnDbKvIr+7lWQ LwdHoyE2q0Tk3hoNpKU2URF3zFxyHpWwa4CWAnbQMFoYtFhmtOlONuhhkJEniOFioJDnFo3Rj Vp9sQewq8Wl8Kz9RyK7058yU5f+f9RkVzRLvXo5yzZZ34VYc6h6UdIkr2J1evg06pVzUeBtMN 7o5RwCBZBdFU8WZRAZOB+qKH2A5FIXnJegaOATETtdtJ2KL//KXRQ7cdAHo= X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) severity 27371 minor From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 20 23:21:55 2017 Received: (at control) by debbugs.gnu.org; 21 Jun 2017 03:21:56 +0000 Received: from localhost ([127.0.0.1]:58715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNWDL-0004bl-Ms for submit@debbugs.gnu.org; Tue, 20 Jun 2017 23:21:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNWDJ-0004bW-LI for control@debbugs.gnu.org; Tue, 20 Jun 2017 23:21:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNWDD-0006Ig-GG for control@debbugs.gnu.org; Tue, 20 Jun 2017 23:21:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNWDD-0006IY-D9 for control@debbugs.gnu.org; Tue, 20 Jun 2017 23:21:47 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dNWDD-0005pZ-1l for control@debbugs.gnu.org; Tue, 20 Jun 2017 23:21:47 -0400 Subject: control message for bug 24655 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 20 Jun 2017 23:21:47 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) unblock 24655 by 27371 From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jul 2017 12:38: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: To: 27371@debbugs.gnu.org Cc: Stefan Monnier Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150029503711309 (code B ref 27371); Mon, 17 Jul 2017 12:38:02 +0000 Received: (at 27371) by debbugs.gnu.org; 17 Jul 2017 12:37:17 +0000 Received: from localhost ([127.0.0.1]:43358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX5H2-0002wK-Tx for submit@debbugs.gnu.org; Mon, 17 Jul 2017 08:37:17 -0400 Received: from mout.gmx.net ([212.227.17.22]:57233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX5H0-0002w6-Ex for 27371@debbugs.gnu.org; Mon, 17 Jul 2017 08:37:14 -0400 Received: from detlef.gmx.de ([79.140.117.1]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MKYpv-1dWnkr3o1P-001vQB; Mon, 17 Jul 2017 14:36:59 +0200 From: Michael Albinus References: <87mv99n0ac.fsf@detlef> Date: Mon, 17 Jul 2017 14:36:56 +0200 In-Reply-To: <87mv99n0ac.fsf@detlef> (Michael Albinus's message of "Thu, 15 Jun 2017 10:05:31 +0200") Message-ID: <87o9sjme8n.fsf@detlef> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:H/ZSX8TiC/ROnYa/DF/uXdgjO7DeU4+bmzaI++w+gsthqxra9sv 1D5W0xX9DCqK2oK45o5fNJ/bREY4Sckcw+4F/URAGCeVxoXS8O8EjAZa/+vTIcOvWfeAI9x iGtSPuXjDMCghpat+jBKDOpBCG79lwQERcBlIvrvS139ySxWIvZITsDsX6AhxWJX8NJ0pwg ouy2/J5oWXcNt0l+lp3sg== X-UI-Out-Filterresults: notjunk:1;V01:K0:CHhXBo+NQ8I=:hiN4SnVDTCH6oTRbvV3aKr NLDEbC+uORyzyNb7b6T6HqNAadJGdvO1o2TWOv9mJ5J/a5gwvVMozMGAOLFrCafAdqp3JyVZg E+jdjsqiTUTo9Ok4m19CIcVz4NlNC8219/Yg5xfkfkiyJ4s15dYypkghj3hKXjlTnmmpUeU1W z7cGKvJv4KUv0Nyd+0S/aMvZKraEJXjP2FP/Q2YPGOGD5+ut6kWfgRSfdXEx7KA1KYUOHjiGa DR3Wpf5fkU4S//OgS6iWbeHIa1wC4+ylgfM+HiCeeD2Nt/HF1MZVpHl2nl/y5cyQ3Zg8H2HY9 Byh/f8gFl1zzgRnUVIRTg8T4rG9adhZQzCDHl78gsQm7WdyOYf114S0QlWj6utYt8MjWzwtK7 MT/xAgF3R2X1yxhHLmLKysLhPUlBCz35jartvx2O67CVMQTpd9NpmFEchfne7UMcQ0qChCFCh xAiaSzZ+4MxcYSJNeWCMmKDPeU93VfDkkkopvjPDzx1rvn9ae3uUr3baXZycf2z/ESN1FV89z AmQu1UA5Y+2yyDyk4pMAYKsig2eGg+KHQdbet4lXOMFZNvN+Gv7QPmLolW9mcey/NZwUGvXly BYkPRIY435OIK26xOdwpdiRhUmKba79XpguyiGWhJaAWr5FS/qngam0hc4Rwmum5dGrdcBy7M NjUAKEdI0/z1EIs/3ahvco8WUftlDzKdKwqRaEefy+11RScYY2W7wopjxI7+3QYVTWwAHhWrL B3gyOHoRLvC8diZ21tnb1bVj13Cewk37UITfS8rPjFKXj13gouyF0gSlGIpL9q4mulK/e/JOw v/MRdkFfHva2YC1R7b6k3PxSRx9mexvh+EZfh4y3VIQ6Ssg6m0= X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) Michael Albinus writes: > 1. emacs -Q -l tramp > 2. M-x unload-feature tramp > > => Unexpected element (define-type . tramp-file-name) in load-history The following patch fixes this for me: --8<---------------cut here---------------start------------->8--- diff --git a/lisp/loadhist.el b/lisp/loadhist.el index 28d0b18c81..34200ab40e 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el @@ -269,7 +269,7 @@ unload-feature ;; and says we should restore SYMBOL's autoload ;; when we undefine it. (`t (setq restore-autoload (cdr x))) - ((or `require `defface) nil) + ((or `require `defface `define-type) nil) (_ (message "Unexpected element %s in load-history" x))) ;; Kill local values as much as possible. (dolist (buf (buffer-list)) --8<---------------cut here---------------end--------------->8--- However, it just skips the entry. Wouldn't it be better to remove the defstruct itself, and all inherited symbols? And where could I find information how to destroy a defstruct? Stefan? Beswt regards, Michael. From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jul 2017 19:45:01 +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: To: Michael Albinus Cc: 27371@debbugs.gnu.org Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.15003206437478 (code B ref 27371); Mon, 17 Jul 2017 19:45:01 +0000 Received: (at 27371) by debbugs.gnu.org; 17 Jul 2017 19:44:03 +0000 Received: from localhost ([127.0.0.1]:44842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXBw2-0001wW-Ni for submit@debbugs.gnu.org; Mon, 17 Jul 2017 15:44:02 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:59272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXBvz-0001vu-Or for 27371@debbugs.gnu.org; Mon, 17 Jul 2017 15:44:00 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v6HJhvbL011721; Mon, 17 Jul 2017 15:43:58 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 6046466268; Mon, 17 Jul 2017 15:43:52 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> Date: Mon, 17 Jul 2017 15:43:52 -0400 In-Reply-To: <87o9sjme8n.fsf@detlef> (Michael Albinus's message of "Mon, 17 Jul 2017 14:36:56 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6073=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6073> : inlines <5978> : streams <1754616> : uri <2464810> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) > However, it just skips the entry. Wouldn't it be better to remove the > defstruct itself, and all inherited symbols? And where could I find > information how to destroy a defstruct? Better would be to add some hook so cl-lib can add support for define-type. Stefan From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2017 07:11: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: To: Stefan Monnier Cc: 27371@debbugs.gnu.org Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150036181024604 (code B ref 27371); Tue, 18 Jul 2017 07:11:02 +0000 Received: (at 27371) by debbugs.gnu.org; 18 Jul 2017 07:10:10 +0000 Received: from localhost ([127.0.0.1]:45261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXMe2-0006Om-8I for submit@debbugs.gnu.org; Tue, 18 Jul 2017 03:10:10 -0400 Received: from mout.gmx.net ([212.227.17.20]:63426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXMe0-0006OY-A8 for 27371@debbugs.gnu.org; Tue, 18 Jul 2017 03:10:08 -0400 Received: from detlef.gmx.de ([212.86.40.150]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lu3J4-1dfVbf38ek-011PfO; Tue, 18 Jul 2017 09:09:57 +0200 From: Michael Albinus References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> Date: Tue, 18 Jul 2017 09:09:55 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 17 Jul 2017 15:43:52 -0400") Message-ID: <87y3rm2pbw.fsf@detlef> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:btte7DT2jdUJTxOeNEFLu42cEv0XSql4Denyw2lKCn7U6RAojJs em/IGNvoEICeGy6Oo9f9LB1V8fQW7hDzB73Zcc3W+jZzFyBJIaZ/wdrsDIZ7UmYWeMKJBJ9 /7I7t9E4xIW9LfHOnkJ/x8aov55U+LDjTg39Z+H6bgXpeLe2E4FeSFhykfqXIzTU9nGYrSM QMJbbiB9kZhaycWCdP3JQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:dDX5KLCDbVU=:ecEeqoE2BTwaLyKHITBtbm QGeSjrt8SSFRp2PjlnjJVCk8MRMoqcuhRcCNbQLZkp3zHDIEolY25spX/0V29beqd0Xuq31Aw Zg1eXwQ5/MaZOll0oQNmHAIXEfotCxDMA8nK3/rSvHnVZ87VIvmGW8GrK978Znmg1N1sC8d4t 2Ek4cW9HR3FzRUFV444yiO9SAv8PEPvP1pxg9v9uEAzhr6Da/R0t5EZVil3GdpKdHzpj2Zv6Y rNUjd/SIEOY20/ZCJqxQvJU6N6NZ56XbzCLsRv59xIr5vBsTZIPLhU9ka1EKJ0mNHcQ5QdkOd zhKRzCxTOYS2tAnxrSp/r8gT6euyhDItpsceMI5RMfFi6P1gazDdexegSjuMLN+RfAbmJ4y2s xK44D4wVLPntGay+FheSDE9LHhQ6aymeZHG4/FQIHxPDIY4++E2czCpqpHPUfqzbDYSN031Se NXpOxlTz2hWUAqV+Kt4YScq8OUN2g0hiSW6PYKij3oFA2YfB1eci97GlpeNDVXOnCceu9yK0e y5Vt3GTF5CmRRJwvMHPsxLuNNGtSG3dQbqR/joYnfnfNauJEsocAsiFcmQ+ywrW5ALio9KhRZ ZJhDD3S01jQxfEDuv0eq1zjBdbFSh66t6rBYmSXj6lZyWUMk7aRPb+aTBBN/XNJoG67050SSU sBxngtzthfROqJCGS2Z0HeKjneIroPgv+sBA53f7TOob25Oy7xe+piO/LLfw/IwHus1BxD/k9 AceBkyZ/+2h7CB+hUdAR6Tx8m3rtaCu2vifbIzNQuoYjRNO2PplSCj01dS3L/PPyFWGOJFe+f 7CAs3FrAOQDe7JIsyjMUgUamdoAiEk3AeF+W8oa81kl9jd79Hk= X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Stefan Monnier writes: >> However, it just skips the entry. Wouldn't it be better to remove the >> defstruct itself, and all inherited symbols? And where could I find >> information how to destroy a defstruct? > > Better would be to add some hook so cl-lib can add support for > define-type. Likely yes. But I'm not familiar with cl*; I have no idea how such a hook should look like. And how it shall be implemented. > Stefan Best regards, Michael. From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2017 14:27: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: To: Michael Albinus Cc: 27371@debbugs.gnu.org Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150038796321379 (code B ref 27371); Tue, 18 Jul 2017 14:27:02 +0000 Received: (at 27371) by debbugs.gnu.org; 18 Jul 2017 14:26:03 +0000 Received: from localhost ([127.0.0.1]:46687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXTRq-0005Yk-DN for submit@debbugs.gnu.org; Tue, 18 Jul 2017 10:26:03 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:43758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXTRn-0005YJ-La for 27371@debbugs.gnu.org; Tue, 18 Jul 2017 10:26:01 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v6IEPvNC032084; Tue, 18 Jul 2017 10:25:57 -0400 Received: by ceviche.home (Postfix, from userid 20848) id E83D9660CC; Tue, 18 Jul 2017 10:25:56 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> <87y3rm2pbw.fsf@detlef> Date: Tue, 18 Jul 2017 10:25:56 -0400 In-Reply-To: <87y3rm2pbw.fsf@detlef> (Michael Albinus's message of "Tue, 18 Jul 2017 09:09:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6074=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6074> : inlines <5979> : streams <1754727> : uri <2465302> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) >>> However, it just skips the entry. Wouldn't it be better to remove the >>> defstruct itself, and all inherited symbols? And where could I find >>> information how to destroy a defstruct? >> Better would be to add some hook so cl-lib can add support for >> define-type. > Likely yes. But I'm not familiar with cl*; I have no idea how such a > hook should look like. And how it shall be implemented. The hook shouldn't be specific to cl. Maybe something like the patch below would make sense? Then we can add support for define-type, ert-deftest, cl-defmethod, ... Stefan diff --git a/lisp/loadhist.el b/lisp/loadhist.el index 28d0b18c81..bf15399c11 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el @@ -162,6 +162,60 @@ unload--set-major-mode ;; mode, or proposed is not nil and not major-mode, and so we use it. (funcall (or proposed 'fundamental-mode))))))) +(cl-defgeneric loadhist-unload-element (x) + "Unload an element from the `load-history'." + (message "Unexpected element %S in load-history" x)) + +;; In `load-history', the definition of a previously autoloaded +;; function is represented by 2 entries: (t . SYMBOL) comes before +;; (defun . SYMBOL) and says we should restore SYMBOL's autoload when +;; we undefine it. +;; So we use this auxiliary variable to keep track of the last (t . SYMBOL) +;; that occurred. +(defvar loadhist--restore-autoload + "If non-nil, this is a symbol for which we should +restore a previous autoload if possible.") + +(cl-defmethod loadhist-unload-element ((x (head t))) + (setq loadhist--restore-autoload (cdr x))) + +(defun loadhist--unload-function (x) + (let ((fun (cdr x))) + (when (fboundp fun) + (when (fboundp 'ad-unadvise) + (ad-unadvise fun)) + (let ((aload (get fun 'autoload))) + (defalias fun + (if (and aload (eq fun loadhist--restore-autoload)) + (cons 'autoload aload) + nil)))))) + (setq loadhist--restore-autoload nil)) + +(cl-defmethod loadhist-unload-element ((x (head defun))) + (loadhist--unload-function x)) +(cl-defmethod loadhist-unload-element ((x (head autoload))) + (loadhist--unload-function x)) + +(cl-defmethod loadhist-unload-element ((x (head require))) nil) +(cl-defmethod loadhist-unload-element ((x (head defface))) nil) + +(cl-defmethod loadhist-unload-element ((x (head provide))) + ;; Remove any feature names that this file provided. + (setq features (delq (cdr x) features))) + +(cl-defmethod loadhist-unload-element ((x symbol)) + ;; Kill local values as much as possible. + (dolist (buf (buffer-list)) + (with-current-buffer buf + (if (and (boundp x) (timerp (symbol-value x))) + (cancel-timer (symbol-value x))) + (kill-local-variable x))) + (if (and (boundp x) (timerp (symbol-value x))) + (cancel-timer (symbol-value x))) + ;; Get rid of the default binding if we can. + (unless (local-variable-if-set-p x) + (makunbound x))) + ;;;###autoload (defun unload-feature (feature &optional force) "Unload the library that provided FEATURE. @@ -200,9 +254,6 @@ unload-feature (prin1-to-string dependents) file)))) (let* ((unload-function-defs-list (feature-symbols feature)) (file (pop unload-function-defs-list)) - ;; If non-nil, this is a symbol for which we should - ;; restore a previous autoload if possible. - restore-autoload (name (symbol-name feature)) (unload-hook (intern-soft (concat name "-unload-hook"))) (unload-func (intern-soft (concat name "-unload-function")))) @@ -250,38 +301,7 @@ unload-feature (when (symbolp elt) (elp-restore-function elt)))) - (dolist (x unload-function-defs-list) - (if (consp x) - (pcase (car x) - ;; Remove any feature names that this file provided. - (`provide - (setq features (delq (cdr x) features))) - ((or `defun `autoload) - (let ((fun (cdr x))) - (when (fboundp fun) - (when (fboundp 'ad-unadvise) - (ad-unadvise fun)) - (let ((aload (get fun 'autoload))) - (if (and aload (eq fun restore-autoload)) - (fset fun (cons 'autoload aload)) - (fmakunbound fun)))))) - ;; (t . SYMBOL) comes before (defun . SYMBOL) - ;; and says we should restore SYMBOL's autoload - ;; when we undefine it. - (`t (setq restore-autoload (cdr x))) - ((or `require `defface) nil) - (_ (message "Unexpected element %s in load-history" x))) - ;; Kill local values as much as possible. - (dolist (buf (buffer-list)) - (with-current-buffer buf - (if (and (boundp x) (timerp (symbol-value x))) - (cancel-timer (symbol-value x))) - (kill-local-variable x))) - (if (and (boundp x) (timerp (symbol-value x))) - (cancel-timer (symbol-value x))) - ;; Get rid of the default binding if we can. - (unless (local-variable-if-set-p x) - (makunbound x)))) + (mapc #'loadhist-unload-element unload-function-defs-list) ;; Delete the load-history element for this file. (setq load-history (delq (assoc file load-history) load-history)))) ;; Don't return load-history, it is not useful. From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2017 15:20:01 +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: To: Stefan Monnier Cc: 27371@debbugs.gnu.org Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150039117626504 (code B ref 27371); Tue, 18 Jul 2017 15:20:01 +0000 Received: (at 27371) by debbugs.gnu.org; 18 Jul 2017 15:19:36 +0000 Received: from localhost ([127.0.0.1]:46792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXUHg-0006tQ-Ht for submit@debbugs.gnu.org; Tue, 18 Jul 2017 11:19:36 -0400 Received: from mout.gmx.net ([212.227.17.21]:59799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXUHf-0006t6-9F for 27371@debbugs.gnu.org; Tue, 18 Jul 2017 11:19:35 -0400 Received: from detlef.gmx.de ([212.86.40.150]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MbaS9-1dF837068z-00J6dZ; Tue, 18 Jul 2017 17:19:24 +0200 From: Michael Albinus References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> <87y3rm2pbw.fsf@detlef> Date: Tue, 18 Jul 2017 17:19:21 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 18 Jul 2017 10:25:56 -0400") Message-ID: <87bmohai2u.fsf@detlef> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:8eEtmWQbQSk1ZMqWrj5kH+y5/TUebfg3rBtEH4wM1szYTYnRE3Z wWpYYQ+kGmZEGNrJ99Sdcn+ugMKmHc25urkdqMg90VkgN+CeNyhljlzE2DJCajZFi4cDKQd QItL+lVssx8n9ugWZWdly+5aq1UKR0l2In8U+rPEapWacKu9xzh/naFfXRW26reqfVJfk9q ISub9HUYAZGRBz+jHEsYQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:S/SglIKg7SQ=:jtMHIuhGO/VmKWybWREY3Q qrXw3dNVB/oSEcLlbFIqitqYjFB9uOTDJzRKuPZC2GQlQcWJKF65ZNv2m/ggzBKVTZSKSqA+c NlJrnOZzHRFUPkkb+kAgm0+W4b2RmFgavdz43+7AuozgfXQqJEu0H2QIUPFBl9K61NVgLhylx gQQ9BFzmEOtDlyVUTbMkU8e7DG3BwgV/Dpe1HRXBVfohY5M+LtbY9Mt825N6fD8uWGQ0NzWcu t3+OOEXAhDJ9YWxUCUIuaKb7v8ZIgwMm2jaq9b9I7nqs359rSiFoH4hyQwfHeE8Mrbq7NN3MP 6+7eSTleYOr390noedGaFX6LhlrH8l8WE3F9vmclKnH3o6ZR1peFAya+OVS5TsbfH9K5bi1bx VDBC1tw6yat+Xlbon8okaCy48yFCZqUz03Gsbw51eiizU+8lyU5nUp2bvkV4D9h1v/nrxXX3m E0RccHX8uLjLpfZkDpwJvYeMflJ/iONL3eFzGvkAyzcvQ7sgerzoWX2RBi/T5p1JsTQV6fAzj 0KDw9HAxHRWnMCliFx97wHp7G4ipS+/QeNkE25fp0A7m5nBKAUW2BP27ilhFWmYmMoz12UjSk EJHXQHEDRmtMDCB/IGGMnbopb3PKzYzXpEnkzAdw2LRyyipcjpxMRXy7l0SQRp6RYDpubx1wJ hdWPL5mLk86JLRMnWp8td674zle3aHu5qeAgL5ctE9wgjvMWEw2qfJbQYIReKYmDTKUUZovf7 cLawgEMmCw075mdXqxQEG4CrCLMiZNmtRFZEOtv49OatK9D8ehX3llPa4eZkgUBHkNn9lpXVt LrCxuOl4AubCVNFUMSPbCJcLLXiKiLk5HKYj5Lxgb8ixeOau6U= X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) Stefan Monnier writes: Hi Stefan, > The hook shouldn't be specific to cl. Maybe something like the patch > below would make sense? There is an error in the patch: In toplevel form: loadhist.el:192:40:Error: Invalid read syntax: ")" After fixing this, `tramp-test39-unload' still passes the test. You might push the patch. > Then we can add support for define-type, ert-deftest, cl-defmethod, ... That's my original question: what does it take to unload a `define-type' entry? > Stefan Best regards, Michael. From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2017 15:57:01 +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: To: Michael Albinus Cc: 27371@debbugs.gnu.org Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150039338329867 (code B ref 27371); Tue, 18 Jul 2017 15:57:01 +0000 Received: (at 27371) by debbugs.gnu.org; 18 Jul 2017 15:56:23 +0000 Received: from localhost ([127.0.0.1]:46844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXUrH-0007le-BD for submit@debbugs.gnu.org; Tue, 18 Jul 2017 11:56:23 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:53728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXUrF-0007lW-0O for 27371@debbugs.gnu.org; Tue, 18 Jul 2017 11:56:22 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v6IFuIB6010109; Tue, 18 Jul 2017 11:56:19 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 5610666173; Tue, 18 Jul 2017 11:56:18 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> <87y3rm2pbw.fsf@detlef> <87bmohai2u.fsf@detlef> Date: Tue, 18 Jul 2017 11:56:18 -0400 In-Reply-To: <87bmohai2u.fsf@detlef> (Michael Albinus's message of "Tue, 18 Jul 2017 17:19:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6074=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6074> : inlines <5980> : streams <1754735> : uri <2465341> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) >> Then we can add support for define-type, ert-deftest, cl-defmethod, ... > That's my original question: what does it take to unload a `define-type' > entry? Presumably it should undo what cl-struct-define does. The main part would be (setf (cl--find-class name) nil), I guess. Stefan From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2017 16:09: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: To: Stefan Monnier Cc: 27371@debbugs.gnu.org Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150039413331004 (code B ref 27371); Tue, 18 Jul 2017 16:09:02 +0000 Received: (at 27371) by debbugs.gnu.org; 18 Jul 2017 16:08:53 +0000 Received: from localhost ([127.0.0.1]:46857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXV3N-000840-8P for submit@debbugs.gnu.org; Tue, 18 Jul 2017 12:08:53 -0400 Received: from mout.gmx.net ([212.227.15.19]:49830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXV3L-00083n-PZ for 27371@debbugs.gnu.org; Tue, 18 Jul 2017 12:08:52 -0400 Received: from detlef.gmx.de ([212.86.40.150]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LsCdj-1dcuMJ2cUZ-013wNP; Tue, 18 Jul 2017 18:08:40 +0200 From: Michael Albinus References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> <87y3rm2pbw.fsf@detlef> <87bmohai2u.fsf@detlef> Date: Tue, 18 Jul 2017 18:08:38 +0200 In-Reply-To: <87bmohai2u.fsf@detlef> (Michael Albinus's message of "Tue, 18 Jul 2017 17:19:21 +0200") Message-ID: <877ez5afsp.fsf@detlef> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:2VSWO4/6eqXoOpX1mMz109UxI+Cjnb3WTwVQ+qMh+Tla7XFLiYN 0ynYrPvtIfcA+oaFznAQL5rBVTNVO38VZbrOVshbUNdcuszwjZcjZYPqeB3tIdZtZiSyfTp NBnWx+gOJnAry8k1a7/z5zzUh9gxImlIT/d1aENiw2CTdh6syyaloA+rKspjZIcLof+42Im zYYmMVIEV96vNL3r8Dzdw== X-UI-Out-Filterresults: notjunk:1;V01:K0:bbuZn6+9Mx8=:rv63mAkqZWwYzHrESFsO2q DpDHCp1sWXaPXo6Gl/EDjBF6fc/aKdDf3iWAxBEXqiYlTWBGlBDwvWxnXArTXD+DpVN+bai3o 9qtOrYJW4vACzpK8ydB0a08Nkm7chIbqF3dL270u9YzrVtNB5gtEvhjP3SZ3rNiBOequ/UpSr NZfeOC5BlyE70WxA8sD5r4pZGdAyuPUy27U+BJb8ZNMVCoXBU47dy/FkwnhH7qJCpYQZp9b/r ZVSf4F1ZatM3nQmXXD77Y8NUZzHcpSx84na0UeH8H9oiwJC17yh3JbyZn1mSYFxSQ+y3GiZsJ v3VReiYYUaWAMH+uW2ggWK7BBgJX9D5f7X4rOxMwby74KOTGGrS30++k7YvwpHPQwUiHl7+N4 MZw7nIRBfRlqu/Ib90CYABEs343ZYeBemweLPp8KZC0pkcSnlLOw9JdJdljYsuj4O48ew8kjk PJrz2EOkJjyARKcVFV3dvhcjAGJ/e1zFFY+W6chNwLTNr6UVMT2/znB0R/qGf03N8oeluGwIY 6/CeLhcJ4Qz2giBYzGaAndb5EMt3hSZ8HFNKTpBZl2Z7QCZ/4cPn0jZqEieSJoZvOHljy0pxC dHmGNUTBi35xMx6U1FpLiE2h44ipnC9K40ffJjLzXjOtgbpy1ljj5QHLpjeRrP6iPkkEvCpju 5wXuyDZCO/XT3r6aYDO2UaW7tsSAdL9xdmn1MdzKY/Y7PyciIvp/0ZpjQIaLM30ZhXw6yxAuM fGI1CSAT/oRiW//RB0GWPdIiaB/Odg5aouvi4UMhl/bN8TxW6/QSVRF4mkyd7VCM/DNRb9t1i 6e6AgtF08ZKbMB10sF9DNhM+OkPUmbLN/Xf6wu2JlEoYqZq8LE= X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) Michael Albinus writes: Hi Stefan, > After fixing this, `tramp-test39-unload' still passes the test. You > might push the patch. Too hasty. Further runs of tramp-tests.el fail for this. I'll check what's up. >> Stefan Best regards, Michael. From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2017 15:03:01 +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: To: Stefan Monnier Cc: 27371@debbugs.gnu.org Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150090853315990 (code B ref 27371); Mon, 24 Jul 2017 15:03:01 +0000 Received: (at 27371) by debbugs.gnu.org; 24 Jul 2017 15:02:13 +0000 Received: from localhost ([127.0.0.1]:54422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZes8-00049q-PW for submit@debbugs.gnu.org; Mon, 24 Jul 2017 11:02:13 -0400 Received: from mout.gmx.net ([212.227.15.19]:60165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZes6-00049c-Dy for 27371@debbugs.gnu.org; Mon, 24 Jul 2017 11:02:11 -0400 Received: from detlef.gmx.de ([212.86.46.16]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MXIcX-1d49se1I97-00WIvr; Mon, 24 Jul 2017 17:01:57 +0200 From: Michael Albinus References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> <87y3rm2pbw.fsf@detlef> <87bmohai2u.fsf@detlef> Date: Mon, 24 Jul 2017 17:01:55 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 18 Jul 2017 11:56:18 -0400") Message-ID: <8760eh98v0.fsf@detlef> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K0:tIVKnCh8Tb66ctvm23EIsXb0SVQL+GncbSlknhp/z9/4eB45aqg sN8H6cPjJzeLv8jLjHJTpfragS8ioesaCDMrqHQiU6vbL6unVGnGS8x5f1AY+dQPLcNqhDU u1HapO3mAmWNfNkBjOXE+myr1oWNcMBA5UDvykLyNAMQ0TWua0bJd2pE/aProdyofLgKT+v HStv5fHqWzlTJviTahvSw== X-UI-Out-Filterresults: notjunk:1;V01:K0:Gf4qxC0bMnI=:Y+L+7LHrDnSYCzlYAK5K8g 7eRAMhWSIVs607aWqUmvDas9cGnQ8rn1/vAtLstM5mjtxxDZIPEGpEjWKMRdQ0lDPE8fj8Uds qCKZtVKgFbrs4riDtGGPDUwb8kAuOxFEwUK9cu13DP3P8kPpegbpxQZGGIttvDsXsBbciDlIe kZ3Y3WM6xtz2qGf72G7cW0h9JS2VkpDl0Tiy2jMbsy/UPW+n+SJusAv5xX1DFUIj0BTlhPAZU GeN7ymTovmmmYGgQPfWe2c3BTCLmEJoyEgPULc/aBPlR1NyTYwCFSlyLTHVXr7wtJ0QcM7vdm qj4tzPjiV2DWGq05UePGQZYIBNqG3NPasQnD1zbQdQbbyghLM77rkNuVgzXqfB8u5y8Zyljqm 7/QC3Skn9JzSJC7IGYnxrJTwhEdweurZT6IKpGk0FFRz4mOQ8p7VKM3Qh5cGe94Kiup9D3vbA oKzK5vtTKsC1+/Hk5YrVMc0OhQBpz2PJfYCDx0sKdK7L0EY7K8nDTZrWRcjNeJZHSVMhzgaLD yn9RepQjYIVCIvmJCTbNUUsvj7Kqcdhxh7mAQXFvPfiwN6QBUdIX57diE9OJkREbapIMfv03j ckunaim3u1Rj0GT5rbN3eIMjl4YUOK1QxUVEcQW45kCmC67Z4WJo761hEiocFdHIDhX8A6Dah FGZ7qEyXNkErHSaOCRLs741RLbh+kevDJE/3fMGxInaFXy8Z9JEs9+XXR7POf1kxZH67dcQ9O 9/zrXwuocJ7NRNoi9ddtrbMubxVMuVbHhuaQc82xT7whDYFtH6zoZnAz3cAeWTSZbolWzP/9h xLfeCq98vw5tyfWVVHTsC7YVJfZsA== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Stefan Monnier writes: Hi Stefan, >>> Then we can add support for define-type, ert-deftest, cl-defmethod, ... >> That's my original question: what does it take to unload a `define-type' >> entry? > > Presumably it should undo what cl-struct-define does. > The main part would be (setf (cl--find-class name) nil), I guess. I've ended up with the appended patch. Would this be OK? More precise, would the implementation of (cl-defmethod loadhist-unload-element ((x (head define-type))) be the right thing? > Stefan Best regards, Michael. --=-=-= Content-Type: text/plain Content-Disposition: attachment diff --git a/lisp/loadhist.el b/lisp/loadhist.el index 28d0b18c81..59b1688857 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el @@ -162,6 +162,83 @@ unload--set-major-mode ;; mode, or proposed is not nil and not major-mode, and so we use it. (funcall (or proposed 'fundamental-mode))))))) +(cl-defgeneric loadhist-unload-element (x) + "Unload an element from the `load-history'." + (message "Unexpected element %S in load-history" x)) + +;; In `load-history', the definition of a previously autoloaded +;; function is represented by 2 entries: (t . SYMBOL) comes before +;; (defun . SYMBOL) and says we should restore SYMBOL's autoload when +;; we undefine it. +;; So we use this auxiliary variable to keep track of the last (t . SYMBOL) +;; that occurred. +(defvar loadhist--restore-autoload + "If non-nil, this is a symbol for which we should +restore a previous autoload if possible.") + +(cl-defmethod loadhist-unload-element ((x (head t))) + (setq loadhist--restore-autoload (cdr x))) + +(defun loadhist--unload-function (x) + (let ((fun (cdr x))) + (when (fboundp fun) + (when (fboundp 'ad-unadvise) + (ad-unadvise fun)) + (let ((aload (get fun 'autoload))) + (defalias fun + (if (and aload (eq fun loadhist--restore-autoload)) + (cons 'autoload aload) + nil))))) + (setq loadhist--restore-autoload nil)) + +(cl-defmethod loadhist-unload-element ((x (head defun))) + (loadhist--unload-function x)) +(cl-defmethod loadhist-unload-element ((x (head autoload))) + (loadhist--unload-function x)) + +(cl-defmethod loadhist-unload-element ((x (head require))) nil) +(cl-defmethod loadhist-unload-element ((x (head defface))) nil) +;; The following two might require more actions. +(cl-defmethod loadhist-unload-element ((x (head ert-deftest))) nil) +(cl-defmethod loadhist-unload-element ((x (head cl-defmethod))) nil) + +(cl-defmethod loadhist-unload-element ((x (head provide))) + ;; Remove any feature names that this file provided. + (setq features (delq (cdr x) features))) + +(cl-defmethod loadhist-unload-element ((x symbol)) + ;; Kill local values as much as possible. + (dolist (buf (buffer-list)) + (with-current-buffer buf + (if (and (boundp x) (timerp (symbol-value x))) + (cancel-timer (symbol-value x))) + (kill-local-variable x))) + (if (and (boundp x) (timerp (symbol-value x))) + (cancel-timer (symbol-value x))) + ;; Get rid of the default binding if we can. + (unless (local-variable-if-set-p x) + (makunbound x))) + +(cl-defmethod loadhist-unload-element ((x (head define-type))) + (let* ((name (cdr x)) + (slots (mapcar 'car (cdr (cl-struct-slot-info name))))) + ;; Remove the struct. + (setf (cl--find-class name) nil) + ;; 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))) + (dolist + (symbol + `(,fun ,(format "%s--cmacro" fun) ,(format "--cl-block-%s--" fun))) + (unintern symbol obarray))))) + ;;;###autoload (defun unload-feature (feature &optional force) "Unload the library that provided FEATURE. @@ -200,9 +277,6 @@ unload-feature (prin1-to-string dependents) file)))) (let* ((unload-function-defs-list (feature-symbols feature)) (file (pop unload-function-defs-list)) - ;; If non-nil, this is a symbol for which we should - ;; restore a previous autoload if possible. - restore-autoload (name (symbol-name feature)) (unload-hook (intern-soft (concat name "-unload-hook"))) (unload-func (intern-soft (concat name "-unload-function")))) @@ -250,38 +324,7 @@ unload-feature (when (symbolp elt) (elp-restore-function elt)))) - (dolist (x unload-function-defs-list) - (if (consp x) - (pcase (car x) - ;; Remove any feature names that this file provided. - (`provide - (setq features (delq (cdr x) features))) - ((or `defun `autoload) - (let ((fun (cdr x))) - (when (fboundp fun) - (when (fboundp 'ad-unadvise) - (ad-unadvise fun)) - (let ((aload (get fun 'autoload))) - (if (and aload (eq fun restore-autoload)) - (fset fun (cons 'autoload aload)) - (fmakunbound fun)))))) - ;; (t . SYMBOL) comes before (defun . SYMBOL) - ;; and says we should restore SYMBOL's autoload - ;; when we undefine it. - (`t (setq restore-autoload (cdr x))) - ((or `require `defface) nil) - (_ (message "Unexpected element %s in load-history" x))) - ;; Kill local values as much as possible. - (dolist (buf (buffer-list)) - (with-current-buffer buf - (if (and (boundp x) (timerp (symbol-value x))) - (cancel-timer (symbol-value x))) - (kill-local-variable x))) - (if (and (boundp x) (timerp (symbol-value x))) - (cancel-timer (symbol-value x))) - ;; Get rid of the default binding if we can. - (unless (local-variable-if-set-p x) - (makunbound x)))) + (mapc #'loadhist-unload-element unload-function-defs-list) ;; Delete the load-history element for this file. (setq load-history (delq (assoc file load-history) load-history)))) ;; Don't return load-history, it is not useful. --=-=-=-- From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2017 15:34: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: To: Michael Albinus Cc: 27371@debbugs.gnu.org Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150091044125954 (code B ref 27371); Mon, 24 Jul 2017 15:34:02 +0000 Received: (at 27371) by debbugs.gnu.org; 24 Jul 2017 15:34:01 +0000 Received: from localhost ([127.0.0.1]:54480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZfMv-0006kU-9t for submit@debbugs.gnu.org; Mon, 24 Jul 2017 11:34:01 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:48652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZfMu-0006kN-G2 for 27371@debbugs.gnu.org; Mon, 24 Jul 2017 11:34:00 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v6OFXxGH021846; Mon, 24 Jul 2017 11:33:59 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 40A3F660EB; Mon, 24 Jul 2017 11:33:59 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> <87y3rm2pbw.fsf@detlef> <87bmohai2u.fsf@detlef> <8760eh98v0.fsf@detlef> Date: Mon, 24 Jul 2017 11:33:59 -0400 In-Reply-To: <8760eh98v0.fsf@detlef> (Michael Albinus's message of "Mon, 24 Jul 2017 17:01:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6078=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6078> : inlines <5991> : streams <1755580> : uri <2468943> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) > + ;; 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. Stefan From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history 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: To: Stefan Monnier Cc: 27371@debbugs.gnu.org Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150091281529515 (code B ref 27371); Mon, 24 Jul 2017 16:14:02 +0000 Received: (at 27371) by debbugs.gnu.org; 24 Jul 2017 16:13:35 +0000 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 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 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 From: Michael Albinus References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> <87y3rm2pbw.fsf@detlef> <87bmohai2u.fsf@detlef> <8760eh98v0.fsf@detlef> Date: Mon, 24 Jul 2017 18:13:21 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 24 Jul 2017 11:33:59 -0400") Message-ID: <87zibt7qzi.fsf@detlef> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:LgWSgfDnHH5ZIS7khfCF+6xuEXKOFYNDe8h2lhj97TeJ347VZqL PUefRShT4NjSdPpm3+FNNOVB8ejZP775xbO1rR3Tp4EFR9CuVbHhS7KIrFZbGjKmtO34uop KGKtw8e02WygtM29CZf6U8zqQiWMjrrjbiH/dR70njPhbYqLxBfcTG5KDsgGrM2wQ3Ezagz YXOZsovWCzlntjiP1/5vg== X-UI-Out-Filterresults: notjunk:1;V01:K0:yaOXecMI43Y=:uBDZsahNJTDxra9cyis29c Dt/50vssFs9Y63PUk09VQlqA4ET3Sohh7POYkOBgMlszLa+fsCLBjDkFWnHNfYFbXPyQqsJQh u4/ubpGPsVvrw86fVDNkk/vZnG2QX8sNW6C4qM3CTH9ORmfsx7tjvWbBHBdyCoH8vpWh/XHmA iElUQ95hkRMV1oAGGxYrMlPrLnBOnvwqNKPH911LKBLPCkavlvirdGmyXOA3gCkPqpBnX7t/a m2aygIRLASo5n9UQZE/jTWBM0r5T+0guN/uw010jGjHSRTlOL0urDGl134YsQszgqIsyjnEbJ u8jvxciVif9O4Zx+8qOsCJc4LCXeXQB3EdO3BILvR0RYrXVfmuJbnu8nnN/ToSY1otRMTwHXy GaZPR4T2Iyz6ekg7wTGNnukTqdLuZluz/DfGeq3Nv6ZzMrXexM+L+/mdvofVjU2wLRo3WL7vP I8TMeJNobyS+J0GgBFpA6UQjDNFznKl0WvjQGAFlOKihsONN1X/SdO9H9J3xICZxPOR9iRIPL RwxcSNSrIE+za3TjTv9t3fYDEwtGrRZHNDEcpPqvOlNc9JSLVrt6kVlEjEqgbctW4g2Od917M zBwKMUHo/lPq6aQRLqA1LvQ1+SWv10TtUQ0IjQdIBno9Q9jlZ5n6DMHwLyBbz3RnnZiBAi/dk bDWLWw0wY0i/6smvMzxB6oS6U8XblKipUEdH5w4mBBEQlKFe+41AHnbIKTzaMubWWkUQfkfc6 BW5lq81y4pjN4Fx5MH1Vs5XOnFn6/ePHpaIOPCmMGxKdhCwJRLtAJffqktDTaVKIThnevkfG/ bw3+CH2nXQojIm8TYikHHzLH0MaAAUCeKVpIUPRml8WUaoVm70= X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) 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. From unknown Sat Sep 06 13:44:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2017 16:32: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: To: Michael Albinus Cc: 27371@debbugs.gnu.org Received: via spool by 27371-submit@debbugs.gnu.org id=B27371.150091387531230 (code B ref 27371); Mon, 24 Jul 2017 16:32:02 +0000 Received: (at 27371) by debbugs.gnu.org; 24 Jul 2017 16:31:15 +0000 Received: from localhost ([127.0.0.1]:54519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZgGI-00087d-Or for submit@debbugs.gnu.org; Mon, 24 Jul 2017 12:31:14 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:50038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZgGG-00087U-14 for 27371@debbugs.gnu.org; Mon, 24 Jul 2017 12:31:12 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v6OGVAlR011515; Mon, 24 Jul 2017 12:31:10 -0400 Received: by ceviche.home (Postfix, from userid 20848) id E1873660EB; Mon, 24 Jul 2017 12:31:09 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> <87y3rm2pbw.fsf@detlef> <87bmohai2u.fsf@detlef> <8760eh98v0.fsf@detlef> <87zibt7qzi.fsf@detlef> Date: Mon, 24 Jul 2017 12:31:09 -0400 In-Reply-To: <87zibt7qzi.fsf@detlef> (Michael Albinus's message of "Mon, 24 Jul 2017 18:13:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6078=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6078> : inlines <5991> : streams <1755586> : uri <2468970> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) > If you don't object I would commit the patch then ('tho it's rather > your patch). Please do, Stefan From unknown Sat Sep 06 13:44:58 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Michael Albinus Subject: bug#27371: closed (Re: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history) Message-ID: References: <87mv7t7mzw.fsf@detlef> <87mv99n0ac.fsf@detlef> X-Gnu-PR-Message: they-closed 27371 X-Gnu-PR-Package: emacs Reply-To: 27371@debbugs.gnu.org Date: Mon, 24 Jul 2017 17:40:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1500918002-12132-1" This is a multi-part message in MIME format... ------------=_1500918002-12132-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load= -history which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27371@debbugs.gnu.org. --=20 27371: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27371 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1500918002-12132-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27371-done) by debbugs.gnu.org; 24 Jul 2017 17:39:45 +0000 Received: from localhost ([127.0.0.1]:54576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZhKb-000394-07 for submit@debbugs.gnu.org; Mon, 24 Jul 2017 13:39:45 -0400 Received: from mout.gmx.net ([212.227.17.21]:63710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZhKZ-00038o-Ih for 27371-done@debbugs.gnu.org; Mon, 24 Jul 2017 13:39:44 -0400 Received: from detlef.gmx.de ([212.86.46.16]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lngv5-1e5SNH2YwR-00hyi9; Mon, 24 Jul 2017 19:39:32 +0200 From: Michael Albinus To: Stefan Monnier Subject: Re: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history References: <87mv99n0ac.fsf@detlef> <87o9sjme8n.fsf@detlef> <87y3rm2pbw.fsf@detlef> <87bmohai2u.fsf@detlef> <8760eh98v0.fsf@detlef> <87zibt7qzi.fsf@detlef> Date: Mon, 24 Jul 2017 19:39:31 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 24 Jul 2017 12:31:09 -0400") Message-ID: <87mv7t7mzw.fsf@detlef> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:XH+Td4fZDOgPGaMS/YFuUEH198j3cHXq/CjvqvDeiwTpNAylbOo WmccGStxRy3xaVI8x/XOKWnJi4xDtwDOR6YsB/WqpkjOU6r+qFAatpbkgn9eYOvsaNRTRaj HTy73dBwtt8x157Xj6hNO2LvhA9bY6Dn2sM7MHWaMyOPuBzGl8EEV9gkMPDEoi3ujBEhdXp WkdibjtWxjZ1nttJzQoKw== X-UI-Out-Filterresults: notjunk:1;V01:K0:xqX8PWOlvH0=:kmrIGgJtekcuUEfs1KJlmE NsOPbYk6KvRHDUKnjexeF5z8OeRYd3CQHOBU/ZWMrdpUkVHbMBIDdMQ//NByMaptsdzX/4dZF tJg0fX09cWMMOsXIPDAiL9n5ufjWBtCvHmh5nprJw+5g85wJZpbGPZlWQzLfOt0uedzqpZgnF y6u+UnHQfc4ttcA3GTP5DCik5pQrMHDl7YEooS64t8Dl1jaVXOuSwtX+ubabgQkYCIs22G7rC GO9PvJFSGLBvK3+7spQCn2PWe4sicHacLpyJaiACkrSRK0wsqZX0edOBrMH0Iz02lobONnEiU N6V5cNNbD3fmpJDso6/dOT3ktC7HEMY/C/BTVK3/t2tC+KqdyqZCV49j5b+zMiEGmHMR+aCTi P3fgfiHEz4I6BAhRsFrKvYcnlJLxWxXWwCenhUIMC4toFRuLKbACtZ2CDEeMlbaK7pRmapjBR 90FGIRElD5Xj4jYws7/pCqcrWJ7rFsfQQ/E6Co6B2QLJBrN/khh/nZyVuLjWYNSK6O0eqqhuI X9fGTwL/GgKfU82EwBoWhwE2AjaRuuqUnEfqkG0FnFwIp/xZu7sHYfbIl5sFSFSTgMMGcCUvZ 4DYYyW54SoIUIGE2weGU/cJdcL0sJuwpo5d6TsNIadxkP5t76vPXaVFpFw6j99QvgZ32PIJHj iLWfjO8rGWa51Dn3wk0vkjP9A2Ehr9qaR1ckX/ypBFnTKBg4AcAjWOfucDpp2qIsuUkuOyOo+ suqJ4C6QwYkzdO8MzK3H8kRDjHikp2vjoZtpHJyq1cCxDRfbqfAfiDgxQjQNIQWBtmCoFELue 1W04Ju79GYCMMAlKwl91bZaiZWhP1Rrss6nhMtaZghxOKABSYk= X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 27371-done Cc: 27371-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) Stefan Monnier writes: >> If you don't object I would commit the patch then ('tho it's rather >> your patch). > > Please do, Done. Closing the bug. > Stefan Best regards, Michael. ------------=_1500918002-12132-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Jun 2017 08:05:51 +0000 Received: from localhost ([127.0.0.1]:48472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLPmp-0002w0-5I for submit@debbugs.gnu.org; Thu, 15 Jun 2017 04:05:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLPmm-0002vm-RP for submit@debbugs.gnu.org; Thu, 15 Jun 2017 04:05:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLPmg-0006cX-7f for submit@debbugs.gnu.org; Thu, 15 Jun 2017 04:05:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54257) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dLPmg-0006cS-4d for submit@debbugs.gnu.org; Thu, 15 Jun 2017 04:05:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLPme-0002pg-6A for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2017 04:05:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLPma-0006aL-4s for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2017 04:05:40 -0400 Received: from mout.gmx.net ([212.227.15.19]:54599) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLPmZ-0006ZY-Pz for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2017 04:05:36 -0400 Received: from detlef.gmx.de ([212.86.51.31]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Le5XQ-1eBBTs26BA-00pyBi for ; Thu, 15 Jun 2017 10:05:32 +0200 From: Michael Albinus To: bug-gnu-emacs@gnu.org Subject: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history Date: Thu, 15 Jun 2017 10:05:31 +0200 Message-ID: <87mv99n0ac.fsf@detlef> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:P5h0jpDVNjcK7GcZyeBLhsTpFUDUbpG2U1xDtuUiF+WAB0YyFvk IP9CasxLGVq1yMKUGxFFuswnDh6iHOzJvHGockJ2iG8GOJNT7Zt6T8kUlvMiua5haO7Cv6G tWQUdJXM4oHP+Sfwuh2l2EYsgxXzdHkt+Bw5bXqFWms0pdhDxmDJVsynTr/DPd3ncFSYdZi d50C5AreosM7BL8LeKKnA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ExmReCiZbbQ=:/JK6i53UdVbJ2dbLdBve9b NZQqHnOAX8D8YYNJvNBw8OCJFUozE6LpAwpd0G2cpt2uYu0eKDO3QcRjP1wFa8Sor9btlVgqB b7KlH8xTRChkPEMs6ELmazoB0gaY2BRc+Rh4VpjGKku7L/yhX/4cQ42OmoHNYxL2eqEhm3tt+ 8VUZGR1B8E/Gdrzhy6W4oL+MmlxIQZ51N+qlfBJD/pJ4mPXfZP2gfJfSnyWoWA9TOagf/KMgJ 3FvYEJoStnnVZqEeloF1WLy8+0f8bBILjPi+N/ze/5xaHIraDgXys1Cs1cs7J/XJbBMmmtBfT izt97MyPrl8CzGe5MbwwLh57OFrB/Yce/Cj8E2xgw2/6pj0IgEF6uGEWL6/GKHh7L2vAkbyFR uw+XfGsn7Os6/NxoBs7rX+YoG7FzeWEHOjXK9FSDrYXSMKYaQe0yAo2qyO1P04DvbDwEvkkpl 3rfaqIJuRj4H6ih3p5TYjm4Oopq7/Y864qDY9inlOZN9iKRFxkD8z5ZPrShxiB5wZPgTD/bdU ysy+n+LyUxP+GpIOMEjybsTtnZRIr2k336IhPLJKY9lehPvceDatiEiToe4l6hRL4HCFTDAPl dOpbNkgh+f6eFh3azIxP2yS1fqL9Vnt6dH0nXRnKmGh3UQthf+/Rl5J/VniiLRxpDEPWahMpQ D77KRNFOPz0IMrJaI38XY/6h6gp8gKS3fd7Lg/H+UQYUluZ6WsT5wgSmrox2f8SZ4UWhhcqfH 7O4usbCGOQn/FaT4WCUGm54P1QZFddaiWiYLOu9jBSpVOUi2JL/bWva8saS/sp0QtUq9vRsGt QWMq9xl X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) 1. emacs -Q -l tramp 2. M-x unload-feature tramp => Unexpected element (define-type . tramp-file-name) in load-history In GNU Emacs 26.0.50 (build 44, x86_64-pc-linux-gnu, GTK+ Version 2.24.30) of 2017-03-31 built on detlef Repository revision: 1da9a207669a3cf5d27ac1dd61543c1492e05360 System Description: Ubuntu 17.04 Recent messages: Mark set uncompressing 23073.gz...done Deleting article 23073 in default No more unseen articles Mark set Returning to the group buffer Saving /home/albinus/.newsrc.eld... Saving file /home/albinus/.newsrc.eld... Wrote /home/albinus/.newsrc.eld Saving /home/albinus/.newsrc.eld...done Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GCONF GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 Major mode: Lisp Interaction Minor modes in effect: diff-auto-refine-mode: t erc-notify-mode: t erc-notifications-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t display-time-mode: t shell-dirtrack-mode: t icomplete-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/albinus/src/elpa/packages/debbugs/debbugs-org hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-org /home/albinus/src/elpa/packages/debbugs/debbugs-gnu hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-gnu /home/albinus/src/elpa/packages/debbugs/debbugs hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs /home/albinus/src/elpa/packages/debbugs/debbugs-autoloads hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-autoloads /home/albinus/src/elpa/packages/debbugs/debbugs-pkg hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-pkg /home/albinus/src/elpa/packages/debbugs/debbugs-browse hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-browse /home/albinus/src/elpa/packages/tramp-theme/tramp-theme hides /home/albinus/.emacs.d/elpa/tramp-theme-0.1.1/tramp-theme /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-autoloads hides /home/albinus/.emacs.d/elpa/tramp-theme-0.1.1/tramp-theme-autoloads /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-pkg hides /home/albinus/.emacs.d/elpa/tramp-theme-0.1.1/tramp-theme-pkg /home/albinus/.emacs.d/elpa/telepathy-20131209.458/telepathy hides ~/lisp/telepathy ~/src/tramp/lisp/tramp-smb hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-smb ~/src/tramp/lisp/tramp-uu hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-uu ~/src/tramp/lisp/tramp-adb hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-adb ~/src/tramp/lisp/tramp-compat hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-compat ~/src/tramp/lisp/tramp hides /usr/local/share/emacs/26.0.50/lisp/net/tramp ~/src/tramp/lisp/trampver hides /usr/local/share/emacs/26.0.50/lisp/net/trampver ~/src/tramp/lisp/tramp-ftp hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-ftp /home/albinus/.emacs.d/elpa/soap-client-3.1.2/soap-client hides /usr/local/share/emacs/26.0.50/lisp/net/soap-client /home/albinus/.emacs.d/elpa/soap-client-3.1.2/soap-inspect hides /usr/local/share/emacs/26.0.50/lisp/net/soap-inspect ~/src/tramp/lisp/tramp-cmds hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-cmds ~/src/tramp/lisp/tramp-gvfs hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-gvfs ~/src/tramp/lisp/tramp-loaddefs hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-loaddefs ~/lisp/dbus hides /usr/local/share/emacs/26.0.50/lisp/net/dbus ~/src/tramp/lisp/tramp-sh hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-sh ~/src/tramp/lisp/tramp-cache hides /usr/local/share/emacs/26.0.50/lisp/net/tramp-cache Features: (shadow warnings emacsbug time-stamp url-http url-gw url-auth url-queue url-cache url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf diff-mode easy-mmode flow-fill sort gnus-cite url-util shr-color color shr svg dom browse-url mm-archive mail-extr gnus-bcklg qp gnus-async gnus-ml pop3 utf-7 nndraft nnmh nnml network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-cache gnus-sum nnnil smtpmail sendmail gnus-demon nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo gnus-spec gnus-int gnus-range message puny rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr term/xterm xterm erc-notify erc-desktop-notifications notifications dbus xml erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat thingatpt pp cperl-mode tramp-theme em-dirs esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util finder-inf rx docker-tramp tramp-cache slime-autoloads vagrant-tramp dash term disp-table ehelp info package epg-config url-handlers url-parse url-vars time tramp-sh tramp-cmds tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete comint ansi-color ring parse-time format-spec advice auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache ido seq byte-opt subr-x gv bytecomp byte-compile cl-extra help-mode easymenu cconv jka-compr icomplete time-date paren vc cl-loaddefs pcase cl-lib vc-dispatcher dired dired-loaddefs mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 453817 58583) (symbols 48 42157 120) (miscs 40 69 285) (strings 32 100342 15319) (string-bytes 1 3099767) (vectors 16 60096) (vector-slots 8 992964 10665) (floats 8 436 632) (intervals 56 302 0) (buffers 976 23)) ------------=_1500918002-12132-1--