From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Marco Wahl Newsgroups: gmane.emacs.bugs Subject: bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob Date: Thu, 04 Jul 2019 22:59:11 +0200 Organization: Marco Wahl Message-ID: <84ef351ppc.fsf@gmail.com> References: <84ftnmjc37.fsf@gmail.com> <83d0iqaqvh.fsf@gnu.org> <847e8xkjpp.fsf@gmail.com> <837e8xbw70.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="131372"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Marco Wahl , 36494@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 04 23:03:00 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hj8sc-000Y22-QF for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2019 23:02:58 +0200 Original-Received: from localhost ([::1]:48790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj8sZ-0005j2-Na for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2019 17:02:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53020) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj8po-0005EG-8t for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 17:00:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hj8pm-000406-Qz for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 17:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43193) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hj8pm-0003z9-Kp for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 17:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hj8pm-00014s-H1 for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 17:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Marco Wahl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jul 2019 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36494 X-GNU-PR-Package: emacs Original-Received: via spool by 36494-submit@debbugs.gnu.org id=B36494.15622739604055 (code B ref 36494); Thu, 04 Jul 2019 21:00:02 +0000 Original-Received: (at 36494) by debbugs.gnu.org; 4 Jul 2019 20:59:20 +0000 Original-Received: from localhost ([127.0.0.1]:52014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hj8p6-00013L-99 for submit@debbugs.gnu.org; Thu, 04 Jul 2019 16:59:20 -0400 Original-Received: from mail-wm1-f50.google.com ([209.85.128.50]:35674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hj8p4-000135-Q8 for 36494@debbugs.gnu.org; Thu, 04 Jul 2019 16:59:19 -0400 Original-Received: by mail-wm1-f50.google.com with SMTP id l2so44093wmg.0 for <36494@debbugs.gnu.org>; Thu, 04 Jul 2019 13:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mIaiS83r6c/ioDe+fG9RifEf31vuPVeYCU6SQv6rLnE=; b=RVfxFy9AESD+T26d3DefMlNUPgvustmij/IrAblqr3ErEoTiNEe8IsJXdCxxTLTEhm Q4TaXd7bdUu8HDOXo+K91LRmByuoZcunaT6sSl701IUAZj4Chdjpm0hvTxbYPotR/C6u Wr2co1MD6YZ9j+vt2nnb9VWmo/a9TaR1X4T9Yh8eFebuWlMOkq8otHgbH+FDjPJsRtkN XnSxTGd5lhN9nJrKbQUl75IrQnIphRglJS7TUdn0C01L36v5PSSGmYJCHz2XgtQ6QbVd jgeZBod0rqa3e9HsbVDanLcDqR2pLATUL9Z29qWOnxK2ZSdalClr9gKqOWOvixR+ziJi u1ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=mIaiS83r6c/ioDe+fG9RifEf31vuPVeYCU6SQv6rLnE=; b=ixQQ29bGJwh53sFRGI+MihR9FYwn9MFPbm/npvAF52mzWXxVNy1lvnJuIz0lwfeI18 7eJQJlClXsBX+IuPjww6bBR1vv2pG8YyKJGoVkwD7MXdjJLUBs6Cizynt1bYTUG6qbKF N35B/QSvXC2oRQCrn3N5YRS2tDigsE62K8rPfZZjV42GuOMbRlNko3zNsDs9L2rpnNnN NChRVlm/LDIPi5SzLno5T1o8cyXcA1J+W+3OFsWX+6w8HkKlVMbAYMeSEb21OZ+VAh0D 3cJePCLBmqGqaU4wLh2rsMJXXsdKXhoDscrP8n1ulKnbdibqW61DMsqy6AWowKni+G1X ukxA== X-Gm-Message-State: APjAAAUEgsfCVUUcD0lZSDEsRYl0Y1MNcsToc9raEiVh7R0yVTRUAa1l I0EYxOzVkj/Uj3EcvL9z6Bo= X-Google-Smtp-Source: APXvYqzTGmOR7t7OGG2giFqY8INh1jog6wh4ZJm49NcucDwf97i4gUxX7wZ4CjokOGujZMLkwfw/Cg== X-Received: by 2002:a7b:c347:: with SMTP id l7mr19059wmj.163.1562273952812; Thu, 04 Jul 2019 13:59:12 -0700 (PDT) Original-Received: from tm6592 (p200300ECDF02E4260C537504E5DE56DB.dip0.t-ipconnect.de. [2003:ec:df02:e426:c53:7504:e5de:56db]) by smtp.gmail.com with ESMTPSA id v23sm30895wmj.32.2019.07.04.13.59.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 04 Jul 2019 13:59:12 -0700 (PDT) In-Reply-To: <837e8xbw70.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 04 Jul 2019 19:28:51 +0300") 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: 209.51.188.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:162087 Archived-At: Eli Zaretskii writes: >> From: Marco Wahl >> Cc: marcowahlsoft@gmail.com, 36494@debbugs.gnu.org >> Date: Thu, 04 Jul 2019 15:33:38 +0200 >> >> > How about if we bind S-DOWN and S-UP to commands that scroll to EOB >> > without introducing any new option? That would mimic pages like Less >> > which stop at EOB with an unshifted key, but continue scrolling with a >> > shifted key. >> >> That sounds good to me. Also the mimicing of similar features elsewhere. > > Would you like to submit a patch along those lines? Please see the attempt in the attachment. There is one new function `scroll-lock-next-line-always-scroll' which gets bound to S-down. Further there are a few tests for this function. AFAICS the up command needs no special handling with regards to scroll-lock-mode.