From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#57385: 28.1.91; project-find-regexp fails over tramp Date: Fri, 26 Aug 2022 17:32:08 +0300 Message-ID: <13dc47c2-0aa4-ea4e-9ab0-da5abcf363cb@yandex.ru> References: <87a67tu0v4.fsf@gmail.com> <2e421b32-0187-4ad3-e7b0-eb6ae5049293@yandex.ru> <875yigu7y4.fsf@gmail.com> <84136a7c-1ab2-c464-e6c9-d6c3509551c0@yandex.ru> <65687c55-7363-7443-e39a-768dd2869aa7@yandex.ru> <87k06wuw8k.fsf@gmail.com> <87o7w843rx.fsf@gmx.de> <874jy0m78h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19368"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Cc: 57385@debbugs.gnu.org To: =?UTF-8?Q?Andr=C3=A9?= A. Gomes , Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 26 17:08:32 2022 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 1oRawi-0004tC-P7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Aug 2022 17:08:32 +0200 Original-Received: from localhost ([::1]:51676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRawh-0008KQ-Ou for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Aug 2022 11:08:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRaOM-0003te-UY for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2022 10:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRaOM-00079r-KI for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2022 10:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRaOM-0005P8-G2 for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2022 10:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Aug 2022 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57385 X-GNU-PR-Package: emacs Original-Received: via spool by 57385-submit@debbugs.gnu.org id=B57385.166152433820715 (code B ref 57385); Fri, 26 Aug 2022 14:33:02 +0000 Original-Received: (at 57385) by debbugs.gnu.org; 26 Aug 2022 14:32:18 +0000 Original-Received: from localhost ([127.0.0.1]:54255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaNe-0005O3-Gc for submit@debbugs.gnu.org; Fri, 26 Aug 2022 10:32:18 -0400 Original-Received: from mail-wr1-f53.google.com ([209.85.221.53]:34565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaNc-0005No-R1 for 57385@debbugs.gnu.org; Fri, 26 Aug 2022 10:32:17 -0400 Original-Received: by mail-wr1-f53.google.com with SMTP id e13so1121570wrm.1 for <57385@debbugs.gnu.org>; Fri, 26 Aug 2022 07:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc; bh=cXskpMPSBPm4ASPb1n0T69PeFDjzKfdfIZBQw/oyvcw=; b=dvbP4yaevw3gbHfoL+tI2A7f4Azl6qamzdgYqUzoHOKZVPAKNFrPXf6QBo2kamoY1H FOA6sJQRu88n1JPRUbAB0o1CClPu/x+XLHPgelzQ8dDxKuzeV3+Fv429LvDxxHmEtEAG 0SKdhlxywQ0Ikmi+6Nvk5SR3mgYEqbKbbCTcCxxW7lOTfwpo1pa2yJYEqUMOpLFNp5SR abQmCKiesWJ0kyfb+GJnUdzQfkb3l+M5UEVQER4xF/mTHaRmdCPNhdDYqjshEUkvsjOq C+XeZjrgR7a3HxNbk4hltvoUsSMsNIL6SPVLcfRqDRzSnH8ZUAr9crnHZJO3mDIJqhkc F+YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc; bh=cXskpMPSBPm4ASPb1n0T69PeFDjzKfdfIZBQw/oyvcw=; b=XmkTcefddMLNjN396xZ9l7RX/ZRyRFSQyEgcMXGQKxA1GqzPLzgCPIOaOXWG7zmsXy 8BnYFW2DM1o7IiOCxGY8XrWjPE91ARUdHr8dqDKAclIZTo7XrLn7rSkKZwB7ITBov9tp +xNYTtdBr45FaSH/WKxTlayNezZE4AZ7DEfGdpTv9lFiLKNCZ4MIUflna9Zxr+EZMFCi WqrnlSeHLsXO5FPD5OrwLNAapub502TcH/cgOZ79/gGmHlhXA7nQnSs2Qme9rhNWlFcB UoqKqNDOgcZjZHbIRa/q0fvXdvXZQetCxP0I7EsghaPIhNNf+5ncPxkGCr/DzoXEa329 0GXw== X-Gm-Message-State: ACgBeo0EfomUK64n6ZVWLqvrXNXJ9YB8QI8seZ+T/JReWygGmtBYbPsX CDYBj4jDnyNjDzG9PF1VRaM= X-Google-Smtp-Source: AA6agR5W5vxVjHMKkR32fj7yI3D3LCtGduIv49V8D7+leF1OtjlIrjaYF6kX31lqefaWYlEdHJRRkw== X-Received: by 2002:adf:da50:0:b0:223:a1f5:fa68 with SMTP id r16-20020adfda50000000b00223a1f5fa68mr4958626wrl.528.1661524330884; Fri, 26 Aug 2022 07:32:10 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id a7-20020adffac7000000b002253d162491sm2104928wrs.52.2022.08.26.07.32.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Aug 2022 07:32:10 -0700 (PDT) Content-Language: en-US In-Reply-To: <874jy0m78h.fsf@gmail.com> 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:240844 Archived-At: On 25.08.2022 22:51, André A. Gomes wrote: > Michael Albinus writes: > > Hi Michael, > >> Looks like you use the termux sshd server on Android, right? This is >> sometimes tricky; I'm discussing this configuration also in bug#57044. >> >> Could you please try it again, starting with "emacs -Q" and making your >> Tramp config manually, setting tramp-verbose to 10, and run the test? >> The resulting debug buffer might tell us more. > Indeed, termux sshd server on Android. I'll investigate this further > and get back to you. > > Dmitry, I tested project-find-regexp over Tramp with a "mundane" system > and it failed regardless. It seems I figured out why. Shell-file-name > (in xref-matches-in-files) seems to get its value from the local > machine, not from the remote one. Therefore, it can't possibly start > the grep process remotely. Any on how to fix this? Right. Michael, do you perhaps have a suggestion how xref-matches-in-files could use connection-local values for shell-file-name and shell-command-switch (when available) without losing compatibility with Emacs 26.1?