From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincenzo Pupillo Newsgroups: gmane.emacs.bugs Subject: bug#71380: 30.0.50; Submitting php-ts-mode, new major mode for php Date: Fri, 07 Jun 2024 16:37:33 +0200 Message-ID: <5101038.Qq0lBPeGtt@3-191.divsi.unimi.it> References: <3686989.dWV9SEqChM@3-191.divsi.unimi.it> <2068418.YKUYFuaPT4@3-191.divsi.unimi.it> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32931"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71380@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 08 02:05:16 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 1sFja8-0008Sy-5D for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Jun 2024 02:05:16 +0200 Original-Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFajx-0004mZ-OG; Fri, 07 Jun 2024 10:38:49 -0400 Original-Received: from [2001:470:142:3::10] (helo=eggs.gnu.org) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFajw-0004mP-4O for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 10:38:48 -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 1sFajv-0003Jk-Jm for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 10:38:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFakA-000247-EG for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 10:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincenzo Pupillo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jun 2024 14:39: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.17177711397924 (code B ref 71380); Fri, 07 Jun 2024 14:39:02 +0000 Original-Received: (at 71380) by debbugs.gnu.org; 7 Jun 2024 14:38:59 +0000 Original-Received: from localhost ([127.0.0.1]:35298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFak6-00023k-Ry for submit@debbugs.gnu.org; Fri, 07 Jun 2024 10:38:59 -0400 Original-Received: from mail-lf1-f53.google.com ([209.85.167.53]:47275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFak4-00023H-I9 for 71380@debbugs.gnu.org; Fri, 07 Jun 2024 10:38:57 -0400 Original-Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-52961b77655so2511640e87.2 for <71380@debbugs.gnu.org>; Fri, 07 Jun 2024 07:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717771055; x=1718375855; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OqpddLWG1HXdX/0UuD7MwgDeiEUFHMMWuraLd3Sgkbw=; b=GOFswKOqtQgkKCOu6O+nrouMH7e7scWF7L0kZAhDcmeYQ3NyIfsTh2WcMT1g4UAE6g UZ4kjn8f6CH29IOupL7BBHlbuoEZifewjHMKXpsA75LlnC8QqwSczZjZ9y2YH/mvx+bC nPhcwwuFlhJWNTm5oPwNM4aELj8vHaWHbJ7MtIb4+qt1SYpV8NuyGajkFIbHJPRl2m1G 5RoVP4rOL7IIHJclHWbqAcGwVKbXBxEv05KQtOgUk/3N0PrsL2+KkJg8WBo8yASj1cwf MzaVmYNoVQaKHv8nR5Oc1QjZZEndG3nsXLuh1h7GDCClyWO6jIL2qiQqib7isqoGmUXS a4rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717771055; x=1718375855; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OqpddLWG1HXdX/0UuD7MwgDeiEUFHMMWuraLd3Sgkbw=; b=uTDjgY7ZN5USD/DZk2lYW7BAd7NdZS7pLNeJowsBz6oLMKi2mhC7S1aF5TQzGT6X9n P8K+njZr5+AkblMkeLxuWUuqIeAU0445pQ60qqgjwyxUv7ZrqPrT5fM6p/fb/F4EZWou 4iHejamq6wUqqcUhS3iv1fj3O2w4BUvO8kPFMRvy/Gx9L5H3K8pJCbmqyBYuJAozI5jx VSknXZkHwlPgJGHVHS/tY08DRKhy50is/JmNe+NppMdHtWP4BbcmQMaWOSw1vl8aYIkF jbluDAUrrGQZ28UgmtskE/VEyEUu/CxoZL92YJgNlbBxXB6Md6zsr+gOklKKl6XYSTFU z/+g== X-Gm-Message-State: AOJu0Yy014ArMiNe05ETJZc4ErBG3a6jVHXpZfCkQRpPLrTaFMOM3pbn NIRC+YJ89K7MUn2U2H1r+i9nng9rj+8cT6tAAEcYE3lhlatcc0XH X-Google-Smtp-Source: AGHT+IFxPPZlERcP2mLmHy0geOGDxdmMLYdEnRLbKw1euAiXom3jrS5osbb3lpdfU2YBd3gGSnMy1g== X-Received: by 2002:a05:6512:2353:b0:523:72b8:8002 with SMTP id 2adb3069b0e04-52bb9f80354mr2102036e87.30.1717771054809; Fri, 07 Jun 2024 07:37:34 -0700 (PDT) Original-Received: from 3-191.divsi.unimi.it (3-191.divsi.unimi.it. [159.149.3.191]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6c806ec816sm255109666b.129.2024.06.07.07.37.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 07:37:34 -0700 (PDT) In-Reply-To: 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:286797 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. Agreed. Deleted. > > > Stefan > > Thank you Stefan. Vincenzo