From unknown Fri Aug 08 22:17:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el Resent-From: Aaron Zeng Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Mar 2021 05:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 47063@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161543899718821 (code B ref -1); Thu, 11 Mar 2021 05:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Mar 2021 05:03:17 +0000 Received: from localhost ([127.0.0.1]:52389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKDTh-0004tV-60 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 00:03:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:46436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKDTf-0004tN-42 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 00:03:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKDTe-0002U7-Tp for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 00:03:14 -0500 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:33698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKDTZ-0008BC-UQ for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 00:03:14 -0500 Received: by mail-qv1-xf34.google.com with SMTP id i15so2035561qvr.0 for ; Wed, 10 Mar 2021 21:03:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=esdRWX5yCk0F11oVSmHI3pn6VxL2lc4g53eFieq+F18=; b=dm5e45gcliHgHzP4ZlVE1GYtAjKSporySKLLFoPGv64K16K2RjGgmb5LSiysZt9Xqf uugVPxYUMESMjG8EoLefdFAbnapFodewu5YQSsbXXpeL/iWAOfMC4KyitXRLO9xlezqk jMm70OJwy/1FADqPAMrS8/jSy2uxS7VFi9RUM+V4K5o9da+LrphUeL28WxSem5KPeR6A vpMfXyScTiWsd2Fiuz5ilXp4pvtgFXpLWNF7xWa5elaGMKySVJNVgJ1MtEa+ToCkS1TN lFEWaG2H09z+NZ7WJ/QQ1EX1Bkk4+OTzz8PLRD7OLiK3w4aWYKtUWWX1XtunTShj1mCP rlog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=esdRWX5yCk0F11oVSmHI3pn6VxL2lc4g53eFieq+F18=; b=YBR/W3saLfuQ7vCuY36mnTUR16wYFRffchrR8as7YyD5ioViNkaqHLCq7bZJh46L53 3aC2eFKmuho6AeRZ8qwtDsVOINfZoHu5e/N+iJRR4qfNpRSNGdYtVA3zWxR38w/3x3Xn AMaq8khWNf9C9yxi8K4OPQRW2vXsJVy55zE16KG9bOt9eY5J02uR9VER6ennnqm94xTh pda3OLVhDSnChXqPEJTtYSRUz4QLylV28ipw6JHdEygQWZssdGEB/10Uo8SzXlAVaX3N 9ZLPDmnUFifvEX+tjxrPkHWbOzVEVqqRdFg/hWam8UQz1I0T9u2pK1FFX5aB4lYyECY7 +5hA== X-Gm-Message-State: AOAM530KBWajgn3iSXiDwJeUVPRZVbO4mKBELOsZS8y6sFk9fnh502uP C2zaKo5VZAb/YZ1pgW9fjHvFW+rVLNmtIymr3baPmahEj0AJxQ== X-Google-Smtp-Source: ABdhPJy2ZQRjiMEaaclOSMOJXDsCHuPXVyVxuVZDa00yWsugKKsHaqecMlzsKEtp9f+XN8vqB7tQEb8Dy9eFg+UuWOo= X-Received: by 2002:a0c:b66c:: with SMTP id q44mr6175850qvf.3.1615438987483; Wed, 10 Mar 2021 21:03:07 -0800 (PST) MIME-Version: 1.0 From: Aaron Zeng Date: Thu, 11 Mar 2021 00:02:32 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=zeng.aaron.l@gmail.com; helo=mail-qv1-xf34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: -2.3 (--) Hello there, I noticed that my M-x customize settings were not being applied for some TRAMP defcustoms, namely, tramp-use-ssh-controlmaster-options. With the following barebones ~/.emacs: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(tramp-use-ssh-controlmaster-options nil)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) I found that connecting to `/ssh::/' (localhost) ended up using TRAMP's ControlMaster options despite the customization. I also noticed that `tramp-use-ssh-controlmaster-options' was set to t. Furthermore, if the following line is prepended to the init file: (debug-watch 'tramp-use-ssh-controlmaster-options) It is clear that the defvar in tramp-loaddefs.el is where the variable gets set to t. I'm not familiar with the purpose of the *-loaddefs.el files and why they are different from regular generated autoload files, but it would seem that it's preventing customizations from being applied properly. My current workaround is to add the NOW argument in `custom-set-variables', like so: (custom-set-variables '(tramp-use-ssh-controlmaster-options nil t)) Which seems to apply the customization corectly. But this argument is not saved automatically by the M-x customize interface. In GNU Emacs 27.1 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.60 Version 10.13.6 (Build 17G65)) System Description: macOS 11.2.2 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/nix/store/94vgwpfys6y08ri6p2czzy35i24inc5n-emacs-27.1 --disable-build-details --with-modules --with-ns --disable-ns-self-contained CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200' Configured features: RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm seq byte-opt gv bytecomp byte-compile cconv tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 48799 7025) (symbols 48 6052 1) (strings 32 15746 994) (string-bytes 1 519667) (vectors 16 7304) (vector-slots 8 78007 5350) (floats 8 22 253) (intervals 56 176 0) (buffers 1000 12)) From unknown Fri Aug 08 22:17:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Mar 2021 13:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Aaron Zeng Cc: 47063@debbugs.gnu.org Received: via spool by 47063-submit@debbugs.gnu.org id=B47063.161547100022867 (code B ref 47063); Thu, 11 Mar 2021 13:57:01 +0000 Received: (at 47063) by debbugs.gnu.org; 11 Mar 2021 13:56:40 +0000 Received: from localhost ([127.0.0.1]:52822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKLns-0005wl-In for submit@debbugs.gnu.org; Thu, 11 Mar 2021 08:56:40 -0500 Received: from mout.gmx.net ([212.227.15.18]:46743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKLnr-0005wW-6d for 47063@debbugs.gnu.org; Thu, 11 Mar 2021 08:56:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1615470992; bh=vfip+NoRrkJccn7i5T5cCXklZrSGAjxtVjZ5NoZEZbg=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=ccoD6Zh8lLO0cIIJvKfsb+QqLTL4xjyu8GTynKysZzW//kbW/8V7rwwPL0KjaGpNo RNsCdC8EtL7D2NtdEvE2BOpWSgRhRT0ASZQf80x6sraaFL0+0aWqUCGMqZ7q0o7dFo OqQvjrYyWGxaC3GYLg4EYFW+mLodc6Q3Wdg9LWco= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.91.243.52]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MTzay-1lB2Qc1Xak-00QyMT; Thu, 11 Mar 2021 14:56:32 +0100 From: Michael Albinus References: Date: Thu, 11 Mar 2021 14:56:31 +0100 In-Reply-To: (Aaron Zeng's message of "Thu, 11 Mar 2021 00:02:32 -0500") Message-ID: <87zgz9ssj4.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:vJF4wN293zZak03tfruclJ+3lIgBpE7BXZyovPHKHOGx6sgTjg4 g1Phnw9Lie9Ta2+veof1aBDWAbGWu4TL6kiS8iHy22e1SIUx+8cKFSrBMO+DD3E0HegurP/ VgrKsYdAoA+nUrYYxHcYqoJFuKsJFu3ZDV+ijVz2IPl0BmyQalO3gJX1VnnNqU6nz132kg8 RQKCoDyFoHWdy3ZLdlBFA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hOy7mNwV1Uc=:KS4TVyaaXHfGElTW8b1v5k HTU8v701puHpSnJHnBaxlYYfPrfQXjJltOBbv8y6X9m07eJ+nUq4d8Kz0t6ubphbfKESRgGnw C4TCyHseWxHTLl7Nwgn/B3XsDM1DGhqLFNA1Pk53catWALfdmnqqpjEhLACMApP3BPlYEItxB fpC2SGdly6trmGxDpAl/U8AhYEVY4ohhwPHxPwdOfCE0HyNm01Pw5rsAiXpcgAQyTndtFYxwg NhxcDzbalMtO4Uw37Hvrc7mWqtumfXfXy5p3AxwszE0G5Cr1fTX0ZVpBPsxYr6UW7ULtqg3Q1 VKtRY1cfnv792JEz2u4iJOOZpoqoOutLcwdeBMQX/q9cUmgi/V5soL7PpwMXtLVgcry9LOcSs sMDH2BF2FOaPONAvSb0ccI95M4j/94W5LsBsoJ+Xj3QzNd3Af/EVb+6jXdOxObRCc7ZcJwQ51 eQlHC29MOkBCflraBwgCnHWN30KlsJMkC9HZBj2ZoL6w/ie6PBog7CCySJoKY4KBHjmF5TS3J tXWHnlObdErOwNN/Wk3D1N6COCXTDRV9ZJr3SBzfrsb4R0P2splCCtf4YDrqDi3OxcBiZxDI4 FfnLsi12L5wFLYFHM7N/MUPXaEbmgFPLweY7OMFRQQXVwC0WNEARhwxZOT7yKqpCRXEVY53Oo fDjWBNhsH6fU7UWeJSQdDXElRnPETAY7/8fs4tVlFpfBx1An0rRnwcNWf2O2wMGSKjJmIEQNd ryiqEs47VrAeDp7YSsuW6WeSs46uFbk7dy1l9WIQWGXun48azxyCnzBca+hI7rEbXMCIQpriW wesGw8rdwLqBmKDKG9jOwfhwjorfCMV74VpZ+43Y0hBx6t3qrc/g2QcKxfkGlbVU+IoZdGL+H zAmxKZOAqHmkSgjiDlYg== 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: -1.7 (-) Aaron Zeng writes: > Hello there, Hi Aaron, > I noticed that my M-x customize settings were not being applied for > some TRAMP defcustoms, namely, tramp-use-ssh-controlmaster-options. > With the following barebones ~/.emacs: > > (custom-set-variables > ;; custom-set-variables was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(tramp-use-ssh-controlmaster-options nil)) > (custom-set-faces > ;; custom-set-faces was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > ) > > I found that connecting to `/ssh::/' (localhost) ended up using TRAMP's > ControlMaster options despite the customization. I also noticed that > `tramp-use-ssh-controlmaster-options' was set to t. Furthermore, if the > following line is prepended to the init file: > > (debug-watch 'tramp-use-ssh-controlmaster-options) > > It is clear that the defvar in tramp-loaddefs.el is where the variable > gets set to t. I'm not familiar with the purpose of the *-loaddefs.el > files and why they are different from regular generated autoload files, > but it would seem that it's preventing customizations from being applied > properly. > > My current workaround is to add the NOW argument in > `custom-set-variables', like so: > > (custom-set-variables > '(tramp-use-ssh-controlmaster-options nil t)) > > Which seems to apply the customization corectly. But this argument is > not saved automatically by the M-x customize interface. Perhaps you add (require 'tramp) somewhere in your ~/.emacs? Best regards, Michael. From unknown Fri Aug 08 22:17:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el Resent-From: Aaron Zeng Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Mar 2021 17:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 47063@debbugs.gnu.org Received: via spool by 47063-submit@debbugs.gnu.org id=B47063.161548240118396 (code B ref 47063); Thu, 11 Mar 2021 17:07:01 +0000 Received: (at 47063) by debbugs.gnu.org; 11 Mar 2021 17:06:41 +0000 Received: from localhost ([127.0.0.1]:54763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKOll-0004md-Gf for submit@debbugs.gnu.org; Thu, 11 Mar 2021 12:06:41 -0500 Received: from mail-qk1-f180.google.com ([209.85.222.180]:34278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKOlj-0004mR-Hj for 47063@debbugs.gnu.org; Thu, 11 Mar 2021 12:06:40 -0500 Received: by mail-qk1-f180.google.com with SMTP id t4so21395258qkp.1 for <47063@debbugs.gnu.org>; Thu, 11 Mar 2021 09:06:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Cm2MF+doF/03bhxZv6RBklGA0hzTWg7sZ0ooKWAlXM4=; b=Cqj2ko7dD55EJGcyldwFngUNcswwHkCkeq4UnkUuyYpLhONX7U6aK4JERJWycKW9Hj M4KRq0KmEo+x5MLhcJ7VsJi5dUZxjMAlDmHSiqZJzcBif4tmRIEOMDtb4oVlU79/iAnm pD8cNFo4rNHYWYquVCVvPx/iEsastKDRwr1NFq3DQHyT8R09FSuOcplr4GWNgxAVCbt4 AGaELCT2Kt4rZ4Amrh+0R+PPadMFmDN8/Lkv9a906tLX7Dsw76LAg8U1u/MFUlFbxFiJ ulYef+Fw5Pz/CAHSYO13iVObIY7MMTQVbcVlpKE66RS1JI/jpz1XsWRjSBn7+LdHTIh7 Odvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Cm2MF+doF/03bhxZv6RBklGA0hzTWg7sZ0ooKWAlXM4=; b=L6OoQat/qfRUrM/Izltp2H/VNvwA06oqcI7fVoAY8a9BV1JlaculRuK9Xp6TGiK0Te ByexgHPxduJReqv1/0lfi7QBW4zLJ+C1O3GfF6AdWmxE8TPB9O/yIHtgz16VOIkLuwal bKZqTlt+Ih8Dt+hzuS/6VE8S2BpXuHbp5zk+v7aTMe/HnD66Rr2PZgZz3itnpS8wq3sC CsiEHLPn/+7b7bjNIuulhM9TUBDdlYRaOVg/NEpv7mCRVElhI5q3nhpAeiAKQRk04jHy ca9sScaxuPOtr5DovGqAzDmBMWF+srNpqT6UBxwzEqNRC5cSPVG7fpUVY650ui3XWoEC 5gHQ== X-Gm-Message-State: AOAM531ulpm3A1T6Z0sVifb/DutL0ikYFyJcZ/sirKHHx/QBKb4PEto8 5XuD6iQ8JDEueBa4Y5f0pmH4uuqHzCWpZgR3ohc= X-Google-Smtp-Source: ABdhPJz5U8R3sWTT0+T3Ue/0v13RA/MDvowIpkWYUSa8gUIn4ZGMcfXmbZ1B7h53WrQi6VUe8Fycg/JpqShMzIw3FSo= X-Received: by 2002:a05:620a:1017:: with SMTP id z23mr8829205qkj.23.1615482393727; Thu, 11 Mar 2021 09:06:33 -0800 (PST) MIME-Version: 1.0 References: <87zgz9ssj4.fsf@gmx.de> In-Reply-To: <87zgz9ssj4.fsf@gmx.de> From: Aaron Zeng Date: Thu, 11 Mar 2021 12:05:56 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.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: -1.0 (-) Hi Michael, Are you suggesting that I should add that to my .emacs? Or do you mean that I am inadvertently loading tramp.el somewhere in my .emacs? If the latter, I was able to see the issue when using a .emacs file consisting solely of the custom-set-variables call in my previous email and loading no other init files, so I don't think that's the culprit. Thanks, Aaron On Thu, Mar 11, 2021 at 8:56 AM Michael Albinus wrote: > > Aaron Zeng writes: > > > Hello there, > > Hi Aaron, > > > I noticed that my M-x customize settings were not being applied for > > some TRAMP defcustoms, namely, tramp-use-ssh-controlmaster-options. > > With the following barebones ~/.emacs: > > > > (custom-set-variables > > ;; custom-set-variables was added by Custom. > > ;; If you edit it by hand, you could mess it up, so be careful. > > ;; Your init file should contain only one such instance. > > ;; If there is more than one, they won't work right. > > '(tramp-use-ssh-controlmaster-options nil)) > > (custom-set-faces > > ;; custom-set-faces was added by Custom. > > ;; If you edit it by hand, you could mess it up, so be careful. > > ;; Your init file should contain only one such instance. > > ;; If there is more than one, they won't work right. > > ) > > > > I found that connecting to `/ssh::/' (localhost) ended up using TRAMP's > > ControlMaster options despite the customization. I also noticed that > > `tramp-use-ssh-controlmaster-options' was set to t. Furthermore, if the > > following line is prepended to the init file: > > > > (debug-watch 'tramp-use-ssh-controlmaster-options) > > > > It is clear that the defvar in tramp-loaddefs.el is where the variable > > gets set to t. I'm not familiar with the purpose of the *-loaddefs.el > > files and why they are different from regular generated autoload files, > > but it would seem that it's preventing customizations from being applied > > properly. > > > > My current workaround is to add the NOW argument in > > `custom-set-variables', like so: > > > > (custom-set-variables > > '(tramp-use-ssh-controlmaster-options nil t)) > > > > Which seems to apply the customization corectly. But this argument is > > not saved automatically by the M-x customize interface. > > Perhaps you add (require 'tramp) somewhere in your ~/.emacs? > > Best regards, Michael. From unknown Fri Aug 08 22:17:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Mar 2021 17:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Aaron Zeng Cc: 47063@debbugs.gnu.org Received: via spool by 47063-submit@debbugs.gnu.org id=B47063.161548269718838 (code B ref 47063); Thu, 11 Mar 2021 17:12:02 +0000 Received: (at 47063) by debbugs.gnu.org; 11 Mar 2021 17:11:37 +0000 Received: from localhost ([127.0.0.1]:54773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKOqX-0004tm-0f for submit@debbugs.gnu.org; Thu, 11 Mar 2021 12:11:37 -0500 Received: from mout.gmx.net ([212.227.17.22]:36123) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKOqV-0004tY-4s for 47063@debbugs.gnu.org; Thu, 11 Mar 2021 12:11:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1615482688; bh=ytHaI4OvunF8xLat71GWbfVN9nVeTfADTH2Qoo5KADk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=SBCBXLFjUAALrZIPKDm6TSLKzZN2VFP890igHI44wHoQWytVpVgRm7haIkwwqBMgO tnbIN9pejZfWpgRhnKZivsHWWViFp9oXStYLQ1SjqpWOGeSf3Omo05/c9mrZYu6eIH 0Gsb8iGwq395SbbwyonR+IbA1rFIexY46cGvRX7c= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.91.243.52]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MS3mt-1l94yB1gWB-00TSCO; Thu, 11 Mar 2021 18:11:28 +0100 From: Michael Albinus References: <87zgz9ssj4.fsf@gmx.de> Date: Thu, 11 Mar 2021 18:11:27 +0100 In-Reply-To: (Aaron Zeng's message of "Thu, 11 Mar 2021 12:05:56 -0500") Message-ID: <87v99xsji8.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:vk9cpgqN+d1pt9yOjAKXJb015F+oh62/0CBfUvXel4c61ycDTT9 37J+//gCn3q4ORahZgw6TRGCQbGQJZE0JI3TL8Vb3SHVGPyq3F6Dt+ZtB9oU/k1yeMdgWjY tqmnvhUBtJvbGezG+dJFeKiEQy3D72GHUTZStS0h26PDAjLZolFtuNcLAo2HAJb6OshIwSp kVI5JOYfOP9plSbaZNL6A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:sccs78f+L2k=:eTv9Wu3of3o94Hjc8E4vqk lWDC+Id5p5dEOgbKXCHRLownQf3ZaXsU00AWXzv1/IIFDYGNXtquJt3NvzKlX0YO1uS1u5mUq Tsv6Dya+pF1J5GTc1oXWTI4mJb7c5cSrYTrS3f1NsjGZWAH8DsBjKddpZvMmQCJ7LJcBUtZmV fkVLdetEY4J9EEW6ZF8aUMHO3npsmCff6MNtd0Zq1HIG0o0bEIiYiQ0e4wo1mte9FuSAsFOWm wiMu/8ZrqsEjEoXBj2wHySoPfhg1ZvixSTi+U12sZNo8Dv6RiCZpLoLR3EoYsBgucu/tHgOuI AzE17aH3i/Y+gy36J8VNEU+pd4Z3DsFECsL94rKcnoTQ2Y6RkKdGnKgd52KoAgE4GgWk1tWU3 mM5eJF2U2qe52+/EOfyDkk9FWy/zG0ge7r+rcsvhGGePrY3HjwEX904QZA7aBaDufVki+Cay6 poAuRRMInlIKm3HGbFJZrSSbn9dEUuQtVpVsXgVQiIc8gtimEV8KZQxT+K65Z3VWq/DH+8XY7 qho513riNVjf0dYo/Q0QSvvKbsQuDdt6PnGAZJ8x/MF06PbXM8XVh734LnIUofJyg1RtqoNKQ ZKH8GHNY3V5yeE2WdSC1il0NdsOcRTwk8T900qdnWOsDXJzjYkwvAePGbsK1kcu2TZFhWGOXi YvEkLg2pQs2DXyOrmUKnzauLYs0CC8x8Vi0fNlMz0W/MMVTXHHthIW+aqiZNsoNgzC7zqDBf9 i7pt85Mz3eLyGk+yl8Tqe8yrZkawP40EupzlJAd3F91kueaUDURvX3/1udmdlqRKKE0b9qyI7 QQGyB6AYCfVody8Lmjj59aA4YG8rmXMP8U53PeQZ+7VgjJQJc4l2r/yYYe9wghKeyobCMN4+i zwd22dWYNQH79UAbQMcw== 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: -1.7 (-) Aaron Zeng writes: > Hi Michael, Hi Aaron, > Are you suggesting that I should add that to my .emacs? Or do you > mean that I am inadvertently loading tramp.el somewhere in my .emacs? I recommend the former. > Thanks, > Aaron Best regards, Michael. From unknown Fri Aug 08 22:17:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el Resent-From: Aaron Zeng Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Mar 2021 17:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 47063@debbugs.gnu.org Received: via spool by 47063-submit@debbugs.gnu.org id=B47063.161548318619665 (code B ref 47063); Thu, 11 Mar 2021 17:20:01 +0000 Received: (at 47063) by debbugs.gnu.org; 11 Mar 2021 17:19:46 +0000 Received: from localhost ([127.0.0.1]:54797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKOyP-000577-L4 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 12:19:45 -0500 Received: from mail-qk1-f181.google.com ([209.85.222.181]:40431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKOyO-00056u-5I for 47063@debbugs.gnu.org; Thu, 11 Mar 2021 12:19:44 -0500 Received: by mail-qk1-f181.google.com with SMTP id l132so21397089qke.7 for <47063@debbugs.gnu.org>; Thu, 11 Mar 2021 09:19:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4eBoaqvvj2SjYzW9W3D9bOYujraLm76OqfRXA9RNDEM=; b=PI0KeobhzwLz1YOZPIGbWKb9NxDsziehYodcYDLz67Z+kNeslbDCXIscee2WotENwf 8XaoTTa2wthnbEdnmNshKzN234rVhaXIjXKZUyBaGMNh4CB1jkA7WwJEA2aBqnNvZ7nt jYabUgmzIGizuHbFScXIiNoeJWK88gz3gpishTDq+AkpGMYt1OpOgn1dWBfHcd/z6eRD ukcj4i+J2WmhicTLYOxUzMz92uBXRQbp1ZIq4Rm0BI/+K7up8T7qVIwVnQeUeZMc2XXW D3EMrBUM7l/fN53UpGDMIBMNYIUoWCFGbN8umeSsKF48msZ2WG5Og0ShHmcPhpMqixuk 3Ylw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4eBoaqvvj2SjYzW9W3D9bOYujraLm76OqfRXA9RNDEM=; b=SNSdmiMTTvnyYfQPWCofTF1whOvSIoQxjBMN2TqnFExSny8dL556Bk8eqwEzyZ/rFA RTFwDF9NKzColnfOARmTZUNR3Qwq48RZzsUmBJO0+I1P4OL89Dzg/NMzKCUxA9/HhyrY 8emXP1QQCfurB+dVdlGageXVD9Y9sGc/4K9nAvSN3b37jh7Bmmb5klXYeU3KnrGyGnL+ HjxMxS7scbXTydLXa+gW6imV5N1bsG9VyEtAeMtzBNObDwcdHCu4F5kGWa2KGDY2WarB exF6vWHAEvZiPLwUH/jREGFqcoRdcNYf7uTw8BxaPoPm7CQvvH9LzElHqntaFkbiymLv oIOA== X-Gm-Message-State: AOAM533wUMsznC81AwcqmmgDJhG7X9avVq0+oblOMh6AVXhY2S8JL7v2 /L5VxytngGPxxBmtrjuWXBkRW1G4ovFIhcmsWjg= X-Google-Smtp-Source: ABdhPJwxiQR4gOiWoCXQTMs/yDv9UXXe07IMe976giGyFNMwEKCIDZv9N0sU6nc+4x6Q0CU77+g5SYj6na7OIZkHiDk= X-Received: by 2002:a37:4a94:: with SMTP id x142mr8919389qka.122.1615483178528; Thu, 11 Mar 2021 09:19:38 -0800 (PST) MIME-Version: 1.0 References: <87zgz9ssj4.fsf@gmx.de> <87v99xsji8.fsf@gmx.de> In-Reply-To: <87v99xsji8.fsf@gmx.de> From: Aaron Zeng Date: Thu, 11 Mar 2021 12:19:01 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.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: -1.0 (-) Okay, it looks like if I add (require 'tramp) before the custom-set-variables, the customization is applied correctly, so that would be an effective workaround. That still seems like a bug, though. Customizations are supposed to be applied even if the corresponding package isn't yet loaded. On Thu, Mar 11, 2021 at 12:11 PM Michael Albinus wrote: > > Aaron Zeng writes: > > > Hi Michael, > > Hi Aaron, > > > Are you suggesting that I should add that to my .emacs? Or do you > > mean that I am inadvertently loading tramp.el somewhere in my .emacs? > > I recommend the former. > > > Thanks, > > Aaron > > Best regards, Michael. From unknown Fri Aug 08 22:17:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Mar 2021 00:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: Aaron Zeng , 47063@debbugs.gnu.org Received: via spool by 47063-submit@debbugs.gnu.org id=B47063.161550842818308 (code B ref 47063); Fri, 12 Mar 2021 00:21:01 +0000 Received: (at 47063) by debbugs.gnu.org; 12 Mar 2021 00:20:28 +0000 Received: from localhost ([127.0.0.1]:55424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKVXY-0004lD-6l for submit@debbugs.gnu.org; Thu, 11 Mar 2021 19:20:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKVXW-0004kn-8K for 47063@debbugs.gnu.org; Thu, 11 Mar 2021 19:20:26 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38093) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKVXQ-0005FP-SX; Thu, 11 Mar 2021 19:20:20 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lKVXD-0005eN-P6; Thu, 11 Mar 2021 19:20:08 -0500 From: Glenn Morris References: <87zgz9ssj4.fsf@gmx.de> <87v99xsji8.fsf@gmx.de> X-Spook: CID codes unclassified Blister agent industrial espionage X-Ran: uVP,C"A?}dii5`7/F`ab1,G}ya|3bZ&*Er!rdpAS: X-Hue: brightblack X-Attribution: GM Date: Thu, 11 Mar 2021 19:20:07 -0500 In-Reply-To: <87v99xsji8.fsf@gmx.de> (Michael Albinus's message of "Thu, 11 Mar 2021 18:11:27 +0100") Message-ID: <6uo8fpb4ug.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain 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: -1.7 (-) Why is tramp autoloading almost all its defcustoms? Eg tramp-use-ssh-controlmaster-options isn't used anywhere outside of tramp-sh.el. From unknown Fri Aug 08 22:17:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Mar 2021 13:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: Aaron Zeng , 47063@debbugs.gnu.org Received: via spool by 47063-submit@debbugs.gnu.org id=B47063.161564268214205 (code B ref 47063); Sat, 13 Mar 2021 13:38:02 +0000 Received: (at 47063) by debbugs.gnu.org; 13 Mar 2021 13:38:02 +0000 Received: from localhost ([127.0.0.1]:59297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL4Sv-0003h0-OZ for submit@debbugs.gnu.org; Sat, 13 Mar 2021 08:38:02 -0500 Received: from mout.gmx.net ([212.227.15.15]:48601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL4Su-0003gk-7O for 47063@debbugs.gnu.org; Sat, 13 Mar 2021 08:38:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1615642673; bh=J5a9kRGa26ZolD7JVbOoRbb2m8TBLX4pyvNkx+ZxruE=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=jDC5mrUjps4PcmDk/E2wT25ag3lm/Gu90uOWPOTirCcJHmK40sp42PyjzfXEl1pRE liROgajsb1RhQpCkNNAkTgSgqTM7V9Jt/DYAiArlTLxhGR4mxLBRelrNB9oXsgaBZk 3Sz055lNQY4eBUhp1njGWSkp+5uMFREvEGZnWlPY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.57.230]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M89Kr-1lQJec0CrD-005KvR; Sat, 13 Mar 2021 14:37:53 +0100 From: Michael Albinus References: <87zgz9ssj4.fsf@gmx.de> <87v99xsji8.fsf@gmx.de> <6uo8fpb4ug.fsf@fencepost.gnu.org> Date: Sat, 13 Mar 2021 14:37:51 +0100 In-Reply-To: <6uo8fpb4ug.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 11 Mar 2021 19:20:07 -0500") Message-ID: <875z1vi380.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:JmxuWgP8kdwQwSsMdjVEb6t49JHvoEYP6t5/28kBUdTDdhQYdOn DJLjk+B0c6x6C4M+fRiKQCh161VE3qLXFvNJlG8FUmSIqPVyoe9eIwQn23g25oV8BkxVn+G Fc3Mhk5DCA9pZKqWL6s2TDdBSqRTR3Ywkd5At/UOHguRl+M3iOgy2ON4NJQFGGocycBE4w4 fPQn2sMAd3oiv4X+m/bgw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:LvPICeYdbLA=:/Rf9Sr1DMI+j5mSGSHKcqm u4ZBfM8LM/jdoYpvvSX221coOQ8B3rpu6tqrTIphb19T/s7zf0ARdfLYS2NwoYo4ZJEksyvU3 MuLl/ksAEmx7CZeprIrcJYmP7jhYTQmyVWmOXbXY8u2Eenuzbcsaui4RSMY8K690CZLZaYfgK BysYXkOhs2tFrjLqspY6AL+BUx54j+6wCJnLr7sOU5LhWwx1EWGd1JF3Y8ZiHOhpJV1eXUmD6 EmItGN12gdlL1iF0RdbOQ6cSSOn3jQB7en2E92jXsR5GpDs0c4tZ6Uiw1rZdtPp9VYpe5Z9X+ TvjNE4fkTuB/Omy46q5a+zjiWjEC6WI4QLSrKbylHWi+qfCeh/C1xYoCWWSnYxkUF3VU8hGeN KEtRB84rI4JvF/MeegurF8pn/cpHccGUOlfUJy2gWBSh5jtYIwPKuowaQbJXZer5KxmPxvdaZ IujavrBquJtTIqAZTawgCeOwExtIN+yurpxEIutiu2cmJ+P4/DiyISWuWLPnyA2s+MOn/I+7+ W/o2xAehtACvPH+oYoNcB90geRO7EQ2ORe7sGo/ylDB76+3VfpIRQlPFvcT4JLZmnVxpcXgEs NxyIkxUIYRN+k1AiFjx8KLZVQCYr9FqY8BqQnsRlC8Pl9Wwqjlz4Mo7etAKeP6krlrQGlQXUk alBD62WA0DfusrgIRrd2F1v+qMsKasLIDdZe1RSbKa9/IMwwV/C55z/a87SyeU39EG/UQlYBD isPqxO9QYYvgbypxv69+DxuRJyDyYeS7ojjHQ4hvRetg4oT1ZBIiLoKSIxDz+aqEvg/zUKXWd 0YYWjMXh4g9abBvezbHxoD7BdEpCwGX7iyP0G3dZobXTkaKoOrip/Y8oiFpFZ2lmJtN1wUYTs OJ8aJ9SNofbg8jSIRBNQ== 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: -1.7 (-) Glenn Morris writes: > Why is tramp autoloading almost all its defcustoms? > Eg tramp-use-ssh-controlmaster-options isn't used anywhere outside > of tramp-sh.el. I've removed the autoload cookie from the defcustoms. Where it isn't possible, I have rearranged functionality. Best regards, Michael. From unknown Fri Aug 08 22:17:47 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: Aaron Zeng Subject: bug#47063: closed (Re: bug#47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el) Message-ID: References: <871rcji2wo.fsf@gmx.de> X-Gnu-PR-Message: they-closed 47063 X-Gnu-PR-Package: emacs Reply-To: 47063@debbugs.gnu.org Date: Sat, 13 Mar 2021 13:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1615643102-14839-1" This is a multi-part message in MIME format... ------------=_1615643102-14839-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el 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 47063@debbugs.gnu.org. --=20 47063: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D47063 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1615643102-14839-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 47063-done) by debbugs.gnu.org; 13 Mar 2021 13:44:49 +0000 Received: from localhost ([127.0.0.1]:59305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL4ZV-0003qp-Iw for submit@debbugs.gnu.org; Sat, 13 Mar 2021 08:44:49 -0500 Received: from mout.gmx.net ([212.227.15.19]:34881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL4ZT-0003qb-Ak for 47063-done@debbugs.gnu.org; Sat, 13 Mar 2021 08:44:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1615643081; bh=gz+PgArYgJUkKuSMbxrZnMqrCQKFw/G0b7ECGIJnsHQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=ekn3NW8NlNpRiSDIrukwZABp62c8Wan6Fo31O1aEUNh7gLk5tXTOUxXy4He04YT7N AClTXIFPndFSynfsMTI9j3YFAzVAsJkEHWICzadB2EUrVA9i6mBzrOEXikaJ/q4G71 TX76m+d2zhjj6t6jb996AtPRRwg3ika1LyuXudjc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.57.230]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MMofW-1l2JES3PWu-00InQN; Sat, 13 Mar 2021 14:44:40 +0100 From: Michael Albinus To: Aaron Zeng Subject: Re: bug#47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el References: <87zgz9ssj4.fsf@gmx.de> <87v99xsji8.fsf@gmx.de> Date: Sat, 13 Mar 2021 14:44:39 +0100 In-Reply-To: (Aaron Zeng's message of "Thu, 11 Mar 2021 12:19:01 -0500") Message-ID: <871rcji2wo.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:oHMzp8gN04TASRc97RxzPVwoFmhDOUh0E0A+nPK/c/DQOtrmCiV aR6/+NU/MlIzjZ1ogB/IcPKTJ25cCiCIP57FxB0h/8LvUqDYgyBkF0xrxqPw/eVwugMZRBz jwu7O1/0PNvX7iUscPv7KohyP/kAZnFoH3CgK/WVqjla/8NhkoK6iWcm1rhniBT8GFYS//v PPBqnktI6axwfOSJM0IOg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hGhFgr9CoZs=:U4fFygPK+Pd+1ZBZWJJ1so fwOZyildv8iRGWpG6n+i7Rc3tGHHZpWu1PKgef5GPNz5bVlUsCO3K3loI+477mP5OnoST6Vi+ 7tYjbzfo81ff7aiewlcSJOrqPofKAz995jjQEvj6B/wEfDmV9uSAczJqFin5MqGoGkNdpTI+W Oz20chv+HfmrF3KTI/yAvRKoGT6kgo5UjolIAzpIUCaH4CSxvBB27BaByTdIG+1FS3MjwWJdU 8wsDtwyaAf46GjtnxmJgL/1F0HCp95xRV/m0oq3EoqfL5GbmbHMIRdz6CYhNAD8+V0xD2xxqY wfTD4mTCdII95vTCNcb/M6olUiCJnZFFZaXxhy9sy5/kU4iXogbyjAg3bJNRcWYZTBhWxHwEG mZzbmosYhEL2HMpR+gBpRt7HZjUMn2U07Z/07aWqJBznNfAk0I7FBjQJgj6CKlJQXjgg8V9ne Lx/syfoCyCRvYFcXTog0tfJOpsfuYD16AMeUrIuY/RZ2ryUlyO4XRyTXk8f9+lc8R1Ixq6x/m 7F/k5ZN1ynVgGDImeuL/mkp/OVdLxlYfBvGqvx+hDscTo2mHXjHpnz629dwNQEdAOGIU2HWvS nVBSsYqfLKb4vXzt7gf7lfg3UvNrHgpPn7FLXi8inQThQWwiXrwjhntuBU2iRdtjeXZJM2Vxy CSPnLoLjzqu+YyjoIDTpR/sgXJ2x8Ji0aDqwHDqmssnfeqOzy/ATbzM2rqovxKUkrZJMDksop 83tdJPpf+ZYEps+JUYVzqQXvX63rgO/c7JfPi/ZBGJHkWY1Llq75rVUtC1AJalD1bwup1QSmA HA5YXHSolt4RduiLeVu7pqGtex/09+CvGNr612H1cX4971ILbHITLKlE0SaCJZs39RtyVy19U VaDkWjFosZD2yBxquqlA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47063-done Cc: 47063-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: -1.7 (-) Version: 28.1 Aaron Zeng writes: Hi Aaron, > That still seems like a bug, though. Customizations are supposed to > be applied even if the corresponding package isn't yet loaded. Should be fixed now in the master branch. If you don't want to install this locally, you might install Tramp 2.5.0.3, which is planned to be released via GNU ELPA end of the month. Closing the bug. Best regards, Michael. ------------=_1615643102-14839-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Mar 2021 05:03:17 +0000 Received: from localhost ([127.0.0.1]:52389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKDTh-0004tV-60 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 00:03:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:46436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKDTf-0004tN-42 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 00:03:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKDTe-0002U7-Tp for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 00:03:14 -0500 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:33698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKDTZ-0008BC-UQ for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 00:03:14 -0500 Received: by mail-qv1-xf34.google.com with SMTP id i15so2035561qvr.0 for ; Wed, 10 Mar 2021 21:03:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=esdRWX5yCk0F11oVSmHI3pn6VxL2lc4g53eFieq+F18=; b=dm5e45gcliHgHzP4ZlVE1GYtAjKSporySKLLFoPGv64K16K2RjGgmb5LSiysZt9Xqf uugVPxYUMESMjG8EoLefdFAbnapFodewu5YQSsbXXpeL/iWAOfMC4KyitXRLO9xlezqk jMm70OJwy/1FADqPAMrS8/jSy2uxS7VFi9RUM+V4K5o9da+LrphUeL28WxSem5KPeR6A vpMfXyScTiWsd2Fiuz5ilXp4pvtgFXpLWNF7xWa5elaGMKySVJNVgJ1MtEa+ToCkS1TN lFEWaG2H09z+NZ7WJ/QQ1EX1Bkk4+OTzz8PLRD7OLiK3w4aWYKtUWWX1XtunTShj1mCP rlog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=esdRWX5yCk0F11oVSmHI3pn6VxL2lc4g53eFieq+F18=; b=YBR/W3saLfuQ7vCuY36mnTUR16wYFRffchrR8as7YyD5ioViNkaqHLCq7bZJh46L53 3aC2eFKmuho6AeRZ8qwtDsVOINfZoHu5e/N+iJRR4qfNpRSNGdYtVA3zWxR38w/3x3Xn AMaq8khWNf9C9yxi8K4OPQRW2vXsJVy55zE16KG9bOt9eY5J02uR9VER6ennnqm94xTh pda3OLVhDSnChXqPEJTtYSRUz4QLylV28ipw6JHdEygQWZssdGEB/10Uo8SzXlAVaX3N 9ZLPDmnUFifvEX+tjxrPkHWbOzVEVqqRdFg/hWam8UQz1I0T9u2pK1FFX5aB4lYyECY7 +5hA== X-Gm-Message-State: AOAM530KBWajgn3iSXiDwJeUVPRZVbO4mKBELOsZS8y6sFk9fnh502uP C2zaKo5VZAb/YZ1pgW9fjHvFW+rVLNmtIymr3baPmahEj0AJxQ== X-Google-Smtp-Source: ABdhPJy2ZQRjiMEaaclOSMOJXDsCHuPXVyVxuVZDa00yWsugKKsHaqecMlzsKEtp9f+XN8vqB7tQEb8Dy9eFg+UuWOo= X-Received: by 2002:a0c:b66c:: with SMTP id q44mr6175850qvf.3.1615438987483; Wed, 10 Mar 2021 21:03:07 -0800 (PST) MIME-Version: 1.0 From: Aaron Zeng Date: Thu, 11 Mar 2021 00:02:32 -0500 Message-ID: Subject: 27.1; Tramp customizations overridden by tramp-loaddefs.el To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=zeng.aaron.l@gmail.com; helo=mail-qv1-xf34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) Hello there, I noticed that my M-x customize settings were not being applied for some TRAMP defcustoms, namely, tramp-use-ssh-controlmaster-options. With the following barebones ~/.emacs: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(tramp-use-ssh-controlmaster-options nil)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) I found that connecting to `/ssh::/' (localhost) ended up using TRAMP's ControlMaster options despite the customization. I also noticed that `tramp-use-ssh-controlmaster-options' was set to t. Furthermore, if the following line is prepended to the init file: (debug-watch 'tramp-use-ssh-controlmaster-options) It is clear that the defvar in tramp-loaddefs.el is where the variable gets set to t. I'm not familiar with the purpose of the *-loaddefs.el files and why they are different from regular generated autoload files, but it would seem that it's preventing customizations from being applied properly. My current workaround is to add the NOW argument in `custom-set-variables', like so: (custom-set-variables '(tramp-use-ssh-controlmaster-options nil t)) Which seems to apply the customization corectly. But this argument is not saved automatically by the M-x customize interface. In GNU Emacs 27.1 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.60 Version 10.13.6 (Build 17G65)) System Description: macOS 11.2.2 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/nix/store/94vgwpfys6y08ri6p2czzy35i24inc5n-emacs-27.1 --disable-build-details --with-modules --with-ns --disable-ns-self-contained CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200' Configured features: RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm seq byte-opt gv bytecomp byte-compile cconv tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 48799 7025) (symbols 48 6052 1) (strings 32 15746 994) (string-bytes 1 519667) (vectors 16 7304) (vector-slots 8 78007 5350) (floats 8 22 253) (intervals 56 176 0) (buffers 1000 12)) ------------=_1615643102-14839-1-- From unknown Fri Aug 08 22:17:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47063: 27.1; Tramp customizations overridden by tramp-loaddefs.el Resent-From: Aaron Zeng Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Mar 2021 01:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 47063-done@debbugs.gnu.org Received: via spool by 47063-done@debbugs.gnu.org id=D47063.161568492830746 (code D ref 47063); Sun, 14 Mar 2021 01:23:01 +0000 Received: (at 47063-done) by debbugs.gnu.org; 14 Mar 2021 01:22:08 +0000 Received: from localhost ([127.0.0.1]:60915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLFSK-0007zq-IM for submit@debbugs.gnu.org; Sat, 13 Mar 2021 20:22:08 -0500 Received: from mail-qv1-f53.google.com ([209.85.219.53]:38511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLFSH-0007zK-H1 for 47063-done@debbugs.gnu.org; Sat, 13 Mar 2021 20:22:06 -0500 Received: by mail-qv1-f53.google.com with SMTP id t5so6156269qvs.5 for <47063-done@debbugs.gnu.org>; Sat, 13 Mar 2021 17:22:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uCsoQPzYaDJvbUDWZJMqveovEbm2koBLww9pY64kAeQ=; b=eoWUgOFC+HOUTZ5spnmhFW8hqKjnAR8pIDM9wzf0pBBCZ6zqeQEAlhdQ4UL7PbPCI6 a6QAUss/ExPSHlZdo7bSjG6ijhTWkObkWyVxDvCKB+tcDqlPtEi/IkiGCFSWt1QVPexl Vwd+1M3xuaCJ/QSe2mozJo9l6EIK7FFccIect5dYRZi3N7Xqxt5tsGr/NCFfRBIZqzo1 OTeijyPUrpXPpMpYoqAKgbjA7FtlyR0E2xW7urXcHFa4a6CH3AInM8jSfyvD5Saysi8k hNIwzwC+Bj1x6tl0q3qUOk+DDwMsBrjNG25SSiHktSmwXpU729PIhhR0A+nNuIPPfaUF lYTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uCsoQPzYaDJvbUDWZJMqveovEbm2koBLww9pY64kAeQ=; b=GFKEe1YqGROrD8TsvzGkJU4LdgGCpof9+S6MaIf+wiArSWdspgRNBzorsIsBxBC2fF nZ4y1a9IFj9styRWi5qi20mSmUl1u2nWa/qKx5aammUG+HM9Vj1q686v7V10ceB0dA4L WR9e1sjhpwCzPvLGOEIQgIGuetuAhesAjymJal7prLqDSkqCgzPX23mlAnRfWGmXu8Pe hCFIxdshv912NuBUggziAdzoXvFJ11CKlxeERfnJqvvnDXgzqeCg1pMkOgwHqy0amp/4 VgQ3nP1frfKROniCiY5/KMFAKthEvNqDSNyzFSuDd+qqR/VSw0XdUNqoQDOs4Pm1b4zW Jo7A== X-Gm-Message-State: AOAM532uYYGAtSSFKhocDLoLZT3ofqFU7R1IBJ8ZSzUqdddFzyAHmnql +xEkBEptmqh6aluDk49hEtISAVaipCe9LqErq0U= X-Google-Smtp-Source: ABdhPJwCUspeDAIQepzS1XFlGDgXxlAd9hrg8Y1AQGPUbtvz3k86kIIF5bzXILw0Zj9LrMaMQvD0nD42n0tFb10g3S0= X-Received: by 2002:a0c:a99a:: with SMTP id a26mr4751906qvb.2.1615684919815; Sat, 13 Mar 2021 17:21:59 -0800 (PST) MIME-Version: 1.0 References: <87zgz9ssj4.fsf@gmx.de> <87v99xsji8.fsf@gmx.de> <871rcji2wo.fsf@gmx.de> In-Reply-To: <871rcji2wo.fsf@gmx.de> From: Aaron Zeng Date: Sat, 13 Mar 2021 20:21:22 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.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: -1.0 (-) Thank you for the quick turnaround, Michael! On Sat, Mar 13, 2021 at 8:44 AM Michael Albinus wrote: > > Version: 28.1 > > Aaron Zeng writes: > > Hi Aaron, > > > That still seems like a bug, though. Customizations are supposed to > > be applied even if the corresponding package isn't yet loaded. > > Should be fixed now in the master branch. If you don't want to install > this locally, you might install Tramp 2.5.0.3, which is planned to be > released via GNU ELPA end of the month. > > Closing the bug. > > Best regards, Michael.