From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EJDeIRr8WWNNzgAAbAwnHQ (envelope-from ) for ; Thu, 27 Oct 2022 05:33:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GJ8EIRr8WWM6GQAAG6o9tA (envelope-from ) for ; Thu, 27 Oct 2022 05:33:46 +0200 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 01CC52350 for ; Thu, 27 Oct 2022 05:33:46 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ontcs-0002Vm-Qb; Wed, 26 Oct 2022 23:32:14 -0400 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 1ontcr-0002JW-4W for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 23:32:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ontcn-0004gI-Ts for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 23:32:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A25FD240101 for ; Thu, 27 Oct 2022 05:32:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666841527; bh=nNSgACBmWjihQD/9E3hNqGZ8s4gtmH8ZMYWJaAIUTo8=; h=From:To:Cc:Subject:Date:From; b=RdZSRUEs/FTe8YxEl38/WMG6/Y51jnHuk+50sV34p/QxJ2NBRyKfydycQnFhSKDyX pPopS7iWeYk+3aP4ydox49/SZrfdsBIMnLJk7CUlrWpYv5gC5vFTTJoZCvSdimCyTc qkvZlVuAM/OBKx6KhqKOo0mDwqOJiiwtEbXk3D1BsiXiRCW/l76yywsE1o4LwsQBtP xGZ36RUTxUeVRCcp/LHMsLu/TJLzHM4Z93RDtHMz6v2w+BZ1Aq+g/m9PBF9uqnczT6 iAyctEhc66EhoXFfsSo/6hJ3UjtsOwtjjKBm8x9UhlJcvNkHk/UJykAHdeByeER+Ru ouLrKGUd0hocQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MyWSd5qCDz6tmB; Thu, 27 Oct 2022 05:32:01 +0200 (CEST) From: Ihor Radchenko To: Dominik Schrempf Cc: Bruno Barbier , emacs-orgmode@gnu.org Subject: Re: Org Haskell code blocks In-Reply-To: <87eduvt08v.fsf@gmail.com> References: <87r0ywvtqp.fsf@gmail.com> <87ilk8szv4.fsf@gmail.com> <87sfjbbua9.fsf@gmail.com> <87lep3qksl.fsf@localhost> <87k04nxew8.fsf@gmail.com> <87wn8noywn.fsf@localhost> <87eduvt08v.fsf@gmail.com> Date: Thu, 27 Oct 2022 03:32:43 +0000 Message-ID: <8735baos9w.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666841626; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Nd0ea21CzyR9QeOgrm80jqkN/Lm84Xvmbb/bL1RUL9I=; b=It62AA2S4v8mjQET2VHbStuh2mZLU3As1Mg9fxjce23HfQMbAAvjJmCDuay4lhJBh4Z2YM GI5nLfkYxfOT/5W/PfwS0T2SdCOn4gED6hp4SzmY6JFugN8DLPN3NLuyVGqUEIq1I3Qtk0 QzBH4j5oc9ghatc6QGrGmRkbo+Eaqhr5vMMPL8spRo5FBtONuWwdACdneBrTnn+FjH+sua 7wXYZnR/PVLE15X1kOPzKXbL6SsYMRuDzo70uJtrMOonc2xzaCXSeHn+/1M3RmxQ7K3sZw t10RA+WNyD82S0tjGWssjOLgfoCmAtvvis0Ahl0kYe2Rc5neOizckfpzhgRY5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666841626; a=rsa-sha256; cv=none; b=j0DVJqAOph04fNINiQ641d69tbOFu4wDLWNmo19/7V9VBhQZ8QpCMJbgE00gFnl7/RfE2G YfYTl/yt7bBXARkCwiQgm1yZKll3M33SvxSdewbdBa3x0I0ErA5OOcodwmojh/tA6EUOa7 O9cyH5bC112Lv/T0xg5GrpB8xkJsw0Gm3KtlwaJ9vVd7CCkceUzvLFcaqTIzjPMtg6otDf GmTNbPloMxdpPyyxrtvScXMqerwulL9wcdE1ku4eVNWvu1ZfQBWXfqXNGyF05WGSFlrLN/ f1e0EVnK/pUlEs8RZJ3NuikEt2v8ZTfffXdzSroplIAmaGRQWKlKj5Bt0ob65g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RdZSRUEs; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.92 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RdZSRUEs; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 01CC52350 X-Spam-Score: -3.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: kvy/k2EKKkRL Dominik Schrempf writes: > This is interesting. For me, syntax highlighting works partially. For > example, keywords are highlighted, but function names are not. See below. I confirm the issue with your example. It is a known problem with indentation-sensitive languages. The problem is that org-src-font-lock-fontify-block does not strip indentation from the block. This can be fixed. Although, I planned to work on this bug together with https://orgmode.org/list/87ee7c9quk.fsf@localhost. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at