[Top][All Lists]

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

scroll-restore-mode breaks comint-mode

From: Dmitry Alexandrov
Subject: scroll-restore-mode breaks comint-mode
Date: Sun, 15 May 2016 20:35:05 +0300
User-agent: Mozilla/5.0 (X11; GNU x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

[ It seems that posting via Gmane does not work, so I am trying  ]
[ to mail directly; sorry if this message turns out a duplicate. ]


I encountered a problem that looks like a bug to me: scroll-restore-mode
(from breaks comint-mode (built-in, GNU Emacs

Steps to reproduce in a clear environment:

$ mkdir /tmp/emacs.d
$ emacs --quick --eval '(setq user-emacs-directory "/tmp/emacs.d")'

(package-install 'scroll-restore)
(setq scroll-restore-jump-back t)
(scroll-restore-mode 1)

M-x shell

Now I can type the first command (c d RET), start to type the second one
— and the point jumps before shell prompt:

user@local:~$ cd¦

(here ‘¦’ denotes cursor position)

I could move point back to the end manually (with M-> for instance), but
that is pretty annoying.

So I have two questions:

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?


2. What I can do right now to make it works?

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.

reply via email to

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