From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71380: 30.0.50; Submitting php-ts-mode, new major mode for php Date: Fri, 07 Jun 2024 09:49:08 -0400 Message-ID: References: <3686989.dWV9SEqChM@3-191.divsi.unimi.it> <2169161.yiUUSuA9gR@3-191.divsi.unimi.it> <2068418.YKUYFuaPT4@3-191.divsi.unimi.it> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32858"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 71380@debbugs.gnu.org To: Vincenzo Pupillo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 07 16:11:35 2024 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 1sFaJZ-0008Fx-Kl for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Jun 2024 16:11:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFaJM-0000VM-2E; Fri, 07 Jun 2024 10:11:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFaIs-0008G9-2p for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 10:10:51 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFaIp-0004rP-0B for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 10:10:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFaJ4-0000cR-63 for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jun 2024 14:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71380 X-GNU-PR-Package: emacs Original-Received: via spool by 71380-submit@debbugs.gnu.org id=B71380.17177694182241 (code B ref 71380); Fri, 07 Jun 2024 14:11:02 +0000 Original-Received: (at 71380) by debbugs.gnu.org; 7 Jun 2024 14:10:18 +0000 Original-Received: from localhost ([127.0.0.1]:33010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFaIL-0000Zw-Ly for submit@debbugs.gnu.org; Fri, 07 Jun 2024 10:10:18 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:14354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFa4A-00084Y-CP for 71380@debbugs.gnu.org; Fri, 07 Jun 2024 09:55:40 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 368F7100043; Fri, 7 Jun 2024 09:49:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1717768151; bh=nQeBDXNJBzeQ/b6WR0/Bb7nlKg5iizR7QpKlJdql56U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ii59vHfrwp9u1XytNFmYClEMNhuP0LSZ2bo4cBnj0v1MkIp6mSk0AD+bLzqfq1vbW cxRyDcTOslG35z8YuNYhhTmtmg63f8rQgqGo3T7qiS2J34g/UEzfry4YFjsy7DF9z5 xYpi/MKDIb4rBiYSS7ZxL4AtjBLtTbPK56F8xkXLkEjPBqz8cfnKJEynLXhIZrxkFt 06DHvayjOhIrpMMva8+h9rk04jwKVySmF2fUKFEFv20aAcQgI3dEM1WFUH6SiTZ33f LpG5MKeYAFBBwFuSvghOjV6RWE2huBkqxcHAIQCyBoHlM3NSZxCAITINJT0ZztC1am 7dGZx+XniKDug== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 208C410002E; Fri, 7 Jun 2024 09:49:11 -0400 (EDT) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0FF7F12023D; Fri, 7 Jun 2024 09:49:11 -0400 (EDT) In-Reply-To: <2068418.YKUYFuaPT4@3-191.divsi.unimi.it> (Vincenzo Pupillo's message of "Fri, 07 Jun 2024 15:25:16 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286776 Archived-At: > c-ts-mode-set-modeline does the same, which is why I did it too. I see. FWIW, I consider such things as errors: major mode should provide the functionality that depends on the language, but there's nothing special about C comments that makes `comment-start` more deserving of being in the mode-line in a C mode than in any other mode. IOW, it seems like this is a case where the major mode author imposed his own preference. If you want `comment-start` in the mode-line in C, then most likely you also want it in many/most other modes and so you should implement a minor mode for that which would be usable in any mode. Stefan