From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: CC Mode troubles and Emacs 29 Date: Wed, 11 Jan 2023 15:27:41 +0200 Message-ID: <83cz7lmcaa.fsf@gnu.org> References: <874jt0hw7p.fsf.ref@yahoo.com> <874jt0hw7p.fsf@yahoo.com> <838ribq48f.fsf@gnu.org> <87zgarhl7j.fsf@yahoo.com> <83zgarodeh.fsf@gnu.org> <87v8lfgpwf.fsf@yahoo.com> <83k01uo8db.fsf@gnu.org> <56368889cb296ad26b5e@heytings.org> <87zgapg8di.fsf@yahoo.com> <502d6ee86af078e950e9@heytings.org> <87eds1fkhb.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30252"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, acm@muc.de, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 11 14:28:38 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pFb9i-0007Ho-6t for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Jan 2023 14:28:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFb8a-0004yx-IW; Wed, 11 Jan 2023 08:27:28 -0500 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 1pFb8Z-0004yi-12 for emacs-devel@gnu.org; Wed, 11 Jan 2023 08:27:27 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFb8X-0002fh-Ss; Wed, 11 Jan 2023 08:27:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ONG5g/CJbsWAyxZ8Cclcy53Sy12mEGakZZDq2G0NE1M=; b=FGpTmVPBmJHK ogJn0ipViLumYlYuxRUfgZ2SKO8uzTJMjf8HLwuJjjtAwMxkYmA88iSk3T51ud4GwcKc0l4f4vzlr Jp0evo7Rz95UqUAYzSCGylvTN7sHL4hoI5HwDtXo3qnmq+OvhJpPaiK3lHBwhD/ViHFL6PUwDRi05 BtRGsH1qwyp3mGmaspML+CTju8l8H34G2q+Z6qu4osn5CwZF0Ay3nYHzcuHAdIEDmqjqNjqeV0xb5 WmpkhcDM6Geq+lxI7sIgay6fo9FzPMKHZpwWVL97cCRImz6j/hxe35BtIxx+gnMLFB2cT2DCJqKm/ YBO5gga+K6a26dlIIw102A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFb8H-0005bG-PT; Wed, 11 Jan 2023 08:27:24 -0500 In-Reply-To: <87eds1fkhb.fsf@yahoo.com> (message from Po Lu on Wed, 11 Jan 2023 18:12:32 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302339 Archived-At: > From: Po Lu > Cc: Eli Zaretskii , acm@muc.de, emacs-devel@gnu.org > Date: Wed, 11 Jan 2023 18:12:32 +0800 > > Gregory Heytings writes: > > > Alan did not add a defcustom around that new feature (and rightly so, > > AFAIU), but you can also turn it off with a single short line in your > > init file: > > > > (advice-add #'c-fontify-new-found-type :override #'ignore) > > That is not a solution, because the feature will still be broken for > everyone else. And at work everyone is more or less forced to use the > same provisioned site-init file. > > > Evidently that's your opinion and preference, and it's not what others > > prefer: they are more annoyed by type identifiers that remain > > unfontified than by occasional fontification of non-type identifiers > > as types. > > Most people I asked, at my day job, find the current situation of CC > Mode laughable. It is immediately obvious to any other C programmer who > begins to use Emacs 29 for real work, where it is necessary to > continuously work on large C files for periods longer than 5 minutes at > a time. When doing that, random misfontification does not even happen > with the toy text editor that is part of GNOME, but it does with Emacs > 29. > > And very quickly. In one example I just sent, `fprintf' was turned into > a type within 5 minutes of beginning to edit a file. I don't know how, > because I noticed too late to get the lossage. > > Sadly, the reason nobody else has reported this bug is because working > with Emacs development is more or less incompatible with a full time > job. It takes quite an effort to find a reproducer, report a bug, and > then argue with people like you who insist it is not a bug and argue > against the easy way to fix it in time for the release, so why do that > when I already am? (Notice that the actual maintainer of CC Mode agrees > that it is a serious bug, so your arguing is essentially a waste of > time, of exactly the sort that drives people away from Emacs > development.) > > Previously, nothing was broken. The status quo was with us since font > lock in C code first existed, back then CC Mode did not even make an > effort to fontify types. It is still there, with us, on the Emacs 28 > branch. > > If people want to make CC Mode fontify more types, that is fine. > But nobody in the thread you linked has said he prefers identifiers > being fontified as types to some types not being fontified at all. Why do you guys keep arguing about this so much? Didn't Alan just fix this issue? And if he still didn't, he said he'd try fixing it before Emacs 29 is released. So what is there to argue about?