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.help Subject: Re: Trojan Source detection/highlight in Emacs? Date: Wed, 3 Nov 2021 08:52:52 +0000 Message-ID: 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="22564"; mail-complaints-to="usenet@ciao.gmane.io" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 03 09:59:00 2021 Return-path: Envelope-to: geh-help-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 1miC6l-0005bH-Tw for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 09:59:00 +0100 Original-Received: from localhost ([::1]:56090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miC6k-0005lm-Sb for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 04:58:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miC5q-0005i8-4u for help-gnu-emacs@gnu.org; Wed, 03 Nov 2021 04:58:02 -0400 Original-Received: from mail-vi1eur05on20615.outbound.protection.outlook.com ([2a01:111:f400:7d00::615]:51681 helo=EUR05-VI1-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 1miC5n-0006R6-Jy for help-gnu-emacs@gnu.org; Wed, 03 Nov 2021 04:58:01 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YCtH/3CFVRqHAtCfxfIiq3GmTrfID8DfkGYkmdpMrviIOuO/6alkE1ZKM23Oprs3ytiDUGjqHLDIhdGXL+eHBx0JlrYAsj2CitpwyQ/0pXu3BX5z4rajvVX/JvQQLfwspxCSUOHRN7+lGofWBhBSrQ+DdLN4yTjFG9BuYJnW6nX8j8YqbT7e8QjJO6b+3LkRoNpwconY4nB3OhjXY0XanjfM6S1bF+RBRTyRAhxLXxUhzWg3qct+b+E6yvPKMwLD/JTQk2ACa+9AMOnY9ypKb8AHZHN4npleaN9lyNe30eZUoAuWXMHOFXE7mSf6xBuOcxn3xtHPSINba63gQviKjw== 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=wft9uqd+/wbRoZXnqKHIHYwZmvCotf1YUQ4/HVD/qwA=; b=F7asnnukwWy5ap6BC1gAGFy5hNZ8u6kFZy1WUztj2YiRPhisHSPdUmxsPG3BgSIINttxeChPDeFudSQk8nU+sAlBDH6Bi9HQwMMir+efw0DckF+Anvv0S/QEWnqVtOmGl0Iroe8rORqLumRjKHVnssodtBMG+Tu8H3VTBaxHUwOBO63oIcXq9h0xFqjEkHYCBXi1ejd2XwmKs1Vkw9FDdk9FgWYo+jtyob80hLMOlils9/XDJUysHdXhs75HqP6dPc3aVPTF2lx1YuwsMQunR5fCFTgA+h+LAwfDHLqMpu3jykbmCtRB73OiuRgRg92F/2aLmjkeUeNQd0mOFR38mA== 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=wft9uqd+/wbRoZXnqKHIHYwZmvCotf1YUQ4/HVD/qwA=; b=anvC8YjwTKToQWcN6sBDByPvVSkSYxYzqcZajZU/t7nNr7Vp5S17jYl8GWYvalHh5QjcEencoNBPiLHYXtWsQxbM926P12s3ltefe4fyNnaRYjbxHpXubM8eIakYFFF2O7T+5YnCLiGIO5sRrGzqba/1+1uM85YYkEWtRZnrU7M= Original-Received: from HE1PR0502MB3004.eurprd05.prod.outlook.com (2603:10a6:3:d7::21) by HE1PR0501MB2363.eurprd05.prod.outlook.com (2603:10a6:3:2b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.19; Wed, 3 Nov 2021 08:52:53 +0000 Original-Received: from HE1PR0502MB3004.eurprd05.prod.outlook.com ([fe80::fcbe:ac0a:2303:52bd]) by HE1PR0502MB3004.eurprd05.prod.outlook.com ([fe80::fcbe:ac0a:2303:52bd%7]) with mapi id 15.20.4649.020; Wed, 3 Nov 2021 08:52:52 +0000 Thread-Topic: Trojan Source detection/highlight in Emacs? Thread-Index: AdfQjc4qHO12OscRSw2OFoF7XPbJHQ== 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-office365-filtering-correlation-id: 44befda3-79bc-424e-01ba-08d99ea7525b x-ms-traffictypediagnostic: HE1PR0501MB2363: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8g6eFvqfGUyBR9/JfBC4kOY3poTSY6xAwhlQlaSzHLhEnirmPhaOc4uyYOxPd7mwt8gXWjJVJndbFbM8U2iEnfGbcHwTGB9t80kY/jDf1EWh4XhdYEJqXkB5EJsJM6xdTsHguRXTR710gUaWMlqtgsOs56FOSEi33QNufT9LrNm0/ec6GrCviqxgfKrGfF37gMt+swNSOIgFlYYetqDY9M4BNDyIAbzh36dOB1+Q1+kqJ8a7FrBwzBkNhkE2K9PR2fOobpSJynFFWpN6pDn6LV9NsqS+c8ZL7oS2kDBVsDEikoDIlCk4U78OVbvMsFUdgibccfNzpKf3e5w43tNl3Y7+reSKLVKEveh20LTcFzQ/On6+eIybHolUE6DIdWSEFpxhCVQccmj8EPSaMq8anQrFYch+dUlLLpo8ibCHYtKvSfowLsfuG2KD369glYfPsf13GyH/u/QPw+auI+ru9JTDf0jvdWNBjIL6jWgZxnkqDk60VIo9FqHOngPKbENig7apISj3LKEXi6MkbXa88n5dLY7oJsDruEI5Mrg0GtXRefLKyccie9c3e6WkYKV6mEE03vT7d+uH+PBPxxJW2ZuVYO1m2SqfIpkmJJVyEl9fgbXtk1jf72alF8F5xJr+6Bq9Q1M3OGiva57uzEvkcAEPpQm3jDLXT6VoZoVH8tThSIAmzwFi1JbwbAve22odaucrop4e3wJxhAd9eb68NA== 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:(376002)(346002)(366004)(396003)(39830400003)(136003)(122000001)(33656002)(2906002)(71200400001)(7696005)(316002)(5660300002)(6916009)(9686003)(8936002)(26005)(4744005)(8676002)(6506007)(64756008)(38070700005)(76116006)(66446008)(52536014)(66946007)(66476007)(38100700002)(66556008)(186003)(86362001)(508600001)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3slVlf+UnA2HJnY7mo4I6awqpLpG7rqRaRi3HqGrlsAIqodZ9cVr3FTNKaAK?= =?us-ascii?Q?tSWV0iTzHA5S/kD+4DqL98TebpyQ+3V5GA5ksN4uvDznSYu8h6fUzXKxOCPs?= =?us-ascii?Q?7vZUyRahsNEyy3HKpxsDHTYnrF1xt4Dn9SF0gdvQn6Eh4JOWVKkGOaIarDZc?= =?us-ascii?Q?1IXln8/Lud4QyXONUFNZAk4JoWGfULtQBvJwlq4fhaI/r4/M66os9pFowLzt?= =?us-ascii?Q?6XWsQ44ECprUeBy5E7petTXhm5oQa6UqkPPEduQHJxNhZBpJZjBX+w2Wadze?= =?us-ascii?Q?HNS5l4gvt4vurAM1j8LNB1DD0ZynPSdHeIzBJ0Cd94XYcYxrjw5y2MlFqFwo?= =?us-ascii?Q?ePqBHP56+HpDeKPEbQakaXZNc7CAXGi6aAHksxfkQ3St/CTjXTMvMV8utcqW?= =?us-ascii?Q?NDGUtFRmFm1AmblGYyNZTOUT8YE2bXMU8iu77CBHvLVUkNh0PZa5efoBBY7a?= =?us-ascii?Q?5mDnMpz3XXMmmFjhuxbTuk3n53hQeUjtTWwMKOMQDI/YuwXE4KfdjjNdH8XO?= =?us-ascii?Q?uIkD/ZIOWCN81md9U0o5ddbYZjR8ieDGhDaile8N38LGrIoh6AcTslG3/8DA?= =?us-ascii?Q?j7NxlT2n6igbrRJt0J3hM01XGipsibIEIIPasxOKiLQhEdh7UW1NJsbVO5Am?= =?us-ascii?Q?yP 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: 44befda3-79bc-424e-01ba-08d99ea7525b X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2021 08:52:52.6839 (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: d5Kr+i/OEx4rRnHSxoW/ZN6+Q1kAHw5OpkDA9/ixsdo3bAzgb29nztYjuV3V0OUR X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0501MB2363 Received-SPF: pass client-ip=2a01:111:f400:7d00::615; envelope-from=ajm@flonidan.dk; helo=EUR05-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134326 Archived-At: Eli Zaretskii wrote: > Stefan Monnier wrote:=20 >> A simple and straightforward way to do that is to highlight any=20 >> non-ASCII char, and to render all the "non printing" chars (such as=20 >> RIGHT-TO-LEFT OVERRIDE) as tofu or something like that (otherwise, the=20 >> highlighting applied to it wouldn't be visible). > > That's already available, no changes needed. Can we get a recipe, please? For the "non-printing" chars part that is - I certainly wouldn't want to ru= in all non-ASCII text, homoglyphs be damned. I tried customising bidi-paragraph-direction, setting it to 'left-to-right,= but I'm not seeing any effect, despite the docstring saying it /forces/ di= rectionality. I guess it just sets a default, and explicit bidi control cha= racters take precedence. =20 regards, Anders