From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob Date: Thu, 4 Jul 2019 15:28:22 -0700 (PDT) Message-ID: <28a2db2e-0742-49f7-8f97-3ac3874e032c@default> References: <84ftnmjc37.fsf@gmail.com>> <83d0iqaqvh.fsf@gnu.org>> <80277bb2-d964-4930-ae91-0f0e96ed3124@default> <85o929eicd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="199935"; mail-complaints-to="usenet@blaine.gmane.org" Cc: marcowahlsoft@gmail.com, 36494@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 05 00:29:20 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 1hjAEC-000pse-0R for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2019 00:29:20 +0200 Original-Received: from localhost ([::1]:49074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjAEA-0003JL-Ui for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2019 18:29:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60870) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjADx-0003JD-6I for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 18:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjADv-0004HW-AX for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 18:29:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43269) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hjADu-0004Gp-8Y for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 18:29:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hjADu-0003mZ-0O for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 18:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jul 2019 22:29:01 +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.156227931714482 (code B ref 36494); Thu, 04 Jul 2019 22:29:01 +0000 Original-Received: (at 36494) by debbugs.gnu.org; 4 Jul 2019 22:28:37 +0000 Original-Received: from localhost ([127.0.0.1]:52090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjADU-0003lW-Kz for submit@debbugs.gnu.org; Thu, 04 Jul 2019 18:28:36 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:37432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjADS-0003lH-RX for 36494@debbugs.gnu.org; Thu, 04 Jul 2019 18:28:35 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x64MSSN0149985; Thu, 4 Jul 2019 22:28:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=0q7rTYKEMaIrSij3IVDaOKReTfG9fn2fc6C+Cigp7iM=; b=hW4U6qL4uPA7MZV0QLHmExcxIyrlFg7N51FS1T0Bj7GoSVRWL0kDvbZ/FxWjoZ75OOl9 uCVi3OTjmKwQSgpbN2JUqgV/ydXQjQyfDUMluxYRhl8+GNknAOxd49Cha7BS5ea1lot0 iEbQNukHv5KRLgwcSHZxP+G0FuvKkgfOH6mIyAb1mGq48uDqsIk2PEWsRIaA2pRIYBxi wDRgo4GqEeUr+wqJaqrW+c77r0hYx5wqm9KHzwY9l6G8M6ZykyT/YroqdpP8SqqbU0em mFNLzi5VCCTiczGnVJ+EfvwHNGZ3pV0Dzp27QB0qMxMUxysSMfx/W/REIisY1ZCQqkEp dA== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 2te61egbc4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 04 Jul 2019 22:28:27 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x64MSHD6126846; Thu, 4 Jul 2019 22:28:27 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 2th9ec50c3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 04 Jul 2019 22:28:27 +0000 Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x64MSOEM018410; Thu, 4 Jul 2019 22:28:25 GMT In-Reply-To: <85o929eicd.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4861.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9308 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=790 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907040292 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9308 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=859 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907040293 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:162096 Archived-At: > > (global-set-key [S-down] (lambda () (interactive) (scroll-up 1))) > > (global-set-key [S-up] (lambda () (interactive) (scroll-down 1))) > > > > (But named functions are better than anonymous ones, for key binding. > > And yes, it would be good to let a numeric prefix arg scroll that > > many lines.) >=20 > I think you're looking for scroll-up-line and scroll-down-line > (introduced in 24.1). Exactly. (I use the above also with old Emacs releases, and didn't bother to define a named command for it.)