emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subversion of user chosen major mode by Emacs. [Was: My usage of ime


From: Stefan Monnier
Subject: Re: Subversion of user chosen major mode by Emacs. [Was: My usage of imenu is broken.]
Date: Thu, 30 May 2024 14:30:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> I can point to a semi-hypothetical case: A device driver hacker may need
> to use C Mode for a "hardware description" file which contains a 40,000
> line function, for which c-ts-mode is unusably slow.  I have such a
> file, packet-rrc.c, in my desktop.  The said hacker may, however, prefer
> c-ts-mode for more normal files, so will set up the mode in file-local
> variables or the top line of the file.

I see.  To me that sounds like a fringe enough case that a fringe
solution is OK (while waiting for `c-ts-mode` to fix that problem).
[ And of course, forcing `c-mode` for that one file may annoy that other
  contributor who prefers `sm-c-mode` instead.  🙂  ]

        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]