From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: Recentish C-s M-y change Date: Wed, 13 Jan 2021 22:34:19 +0300 Message-ID: References: <87r1na4tyu.fsf@gnus.org> <87tus6tj7s.fsf@mail.linkov.net> <87a6txigm1.fsf@gnus.org> <874kk5lzew.fsf@mail.linkov.net> <87eej8ifll.fsf@mail.linkov.net> <87h7o3k5b5.fsf@mail.linkov.net> <87wnwslhdr.fsf@mail.linkov.net> <87sg74itrx.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18766"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Gregory Heytings , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 13 20:36:37 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzlwb-0004my-Fz for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Jan 2021 20:36:37 +0100 Original-Received: from localhost ([::1]:50234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzlwa-0005vo-Cy for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Jan 2021 14:36:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzluY-0004c4-Er for emacs-devel@gnu.org; Wed, 13 Jan 2021 14:34:37 -0500 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:49497) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzluW-0007RY-Lh for emacs-devel@gnu.org; Wed, 13 Jan 2021 14:34:30 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id CF9755C01B5; Wed, 13 Jan 2021 14:34:24 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 13 Jan 2021 14:34:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=VAstpfua2kL2zD2vWeQp/oSyFn Tr3qyh564SJoukiLc=; b=OG/3syOZdxpRO7I0LVkzR6tWkVZqz++Z3kGyTAzWY/ rginTi7IE1GfbVcElc3aOZtHX59KsFi2ehZxAqEsYN7nkFqS4Ru5r2UlNB8B9ZNL hHAVQ6Mrm/sExaepcYDeGmpDa4IfBIKHciObo1PPWukOFjhDRGCMyIYCQ1KpWWhe i8yTQda63HVshSwRZdQWWlurWu2Qj1e4PPER4zG4LrwE0o2nMH5dDlXe4BXz+W5T k4LAGikXKPNjDjgEpsyKcobC434qsNKTozBm1ST4HMoA5qcqbQNjYrx3w1fNOUSZ 6RbWb16dbIAMjPExobaKu9pDzi+3sgbqY4FvnT2BxPgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=VAstpf ua2kL2zD2vWeQp/oSyFnTr3qyh564SJoukiLc=; b=GyNhrmZ5Y1jNCx5G4Pi5y5 dCyWk6qibYXbVqzZjFASrITXKW+WWN1EcObtyPgzKbcGCmaU6KLcWPorS0uPuJHC SeRH4R0rn5gzfBK2TytuiL6Iq7+/+l1ttqX/u/TKjuic32g03AFmEwGo1o/xCJey fI3tQQMML8fDBdfJGO77Yz34IscUZpm92DZdQ1ZBh/BUhjV8qqc7UD85Bp0jHDdL SNyvkPeYwJnmRfCr+1y6/eU+k6g+xn+/RTVRDBPBp2AV5OlMIJavCf5fCZqBdq6A yoLwj37dnUNS5S3gHCZKSMc8E6aJyrqagBOSFTxWF0B8GBdST1jg+Aj/DHtYNC2A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedukedrtdefgdduvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecuggftrf grthhtvghrnhepvdevkeffvdeuvefhuddtjeehkedvueefveettddtveduudfgieffieev ieevhfdtnecukfhppeekgedrvddtgedrudelfedruddtieenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfghhunhgsihhnsehfrghsthhmrghi lhdrfhhm X-ME-Proxy: Original-Received: from fgunbin.local (unknown [84.204.193.106]) by mail.messagingengine.com (Postfix) with ESMTPA id 898F024005D; Wed, 13 Jan 2021 14:34:21 -0500 (EST) In-Reply-To: <87sg74itrx.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 13 Jan 2021 20:19:46 +0200") Mail-Followup-To: Juri Linkov , Gregory Heytings , emacs-devel@gnu.org Received-SPF: pass client-ip=66.111.4.29; envelope-from=fgunbin@fastmail.fm; helo=out5-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263040 Archived-At: On 13/01/2021 20:19 +0200, Juri Linkov wrote: >>>> Many commands in isearch-mode-map explicitly allow and use a prefix >>>> argument (C-q, C-r, C-s, C-w, ...). isearch-yank-kill (C-y) and >>>> isearch-yank-pop (M-y) accept one, but it is unused. I don't see what >>>> meaning could be attached to a numeric argument to isearch-yank-kill or >>>> isearch-yank-pop, so I think that using C-u to start an interactive >>>> selection with these two commands would make sense. >>> >>> The problem is that C-u has other meaning in 'C-u M-y' where it puts >>> point at beginning and mark at end. >> >> Are you sure? I don't see this, I do not see any difference between C-s >> M-y and C-s C-u M-y. > > I meant the global C-u M-y. But since its global meaning makes no sense > in isearch, I added C-s C-u M-y as you suggested. I'm a bit opposed to this change, because, as I wrote in this thread, it will introduce a behaviour-changing prefix arg in isearch-specific command. isearch already has many commands, and we'd better keep them simple, because they're already "nested", in a sense. In this concrete case, this is even worse, because `C-u M-y' has (different) meaning globally. Yes, in isearch there're `M-%', `M-s o' and others taking prefix arg for behavior change (not just simple repetition count), but they can be viewed as global commands only being _started_ in isearch. Just my opinion. Filipp