From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EJuFMym+a19weQAA0tVLHw (envelope-from ) for ; Wed, 23 Sep 2020 21:29:13 +0000 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 6IBdLym+a18tNAAAB5/wlQ (envelope-from ) for ; Wed, 23 Sep 2020 21:29:13 +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 45B8194066B for ; Wed, 23 Sep 2020 21:29:13 +0000 (UTC) Received: from localhost ([::1]:46160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLCK8-0006Bi-8n for larch@yhetil.org; Wed, 23 Sep 2020 17:29:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLCJT-0006Av-GP for emacs-orgmode@gnu.org; Wed, 23 Sep 2020 17:28:32 -0400 Received: from mail-dm6nam11olkn2018.outbound.protection.outlook.com ([40.92.19.18]:34144 helo=NAM11-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLCJQ-0005a4-3B; Wed, 23 Sep 2020 17:28:30 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ROGtjbFShWKlkR2Y0o4VT3WCeRrm4RwNQUuFyAY9+ykTkkWE93eIzVknFuC4bmBpBcPgQtJR1pIdHMrxXeAtPzjiaHk8UjuQI2uVQ4xnNgRAmn1U0ATGAjVuTsN99MTEWMCHy81VsQeFPyKmugSULHkRXbBYFch/FciyqBr4cOm/FoXgpTYIVvEaMFan/tBnPYWmwGcFBlfM7ce/WraiHLaPSok+0qHj//pAvkhjsGfL2r8j+2JjAIxLzB489nMwllTjUcO7ToO7Iea0iiKQOZsDEquls+1NefYTrtWctNVSCRyvOa3U0cfPbJjcemn1ttwdFPsKYaDWyKsogCEwPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ud4AtcLTStMMfQ9tEzXzG8vuKifgm8vNjpe/eBTFYkM=; b=XP7LFpQNDZ6lphdzl9Ey67gD+dV2ru+PFakn9ArR2p85JrppcVjoZQKMJmztdOywP/FKmvjy5ioR+1uOwU0hl1bDI/ICF5oE7Mr38RqwCYkMyTc7ZogaKAkd4RoiBNf2+ZtL2a2oy79BXeNZdw01X9HXZKBlZLCw9tvm0OWj7aY89gRku/XinXLJXvl5dmxiyo0GLaMpDSD4lDNAmIUkK5hd1WYErt+MLG0wwR6B4u4Vhhhn3LQCKlbAti5VdCvMMIyvx0pAIgbLQFL0fUVNKxkupt3usaLcvdEwgbsoO+e5r6loTYzx+bgnyexQlairL1nWvc0Jv4ywegoWgfKGWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ud4AtcLTStMMfQ9tEzXzG8vuKifgm8vNjpe/eBTFYkM=; b=P1s6HBdcRSSFjKl5eucnPj0a2D1fCNBXnb2fqm7m6c82fXudboLLh/vo2HoKstM0gy16kWd/rKDiGXv1hsz1T0HVKe1CIIvf0aIzZzqekRyBaA5+vrdwwFQzlZ9qNH63w0yq0cSkAFugYvOIpMaV4G8P6PxNbGtmWyKHgpLUZSoXV0C7lqsXPNsuvqnaoHiEBDcLnH+K4of5gR/bHTzBAEGWn90vH6KiQhjztPtPdd+v6POm2z5ABWqHShfFhTKGnm8hbgdf1ZmgWvXrOVzPqlTU2BWuJYNwVe6G/90N+WCOymVwEqFNF7X0eliNG+qMoCmWGK9j0Z0fYkO3xAsxHA== Received: from CO1NAM11FT039.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::4a) by CO1NAM11HT139.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::318) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15; Wed, 23 Sep 2020 21:28:24 +0000 Received: from SJ0PR03MB5615.namprd03.prod.outlook.com (2a01:111:e400:3861::48) by CO1NAM11FT039.mail.protection.outlook.com (2a01:111:e400:3861::110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21 via Frontend Transport; Wed, 23 Sep 2020 21:28:24 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:839C9F91EFC864DA2B48237E1683C9D3EA7A95DC15BE848D253DD758D9822E9D; UpperCasedChecksum:54FBD93049A2CC1C35077A64479AF1DBB1EC87AC276A596E77BCF7882A9340E6; SizeAsReceived:7702; Count:47 Received: from SJ0PR03MB5615.namprd03.prod.outlook.com ([fe80::45d1:a1b8:b6f1:8378]) by SJ0PR03MB5615.namprd03.prod.outlook.com ([fe80::45d1:a1b8:b6f1:8378%5]) with mapi id 15.20.3391.027; Wed, 23 Sep 2020 21:28:24 +0000 From: David Masterson To: Bastien Subject: Re: Texinfo in Org-Mode but with texinfo syntax highlighting References: <877dslar99.fsf@gnu.org> Date: Wed, 23 Sep 2020 14:28:21 -0700 In-Reply-To: <877dslar99.fsf@gnu.org> (Bastien's message of "Wed, 23 Sep 2020 09:25:54 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Content-Type: text/plain X-ClientProxiedBy: BYAPR04CA0019.namprd04.prod.outlook.com (2603:10b6:a03:40::32) To SJ0PR03MB5615.namprd03.prod.outlook.com (2603:10b6:a03:27a::12) X-Microsoft-Original-Message-ID: <87v9g4kwsq.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from penguin (2600:8802:500:419:216:3eff:fee7:3d5d) by BYAPR04CA0019.namprd04.prod.outlook.com (2603:10b6:a03:40::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20 via Frontend Transport; Wed, 23 Sep 2020 21:28:24 +0000 X-Microsoft-Original-Message-ID: <87v9g4kwsq.fsf@outlook.com> X-TMN: [Mv3aJXLk9L8InPgD00m2ztMUPPF0GnhasZYG4WoaUx4JUXLNu/y8i0GqYbm29byy] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 1b103a33-c62a-4671-a983-08d860079a3c X-MS-TrafficTypeDiagnostic: CO1NAM11HT139: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xRoOWs/4p5fQUQSnDFV9wzUN+nThtsnbSf0ltH47GHk52diPcBg2YXDoNWylC3zmI3MsZ498/Fv3THf9WtkLovs+02SYmeYC0NQdu2TIUrA0pnb05uiGq205KxTPOfsvn2N2DoCrKdOvW2f/5hHr7u4JaFzy03QpjT+t1W1/M2A4N8YCheRGviIuywG2tJSVHqqmAqu6v7lngDKHQhTJgEp9+6BHaunJKhtVILvC2oPMVgcyTV743DQwLsgZ+A5B X-MS-Exchange-AntiSpam-MessageData: kqr3DXHjCVD32RlQ6jvFhCJNixwRb4lr49/IslSrRRVmhw3zDFmpDTLiMmzfj2nkvzyCA+zu4P9mTzNb2k5LOcNhdLbpdpivargRNA/Spz0d56WRqN6k6R3ib2serkT9rPjZnQzeqo0IHGI+EkVFbgN0xA+dU0V6rIB1LYbWKTN7zkT1oV0q9lyuUFuhL4dyUkB7pzW5Tg82NaSpolHRew== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b103a33-c62a-4671-a983-08d860079a3c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2020 21:28:24.3451 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT039.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM11HT139 Received-SPF: pass client-ip=40.92.19.18; envelope-from=dsmasterson92630@outlook.com; helo=NAM11-DM6-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/23 17:28:26 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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: Christopher Dimech , Org-Mode mailing list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=P1s6HBdc; dmarc=pass (policy=none) header.from=outlook.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-Spam-Score: -2.71 X-TUID: ROn0Vmb5qkEV Bastien writes: > Christopher Dimech writes: >> I am writing a document in texinfo, but I also have some commands in >> Org-Mode so that if I change my Emacs Major Mode to Org-Mode >> I get an easy way to traverse my texinfo code. However I would like >> to keep the syntax highlighting as the use set for texinfo, rather than >> that of org-mode. I share a way to do that? > There is some code out there to let you run multiple major modes in > Emacs, I would look into that: > See https://www.emacswiki.org/emacs/MultipleModes and perhaps check > for https://github.com/purcell/mmm-mode > 2 cents, Further 2 cents (now we're up to 4 cents ;-) ): There is a folding minor mode on MELPA that seems to be what you want instead of org-mode. You just embed fold markers in a comment (what's a comment for texinfo?) and fold away. However, why not consider writing your document with Org and then export to Texinfo? -- David Masterson