From unknown Sun Jun 22 07:57:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76553: 31.0.50; TRAMP failure with `tramp-use-connection-share' set to nil Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: michael.albinus@gmx.de, bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Feb 2025 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 76553@debbugs.gnu.org Cc: Michael Albinus X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Michael Albinus Received: via spool by submit@debbugs.gnu.org id=B.17404921231079 (code B ref -1); Tue, 25 Feb 2025 14:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Feb 2025 14:02:03 +0000 Received: from localhost ([127.0.0.1]:45426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmvVZ-0000H6-M8 for submit@debbugs.gnu.org; Tue, 25 Feb 2025 09:02:02 -0500 Received: from lists.gnu.org ([2001:470:142::17]:39552) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmvVV-0000GS-3Y for submit@debbugs.gnu.org; Tue, 25 Feb 2025 09:01:59 -0500 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 1tmvVH-0005tS-IU for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2025 09:01:44 -0500 Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tmvVE-0004kD-4n for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2025 09:01:43 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=CQ5uncS/ MD6luuHww9JN20Vd2uth0ZSuytTPLAzyWlE=; h=date:subject:to:from; d=ledu-giraud.fr; b=uBfyihQl/naoDpr+DYzeyoYLP7+41xAON0iIroRXd+Mm5124wr ZXZ18ugyLlWP8Kp2zJxYVnuJg9sAnYpyWTBg== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=CQ5uncS/MD6luuHw w9JN20Vd2uth0ZSuytTPLAzyWlE=; h=date:subject:to:from; d=ledu-giraud.fr; b=qdukpAAhGc0wErHIpo+7Z3PmKnTE8vSVQfQdtqXNawsog/MX1+ KvzbSFFZOQWyGBgGNDPxP5+fBIvz3Yb+uuOFNP5PmztpamKASWWjcgtfKD2DWx1xtg7Ygy Og1VjAQHo9/IP3ckjKI10zAswRQIDw7wVEJeqUy5vyYo5in9gqKhCS1zLAXL8hRIUBdSU0 PVzTKJh7aXd6vXUZd8xRzYwwc0yF38eQjx2X1QW5G88yLd5k8Lbh3ONRaLYqX00d/ZG9Xj pLlZIn6cCkSjdBmiYkIpBkVsmd+VtydlsFK5vch9QMcmBWC1WUyieOD1pjuTAI0Xkrm6eM 86vBpD1dw9Gg== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 4bbec6fc (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 25 Feb 2025 15:01:34 +0100 (CET) From: Manuel Giraud Date: Tue, 25 Feb 2025 15:01:32 +0100 Message-ID: <87msea3yyr.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hi (again) Michael, Currently, TRAMP is failing with `tramp-use-connection-share' set to nil (my setting because I manage ControlMaster in my own .ssh/config). How to reproduce this: - emacs -Q - M-: (setopt tramp-use-connection-share nil) - C-x C-f /-:somewhere: Now I get the following error: tramp-signal-hook-function: Wrong type argument: "char-or-string-p nil" The culprit seems to be the cond in `tramp-ssh-or-plink-options' which could end up returning nil. Best regards, In GNU Emacs 31.0.50 (build 5, x86_64-unknown-openbsd7.6, X toolkit) of 2025-02-25 built on computer Repository revision: 53eec34da1bf2fb9381680734a99f3fb11225787 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101015 System Description: OpenBSD computer 7.6 GENERIC.MP#554 amd64 Configured using: 'configure CC=egcc CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib MAKEINFO=gmakeinfo --prefix=/home/manuel/emacs --bindir=/home/manuel/bin --with-x-toolkit=lucid --with-toolkit-scroll-bars=no --without-cairo --without-compress-install' Configured features: DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY KQUEUE PDUMPER PNG RSVG SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XAW3D XDBE XFT XIM XINERAMA XINPUT2 XPM XRANDR LUCID ZLIB Important settings: value of $LC_CTYPE: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: debbugs-browse-mode: t bug-reference-prog-mode: t display-time-mode: t display-battery-mode: t desktop-save-mode: t exwm-randr-mode: t server-mode: t electric-pair-mode: t override-global-mode: t repeat-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/manuel/prog/elisp/exwm/exwm hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm /home/manuel/prog/elisp/exwm/exwm-xsettings hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-xsettings /home/manuel/prog/elisp/exwm/exwm-xim hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-xim /home/manuel/prog/elisp/exwm/exwm-workspace hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-workspace /home/manuel/prog/elisp/exwm/exwm-randr hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-randr /home/manuel/prog/elisp/exwm/exwm-manage hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-manage /home/manuel/prog/elisp/exwm/exwm-layout hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-layout /home/manuel/prog/elisp/exwm/exwm-input hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-input /home/manuel/prog/elisp/exwm/exwm-floating hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-floating /home/manuel/prog/elisp/exwm/exwm-systemtray hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-systemtray /home/manuel/prog/elisp/exwm/exwm-core hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-core /home/manuel/prog/elisp/exwm/exwm-background hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-background /home/manuel/.emacs.d/elpa/ef-themes-1.9.0/theme-loaddefs hides /home/manuel/emacs/share/emacs/31.0.50/lisp/theme-loaddefs Features: (shadow emacsbug lisp-mnt misearch multi-isearch flow-fill qp sort gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg gnus-ml gnus-topic mm-archive url-cache utf-7 imap rfc2104 nndoc nndraft nnmh network-stream nnfolder nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache nnrss vc-annotate pulse help-fns radix-tree cl-print edebug debug backtrace tramp-cmds tramp-cache time-stamp tramp-sh org-agenda cus-start org-indent tex-mode slime-asdf grep slime-tramp tramp trampver tramp-integration tramp-message tramp-compat shell tramp-loaddefs slime-fancy slime-indentation slime-cl-indent cl-indent slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations slime-macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime apropos compile etags fileloop xref project arc-mode archive-mode hyperspec oc-basic org-element org-persist org-id org-element-ast inline avl-tree generator ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi gnus-icalendar org-capture org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit executable ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color org-list org-footnote org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs org-compat org-macs doc-view filenotify jka-compr image-mode exif hideshow rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode facemenu nxml-util nxml-enc xmltok macrostep-c cmacexp macrostep noutline outline conf-mode gnus-dired on-screen eww vtable mule-util url-queue mm-url vc-dir ewoc vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view log-edit add-log pcvs-util vc-git diff-mode track-changes files-x vc vc-dispatcher debbugs-browse bug-reference format-spec time battery desktop frameset exwm-randr xcb-randr exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types xcb-debug server ef-themes modus-operandi-theme modus-themes zone speed-type dash thingatpt url-http url-auth url-gw nsm compat ytdious ring mpdired transmission color calc-bin calc-ext calc calc-loaddefs rect calc-macs supercite regi ebdb-gnus gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win ebdb-message message yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader ebdb-mua ebdb-com crm ebdb-format ebdb mailabbrev eieio-opt speedbar ezimage dframe find-func eieio-base timezone icalendar gnus nnheader gnus-util text-property-search time-date range sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils web-mode advice derived disp-table erlang-start skeleton cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs elec-pair edmacro kmacro use-package-bind-key bind-key appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs pcase dired-x dired-aux dired dired-loaddefs use-package-core repeat easy-mmode cus-edit pp cus-load wid-edit debbugs-autoloads ebdb-autoloads cl-extra help-mode ef-themes-autoloads exwm-autoloads gnuplot-autoloads hyperbole-autoloads kotl-autoloads hact set hhist notmuch-autoloads on-screen-autoloads osm-autoloads pdf-tools-autoloads rust-mode-autoloads slime-autoloads macrostep-autoloads speed-type-autoloads info dash-autoloads sudo-edit-autoloads svg-clock-autoloads tablist-autoloads transmission-autoloads xelb-autoloads ytdious-autoloads package browse-url xdg url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen 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 lcms2 dynamic-setting system-font-setting font-render-setting x-toolkit xinput2 x multi-tty move-toolbar make-network-process tty-child-frames emacs) Memory information: ((conses 16 1207207 416061) (symbols 48 60348 0) (strings 32 302332 30825) (string-bytes 1 8541608) (vectors 16 185350) (vector-slots 8 2504674 105625) (floats 8 710 5695) (intervals 56 44038 12706) (buffers 992 110)) -- Manuel Giraud From unknown Sun Jun 22 07:57:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76553: 31.0.50; TRAMP failure with `tramp-use-connection-share' set to nil Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Feb 2025 14:55:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Manuel Giraud Cc: 76553@debbugs.gnu.org Received: via spool by 76553-submit@debbugs.gnu.org id=B76553.174049530011432 (code B ref 76553); Tue, 25 Feb 2025 14:55:03 +0000 Received: (at 76553) by debbugs.gnu.org; 25 Feb 2025 14:55:00 +0000 Received: from localhost ([127.0.0.1]:45576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmwKq-0002yK-4j for submit@debbugs.gnu.org; Tue, 25 Feb 2025 09:55:00 -0500 Received: from mout.gmx.net ([212.227.17.20]:37101) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmwKn-0002xv-1Z for 76553@debbugs.gnu.org; Tue, 25 Feb 2025 09:54:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1740495290; x=1741100090; i=michael.albinus@gmx.de; bh=9PdS1YL5NcGMoCJ/ldgtuGBlz/9oZr9xOe/xygLBdPs=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=gJjmU4Tc7aTTk8VXQnfz0w6GeBFDiAlJw9AikwPAxufGK4Fw9bZfFFsAx+khsrbJ d/c/5mk+R+a7khBAiCN6jCeHf4ZjMgb+kzk1PSbFpCFINjngD4HHJTbXAdsmDTkQW 2ltLVLLSnE/Xqnvv0zJdzKJdYcdDAP3v9e0wNH3YFz+xzmBKmhw2hyLEaw28X0zTv DCqeahwWTsyOOt45WwmyyJgBHfRdWus7T64vhDE0sRf4H/T2x9z+BuHZ0Apa79aty 3KZLUKtyFWzlQ+hG/TzPfrnhWbX97s7Qh+RrLQsAu06ZSHoIIO1Omnw1rmWA0Hkb6 UkVjkjKAaAOAp4RZFg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N95iR-1tH8I91S6R-017oUM; Tue, 25 Feb 2025 15:54:50 +0100 From: Michael Albinus In-Reply-To: <87msea3yyr.fsf@ledu-giraud.fr> References: <87msea3yyr.fsf@ledu-giraud.fr> Date: Tue, 25 Feb 2025 15:54:46 +0100 Message-ID: <87seo2vzux.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:lNheIA378jCjAp24l4AxMoKBzZGCDzoSFDDWpaBSJs9nG5HJUbv 2ssR2/j/7pb+OFIJknCvTNGHG1jyorh+UsmmiYf790yVhnD/lfBqiiKbKNJUDcRfJXtBRFL 6sK81qb2KmUMVOZDbsX2mbuNCszoC/MMgQJxd2NYQ6JPVdvpJavy9e13kMSUYnNElKdc+xj +t0iS7ahQPGBrh/jiWTng== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:to38+LLGsNU=;LRvPo/V0ouJPrpjP36T5LjQQHWi R8jG/Gbg244OLu5Gs8FNaU5QMoSC0TxZfjqylv5D21FJw1ciU3YBjt+CfKpO/1VmkiAAMpjin vgyGvKUmpCuhDm0JGg5gNEzmQOd873GZ1Fg/sliW2zyNvUZ4DweHvE44jaZH9Gd6PN1DfgNdI k4JIP7E41ypCntbfb+f+Lhl4E6nDEYhoDIevfALw8KoZsNws4TEncq75nqV2/vg9a4sMee2Z5 Gy6oBYKgNH2iKKGr6iPx1KcXxeOQ5TIEYm7TJJXFGRZuOX3u2yktzOvhGn30mvOGcw1UoBXKM 93r3urxdu1tM38m8Kji8uxqcdB4C2kymipVFJuoKHT9i/L9SvHe68bP+TSZdHcjeczyW/x9P4 OZouGligSjMl6Zyh+Ib0nxBXqP/nzLh7Q/X1qxfgVII+jBJ9BijK7LEZZvvsTga6G0YiWCHYp FWdFs26ApGfMZw23A4k/esJaXdpAWdF/XZlnIjDtoVhXcZeAbJlCu2zx/BVvec55hFeUi+0EF eTZuEaEjfU2EZyc36ny00gME0dGvE09ZirXuqNbNiVFO7I9d2G1i+b7jCgqD1sAbInhK/GAVs 0fs87NUzWn/KHT1Ga2H9dAL2BkYWaK0bSJpNkoXfxwZvjfPEMQ38WdOZi65Jl4DVBSG9NCmbK TTv9uA9IapzSZXaReFjaPcKJIztZJ0QbaPeNmAzmCjfwykDH1M29TnVHjJOrP3lg0r+cEe9yQ nI5bxGMbMn2Sr+w69yRpqMHzSu1BpjpeLxj2dhxo7tFv0sAgVlsnJ2nxLRDZ0ReAuOLHk68aC 4nTFys43e3QKCebh6V5Gh5P8mjB4w7y80ACSXTKRO8L47eDBzZLwskL+tXcVdDRTty5ESJzAM 49Nx0cOKGCvjfa2HU7fhRRbsCk9B7Fx5Q634slBove7GSsY461v/F+u4Cbcxeh0uKUCMB/jX1 g/I12Bt7XUtJcZ78EPE6I0vbNv39p8qvqx0nP1f1KrTWK34aSqOiqxa8CgichcVkiYsHa8x6H t6HimopduvhdmibJGGL0GoasPImb+57FU39Keycnf3MEmGk0mD8Jyst0kMPhXovrP+Za7JyyJ NIao8II4s3X2IF2bgkqdupkkoYyh5ud530yjx3ffYdrTocjx80pTUH6k+2Nr/yWWrSeun399Z doQNzVF5GYOxj6XoprO0+mujTjRfLHx4F9LpNGU4xw0CNIA7NPW1HIN0YInQCtv8MdhRJCl9D w5L1STRyzKzNRHW0uM6gTsaD1U5ILnWvCI/iHkZGvT+FQcHPFkfpYn0+kh+7Nqv1lgl4XpQpX g5msUmx+A95KIF72iT0Z8srSmhpg6rMseiUIx019gRdJPmmzybwm51w0ihtPvPlP4soL97xg/ ODLJtNQd+KhxT8z9tdEvbhwKCIZr+QFZ4TM7LN3d69w2NnDVhLfnP+aq+x 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 (-) Manuel Giraud writes: > Hi (again) Michael, Hi Manuel, > Currently, TRAMP is failing with `tramp-use-connection-share' set to nil > (my setting because I manage ControlMaster in my own .ssh/config). How > to reproduce this: > > - emacs -Q > - M-: (setopt tramp-use-connection-share nil) > - C-x C-f /-:somewhere: > > Now I get the following error: > > tramp-signal-hook-function: Wrong type argument: "char-or-string-p nil" > > The culprit seems to be the cond in `tramp-ssh-or-plink-options' which > could end up returning nil. Thanks for the bug report and the analysis (which is valid)! I've pushed a fix to the master btanch; could you pls test? > Best regards, Best regards, Michael. From unknown Sun Jun 22 07:57:55 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: Manuel Giraud Subject: bug#76553: closed (Re: bug#76553: 31.0.50; TRAMP failure with `tramp-use-connection-share' set to nil) Message-ID: References: <87frk259tw.fsf@ledu-giraud.fr> <87msea3yyr.fsf@ledu-giraud.fr> X-Gnu-PR-Message: they-closed 76553 X-Gnu-PR-Package: emacs Reply-To: 76553@debbugs.gnu.org Date: Tue, 25 Feb 2025 15:22:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1740496923-19644-1" This is a multi-part message in MIME format... ------------=_1740496923-19644-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #76553: 31.0.50; TRAMP failure with `tramp-use-connection-share' set to nil 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 76553@debbugs.gnu.org. --=20 76553: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76553 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1740496923-19644-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 76553-done) by debbugs.gnu.org; 25 Feb 2025 15:21:48 +0000 Received: from localhost ([127.0.0.1]:47995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmwkm-000562-3Z for submit@debbugs.gnu.org; Tue, 25 Feb 2025 10:21:48 -0500 Received: from ledu-giraud.fr ([51.159.28.247]:19298) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmwkY-00055S-UN for 76553-done@debbugs.gnu.org; Tue, 25 Feb 2025 10:21:36 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=PH0cmzsw pIoq/4/KFj02rbXTbK8FCjFSV8Y6pWdB/ds=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=WQE4dZO+3oAyEz/O+ZziofmcRef71h I5noKgGrDaRJiOOEByWRs2rMFEFoPNw1uMvpwOEI675whi6fSu8/7yBQ== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=PH0cmzswpIoq/4/K Fj02rbXTbK8FCjFSV8Y6pWdB/ds=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=wH+DdOcS9B39J0oYga9pkPF5SySSXHk0aR51e5 ppod6ci6OEdKtPWTDoH+gGtLbBCm/5T/Oe17N5T0/M7eW1GItTo204PSz2qJsZckBYP/Cz qZnXd3Llyr0Dqpz+JcU4c4pmsmol6dmiSStKbaA+e0CRtFMo5stIgujwQoSJ0ZsivKguWf x4cT8d3PJBBMgIGWVWDa9wHoow3ECf2idmWVIanCXn5z73d7Nr1s5/r3JOXGG24csn4H0E KWhKE5irCefPtIHusI6ZPX77IIUlsPivaM9fVxhknW8vRJywWwrShYfhr/opBYu8GDABK2 9XsvBh6agyYl156eWOJkhhQA== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 58fa077d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 25 Feb 2025 16:21:32 +0100 (CET) From: Manuel Giraud To: Michael Albinus Subject: Re: bug#76553: 31.0.50; TRAMP failure with `tramp-use-connection-share' set to nil In-Reply-To: <87seo2vzux.fsf@gmx.de> References: <87msea3yyr.fsf@ledu-giraud.fr> <87seo2vzux.fsf@gmx.de> Date: Tue, 25 Feb 2025 16:21:31 +0100 Message-ID: <87frk259tw.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76553-done Cc: 76553-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.0 (-) Michael Albinus writes: [...] >> The culprit seems to be the cond in `tramp-ssh-or-plink-options' which >> could end up returning nil. > > Thanks for the bug report and the analysis (which is valid)! I've pushed > a fix to the master btanch; could you pls test? I works great! Thanks and I'm closing this bug. Best regards, -- Manuel Giraud ------------=_1740496923-19644-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Feb 2025 14:02:03 +0000 Received: from localhost ([127.0.0.1]:45426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmvVZ-0000H6-M8 for submit@debbugs.gnu.org; Tue, 25 Feb 2025 09:02:02 -0500 Received: from lists.gnu.org ([2001:470:142::17]:39552) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmvVV-0000GS-3Y for submit@debbugs.gnu.org; Tue, 25 Feb 2025 09:01:59 -0500 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 1tmvVH-0005tS-IU for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2025 09:01:44 -0500 Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tmvVE-0004kD-4n for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2025 09:01:43 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=CQ5uncS/ MD6luuHww9JN20Vd2uth0ZSuytTPLAzyWlE=; h=date:subject:to:from; d=ledu-giraud.fr; b=uBfyihQl/naoDpr+DYzeyoYLP7+41xAON0iIroRXd+Mm5124wr ZXZ18ugyLlWP8Kp2zJxYVnuJg9sAnYpyWTBg== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=CQ5uncS/MD6luuHw w9JN20Vd2uth0ZSuytTPLAzyWlE=; h=date:subject:to:from; d=ledu-giraud.fr; b=qdukpAAhGc0wErHIpo+7Z3PmKnTE8vSVQfQdtqXNawsog/MX1+ KvzbSFFZOQWyGBgGNDPxP5+fBIvz3Yb+uuOFNP5PmztpamKASWWjcgtfKD2DWx1xtg7Ygy Og1VjAQHo9/IP3ckjKI10zAswRQIDw7wVEJeqUy5vyYo5in9gqKhCS1zLAXL8hRIUBdSU0 PVzTKJh7aXd6vXUZd8xRzYwwc0yF38eQjx2X1QW5G88yLd5k8Lbh3ONRaLYqX00d/ZG9Xj pLlZIn6cCkSjdBmiYkIpBkVsmd+VtydlsFK5vch9QMcmBWC1WUyieOD1pjuTAI0Xkrm6eM 86vBpD1dw9Gg== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 4bbec6fc (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 25 Feb 2025 15:01:34 +0100 (CET) From: Manuel Giraud To: bug-gnu-emacs@gnu.org Subject: 31.0.50; TRAMP failure with `tramp-use-connection-share' set to nil X-Debbugs-Cc: Michael Albinus Date: Tue, 25 Feb 2025 15:01:32 +0100 Message-ID: <87msea3yyr.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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: -0.1 (/) Hi (again) Michael, Currently, TRAMP is failing with `tramp-use-connection-share' set to nil (my setting because I manage ControlMaster in my own .ssh/config). How to reproduce this: - emacs -Q - M-: (setopt tramp-use-connection-share nil) - C-x C-f /-:somewhere: Now I get the following error: tramp-signal-hook-function: Wrong type argument: "char-or-string-p nil" The culprit seems to be the cond in `tramp-ssh-or-plink-options' which could end up returning nil. Best regards, In GNU Emacs 31.0.50 (build 5, x86_64-unknown-openbsd7.6, X toolkit) of 2025-02-25 built on computer Repository revision: 53eec34da1bf2fb9381680734a99f3fb11225787 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101015 System Description: OpenBSD computer 7.6 GENERIC.MP#554 amd64 Configured using: 'configure CC=egcc CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib MAKEINFO=gmakeinfo --prefix=/home/manuel/emacs --bindir=/home/manuel/bin --with-x-toolkit=lucid --with-toolkit-scroll-bars=no --without-cairo --without-compress-install' Configured features: DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY KQUEUE PDUMPER PNG RSVG SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XAW3D XDBE XFT XIM XINERAMA XINPUT2 XPM XRANDR LUCID ZLIB Important settings: value of $LC_CTYPE: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: debbugs-browse-mode: t bug-reference-prog-mode: t display-time-mode: t display-battery-mode: t desktop-save-mode: t exwm-randr-mode: t server-mode: t electric-pair-mode: t override-global-mode: t repeat-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/manuel/prog/elisp/exwm/exwm hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm /home/manuel/prog/elisp/exwm/exwm-xsettings hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-xsettings /home/manuel/prog/elisp/exwm/exwm-xim hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-xim /home/manuel/prog/elisp/exwm/exwm-workspace hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-workspace /home/manuel/prog/elisp/exwm/exwm-randr hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-randr /home/manuel/prog/elisp/exwm/exwm-manage hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-manage /home/manuel/prog/elisp/exwm/exwm-layout hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-layout /home/manuel/prog/elisp/exwm/exwm-input hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-input /home/manuel/prog/elisp/exwm/exwm-floating hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-floating /home/manuel/prog/elisp/exwm/exwm-systemtray hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-systemtray /home/manuel/prog/elisp/exwm/exwm-core hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-core /home/manuel/prog/elisp/exwm/exwm-background hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-background /home/manuel/.emacs.d/elpa/ef-themes-1.9.0/theme-loaddefs hides /home/manuel/emacs/share/emacs/31.0.50/lisp/theme-loaddefs Features: (shadow emacsbug lisp-mnt misearch multi-isearch flow-fill qp sort gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg gnus-ml gnus-topic mm-archive url-cache utf-7 imap rfc2104 nndoc nndraft nnmh network-stream nnfolder nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache nnrss vc-annotate pulse help-fns radix-tree cl-print edebug debug backtrace tramp-cmds tramp-cache time-stamp tramp-sh org-agenda cus-start org-indent tex-mode slime-asdf grep slime-tramp tramp trampver tramp-integration tramp-message tramp-compat shell tramp-loaddefs slime-fancy slime-indentation slime-cl-indent cl-indent slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations slime-macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime apropos compile etags fileloop xref project arc-mode archive-mode hyperspec oc-basic org-element org-persist org-id org-element-ast inline avl-tree generator ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi gnus-icalendar org-capture org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit executable ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color org-list org-footnote org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs org-compat org-macs doc-view filenotify jka-compr image-mode exif hideshow rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode facemenu nxml-util nxml-enc xmltok macrostep-c cmacexp macrostep noutline outline conf-mode gnus-dired on-screen eww vtable mule-util url-queue mm-url vc-dir ewoc vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view log-edit add-log pcvs-util vc-git diff-mode track-changes files-x vc vc-dispatcher debbugs-browse bug-reference format-spec time battery desktop frameset exwm-randr xcb-randr exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types xcb-debug server ef-themes modus-operandi-theme modus-themes zone speed-type dash thingatpt url-http url-auth url-gw nsm compat ytdious ring mpdired transmission color calc-bin calc-ext calc calc-loaddefs rect calc-macs supercite regi ebdb-gnus gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win ebdb-message message yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader ebdb-mua ebdb-com crm ebdb-format ebdb mailabbrev eieio-opt speedbar ezimage dframe find-func eieio-base timezone icalendar gnus nnheader gnus-util text-property-search time-date range sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils web-mode advice derived disp-table erlang-start skeleton cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs elec-pair edmacro kmacro use-package-bind-key bind-key appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs pcase dired-x dired-aux dired dired-loaddefs use-package-core repeat easy-mmode cus-edit pp cus-load wid-edit debbugs-autoloads ebdb-autoloads cl-extra help-mode ef-themes-autoloads exwm-autoloads gnuplot-autoloads hyperbole-autoloads kotl-autoloads hact set hhist notmuch-autoloads on-screen-autoloads osm-autoloads pdf-tools-autoloads rust-mode-autoloads slime-autoloads macrostep-autoloads speed-type-autoloads info dash-autoloads sudo-edit-autoloads svg-clock-autoloads tablist-autoloads transmission-autoloads xelb-autoloads ytdious-autoloads package browse-url xdg url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen 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 lcms2 dynamic-setting system-font-setting font-render-setting x-toolkit xinput2 x multi-tty move-toolbar make-network-process tty-child-frames emacs) Memory information: ((conses 16 1207207 416061) (symbols 48 60348 0) (strings 32 302332 30825) (string-bytes 1 8541608) (vectors 16 185350) (vector-slots 8 2504674 105625) (floats 8 710 5695) (intervals 56 44038 12706) (buffers 992 110)) -- Manuel Giraud ------------=_1740496923-19644-1--