help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: scroll-restore-mode breaks comint-mode


From: Stefan Monnier
Subject: Re: scroll-restore-mode breaks comint-mode
Date: Mon, 16 May 2016 14:22:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> 1. Where to report the bug — it seems to me that it belongs to
> scroll-restore-mode, but its page [0] says nothing about where to mail
> issues.  Is it maintained at all?

scroll-restore.el says:

    ;; Time-stamp: "2007-12-05 10:44:11 martin"
    ;; Author: Martin Rudalics <rudalics@gmx.at>
    ;; Keywords: scrolling
    ;; Version: 1.0

so you can send it to Martin, but for GNU ELPA packages you can also use
M-x report-emacs-bug.

> I actually would hardly need scroll-restore-mode in shell, so it would be
> enough for me if there were a way disable it on per-major-mode
> basis. However scroll-restore-mode has only global state, no buffer-local,
> as far as I can see.

You can try

   (add-hook 'comint-mode-hook
             (lambda () (setq-local scroll-restore-mode nil)))

tho I have no idea if it would work,


        Stefan




reply via email to

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