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#38392: zap-up-to-char should appear in "Deletion and Killing" Emacs info section and "Command Index" Date: Thu, 28 Nov 2019 08:42:32 -0800 (PST) Message-ID: <90186505-3129-402f-8bc2-babe7fed6991@default> References: <83wobmqv4p.fsf@gnu.org> <83v9r6qu8c.fsf@gnu.org> <4eba4e99-0aa0-4194-a5d1-842b039e377d@default> <87mucgjr1e.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="165321"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Justin Paston-Cooper , 38392@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 28 18:04:26 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 1iaNDN-000gsG-Rl for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Nov 2019 18:04:25 +0100 Original-Received: from localhost ([::1]:51074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaNDK-0002SS-Rk for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Nov 2019 12:04:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37432) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaMsl-00086t-85 for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 11:43:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaMsh-0003rH-67 for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 11:43:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaMsg-0003kW-US for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 11:43:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaMsf-000633-SF for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 11:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Nov 2019 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38392 X-GNU-PR-Package: emacs Original-Received: via spool by 38392-submit@debbugs.gnu.org id=B38392.157495936523223 (code B ref 38392); Thu, 28 Nov 2019 16:43:01 +0000 Original-Received: (at 38392) by debbugs.gnu.org; 28 Nov 2019 16:42:45 +0000 Original-Received: from localhost ([127.0.0.1]:59066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaMsO-00062S-Iq for submit@debbugs.gnu.org; Thu, 28 Nov 2019 11:42:45 -0500 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:37760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaMsL-00062E-LC for 38392@debbugs.gnu.org; Thu, 28 Nov 2019 11:42:42 -0500 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xASGdSlM050674; Thu, 28 Nov 2019 16:42:35 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=behcA0VKhswUMUBoMuk1zELw5f7hzN7T0wnKdsBSXuE=; b=VL6AXWhIJkM+BvbjzL4jgPTaLjOl3E7AME6pjtnZ/JIcgOMJ4xS2bLUSn5WNL68cQg4F uOV/MloNtGE51uI+W5TqNPN+9lpT4CbvIko6ovM0Ye4MSEH/Q0M4bC4Hctffb85BrREg pjWmXBKZWwCTdYYmLt68odCd8mzZFfKT+2zkl6R4ltDCiBSpJFy3bKiDD+4dVJK3X5O7 xmWTaVlENqQ43DpbmRS9NOi02Sbkz2haXMZ9t7TNrMNrth19vZPcLRpHtyBiK5yhYTS0 2DpSjTkfzkUPxC5bRwGsVN+1ccveAWK+46LqIicFhP5vovLtKGCd7cjCUKJoRglcdP9u 6Q== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 2wevqqmgf1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Nov 2019 16:42:35 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xASGcNQ9092594; Thu, 28 Nov 2019 16:42:34 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3030.oracle.com with ESMTP id 2wjh10t7d7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Nov 2019 16:42:34 +0000 Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id xASGgXFM028262; Thu, 28 Nov 2019 16:42:33 GMT In-Reply-To: <87mucgjr1e.fsf@marxist.se> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4927.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9455 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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911280140 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9455 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911280140 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:172611 Archived-At: > > In Isearch we now have `isearch-yank-until-char'. > > > > So we now have two different ways to name something > > that deals with text from point forward to, but not > > including, the position of some char: "up to" vs > > "until". > > > > It would be better to have a single way to name this. > > > > --- > > > > Considering that the names `zap-to-char' and > > `zap-up-to-char' are so close, and they can be > > confused (witness Eli's missing the difference > > here, at first), "until" seems a bit better. > > > > On the other hand, "until" has a strong connotation > > of time, and a weak one of space/distance. And "up > > to" is pretty clear, if taken apart from "to". > > > > Really, `zap-to-char' should probably be called > > `zap-through-char'. I'd suggest using the terms > > "until" (for "up to") and "through" (for zap "to"). >=20 > FWIW, I think `zap-until-char' and `zap-through-char' would be less > clear than the current names. >=20 > I agree with the point about consistency. It would be better then to > rename `isearch-yank-until-char' to `isearch-yank-up-to-char' instead > of renaming the old commands, I think. No objection from me. Consistency can help in general, but it's not an imperative. More important than global consistency is local consistency (e.g. within Isearch, don't use more than one way to name the same thing). It's probably too late to change `zap-to-char', but I think that `through' is clearer than `to', when the char is included. `zap-through-char' would be clearer, and it's confusing to have both `-to-' and `-up-to-'. (There currently is no Isearch yank command that has "through" semantics, but I added a couple in my code and in the patch I submitted for bug #37417.)