|
From: | Daniele Nicolodi |
Subject: | Major mode and implementation of expected editing facilities |
Date: | Mon, 27 May 2019 16:14:33 -0600 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
Hello, is there somewhere an annotated list of the standard editing facilities that a major mode is expected to implement or that it may be useful to implement? I'll try to explain what I mean with an example. I'm writing a major mode to edit a form of structured data. The information in the file is logically grouped into sections. Thus I thought that setting fill-paragraph-function to something that would correctly indent one such section would make sense so that fill-paragraph (M-q) would do the right thing. Is that something desirable? Where can I find a list of other hooks that would make sense to implement? If such list does not exist what would be a good starting point to compile it? Thank you. Cheers, Dan
[Prev in Thread] | Current Thread | [Next in Thread] |