From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 03 19:57:37 2020 Received: (at submit) by debbugs.gnu.org; 3 Jun 2020 23:57:37 +0000 Received: from localhost ([127.0.0.1]:44742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgdGK-0006MR-SL for submit@debbugs.gnu.org; Wed, 03 Jun 2020 19:57:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:33666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgdGJ-0006MK-He for submit@debbugs.gnu.org; Wed, 03 Jun 2020 19:57:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgdGJ-00045Z-9B for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2020 19:57:35 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:42759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgdGI-0008Jf-HA for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2020 19:57:34 -0400 Received: by mail-ej1-x62c.google.com with SMTP id k11so4055125ejr.9 for ; Wed, 03 Jun 2020 16:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4Jqn5KR5fJtxpH2Zv6m108uYT30IPHg+jNsgdNmEz+I=; b=oTi3yqQUPZSeVS8sIY5AlRgZeP/j3HjwR6/u7EeoOt/hpIFnYVokLLm6ML4FZgb5hb cIDoj5yPgNBf+9yWe48iLekgiIuUAJ7b89Dc4umC6kPn87zUIm6yDPAF1lR4d/O24F5j Q0rsenycbPH5oWKErh8H1Q6ogm8XhE0kIWBtuFGNpffBnEy3w+YYCHQkyOVAgfQOVFXG LbWP55M0vJ26yNhL+5AA/CXw7NGO/avk89FPl9Xq1HRxzUoQI+iV8WSJGVIrk7cWriAu 8uf9KipXBRGAtN4fM1CRhH1wfF5ogHvTJfwiuK4Ax+uMjFnaerZ4IcoRJCsJaT0XDR5l +4cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4Jqn5KR5fJtxpH2Zv6m108uYT30IPHg+jNsgdNmEz+I=; b=BLZWFdk1QzmPK6ae1ZNpLnaht9TubRoc2wGCGx5ZxlGD6+Pf8hS7W3pjxQHHjoG0lu zS/xonRA/YxT8DYS5raGFtGt9A8shwi0pxJcdfBhuOzm5H1vN1KCZ0I9FtoBFy9kie0c 13MHVJJTJrfUJtx6HvkahPA+OCWz7x73+AW8uSz8YTe8GcFj+t9z79U7accbuNmy4Iyr AET7LRAp8owRqRQbzvm0ZuCPsgDtkdUEqtqolPgHqDw79R9kvHCdkDg1J2bsnVpA/LV8 KgApV84c6DTW9lQWyTXhFZQW4QpDfzdMTsf1RL1/Al/8VHXum9iBwDrkmy1rm/SCgPve ofdw== X-Gm-Message-State: AOAM531lf/yDIFpwqlLbQf8W6U5L3N6GlmDSOwf/I2oFJ/0gfv50OUyh yvApvahuS+Uw596sXX7OHcUDuuf5D4fO3cJoxtny7kR5 X-Google-Smtp-Source: ABdhPJxLR4B5HbDLAF74NDIJhWO7gnGh4FLC2wcha1DcGkt5Jhd5mdkqt/uDyhk6vvXFeOho/In/+P9d4jpsSHWb9Po= X-Received: by 2002:a17:906:3e15:: with SMTP id k21mr1642930eji.525.1591228652111; Wed, 03 Jun 2020 16:57:32 -0700 (PDT) MIME-Version: 1.0 From: Brian Leung Date: Wed, 3 Jun 2020 16:56:56 -0700 Message-ID: Subject: 27.0.91; comment-line in js-jsx-mode does not handle ReactJS markup To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000090cdc205a736ca4c" Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=bkleung89@gmail.com; helo=mail-ej1-x62c.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: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --00000000000090cdc205a736ca4c Content-Type: text/plain; charset="UTF-8" With the following example code: import * as React from "react"; import { render } from "react-dom"; const App = () => { return (
Hello
); }; render(, document.getElementById("root")); If you move to the live with the
and call M-x comment-line, the line is commented out with two forward slashes, instead of the proper {{/*
Hello
*/}} In GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20) Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: NixOS 20.09 (Nightingale) --00000000000090cdc205a736ca4c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
With the following example code:

import * as R= eact from "react";
import { render } from "react-dom"= ;;

