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#20723: 24.4; narrow-to-line Date: Wed, 6 Nov 2019 06:06:35 -0800 (PST) Message-ID: References: <87mud94v4y.fsf@marxist.se> 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="28856"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 20723@debbugs.gnu.org, Ed Avis To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 06 15:09:14 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 1iSLzl-0007NN-W9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Nov 2019 15:09:14 +0100 Original-Received: from localhost ([::1]:59210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSLzk-0003QP-SR for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Nov 2019 09:09:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54650) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSLzf-0003QJ-4Q for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2019 09:09:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSLza-0005JR-A7 for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2019 09:09:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59045) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSLza-0005If-5L for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2019 09:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSLzZ-0004xh-Uh for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2019 09:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Nov 2019 14:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20723 X-GNU-PR-Package: emacs Original-Received: via spool by 20723-submit@debbugs.gnu.org id=B20723.157304932719053 (code B ref 20723); Wed, 06 Nov 2019 14:09:01 +0000 Original-Received: (at 20723) by debbugs.gnu.org; 6 Nov 2019 14:08:47 +0000 Original-Received: from localhost ([127.0.0.1]:39633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSLzL-0004xF-BX for submit@debbugs.gnu.org; Wed, 06 Nov 2019 09:08:47 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:45320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSLzJ-0004wz-OG for 20723@debbugs.gnu.org; Wed, 06 Nov 2019 09:08:46 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xA6E49PR151478; Wed, 6 Nov 2019 14:08:39 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-2019-08-05; bh=1a86Rb0QWjeFJXJDswCBMToLE2xLmu0j5DLo99Ffj1Y=; b=q6gzSDJYGvmUHdybxgkq9ROO1rnw8/GqtEHapHBfJMqzhKxBMYjWPySPdVlftC5W22GY wte5WslXeEe58a6sNaiwFTqhBEs84ObJXEWUgrQM7Ysn98zR+QXVrr+ogYKiNbE1HqzA 1S7sTrUCMbtRfBQamO9DuprqyXs+GulbAKpPthOCXoZz26JyFlvemfbD1OI9NGHk77bF NIKMj+gv1SiOaYtOAyMYpuOE2P0zE1IcikXRiOqV4RKeUbXJ23DpVhpkIKUOTxa/lFQF Hd1z2jDyGd97SNc3a/KgsOitskWgce9m/oy9ktig2Amp3XU2sEu5WqHUM/DYCjlohUJ/ Rg== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2w12erebtd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 06 Nov 2019 14:08:39 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xA6E46JR196089; Wed, 6 Nov 2019 14:06:38 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 2w3163k5qg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 06 Nov 2019 14:06:38 +0000 Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id xA6E6ahs012584; Wed, 6 Nov 2019 14:06:36 GMT In-Reply-To: <87mud94v4y.fsf@marxist.se> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4900.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9432 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=945 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1911060139 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9432 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1911060139 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:171021 Archived-At: > >> It would be handy to have M-x narrow-to-line to narrow the buffer to > >> the line point is currently on. >=20 > I think the proposal to add these commands make sense, since there > seems to exist a user demand. Would anyone object to including the > above commands in Emacs? >=20 > > The problem is what keys, if any, to bind them to by default. >=20 > I'd suggest that we bind narrow-to-line to 'C-x n l', and leave > mark-line unbound by default for now. I agree now with Ed Avis that we should _not_ bind either command to a key by default. Anyone who uses them can bind them to keys. These commands are not super-useful. There is no reason to sacrifice default keys to them. It's good to have such commands, but default keys should be defined only when we know there's a lot of clamor for them. ;-)