[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorporate package macrostep into Emacs core
From: |
Gerd Möllmann |
Subject: |
Re: Incorporate package macrostep into Emacs core |
Date: |
Tue, 19 Mar 2024 08:11:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Philip Kaludercic <philipk@posteo.net> writes:
>> (add-hook 'c-mode-hook #'macrostep-c-mode-hook)
>
> This part is suspicious. First of all, it looks like one is adding a
> hook to a hook, but this would unconditionally modify
> c-mode-hook, which I don't think is reliable. Can we find some other
> way to update the variables, depending on the major mode? E.g. in
> macrostep.el one could try to intern (format "macrostep-%s-init"
> major-mode) and check if the symbol is fboundp?
Also, it would be nice to support C++ and Objc, which we have in Emacs
(c-mode-common-hook).
- Re: Incorporate package macrostep into Emacs or NonGNU ELPA?, (continued)
Re: Incorporate package macrostep into Emacs or NonGNU ELPA?, Eli Zaretskii, 2024/03/02
- Re: Incorporate package macrostep into Emacs or NonGNU ELPA?, Jeremy Bryant, 2024/03/02
- Re: Incorporate package macrostep into Emacs core, Jeremy Bryant, 2024/03/17
- Re: Incorporate package macrostep into Emacs core, Philip Kaludercic, 2024/03/18
- Re: Incorporate package macrostep into Emacs core, Jeremy Bryant, 2024/03/18
- Re: Incorporate package macrostep into Emacs core, Philip Kaludercic, 2024/03/19
- Re: Incorporate package macrostep into Emacs core,
Gerd Möllmann <=
- Re: Incorporate package macrostep into Emacs core, Philip Kaludercic, 2024/03/19
- Re: Incorporate package macrostep into Emacs core, Gerd Möllmann, 2024/03/19
- Re: Incorporate package macrostep into Emacs core, Philip Kaludercic, 2024/03/19
- Re: Incorporate package macrostep into Emacs core, Gerd Möllmann, 2024/03/19
Re: Incorporate package macrostep into Emacs core, Jonathan Oddie, 2024/03/19
Re: Incorporate package macrostep into Emacs core, Jeremy Bryant, 2024/03/19
Re: Incorporate package macrostep into Emacs core, Jeremy Bryant, 2024/03/22
Re: Incorporate package macrostep into Emacs core, Stefan Monnier, 2024/03/22
Re: Incorporate package macrostep into Emacs core, Eli Zaretskii, 2024/03/18
Re: Incorporate package macrostep into Emacs core, Stefan Monnier, 2024/03/18