emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: BUG in scroll-lock-mode?]


From: Chong Yidong
Subject: Re: address@hidden: Re: BUG in scroll-lock-mode?]
Date: Tue, 12 Jun 2007 19:58:19 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

> Would someone please install this in Emacs 22 and ack?

Done.

> From: Ralf Angeli <address@hidden>
> Subject: Re: BUG in scroll-lock-mode?
> To: Leo <address@hidden>
> Cc: address@hidden
>
> * Leo (2007-06-07) writes:
>
>> ----- 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).
>>
>> But looks like the doc string is not clear about this.
>
> Perhaps somebody can install the following change then.
>
> 2007-06-07  Ralf Angeli  <address@hidden>
>
>       * scroll-lock.el (scroll-lock-mode): Doc fix.
>
> - --- scroll-lock.el  24 Jan 2007 19:57:54 +0100      1.5
> +++ scroll-lock.el    07 Jun 2007 11:57:17 +0200      
> @@ -50,7 +50,7 @@
>  
>  ;;;###autoload
>  (define-minor-mode scroll-lock-mode
> - -  "Minor mode for pager-like scrolling.
> +  "Buffer-local minor mode for pager-like scrolling.
>  Keys which normally move point by line or paragraph will scroll
>  the buffer by the respective amount of lines instead and point
>  will be kept vertically fixed relative to window boundaries
>
>
> - -- 
> Ralf
>
>
> _______________________________________________
> emacs-pretest-bug mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
> ----------
>
>
>
> _______________________________________________
> Emacs-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-devel




reply via email to

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