all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* hideshow minor-mode
@ 2012-10-15  1:40 Shiyuan
  0 siblings, 0 replies; 8+ messages in thread
From: Shiyuan @ 2012-10-15  1:40 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

Hi,
   I want to turn-on the hide-show-minor-mode in a user-defined mymode. But
it gives me the error: mymode doesn't support hide show minor mode. I have
put  (require 'hideshow) at the beginning of mymode.el, and also
(hs-minor-mode 1) in the body of the definition of the major mode, and
after that
I put (add-to-list 'hs-special-modes-alist '(mymode "{" "}" "/[*/]" nil
nil)) in mymode.el.

What else I should do to utilize the hs-minor-mode in mymode? Thanks.

[-- Attachment #2: Type: text/html, Size: 605 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-10-16 18:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.11001.1350265231.855.help-gnu-emacs@gnu.org>
2012-10-15 18:04 ` hideshow minor-mode Michael Heerdegen
2012-10-15 23:30   ` Shiyuan
     [not found]   ` <mailman.11078.1350343816.855.help-gnu-emacs@gnu.org>
2012-10-16  1:03     ` Michael Heerdegen
2012-10-16  4:20       ` Shiyuan
     [not found]       ` <mailman.11086.1350361261.855.help-gnu-emacs@gnu.org>
2012-10-16  5:17         ` Michael Heerdegen
2012-10-16 14:40           ` Shiyuan
     [not found]           ` <mailman.11111.1350398455.855.help-gnu-emacs@gnu.org>
2012-10-16 18:09             ` Michael Heerdegen
2012-10-15  1:40 Shiyuan

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.