From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "shynur ." Newsgroups: gmane.emacs.bugs Subject: bug#73380: [PATCH] Enable sh-mode when used by Bash fc Date: Fri, 20 Sep 2024 12:27:44 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_002_BY5PR11MB39258C2C0407E165F80AD947D76C2BY5PR11MB3925namp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33516"; mail-complaints-to="usenet@ciao.gmane.io" To: 73380@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 20 14:28:58 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 1srcks-0008Tr-2Q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Sep 2024 14:28:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srckj-0007Kf-OL; Fri, 20 Sep 2024 08:28:49 -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 1srcke-0007KN-EK for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 08:28:45 -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 1srcke-0004EF-5X for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 08:28:44 -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=+YGOYix4bzSE46nhh7XSlzdvXN3PAkx25lpk38nGIZE=; b=n1dNxzXlah1thFdfGHbQWRRSNCYq7ITa0DGEUFl6sIYnLr/gemIXFLL30dFKoMbafWgZGKKgVXrQzSU8ByNqoYGB1FO9cEHDb5NJXS78PeaBIyjeEKCL8m1Rz3fhl5E5foyhssfEQvhPA3k1z9w4X6PxmCMYZjAna+pvyRpCL0YBMOfnvLKi1OFki1NS3Z87e+MWZaLUhBErkdFW4+bhHTSSuZiU9ab2jXaQqpl78xwl+rmkl9ZRuquc4UOeHxIKJErq1Z9ADPH4JN+4/ozbL5E4H+rX5t0dDzXCuhbpGlUMAWqCFTnDZFSK0RD8qcGhPWpMbhKMW2MJuj+oZtrlpA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srckw-0007Wb-Lm for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 08:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "shynur ." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2024 12:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73380 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.172683529328852 (code B ref -1); Fri, 20 Sep 2024 12:29:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Sep 2024 12:28:13 +0000 Original-Received: from localhost ([127.0.0.1]:34309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srck8-0007VG-KF for submit@debbugs.gnu.org; Fri, 20 Sep 2024 08:28:12 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srck4-0007V5-FB for submit@debbugs.gnu.org; Fri, 20 Sep 2024 08:28:11 -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 1srcjl-0007EV-6I for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 08:27:49 -0400 Original-Received: from mail-bn7nam10olkn2080d.outbound.protection.outlook.com ([2a01:111:f403:2804::80d] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srcjj-00045j-Jp for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 08:27:48 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=K+zaj/cwXHEqtastxQEOP5RHHixuoly9TpfkFDOwXhGf+jmzHNIIAFXXQP9Dpo8XcIrl47ZrYYOnkWeuhkobIIewMgoxJ6g4Hb8oViBAdo0PvCxkKMfENr2ssQJY6qPj7oieG2iYi70YIgYDLT5RtyIsvC/lLaSoimz4yitHosh7KC23gtKAndCkZVx2LUbhhofArpzMVkU1113lYTVGdaM5zAOqpxV6/dcDEkrtT3C52MBRB+nm6Ellj+kInRVIlJkJPgwEWLt+IwksclQjxiOTAKxyCjKF0StbM9nct0+rt3I1eafK66lpq/ECJQ/PGMr5VTgCoLFa8jXaY91qUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+YGOYix4bzSE46nhh7XSlzdvXN3PAkx25lpk38nGIZE=; b=eH6FIWhwrKFfzt9oYvL3beZGmsGsWoxXRFuxWKKhjdRMgCQ/9W/jcdmXV/uVHZ8fU6WPnj+GSGQMsyW2+9qnWIbSVnywYFYLcqYbUepW+gjVdQkHHhIXnwKxZGN2JJaU6yHKR4TS0sdKXcK1y2K54uCmImRX4K7hnAYdLscQ+79sxKNPgFCVg37wKTrp8nvIHHyualfP/5FdlKCu6DdoFangj7O94CHo5qhNs602rNSDsQl6EmI6Mv2WhrSc6VY/SbODCUatWUJs1u+xkY6pYDOuZVCMNRZ1MTg29nRIktmP9Zk5WvtoA/CPbH9U3ulSm0IEyHa4wQaoV0B5U0aq6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+YGOYix4bzSE46nhh7XSlzdvXN3PAkx25lpk38nGIZE=; b=oIkNYACZVMjjeJEboQocOoiU3K5+y6BThVYWtdaUj8y3muTlHMqkVVZf8/9WCC2dxo0P8T2NtNuVbmZxS8ClcNv7Wy+B2NKGvMzLyfSPgHczr2I7JMVa3ZPFMcUFdDk+xJ/k44UFRuerd9300EmKKbD655RrPQwtCPseVTzGG1/d/MssL7xBAzaUK7gVRwmQegypNepHNgXuy3T2YQPDZRdQy4bMTW2NefRHQWN+Ian0cfPAqmMuIZX3uYuWoS9JbrkjQ5fMhYP5A8xyGmqjOMyZcveWpsgKXaO38xmiXo1Qj4ZLmB95CYDgTGMjQ/j+GNG8K8RWFpKxC669C07lVw== Original-Received: from BY5PR11MB3925.namprd11.prod.outlook.com (2603:10b6:a03:182::26) by SA1PR11MB8574.namprd11.prod.outlook.com (2603:10b6:806:3b1::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.23; Fri, 20 Sep 2024 12:27:45 +0000 Original-Received: from BY5PR11MB3925.namprd11.prod.outlook.com ([fe80::e939:ea6:fe6b:8339]) by BY5PR11MB3925.namprd11.prod.outlook.com ([fe80::e939:ea6:fe6b:8339%5]) with mapi id 15.20.7982.018; Fri, 20 Sep 2024 12:27:45 +0000 Thread-Topic: [PATCH] Enable sh-mode when used by Bash fc Thread-Index: AQHbC1e740YnLPT1SkW70irw71ssUA== Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: yes x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY5PR11MB3925:EE_|SA1PR11MB8574:EE_ x-ms-office365-filtering-correlation-id: 09d600e2-0dda-4858-cbe1-08dcd96fa126 x-microsoft-antispam: BCL:0; ARA:14566002|19110799003|15080799006|461199028|15030799003|7092599003|8060799006|6092099012|13095399003|102099032|3412199025|440099028; x-microsoft-antispam-message-info: 7RCMa+0B05BaM4iXee/6d20j5uacu40ps0AvkcxhVmDlPThJAI31NnkpEXkaKsDwE7Z4w4f69c6HyGHD8iF+w3yNM0gLFmB2T+B+P/Qr3+Fr+iDf2Ib2ub6zC0XdrfytAvsqtZDxx9TBDUbQ8AFO4BICm/ZA4UeHgCq5rxLJu2gUkwjXmMUMNpPkFSKFWzLaN0JXq2Eu6G+gJ/WEZ1qKCWiGQni/eRa4rmVHXK49U65eHuvPGuy19rqoXAd6bl02qddUPvOG/e+oU1SKYNyG032q1ElyALNFZQuolAkizAwVRsGlgPDQKQdj8t3smDfPiZptYlcEZwDBX6DpMucb4tNlWDD4DbVBslCiIVlOy873TkQAc1pjfrSCeN3i/xkTnS41kRym0aa2sN7H4fovcxJ/yCIRIkexxwbaZenCWwS/VWrU4v9bNDunxHNj+WQvRqteVJw929BVt2Basxr1IwMUH7riTPtNtKh6yHzWJsRynJR3TvhoKxGXczoTFDTl6i+cZs2S6ltuaRWs7bY80Wj5WhDI3JWWR9BPBbMy6nMsS74IZavKL7djdO8EZLWhpSKj5fpW3xiIt/Ho5uUsMCAoIecE+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6Mrb4KaMh2wRsHJ6AYYqYI/DIYC1NUJiN9kYWN+Yn+DnUFSxOE6/+vtZ/5Gj+nOpmT1/ X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB3925.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 09d600e2-0dda-4858-cbe1-08dcd96fa126 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2024 12:27:44.8019 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB8574 Received-SPF: pass client-ip=2a01:111:f403:2804::80d; envelope-from=one.last.kiss@outlook.com; helo=NAM10-BN7-obe.outbound.protection.outlook.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, 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:292110 Archived-At: --_002_BY5PR11MB39258C2C0407E165F80AD947D76C2BY5PR11MB3925namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable See the added comment in the patch.=0A= =0A= The parent directory of "bash-fc.XXXXXX" cannot be determined. It=0A= varies from different environments.=0A= =0A= Perhaps Bash will fix this bug in the future (i.e., add a meaningful=0A= suffix e.g. ".bash" to "bash-fc.XXXXXX") so that no special handling=0A= is necessary. I don't know...= --_002_BY5PR11MB39258C2C0407E165F80AD947D76C2BY5PR11MB3925namp_ Content-Type: application/octet-stream; name="0001-Enable-sh-mode-when-used-by-Bash-fc.patch" Content-Description: 0001-Enable-sh-mode-when-used-by-Bash-fc.patch Content-Disposition: attachment; filename="0001-Enable-sh-mode-when-used-by-Bash-fc.patch"; size=1046; creation-date="Fri, 20 Sep 2024 12:22:17 GMT"; modification-date="Fri, 20 Sep 2024 12:22:17 GMT" Content-Transfer-Encoding: base64 RnJvbSA2YTg1ZDQ2MWMxMTUyYzgxYzM1MjYwMGY3MTJlMWM5YjE2OWJjZGI0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBzaHludXIgPG9uZS5sYXN0Lmtpc3NAb3V0bG9vay5jb20+CkRh dGU6IEZyaSwgMjAgU2VwIDIwMjQgMTI6MTU6MDYgKzAwMDAKU3ViamVjdDogW1BBVENIXSBFbmFi bGUgc2gtbW9kZSB3aGVuIHVzZWQgYnkgQmFzaCBmYwoKLS0tCiBsaXNwL2ZpbGVzLmVsIHwgMyAr KysKIDEgZmlsZSBjaGFuZ2VkLCAzIGluc2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9saXNwL2Zp bGVzLmVsIGIvbGlzcC9maWxlcy5lbAppbmRleCA2Y2JiMWI1Li5jOGFkMjUwIDEwMDY0NAotLS0g YS9saXNwL2ZpbGVzLmVsCisrKyBiL2xpc3AvZmlsZXMuZWwKQEAgLTI5OTAsNiArMjk5MCw5IEBA IHNpb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