Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2541169rdb; Mon, 5 Feb 2024 09:32:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQbdTGB2NN1U0YkiPbJOdmWJxXFvwR3e+3PdRm5iuhuMG6eQbCiRBwj8slzWifoAhAt/fX X-Received: by 2002:a17:903:40ca:b0:1d9:c17b:43ff with SMTP id t10-20020a17090340ca00b001d9c17b43ffmr259686pld.3.1707154352468; Mon, 05 Feb 2024 09:32:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707154352; cv=pass; d=google.com; s=arc-20160816; b=LV1YNiMsVLrqiWlfs93WN4YJKqjLGMVQhjZox4d30FWvM1FoAW6mhiSwVpAhZBjLzi WXzDKETQI4EWu6VbGiLziGFXiVPOFZKyywRyTSLvur/eH1xYqlJiiZTyIzJ4cddXeEJF 2Y3SdOL+k9VVZDAj9kxXzFdnAJXUWjjW1lWLyVRAxV8bU6Ueu+++PL91UkwLJSWf/PrD WVlmN0upPv11Ks1CN4JfQpK+3+7h+64a8My+Fb2KqaF2fWZGbPQl+4NEVyaLsWSwHOfo DcJBqmJVF1kIeDBlXpa2/E0iYSjUop6E8DHyR6nKgnAJ8ftX9YkupUySjQIuMjxjEPKc SvYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=MCk4AMP7OTPhC5gw4fooEf9VsrtizbEaHd64UMSzPt8=; fh=EQDriMSE+BUFlgCG3gFW4WB/R+dlvEnpxWIGN/tEotE=; b=MnQ2jXDksihRbaQM1B9R88nqEWpL63eYFh9O4SHatqWkh7EpCZf3I9bkYigGEGBVb0 X1L3+Ih0oNHY3Yi1ctQ19EvmD+haugEYlIvglAB1ee6+6Lw2wrWTXRd8J/KMIoi+ojJl Mi2qGlAP2pIgKDnrXxvVTAJ6mcRFeN/r1honipv1+MbuAv8mPgpGyA9WP+bE8cKggGvx 67AHF1Zoh1b5b38RwlRVH+Zpmq9FuvYaXvsDfp2+5jbe88mgA4QWRqHxxhINV/C3vI1I RSpSE1fbktKmYH9WwMGXnWuh33242ePIQJQaFaEDG37vCYIAdRwNIGuQf9tTyLWwfFgU hM1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=nidtQxCV; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-53092-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53092-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net X-Forwarded-Encrypted: i=1; AJvYcCXIOa3pkU4XAte9cpMMC3UlvJ4At4o50ysgPqyMU4sodMfAbFg+PbhR33tssSAL1nyg4F5sMVg8A/chbPlDD6hykjDgWbzXWL9dV8l3HQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l2-20020a170902ec0200b001d71a0a37d7si134982pld.542.2024.02.05.09.32.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 09:32:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53092-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=nidtQxCV; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-53092-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53092-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id CB4BCB26EE1 for ; Mon, 5 Feb 2024 17:23:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 833FD44C68; Mon, 5 Feb 2024 17:22:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="nidtQxCV" Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36D07482E1; Mon, 5 Feb 2024 17:22:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707153773; cv=none; b=EOvdWW2RTNamOSu6HolYkcC0a6hFf5hLPOreV5gn58ZTZ1QbqW66Y82og/k8VW9Zb1UWGIeYQx/Tu90Q7jtTbmSeBCVrqfaO6gm842WD/L10UAhCqRggYL4VcueFtfG8BFhwB0kCS6gST5PR3kEReztZFED4E8oC85OrQdXZ8Z4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707153773; c=relaxed/simple; bh=hIRSfmrQg0Rn/nYcx47/cZU9CRerlJJPETPX4UA4gqQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=PEhqNZuPg0sGYNFCirovhZHiSyJZ+G/H9/2PLauDstRDOuZeJzgIl/eeo0XnjEQK+qIKIgemyiTdh2KkR1NiLQnM/wqoy5oq8ExYBWEFlh8qqUmYpfiSiKcQgW8CwOcWmjURBWxWeeQSYl99jykW4mN8ZuMeioZN3P3i4gCuRAE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=nidtQxCV; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 6E1FE47A9F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1707153771; bh=MCk4AMP7OTPhC5gw4fooEf9VsrtizbEaHd64UMSzPt8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=nidtQxCVgS1Mjo9RVySalTR77hYfvnkqTIjGHxtiKlU/1cDSm3p+kNOJpsmFmxwzp FnkQ8OAuJlzWlPk6boNxi/z7m58tPeDSQodCpzOjysPfZuTee6EeKBKUVtpBq8/spl M8ySiAWlTIkxn09KJzTmBLXniXHvh0VQPpE6DMfYLlY5Bw5Gf2XGGKSmYhdhtCMveo deBPQ8chsER//FIC+gBHGbrL2UUGsVjnMc6DISV4uGOk4nGEwuVLs5a6w4RVC+XVqJ lSTEg5BaqxXHFif8B8JZp4hcJCsKhUoYkNHwnVmkxuu8B8H6f2iYE7NQvlGmjA9mdI EYnPUtIt/d9PA== Received: from localhost (unknown [IPv6:2601:280:5e00:7e19::646]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 6E1FE47A9F; Mon, 5 Feb 2024 17:22:51 +0000 (UTC) From: Jonathan Corbet To: Thorsten Blum Cc: workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Thorsten Blum Subject: Re: [PATCH] Documentation: coding-style: Update syntax highlighting for code-blocks In-Reply-To: <20240203223926.5077-1-thorsten.blum@toblux.com> References: <20240203223926.5077-1-thorsten.blum@toblux.com> Date: Mon, 05 Feb 2024 10:22:50 -0700 Message-ID: <87cytavn9x.fsf@meer.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Thorsten Blum writes: > Use c and elisp instead of none in code-blocks > > Signed-off-by: Thorsten Blum > --- > Documentation/process/coding-style.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/process/coding-style.rst b/Documentation/process/coding-style.rst > index c48382c6b477..a75c7044d8b7 100644 > --- a/Documentation/process/coding-style.rst > +++ b/Documentation/process/coding-style.rst > @@ -203,7 +203,7 @@ Do not unnecessarily use braces where a single statement will do. > > and > > -.. code-block:: none > +.. code-block:: c > > if (condition) > do_this(); > @@ -660,7 +660,7 @@ make a good program). > So, you can either get rid of GNU emacs, or change it to use saner > values. To do the latter, you can stick the following in your .emacs file: > > -.. code-block:: none > +.. code-block:: elisp Applied, thanks. jon