From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#21465: [PATCH] CC-modes hierarchy Date: Wed, 16 Sep 2015 21:49:49 -0400 Message-ID: References: <20150914193349.13729.qmail@mail.muc.de> <20150916135712.GB3449@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1442454625 10927 80.91.229.3 (17 Sep 2015 01:50:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2015 01:50:25 +0000 (UTC) Cc: 21465@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 17 03:50:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZcOKz-0002P2-8F for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2015 03:50:13 +0200 Original-Received: from localhost ([::1]:55105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcOKy-0005w6-In for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Sep 2015 21:50:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcOKv-0005uI-0J for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 21:50:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcOKu-0001bh-6e for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 21:50:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcOKq-0001RB-Cy; Wed, 16 Sep 2015 21:50:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZcOKp-0003rx-PZ; Wed, 16 Sep 2015 21:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 17 Sep 2015 01:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21465 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: patch Original-Received: via spool by 21465-submit@debbugs.gnu.org id=B21465.144245459514854 (code B ref 21465); Thu, 17 Sep 2015 01:50:03 +0000 Original-Received: (at 21465) by debbugs.gnu.org; 17 Sep 2015 01:49:55 +0000 Original-Received: from localhost ([127.0.0.1]:35414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcOKg-0003rW-K6 for submit@debbugs.gnu.org; Wed, 16 Sep 2015 21:49:55 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:18549) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcOKc-0003rM-TM for 21465@debbugs.gnu.org; Wed, 16 Sep 2015 21:49:52 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A2FgA731xV/0jo92hcgxCEAoVVwwsEAgKBPDwRAQEBAQEBAYEKQQWDXQEBAwFWIwULCw4mEhQYDSSINwjPIwEBAQEGAQEBAR6LOoUFB4QtBZ8Xg2uOKYNZI2GDMyKCeAEBAQ X-IPAS-Result: A0A2FgA731xV/0jo92hcgxCEAoVVwwsEAgKBPDwRAQEBAQEBAYEKQQWDXQEBAwFWIwULCw4mEhQYDSSINwjPIwEBAQEGAQEBAR6LOoUFB4QtBZ8Xg2uOKYNZI2GDMyKCeAEBAQ X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="165074299" Original-Received: from 104-247-232-72.cpe.teksavvy.com (HELO pastel.home) ([104.247.232.72]) by ironport2-out.teksavvy.com with ESMTP; 16 Sep 2015 21:49:49 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4337562363; Wed, 16 Sep 2015 21:49:49 -0400 (EDT) In-Reply-To: <20150916135712.GB3449@acm.fritz.box> (Alan Mackenzie's message of "Wed, 16 Sep 2015 13:57:12 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106667 Archived-At: > It may appear to, but c-after-change does important things like > invalidating caches, and preparing the buffer for font locking. Sooner > or later, something will go wrong. (Unless you've put in an > sm-c-after-change, or something like that.) But you probably know this. That's right. > This is one of these "please don't report any bugs whilst this is > active". I still have no idea why you think it's right for c-after-font-lock-init to add c-after-change to after-change-functions if it's not there in the first place. I understand why you might not consider it as a bug, but why do you consider it as a feature? > Again, why do you want to take it out of your Awk Mode? Because I'm trying to make my awk-mode behave in "the standard way" used by all other (non-cc) major modes. E.g. using syntax-propertize. I know we disagree on whether "like everyone else" is a quality or a defect, but I'd ask you to try at least not to actively and gratuitously prevent me from writing a mode that uses the cc-mode infrastructure yet behaves a bit more "like everyone else". So, to put it some other way: can you give me a concrete example where my change to c-after-font-lock-init is harmful? Stefan