GNU bug report logs - #49596
28.0.50; shadowfile.el: `shadow-define-literal-group' is broken

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Max Brieiev <max.brieiev@HIDDEN>; dated Fri, 16 Jul 2021 13:50:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 49596 <at> debbugs.gnu.org:


Received: (at 49596) by debbugs.gnu.org; 19 Jul 2021 15:34:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 19 11:34:48 2021
Received: from localhost ([127.0.0.1]:59922 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m5VI8-0005J7-No
	for submit <at> debbugs.gnu.org; Mon, 19 Jul 2021 11:34:48 -0400
Received: from mail-wm1-f51.google.com ([209.85.128.51]:45045)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <max.brieiev@HIDDEN>) id 1m5VI7-0005Iu-46
 for 49596 <at> debbugs.gnu.org; Mon, 19 Jul 2021 11:34:47 -0400
Received: by mail-wm1-f51.google.com with SMTP id
 f10-20020a05600c4e8ab029023e8d74d693so256355wmq.3
 for <49596 <at> debbugs.gnu.org>; Mon, 19 Jul 2021 08:34:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=wB3rvtNgzV0k4GygRb6UnN3llnVD0lt674Oix0aJbgw=;
 b=nh94MDKHrM2nR42CZxrf0qCqh50UqvP+8jts/+GcR4s4GZs5qGyRvHi2tnXL07oUrl
 DzYaXAV/Je8dBEOaWjnBobcq4obcoOakOeDeN3hf/+lWQLvEhKo8ARwMurFqMdBoScJV
 vpQLgYHyQCFizgN+QKynogbIf16i6p764hOKGqSOqgAoD0/BOzkW6w96hCizggzPapOx
 WMK5dar4Le26w/4oE2SZzLXyTKjvjoCP31nSCIzv5dSrZ9U5B61md1lt9bS6stXDl037
 poGdibXyIpfqIdk9vo6N/rrlMhGKK8nGRGtZZcXqC026w30O/euB5NrBi8jDYgNKaz7p
 JQhg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=wB3rvtNgzV0k4GygRb6UnN3llnVD0lt674Oix0aJbgw=;
 b=lb1vExXYIkJ1SyI2olNTndBPT3Entl194sVOLVfjGUkABFektd28XNHclzz4mJTGz/
 zVJmIJB024C/1l4JHM3U2ivWkYK1wSDY4GrydKfbbN6l7Cv1HDa6WwwNuZJY0HYU+DwP
 +qJ9F9AUkwKEbAmeZHdYpeP7Ec0yxwnSSRBtBKx4YtUYjIdX3uGOzStyyNJ025yxxjfY
 OP+Ecg0tGdthw0sYPQHyYeE7/5EN13TCZ1DR8agaJjjJUxsP9wMrICduVXRx40juJErz
 hkSbipw72/6E+b/W/1Vj2lM7snq8gf0BW9QL83k3oE89JlbHi+z5LFte0ymCyjqRickf
 NwCA==
X-Gm-Message-State: AOAM531QdT4qmWN8PIGKE4PQIxwAG+GZ+mlBrHdf7BCWAfD7Zo/IGXXd
 u6InIPw84rgouuAPzDdSPQ4isA6r0+9BsQ==
X-Google-Smtp-Source: ABdhPJylEWxFuhvJ+Gca8YdMpxKvx9P2SzVqZozMcGGtxDq2mQMbHzAmBj9+LLqjmgmIgI9CL+qGDA==
X-Received: by 2002:a7b:c452:: with SMTP id l18mr32444838wmi.164.1626708880898; 
 Mon, 19 Jul 2021 08:34:40 -0700 (PDT)
Received: from arch-max ([109.251.233.9])
 by smtp.gmail.com with ESMTPSA id j3sm13669510wms.30.2021.07.19.08.34.39
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 19 Jul 2021 08:34:40 -0700 (PDT)
From: Max Brieiev <max.brieiev@HIDDEN>
To: Michael Albinus <michael.albinus@HIDDEN>
Subject: Re: bug#49596: 28.0.50; shadowfile.el:
 `shadow-define-literal-group' is broken
References: <87a6mmv064.fsf@HIDDEN> <87a6ml2k14.fsf@HIDDEN>
 <875yx73emp.fsf@HIDDEN>
