From nobody Mon Feb 9 23:29:31 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 149805999406296.33528201177865; Wed, 21 Jun 2017 08:46:34 -0700 (PDT) Received: from localhost ([::1]:54760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNhpu-0001KX-HN for importer@patchew.org; Wed, 21 Jun 2017 11:46:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNhlm-0006D5-Px for qemu-devel@nongnu.org; Wed, 21 Jun 2017 11:42:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNhll-0002qV-B9 for qemu-devel@nongnu.org; Wed, 21 Jun 2017 11:42:14 -0400 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:35633) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNhll-0002qH-4q for qemu-devel@nongnu.org; Wed, 21 Jun 2017 11:42:13 -0400 Received: by mail-wr0-x22f.google.com with SMTP id y25so100920227wrd.2 for ; Wed, 21 Jun 2017 08:42:13 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id i7sm13970830wmc.29.2017.06.21.08.42.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jun 2017 08:42:08 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 3387C3E0550; Wed, 21 Jun 2017 16:42:51 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KIzeihXmYJoDPmvc++cepWspnAnRTwkkvUe5QMRl8ao=; b=YF2GofxPHZmeactEKkVa/dN+6Lh48hxQQFhMEEDB3t0NzjLmXp1F5wu9Frzk1YY46s CX71beP6xSqCTcJj99ogCtxzIvxuFC1U73kZTjFWZp/JswWy4uMMMvdsyMjUu/02H5TK 6/fP0Lh4+8JCSPHea59D4pwe4dC653ZXL95Jw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KIzeihXmYJoDPmvc++cepWspnAnRTwkkvUe5QMRl8ao=; b=aF2LnhDXNQm0rxOuo3kkCx/erCoSGX4IE1s3NgD5YMvRkU1TwbraBa1Ked/4Cvelud ALyu2MTO1Ts2lBrQnYIu6095PA/h3XLXvfJAxQ++lnUXKlqGgwL8Niz3TyzbXpOQ6Nyj ZLP6b7sbkc2JFSLSAlSna4c9ijOxoQpOrdTw/sGycgeRUyhyju04Ebg19ofVasjuuk6f Y4eYpps3iQShFiZgzv9TuSdcOSWW5xKDvo9O0rau6PLZxxZR9KXT+bxvPlrlR8W3rWEu 1LwdRrHu9Irdhx42CSzOGRSR2+FC2bJ39lQq0Zb4LBH+eUSDsdGbzlYyE7zNur3YCQTo gARQ== X-Gm-Message-State: AKS2vOyPWdAwtGFs4p2C90FDjQ5y6nvklwn0d2rvtjHeKHfVeHV13CJe WUKxA83MTNSSTDnM X-Received: by 10.28.23.138 with SMTP id 132mr3106843wmx.114.1498059732133; Wed, 21 Jun 2017 08:42:12 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Wed, 21 Jun 2017 16:42:35 +0100 Message-Id: <20170621154244.28309-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170621154244.28309-1-alex.bennee@linaro.org> References: <20170621154244.28309-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22f Subject: [Qemu-devel] [RISU PATCH v6 01/10] README: document the coding style used for risu X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 We also include the an Emacs .dir-locals (as per QEMU) that enforces this layout. Signed-off-by: Alex Benn=C3=A9e --- .dir-locals.el | 2 ++ README | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..3ac0cfc --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,2 @@ +((c-mode . ((c-file-style . "stroustrup") + (indent-tabs-mode . nil)))) diff --git a/README b/README index 4b37b4e..858a349 100644 --- a/README +++ b/README @@ -42,6 +42,15 @@ architecture that we support and that you have a cross c= ompiler installed for. This is useful for confirming that your changes to risu haven't broken anything. =20 +Coding Style +------------ + +risu follows the same coding style as the QEMU project, namely 4 +spaces (no tabs) for indentation and the One True Brace Style variant +of K&R. The source tree includes a .dir-locals.el for Emacs users that +will set this automatically. Other editors are available. + + Usage ----- =20 --=20 2.13.0