GNU bug report logs - #49077
26.3; conf-mode for Java properties files uses incorrect comment syntax

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Spencer Nelson <swnelson@HIDDEN>; dated Thu, 17 Jun 2021 19:44:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 49077 <at> debbugs.gnu.org:


Received: (at 49077) by debbugs.gnu.org; 19 Jun 2021 13:33:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 19 09:33:30 2021
Received: from localhost ([127.0.0.1]:58817 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lub6I-0006xq-43
	for submit <at> debbugs.gnu.org; Sat, 19 Jun 2021 09:33:30 -0400
Received: from quimby.gnus.org ([95.216.78.240]:51684)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lub6G-0006xd-In
 for 49077 <at> debbugs.gnu.org; Sat, 19 Jun 2021 09:33:29 -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=k+Dhd8//p91s03PmvWvZp/DGlrQeggAaKCtvK3+xXxs=; b=p5v1H2HcdnF5xCFYacs97thkH7
 siLSU/daDmNiqxw6yHd4mqEsgzOyLtEIOHE1pFtn4/zEa8eRyEKCnent+QG+npXrhjUEsvdXIyDbQ
 nAmwlB0xwG1zKzFS7nlaq10dUlkadshyR+W2sohI7CeYwT8F6+yl5HxY/T3v4cKq8MDg=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lub65-000332-8b; Sat, 19 Jun 2021 15:33:19 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Spencer Nelson <swnelson@HIDDEN>
Subject: Re: bug#49077: 26.3; conf-mode for Java properties files uses
 incorrect comment syntax
References: <CAO-QhjWBcNXQXy6HzO8qbwSh+=mcee1TbCchD28a-V_Mp5Hhyw@HIDDEN>
X-Now-Playing: Oh Sees's _Face Stabber_: "Henchlock"
Date: Sat, 19 Jun 2021 15:33:16 +0200
In-Reply-To: <CAO-QhjWBcNXQXy6HzO8qbwSh+=mcee1TbCchD28a-V_Mp5Hhyw@HIDDEN>
 (Spencer Nelson's message of "Thu, 17 Jun 2021 10:10:19 -0700")
Message-ID: <8735tex9lv.fsf@HIDDEN>
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: Spencer Nelson <swnelson@HIDDEN> writes: > I'm up for
 submitting
 a patch to fix this, but it would be my first > contribution to emacs, and
 I'm a bit intimidated, so I want to check > whether it's reasonable to fix
 first. 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.7 (/)
X-Debbugs-Envelope-To: 49077
Cc: 49077 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Spencer Nelson <swnelson@HIDDEN> writes:

> I'm up for submitting a patch to fix this, but it would be my first
> contribution to emacs, and I'm a bit intimidated, so I want to check
> whether it's reasonable to fix first.

Sure, fixing this would be very welcome.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49077; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Jun 2021 19:43:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 17 15:43:57 2021
Received: from localhost ([127.0.0.1]:55182 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ltxvg-0004Sv-04
	for submit <at> debbugs.gnu.org; Thu, 17 Jun 2021 15:43:57 -0400
Received: from lists.gnu.org ([209.51.188.17]:49180)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <swnelson@HIDDEN>) id 1ltvZJ-0006jd-BQ
 for submit <at> debbugs.gnu.org; Thu, 17 Jun 2021 13:12:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60448)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <swnelson@HIDDEN>) id 1ltvZI-0004SP-E5
 for bug-gnu-emacs@HIDDEN; Thu, 17 Jun 2021 13:12:40 -0400
Received: from mxout23.cac.washington.edu ([140.142.32.140]:36856)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <swnelson@HIDDEN>) id 1ltvZF-0006yo-Aa
 for bug-gnu-emacs@HIDDEN; Thu, 17 Jun 2021 13:12:39 -0400
Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com
 [209.85.221.72])
 by mxout23.cac.washington.edu (8.14.4+UW20.07/8.14.4+UW19.10) with ESMTP id
 15HHAU2o031215
 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Thu, 17 Jun 2021 10:10:31 -0700
Received: by mail-wr1-f72.google.com with SMTP id
 k25-20020a5d52590000b0290114dee5b660so3218223wrc.16
 for <bug-gnu-emacs@HIDDEN>; Thu, 17 Jun 2021 10:10:31 -0700 (PDT)
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=lSdpc8CJiANqIMp9kGx16IORJBLCAsQE8HRDdHzpILQ=;
 b=VjHxCkie7HboSFOk5x2ByJmCSmCdHRMOC+yKWwcGWBhA3p/oWl9JjHSKe2G93psclj
 ZLlCjqXZiwbAurKmRaFrh2vti1aQPQtbStyIDdEcBkDLKCYi2Uqu88+x1PEP5D35GcTZ
 tO4oSZvn8HR2t3iGN788f4JndcKRbeT43yDp6BYTCfUw8NFknfVQVNgU/2FIOKUP08VO
 U61rFVZ9PJF5gpQZ6MEQhuPwiwq6vsGZQmHR2UWc4dsIaB3xWje3azh1FpArPZrQq6cL
 oiv+kj3IYi1zeN4Ym8U2aSEcCaSQwYLIzjPm7vzPaH65FfzCjyIVdp3iq3KxJoQ7FDpc
 Z0AQ==
