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: Wed, 27 Nov 2019 07:40:25 -0800 (PST) Message-ID: <4eba4e99-0aa0-4194-a5d1-842b039e377d@default> References: <83wobmqv4p.fsf@gnu.org> <83v9r6qu8c.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="229757"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38392@debbugs.gnu.org To: Justin Paston-Cooper , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 27 16:44:28 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 1iZzUS-000xf1-5c for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 16:44:28 +0100 Original-Received: from localhost ([::1]:39692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZzUP-0002yh-Qs for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 10:44:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52870) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZzT5-00022I-8J for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 10:43:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZzT4-0007FT-84 for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 10:43:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZzT4-0007FH-39 for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 10:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iZzT3-0005RV-Sc for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 10: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: Wed, 27 Nov 2019 15: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.157486935820892 (code B ref 38392); Wed, 27 Nov 2019 15:43:01 +0000 Original-Received: (at 38392) by debbugs.gnu.org; 27 Nov 2019 15:42:38 +0000 Original-Received: from localhost ([127.0.0.1]:56089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZzSf-0005Qt-K3 for submit@debbugs.gnu.org; Wed, 27 Nov 2019 10:42:37 -0500 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:54470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZzSb-0005Qe-GX for 38392@debbugs.gnu.org; Wed, 27 Nov 2019 10:42:35 -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 xARFdDaB087300; Wed, 27 Nov 2019 15:42:27 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=5L6CpYzw9hScX28BOY90oEh06uZ1ypPoMgJn6zNF7Aw=; b=TmSxKxWbG2eLUfHVq2dWezCa1+rpaGYuIpMlk1nTeNkI75cl6J7M7aUUo/S3ZqhdMgft WGNa6alhNyV9S2LMjjgp/uelNElo7ETi9GLUdTVEw91T6pCGLi1gka4Q+a4OzWp+DF2W rbBfKsAav+qC398bnOkw5T55CAaZjsZmILWQ4wwNJVtxgam+HOvF/BvohtmtejYzuW02 aPyXWbWTQzfhXUvarwiURg6DwwzjXAb9IuLba3Zyj6ug2zOTz//CNrOc5EylwxEv3TeH fjDcaDdhvgToyL191Peiuw4bTIKqCpuok4hGK5hfDH17K4w1MarN3AW/CkYigNfD3N8C vw== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2wevqqef0a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 Nov 2019 15:42:27 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xARFd1rx128895; Wed, 27 Nov 2019 15:40:27 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 2wgwuur4eg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 Nov 2019 15:40:27 +0000 Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id xARFeQZA020895; Wed, 27 Nov 2019 15:40:26 GMT In-Reply-To: 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=9454 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-1911270137 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9454 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-1911140001 definitions=main-1911270137 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:172541 Archived-At: > not zap-***up***-to-char. 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"). In the improvements I suggested for Isearch (bug #37417, emacs-devel thread "PATCH: isearch-yank-until-match" and part of thread "PATCH: isearch-yank-until-char"), I used "through" for commands that act from point through some position: `isearch-yank-through-new-match', `isearch-yank-through-key-move', and `isearch-yank-through-rec-edit-move'.