[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hideshow.el doesn't work well in viper mode
From: |
Yong LU |
Subject: |
Re: hideshow.el doesn't work well in viper mode |
Date: |
Wed, 31 Oct 2001 11:28:51 +0800 |
User-agent: |
Mutt/1.2i |
On Tue, Oct 30, 2001 at 06:26:34PM -0800, Thien-Thi Nguyen wrote:
> From: Yong Lu <lyongu@ailab.pku.edu.cn>
> Date: 30 Oct 2001 11:08:34 +0800
>
> hs-minor-mode failed to install the Hide/Show menu if it's called
> in viper mode. I met this problem when I started emacs by:
> runemacs -q
> then eval the following expressions in a emacs-lisp-mode buffer:
> (setq viper-mode t)
> (require 'viper)
> (hs-minor-mode t)
>
> The hs-minor-mode indicator appeared on the mode-line, but the menu
> didn't. The key bindings of hs-minor-mode didn't work either.
>
> Any ideas?
>
> hideshow loading calls `easy-menu-define' but not at top level. perhaps
> there is some problem there.
>
> thi
I reversed the order of hideshow and viper, i.e. calling (require 'viper) after
(require 'hideshow), then the problem went away.
Yong