From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9148: Make `comment-normalize-vars' more syntax-aware Date: Thu, 27 Jan 2022 18:57:09 +0100 Message-ID: <874k5pkqoa.fsf@gnus.org> References: <87ipqu5pwl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5497"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 9148@debbugs.gnu.org To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 27 19:02:35 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD96Q-0001DL-L3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jan 2022 19:02:34 +0100 Original-Received: from localhost ([::1]:49264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nD96P-0000hz-OU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jan 2022 13:02:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nD922-0004XR-HD for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 12:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nD922-0003XV-4H for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 12:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nD922-0004oW-5G for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 12:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2022 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9148 X-GNU-PR-Package: emacs Original-Received: via spool by 9148-submit@debbugs.gnu.org id=B9148.164330624018419 (code B ref 9148); Thu, 27 Jan 2022 17:58:02 +0000 Original-Received: (at 9148) by debbugs.gnu.org; 27 Jan 2022 17:57:20 +0000 Original-Received: from localhost ([127.0.0.1]:56494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD91M-0004n1-7X for submit@debbugs.gnu.org; Thu, 27 Jan 2022 12:57:20 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:33384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD91K-0004md-GJ for 9148@debbugs.gnu.org; Thu, 27 Jan 2022 12:57:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=vU7rCnZlG+Xk/Y7G04/nFmLdABPNilNd+o8G8WlFUHw=; b=Tx7IK8/DCAKoSPbG7Jh1jBzmYc 2AMKc+01Qcu3DXlhvOLO1v3zBCTrpes5VQUQMTiXcrMRKeg4IWhKjxiJb57J1luhZO74cpS0QlqA4 Yx8qddsWJkYpH4z+BEObIot14xe/uhZMC0QX4RXxklCVpMXAko/J3OIrI5qYXLZ6XDSA=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD91B-0000md-Sq; Thu, 27 Jan 2022 18:57:12 +0100 X-Now-Playing: David Sylvian's _Everything And Nothing (Bonus)_: "The Scent of Magnolia (edit)" In-Reply-To: <87ipqu5pwl.fsf@gmail.com> ("=?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?="'s message of "Fri, 22 Jul 2011 16:52:10 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225375 Archived-At: =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec writes: > Suggested solution: > ------------------- > > Modify `comment-normalize-vars' so that it uses the syntax information > (current syntax table, `syntax-table' text property) _only_, whenever > `comment-use-syntax' is set and this is possible. (I'm going through old bug reports that unfortunately weren't resolved at the time.) We now have some multi-mode modes in Emacs, so I'm not sure what's being proposed here is necessary these days (or indeed it has been fixed in the decade since this was reported). Is this something that is still relevant? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no