From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dag via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47896: 27.2; TRAMP hang/lockup/fault on compile/file access Date: Fri, 23 Apr 2021 10:58:00 -0500 Message-ID: <7a693d69-5bac-4043-a31e-9289f9622e8b@victor> References: <87mttsrfe7.fsf@gmx.de> <87im4fra43.fsf@gmx.de> <72c97333-e729-4cbe-b104-94a5f982e411@victor> <875z0erd08.fsf@gmx.de> <26a91bae-c4ec-4467-a415-251e408a76fc@victor> <87r1j2m8l0.fsf@gmx.de> Reply-To: dag Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="6082ee88_57de58c2_52d2" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30617"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47896@debbugs.gnu.org To: "Michael Albinus" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 23 17:59:11 2021 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 1lZyD0-0007ec-Rv for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 17:59:11 +0200 Original-Received: from localhost ([::1]:57080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZyCz-0005Ja-Ru for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 11:59:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZyCs-0005I4-A0 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 11:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZyCs-00030q-2D for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 11:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZyCs-0000qp-29 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 11:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dag Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Apr 2021 15:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47896 X-GNU-PR-Package: emacs Original-Received: via spool by 47896-submit@debbugs.gnu.org id=B47896.16191934883182 (code B ref 47896); Fri, 23 Apr 2021 15:59:02 +0000 Original-Received: (at 47896) by debbugs.gnu.org; 23 Apr 2021 15:58:08 +0000 Original-Received: from localhost ([127.0.0.1]:38636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZyBz-0000pG-R8 for submit@debbugs.gnu.org; Fri, 23 Apr 2021 11:58:08 -0400 Original-Received: from [216.160.0.40] (port=39889 helo=smtp.obbligato.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZyBy-0000ok-C9 for 47896@debbugs.gnu.org; Fri, 23 Apr 2021 11:58:06 -0400 Original-Received: from victor (localhost [127.0.0.1]) by smtp.obbligato.org (Postfix) with ESMTPA id 4879844F542; Fri, 23 Apr 2021 10:58:00 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=obbligato.org; s=199568; t=1619193480; bh=UvyYlHOrNy/yWHgPSFhdIiqeOEr4D2LwIKrO/yQvNa4=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=QaslbGxmtJVv5D7l3CFrzJxsRhf7yKhxLYXjYQYIBoNGeQbFM7QAzEz99576oO6Oc LqQxlNOyd9s/jmk+mmrp4fKJgbDo1mUf+jTRCbYURdgJ5ZQY4dOv4jCNXmU7b5M0tY 9HTaLDeuHf3cnHIVJaSX4oM2cspYxWGzcyuMqmNA= In-Reply-To: <87r1j2m8l0.fsf@gmx.de> X-Synology-MCP-Status: no X-Synology-Spam-Flag: no X-Synology-Spam-Status: score=0.4, required 5, TO_DN_SOME 0, __THREADED 0, RCPT_COUNT_TWO 0, HTML_MESSAGE 0.001, FREEMAIL_TO 0, RCVD_COUNT_ZERO 0, FROM_EQ_ENVFROM 0, MIME_TRACE 0, __NOT_SPOOFED 0, NO_RECEIVED -0.001, FROM_HAS_DN 0, FREEMAIL_ENVRCPT 0, TO_MATCH_ENVRCPT_ALL 0, MIME_GOOD -0.1, HTML_MISSING_CTYPE 0, MID_RHS_NOT_FQDN 0.5, __NOT_A_PERSON 0 X-Synology-Virus-Status: no 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" Xref: news.gmane.io gmane.emacs.bugs:204745 Archived-At: --6082ee88_57de58c2_52d2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On 2021-04-22 14:18, Michael Albinus wrote: > > What you could try is Tramp 2.5.0.3 from GNU ELPA. There are some fixes > in the context of remote compilation; maybe it helps you. What is the correct way to do that with use-package/straight.el to override the built-in TRAMP? I have this: (use-package tramp :straight t :config ;;(setq tramp-verbose 6) (setq tramp-default-method "ssh") ;;(setq tramp-shell-prompt-pattern "\\(?:^\\|\r\\)[^]#$%>\n]*#?[]#$%>].* *\\(^[\\[[0-9;]*[a-zA-Z] *\\)*") (setq vc-ignore-dir-regexp (format "\\(%s\\)\\|\\(%s\\)" vc-ignore-dir-regexp tramp-file-name-regexp)) ;; Honor remote PATH. (add-to-list 'tramp-remote-path 'tramp-own-remote-path) ;; Allow ssh connections to persist. ;; ;; This seems to maybe cause tramp to hang a lot. (customize- set-variable 'tramp-use-ssh-controlmaster-options nil) ;; (customize-set-variable 'tramp-use-ssh-controlmaster-options t) (if (eq window-system 'w32) ;(setq tramp-default-method "ssh") (setq tramp-d efault-method "scp") ;(setq tramp-default-method "scpx") (setq tramp-default-method "ssh")) ;;(setq tramp-default-method "ssh") ;;(tramp-change-syntax 'simplified) ;;(setq tramp-verbose 10) (autoload #'tramp-register-crypt-file-name-handler "tramp-crypt") ) The autoload I got from here to solve the tramp-crypt error: https://www.reddit.com/r/emacs/comments/l2lw7o/tramp_blocking_emacs/ Even so, tramp-version reports 2.4.5.27.2. I verified the package straight.el downloaded is 2.5.0.3. David --6082ee88_57de58c2_52d2 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
On 2021-04-22 14:18, Michael Albinus <michael.albinus=40gmx.de>= ; wrote:
What you could try is Tramp 2.5.0.3 from GNU ELPA. There are some fi=
xes
in the context of remote compilation; maybe it helps you.
<= /blockquote>
What is the correct way to do that with use-package/straight.el to o= verride the
built-in TRAMP=3F  I have this:
 
(use-package tramp
  :straight t
  :config
  ;;(setq tramp-verbose 6)
  (setq tramp-default-method =22ssh=22)
  ;;(setq tramp-shell-prompt-pattern =22=5C=5C(=3F:=5E=5C=5C=7C= =5Cr=5C=5C)=5B=5E=5D=23=24%>=5Cn=5D*=23=3F=5B=5D=23=24%>=5D.* *=5C=5C= (=5E=5B=5C=5C=5B=5B0-9;=5D*=5Ba-zA-Z=5D *=5C=5C)*=22)
 
  (setq vc-ignore-dir-regexp
        (format =22=5C=5C(%s=5C=5C)=5C=5C=7C=5C=5C= (%s=5C=5C)=22
         vc-ignore-dir-regexp
         tramp-file-name-regexp))
 
  ;; Honor remote PATH.
  (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
=
 
  ;; Allow ssh connections to persist.
  ;;
  ;; This seems to maybe cause tramp to hang a lot.
  (customize-set-variable 'tramp-use-ssh-controlmaster-options = nil)
  ;; (customize-set-variable 'tramp-use-ssh-controlmaster-optio= ns t)
 
  (if (eq window-system 'w32)
                   = ;                     ;= (setq tramp-default-method =22ssh=22)
      (setq tramp-default-method =22scp=22)
                   = ;                     ;= (setq tramp-default-method =22scpx=22)
    (setq tramp-default-method =22ssh=22))
 
  ;;(setq tramp-default-method =22ssh=22)
  ;;(tramp-change-syntax 'simplified)
  ;;(setq tramp-verbose 10)
  (autoload =23'tramp-register-crypt-file-name-handler =22tramp= -crypt=22)
  )
 
The autoload I got from here to solve the tramp-crypt error:
https://www.reddit.com/r/emacs/comments/l2lw7o/tramp=5Fblocking=5Fem= acs/
 
Even so, tramp-version reports 2.4.5.27.2.  I verified the pack= age straight.el
downloaded is 2.5.0.3.
 
David
 
--6082ee88_57de58c2_52d2--