From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Alexandrov <321942@gmail.com> Newsgroups: gmane.emacs.help Subject: Re: scroll-restore-mode breaks comint-mode Date: Tue, 17 May 2016 21:01:05 +0300 Message-ID: <573B5C61.30301@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1463508073 9641 80.91.229.3 (17 May 2016 18:01:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 May 2016 18:01:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 17 20:01:06 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 1b2jIn-000460-TK for geh-help-gnu-emacs@m.gmane.org; Tue, 17 May 2016 20:01:06 +0200 Original-Received: from localhost ([::1]:51868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2jIn-0002Cj-Cl for geh-help-gnu-emacs@m.gmane.org; Tue, 17 May 2016 14:01:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <321942@gmail.com>) id 1b2jIa-0002Ak-TS for help-gnu-emacs@gnu.org; Tue, 17 May 2016 14:00:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <321942@gmail.com>) id 1b2jIW-0006Jb-JQ for help-gnu-emacs@gnu.org; Tue, 17 May 2016 14:00:51 -0400 Original-Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:33093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <321942@gmail.com>) id 1b2jIW-0006If-BL for help-gnu-emacs@gnu.org; Tue, 17 May 2016 14:00:48 -0400 Original-Received: by mail-lf0-x22d.google.com with SMTP id y84so10235448lfc.0 for ; Tue, 17 May 2016 11:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:to:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=tEUsTP1FQWXk3sd3bT+pv1Eae6YrJMQP90xnu2Ct9Mc=; b=dLQKK9vdHjvVrzOLtqS3uttRWY4vfBQp1TqxvwU9tlOIvo8PY6qmmpaIQ7zRgZj9xu ZkiB0jEpIAHix4Hpe5qsdGirhsxZG2DUcwwiHmbidwyBnr6htwC9nKXTrY3IwJmkr2MJ fuUzKJAhqUAlhPAee1o5e+j4Xh7lwX51/drwDFHRlblCF2nGH9ladIGurIPmjw/wjN6w lGV903Y2+rQKMj1s77rX0drAKkdif5sG64A5jxWkfGkMFjec/TVWfc//1IzHK8L+lEuO O3nT/s5JphhJCqdIgvaxN8a7tvHIOmOaE7qVt+sD/7d2aF+MyaDwVPuYmwQVWsE651V9 gZOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=tEUsTP1FQWXk3sd3bT+pv1Eae6YrJMQP90xnu2Ct9Mc=; b=aa2M72w+FDK8LaWIOvxWbOlDq7U2nQRxt/r8U3in7eUEbRnTU056FkEeNllHppH+4N sqbZ10bi88ziwh13DkGzwlEJRNeypzjOuChiYuBqVSi7c4j5fSvxcBccAIO3OsPRsA4F l9ftx5u91+GwXgag0EQOwDaGXlCjgtFn2WXS1r7Ilba5iu/yiyMhYicl4K+XSZS8AkQ9 MEXfOncKZ9MIX/5VcebwaSHG5WDHK0TaVjWNf0Zmd0tFWSWC4dTezb+jB4x94liq7rkH fcZP7YfduFezUbHtwa9jyXWEIcC+cPSChUMNXX+36heeTM8P1RVEnYv7G266b8yp/YhS PQrw== X-Gm-Message-State: AOPr4FXJ8zAhRbpQs6dcL1HcLxti9iUfdwTajep83kDm9pAAYrhhKxIAfdMiOPTqvnnPYQ== X-Received: by 10.25.89.81 with SMTP id n78mr1002473lfb.89.1463508047105; Tue, 17 May 2016 11:00:47 -0700 (PDT) Original-Received: from [192.168.1.132] ([178.218.27.218]) by smtp.googlemail.com with ESMTPSA id tg1sm691766lbb.7.2016.05.17.11.00.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 May 2016 11:00:46 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; GNU x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22d 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:110026 Archived-At: On 16/05/16 21:22, Stefan Monnier wrote: >> 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, Fortunately, it seems that Martin monitors bug-gnu-emacs@gnu.org — in any case, he have already responded to a bug mailed there [1]. [1] http://debbugs.gnu.org/23546 > but for GNU ELPA packages you can also use > M-x report-emacs-bug. Thanks, I’ll keep that in mind. >> 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, Sorry, it does not.