From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MHWrIoVuhmAjMgAAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 09:40:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4M5VHoVuhmCBHwAAB5/wlQ (envelope-from ) for ; Mon, 26 Apr 2021 07:40:53 +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 F3D3623695 for ; Mon, 26 Apr 2021 09:40:52 +0200 (CEST) Received: from localhost ([::1]:52268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lavrP-0008IP-OQ for larch@yhetil.org; Mon, 26 Apr 2021 03:40:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lavqg-0008G1-Mf for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 03:40:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50452) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lavqg-0000n2-Dv; Mon, 26 Apr 2021 03:40:06 -0400 Received: from [2a01:e34:ec2b:7150:fbd9:45e9:9270:4ceb] (port=32906 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lavqc-0000ei-3j; Mon, 26 Apr 2021 03:40:03 -0400 Received: by guerry (Postfix, from userid 1000) id EF23B1A610B4; Mon, 26 Apr 2021 09:39:59 +0200 (CEST) From: Bastien To: Nick Savage Subject: Re: [PATCH] Improve code readability in org-set-font-lock-defaults In-Reply-To: <870e30e8-d912-df41-c5f7-6fa3f9be7fa2@nicksavage.ca> (Nick Savage's message of "Sun, 14 Mar 2021 22:14:38 -0400") Organization: GNU References: <870e30e8-d912-df41-c5f7-6fa3f9be7fa2@nicksavage.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Mon, 26 Apr 2021 09:39:59 +0200 Message-ID: <87sg3dh4ts.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain 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: emacs-orgmode@gnu.org 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=1619422853; 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; bh=h8Vd5bIYgKdakJdJnsZUQ2ppKQt/eAbnxq4f9kSKdIc=; b=ojAkBRCJ6rjKxGyT0I7UMXSvYeMZJRuSplynzbbtd5wSuCnxy2SpFMv+L0jtM5Z/ppiMvc 7recb1iT5jEcwd+FnbLX7p/pJu1fp6SZYBn6WrGwqaper2fmSe10MGlITCGIT9NuCaAH/+ +w5St2aKjo69qd74jUX3j+V0XIjzMENXHkAaqxY/Dy2bC9kfkwEf3dqk8OL9vlfwsscJ1j PsBHdo5j+C5cW75mmt0OkrVVGwb6TsduX+IsPlXrslTc9esRlQesA5AciAPTNfxCeYMsU2 6XdHwXf5+0ijzMmm0HaJG5vmuvxvfsIT0HnZ9oX+zDcCZ4msHWFBINqcop8wqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619422853; a=rsa-sha256; cv=none; b=jc+dM/IQxiC2mphaSs/BnxrSKt5qiqqYZXAOC/kNywaaWdvkItkJYzbOmylCT2cGUh8BvB iMVv26JUBPJbz94NU8PzLp9KxN8DX1KyS76lChAO9tWZY34roXK+yAomRDS9wm5RTGmL3L a9s4B8YKxcjvnPJ0YgLxafcCFrHGPJiiJxJudYfGM089k2p0eugWUKcGRJm8hHFg2BHe49 lULK1i/xS/vlgRK0039i3e6JOkQ1krMpVhrS2PD4yBp99mPtlh2STDK5tT5jzkTTYZmmku jdnVfn2IiUxNZlTbzEmjlRlJae42AXEj1zfJvohaBix9GcQ4XtrpplOVBK3M3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: F3D3623695 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: K/fW4SmZ8Co2 Applied as 38842b2ff, thanks. Nick Savage writes: > I'm not sure what the appetite is for small changes like this, but I > have attached a small patch to improve readability in > org-set-font-lock-defaults. I was trying to understand how > org-emphasize worked and came across some code that I thought could be > simplified. These small improvements are welcome, thanks again.