emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BUG in scroll-lock-mode?


From: Leo
Subject: Re: BUG in scroll-lock-mode?
Date: Thu, 07 Jun 2007 12:11:12 +0100
User-agent: Gnus/5.110007 Emacs 23 (20070531) MULE/6.0 (HANACHIRUSATO) Fedora 7 (gnu/linux)

Dear Ralf,

----- Ralf Angeli (2007-06-07) wrote:-----

> * Leo (2007-06-07) writes:
>
>> I put (scroll-lock-mode t) in ~/.emacs, but it is still disabled after
>> restart emacs. Is this a bug in scroll-lock-mode?
>
> Scroll Lock mode is a buffer-local minor mode, so your command will not
> enable it globally.  You can enable it via a hook.  For example, if you
> wanted the mode to be activated when browsing info files, you could do
> this with something like (add-hook 'Info-mode-hook 'scroll-lock-mode).

Is it a good idea to make it a global minor mode?

regards,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]