From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anders Munch Newsgroups: gmane.emacs.bugs Subject: bug#58835: 28.1; try-complete-file-name-partially modifies text before point Date: Fri, 28 Oct 2022 14:32:47 +0000 Message-ID: References: <83czacjdco.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21763"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "58835@debbugs.gnu.org" <58835@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 29 07:20:26 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 1ooeGf-0005Tb-UL for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Oct 2022 07:20:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooeEh-0000CY-Fo; Sat, 29 Oct 2022 01:18:23 -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 1oodDV-0006r6-9A for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 00:13:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oodDV-00065y-1G for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 00:13:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oodDU-00056O-TC for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 00:13:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Anders Munch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2022 04:13:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58835 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix notabug Original-Received: via spool by 58835-submit@debbugs.gnu.org id=B58835.166701674419503 (code B ref 58835); Sat, 29 Oct 2022 04:13:04 +0000 Original-Received: (at 58835) by debbugs.gnu.org; 29 Oct 2022 04:12:24 +0000 Original-Received: from localhost ([127.0.0.1]:34718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oodCp-00054T-CK for submit@debbugs.gnu.org; Sat, 29 Oct 2022 00:12:24 -0400 Original-Received: from mail-eopbgr20077.outbound.protection.outlook.com ([40.107.2.77]:15687 helo=EUR02-VE1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooQPm-0003AB-FH for 58835@debbugs.gnu.org; Fri, 28 Oct 2022 10:32:57 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dkPfcehLlAhFFaLRN6Hk2Z0QQuhHRtZUtEDwqHAHzbqrm1cO4F9THA46eBSQ3lFFrwm+CAFSgM3o0rs+YoduR5ulnEc+IYIxZNNDRsQclX7j2AftaY9B0jqM1txWi0rdV7wTsg2Xc9TdXrWQNkP8LFPukvUlinZElzHqmLKbNw3DZ+EFtifpoOVnWuV3rV0nwm/AhO0XXoaHmWrOngqXKuTJyPaKZ+1rigRwolSKBGVPIj3StyTtReLwJ8pzNF9IDwB1uaAP+xU3g2YckVKf7xpjj0aUlDYzYugyyjFvPtpFsfdTuvsGj7Jxe40mqQCQx4KG4E8Kif0FcF0CIyevhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=73e537n96WqhkL1hY0ler6vzZsrnPQpsXlQWZxhuc50=; b=SMnXyHJJ+DRWHed02n9poaiZgte1ptCz7GB0gmvh09L5k0G4ucAmh8Tp5NA+oPmXzW1t0jth1R6pQZD0xsfxePcZgFxmEZn+NaHkGQWyCOKAO7ovvgbDn+8P//N6vb1ZDPPlFcDIZNV/aFUCIEIzmBA+pZ5boG2bayw/laTp/E3y+9T8Gq27sWJObjTbQOoUuTzY6J3f3TRvQfd2Wb6Qiv9b4/Q9m+nUD02jYDzXZBQyfJbNDzU77RSHv63FDZHj7G2kErqvF6Skq/6b0He8CFZxxRMsYy/A7Nzy/ZFWMd6MHepqLpEp0MHU+ijaImZQrzjEOzqgDnrlbBB07IIluQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=flonidan.dk; dmarc=pass action=none header.from=flonidan.dk; dkim=pass header.d=flonidan.dk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=FlonidanAS.onmicrosoft.com; s=selector2-FlonidanAS-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=73e537n96WqhkL1hY0ler6vzZsrnPQpsXlQWZxhuc50=; b=zda2DgA44MNJ52p6T8rUa+ftRjOue21CA7y/JQdbnunACWVRT6BFrVTFdaDD2ehHGUZ2k4QTMprff+oLB1HlSiLj9MhXgi0lbNqnoRcWpNAtG8pDG1YScH8vdg+gwKuXJ41ze6apTxCQwxFYalfVpQeCoj3k5/dFbd7eycALKcs= Original-Received: from HE1PR0502MB3004.eurprd05.prod.outlook.com (2603:10a6:3:d7::21) by AM9PR05MB8514.eurprd05.prod.outlook.com (2603:10a6:20b:3ae::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.14; Fri, 28 Oct 2022 14:32:47 +0000 Original-Received: from HE1PR0502MB3004.eurprd05.prod.outlook.com ([fe80::a5c5:c2fb:7963:bee9]) by HE1PR0502MB3004.eurprd05.prod.outlook.com ([fe80::a5c5:c2fb:7963:bee9%7]) with mapi id 15.20.5746.028; Fri, 28 Oct 2022 14:32:47 +0000 Thread-Topic: bug#58835: 28.1; try-complete-file-name-partially modifies text before point Thread-Index: Adjp3uA6nA6BSefQSMymqbwryj2g4gA8OudrAAKWZaA= In-Reply-To: <83czacjdco.fsf@gnu.org> Accept-Language: en-US Content-Language: da-DK authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=flonidan.dk; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: HE1PR0502MB3004:EE_|AM9PR05MB8514:EE_ x-ms-office365-filtering-correlation-id: 05d42ad1-45ca-4187-0173-08dab8f148d1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8xypiqXRJ9eZ4dH0C9978ERE2WHfSnI+ICp6z3B9NARtelDt6jcpB0P31S+TfqYkm1vn5pP1/kcnvH9QIA2Utltnqn/jk6GCj6m2+Rif3XUHMwU5KJlqgatqqguMXuOCqGIc0Mc3Y6KmLXOi2nQ0UJBy8YyX71wsoRXK0oekFMNr02m1gxIMLrajnjP18cTQpLG4QwHxZeH9jMpHFmFppywXnKYTIvaiPdB3kJRdiy43VYqobYup0yfnpKOzc3HX8q9sH1o1SM2tekJjvmvWHh9+m2eGDCpL60AE53Ktia0Zjd7Rgq7vRMCnwXkzkl1Fh+3+qTWwcPlgSQHz2sXq7KgPK/PytcrbJW6J37biJThAGTsIFuVy7N6fU8/sd5ujRF96BvHAVAJYXuj/KPogz53uWlJtMo9jRauZpBDd9rxtm1P+XxPlu2OeoAMHlsizbT++QJc0rl3rPBl7WUcXayMXmr1eNB1OPL/a7JcilCRPP9Azc5hkCLwXLbERTulSR2UMU+t9RkirWp/BIqnPEXO4DV+fa2q4E4U8Yoc2bDCwIsbYsvSyD5mW9ZPF5lFiOYIBEfTzJ/180zko2O80gUWFotq+JdSo61uZwdltlhb96WdL8zVWevrIUhciCwrhkmJYXE/mVYdBMG03P2I/v3CbLixLYydpCiI8ohAWTAWdXfkMu8P5vYfjU1omo7JAYHCKXQp0JNJv9Gy8B70eCrKEbqRquzxHFdhaLHy5JvLnrr5QVEGY6/Zdkz1Iq E4mIbY72NdwsVYGR5qls6GSQA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0502MB3004.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39840400004)(396003)(366004)(346002)(376002)(136003)(451199015)(38100700002)(122000001)(55016003)(6916009)(71200400001)(86362001)(33656002)(316002)(66446008)(8676002)(66946007)(66556008)(76116006)(4326008)(66476007)(64756008)(41300700001)(2906002)(5660300002)(52536014)(8936002)(26005)(7696005)(478600001)(9686003)(6506007)(186003)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: Gmn1lcS9/z8aaulCfYVCYr1XftPC/7n4T8+/qqQom5KtB0TzqXWEcaUZm+5WPv2+tL430pPQ0AFQJOq9ZrTqZHj8XqmdpyfrYKtTkn1AJlC0EiQQky5uDBzaDjCvULTKuUGKqHithxBM+cN+daM2k8eiPOcliPBuPOA14tx7uIb8blBI3Jw3eu9dcUw7jnELs3ZWALohHyaJ5KhVdmCZIjwKHPO4bzLncsl3ZYSsPbhfWH9c4Na7jvFCp8cMqQswj5EeU8KTnETQdQqqfBSD2tF+/+4mOom0RYDNYIcgMR6cT8b2jP6rtrwPPTIyw2eQlRRdpGogiTV404lxQlS2uk2RF9o/XuT/trtjwnqRNYJlNHxBmPGSFtn/c+YG/2HkU8K00+gPPMlf8mf/YgAWfjOfmVKTnnC/qYUuWh4BGs/uV7QybSAK7YH26VQEvkN4eaQoNWfl/OH8sFMZUJDumyU1hERujgAgevWU0kJ0tBF/RN56iCziaBoaix2OfEFZw3LJMZQeEQYGgH0KqHV7cN37doJ5Ss2q5p0Ljrg6CHh1o3f72qy7PPojFQHFp5erllgzzQC/GEaSLY/zwY8yJLN+EgZYnkJxY6Ap0nYvPYLDJB7uuc5L25VNxN7MXXUMPrXRkfyg7r/uQqI63AvvXinEv24HJZBp1XVNK7NzosSwI7/zq2fZCQmFkq8d1vbVoA79cJDBFhbUTui/B+y3ekTTVGKeGUK1F8wMzya9FZWCV9/DPAzaGfTbsP /+j4QGp8RkFMRLNwBAyQkYJ/31de0PgHQmaALM2rqaCDd/Iy8Blwh6eOOb95kY0DqwdN3IEv1vqp7mzrBORcfiK9j7fYiQapKU X-OriginatorOrg: flonidan.dk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: HE1PR0502MB3004.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05d42ad1-45ca-4187-0173-08dab8f148d1 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2022 14:32:47.4476 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 66f919b0-b207-4d78-ae72-d81c18f86ec5 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Pte4k2+FQpKd63innc6BJE/hb1g9ZviRfA7B64cQ6W02HJwe5+vBHcuuByoj6hdl X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR05MB8514 X-Mailman-Approved-At: Sat, 29 Oct 2022 00:12:21 -0400 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246482 Archived-At: > May I ask what is the real-life situation where this slash conversion cau= sed you trouble? Any filename occurring in a text document may potentially be copy-pasted in= to some other program. In most other software that I use, filenames abide by = the platform convention, and a filename occurring in a text document may potent= ially be copy-pasted into one of these other programs. For example, into the add= ress bar of Windows Explorer, or into a file selection dialog. For those purpos= es, backslashes are the platform standard and frontslashes are not accepted. For that reason, MS Windows filenames that I keep in text files are written using backslashes. When I write part of a file/directory name and use hippie-expand to help write the rest, then the data that I have already ent= ered manually is changed, and must be hand-edited back. Which is frustrating an= d time-consuming, and has driven me to no longer use hippie-expand for this. I'm well aware that GNU Emacs's approach to portability is to make all plat= forms pretend they're POSIX, so I wasn't expecting much. I didn't expect the expansion to be corrected. I was just hoping the manually entered text to = the left of point could be left unmangled. regards, Anders