From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: scroll-restore-mode breaks comint-mode Date: Mon, 16 May 2016 14:22:52 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1463423011 5464 80.91.229.3 (16 May 2016 18:23:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 May 2016 18:23:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 16 20:23:24 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b2NAq-0004hJ-Bw for geh-help-gnu-emacs@m.gmane.org; Mon, 16 May 2016 20:23:24 +0200 Original-Received: from localhost ([::1]:46480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2NAp-00008e-PY for geh-help-gnu-emacs@m.gmane.org; Mon, 16 May 2016 14:23:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2NAd-0008VY-8U for help-gnu-emacs@gnu.org; Mon, 16 May 2016 14:23:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2NAY-0001UQ-N8 for help-gnu-emacs@gnu.org; Mon, 16 May 2016 14:23:10 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:39107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2NAY-0001Tt-0E for help-gnu-emacs@gnu.org; Mon, 16 May 2016 14:23:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b2NAW-0004ZE-Ql for help-gnu-emacs@gnu.org; Mon, 16 May 2016 20:23:04 +0200 Original-Received: from 45.72.245.134 ([45.72.245.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 May 2016 20:23:04 +0200 Original-Received: from monnier by 45.72.245.134 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 May 2016 20:23:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 45.72.245.134 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:YBnBVEK5zCKdkzgQTqSz//fgL7U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109995 Archived-At: > 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 ;; 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