From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: Recentish C-s M-y change Date: Wed, 27 Jan 2021 22:01:29 +0000 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; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29980"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 27 23:03:27 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 1l4suJ-0007ed-SX for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jan 2021 23:03:23 +0100 Original-Received: from localhost ([::1]:58268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4suI-0002SF-Ux for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jan 2021 17:03:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4ssZ-0000jZ-0a for emacs-devel@gnu.org; Wed, 27 Jan 2021 17:01:35 -0500 Original-Received: from heytings.org ([95.142.160.155]:55586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4ssW-0005Cw-JK for emacs-devel@gnu.org; Wed, 27 Jan 2021 17:01:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1611784889; bh=2TxWpbuB8h0HPMlmLy1ube1M8XAIfPPfvpKP1qvtKgA=; h=Date:From:To:Subject:In-Reply-To:Message-ID:References:From; b=Vcic/izZZuEUwJQscoxFmIC5ubd+YhGmCc2gAYpl8bnKr6+V2k1hd/XfSv2T2DVmB xxBTKkHAWFKSzSa/i0MA8PLE27NXRB2wJ+fm562JFuWxfziIcXAtK9KO1VHNLziQPR hFlc4INWvmvq+Nmd4x6Yp88Nh7MnO6S0uY2A0dOAyj+CuksXx0unuEBb2Oi1/pehyg mrwF4O9b1OnmMRHDKB9+RG1NqDZxJGg9RtdrNgQD/8T2hUIyybFfNQM1z1B2yy9Mae ysbNOiYMvlaTKaAmUCSDPGqEShKWOqQL1r+OhJ7FvoR21XdQYZcOnjKA0zUvCmhGt8 C+9J7lLoAeJaQ== In-Reply-To: <87sg74itrx.fsf@mail.linkov.net> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 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, FROM_FMBLA_NEWDOM28=0.799, GAPPY_SUBJECT=0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:263520 Archived-At: >>>> 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. > Thank you! But... could you perhaps also add C-s C-u C-y, as I suggested? If not, why not? The prefix argument is currently ignored by C-y. I believe accessing the new feature with both C-s C-u C-y and C-s C-u M-y is useful: C-s C-u C-y is useful to immediately enter an interactive selection (it's convenient because it only uses the control modifier), and C-s C-y M-y ... C-u M-y is useful to enter an interactive selection while using the non-interactive selection.