From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#5718: scroll-margin in buffer with small line count. Date: Thu, 11 Aug 2016 09:24:59 -0400 Message-ID: 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; charset=UTF-8 X-Trace: blaine.gmane.org 1470921980 16200 195.159.176.226 (11 Aug 2016 13:26:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2016 13:26:20 +0000 (UTC) Cc: Andrew Hyatt , 5718@debbugs.gnu.org To: Oleksandr Gavenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 11 15:26:17 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 1bXq00-00045D-5M for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Aug 2016 15:26:16 +0200 Original-Received: from localhost ([::1]:48598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXpzx-00070A-3x for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Aug 2016 09:26:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXpzq-0006yr-SG for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 09:26:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXpzm-0002rW-N7 for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 09:26:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXpzm-0002rM-JU for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 09:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bXpzm-0006mV-Bh for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 09:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Aug 2016 13:26: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.147092190725993 (code B ref 5718); Thu, 11 Aug 2016 13:26:02 +0000 Original-Received: (at 5718) by debbugs.gnu.org; 11 Aug 2016 13:25:07 +0000 Original-Received: from localhost ([127.0.0.1]:53194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXpyt-0006lB-AA for submit@debbugs.gnu.org; Thu, 11 Aug 2016 09:25:07 -0400 Original-Received: from mail-oi0-f47.google.com ([209.85.218.47]:35924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXpyr-0006ki-SU for 5718@debbugs.gnu.org; Thu, 11 Aug 2016 09:25:06 -0400 Original-Received: by mail-oi0-f47.google.com with SMTP id f189so4545028oig.3 for <5718@debbugs.gnu.org>; Thu, 11 Aug 2016 06:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ISN63DvgRT4VyVHeHUe4ynJOonxP4ujTHr2xkA+DpjY=; b=ojAraNDaNPXeT+ZH+hqt22k1hwBhcLgN8UZS2/KvHQq0Io7kuoH4/2AhBHL+Jl8qTy 3JqRjKdSTkRqcVD09babD3/sHukRytmZrc/QhwnbmTPwgYYm324MQKNEnVv6i9b60rvY COdA6ZZ8JXHxH3s3ddTDj+lASVcCRabEkxISvmWwt93A5QjAhphjvn1SnneWTFKBqEJ8 12VXyZqJHpxk7NKxLH3lmLnjvL3DbH6aD21GJcCdZ9nErmTDkJEwsKYJ8We/Nb1ZkcI4 T6Q1QZU+wGHmMN6vbr2759xdshRPE4/fKH7InLrj9ib8+5t6up5psVfhXUeqHq+8wRU6 V9/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ISN63DvgRT4VyVHeHUe4ynJOonxP4ujTHr2xkA+DpjY=; b=Rbke+HoRwzE6K0zIPwQmOUYmzA/J/PIvxFCvASxIj9ZykRIyjKugIbzSCTKsA27Xmb dlA859/EjCEbDT6JWv9J5PwWq5yTacXuTUK6AJ8+Y8qY15IuDwCeJT16zeLT4CKbnnu+ 3PMK01SlZpwChnyxKX5GkTCe2K2GeoMm81RC2TqelosBXANpkd/7/CHWdPCqDy1y9ID+ olLxxcn2CpuDr4oNfCja/nVyudhYRzj7yOKcF8kZRV2CKQQydnkd/CjBi+wbgmtWE0e4 68t7VN5NPr8yK/4nsnQ12By9dB5zVBPoVKFEVIs0gEnWVi2q2pGzbG9WRchWuoq8ls5z 1Lgg== X-Gm-Message-State: AEkoousyHuE4pZHVYAxXJ+QCdl//8S/xK4OOCcatCe8eOlaG7HRHi23KT5m+kr/5ydJSfVIMvK6qVazcBsKZxA== X-Received: by 10.202.220.215 with SMTP id t206mr1936450oig.143.1470921900295; Thu, 11 Aug 2016 06:25:00 -0700 (PDT) Original-Received: by 10.157.7.161 with HTTP; Thu, 11 Aug 2016 06:24:59 -0700 (PDT) In-Reply-To: <874m6rv4ju.fsf@gavenkoa.example.com> X-Google-Sender-Auth: G6cRaTt-Z7FSVqw9lQQ-YPde1mw 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:122075 Archived-At: 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