Date: Mon, 19 Jul 2021 18:34:33 +0300
In-Reply-To: <875yx73emp.fsf@HIDDEN> (Michael Albinus's message of "Sun, 18
 Jul 2021 16:01:18 +0200")
Message-ID: <87im16iagm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49596
Cc: 49596 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Michael,

> Pls report whether everything works fine now for you; I haven't tested
> multi-hop remote files.

Now the command adds an extra slash to the file path:

("/ssh:user@host|ssh:root@other:~//foo.el")
--------------------------------^^^--------




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49596; Package emacs. Full text available.

Message received at 49596 <at> debbugs.gnu.org:


Received: (at 49596) by debbugs.gnu.org; 18 Jul 2021 14:01:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 18 10:01:29 2021
Received: from localhost ([127.0.0.1]:56664 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m57MG-0001lk-U7
	for submit <at> debbugs.gnu.org; Sun, 18 Jul 2021 10:01:29 -0400
Received: from mout.gmx.net ([212.227.15.19]:32965)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1m57ME-0001lX-Hk
 for 49596 <at> debbugs.gnu.org; Sun, 18 Jul 2021 10:01:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1626616879;
 bh=WfuDog9cu+J1K86yv6cBrGwDo6Va6T3iJQvJSvtVPHM=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=i2O1zUCJqznOfuNo3bd+A5hgRCEOX4B9qnfz7lpnsn1eNvWmMePQqqGsuggtBT4zU
 9tlKjXWqC/XO8TjeOKJygN+h3Gudrwwu0EncqhfJ6kQesT7m38PTnLc/IcOBb1Cnby
 cwsi4Xi92CnZuy1MCUOdsEdL2Y7UUE10Sljf14lo=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from gandalf.gmx.de ([79.140.118.123]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MDysg-1lvBBj27s4-009vwM; Sun, 18
 Jul 2021 16:01:19 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Max Brieiev <max.brieiev@HIDDEN>
Subject: Re: bug#49596: 28.0.50; shadowfile.el:
 `shadow-define-literal-group' is broken
References: <87a6mmv064.fsf@HIDDEN> <87a6ml2k14.fsf@HIDDEN>
Date: Sun, 18 Jul 2021 16:01:18 +0200
In-Reply-To: <87a6ml2k14.fsf@HIDDEN> (Michael Albinus's message of "Sat, 17
 Jul 2021 14:37:43 +0200")
Message-ID: <875yx73emp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:hvqYFnRmOqPB74UCimgQgToblEqvZg8m1ve6EvjRJvmx1xAG2pm
 IEAXjYBPmCsMBbBhw/QVDRN0Vgi5NvtrNUxDlXhjFuMScKoIjEdUykJKBLeeFAV1e7ZJUmS
 FuSLVP3yRUktpGIpyzMgUNbjyDo+jZHim4TedizO9Hz9MZtbLNxEZYLgCXHMWO+lSnMKDOC
 afJfFMOr3CU5lT4orUvDQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:m6jRUgHQoDM=:/JnZlIAohZ8wjco2baPY3I
 LdEx+zk2R3sDwh6Bm+oaI+6qEa4kE8ucWfwMqq+PW2+9WrBlkkP67A2H+NFQqZCqmQijOrUvF
 T3JqdyfavfC70iEhyeTlL9QOLRVkSwIymr4LKeic0FcEe45VY8SUIz39f6wf5J4PS8sM8Nvz6
 6ISXRdpObPpZPG1r7solcCWIROUB9G5WuhH1SYH30G8U/MqzgRXeVTEpS6WXPVCD1iOxdtphQ
 4NTRZ0ihmMiNnbPrAPua27oVSjJ84kI9fk8nvsb1ZlJOLClrYfVuOz1PjQLZB1Auc8s0fInIg
 xOexc0VLKBaPNDFK2jwW43tXpUwJArvLtzm2Ec4toxzhZo4Lb3LfgAd7dQ6+xv8npklS4E2Cb
 14eAYDg+2ufLk8yiSrWVk7suPDle02lQ4MOqQC+2Pjm/D/Fmxx2pCZCGKPqm0QqjWjlo9HTK2
 h/zE+o7yGhTt9AZhiMN+F2Hz83x6eMwMPM+cz/QtQYmtW5K+ERuOwO9YUBq8fYwOdF58oUMFw
 xaZkkHz0Y/mLQuYKlq3rJeWcSyb1ww6USFdkCA7o5y58kzJ76hnJWd6fzVwpqM/lQPkJBanVA
 GmxMU3QDrDqxKCrI8DHkga00t7RRaDfDutX6yYoU7/TEznk7oBLcyTEpZh7xFpzXAVkFY+75T
 8+Hcd5jSaszKw1GAVArDik0dw6LBvTxDePrCKS2l44ueHL/LSu6I/g02heEW0dn0JpGAGKoHC
 oicmSKUGLO5J89Vwqvm3kIcylshPdZwDEr1WtnxuI+5SE+pkj1QPwkeDeyy+Spa/0ThkYczkJ
 QH0Kt73Q9Cg65koGLritAYPw+sXjkon0R/rzzhTn5TGSDXxtw60Cq6rzd/Ru7XYOcdFqC01K8
 eyJwRHuUZdGDQyL0GSjmFcSXN+1AJg7W1fFz5u5yvvFHECX29yvAB6jFbixaqZLO2zAcQUraz
 EGnIp6sXDp95Yd+3D0R+z5YVUEoWxZEoQS7srPIWrN/ljzowqEsNGoZGKg5fwER42cnTqWhdx
 7egCui8FK3WnXMyCtQ36i/wPFPU2xl8+Vge/003FVM6m2ucDV9uW5qB70OkM9pWOx2I90ZcTd
 eRDlucEnvseGa/dqy6e7tc1gbxh2BAvm3UMtDHRqGfo4lWrD5RcnK5/xA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 49596
Cc: 49596 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Michael Albinus <michael.albinus@HIDDEN> writes:

Hi Max,

>> The following command:
>>
>> M-x shadow-define-literal-group RET
>> /ssh:user@host|ssh:root@otherhost: RET
>> ~/foo.el RET RET
>>
>> produces the wrong value of `shadow-literal-groups':
>>
>> ("//ssh:user@host|ssh:root@otherhost::~/foo.el")
>>
>> This is incorrect tramp file name, it has an extra //...:: wrapping
>> around connection details.
>
> Thanks for the report, I confirm the problem. Surprisingly, it isn't
> easy to fix. I'll work on this.

Should be fixed now in master. I've extended also the test
shadow-test06-literal-groups in order to cover the problem, and to
ensure it keeps fixed in the future.

Pls report whether everything works fine now for you; I haven't tested
multi-hop remote files.

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49596; Package emacs. Full text available.

Message received at 49596 <at> debbugs.gnu.org:


Received: (at 49596) by debbugs.gnu.org; 17 Jul 2021 12:37:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 17 08:37:55 2021
Received: from localhost ([127.0.0.1]:52930 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m4jZr-0005WT-7f
	for submit <at> debbugs.gnu.org; Sat, 17 Jul 2021 08:37:55 -0400
Received: from mout.gmx.net ([212.227.15.15]:41985)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1m4jZo-0005WE-4i
 for 49596 <at> debbugs.gnu.org; Sat, 17 Jul 2021 08:37:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1626525465;
 bh=a5HWG8eiSaUEhxA4wY8leBBmRZViu0Rj39l0xCzL3UE=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=AMcUzfTBmzAMFypacQQQQxYIMhBiG8uZPWplay0GTPB+pTbuoP1MFoOGiGe8UO1RV
 rTlgf2tBHvQEQFudtJB1J+ssoUCX1m9x3GAgBiztsGjbsPyQBN85KCxmhHjVXk1W2W
 eHPERRk95RqWDV3ekuqAyEDiEcTYA5iYFZZ1LMc4=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from gandalf.gmx.de ([212.91.249.3]) by mail.gmx.net (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MVeMA-1lfOhg3qya-00Rd7r; Sat, 17
 Jul 2021 14:37:45 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Max Brieiev <max.brieiev@HIDDEN>
Subject: Re: bug#49596: 28.0.50; shadowfile.el:
 `shadow-define-literal-group' is broken
References: <87a6mmv064.fsf@HIDDEN>
Date: Sat, 17 Jul 2021 14:37:43 +0200
In-Reply-To: <87a6mmv064.fsf@HIDDEN> (Max Brieiev's message of "Fri, 16 Jul
 2021 16:49:23 +0300")
Message-ID: <87a6ml2k14.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:zvHNpPIXuhoeTWijGAFwjNAZAg7kCXy0CMo0bTsql1qpSF6QjZQ
 yrnxB5P7V95CXpvRPmZfZhI/jC4+GcSPA7WPwwc0c5D17c0qSAFHxmxYWfQgVO+sijc4qYZ
 5UABgbzO0fZ9FT5f0eUJfRivuUXEzir7RLr9OUzooOwL8q1TB7gbrEvCs97cC3f9NcJ3F20
 HzwqHCh/haaitT15eIW7w==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:2ihQl4IaxCM=:Ew1vQe2URPEHpNKjxfpveF
 3qJJe5SU2EWD571bmw/5ulTuLXYnyGHfKjdMegm47PVQ6solalkWx6aDStI77rhNFQAQ/emGK
 7RViesAUdRQtFCwV9VZWP6Cxwq7PHcxDdGaeAWrj3g/H/dS2vmJ24ZPQSbtM8zl9EciL7qzLL
 79/7io1/xgR1MnensRlK/M2v2XJC9KL+0c4+v1NB0rNVjs+iIY3mgSUe5wjwLCHQhuXHKc6y0
 UMH4KyjpmOOUDNajchMDnaXo/dehcGDNEuXcM2kcrmUZ0iFjDE6UwCodHU2WaJeopHjuei0iU
 Y7OpUZo5SerjlXSF/UCa0my3/rWgqZ6HrbtXOEy35FVOHHGsvDjziryjLGQnag8hzW66xC8wO
 GptaTX2CPzmkhd7xFSp52rXDvTgqXw/9wHkh/Z0JQGHPblImjJt7v7dbh3rMXKr766Q1ZbQcM
 nw5I8WK1kKd9mAhvCMgHKF3plh0qwvzQsim+/69xcsvAG09S3zS4c8HgRK8secw9mkHFfTqJR
 cQiqtKOEQxfzXEbzIAZKl0EvL6OYRBSZGOFA1HJ+/NotBFeF+FJmh+kUPLrS9pjvrrzo4oqD6
 J+j+gFowD/IZnK2f+rRAyXRDK00X29jHZDOQgLbe99oqXJhfs09QNGa3xuKFP/SqvXQnTax88
 Cw6oMC7uK2hnHUqF6x+cRX0hibYpQkaL/MHzrYSx8epl0A6JgnxuL1ZZmTIGCiip0XfuZCecE
 oT8N+kgY8CzDHrm5nrl5/wxnZZ07aRaP9ZwDXtEuErcA/IzGiewrOpyPRvaMVk18gsA6V1rPZ
 BeErGYQN3Uju74K+aAd1tv84Sve3xZwLm9mJG4TLsZBueoTUchYQjaqOJQryNTriqKiCwS2XW
 USzc50EwEaQkdlfbnpGtLEFrB4ec0YyxYij4LFrwBLbnCmIyIc0v50vAcqNhCuNClVeWGDWcL
 0thG2OclMtIlDyA1py2OHsWS3l9YDlWRrMebrX37NACxQJNz0jxxwq4YZRn4YwRItEQM7LofU
 ibx+lMYV6E0V0M8fD8ythFiGjXz9TbkdFWXOgcW2TTMU4o6Kw8I4YL4/vvSqxksWAd9NKBDr6
 q4+tZYUpmLgMoZVZzAKLRv2kdXQ3VBYZrulJTDDiQ2v5l6VWgt3QaIJXw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49596
Cc: 49596 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Max Brieiev <max.brieiev@HIDDEN> writes:

Hi Max,

> The following command:
>
> M-x shadow-define-literal-group RET
> /ssh:user@host|ssh:root@otherhost: RET
> ~/foo.el RET RET
>
> produces the wrong value of `shadow-literal-groups':
>
> ("//ssh:user@host|ssh:root@otherhost::~/foo.el")
>
> This is incorrect tramp file name, it has an extra //...:: wrapping
> around connection details.

Thanks for the report, I confirm the problem. Surprisingly, it isn't
easy to fix. I'll work on this.

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49596; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Jul 2021 13:49:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 16 09:49:38 2021
Received: from localhost ([127.0.0.1]:50931 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m4ODh-0003gE-UH
	for submit <at> debbugs.gnu.org; Fri, 16 Jul 2021 09:49:38 -0400
Received: from lists.gnu.org ([209.51.188.17]:40356)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <max.brieiev@HIDDEN>) id 1m4ODe-0003g3-EF
 for submit <at> debbugs.gnu.org; Fri, 16 Jul 2021 09:49:36 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40920)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <max.brieiev@HIDDEN>)
 id 1m4ODd-0001kZ-Nz
 for bug-gnu-emacs@HIDDEN; Fri, 16 Jul 2021 09:49:34 -0400
Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:36713)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <max.brieiev@HIDDEN>)
 id 1m4ODb-0008Oa-Ha
 for bug-gnu-emacs@HIDDEN; Fri, 16 Jul 2021 09:49:33 -0400
Received: by mail-lj1-x22d.google.com with SMTP id a6so14165725ljq.3
 for <bug-gnu-emacs@HIDDEN>; Fri, 16 Jul 2021 06:49:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=CWq/YyofAcMImiZ9dY1HajatYsfo27XCHxtQWLsWzYY=;
 b=le1TW9b95gYGz9M/6suH50ueBpvBAEkI3cGoXc/q6gfBUl3/JMw01OwEaraGCbeo64
 vhf3JBEFWNoEYB/TcoS510gvl6SgP6gOBZU7MxVDJUMjhm3dI3XTgiwx6nviLzsV70cW
 01pcQaLLL/Sr802802TEg0ATt46ty96UmPm2CqKJg05JeO4MJSp38bkX+Lw7LPRw1Myy
 z9/72t+jBtz0eeWW6hyfK4W0GANcdrB0HqnSThW+5L+Iz4/a1BOoOJhnpgbO1GUUuENC
 CBFtvhSo7aPTVH7aff8pKs8ala8nArBPf9vxIMEuid/psRpbGJJJN9DsyLg6ohuvfwk3
 bybQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=CWq/YyofAcMImiZ9dY1HajatYsfo27XCHxtQWLsWzYY=;
 b=frl3u6pMIvL9Jd5xaEtLXFbCG3xIa4k9LXwfmPmMJcJaHOJ6dbkjSB+kqe0CfdWSsZ
 K6Mnd96hVE2bMcYr6SXz57/LiEeSq6k529OGWAiVWcX+iHJ4G5Cld5L22zzvSA5LPzfs
 LPu1qt1MVdkdimRguuZFAF0B+Fsgr93n2D+G84MGmgPuSwXsDYtF25LEJgJ7fmxSS3yr
 gJbU24bOPx/dJ5SclYue5Cib3777Flusi4EEbch50bEvaAKtwB6kvA4kJXM667XKwLiZ
 5ubBGlxLUJSfI3JMSw5YEJcgCvqQ+D68paQbFptvtG5CtZd8n7aZziwyKwlQo3Dxc5/h
 5C3A==
X-Gm-Message-State: AOAM533G22EwUEFb8cCDD+WG2TpGVq2opwru/Tp7wmgb3N3hsaxlPPnY
 atq1uiBsfz3qTCjm6G28B3OByNMUDb+NU9cd
X-Google-Smtp-Source: ABdhPJx/WCgyOIRgJpqxNP46ioVLbr4qgcQWKGzFQccZSETtsYAzfuTPcPVbiACm41AT7DhHMYQKdw==
X-Received: by 2002:a2e:a883:: with SMTP id m3mr3598018ljq.443.1626443368773; 
 Fri, 16 Jul 2021 06:49:28 -0700 (PDT)
Received: from arch-max (host-176-37-1-68.b025.la.net.ua. [176.37.1.68])
 by smtp.gmail.com with ESMTPSA id f23sm984992ljn.98.2021.07.16.06.49.28
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 16 Jul 2021 06:49:28 -0700 (PDT)
From: Max Brieiev <max.brieiev@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; shadowfile.el: `shadow-define-literal-group' is broken
Date: Fri, 16 Jul 2021 16:49:23 +0300
Message-ID: <87a6mmv064.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::22d;
 envelope-from=max.brieiev@HIDDEN; helo=mail-lj1-x22d.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,
 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-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


The following command:

M-x shadow-define-literal-group RET
/ssh:user@host|ssh:root@otherhost: RET
~/foo.el RET RET

produces the wrong value of `shadow-literal-groups':

("//ssh:user@host|ssh:root@otherhost::~/foo.el")

This is incorrect tramp file name, it has an extra //...:: wrapping
around connection details.

In GNU Emacs 28.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.17.4)
 of 2021-07-05 built on arch-max
