From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KEpsIePCo2DgHQAAgWs5BA (envelope-from ) for ; Tue, 18 May 2021 15:36:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mD0NHePCo2DtIwAAbx9fmQ (envelope-from ) for ; Tue, 18 May 2021 13:36:35 +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 D5A5F12C1D for ; Tue, 18 May 2021 15:36:34 +0200 (CEST) Received: from localhost ([::1]:37702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lizth-0000AN-Ii for larch@yhetil.org; Tue, 18 May 2021 09:36:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lizrg-00006D-Gk for emacs-orgmode@gnu.org; Tue, 18 May 2021 09:34:28 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:53167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lizre-0002Kf-KP for emacs-orgmode@gnu.org; Tue, 18 May 2021 09:34:28 -0400 Received: by mail-pj1-x1034.google.com with SMTP id q6so5527567pjj.2 for ; Tue, 18 May 2021 06:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=HDgz7WOqQ3W5a2qHqnS05jRVc6Uh/X3bXknxCWnGBhk=; b=Q5InCyTQBVfezGUlnOPxz7GJjJv5tlqr42DFPNxUzNFpUjOZdcmsp3RBKDOg7ClrDp LQwRQNH94nO7zYjMrvgeXY8k2jLF8dE41+FShAApAoaB51gnYSZOeE+QwQfQNgA/4PJ1 TABaTQL48J6pCgwZiwE+EPH6LNIomTmktlmWuTDXWR8j6gRipfzHbULrV01DrPt3Pcsu apVCrPliGWMjR+1t6UhphG3skJ91Z8Q2tF/37swLlr1mrcbF1oyLt6z47VbjxwRvFgxe UKpnfO6ZpNk0xL+B7jvP6Ys7Rm/AicP0UQyDjEK6NrrVkwwA9zdDDpqN0BDKXEL707J+ xmkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=HDgz7WOqQ3W5a2qHqnS05jRVc6Uh/X3bXknxCWnGBhk=; b=ubIUFKySZAw6iuoP+Dfm6MGi/umpW18U57sRLS+SQ1jSV0vpO8Yx/4/mYsLcVz0yyl LodIjT87fZXfv6AA7Kz2+zIFidRLzziI89O1yLWMeXa5TAEPxcaeCqC74AX489JDz/C/ LM8LjtTTftBiS1++YWzqwAH94l0VSbvVHQgtOUWejy8Dw6htQpEMh2OJK8XjeENA4iQD EHjSBtNzMG3cBirRRjJOCSNVxms9vMfCJW1XtLCpqGW03AEeg9vWTNVIC+YRSJExfLYs U979/Qd1lDVd1sEuzLrR+A3ziWsCUgIVtPBvV4l/++u7ICvCVb4TFtaOqR9eY0N8JEnG MbnQ== X-Gm-Message-State: AOAM5331/YLvbToyFy7ir0SPzdQM1F94f2VqzvVk1zEl2x6tyM/F2+Rb Ofk3aI7urfipq1uKIKpOAs8= X-Google-Smtp-Source: ABdhPJz2uYaWMZ7lWuRc9D9mfKodVXbNNUYpDuTOciVJAX3DrwcrdHxUr1B1Ibc1ftJWUS2ESG7naQ== X-Received: by 2002:a17:903:228c:b029:f2:fec8:16fe with SMTP id b12-20020a170903228cb02900f2fec816femr4466710plh.31.1621344862744; Tue, 18 May 2021 06:34:22 -0700 (PDT) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id u6sm11805625pfi.44.2021.05.18.06.34.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 06:34:22 -0700 (PDT) References: <87pmzf4bd0.fsf@gmail.com> <87pmye51a3.fsf@gmail.com> <87zgxcgaba.fsf@gmail.com> <878s4wtrzx.fsf@gmail.com> <87k0o419uh.fsf@gmail.com> <87o8dgdo7l.fsf@localhost> <87fsys102j.fsf@gmail.com> <87im3odk35.fsf@localhost> <87cztv29ff.fsf@gmail.com> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Timothy To: sebastien.miquel@posteo.eu Subject: Re: [PATCH] Fontification for inline src blocks In-reply-to: Message-ID: <87eee49ndx.fsf@gmail.com> Date: Tue, 18 May 2021 21:34:18 +0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=tecosaur@gmail.com; helo=mail-pj1-x1034.google.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, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621344995; 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=HDgz7WOqQ3W5a2qHqnS05jRVc6Uh/X3bXknxCWnGBhk=; b=La1/4i+u5f8XHFCiYOF0iROElBCAGxizFjn6LQh2cf51o8q8IllewINTyGUfI3jUSzbPd9 DX9iNowydDB+oSoB0HgeIGlkqypg3AU/pK5KKYCtMcLbHDzF4ioZerhSw7zY5dVCfm3Zez akywsttlQffPXoJfz6Cp+EH+lyZnxDAvfDkHpgOEX7G5/2sXuVAfR7H8hWAHRMLHxMTLUQ WHw/Hb4yquChk4ajQXceF1pfOeWvZGI8YZ4v9x2CMWydZ1eCCYbZ2WwnkeSokwS3BLPECL vMQEKBlKHHFziUIo6Cz+L2IfPMWHvirCPwOovC7jy0/EmslCSVaUZWJQgO8XOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621344995; a=rsa-sha256; cv=none; b=bM9ma6EhdOebQColYSnJx92c5XwOjJGb9JNd4kDCokHTZGCf+/zG96rtPRy/OFK8MjCRwg 72KVIpB/3ppOvvL83lD6vp7+lnqt4VptL842pXz+bK4laA3LwT/KvrJgBcvnc6cF/02Jn1 CdIrc9usBu/eKp9WLWGifQKWP3Ne15RC7KG1074EvpHPrE4i8kWqOu8Yp1qmiBgQl2jzG6 CSPjXl/lfB8Xp6e4z/TuiOB8r1JIHGa/OCJP2s851YpFdoFiR7JEsvwluHaoi8TrpI8iPx 6h1oJHGd48MsZGwdECEI3YugY16Ia/9cvVCJfVQ0ECn+zwrq9FgKCT3WNhrnqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Q5InCyTQ; dmarc=pass (policy=none) header.from=gmail.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: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Q5InCyTQ; dmarc=pass (policy=none) header.from=gmail.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: D5A5F12C1D X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: CYKb9SaZdk+4 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi S=C3=A9bastien, thanks for your comments. S=C3=A9bastien Miquel writes: > Hi Timothy, > > Thanks for your work. I hope this can be merged. :) > Here are a few comments. > > Doesn't this line in ~org-toggle-inline-results-display~ throw the > configured delimiters away when called twice ? > : (setq org-inline-src-prettify-results (not org-inline-src-prettify-resu= lts)) > > I think the =3Dorg-block=3D face should only be applied to the actual > code, note the =3Dsrc_lang=3D part, nor the result. For normal src blocks, > it is only used inside the block. In src blocks, you have the org-block-begin-line face applied. This (in any sensible theme) has the same background as org-block. For the sake of visual consistency, I think we want to have this applied to the src_lang and result parts too. However, the org-block-begin-line face overly fades the text, and so I've combined the org-block face with other faces. --=-=-= Content-Type: image/png Content-Disposition: inline; filename=inline-src-back.png Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAbcAAADBCAIAAADD+WnUAAAACXBIWXMAABCcAAAQdQGpcXKRAAAg AElEQVR4nO3dd3wcZ7kv8Oedsn1Xu9qq3nu1ZSdOcZqdOCEQSgokcEJCAgFCOeHm3pMLnAPn3A9w 4V7g3MOFhHBwQgklEEgCJHESp5BuxzZuspq10kpabZO2aPvszHv+WMm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g4/XK1I9P/nClx93LeOoifW6f/3+ly7Qia6n 7v/CI8fO6IsolZrlVBTBBnty2hohGkddU5lKLiUFz7GJyOL3ucviHJUlKgIg+odHNtJ4T9IzNOpo q9CzrKawpLJwXX47GABI8fFB94q/7pnBPzz8xOXfurWq4bZPX/PaV59d6rIgUnjZHXdu1YPoefah x48v46ZVJGMDPTltg1IUVZYqsw8BGt1IIQkghgcP/63b5Y8kBHEJSxBWGZUyyamJ0d7DB/vPfj/C EqT7f/OjZ4ZiKa7pQx+/ZInT3UTbfttHN6tTifG9ux89tLHeHesJ9rjPrbx73MqqS993cQkPmbG3 /vLXQWwsoDxhj3v5MCUR2sgwJZcPe9wIISQHUxIhhORgSiKEkJyNsBIIR14QQqsH25IIISQHUxIh hORgSiKEkBxMSYQQkoMpiRBCcjAlEUJIDqYkQgjJwZRECCE5mJIIISQHUxIhhORgSiKEkJz/Anak q65C2sj2AAAAAElFTkSuQmCC --=-=-= Content-Type: text/plain > The ~org-src-font-lock-fontify-block~ function could be modified to > take an optional =inline= argument. When =t=, it should not set the > =multiline= font property. Although this is very minor, it would allow > one to easily advice this function to behave differently in inline src > blocks. For example, to not use the =org-block= face in this case. I don't see where the multiline property is currently set, would you mind pointing it out to me? > I think the default parenthesis pair around results are bad. I much > preferred your original brackets. Yes, as Tom said, they look alien, > but alien is appropriate for use of ~prettify-symbols~. I'm going to be using the original symbols in my configuration anyway because I think they're nicer, but clearly this is contentious. I'd want to hear from more people on this. > Since ~prettify-symbols~ seems to be raising some usability concerns, > perhaps ~org-inline-src-prettify-results~ should default to ~nil~. > It'd be unlike org to hide things from the user in the default > configuration. This seems somewhat sensible to me, but I must say that {{{results()}}} is /ugly/ and I suspect that many users would like the effect, but a minority will be aware of this option. Perhaps this is worth doing anyway. > As Tom points out, the two faces used (for the =src_= and bracket and > the language part) should be customizable. The default value you chose > are fine IMO. Perhaps the language one could also be used to highlight > the language of normal src blocks, though It might be easier to use a > single face. So are you suggesting I do or don't create new faces for this? > Timothy writes: >>> P.S. Nitpick: You do not need to run fontification in while loops. Just >>> fontifying next match before limit should be enough. Font-lock will call >>> the function again if needed. >> I'm guessing for this to work I'd need to return the final char >> fortified? Or is the moving of point enough? >> >> Maybe related - I've noticed this doesn't seem to work with multiple >> src_ blocks per line, might you have any insight here? > > You need only return =t= if some fontification has been done (and set > point after the fontified part). If your function returns =t=, it will > be called again. > > A case can be made for keeping the loop though. It works fine and is > clearer since the aforementioned fontlock behaviour is poorly > documented. Really, the only downside is the loss of consistency, since > the function ~org-fontify-meta-lines-and-blocks-1~ doesn't loop. Returning t works nicely, and now we can highlight more than one inline src per line :) -- Timothy --=-=-=--