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 WGG+D6wjXV80BgAA0tVLHw (envelope-from ) for ; Sat, 12 Sep 2020 19:38:20 +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 iPEcCqwjXV+jAQAAB5/wlQ (envelope-from ) for ; Sat, 12 Sep 2020 19:38:20 +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 B2C6A9400C7 for ; Sat, 12 Sep 2020 19:38:19 +0000 (UTC) Received: from localhost ([::1]:39728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHBLm-0004ob-Hv for larch@yhetil.org; Sat, 12 Sep 2020 15:38:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHApD-0006d2-8P for emacs-orgmode@gnu.org; Sat, 12 Sep 2020 15:04:39 -0400 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:46764) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHApB-00055t-Ks for emacs-orgmode@gnu.org; Sat, 12 Sep 2020 15:04:38 -0400 Received: by mail-qt1-x836.google.com with SMTP id r8so10489050qtp.13 for ; Sat, 12 Sep 2020 12:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:references:subject:mime-version; bh=mUS6DaOGDQS1Iw8RvtJZjTBn5v6molW9jUIsvvAh3mw=; b=MGTAZ3I1zoA6lTqYPaFvc2K079AJrAnSGUMlhHb4kbzBplc7Uwpn6sRdvxwHY2im5i YHzms+gLOXZayuXjR80O34FtF4uYvzx5N0QwTfkexHgNW/AbDp3IjrDlc+6QFljbZs9U eL07ckK1E8AFmpDNZbH3BF68AsP9abWkM17e6azmwFAS1SX5SGimosZxYolTO9WWQ7Qe Mvzv/iC1bNvPngJsuQSvv2zl1dw52bl5VDOHF5kUTg0fXLQqJCOiUGptvAm3/kXI4rG8 AyRsJKoUFwaSs+qrGXp1BEglbIkaUwlmLSZ/7eFVAiTC0r3AXX9q2tsf5XMe2beDyNDV UbqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:references:subject :mime-version; bh=mUS6DaOGDQS1Iw8RvtJZjTBn5v6molW9jUIsvvAh3mw=; b=OnsfODeNpSqt8ePtpEatGBmA/H/n+G4g5tTIGYbtuJTemHiCR+NOrj25zksUM0+ImA yddxZkIGcpbARe1lxyklxt8lkGkDUjewFNrSfSP6QXxVdf6MvrT2kMUwsi6x/vZpMfMR 96yupUbbdQrhdvjL2PiR4iNi1kZsVCf5j3lzaPm6i6kt1wLRYj1CYhVr36rZwEChmUB9 qZKnsAnI8S/xZYG6VoWsijRZsHgMaFV9+foR+E9BLWId5PmB4d2P9jBZIoMsvDTJw4O9 QOTgC5i1dnKN5Ofps4uzxP5u6VK2KSElBgtA541anaLWSBOxuscxCI2L2CoPk60IJViK xG+Q== X-Gm-Message-State: AOAM530Uw4I3XF63+ynGR/PoLtZZs8NswEKBHmQJsep7NhKXMQTjxkU3 N9geSfRiL3jnob/zwAJqjRP+1+VBkA== X-Google-Smtp-Source: ABdhPJzW7MHDPpLQK7fcnsJ+VjIgYK50h4Li4KfPCdLaBJKVmiJcaGXGAsYSS60hj1L2CuapvqLbyQ== X-Received: by 2002:aed:2b86:: with SMTP id e6mr7139984qtd.86.1599937476036; Sat, 12 Sep 2020 12:04:36 -0700 (PDT) Received: from [192.168.1.118] (128.67-212-35-net.sccoast.net. [67.212.35.128]) by smtp.gmail.com with ESMTPSA id d5sm8206523qtm.36.2020.09.12.12.04.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Sep 2020 12:04:35 -0700 (PDT) Date: Sat, 12 Sep 2020 15:04:26 -0400 From: CRSHCMDR To: emacs-orgmode@gnu.org Message-ID: References: <4a4f6286-0600-4e6a-90b9-174257e19a48@Spark> Subject: JS2 Syntax Highlighting for Source Blocks X-Readdle-Message-ID: c42db6f9-12dc-45ea-ad34-421596f9c4ab@Spark MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5f5d1bc0_39b7aaa2_155" Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=typkrft@gmail.com; helo=mail-qt1-x836.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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_FROM=0.001, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 12 Sep 2020 15:37:29 -0400 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: , 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=gmail.com header.s=20161025 header.b=MGTAZ3I1; dmarc=pass (policy=none) header.from=gmail.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: -1.21 X-TUID: HlMk69OUng7Z --5f5d1bc0_39b7aaa2_155 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Is it possible to use js2-mode instead of js-mode for the syntax highligh= ting of code blocks in org-mode=3F The reason that I ask is that the curr= ent js-mode syntax highlighting leaves something to be desired, and is fr= om my perspective broken. =46or instance after declaring a variable, the = usage of that variable is no longer highlighted. You can see the differen= ce here=C2=A0https://imgur.com/a/4b2LyhE. I have tried using the =E2=80=98org-src-lang-modes, but I=E2=80=99m eithe= r not setting it correctly, or I=E2=80=99m barking up the wrong tree. Very Respectfully, Brandon --5f5d1bc0_39b7aaa2_155 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Is it possible to use js2-mode instead of js-mode for the syntax = highlighting of code blocks in org-mode=3F The reason that I ask is that = the current js-mode syntax highlighting leaves something to be desired, a= nd is from my perspective broken. =46or instance after declaring a variab= le, the usage of that variable is no longer highlighted. You can see the = difference here&=23160;https://imgur.com/a/4b2LyhE.

I have tried using the =E2=80=98org-src-lang-modes, but I=E2=80=99m eithe= r not setting it correctly, or I=E2=80=99m barking up the wrong tree.

Very Respectfully,
Brandon
--5f5d1bc0_39b7aaa2_155--