Repository revision: 8028153ec8bb98855233a64833a596b5dce404f4
Repository branch: makepkg
Windowing system distributor 'System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-sound=alsa --with-modules --without-gconf --without-gsettings
 --with-pgtk --enable-link-time-optimization --with-native-compilation
 --with-x-toolkit=gtk3 --without-xaw3d --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection -flto -fuse-linker-plugin
 -flto -fuse-linker-plugin'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2
LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PGTK PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3
ZLIB

Important settings:
  value of $LC_MESSAGES: 
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: ELisp/l

Minor modes in effect:
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  show-paren-mode: t
  global-company-mode: t
  company-mode: t
  display-battery-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  marginalia-mode: t
  savehist-mode: t
  vertico-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-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
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/max/.emacs.d/elpa/transient-20210701.1116/transient hides /usr/share/emacs/28.0.50/lisp/transient

Features:
(shadow sort mail-extr emacsbug sendmail tramp-adb tramp-archive
tramp-cmds tramp-ftp tramp-gvfs magit-extras goto-addr magit-patch
magit-subtree magit-ediff ediff ediff-merg ediff-mult ediff-wind
ediff-diff ediff-help ediff-init ediff-util face-remap embark-consult
embark loadhist edebug debug backtrace misearch multi-isearch
bug-reference pulse vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs
vc-rcs vc consult-vertico consult magit-bookmark bookmark shortdoc ffap
pp cl-print magit-submodule magit-obsolete magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
which-func magit-diff smerge-mode diff git-commit log-edit pcvs-util
add-log magit-core magit-autorevert autorevert filenotify magit-margin
magit-transient magit-process with-editor server magit-mode transient
comp comp-cstr warnings magit-git magit-section magit-utils crm dash
vc-git diff-mode vc-dispatcher js imenu cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs help-fns
radix-tree shadowfile dired-aux rx mule-util cursor-sensor
company-oddmuse company-keywords company-etags etags fileloop xref
project company-gtags company-dabbrev-code company-dabbrev company-files
company-clang company-capf company-cmake company-semantic
company-template company-bbdb org-element avl-tree generator ol-w3m
ol-rmail ol-mhe ol-irc ol-info org-habit org-agenda org-refile ol-gnus
nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu
mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo
gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc
nnoo gnus-spec gnus-int gnus-range message rmc rfc822 mml mml-sec epa
derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader gnus-win ol-eww eww xdg url-queue
thingatpt shr kinsoku svg dom puny mm-url ol-docview doc-view jka-compr
image-mode exif dired dired-loaddefs ol-bibtex bibtex ol-bbdb
solarized-light-high-contrast-theme solarized-palettes solarized
solarized-faces color yasnippet quail paren gnus nnheader gnus-util
rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search
mail-utils mm-util mail-prsvr company pcase battery dbus xml tramp-sh
docker-tramp tramp-cache tramp tramp-loaddefs trampver tramp-integration
files-x tramp-compat shell parse-time iso8601 ls-lisp recentf
tree-widget wid-edit cus-load ob-typescript org ob ob-tangle ob-ref
ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint
org-pcomplete pcomplete comint ansi-color ring org-list org-faces
org-entities time-date noutline outline org-version ob-emacs-lisp
ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs
format-spec find-func cal-menu calendar cal-loaddefs marginalia edmacro
kmacro savehist vertico orderless web-mode advice disp-table cl-extra
help-mode use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key easy-mmode
use-package-core info package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-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 cl-generic 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 charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify dynamic-setting font-render-setting cairo move-toolbar gtk
x-toolkit pgtk lcms2 multi-tty make-network-process native-compile
emacs)

Memory information:
((conses 16 678389 73007)
 (symbols 48 39894 0)
 (strings 32 163496 8895)
 (string-bytes 1 6805995)
 (vectors 16 77462)
 (vector-slots 8 1942308 188779)
 (floats 8 646 523)
 (intervals 56 12549 97)
 (buffers 992 33))




Acknowledgement sent to Max Brieiev <max.brieiev@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#49596; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 19 Jul 2021 15:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.