const App =3D () =3D> {
=C2=A0 return (
=C2=A0 =C2=A0 &l= t;React.StrictMode>
=C2=A0 =C2=A0 =C2=A0 <div>Hello</div>=
=C2=A0 =C2=A0 </React.StrictMode>
=C2=A0 );
};

rende= r(<App />, document.getElementById("root"));


If = you move to the live with the <div> and call M-x comment-line, theline is commented out with two forward slashes, instead of the proper
<= br>{{/* <div>Hello</div> */}}

In GNU Emacs 27.0.91 (buil= d 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
Windowing system distrib= utor 'The X.Org Foundation', version 11.0.12008000
System Descri= ption: NixOS 20.09 (Nightingale)
--00000000000090cdc205a736ca4c-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 22 09:22:05 2020 Received: (at 41696) by debbugs.gnu.org; 22 Oct 2020 13:22:05 +0000 Received: from localhost ([127.0.0.1]:51810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVaXc-0001N4-QX for submit@debbugs.gnu.org; Thu, 22 Oct 2020 09:22:04 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVaXX-0001MM-LI for 41696@debbugs.gnu.org; Thu, 22 Oct 2020 09:22:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9/EFxaU6k8n8r3Ph9uniwLtaIYZ/8T8lH/urOXAaKwc=; b=jF9jOAH/twT5b4jjoOL+TcZ4ZA FT0G3HrCnFf0tHDjRzO3W00XAC/PhRRe8OEalXIG59RRBtZ2jzFmwnOOo3J3DzAeGFyv4qb3968Ul d2X49M25P85z1DqqJQnErlgZ35/+wxs934siMjrfgUnTo0kheVQeihpTBmYoUN59Pjh0=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVaXN-0003jK-Py; Thu, 22 Oct 2020 15:21:53 +0200 From: Lars Ingebrigtsen To: Brian Leung Subject: Re: bug#41696: 27.0.91; comment-line in js-jsx-mode does not handle ReactJS markup References: X-Now-Playing: Jay Glass Dubs's _Epitaph_: "A New Model For Emulation" Date: Thu, 22 Oct 2020 15:21:48 +0200 In-Reply-To: (Brian Leung's message of "Wed, 3 Jun 2020 16:56:56 -0700") Message-ID: <87a6wemm4z.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Brian Leung writes: > If you move to the live with the
and call M-x comment-line, the > line is commented out with two forward slashes, instead of the proper > > {{/*
Hello
*/}} Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41696 Cc: 41696@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Brian Leung writes: > If you move to the live with the
and call M-x comment-line, the > line is commented out with two forward slashes, instead of the proper > > {{/*
Hello
*/}} I know nothing about JSX, but googling for three seconds seems to say that the comment syntax is {/*
Hello
*/} ? In any case, I've now made js-jsx-mode comment lines in this way if inside a JSX block. But like I said, I don't really know the language, so it'd be nice if somebody else gave it a look-over. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 22 09:22:08 2020 Received: (at control) by debbugs.gnu.org; 22 Oct 2020 13:22:08 +0000 Received: from localhost ([127.0.0.1]:51813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVaXg-0001NK-0b for submit@debbugs.gnu.org; Thu, 22 Oct 2020 09:22:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVaXd-0001MX-Di for control@debbugs.gnu.org; Thu, 22 Oct 2020 09:22:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=e7Gb6Pz14PFwkttawadVvocQRM0CQtPY5J6fdmYyDy0=; b=JijsAjWQhhZzYtopmnTDVw3V4t K7/hE+dQc63mArEo9d16FpDC775dtknYV7yP+wp+j3I39Hv/WBOFh8biJvLJAvQUPKAe2njy4oUFY IA7Lb3s+Dk9zJ8Whp4hub5Ai8S2XgaVYmda/cm3gnRJHdtsW2bGVtEo3EVutY7mc/P5A=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVaXV-0003jU-Pa for control@debbugs.gnu.org; Thu, 22 Oct 2020 15:21:59 +0200 Date: Thu, 22 Oct 2020 15:21:56 +0200 Message-Id: <878sbymm4r.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41696 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 41696 fixed close 41696 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 41696 fixed close 41696 28.1 quit From unknown Sun Jun 22 07:51:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 20 Nov 2020 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator