From patchwork Tue Jul 4 14:48:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 106983 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1091592qge; Tue, 4 Jul 2017 07:51:45 -0700 (PDT) X-Received: by 10.55.200.75 with SMTP id c72mr50581164qkj.140.1499179905064; Tue, 04 Jul 2017 07:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499179905; cv=none; d=google.com; s=arc-20160816; b=iCY+NYJTIw5ULnpzVBboyR9R1VoIUDv8jeCPPGQTgGqJVpSHTHY8UZeyu/iPAyEchb cGrfVuBTDo+buEaypLMX5vFzFcIBXVjEw0h+/C9tJuulYXukOi6odiorNBJWDo9d4zzs 05yPmAbPdh9OVn4ne9FgddBB71exTKG5xoDl7L7sAIl9tPjgOcv/vsRPBkkOB3oqJnNz VS/unRkhPtoKFyNcI1nKy+UoFOHpUMNZIJ0J4M23x59kC8KxW18aSqFgJn1FqIZhHWYE CxVouDktyHrANiiZQfl+9OD37wUMRf1JBF4WzVcdaowBEp+oOFdzqNCOtYgWRd/fAx0A 10QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=cfnWI7rRuE6OxcBRMroO3e0nUsXaXCxvO7XTSwiydKw=; b=GwUKO2Or+S6zZXd3t1E5OCNM+gAmexroKndGXny4OA4P2FGlv3GMNI0Nk/nt0eppd4 AebAu9yUmqwd0LmviImgUBBzt/+9YEN2cPXeqFrJqOKKbaIImgmzef9iwQusp7aCEO9c EF6wDkf9BynVliFksShzPjmfzhv8tn1B7MpdJR8kLugdGbDYOBywlSmpUIw1VqSfIYff JwveU9P/5ri+Dq77nhU3aUcnKdIq5PeS7PVKk/khY6nK/ll5MNraAvWgTsMcSx4xHdQX 3N0KOCc7uRFAkm5seIWg+rfyOTZROjvbw6IXeL+2fUK6kEMXZnv6/Drhv79SsbhpaFQk umfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=BxNNg0wC; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id t3si6737584qkb.18.2017.07.04.07.51.44 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 04 Jul 2017 07:51:45 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.b=BxNNg0wC; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:41773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSPB0-0002jX-DD for patch@linaro.org; Tue, 04 Jul 2017 10:51:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSP7i-0008Di-T7 for qemu-devel@nongnu.org; Tue, 04 Jul 2017 10:48:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSP7i-00017g-2v for qemu-devel@nongnu.org; Tue, 04 Jul 2017 10:48:18 -0400 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:35589) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSP7h-00016f-R8 for qemu-devel@nongnu.org; Tue, 04 Jul 2017 10:48:17 -0400 Received: by mail-wr0-x22b.google.com with SMTP id k67so249661502wrc.2 for ; Tue, 04 Jul 2017 07:48:17 -0700 (PDT) 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=cfnWI7rRuE6OxcBRMroO3e0nUsXaXCxvO7XTSwiydKw=; b=BxNNg0wCuD0ZTqOkiz5EeP8lg4phCx8OziCCUryO9RwpIOpb/C//s0yPPwZ7BK+txI bQlOU1wlevMskKuE0sauC5LhbFTMgxnrM7Iu7fttbXE8sQ0vCAHArwj8Z9hWyZMu2Znr n0rgWFqlPB8urpljG4K6Q6Qr0ycti8XhcuuYY= 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=cfnWI7rRuE6OxcBRMroO3e0nUsXaXCxvO7XTSwiydKw=; b=LtgmusUMglDyY4AJnUxormkcoBSeeP6h5uXUZz5p7GRptO3c9m8ZjpFR2UJ14SPhXV D+54byHOiGPADoHOlurMQtuOIW6f8d/EICTIf9PJ1IuLtJSjHp1Gzf5PjADfsbMv2sp7 +46E1RCe2Os6b++VsKy7W557XfD3bxHi/gzbAdEJT52m+8uXXXKaYITENHPcR0Zkv8xS kHpe+4W21Bmn5O+d0EOBCjqOBlPyMLvNZWN21eoSKbdr1X20TRf11DZPVHLgJTEzpOq1 VpOIDywM3bhuXz+ksIzQMdCrLuJB5TdQ+RlAXC+VVP2EMEsOucFXFMe+u9eAiy+BH0yX T7WQ== X-Gm-Message-State: AKS2vOx3ur8kW6TcHHQmxFKx6HuHp1Q/yjyBA40EelBEr6xve2c747+K CZ4ZIWTfXb5aUZ/L X-Received: by 10.223.177.213 with SMTP id r21mr41007509wra.119.1499179696696; Tue, 04 Jul 2017 07:48:16 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id i131sm24325080wmf.0.2017.07.04.07.48.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 07:48:15 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 0266A3E21FA; Tue, 4 Jul 2017 15:49:11 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 4 Jul 2017 15:48:53 +0100 Message-Id: <20170704144859.17644-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170704144859.17644-1-alex.bennee@linaro.org> References: <20170704144859.17644-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22b Subject: [Qemu-devel] [RISU PATCH 05/11] risu.el: derive from text-mode 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: qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As RISU files have copious commentary it seems better to derive from text-mode so we can access things like spell-checker short cuts ;-) Signed-off-by: Alex Bennée --- risu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.0 diff --git a/risu.el b/risu.el index dff9337..1875d02 100644 --- a/risu.el +++ b/risu.el @@ -39,7 +39,7 @@ ;;; Code -(define-derived-mode risu-mode fundamental-mode "RISU" +(define-derived-mode risu-mode text-mode "RISU" "Major mode for editing RISU control files." (set (make-local-variable 'font-lock-defaults) '(risu-font-lock-keywords)))