From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Ralph Amissah <ralph.amissah@gmail.com>
Cc: Kevin Ryde <user42_kevin@yahoo.com.au>,
Ambrose Kofi Laing <aklaing@gmail.com>,
emacs-devel@gnu.org
Subject: Re: Ambrose Kofi Laing & Ralph Neelante Amissah [Emacs] sisu-mode.el - a major-mode for highlighting a structured text
Date: Sun, 21 Feb 2016 10:51:03 -0500 [thread overview]
Message-ID: <jwvh9h25bc5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20160221070443.GA4007@niu> (Ralph Amissah's message of "Sun, 21 Feb 2016 02:04:43 -0500")
> +;; enables outlining for sisu
> +(add-hook 'sisu-mode-hook
> + 'outline-minor-mode)
>> Finally, it's generally preferred to put such code directly in the
>> sisu-mode function and leave the sisu-mode-hook nil by default.
> I did not get this quite
If you want to enable outline-minor-mode, then you can add
(outline-minor-mode 1)
at the end of the `sisu-mode' function. This way sisu-mode-hook will
still be empty by default, as is the convention.
> I did a diff against the original file and put a few things back (e.g. the
> triple curly braces).
Thanks, installed.
Stefan
next prev parent reply other threads:[~2016-02-21 15:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-18 22:19 Ambrose Kofi Laing & Ralph Neelante Amissah [Emacs] sisu-mode.el - a major-mode for highlighting a structured text Ralph Amissah
2016-02-19 3:59 ` Stefan Monnier
2016-02-19 6:18 ` Ralph Amissah
2016-02-19 18:42 ` Stefan Monnier
2016-02-20 0:30 ` Ralph Amissah
2016-02-21 7:04 ` Ralph Amissah
2016-02-21 15:51 ` Stefan Monnier [this message]
2016-02-21 17:17 ` Ralph Amissah
2016-02-20 2:05 ` Kevin Ryde
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=jwvh9h25bc5.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=aklaing@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=ralph.amissah@gmail.com \
--cc=user42_kevin@yahoo.com.au \
/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.