unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23546: 25.1.50; scroll-restore-mode breaks comint-mode
@ 2016-05-15 19:25 Dmitry Alexandrov
  2016-05-16  8:20 ` martin rudalics
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Dmitry Alexandrov @ 2016-05-15 19:25 UTC (permalink / raw)
  To: 23546

Hello.

I encountered a problem that looks like a bug to me: scroll-restore-mode
(from elpa.gnu.org [0]) breaks comint-mode (built-in, GNU Emacs 25.1.50.1).

[0] https://elpa.gnu.org/packages/scroll-restore.html

Steps to reproduce in a clear environment:

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

(package-initialize)
(package-refresh-contents)
(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¦
cd¦user@local:~$

(here ‘¦’ denotes cursor position)

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

I have to mention that it would not present a huge problem if there were
a way disable scroll-restore-mode on per-major-mode basis.  However
scroll-restore-mode has only global state, no buffer-local, as far as I
can see.





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-11-07  6:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-15 19:25 bug#23546: 25.1.50; scroll-restore-mode breaks comint-mode Dmitry Alexandrov
2016-05-16  8:20 ` martin rudalics
2016-05-17 17:45   ` Dmitry Alexandrov
2016-05-18  7:01     ` martin rudalics
2016-05-18 18:48       ` Dmitry Alexandrov
2016-05-19 12:56         ` martin rudalics
2016-05-22  1:34           ` Dmitry Alexandrov
2016-11-03  1:53 ` bug#23546: a
2016-11-06 23:27 ` bug#23546: nevermind, pretty broken a
2016-11-07  6:34   ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).