From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qABTFQOSi2BsQQAAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 07:13:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IHgWEAOSi2BPNgAA1q6Kng (envelope-from ) for ; Fri, 30 Apr 2021 05:13:39 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A65D812942 for ; Fri, 30 Apr 2021 07:13:38 +0200 (CEST) Received: from localhost ([::1]:33210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcLT7-0004Zp-Fu for larch@yhetil.org; Fri, 30 Apr 2021 01:13:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcLSc-0004Zi-EY for emacs-orgmode@gnu.org; Fri, 30 Apr 2021 01:13:06 -0400 Received: from mail-oln040092253025.outbound.protection.outlook.com ([40.92.253.25]:6242 helo=APC01-SG2-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 1lcLSY-0002pS-ED for emacs-orgmode@gnu.org; Fri, 30 Apr 2021 01:13:05 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T61LBLMNgc0yKkQjqdbpX01IWiTM9SUtndaHCeyEGunUnRZXBkI2xrY8x0xUiu1G7GvD6PpxMTACX1wQEWx8Zmmmv9Yde57ZDGA3N1qu4Q1TirhSSY1EOFJEnAFE+0ljzV9TGCKaMZ9y+zL1KTsxMfrPJkl70tPk8toan88Z74GwHd6GDU75Y+SJNZ4NyMyMY3lhBnZT7Qr5lqEjCpAow1fEkrlNjRuKyD4FPjGAvmAMFuoPmCMv4KIU9Jw060cO6KsMYOvKB5UeO7eGWpMOx7chxQuuvJhK4aC8V+2Ap1B/wwQoX5Ydo9u1a8PA39kvjA/ITJZVkt+VCsUzmYX7Uw== 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-SenderADCheck; bh=mrZwbNkVMthUbdQKZHsgr+s1Qkv/R32QHwg3Eo2SfsE=; b=gWmDpnrIYqvJ5cHgVSzQDU4/DC9/uN6Ue4h9pzm6W2hdPBzfJSk00+fqsy6StJQc28d4O94MjhGc7IMHqFsUl4MN7Vb2K5jz0Z8jpExukEzOEQl16pBnrhlEgpGCirbwRZnqwaR5LgwrgqXmF2VbbR9ZUBw7dTBfTFmFkPlqWm6HaVuVXoFS4ua96VMcX3U1ckTgj+ubFw+mK1a8fX0Pp1C9TFm44WKEEA6pOn+zVp49UHWRxW9ALM0H5/Cun4nnM2aJECQMYNS9ZGpId42Te94GDt7NzdkFlKQgASi7vh2EUW69dAUlgLXWS88j32G4J9pfEFF+hfIgw/JaSthsiA== 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=mrZwbNkVMthUbdQKZHsgr+s1Qkv/R32QHwg3Eo2SfsE=; b=ijll8r99pvnKB0thmaNXm69DHInIb7JXZslYg0LXrON4m9Iz+yO88H+y4b71t+S9G8+ZoasdHlVnV1ms9kvwAz54polmNw+94RFlbqdQ2L5qn7IkrHA2gCI3BFNclP9h59nhPxs+2805yWoRTFDCSk4KOzu3/FHgEwdISxBNjNxl1iEvXZ/UxXzxGt4t0yVuSm58oPYjCWPtlz40DPYVCoR7XqvOztaKkRDU+rUI9qn2n1cD5OHUbJuOUUp93EgRpKTgQmuUnrEyYOViPDdTwVTta0SlzvPJ9NDI8J6//rreYc6LRLM2S7GhxgzceRufTAV2uv/CLPHQziCqJxNLtw== Received: from TY2PR0101MB3693.apcprd01.prod.exchangelabs.com (2603:1096:404:800f::16) by TYZPR01MB3933.apcprd01.prod.exchangelabs.com (2603:1096:400:37::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.26; Fri, 30 Apr 2021 05:12:56 +0000 Received: from TY2PR0101MB3693.apcprd01.prod.exchangelabs.com ([fe80::4980:4d7f:474b:de2c]) by TY2PR0101MB3693.apcprd01.prod.exchangelabs.com ([fe80::4980:4d7f:474b:de2c%3]) with mapi id 15.20.4065.030; Fri, 30 Apr 2021 05:12:56 +0000 Subject: Re: Bug (HTML/TexInfo etc): Commented code block gets through to exporter when it shouldn't [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)] From: Ramesh Nedunchezian To: "emacs-orgmode@gnu.org" References: <77b4a55f-1ec4-eeb4-8097-fec80ae9526a@outlook.com> Message-ID: Date: Fri, 30 Apr 2021 10:42:52 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 In-Reply-To: <77b4a55f-1ec4-eeb4-8097-fec80ae9526a@outlook.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TMN: [RcxZBALpDtrVLetrxlhKhT0D0lLsk51+9xhZu0JugLUB/aDvx5GGjg5j5HIbiZ8x] X-ClientProxiedBy: MA1PR01CA0168.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:d::23) To TY2PR0101MB3693.apcprd01.prod.exchangelabs.com (2603:1096:404:800f::16) X-Microsoft-Original-Message-ID: <37731309-0f54-6d83-3b38-da5e3cef6347@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [IPv6:2401:4900:2723:28b8:4a50:c38:27e4:18e2] (2401:4900:2723:28b8:4a50:c38:27e4:18e2) by MA1PR01CA0168.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.25 via Frontend Transport; Fri, 30 Apr 2021 05:12:56 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5b8d2ce3-f615-4b81-af4d-08d90b969d85 X-MS-TrafficTypeDiagnostic: TYZPR01MB3933: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: r3eGvzofzORsgtWA8s0wvVLBn3FTf0LnDhXfRfvAQAUcfwYk5jJePOBbHg+eJZzEHBV2ySiXWtmry1WYszFQeKqluqDVnJuuag6zoCNz2aYTL6jYVrIYSN5IUB+UqGPeepzl3vP+vo4mdN6+LAqw3J0IAGnnx2SKnrogArQUW1ELqrjwqktyZx6gOxwHQRdIYqZzJlzJrEHlwLNmbZ3MpTBXofPOnSze8ELAn8EOBQ6uuwvIJSGiZL8KumhsPCIKwqhDwDXkwjjmcInVcDL1x8KtstmqG3bPOc7c+C8B7cxI3D9H4AuichA3C6uWACZ3EN1KVVquerj3B8k9iegwIUL9EjGQqnXNF6JXMNvQUQpFjj1o+frpk2aI390BmkLw X-MS-Exchange-AntiSpam-MessageData: +LSycMh4tBCkT90pUqQQE7Low3XubTrLQP9Z+/11cXEPvJVRa2bXnD9SbDlcCiO61wmJ5aLC8yv3sJCaEzYHYAaiEfIoESeT9JKzvVmG8VjiXC2nqbL907LcPGf0cIXjepLzVE0N4ib2jDURNnAbXLo5Vw7aIC0OhzygHj8pH3fn89V30fmHDNpjW7oNqbUOfxSIIIqhfkxXhIPDUr+15A== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b8d2ce3-f615-4b81-af4d-08d90b969d85 X-MS-Exchange-CrossTenant-AuthSource: TY2PR0101MB3693.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2021 05:12:56.9392 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR01MB3933 Received-SPF: pass client-ip=40.92.253.25; envelope-from=rameshnedunchezian@outlook.com; helo=APC01-SG2-obe.outbound.protection.outlook.com X-Spam_score_int: 21 X-Spam_score: 2.1 X-Spam_bar: ++ X-Spam_report: (2.1 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619759618; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mrZwbNkVMthUbdQKZHsgr+s1Qkv/R32QHwg3Eo2SfsE=; b=YQtQnVY3aKS1Id04AmgsIaeM9+oj7pBIRSwn0WlDByIypmsqNtC+WcM4nTFgjJw51Qj8ZA iY4xlXA40u6GLMgjEe/BdjYZjjt0GmPRb3iMw7xjj7ZKn/dsQTce2dJCnlwPPfg2FwL40J AEPTqa1MH6zvFeC+6mo15J3Sh+lukB2qd7fRBIJxxtKkllkwUS+nGaZ5LJfuPrF5LaFGcK vskC6ARZ8M3Z2VhsAQQW8QcyPX4yMWjjr/dBUZ89Hz+Nj7erHdbN7/Et0A+G3HylpQH19U awlLmB6oJ6IgB982W70bkv3+mB8s3QVNVx7rbvgRUHtvRlqKFk62V8JPZH54Vg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1619759618; a=rsa-sha256; cv=pass; b=bWfTLlcQiBIqCbGlQlaIRIf9sLrKltKF8IjZ2rMJqMpOiFR+6gxn/05LAU/YVvhi4cUoyB xH459ddN3ItI2IGVmSyYUrqJZhj+tWU+QBMgGJdmWy6fn+tZ2kmWUwfkflJ3htRagH41f+ jph9H175FcXByW7mk2LsKjx53dQ5rZfDXaoaGzJ5N5Bl0/l6jxHgAt7ZyP0zPPpTbhHtSS gtR7UKUHMP52AoTND/uA6/K3+JRvkj0WsewaQoAYOs97/V1Zk0iAi77qRGsNICMK3aNyF2 uq4Rr/neKNoWNtvOl3qsbjnF6cpNRfIDgugrC3S/z9pw/+2jp/dgFhAMNml5qg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=ijll8r99; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=ijll8r99; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: A65D812942 X-Spam-Score: -4.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8CDxNQjyiLXW This is not an exporter bug, but a fontifier bug. There is no space after the leading '#' in the "problematic" lines. Yet, the fontifier seems to think that lines which shouldn't be commented-out lines are actually commented-out lines. I think I should have trusted my own screenshots rather than the org's default fontifier :-( I really don't know how I got that snippet in that state. When I comment out a source snippet afresh, Org untabifies the snippet. On 30/04/21 10:30 am, Ramesh Nedunchezian wrote: > > Bug (HTML/TexInfo etc): > > Commented code block gets through to exporter when it shouldn't > [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)] > > See the attached files. The `.txt' file is actually a `.org' file. > > The surprising behaviour--surprising at least to me--is because of the > presence of tabs in the source block, that is commented out. > Screenshots show where the tabs are in org file, and how the HTML > output is rendered. > > When I untabify the file, everything looks fine. > > I have created this report with `emacs -Q' (i.e., with a capital Q), > and whatever Org that ships with it. > > ---------------- > > Emacs : GNU Emacs 28.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) > of 2021-04-28 > Package: Org mode version 9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/) >