all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniele Nicolodi <daniele@grinta.net>
To: emacs-devel@gnu.org
Subject: Major mode and implementation of expected editing facilities
Date: Mon, 27 May 2019 16:14:33 -0600	[thread overview]
Message-ID: <82832b3f-9e1c-cc3a-0a47-24e752e5b56c@grinta.net> (raw)

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



             reply	other threads:[~2019-05-27 22:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-27 22:14 Daniele Nicolodi [this message]
2019-05-28  2:43 ` Major mode and implementation of expected editing facilities Eli Zaretskii
2019-05-28  2:47   ` Daniele Nicolodi
2019-05-28  4:20     ` Eli Zaretskii
2019-05-28  4:40       ` Daniele Nicolodi
2019-05-28 14:55         ` Eli Zaretskii
2019-05-28 19:37           ` John Yates
2019-05-28 19:54             ` Daniele Nicolodi
2019-05-29  2:33             ` Eli Zaretskii
2019-05-29  4:11               ` Clément Pit-Claudel
2019-05-29  4:21                 ` Daniele Nicolodi
2019-05-29 14:34                 ` Eli Zaretskii
2019-05-29 15:35                   ` Clément Pit-Claudel
2019-05-29 15:08                 ` Dmitry Gutov
2019-05-29 15:35                   ` Clément Pit-Claudel
2019-05-29 19:54             ` Richard Stallman
2019-05-28 19:52           ` Daniele Nicolodi
2019-05-28 20:20             ` Noam Postavsky
2019-05-29  2:37               ` Eli Zaretskii
2019-05-29  2:36             ` Eli Zaretskii
2019-05-29  4:14         ` Clément Pit-Claudel
2019-05-29  4:17           ` Daniele Nicolodi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82832b3f-9e1c-cc3a-0a47-24e752e5b56c@grinta.net \
    --to=daniele@grinta.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.