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 7iDgEawjXV+zCAAA0tVLHw (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 KCfhC6wjXV8QEQAAB5/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 B75859400D3 for ; Sat, 12 Sep 2020 19:38:19 +0000 (UTC) Received: from localhost ([::1]:39680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHBLl-0004mq-6a for larch@yhetil.org; Sat, 12 Sep 2020 15:38:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGyFj-0006uq-NP for emacs-orgmode@gnu.org; Sat, 12 Sep 2020 01:39:12 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:42734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGyFh-0007MX-O7 for emacs-orgmode@gnu.org; Sat, 12 Sep 2020 01:39:11 -0400 Received: by mail-qk1-x736.google.com with SMTP id v123so12039189qkd.9 for ; Fri, 11 Sep 2020 22:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version; bh=gjrPbeTzeJ+RHsTFusDZcbMEmbnlSGYzkeZn0NBmWVY=; b=ESewZagBTtWWmSKlozbImzUuAH61LQsYmDi2ULiiLtaTFNVhSEKw4018MVgrz1a+jt 7HhT1WmSX6nGFoshA3Zt2Ecq0aZdGlePMmjPM3rSrBgeKp9dJ4caIx/FLERY9luny7Ze AVWHmAF8InVg0B8Dq9uuyhysUzVoOyd3udStascEJK1MphqZswXwbuiUgxASyLHzL99y oKv/vkUW5Xnx3QEH12bTxqqjdGG7gtbTDOI2AYIhGYeoRDXTMd2MWVkQ/bcbsvNl74El 37qjGMAqCvIA2SDBw2fOp6Vz19SG73RdInwppVpdboqXKGGCtG3GPPZzvuVpixIJyQR9 NzKg== 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:in-reply-to:references :subject:mime-version; bh=gjrPbeTzeJ+RHsTFusDZcbMEmbnlSGYzkeZn0NBmWVY=; b=AVEH8FIcg3Jry73sFxjtqsmoFnwlXpjlZhC+98KTey4iLbKF76SvSXCHspNRN8SH2R qw9vcX14K0iYLrzc9NEYVOMfYvHR8ogfWY8d8j03cG1eQuONtWEn6EyWdmL3zr4cCivC UWyDpsFf21+AR5qzptByv7ajvjOZYlLWeqWIGn/PzpeqwijCi1uHpr97iuXtHGFiA1U6 szKSVR/5pGaGOTWjvSzynbvdEFQjo7sBXwEvRZ5Zyy7DZnNDDrdeueLB4+iMESW2cTA1 b3VRygZyUAx7iL4BNqgGCEjaGaIKcAQusPW+kmIogJHfpZpa7cxHkOjF6Zs9x9ELqe/0 eKNw== X-Gm-Message-State: AOAM533LFOqbIdlOsT+ZgtmpzWR+qSInLZXFd+Jh7suAbmge1UAnRN6L g0VxrXb7uZFJA9CFDULv304TdQA11A== X-Google-Smtp-Source: ABdhPJzOYs3n3DWmwGyq3ZRA3tTkAPcoIpbMrsrOGNLXwnm84eyUT3qX6qMlpr6icHH0fugFDXuUXg== X-Received: by 2002:a37:a5c6:: with SMTP id o189mr4350599qke.209.1599889147721; Fri, 11 Sep 2020 22:39:07 -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 x126sm5678882qkb.101.2020.09.11.22.39.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2020 22:39:07 -0700 (PDT) Date: Sat, 12 Sep 2020 01:38:59 -0400 From: CRSHCMDR To: emacs-orgmode@gnu.org Message-ID: In-Reply-To: References: Subject: Javascript Syntax Highlighting X-Readdle-Message-ID: cddad2b1-82b8-47d9-a3eb-4ebba209978b@Spark MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5f5c5ef8_3c5991aa_155" Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=typkrft@gmail.com; helo=mail-qk1-x736.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=ESewZagB; 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: rCFC1dSc9ekD --5f5c5ef8_3c5991aa_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 --5f5c5ef8_3c5991aa_155 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Is i= t 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, and is from m= y perspective broken. =46or instance after declaring a variable, the usag= e of that variable is no longer highlighted. You can see the difference h= ere&=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,&=23160;
Brandon
--5f5c5ef8_3c5991aa_155--