unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Van Ly <van.ly@sdf.org>
Cc: 57042@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#57042: 28.1.91; c-mode autoindents cweb style lines
Date: Sun, 07 Aug 2022 23:58:23 +0200	[thread overview]
Message-ID: <87o7wvyav4.fsf@gnus.org> (raw)
In-Reply-To: <5bfc098-735f-1930-d058-35ace7605d69@SDF.ORG> (Van Ly's message of "Sun, 7 Aug 2022 18:12:37 +0000 (UTC)")

Van Ly <van.ly@sdf.org> writes:

> Yes, there is a dedicated mode for cweb by dek.  I guess it is out of
> date in relation to modern Emacs.  I'm expecting c mode might have
> enough fuzzy heuristic to play well with cweb.  For example, skip the
> lines beginning with @ when autoindenting.  C code validity is a
> moving target.

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.

In any case, I don't think there's anything actionable here on the
Emacs side, so I'm closing this bug report.





  reply	other threads:[~2022-08-07 21:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-07 16:16 bug#57042: 28.1.91; c-mode autoindents cweb style lines Van Ly
2022-08-07 16:31 ` Eli Zaretskii
2022-08-07 18:12   ` Van Ly
2022-08-07 21:58     ` Lars Ingebrigtsen [this message]
2022-08-08  3:50       ` Van Ly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7wvyav4.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=57042@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=van.ly@sdf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).