Re: Different comment syntaxes in within the same buffer?
Basile Starynkevitch <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2026-04-10 at 11:53 -0400, Stefan Monnier via Users list for the GNU Emacs text editor wrote: > > I would like to ask the Lispers here whether there is a good > > solution > > for having different comment syntaxes in the same buffer depending > > on > > the point's position. For more context, a lot of web templating > > languages (e.g., Svelte, Astro) have multiple syntaxes in the same > > file. Look perhaps into Emacs support of literate programming like https://www.cs.tufts.edu/~nr/noweb/ (I used it more than a dozen years ago, and IIRC found some emacs support) Regards -- Basile STARYNKEVITCH <[email protected]> 8 rue de la Faïencerie http://starynkevitch.net/Basile/ 92340 Bourg-la-Reine https://github.com/bstarynk France https://github.com/RefPerSys/RefPerSys https://orcid.org/0000-0003-0908-5250