X-Gm-Message-State: AOAM532h0Pk8IWYUim4au3wcFVzeuFNVIjT9B7hl5KmThxG8moM99hK8
 yq5Q53I2P5MpHNHfyVRtgmEWUhCfpz/uWprTy+aNCWLnU0y6NsmDXEzpEHUsMXBLDBJ/05IEHxT
 w2UGP7x4QJmMyAUWQUAsBOuyjSub4/8U2pmHGOqCyczqcD8/UKCYtLYHC
X-Received: by 2002:adf:c641:: with SMTP id u1mr7011024wrg.207.1623949829989; 
 Thu, 17 Jun 2021 10:10:29 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJy2Khwo1m1K6cRNrZNA9HGfoEKu731AhQzTpGy8xyoE4vC9a9ifmtA5jyUP6+0MnaaJXI9Qx9paE7WtKb0zPXY=
X-Received: by 2002:adf:c641:: with SMTP id u1mr7010993wrg.207.1623949829675; 
 Thu, 17 Jun 2021 10:10:29 -0700 (PDT)
MIME-Version: 1.0
From: Spencer Nelson <swnelson@HIDDEN>
Date: Thu, 17 Jun 2021 10:10:19 -0700
Message-ID: <CAO-QhjWBcNXQXy6HzO8qbwSh+=mcee1TbCchD28a-V_Mp5Hhyw@HIDDEN>
Subject: 26.3;
 conf-mode for Java properties files uses incorrect comment syntax
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
X-PMX-Version: 6.4.9.2830568, Antispam-Engine: 2.7.2.2107409,
 Antispam-Data: 2021.6.17.165716, AntiVirus-Engine: 5.77.0,
 AntiVirus-Data: 2020.11.9.5770001
X-PMX-Server: mxout23.cac.washington.edu
X-Sophos-SenderHistory: ip=209.85.221.72, fs=1583458, da=100399701, mc=13204,
 sc=3, hc=13201, sp=0, fso=93126908, re=52, sd=0, hd=30
X-Uwash-Spam: Gauge=IIIIIIII, Probability=8%, Report=
 HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0,
 BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0,
 BODY_SIZE_7000_LESS 0, BODY_SIZE_800_899 0, CT_TEXT_PLAIN_UTF8_CAPS 0,
 DATE_TZ_NA 0, DQ_S_H 0, FROM_EDU_TLD 0, KNOWN_MTA_TFX 0, NO_CTA_FOUND 0,
 NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, SENDER_NO_AUTH 0,
 SPF_PASS 0, SXL_IP_TFX_WM 0, WEBMAIL_SOURCE 0, __BODY_NO_MAILTO 0, __CT 0,
 __CT_TEXT_PLAIN 0, __DATING_PHRASE 0, __DQ_IP_FSO_LARGE 0, __DQ_NEG_HEUR 0,
 __DQ_NEG_IP 0, __DQ_S_HIST_1 0, __DQ_S_IP_1MO 0, __DQ_S_IP_MC_100_P 0,
 __DQ_S_IP_MC_10_P 0, __DQ_S_IP_MC_1K_P 0, __DQ_S_IP_MC_1_P 0,
 __DQ_S_IP_MC_5_P 0, __DQ_S_IP_RE_99_L 0, __DQ_S_IP_SC_1_P 0,
 __DQ_S_IP_SP_0_P 0, __FROM_DOMAIN_NOT_IN_BODY 0, __FROM_NAME_NOT_IN_BODY 0,
 __FUR_RDNS_GMAIL 0, __HAS_FROM 0, __HAS_MSGID 0, __HELO_GMAIL 0,
 __INVOICE_MULTILINGUAL 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, 
 __MIME_TEXT_P1 0, __MIME_VERSION 0, __MSGID_DOMAIN_NOT_IN_HDRS 0,
 __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_STRUCTURE_1 0, __RDNS_WEBMAIL 0,
 __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0,
 __URI_NO_MAILTO 0, __X_GM_MESSAGE_STATE 0, __X_GOOGLE_DKIM_SIGNATURE 0,
 __X_GOOGLE_SMTP_SOURCE 0, __YOUTUBE_RCVD 0
Received-SPF: pass client-ip=140.142.32.140; envelope-from=swnelson@HIDDEN;
 helo=mxout23.cac.washington.edu
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 17 Jun 2021 15:43:54 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

I noticed today that conf-mode.el's derived mode, conf-javaprop-mode,
isn't configured correctly for Java properties files.

The documenting comment for conf-javaprop-mode says this:

"Conf Mode starter for Java properties files.
Comments start with `#' but are also recognized with `//' or
between `/*' and `*/'.
For details see `conf-mode'.  Example:

# Conf mode font-locks this right with \\[conf-javaprop-mode] (Java properties)
// another kind of comment
/* yet another */

But // and /* don't start comments in Java properties files. Java
properties files just have single-line comments starting with #.
Somewhat obscurely, comments can also start with !.

I'm up for submitting a patch to fix this, but it would be my first
contribution to emacs, and I'm a bit intimidated, so I want to check
whether it's reasonable to fix first.




Acknowledgement sent to Spencer Nelson <swnelson@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#49077; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 19 Jun 2021 13:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.