Can anyone provide me with a hello world example for a major mode in emacs? I guess it\'s a beginner question, still I really like to write a major mode, both to learn emac
The Elisp manual introduces major modes pretty well, and it includes a node that presents "hello-world" examples. At least that is the intention, I think.
Those examples might not cover everything you are looking for. In that case, consider requesting whatever you think is missing that would help users more. To do that, use M-x report-emacs-bug (that is for enhancement requests also).