From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Van Ly Newsgroups: gmane.emacs.bugs Subject: bug#57042: 28.1.91; c-mode autoindents cweb style lines Date: Mon, 8 Aug 2022 03:50:28 +0000 (UTC) Organization: Sourceware Defines Fortress Message-ID: References: <83r11svwvk.fsf@gnu.org> <5bfc098-735f-1930-d058-35ace7605d69@SDF.ORG> <87o7wvyav4.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37917"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57042@debbugs.gnu.org, Eli Zaretskii To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 08 05:51:19 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 1oKtnT-0009lZ-R1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Aug 2022 05:51:19 +0200 Original-Received: from localhost ([::1]:36224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKtnR-0002AR-L4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Aug 2022 23:51:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKtnC-0002AI-CD for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 23:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKtnB-00007c-W8 for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 23:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKtnB-0007Qe-LY for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 23:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Van Ly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Aug 2022 03:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57042 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 57042-submit@debbugs.gnu.org id=B57042.165993063628516 (code B ref 57042); Mon, 08 Aug 2022 03:51:01 +0000 Original-Received: (at 57042) by debbugs.gnu.org; 8 Aug 2022 03:50:36 +0000 Original-Received: from localhost ([127.0.0.1]:38719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKtml-0007Ps-SN for submit@debbugs.gnu.org; Sun, 07 Aug 2022 23:50:36 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:49599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKtmh-0007Pd-FO for 57042@debbugs.gnu.org; Sun, 07 Aug 2022 23:50:34 -0400 Original-Received: from sdf.org (IDENT:van.ly@faeroes.freeshell.org [205.166.94.9]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 2783oTnO029013 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 8 Aug 2022 03:50:29 GMT Original-Received: from localhost (van.ly@localhost) by sdf.org (8.15.2/8.12.8/Submit) with ESMTP id 2783oSft028427; Mon, 8 Aug 2022 03:50:28 GMT In-Reply-To: <87o7wvyav4.fsf@gnus.org> 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:239097 Archived-At: On Sun, 7 Aug 2022, Lars Ingebrigtsen wrote: > > c-mode doesn't support the cweb language, and won't do that, either. > > It might make sense to add a package for doing that to ELPA, but I > haven't seen anybody request that either, so it seems like there's not > really much demand for it. > But I did when I discovered cweb is out there and working. I posted a bug report with a link to the cweb mode el file. I guess ownership and licensing bureaucratic complication make it less available and to keep current. Finding that file wasn't easy. Anyway, cweb has intrinsic value in as much Emacs has. Prog mode doesn't indent the second brace right at all which was why I tried the c mode next. 'C-c C-o' can tell c mode to override the autoindent to offset 0. -- vl