emacs-devel
[Top][All Lists]
Advanced

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

Re: Major mode and implementation of expected editing facilities


From: Daniele Nicolodi
Subject: Re: Major mode and implementation of expected editing facilities
Date: Tue, 28 May 2019 22:21:06 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 28/05/2019 22:11, Clément Pit-Claudel wrote:
> On 2019-05-28 22:33, Eli Zaretskii wrote:
>> If you or someone else want to suggest improvements for that chapter
>> of the manual, please do, and thanks in advance.
> 
> To get the ball rolling, I'll mention a few facilities that I like
> major modes to hook into.  Others can likely point out many
> omissions:
[snip]

Thanks Clément!  This is what I was looking for.  I wish it could find
its way into documentation.

> Btw, a good place to find these things is existing mode functions;
> look for setq-local or (set (make-local-variable …) …) in
> define-derived-mode blocks.
This is how I found the hooks that my mode already implements, but it is
a bit tedious to have to go through the source code.

Cheers,
Dan



reply via email to

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