Propose to use clang-format to enforce hotspot codestyle
John Rose
john.r.rose at oracle.com
Fri Mar 13 02:12:25 UTC 2020
FWIW my workaround for that is to put that particular
file name (and two others) on auto-mode-alist in my emacs
config file, turning off C mode altogether:
(push '("/vmSymbols\\.hpp\\'" . fundamental-mode) auto-mode-alist)
(push '("/globals\\.hpp\\'" . fundamental-mode) auto-mode-alist)
(push '("/vmStructs\\.cpp\\'" . fundamental-mode) auto-mode-alist)
There are surely less blunt ways to do it, but it’s better than
the frustrating lock-up you describe, which I am also familiar
with (Aquamacs, many recent versions).
— John
> On Mar 11, 2020, at 4:20 PM, Volker Simonis <volker.simonis at gmail.com> wrote:
>
> The default Emacs on Ubuntu 18.04 will just hang forever consuming 100% cpu
> when opening globals.hpp with syntax highlighting enabled. :)
More information about the hotspot-dev
mailing list