From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#74105: 30.0.92; Some issues in TRAMP NEWS entries Date: Wed, 30 Oct 2024 19:10:30 +0800 Message-ID: <87v7x9g82h.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20292"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: michael.albinus@gmx.de To: 74105@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 30 12:11:30 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t66bo-00057m-RR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Oct 2024 12:11:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t66bU-0004nl-S5; Wed, 30 Oct 2024 07:11:10 -0400 Original-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 1t66bQ-0004nG-DJ for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2024 07:11:05 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t66bP-0003HW-EP for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2024 07:11:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=4BNpcYiX1nzPuS4D6jrOPGqRcMpt8a+0FMBrBGnuxlc=; b=NFWZgFnKMTpXxIAwZ3/sEPJQ7QbQMZZM8nNbKE/GxSNR502GEds6yQyhCR3/tRccqIZW6GxOoEfAB1QfHeVBt1RMWFZmynfmGA71TkK0UNXfqoXSB1nJAwjrIQ1QynGyplJqhXBde8YdhHk6XuKUu2kvCTC67oN/vpXmB+g3YkCSOMLLDLXCaohVEklXl1jzL22Kkd6uPOcrbNaGJR7IpeiwFoIm/pnXHN+OkcBJ7gPxvNJYZvdGMMaVwEbfz9ev5wcZ4fCExp4sYcM9fy8rc9vy3OmuEwH71WSQFgm/+2hKcsktZ0nm1qftv8Y9+R7SWUpf9yI7lPxlMhpKY7n9Ew==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t66bO-0005It-60; Wed, 30 Oct 2024 07:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: michael.albinus@gmx.de, bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2024 11:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74105 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: michael.albinus@gmx.de Original-Received: via spool by submit@debbugs.gnu.org id=B.173028664420375 (code B ref -1); Wed, 30 Oct 2024 11:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Oct 2024 11:10:44 +0000 Original-Received: from localhost ([127.0.0.1]:34759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t66b5-0005IZ-Mf for submit@debbugs.gnu.org; Wed, 30 Oct 2024 07:10:44 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t66b4-0005IT-DP for submit@debbugs.gnu.org; Wed, 30 Oct 2024 07:10:43 -0400 Original-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 1t66b4-0004mT-0Z for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2024 07:10:42 -0400 Original-Received: from sendmail.purelymail.com ([34.202.193.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t66b1-0003Fe-5C for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2024 07:10:41 -0400 DKIM-Signature: a=rsa-sha256; b=VXittRc1K+4cWhUfe+v/SLkIBajL0ofIESulQcaYhJBQ6Aktqzx4iYTo5WtZnqtaF2pVI4QCaCZL+GAXc639hmejxKo1JCOB6BVYYBHJjEjAXOaGdCjdEGq509c52xGbLGsk9iuccEuPDywbrbFgOanhAJDiJQ96hMrL438PIJAxEFQM9JJPwcTDevjfBRty8ZgEaDyopyHHw0f88WBa+jMx3sKYYnHc7xh82KlCvj0251WC9ZqEQJzmVZw9Pc6jvj7GXLpd/V/y0W1UcW3OPX+PWD+ZS+X7+rTBe7c1WuwiLcVJw/pGXZmUuw2xEeKpu2FFv1MC8dTFjM5eKJ1JDQ==; s=purelymail3; d=spwhitton.name; v=1; bh=wo7KQrG3a7mnWZRG17bZUQyiXztAsfo8/846eNRU2Nc=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=MJVUb1nCqqt4B6/+6//S2YZRqjMTzwj6rMza0BH84eDEON482UziS228hOFwW3NV61A4xYyBSKCGX3JK5fZxUDssrdUujSE+RWJUcCXUkS660bwzk0A6yFOjWRU+HBC3A50QGvmtntsAI2DjuNMqPgq1G82OXWqp8nddinzzur7bsbTPvyUIHAQuavWRoOmQH+RteO/MyBd4RfUZtxxSZwXZbkH8V01lbLVQ1BNyHq00ZVaytVVWn77qNPyLveAZ4UUwBlwlOo13F7wlJOhASVpXQn/eTQly5h4l9I6Vtg5+SKi/f1fOgOvsFRrnpekXhOJhtyUzMg7g+F8aSnd2ZA==; s=purelymail3; d=purelymail.com; v=1; bh=wo7KQrG3a7mnWZRG17bZUQyiXztAsfo8/846eNRU2Nc=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: bug-gnu-emacs@gnu.org Original-Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1959296769 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 30 Oct 2024 11:10:36 +0000 (UTC) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 475EE7EDB5B; Wed, 30 Oct 2024 19:10:30 +0800 (CST) Received-SPF: pass client-ip=34.202.193.197; envelope-from=spwhitton@spwhitton.name; helo=sendmail.purelymail.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, 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294554 Archived-At: X-debbugs-cc: michael.albinus@gmx.de Hello, In NEWS we have +++ *** Direct asynchronous processes are indicated by a connection-local variable. If direct asynchronous processes shall be used, set the connection-local variable 'tramp-direct-async-process' to a non-nil value. This has been changed, in previous Emacs versions this was indicated by the now deprecated connection property "direct-async-process". See the Tramp manual "(tramp) Improving performance of asynchronous remote processes". In my init.el I have this: (with-eval-after-load 'tramp (add-to-list 'tramp-connection-properties '("/ssh:" "direct-async-process" t)) (add-to-list 'tramp-connection-properties '(nil "session-timeout" nil))) I have some documentation issues: (1) The NEWS entry, together with the Info manual, were not sufficient for me to figure how to migrate my config. For example, is the whole of tramp-connection-properties being replaced? Or do I only need to migrate the direct-async-process part? I think additional documentation, even an explicit migration guide, would be desirable. (2) Turning on direct async processes for all SSH connections seems like a common configuration. How about adding that to the manual, in addition to the example for enabling them for one host? (3) Has there been a change to how password caching works? I tried deleting the session-timeout configuration. I made a /sudo:: connection. After some time passed, I saw the familiar "Tramp connection timed out" message. But it reconnected immediately when I tried to save a buffer I had open. Does it now cache the sudo password? In the past, you had to type it again, after the timeout. If there is a change here, it's security-relevant, so it should probably be in NEWS. Thanks. -- Sean Whitton