From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.bugs Subject: bug#5718: scroll-margin in buffer with small line count. Date: Fri, 12 Aug 2016 10:54:37 +0300 Organization: Oleksandr Gavenko , http://defun.work/ Message-ID: <87zioitoaq.fsf@gavenkoa.example.com> References: <4B9D1C61.70903@gmail.com> <87mvkjy0l5.fsf@users.sourceforge.net> <874m6rv4ju.fsf@gavenkoa.example.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1471015533 29240 195.159.176.226 (12 Aug 2016 15:25:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2016 15:25:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cc: Andrew Hyatt , 5718@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 12 17:25:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYEKn-0007A2-AA for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 17:25:21 +0200 Original-Received: from localhost ([::1]:52869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYEKk-0002b6-4w for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 11:25:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYDrW-0007WG-KT for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 10:55:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYDrR-0006rC-K2 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 10:55:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYDrR-0006r8-G2 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 10:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bYDrS-0004Zt-9l for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 10:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Oleksandr Gavenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Aug 2016 14:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5718 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5718-submit@debbugs.gnu.org id=B5718.147101366217539 (code B ref 5718); Fri, 12 Aug 2016 14:55:02 +0000 Original-Received: (at 5718) by debbugs.gnu.org; 12 Aug 2016 14:54:22 +0000 Original-Received: from localhost ([127.0.0.1]:55291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYDqo-0004Yp-LY for submit@debbugs.gnu.org; Fri, 12 Aug 2016 10:54:22 -0400 Original-Received: from mail-wm0-f54.google.com ([74.125.82.54]:34632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYDqm-0004Yc-TD for 5718@debbugs.gnu.org; Fri, 12 Aug 2016 10:54:21 -0400 Original-Received: by mail-wm0-f54.google.com with SMTP id q128so5029941wma.1 for <5718@debbugs.gnu.org>; Fri, 12 Aug 2016 07:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=QwQOtDpHWSinKkfNSyTeJAfJwrxOjrD1+4/fbQWHS1I=; b=qIaYpR0fvX/1bn3T9vVt5Pfq2d4DA4B9H6Xf/wj9KIdFrXowALXYz3B5hVn8SBhKni GzerAUCs2q09o5S+MrpJlfJjMHCGq+BZiEH425ATKLk7WVskLMsyCjPHNqNzCgs16DlV IGdpdFvAmCzwoOGgdw4UMRdaFcAAnW3Uz2au504k/PCVOVe7qjBN/1pE8x7XFit7gojC LRH1CpQah4wIJz/rmAMdnnvVzmVdFr/x5+YY/rBpIBoWwWhdupq+ilGWu7F6MQKPlWEa sL+ZGwev+v879U0quLbwCNxXYlx0EDf2fdnCMkRJ5ecMgJAgEf9c13rafTi9Xusg9ouw TPLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=QwQOtDpHWSinKkfNSyTeJAfJwrxOjrD1+4/fbQWHS1I=; b=NvQRf9YPAlkc7HDI5PpMHAFuBrtmqBK16MqFrBvWmQ+EeWiVtlizwcvrxgMihSYEzP MNnyajzE8ynaxgNDJgl9PyeKA6BV4wOLFuJHI+kkXPtto5oRoPgYgOXsiljwA0tqI8ZC 48lXKeFYqEU6Di9bELB9Snm6d/wOJftBzrEfq9DNqMwQh90rM1zpZ7z9Lg86LEeSEvKm rtB+lTgyhQATCcW6M0oKRaJ63Hs2wf60mYhXaZrMAKZ8J4Elzy9F9S9BRUuJgZbdojT+ rF6noZk53Eq1avj6ddMwM5e93fKtDhoqN5dNX///qGYfBGCY01J3oWxMO+zLIl74BIrk IDmA== X-Gm-Message-State: AEkooutENtib9fZmBY+gOgXSwEcMF1jT3uJlpfQzDANk2LLr3RGOiNhx+vWGLe+rbWKzcQ== X-Received: by 10.46.9.71 with SMTP id 68mr2270984ljj.0.1470988479809; Fri, 12 Aug 2016 00:54:39 -0700 (PDT) Original-Received: from desktop ([46.185.21.165]) by smtp.gmail.com with ESMTPSA id n128sm718412lfb.45.2016.08.12.00.54.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Aug 2016 00:54:38 -0700 (PDT) In-Reply-To: (Noam Postavsky's message of "Thu, 11 Aug 2016 09:24:59 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122124 Archived-At: On 2016-08-11, Noam Postavsky wrote: > On Thu, Aug 11, 2016 at 9:05 AM, Oleksandr Gavenko wrote: >> On reporting day I removed: >> >> (setq-default scroll-margin 4) >> >> from ~/.emacs because in "M-x calendar" UP/DOWN navigation become broken. >> >> Even in Emacs 24.5.1 setting >> >> (setq scroll-margin 4) >> >> in Calendar buffer hide month names on UP/DOWN moves. > > This sounds like Bug #10379 which should be fixed as of 24.1 by > calendar mode resetting scroll-margin locally to 0. > > calendar.el:1748: > > (define-derived-mode calendar-mode nil "Calendar" > ... > (set (make-local-variable 'scroll-margin) 0) ; bug#10379 I am agree, this was fixed. I made improperly test. -- http://defun.work/