From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4pVQMUJzWWG0IwAAgWs5BA (envelope-from ) for ; Sun, 03 Oct 2021 11:09:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qF6uLEJzWWHbfAAA1q6Kng (envelope-from ) for ; Sun, 03 Oct 2021 09:09:22 +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 E4A16BC22 for ; Sun, 3 Oct 2021 11:09:21 +0200 (CEST) Received: from localhost ([::1]:37582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWxUm-0007ba-CJ for larch@yhetil.org; Sun, 03 Oct 2021 05:09:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWxTH-0007bE-S5 for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 05:07:47 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]:40855) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWxTG-0008SH-5y for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 05:07:47 -0400 Received: by mail-pl1-x62e.google.com with SMTP id j15so9112149plh.7 for ; Sun, 03 Oct 2021 02:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=tguDPwEsaQ9zW2b5osPEKTY8PWTuApjM+jeKsbL5qBw=; b=Rq4Zw/bTIx1f71v9yMSUnUkhFB6hOEp6qepNZg+h1q8S5/QtsoSDqTm3TtLGV/KIJB ZAZbuS9Ik0rwwtfDbg2NiCHtnGhrGXcowVEuECkXYd/Cj8e6MoPptcxdTnOhBIYvzKEH sjzFejnujIiMVjdzyUlU6TynDjMIjrgPS+kcn26EAxj82aViZqILIzGF0r3HEyp24jwJ ZG2eyUPOCl8Evf+jXX3OrT34hiamwYnQM1OvV9r2DGr8ihKpf3e0RWivNuD22uwTVl9J EG3CuifpjHEcDiccGr71DiXl+WP9aZDyXmF1yUlhun9spOST6sWVX5aSuDG+G1vu5geq F9pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=tguDPwEsaQ9zW2b5osPEKTY8PWTuApjM+jeKsbL5qBw=; b=UfIZ8nV9LTn+msgE+eB6Fd3atdbJjslNTgfFhj3+Z1Llhw1kahBDsRSIxDiHT5K4qP JLsl9MMlNIPTOtVJL4k+Rc2sMRgd8sVjoAFJUxf9rxGz+kOTV9IwGdRz74445lWsFmah 4TGJAq2DG74uWPg6RX5GvsEpaEn/U2nCYXNsTFFsKzz62yBnhexOmRxae+d6ZE4NVS7B Uh/khhXV0eueY80eiT01PhBScytqQvWZS8uk1/GwmHFheWi3OhsKs5zp5WwfXIB7aeK6 4VadoWe2MNiz0WyDBcpIDNWxkvc1ybQjuUpZdYVN4IwHtw0vMrj7DR4QzoUiEcZPm6Dq euzA== X-Gm-Message-State: AOAM530pBuc4lnmottytZa9koBTK5xxDjyvOX7sRrS6eOUjpU/7SiRAx zhZMMdlW/8cSAqcHeOLPHO8= X-Google-Smtp-Source: ABdhPJx8r94trJCSTaLmYSAMoNOC5VvhbdqsavaQxF6CH/cA9V412krVHBg9/fWAkmUorGUNr90aXw== X-Received: by 2002:a17:902:930c:b0:13e:42b4:9149 with SMTP id bc12-20020a170902930c00b0013e42b49149mr18819962plb.86.1633252064846; Sun, 03 Oct 2021 02:07:44 -0700 (PDT) Received: from localhost (61-219-114-7.hinet-ip.hinet.net. [61.219.114.7]) by smtp.gmail.com with ESMTPSA id e13sm10674167pfd.205.2021.10.03.02.07.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Oct 2021 02:07:44 -0700 (PDT) From: Ihor Radchenko To: Timothy Subject: Re: [PATCH] Fontification for inline src blocks In-Reply-To: <877deuinmn.fsf@gmail.com> References: <87pmzf4bd0.fsf@gmail.com> <87h7dy7f68.fsf@localhost> <877deuinmn.fsf@gmail.com> Date: Sun, 03 Oct 2021 17:09:02 +0800 Message-ID: <87r1d25vbl.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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: Protesilaos Stavrou , 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=1633252162; 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=tguDPwEsaQ9zW2b5osPEKTY8PWTuApjM+jeKsbL5qBw=; b=qOkBkOj16uegB24/7+ah7oNTJXehyT1rjVy6TNQ7JgpepUC1lBCbKgjuMTM49toA5TDSgU EOMc3xx7oT0oGDWA4rR+ODS+R/K2euH2UmHbyMAjPZk8UO0Wn2/TijbVcCLtj53DEtTIkC DTmUANs5z28ZaXnWk+3Fv95THpJRdSbzPJ4hwO7U/jM+3/xk8x6S8EE9LDyrlmARACnlR6 t5N0nTpnOtOIOSE0A/GoyXdhTnj30KKYDQsg7K/O+oUylEjciaPrAj3jlKRvnXZoaAT3sk WFBXD1SZGj8tMhLwhE/MrR87AdMDVwJs17TRrlh8xn6adkDWInuz3foQnt9JxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633252162; a=rsa-sha256; cv=none; b=NbIbYUJ3+cqCVRiZsI+gTCHOpuzH1SbbyxuKgXSWH0RBqWC35GeO7jOqmB3p46PONPD1JE ZItK2e9KzH/+3zR4jVuFvrpecd913J4YLC8teVUl6ClbIew5QPB21CvHxzBR0RaFH0Syw4 FQ28oYi9Qo4Dv55xDoZm9qFCg8eLZWGAx9i7PPMOluXINFKAkr8m+6t/3Pnf2Dy+CT4NFE fnmUGSgcordXhod/DF9rPGgwZ/y/aJt3t4sS5uBmBIKE5dJATrI9nSCD9qrWkVbFycbX53 HJhxeOXFwpD+6+FCM6XRXcnUP3dOv4O/NKlKyhBcrSOolfD/Si81KiLU8YwW7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="Rq4Zw/bT"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -0.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="Rq4Zw/bT"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: E4A16BC22 X-Spam-Score: -0.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9ZV/Krahgtxl Timothy writes: > Ihor Radchenko writes: > >> Let me bump this thread again and mark it as a patch ;) > > Thanks for the bump. I'd like to get this working, but I don't know how best to > deal with the "prettification" of {{{results(=value=)}}}, which is the major blocker as I > see it. What about separating the src_{} fontification into separate patch? I think that part raised no objections. As for the results prettifications, I look at this and similar ideas as at Emacs themes. It looks nice on your screenshot with your fonts and colours, but may not be good for other people. Similar to org-bullets and co. I can see how some people (I am among those people) want to reduce the markup noise beyond hiding emphasis markers. However, some people prefer not to hide text in buffer under "bells and whistles". Maybe we can create some kind of "prettify-symbol themes" replacing different markup elements in bulk with nice symbols/svg (e.g. inline results, block headers/footers, uninteresting property drawers aka org-custom-properties, bullets, etc)? WDYT? Also, CCing Prot as it might be of interest for him. Best, Ihor