From unknown Sun Jun 15 08:36:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62329: 30.0.50; Error in TRAMP due to variable aliasing Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Mar 2023 12:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62329 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 62329@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16794000648178 (code B ref -1); Tue, 21 Mar 2023 12:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Mar 2023 12:01:04 +0000 Received: from localhost ([127.0.0.1]:57800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peafo-00027q-7y for submit@debbugs.gnu.org; Tue, 21 Mar 2023 08:01:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:59520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peafm-00026q-Hy for submit@debbugs.gnu.org; Tue, 21 Mar 2023 08:01:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peafG-0001aA-PA for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 08:00:31 -0400 Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peafF-0006ig-2Y for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 08:00:30 -0400 From: Eshel Yaron DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1679400027; bh=I86F9HCX5/FpLXs7DAcTynquoL/FZaLKA//Ru4D34O8=; h=From:To:Subject:Date:From; b=LpUcP5KCN8ki7mbUwqwyuL9akwAzrMJRrW1Kp9eO4YKiD5XWxIImIFN2mcbOYJNge A3HDDNsMSZCY5UTJd3nDobVkbfUmgASZhZGXvLPscxJ9iPjqnzFteFOCmG1zzznnmn X3WbvmLK41RqG37sqrtjd6bhWchQZMnd15yoDdALjjYbiZ/vclUDIfJbgzAS7djwvn 64I6etumWZBjl519z/DZ3DChIRbA6Ue3bRoBNaL/IzsygUnub1ws46XtUBD9Uuv22K 2HLhiogc6FJawp02JRjqMAQJb0HjkGb576T6etxkcSlG1HM525xqZ/3ZH+mCW3UCz3 KnaiSmaLe3e2w== Date: Tue, 21 Mar 2023 14:00:23 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) The recent rename of tramp-use-ssh-controlmaster-options in commit 1c39347d585 seems to cause some problems, namely Emacs now fails with an error when trying to load tramp-sh (which happens automatically in some TRAMP flows) if tramp is already loaded and compilation-mode-hook ran. To reproduce: 1. emacs -Q 2. (require 'tramp) This further requires tramp-integration which adds a function called tramp-compile-disable-ssh-controlmaster-options to compilation-mode-hook 3. Do something that runs compilation-mode-hook, e.g. M-x compile with some dummy compilation command like "true". 4. Try to load tramp-sh with e.g. (require 'tramp-sh) Emacs fails with an error saying: "Don=E2=80=99t know how to make a buffer-local variable an alias: tramp-use-connection-share". AFAIU This happens because at this point tramp-use-connection-share is already a localized symbol and tramp-sh tries to call defvaralias on it. Thanks, Eshel In GNU Emacs 30.0.50 (build 25, x86_64-apple-darwin22.3.0, NS appkit-2299.40 Version 13.2.1 (Build 22D68)) of 2023-03-21 built on esmac.local Repository revision: 42fba8f36b19536964d6deb6a34f3fd1c02b43dd Repository branch: master Windowing system distributor 'Apple', version 10.3.2299 System Description: macOS 13.2.1 Configured using: 'configure --with-native-compilation --with-json --with-tree-sitter' Configured features: ACL DBUS GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-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 font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug backtrace find-func compile text-property-search tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-osc ansi-color ring parse-time iso8601 time-date ls-lisp format-spec auth-source eieio eieio-core cl-loaddefs comp comp-cstr warnings icons rx cl-seq cl-macs cl-extra help-mode cl-lib password-cache json subr-x map byte-opt gv bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 120777 8827) (symbols 48 9991 0) (strings 32 30989 2026) (string-bytes 1 1006709) (vectors 16 22054) (vector-slots 8 390621 12591) (floats 8 47 25) (intervals 56 395 0) (buffers 984 13)) From unknown Sun Jun 15 08:36:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62329: 30.0.50; Error in TRAMP due to variable aliasing Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Mar 2023 13:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62329 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eshel Yaron Cc: 62329@debbugs.gnu.org Received: via spool by 62329-submit@debbugs.gnu.org id=B62329.167940414524548 (code B ref 62329); Tue, 21 Mar 2023 13:10:02 +0000 Received: (at 62329) by debbugs.gnu.org; 21 Mar 2023 13:09:05 +0000 Received: from localhost ([127.0.0.1]:57897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebjd-0006Nr-AT for submit@debbugs.gnu.org; Tue, 21 Mar 2023 09:09:05 -0400 Received: from mout.gmx.net ([212.227.17.21]:50585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebjb-0006Mx-QK for 62329@debbugs.gnu.org; Tue, 21 Mar 2023 09:09:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679404135; i=michael.albinus@gmx.de; bh=6TrUTUBuAKbaFH+JANio6m1SVRbJzTd4pzWvcvXIxAU=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=NtEqbHjbVLUVJOD/paU8deZG309hwvSCcoc/rHLLnAPTxoBNdxw1Q9did3Ar8+Zfo l15qsgT4ZlNSqhi2jIiDZMXRVyOiaTFRCu6wnKAOAfFKd+4Utt5bKG7c/I50n0Tum7 PBrFz8FQyNxEb/m4+CyaWKnwMe9lBpL1ldn0o6ZX9uXH5Qti+lQkmX0ktsFCS2Nuca dMapq3dylw2cBQl0BY2ef8mElhF7HuhNb3FaGgaeS1nsa/RykFbCT/3B6Wo0qGv1JM Fa06xOfXRQsK1cMgHo5gRn4Av+VOwqEE8EEWIqAe6fMZ/l33AJjn0Vg3s9Tg9ScqUd PhinIITtJ7eDg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.19]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MxDou-1qOkF52F2m-00xZ5U; Tue, 21 Mar 2023 14:08:55 +0100 From: Michael Albinus In-Reply-To: (Eshel Yaron's message of "Tue, 21 Mar 2023 14:00:23 +0200") References: Date: Tue, 21 Mar 2023 14:08:54 +0100 Message-ID: <87zg86qmjd.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:PRj76M+kjju2dM25++USZZ10mDLIYu6AJqCudHVjAUzWENVwyqm 7PAyg8ROGvuCbv9HNu4bzJpPJ867sGgMAwr3XTH1uBnvq543rf8ASWZtJvvOeRTBBUwvWxB ik80VnjhZEf4rMJzPYH7AbF6LHwoOZUaBQEgPfKEFCxWUnElIe+cja0nD9N0aOncTIrbVPY 9LniC+JWrNVSH/hfmjR3Q== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:VSj/ClE3qyE=;W7gtU5EuhuJLiXf1XlZXC4AZ/dQ pkHCvj+aChIG37OBNw9qXtOPA25RfZ4wy+PQCy1ZUiE5+xMfgfKqPTBd9S8o2t5bpbLvCB18h VH1TUJHDqdgZ9roUN6B2wQED3k8IUflSevu4SzP2kF0mVJajoiEUl9QtI2ZUFtVIK4TUsVT4w Hv/l8gG6NiWod1gpRI/Wl+IGYsPWeEcQQYgiRYjp2DBIX0p2EYnSpbSYLmVtz40L804BvGYmM iyKtLTb7X3lxMpSwuY6yH+nYuz3h7UB82CktJf8i+SNMhwU5quQFBWAQw29I0O4XDrQAjBZVp RALQ753EY1X33OwRvFlmL/fvfXdXBkiWI8BaOkWBSBqcX8ZzwcDNCrJ6yCZgmAjhhyUie86B/ k3KY8ZQeoURWE/9tyOTEvqYFnHvhy2PK/j9WjZ/MwC/xRC/600QTe2wDiMkYJp56Q7YY9bjs8 mpO+oEHe0sTTrPgvTA+r2xABIAycxVsKJi41/A9DWqL2gsTK1XcKxUMZZyjgo+B6g+zjM606n 46bdIWSGia6ehvwhJVG1ai+TazTHVHxyF2IskYnBwpIOWmewdmh9y5u8WfLyxirBZaKzIkfdj s2YmD60JWGt469mkww7gkPTNVLq8jic8j31azSCRBkjvF/8G6TFFXi7E1C3bN3FgUOPAu96dt GEZlSL6qEDFP7U5ztMTpWyaJqkseRyNOO5/ls5/OwFUesbn0suo7awEHNX9+tQNMnzxSPZ227 tQOdn5kZwpThF+FsvzMGO9gVks21JvHaBgKzcCLXMucN0SrqsBF1VAX8SZJlqDqJB547Tw0B7 lMY0ugm0km6tcjgaW1Rgr/a6MOUBdngTKIVWeP47+E0NMGezYCDGhoOIX8uOuFUK1+h6eBZ+f 1VJb+//eEDL8faQqP6QBmfSwub0ONSwIiGlOCHiDUIR3EjQInC5veKsT9wSuDXHjltxH3NH1R Z7JBS41Zozaerlf+a9oujre87rU= 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 (-) Eshel Yaron writes: Hi Eshel, > The recent rename of tramp-use-ssh-controlmaster-options in commit > 1c39347d585 seems to cause some problems, namely Emacs now fails with an > error when trying to load tramp-sh (which happens automatically in some > TRAMP flows) if tramp is already loaded and compilation-mode-hook ran. > To reproduce: > > 1. emacs -Q > 2. (require 'tramp) > This further requires tramp-integration which adds a function > called tramp-compile-disable-ssh-controlmaster-options to > compilation-mode-hook > 3. Do something that runs compilation-mode-hook, e.g. M-x compile with > some dummy compilation command like "true". > 4. Try to load tramp-sh with e.g. (require 'tramp-sh) > Emacs fails with an error saying: > "Don=E2=80=99t know how to make a buffer-local variable an alias: > tramp-use-connection-share". > AFAIU This happens because at this point tramp-use-connection-share is > already a localized symbol and tramp-sh tries to call defvaralias on i= t. Thanks for the report. This is the same problem as reported in bug#62295, I'll merge them. I hope to find a fix, soon. > Thanks, > Eshel Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 21 09:12:58 2023 Received: (at control) by debbugs.gnu.org; 21 Mar 2023 13:12:58 +0000 Received: from localhost ([127.0.0.1]:57925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebnO-0006W4-HD for submit@debbugs.gnu.org; Tue, 21 Mar 2023 09:12:58 -0400 Received: from mout.gmx.net ([212.227.17.21]:34895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebnM-0006Vp-Ik for control@debbugs.gnu.org; Tue, 21 Mar 2023 09:12:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679404371; i=michael.albinus@gmx.de; bh=ZLMCG8JkQ11hcxaIKyMKQ7yU/5aPb4f91W40qjZ8L1c=; h=X-UI-Sender-Class:Date:To:From:Subject; b=J4IEFuw1E5kU+m4ZrzU9F2DPYr2hWtnJRP14wJOicmzbHKWMzXIWGhTpJdH1ONNi6 Ybblkgn0pz+5lufavU1nNR6gj4N9Zj8kNDvI0SqIXMuMM1TuGpWkfFY99x2I3XJiCv lPVtlePFZoG7IttLoY/KamiSli8m6aQNkOGefDmbe1Kr8xdIZvaqp1pefPXC9ONG89 N09c7+4TxQVqbc+af40bmFXpaj5kOzVKLzzj9W+tG4CT9JvF9vOUUvUPk0I/d06Qtg dJhOAELqVfBcc4hcvwH9WR72PZnWaIUHIvjHM7Egfs54TmK+fBjTMk0Fy6zDsa37VH j+JczLEFe5WPw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.19]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M7sHy-1pamIq43sI-0052JZ for ; Tue, 21 Mar 2023 14:12:51 +0100 Date: Tue, 21 Mar 2023 14:12:50 +0100 Message-Id: <87jzzaqmct.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #62329 X-Provags-ID: V03:K1:0ngdKPTtVsb8ZdVQ6AlqcHBmDdjkhm/OwCL9ggah5RG04dMYKjs kQEHbrbBNcyF3S6ldjbihSFSUrk6a0pTQQlp31uzUij4xWC0uq7ySWIpwAg7Kg3m54D1xKZ Fl6bF9Ym+724ihLuFZqsfQYdQWZgEg0hvdwO3/rfKlSZoycYTJ4lxcx4xK+K03KQPjCBooy GBLDqTmTMzK34qmZp4sqg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:gelQLemUHME=;chMz8I953d8rtkNQGZBo+DbAY0m WR928dYjmmRgw2j4YEg/Y3pw/HQ+2NOZG4tCiJOkbrU/iSjaf11A204zmwVVC4RacjqPkieHu FwUxfct/m++7NlwmlyfjrLzhnZJ+zl+USotTD8AzuhMXbJxxZv2p3ipCfxANO4O0+mUFeIm3C bLMrq1K/d2UNPmQbZIqjTjoHuY/MWiabryZouGASDM/aQA5KBi6GmWujrJASvSwQXXr1Oxqbp ZRIvLWVLvqRLlFjTbyvSEW92GR++vSuApfsJvME2s3jg4EL2DdGFmoZFG+U5WlqX30cFlDrtG GKys4LII+Wp0W451onFs4odp3j27FomeCo2EE11sQ/ZKHHM6IUkk0wtXMcIqUAOKCV/6Actlg SghQbhcoaGgTIomccPHF1lyfBXfHSCiqI/3tblf2/Y/NfNYORTY0C8rarGg1c2KLlchZ+YseI 4NZDKv9uGDyOnCwlkle+F8BjaRuXc/rwSM/qnu7amGxlGa+u6qroQ8c3uCjouEmGC1B0BA7q8 82MuHRXNPzK4uiTJASnJbpyEmDU3ojpmDYzp0AqgmzdBvd78IhvOyFNB3qSn9Gqz/AnApGQh+ XJP4QQpCYYDkvhGUs2wmIdHzZ7xu5dyqHwdvJUK4xVPoecO+H+4I4byyNDX5UvcVESidQNfhs Mgh+4s+o1NzI07P8tlAqp//nGr3650vVTYR1wQAGyuYk9z5JT6WXMPhcEj2cgMTKAI2G3/szD 1rmYyvCB9OBeUu0gND8WLc+Ghuu91cgc+dtda6ycZLM4VCweKEn/1vvysd0gVYdgujOweKYf1 HHntC28bakYCX8t8o+rpqJUWYPJLYTqKwrhdpjcuzQZal44ohnnAS8R7rEznrVSzYrlMf3KBJ NQe0nVi5iIjaj/sEq+BZZBPwS3eSZMA/ROlIucR8ro+pBGrMDd+e0dj1mV+MUmTHcf0mUG0FR RoOw0Rm875voeGcEsa2PKhzhK6o= X-Spam-Score: -0.7 (/) 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.7 (-) merge 62329 62295 quit From unknown Sun Jun 15 08:36:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62329: 30.0.50; Error in TRAMP due to variable aliasing Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Mar 2023 13:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62329 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 62329@debbugs.gnu.org Received: via spool by 62329-submit@debbugs.gnu.org id=B62329.16794050292991 (code B ref 62329); Tue, 21 Mar 2023 13:24:01 +0000 Received: (at 62329) by debbugs.gnu.org; 21 Mar 2023 13:23:49 +0000 Received: from localhost ([127.0.0.1]:57940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebxt-0000mA-Ae for submit@debbugs.gnu.org; Tue, 21 Mar 2023 09:23:49 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:50738 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebxr-0000m1-Rz for 62329@debbugs.gnu.org; Tue, 21 Mar 2023 09:23:48 -0400 From: Eshel Yaron DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1679405027; bh=Y3PNuxQpHkCqpGz2nQ4o7AQz5j6ushoFZlVUlptguQc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=atVMvKCgAQdEQkHfyaJNjw5jQF1IjDwgTwenhFD83PG/9SZ7H8Q+c/ge6/DvjgOgt aky/DwaZakMjJ13EYphEBboMgYl2t8utnFNXjfR9IZt7a2uvpsR83uhXAzqed936bL isKPTuskZbA1lFqDxBy05b5rtYzYDieKSNCl0mFups7rZu/97WhLiUwG1DTCHmiVQu DA+URWWdDar+q39AuZozHA+Bz0Dvfq9KgWUDd1GIzJOR9o4YwrcqgSui8LzchVuUXn Q7xhweCyOeWlUNfDhupIG2dZ+CpqDi/cwfWswAUBxvbX8Kbbehdnol3YATvGYuOHmV i198tztekctqA== In-Reply-To: <87zg86qmjd.fsf@gmx.de> (Michael Albinus's message of "Tue, 21 Mar 2023 14:08:54 +0100") References: <87zg86qmjd.fsf@gmx.de> Date: Tue, 21 Mar 2023 15:23:43 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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 (-) Michael Albinus writes: > Eshel Yaron writes: > > Hi Eshel, > > Thanks for the report. This is the same problem as reported in > bug#62295, I'll merge them. > > I hope to find a fix, soon. Great, thanks. In the meantime my dirty workaround is putting the following in my init.el: (with-eval-after-load 'compile (require 'tramp-sh)) This causes the defvaralias call to happen before tramp-use-connection-share is localized, which seems to work alright. The downside is that tramp-sh is loaded the first time I use M-x compile even if I'm only working locally. -- Eshel From unknown Sun Jun 15 08:36:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62329: 30.0.50; Error in TRAMP due to variable aliasing Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Mar 2023 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62329 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eshel Yaron Cc: 62329@debbugs.gnu.org Received: via spool by 62329-submit@debbugs.gnu.org id=B62329.167941562528172 (code B ref 62329); Tue, 21 Mar 2023 16:21:02 +0000 Received: (at 62329) by debbugs.gnu.org; 21 Mar 2023 16:20:25 +0000 Received: from localhost ([127.0.0.1]:60365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peeim-0007KJ-L8 for submit@debbugs.gnu.org; Tue, 21 Mar 2023 12:20:24 -0400 Received: from mout.gmx.net ([212.227.17.20]:45833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peeik-0007K3-Vq for 62329@debbugs.gnu.org; Tue, 21 Mar 2023 12:20:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679415615; i=michael.albinus@gmx.de; bh=m+DqyD3DaN2cDHdMz/l5ZbF05N4JmoSA1MYScOzO/B0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=OsmIxzRgOysj9Sb8F5XNXCOpj5vmiNbNKqHFYyv00GuuaAT9kcfD/16wOxrIaCGHD 3Ms8ETT9J/61Jl6LkFovQewpwyNINtQxVARNOZ2LBTZzaTZ1yZHxSVGNJMo+fRZur2 P0bdJPnakDN7jCipNh5hvJx77NnWC+P6yIUvwXlgDtattH8WswOPTIXpFalXQxlrF9 n9Z4WrX72IZuddaLBnGrJyYR68X6vmRzfIx74guii5hsLQyl5edX71KanF+TpcQ+1L r3to/tvVPaoNWI/4AUOQVwss3DYUkdcuD7qt2ibGRbqs/RHyBR3b6SWm/dOC/tUz/j cy4sY8I3w4yTA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.19]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MWzjt-1py7Oh3XOz-00XI4I; Tue, 21 Mar 2023 17:20:14 +0100 From: Michael Albinus In-Reply-To: (Eshel Yaron's message of "Tue, 21 Mar 2023 15:23:43 +0200") References: <87zg86qmjd.fsf@gmx.de> Date: Tue, 21 Mar 2023 17:20:12 +0100 Message-ID: <87ttyeoz43.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:0cPm9fuclLlLQ+JTg1boTiCGM56qTsefbmkb5bp1ztcJY1x+Xbf sbHBRKgA+b9KJgrSWnJSlyFV56vuMExEvdbXh8UlEWlO+lTA12RRQDw9BLeH45AXM1SS09C 8tmEJRE2gvHnQwmjxk9FQ6HykYOboUMtRfkAlg8PiobaeNtUviVXfyehLz54xmep20csovE QNu13OdYoCllNmRWsae0A== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:U8fGq3ZCBVc=;UP3vHBdPYzxB6Ty1lm7hAYA3cwX LacIx+btWjEuQkZ1ab6nNakmcoP4wQj1cJ4cG4MUo01cSBTqZcUdUXOuVqG1WPhvp1BRZ3kA1 ZtvjbhZQqEO1uDuAKyh5LOdnBUJONJJuMI3FW9d4Dbgqrd9vb2AmXimrdjJxvDmaqeMqDboE9 C4uFHtpuqksc2W7JV6CMHo+Wmkcfg182qFZAFfqunsbR91fs8Ex4ferK/qqPb5kKCHIzQYxnQ PmXh8V86HOX9iDG337PYgygt9+5pbz/Kgrq/j+qZnatmY3xUsqvGxWDWEDvvAi3DuroxvfXQO otok+Z9kuoLwNDcXTKG6Cg9V4EBwlhk1s6iHGxGPI3N9PPc6rqS1UcD+QirHGVgVMuO6NWZ9E YZt+UUxpr0fVODkLroQxiFxdEuLFaOorjQLmuyMdsD8U7KkSv/I7eqxFnW6JviprPjIW6LY8s wibSZ1YzOrvGQ9y7p1X4mEwJXELkAouNRfmTQvPf0raqof6ABMYVCNRfrSuKuD0ls1I4Jc987 e13SA2iAsAQsLfn8TlUPeFBCpcXFrKxmu3hPGPuR1y5fQre294NueLZsiW6Y/TTNNspwXn/Iz zbgKAfUThAVhissxFMPqlc5SPRaJaX4+gsPKeec+q59wYr6xRHHSWF7bx9LFDTzriYZixFp+3 ClimNaf+T0K8pRpoQDXLr0gBjD1TLSj9beDviKus9zJ4YVEsGQa6vjT2scVWfgH8v9dctHVXc IqBrT0S739Ydz0cH6sqlFyFK4dAeTIwln/F+FhtjIE3/qYBRwqRrmxvO8UWh0GYnubzeXabI8 OhTGpyjnxDHLIVEDwfs2YRTPTU1GkSKjHsRsgSIko1HY3KnIbH2YYaTH7Ia8UXzOqwjdp6MYm Tk8+kejvNzqxlkxSba6PA87KsIGrxxGv00TS2R+tVWtLQQBx9yrOulYYT6g4FJPs3b5vBSHrD TsiMKc1IUDGglOSgWI+b03nrzHE= 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 (-) --=-=-= Content-Type: text/plain Eshel Yaron writes: Hi Eshel, >> I hope to find a fix, soon. > > Great, thanks. In the meantime my dirty workaround is putting the > following in my init.el: > > (with-eval-after-load 'compile > (require 'tramp-sh)) > > This causes the defvaralias call to happen before > tramp-use-connection-share is localized, which seems to work alright. > The downside is that tramp-sh is loaded the first time I use M-x compile > even if I'm only working locally. In my local environment, I have inverted the definition of the variable alias. This seems to solve the bug. Could you pls try this patch? --=-=-= Content-Type: text/x-patch Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 24e90447b24..339eb1fa9ab 100644 =2D-- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -106,6 +106,8 @@ tramp-initial-end-of-output (defconst tramp-end-of-heredoc (md5 tramp-end-of-output) "String used to recognize end of heredoc strings.") +(define-obsolete-variable-alias + 'tramp-use-ssh-controlmaster-options 'tramp-use-connection-share "30.1"= ) (defcustom tramp-use-connection-share (not (eq system-type 'windows-nt)) "Whether to use connection share in ssh or PuTTY. Set it to t, if you want Tramp to apply respective options. These @@ -122,11 +124,6 @@ tramp-use-connection-share ;; Check with (safe-local-variable-p 'tramp-use-connection-share 'suppr= ess) :safe (lambda (val) (and (memq val '(t nil suppress)) t))) -(defvaralias 'tramp-use-connection-share 'tramp-use-ssh-controlmaster-opt= ions) -(make-obsolete-variable - 'tramp-use-ssh-controlmaster-options - "Use `tramp-use-connection-share' instead" "30.1") - (defvar tramp-ssh-controlmaster-options nil "Which ssh Control* arguments to use. --=-=-= Content-Type: text/plain Thanks, and best regards, Michael. --=-=-=-- From unknown Sun Jun 15 08:36:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62329: 30.0.50; Error in TRAMP due to variable aliasing Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Mar 2023 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62329 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 62329@debbugs.gnu.org Received: via spool by 62329-submit@debbugs.gnu.org id=B62329.167941832432606 (code B ref 62329); Tue, 21 Mar 2023 17:06:02 +0000 Received: (at 62329) by debbugs.gnu.org; 21 Mar 2023 17:05:24 +0000 Received: from localhost ([127.0.0.1]:60409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pefQJ-0008Tp-Ny for submit@debbugs.gnu.org; Tue, 21 Mar 2023 13:05:23 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:38290 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pefQH-0008Tf-Oq for 62329@debbugs.gnu.org; Tue, 21 Mar 2023 13:05:22 -0400 From: Eshel Yaron DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1679418321; bh=qmKxiLfWI1+CMJtC26hF8Fi1y+4eOphKcwGm4uJzIPs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=f8E+Ux5t/etu2xSKTkpU6Zg+aLCeg3AFBwVDkPGr1D1G5fiEmHp0KMlDevuHAdE20 c5zUV+OvqUELfH9SAIYE+HuydEib4t5Wxh3tbWM7uf61bgVZhEuU54/tbfInLdehgF L7JFRt1AFu94CjqIQI+otDoZSVv1rZulvQHQeEsKPIrt8pE8xrrrZTsO5Q9wRtxyrk JkPRqol7upNy+NHX/Pz1JsKOoYfLP1CN7WNP/akU7Rxu8/0dxxml+mI/82UXbjY9v5 lnNvGKIEtXbWGhv6THVBwBBsyq0E8+4mrDwK+zCa/s6o5rKxdB7thGIASOQ0Q450o2 ttotNKgRcabew== In-Reply-To: <87ttyeoz43.fsf@gmx.de> (Michael Albinus's message of "Tue, 21 Mar 2023 17:20:12 +0100") References: <87zg86qmjd.fsf@gmx.de> <87ttyeoz43.fsf@gmx.de> Date: Tue, 21 Mar 2023 19:05:17 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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 (-) Michael Albinus writes: > In my local environment, I have inverted the definition of the variable > alias. This seems to solve the bug. > > Could you pls try this patch? > > diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el > index 24e90447b24..339eb1fa9ab 100644 > --- a/lisp/net/tramp-sh.el > +++ b/lisp/net/tramp-sh.el > @@ -106,6 +106,8 @@ tramp-initial-end-of-output > (defconst tramp-end-of-heredoc (md5 tramp-end-of-output) > "String used to recognize end of heredoc strings.") > > +(define-obsolete-variable-alias > + 'tramp-use-ssh-controlmaster-options 'tramp-use-connection-share "30.1") > (defcustom tramp-use-connection-share (not (eq system-type 'windows-nt)) > "Whether to use connection share in ssh or PuTTY. > Set it to t, if you want Tramp to apply respective options. These > @@ -122,11 +124,6 @@ tramp-use-connection-share > ;; Check with (safe-local-variable-p 'tramp-use-connection-share 'suppress) > :safe (lambda (val) (and (memq val '(t nil suppress)) t))) > > -(defvaralias 'tramp-use-connection-share 'tramp-use-ssh-controlmaster-options) > -(make-obsolete-variable > - 'tramp-use-ssh-controlmaster-options > - "Use `tramp-use-connection-share' instead" "30.1") > - > (defvar tramp-ssh-controlmaster-options nil > "Which ssh Control* arguments to use. > > > Thanks, and best regards, Michael. Yes, with this patch I don't get that error anymore, seems to work fine :) -- Eshel From unknown Sun Jun 15 08:36:01 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: Eshel Yaron Subject: bug#62329: closed (Re: bug#62329: 30.0.50; Error in TRAMP due to variable aliasing) Message-ID: References: <87mt45q2a0.fsf@gmx.de> X-Gnu-PR-Message: they-closed 62329 X-Gnu-PR-Package: emacs Reply-To: 62329@debbugs.gnu.org Date: Tue, 21 Mar 2023 20:27:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1679430421-27751-1" This is a multi-part message in MIME format... ------------=_1679430421-27751-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62329: 30.0.50; Error in TRAMP due to variable aliasing 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 62329@debbugs.gnu.org. --=20 62329: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62329 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1679430421-27751-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62329-done) by debbugs.gnu.org; 21 Mar 2023 20:26:42 +0000 Received: from localhost ([127.0.0.1]:60923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peiZ7-0007Cw-SC for submit@debbugs.gnu.org; Tue, 21 Mar 2023 16:26:42 -0400 Received: from mout.gmx.net ([212.227.15.18]:34473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peiZ6-0007Cj-1j for 62329-done@debbugs.gnu.org; Tue, 21 Mar 2023 16:26:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679430392; i=michael.albinus@gmx.de; bh=hq+fCHF4+zdpY6Py0FjoIdemb/TaqdkhDcXjADtrl+M=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=hOxqF2etd6ImRnQKOHbDgDYEYUIKVs9u+9SH9mjG2+Yy3McB9hS25wKl2527xf3TC jzGlEAnGDaWky12ZkFZEgIj3tG4WQgq7XwKYhByhvYJdFeroVsac6jahWT+aXQP9By IG7yyUdNxgKstI0GoVzt3z6rlyrMGKdbYPPkLSNs/WqzHxtAe7SpKlg51BL/qJRHM9 SOfYFPZrMb0Hq88cvOVzqMnhLM52iMGpNSl0176C9AKMj53PjwIQbEnUqtFD0gC9zo Is3FWyAxxiQYdr52JTlyf7z/zOoyamwgLVeKg8YpxVFrmDXBnNnrWkzkKfz+IE9muC pL3e31UF3LGpw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.19]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MGQnP-1piK7J1tML-00Gqxa; Tue, 21 Mar 2023 21:26:32 +0100 From: Michael Albinus To: Eshel Yaron Subject: Re: bug#62329: 30.0.50; Error in TRAMP due to variable aliasing In-Reply-To: (Eshel Yaron's message of "Tue, 21 Mar 2023 19:05:17 +0200") References: <87zg86qmjd.fsf@gmx.de> <87ttyeoz43.fsf@gmx.de> Date: Tue, 21 Mar 2023 21:26:31 +0100 Message-ID: <87mt45q2a0.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:C1RmIu99DXWCH4lzLAvLnsysx2LYY8LWWVZf85t9pC7EHYbx+oN 5HCWyULzf1w0j0bfdGK6mAAV+LbKQ+9boTy/kSWKiO3GMVcTuLqYukIAw2918XrKSWQrnkR f2MwQeOLCy8c4rgnhtQrAimvtKaOplf+ZFbCPlgl90TWszjJleS/W3mm1H9utUrzTRjXSBC ukrmkSmNkvzvqTNPsrQnQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:EM42IOf2xL8=;J77Kb3WLo2mOC8RkLklZsNK1X0w Cc2RpG2tD1ny4STq3COcqHQ2PmzHqdm3KqfB2QTk6U35/e2xwk7l/IwimLfGljc2JAcJIEXzP KcAg8SgrqlxdtNVWW2zc4YfIxri/5DBShz59N6TuRHvnvwECkygozhdANpShVdjF/+ie9AAUj AneQ7S2NviD3LAdTKe9rNpduHBMwcN3ryonFuTl054KA96xJ4xAW79qPoOpFiQe7TX8HqYEdq 8bxA+o347GdvQcUZlKSWKHeAUKP92BYETB7L0cS2Qah8MURF3EaiwxCZkIKJdwhpR1fHN6i88 JKiAY1vT76/ni9tfPpNTKTzCrSgtPBvahVU0vRH82w0540jRFHcvv0J6Spc+KW1EVSN71twRp 2WByJQmRJ2oyaqpDd8VislQjpS9/76gvit77N7olDH4oEJwW90MJttfjn6enGR26y4d7odoto jZRPTvTfXqMFqZQfKxBrps9NrHpFbAAV/TPyWF/yY+XODON8DSrT+uiFIU+wOuxHWSYtlZ28i de6Bugsb/CbFWPyufgkw5DWHie0Hxfj+7U+YUe2b5rfVDhYzscXF7kQ9WxJ7MMjZLHOEbzlS8 vHt0zKn1+LtM+0XhgWrW7H+16zZvGxFGzZak1v0d1b2ZCsK+oSVVHGPUgOmJ1taaa4jyWdexw 25iVs2l6Auth7Rxx3uNsQCEF9vk5xTc6PvpmflyvxXD2xNg7S03xkDf5FlwbxA0bsuaYlxXam pZVkGpC45YaelLSgOKoq1KbM3ToA0tIT35lu7FARvugD1dlTHXqW2Slj4QvuTOwBNArAJk4ew MO6hX+q5UjNSv86O8s9h5aaoFISR4JEkLhX6dfB5pfFvC6ycioswrrtr3c2S8DW4mxf2nEro9 CDcCS5/COkCVU0akRPJOxK8QfNbpfK1IIZdJX/HsdtSs/Y0PlYJf2dRK+6Clh0vSeu/wkCx/a oMsh/uSiNvSD9KIXFxMeF1gVIfY= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62329-done Cc: 62329-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: 30.1 Eshel Yaron writes: Hi Eshel, >> In my local environment, I have inverted the definition of the variable >> alias. This seems to solve the bug. >> >> Could you pls try this patch? > > Yes, with this patch I don't get that error anymore, seems to work fine :) Thanks for the feedback, I've pushed the patch to master. Closing the bug. Best regards, Michael. ------------=_1679430421-27751-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Mar 2023 12:01:04 +0000 Received: from localhost ([127.0.0.1]:57800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peafo-00027q-7y for submit@debbugs.gnu.org; Tue, 21 Mar 2023 08:01:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:59520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peafm-00026q-Hy for submit@debbugs.gnu.org; Tue, 21 Mar 2023 08:01:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peafG-0001aA-PA for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 08:00:31 -0400 Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peafF-0006ig-2Y for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 08:00:30 -0400 From: Eshel Yaron DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1679400027; bh=I86F9HCX5/FpLXs7DAcTynquoL/FZaLKA//Ru4D34O8=; h=From:To:Subject:Date:From; b=LpUcP5KCN8ki7mbUwqwyuL9akwAzrMJRrW1Kp9eO4YKiD5XWxIImIFN2mcbOYJNge A3HDDNsMSZCY5UTJd3nDobVkbfUmgASZhZGXvLPscxJ9iPjqnzFteFOCmG1zzznnmn X3WbvmLK41RqG37sqrtjd6bhWchQZMnd15yoDdALjjYbiZ/vclUDIfJbgzAS7djwvn 64I6etumWZBjl519z/DZ3DChIRbA6Ue3bRoBNaL/IzsygUnub1ws46XtUBD9Uuv22K 2HLhiogc6FJawp02JRjqMAQJb0HjkGb576T6etxkcSlG1HM525xqZ/3ZH+mCW3UCz3 KnaiSmaLe3e2w== To: bug-gnu-emacs@gnu.org Subject: 30.0.50; Error in TRAMP due to variable aliasing Date: Tue, 21 Mar 2023 14:00:23 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) The recent rename of tramp-use-ssh-controlmaster-options in commit 1c39347d585 seems to cause some problems, namely Emacs now fails with an error when trying to load tramp-sh (which happens automatically in some TRAMP flows) if tramp is already loaded and compilation-mode-hook ran. To reproduce: 1. emacs -Q 2. (require 'tramp) This further requires tramp-integration which adds a function called tramp-compile-disable-ssh-controlmaster-options to compilation-mode-hook 3. Do something that runs compilation-mode-hook, e.g. M-x compile with some dummy compilation command like "true". 4. Try to load tramp-sh with e.g. (require 'tramp-sh) Emacs fails with an error saying: "Don=E2=80=99t know how to make a buffer-local variable an alias: tramp-use-connection-share". AFAIU This happens because at this point tramp-use-connection-share is already a localized symbol and tramp-sh tries to call defvaralias on it. Thanks, Eshel In GNU Emacs 30.0.50 (build 25, x86_64-apple-darwin22.3.0, NS appkit-2299.40 Version 13.2.1 (Build 22D68)) of 2023-03-21 built on esmac.local Repository revision: 42fba8f36b19536964d6deb6a34f3fd1c02b43dd Repository branch: master Windowing system distributor 'Apple', version 10.3.2299 System Description: macOS 13.2.1 Configured using: 'configure --with-native-compilation --with-json --with-tree-sitter' Configured features: ACL DBUS GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-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 font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug backtrace find-func compile text-property-search tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-osc ansi-color ring parse-time iso8601 time-date ls-lisp format-spec auth-source eieio eieio-core cl-loaddefs comp comp-cstr warnings icons rx cl-seq cl-macs cl-extra help-mode cl-lib password-cache json subr-x map byte-opt gv bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 120777 8827) (symbols 48 9991 0) (strings 32 30989 2026) (string-bytes 1 1006709) (vectors 16 22054) (vector-slots 8 390621 12591) (floats 8 47 25) (intervals 56 395 0) (buffers 984 13)) ------------=_1679430421-27751-1-- From unknown Sun Jun 15 08:36:01 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: Chris Elrod Subject: bug#62295: closed (Re: bug#62329: 30.0.50; Error in TRAMP due to variable aliasing) Message-ID: References: <87mt45q2a0.fsf@gmx.de> X-Gnu-PR-Message: they-closed 62295 X-Gnu-PR-Package: emacs Reply-To: 62295@debbugs.gnu.org Date: Tue, 21 Mar 2023 20:27:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1679430422-27751-3" This is a multi-part message in MIME format... ------------=_1679430422-27751-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62329: eshell: sudo results in "Don=E2=80=99t know how to make a buffer-lo= cal variable an alias: tramp-use-connection-share" 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 62295@debbugs.gnu.org. --=20 62329: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62329 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1679430422-27751-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62329-done) by debbugs.gnu.org; 21 Mar 2023 20:26:42 +0000 Received: from localhost ([127.0.0.1]:60923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peiZ7-0007Cw-SC for submit@debbugs.gnu.org; Tue, 21 Mar 2023 16:26:42 -0400 Received: from mout.gmx.net ([212.227.15.18]:34473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peiZ6-0007Cj-1j for 62329-done@debbugs.gnu.org; Tue, 21 Mar 2023 16:26:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679430392; i=michael.albinus@gmx.de; bh=hq+fCHF4+zdpY6Py0FjoIdemb/TaqdkhDcXjADtrl+M=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=hOxqF2etd6ImRnQKOHbDgDYEYUIKVs9u+9SH9mjG2+Yy3McB9hS25wKl2527xf3TC jzGlEAnGDaWky12ZkFZEgIj3tG4WQgq7XwKYhByhvYJdFeroVsac6jahWT+aXQP9By IG7yyUdNxgKstI0GoVzt3z6rlyrMGKdbYPPkLSNs/WqzHxtAe7SpKlg51BL/qJRHM9 SOfYFPZrMb0Hq88cvOVzqMnhLM52iMGpNSl0176C9AKMj53PjwIQbEnUqtFD0gC9zo Is3FWyAxxiQYdr52JTlyf7z/zOoyamwgLVeKg8YpxVFrmDXBnNnrWkzkKfz+IE9muC pL3e31UF3LGpw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.19]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MGQnP-1piK7J1tML-00Gqxa; Tue, 21 Mar 2023 21:26:32 +0100 From: Michael Albinus To: Eshel Yaron Subject: Re: bug#62329: 30.0.50; Error in TRAMP due to variable aliasing In-Reply-To: (Eshel Yaron's message of "Tue, 21 Mar 2023 19:05:17 +0200") References: <87zg86qmjd.fsf@gmx.de> <87ttyeoz43.fsf@gmx.de> Date: Tue, 21 Mar 2023 21:26:31 +0100 Message-ID: <87mt45q2a0.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:C1RmIu99DXWCH4lzLAvLnsysx2LYY8LWWVZf85t9pC7EHYbx+oN 5HCWyULzf1w0j0bfdGK6mAAV+LbKQ+9boTy/kSWKiO3GMVcTuLqYukIAw2918XrKSWQrnkR f2MwQeOLCy8c4rgnhtQrAimvtKaOplf+ZFbCPlgl90TWszjJleS/W3mm1H9utUrzTRjXSBC ukrmkSmNkvzvqTNPsrQnQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:EM42IOf2xL8=;J77Kb3WLo2mOC8RkLklZsNK1X0w Cc2RpG2tD1ny4STq3COcqHQ2PmzHqdm3KqfB2QTk6U35/e2xwk7l/IwimLfGljc2JAcJIEXzP KcAg8SgrqlxdtNVWW2zc4YfIxri/5DBShz59N6TuRHvnvwECkygozhdANpShVdjF/+ie9AAUj AneQ7S2NviD3LAdTKe9rNpduHBMwcN3ryonFuTl054KA96xJ4xAW79qPoOpFiQe7TX8HqYEdq 8bxA+o347GdvQcUZlKSWKHeAUKP92BYETB7L0cS2Qah8MURF3EaiwxCZkIKJdwhpR1fHN6i88 JKiAY1vT76/ni9tfPpNTKTzCrSgtPBvahVU0vRH82w0540jRFHcvv0J6Spc+KW1EVSN71twRp 2WByJQmRJ2oyaqpDd8VislQjpS9/76gvit77N7olDH4oEJwW90MJttfjn6enGR26y4d7odoto jZRPTvTfXqMFqZQfKxBrps9NrHpFbAAV/TPyWF/yY+XODON8DSrT+uiFIU+wOuxHWSYtlZ28i de6Bugsb/CbFWPyufgkw5DWHie0Hxfj+7U+YUe2b5rfVDhYzscXF7kQ9WxJ7MMjZLHOEbzlS8 vHt0zKn1+LtM+0XhgWrW7H+16zZvGxFGzZak1v0d1b2ZCsK+oSVVHGPUgOmJ1taaa4jyWdexw 25iVs2l6Auth7Rxx3uNsQCEF9vk5xTc6PvpmflyvxXD2xNg7S03xkDf5FlwbxA0bsuaYlxXam pZVkGpC45YaelLSgOKoq1KbM3ToA0tIT35lu7FARvugD1dlTHXqW2Slj4QvuTOwBNArAJk4ew MO6hX+q5UjNSv86O8s9h5aaoFISR4JEkLhX6dfB5pfFvC6ycioswrrtr3c2S8DW4mxf2nEro9 CDcCS5/COkCVU0akRPJOxK8QfNbpfK1IIZdJX/HsdtSs/Y0PlYJf2dRK+6Clh0vSeu/wkCx/a oMsh/uSiNvSD9KIXFxMeF1gVIfY= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62329-done Cc: 62329-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: 30.1 Eshel Yaron writes: Hi Eshel, >> In my local environment, I have inverted the definition of the variable >> alias. This seems to solve the bug. >> >> Could you pls try this patch? > > Yes, with this patch I don't get that error anymore, seems to work fine :) Thanks for the feedback, I've pushed the patch to master. Closing the bug. Best regards, Michael. ------------=_1679430422-27751-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Mar 2023 14:48:24 +0000 Received: from localhost ([127.0.0.1]:55486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peGoC-0007eU-7y for submit@debbugs.gnu.org; Mon, 20 Mar 2023 10:48:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:33746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peFsS-0000r6-Ns for submit@debbugs.gnu.org; Mon, 20 Mar 2023 09:48:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peFsS-0007L6-HW for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 09:48:44 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peFsQ-00066q-SJ for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 09:48:44 -0400 Received: by mail-wr1-x42a.google.com with SMTP id j2so10402559wrh.9 for ; Mon, 20 Mar 2023 06:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679320121; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=NTp5TqFTUO3hUYNEg5VUql5sppljPA8LE6PdZF/f5UA=; b=nz+u+84pteAsQhCadXMAD0NQdt7DtkJ9x/nOOwHRfjE1lkI0bAGPso5HiXP/o5UMtH ZS+sX493nR9PZCkvLW/+PS8h1VCe8qh7VI4wzRexi/n4md7AAWrV5ACwwyCrjgKsshA8 Ji/V3SXm17BXN+zWBl7EFyoNiB0+LpDp6Deplo8iOhq/nM2LLoyVE68EMqrAsuywao89 9M08B0CVljVgMv95ceUaipK1ivz4sLmCbuBDpOrlVFDUGBEmOa6ByvdW92P06g4/bOxf lQTzYrAObV6o3PhebqnBVmdDuy4TEnlqoYMYRAvApl7kaH8E7yo/R4BtU1aukEses0CJ otGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679320121; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NTp5TqFTUO3hUYNEg5VUql5sppljPA8LE6PdZF/f5UA=; b=aVTEfD2Z0kXSELf3oCsJciV8AfZlcn9WAR63tbZC/eY4ri3IwXiFTQETvWjsKfvxh7 GTW242fICKLgc2quvYQSAT+/aeNTMeBNmtV6n2k/m8dDHiDc+6/N91f1fX1jQeb7iZZ9 KoYhiVvl3FccD+4ymDdiylU3qb9eA4ru5G2P2xrh6SEIX8pVydlSpYazgTPT5aaHZSxj 8iNWA+yjWtis+EjHUTGaAlT/MCYfbkp6Bny9USizEDC0pxxyAsb24JhM2F/WFBNuxSST O9342VGkUF3zXOdCQRniAepA9OkOQXE6x7GEvtKrPFwgIXv4FSB2P6pYeHYbMZ+0uZhw +skQ== X-Gm-Message-State: AO0yUKXfPR6RgK4PWdu7IXjG2jaqOr2ZUgdwEmjkM/+K5We0W6nDvFYp k0W588I/4vD86m1pM+RrMHQu6F2qs7O4hy6hd1btr392/7Y= X-Google-Smtp-Source: AK7set/fQUky4kpDuyOYT15cSFTyBYhQulwewY0NffDRC18jfuhouWX6TAitNzGAPCki4MgVW15DFbduwpqhpnPpzGo= X-Received: by 2002:a5d:588c:0:b0:2cf:e75a:eaf0 with SMTP id n12-20020a5d588c000000b002cfe75aeaf0mr3473538wrf.0.1679320120772; Mon, 20 Mar 2023 06:48:40 -0700 (PDT) MIME-Version: 1.0 From: Chris Elrod Date: Mon, 20 Mar 2023 09:48:29 -0400 Message-ID: Subject: =?UTF-8?Q?eshell=3A_sudo_results_in_=22Don=E2=80=99t_know_how_to_make_a_?= =?UTF-8?Q?buffer=2Dlocal_variable_an_alias=3A_tramp=2Duse=2Dconnection=2Dshare=22?= To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000043534205f7552fbe" Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=elrodc@gmail.com; helo=mail-wr1-x42a.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, HTML_MESSAGE=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-Mailman-Approved-At: Mon, 20 Mar 2023 10:48:22 -0400 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 (--) --00000000000043534205f7552fbe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I just rebuilt the latest emacs master, and found that I can no longer use sudo in eshell. I get the error message: Don=E2=80=99t know how to make a buffer-local variable an alias: tramp-use-connection-share This variable was recently introduced: https://github.com/emacs-mirror/emacs/commit/1c39347d58533280bae74c712ad001= 6a5c8992aa --00000000000043534205f7552fbe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I just rebuilt the latest emacs master, and found that I c= an no longer use sudo in eshell.
I get the error message:
Don= =E2=80=99t know how to make a buffer-local variable an alias: tramp-use-con= nection-share

--00000000000043534205f7552fbe-- ------------=_1679430422-27751-3--