From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YJDMHxIWj2D0EwAAgWs5BA (envelope-from ) for ; Sun, 02 May 2021 23:13:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oGCJGxIWj2DdYQAA1q6Kng (envelope-from ) for ; Sun, 02 May 2021 21:13:54 +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 2077515EBD for ; Sun, 2 May 2021 23:13:54 +0200 (CEST) Received: from localhost ([::1]:36834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldJPV-0006kB-AN for larch@yhetil.org; Sun, 02 May 2021 17:13:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldJP8-0006k3-T0 for emacs-orgmode@gnu.org; Sun, 02 May 2021 17:13:30 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:46648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldJP7-0007rZ-8S for emacs-orgmode@gnu.org; Sun, 02 May 2021 17:13:30 -0400 Received: by mail-wm1-x331.google.com with SMTP id k4-20020a7bc4040000b02901331d89fb83so2376234wmi.5 for ; Sun, 02 May 2021 14:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n+2YcPhPB7fpQBcJvKeR2sMT9lLucnCxKcJGV3/bRT0=; b=FScmYgxyWmRnbo/ZyFYglRivz3wOGkFgUiT2BUuik0eAePLP8mxpLCYby+sap+sJAR IV7Uh0y0gCprfzrtZ2bSCiveJKLBStg2lq7lgGEkXscjtTjrFRsz+2uWyz17nyjMlDbs F+V7I2/PjCQHBRFHOwHP1gQaRA2wIEM2sXarHDfaVj+lu5iAaEv304X293327oNv5hkL aOMImCExVWEIHcQqq4DiPh/KIbSI/HWYxJFGaygo0AbQU8hY3pcXsVs5eYBSLwrh2tns hwYnWatWx/7NH0YFqNFbL/Dq8Z4NeLkqkA3MC7N2vQLNYCnv6dQ/IDGcBUEDEu842tGF 6lfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n+2YcPhPB7fpQBcJvKeR2sMT9lLucnCxKcJGV3/bRT0=; b=UtGp+lO4nHe1b7ePG6ggf2Uo7NhCd0NIKF//0zfKZ8/o2H5cxOkqSi9/5u60SQnQFx t1485w/GLj5u9Z0VJeY61jBdVJc6tn/vT1P7goutY1HodtcEOpwRApwiHGlENyr8kdmj 6je3Wvrzh+2XTkXRIiXP2q0+Ybe3kMnhA/S4c7y6qC0XNspCYXddIkG6NSNwbirH3sYb WsiqwnDJSm95X+8jgbWNH8hSlXRgqFTF+3uMHK36upu4nil31ZCErq1TyqWVfx/96pr9 vgFi0484Eh+lPOYD5T3BA+wS4worLoM/sq4QeiWZF2JMPHZ0CfZ9WJOHUAKVbIeDAX7l c2MQ== X-Gm-Message-State: AOAM5300m36+ggccJL+ladRLlgjVTY4iERilwmjLLaEC+y2yo4INM/nq k/iBg7uoNbqkiq6xLShv59dj0qMwbYZ36sJ6BfI= X-Google-Smtp-Source: ABdhPJx9B+/m1enBx8Jh90UAwdy0iDAsBrERWlI0KR2RNoSTp0fxCXd0g8GK8NPMznTI/uHDxdQVeKfSdacqa56PKcI= X-Received: by 2002:a7b:c4c9:: with SMTP id g9mr22182066wmk.90.1619990007249; Sun, 02 May 2021 14:13:27 -0700 (PDT) MIME-Version: 1.0 References: <87pmzf4bd0.fsf@gmail.com> <87pmye51a3.fsf@gmail.com> <87zgxcgaba.fsf@gmail.com> <87r1iog85d.fsf@gmail.com> In-Reply-To: <87r1iog85d.fsf@gmail.com> From: Tom Gillespie Date: Sun, 2 May 2021 14:13:15 -0700 Message-ID: Subject: Re: [PATCH] Fontification for inline src blocks To: Timothy Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=tgbugs@gmail.com; helo=mail-wm1-x331.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=1619990034; 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=n+2YcPhPB7fpQBcJvKeR2sMT9lLucnCxKcJGV3/bRT0=; b=acqFkF6zhrFbyZEgsN0vA9kB6MIlU0BO3Ovga0Sp/XBxfv+Qqhe5DKjbUcGPwD6eJ8Yf0D as6cxLqh6adAq9lwfA6So0FE9sFh+B/eArJQomLMo95tTcEkUsW+bF+kbYLd8M+PlODWqY sburV7Gf/YTic+ACz/M5QwqeNKWVoDoLRRi+xwISMBm5LCtNbvoq4ixy0pckWPUsnPdLyf HthsvBVgHq44Jpnk4F2fjhFhzoo3VkCT2oT5eeuG3LZfhcBUhjGjh2hPB1aG+tqfFiMeh3 iyAESLs1ycEkPagFrNH1hvSqCX6YBBjPkFfwyJmSQoLqHVadSXt7+hPwPTMTTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619990034; a=rsa-sha256; cv=none; b=pdjA9pJJ84uvsqxT81ItbIRuRN3EgjNH/KYvtPHO/7zi3TJt6aOQ2TS3wJ+FlOT3/5X8VR eyiaulO26g4620EhZv3UNRzc5RwKY1fn5bP18Rd8VcdXLg8cG9aw5n1srYKeilK8G76Fmq rsaD5mszhGuytGL7UhSVELpvWzQ0NzA71bdmUl/f4qexKUpxfb2F0U7VOgyM/17O3FsQu6 /Sg5oyELHyG6wCUNZhSnM6wEQwPBvfQjQ3DCaRc5fpbsDC3PbdohrX7exHwzfixufsXv8j 8nas/mUkTytqe/JZJGyQ7FNFUaaBW5sDCsF6gOtjozuv5OasRXwq0uSaKpDEuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FScmYgxy; 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.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FScmYgxy; 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: 2077515EBD X-Spam-Score: -3.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: D/RHzIJ7lIaO > I see. I imagine the expected behaviour of such a function would be to > toggle org-inline-src-prettify-results and redisplay? Yeah, see org-toggle-link-display for inspiration I think. ;;;###autoload (defun org-toggle-link-display () "Toggle the literal or descriptive display of links." (interactive) (if org-link-descriptive (remove-from-invisibility-spec '(org-link)) (add-to-invisibility-spec '(org-link))) (org-restart-font-lock) (setq org-link-descriptive (not org-link-descriptive)))