From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Justin Paston-Cooper 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 16:57:43 +0100 Message-ID: References: <83wobmqv4p.fsf@gnu.org> <83v9r6qu8c.fsf@gnu.org> <4eba4e99-0aa0-4194-a5d1-842b039e377d@default> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="28067"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38392@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 27 16:59:48 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 1iZzjH-0007Bo-SE for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 16:59:47 +0100 Original-Received: from localhost ([::1]:39892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZzjG-0000Zx-OR for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 10:59:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55188) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZzia-0008MX-0X for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 10:59:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZziX-0008Bx-Vo for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 10:59:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50125) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZziX-0008Br-SX for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 10:59:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iZziX-0005na-S7 for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 10:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Justin Paston-Cooper Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Nov 2019 15:59: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.157487028222224 (code B ref 38392); Wed, 27 Nov 2019 15:59:01 +0000 Original-Received: (at 38392) by debbugs.gnu.org; 27 Nov 2019 15:58:02 +0000 Original-Received: from localhost ([127.0.0.1]:56098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZzha-0005mO-CI for submit@debbugs.gnu.org; Wed, 27 Nov 2019 10:58:02 -0500 Original-Received: from mail-io1-f67.google.com ([209.85.166.67]:39164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZzhZ-0005lv-2O for 38392@debbugs.gnu.org; Wed, 27 Nov 2019 10:58:01 -0500 Original-Received: by mail-io1-f67.google.com with SMTP id k1so25409842ioj.6 for <38392@debbugs.gnu.org>; Wed, 27 Nov 2019 07:58:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yKT7EnPOtT0utUsyLcEpnAKCBU1VgLUdHSbPafo9MJs=; b=RaEjqqmmpvCw7VqLWaauH1DWiB1OQmd1GmK5PfI5ObheQW5IHwz+TA9mfyYfvPRDbH 2ixzFlQFM3+O1bjf9DUgbmSRgTaTl48bGjIeUvRJaekWuewWOo9IdcZE7jeHJ1mNqBF9 VJr0PNITHOND/wj4zJ5jwkbWT9j8coTJ7MmY5FqEF8f6g2xrXyvi5NmKk09gS6c1vyZt nHU/WYTRJrxmkih9oxD7p/j1/rp22Hj0tDpapkuTNZrecAz/Y+xpMkJlRwTpX5h3wIFP 9FQeL+RXCHrfLDdjT+8H3IhOl04ABOEO1LxmQ6Nj5xaMkPt4gWM7HKpysQX0iZlP15P6 /pPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yKT7EnPOtT0utUsyLcEpnAKCBU1VgLUdHSbPafo9MJs=; b=UBxvsZ3HviZFixcUpyeDRaVPrWQD6mGPNuRWZq2sGFfQUBfIlH1s4DABp/VIJlYVWZ yX9m85z91OAl/yVhkDj+WewBxUU3wa9MLGubgAvDGwNZSm2HmD2qWAyGph6Ydn9E/Sx7 YgZ70hjGFFDQuTdUC0bTnQ3NUw5JwGDR95fdZ9h0gf3HcdW3F3y6vtQpeZWzBb7bUJK0 qJXPacs6du5k2s2zeF+QxFnbV9ozE7IpDnYtayb/dN1U7j66Pv5zMuxkHDowJxvPTj98 0uPApI5YVjNHW/GHxIf9mjH905W4KAP8w73vENascDhLsbnO50rQeqRvQmoL6PRSH+Xr +q3A== X-Gm-Message-State: APjAAAW84Sy2rnicNfIQAw0a2UV/9TPFGsu2v6oHR47X/o16jEH6XOU4 PeS3T3oHWpRQbAGwDooHHvWv0pcMXO4lrkNL+/w= X-Google-Smtp-Source: APXvYqxVkci2hUNIHKbsb6w8RrXLoQh34ei33yOK4MM7j+FjTKDmv1HQxOfuwk9ryY6AOSUqMlZvUnkCNAuxP+CfCLo= X-Received: by 2002:a02:55c3:: with SMTP id e186mr5112741jab.143.1574870275149; Wed, 27 Nov 2019 07:57:55 -0800 (PST) In-Reply-To: <4eba4e99-0aa0-4194-a5d1-842b039e377d@default> 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:172543 Archived-At: What about having a class of inclusivity modifiers of the form `C-I element` (I is isomorphic to set of inclusivities {before, through, after}), element is either RET for defining inclusivity alone, or a `regexp RET` for including a certain pattern, similar to C-u, which would pass an argument to things like C-f, C-b, C-s and do the appropriate? On Wed, 27 Nov 2019 at 16:42, Drew Adams wrote: > > > 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'.