From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 21 14:00:46 2010 Received: (at submit) by debbugs.gnu.org; 21 Dec 2010 19:00:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV7S1-0001Nw-5q for submit@debbugs.gnu.org; Tue, 21 Dec 2010 14:00:45 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV7Rz-0001Nk-Es for submit@debbugs.gnu.org; Tue, 21 Dec 2010 14:00:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PV7YE-0006R5-0F for submit@debbugs.gnu.org; Tue, 21 Dec 2010 14:07:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:49924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PV7YD-0006Qz-RH for submit@debbugs.gnu.org; Tue, 21 Dec 2010 14:07:09 -0500 Received: from [140.186.70.92] (port=59625 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV7Y2-0006gn-2u for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2010 14:07:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PV7XN-0006C1-KM for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2010 14:06:57 -0500 Received: from mail-gx0-f180.google.com ([209.85.161.180]:50382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PV7XN-0006Bx-Fe for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2010 14:06:17 -0500 Received: by gxk19 with SMTP id 19so2502247gxk.39 for ; Tue, 21 Dec 2010 11:06:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=4WUDu8CsU047zD3ouhenVPIqZzimz6skcR0zVKbM0H4=; b=NxWicGublwOL4ySPle41Rk3bXOhnjB9J50gvb6e/aJJkLqrybzjwuGsvz6iCZEtyhA Uz4uW2gIbB542ERoFbJ8D/gmjC14eUEnyEqZfQpDCcR8DJ+f5bzAjsTWbkmCs4A6ZLDn k9yatMcJrM10iPLavuCPQzhiOSn51jugueo74= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qTgGzcD6ExkH4IXKtX3njAO2hxiQ+FDx8DgOJ49+2AKoLjGYrvj49QK6OSdokNUPKw f4lmpGxLj4DQvMp5i8UEvvYnclG94zVMwtL4IwrEJl5J8leFSM192L51j3eTKT/45aff QREEovJ4JH0A6Ir6y0fjTV/9gqZ2tgSDddv74= MIME-Version: 1.0 Received: by 10.90.82.16 with SMTP id f16mr7492452agb.67.1292958376504; Tue, 21 Dec 2010 11:06:16 -0800 (PST) Received: by 10.90.227.16 with HTTP; Tue, 21 Dec 2010 11:06:16 -0800 (PST) Date: Tue, 21 Dec 2010 20:06:16 +0100 Message-ID: Subject: 24.0.50; C-y binding withing Isearch mode From: Dani Moncayo To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=0016361e7ed2bdaf7c0497f0549a X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) --0016361e7ed2bdaf7c0497f0549a Content-Type: text/plain; charset=ISO-8859-1 Severity: wishlist Two common task performed when editing with Emacs are (a) Visit some file and (b) search for some text. In my case it often happens that the path of the file to visit or the text to search for is previously copied to the kill ring (or system clipboard), so that I, intuitively, yank it with C-y. This works OK when the operation at hand is to visit a file, but it doesn't in the search case, because in Isearch mode, C-y is bounded to another command: One that takes the text from point to the end of line as search text (which is of little use, IMO). Personally, I find this behavior inconsistent/annoying: I would expect that C-y within Isearch add text X to the search text, where X is the text that would be yanked in normal editing. One solution to fix this would be to swap the bindings of C-y and M-y withing Isearch mode. Of course I can do that in my .emacs, but if you agree with my reasoning, it could be make the default. What do you think? -- Dani Moncayo --0016361e7ed2bdaf7c0497f0549a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Severity: wishlist

Two common task performed when editing with Em= acs are (a) Visit some file and (b) search for some text.

In my case it often happens that the = path of the file to visit or the text to search for is previously copied to= the kill ring (or system clipboard), so that I, intuitively, yank it with = C-y.

This works OK when the operation at hand is to visit a file, but it doe= sn't in the search case, because in Isearch mode, C-y is bounded to ano= ther command: One that takes the text from point to the end of line as sear= ch text (which is of little use, IMO).

Personally, I find this behavior inconsistent/annoying: I would expect = that C-y within Isearch add text X to the search text, where X is the text = that would be yanked in normal editing.

One solution to fix this wou= ld be to swap the bindings of C-y and M-y withing Isearch mode. Of course I= can do that in my .emacs, but if you agree with my reasoning, it could be = make the default.

What do you think?


--
Dani Moncayo<= br>
--0016361e7ed2bdaf7c0497f0549a-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 21 16:19:33 2010 Received: (at 7700) by debbugs.gnu.org; 21 Dec 2010 21:19:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV9cL-0004On-F9 for submit@debbugs.gnu.org; Tue, 21 Dec 2010 16:19:33 -0500 Received: from mail-yw0-f44.google.com ([209.85.213.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV9cJ-0004Ob-R3 for 7700@debbugs.gnu.org; Tue, 21 Dec 2010 16:19:32 -0500 Received: by ywk9 with SMTP id 9so1963921ywk.3 for <7700@debbugs.gnu.org>; Tue, 21 Dec 2010 13:26:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=MOs4pmPytc8oWoy0PHPbXiQy61TrRl1BT6EgkMZ3JOw=; b=AtNal4c46hfIujqlKdWVMbRtvBBnn7WQS/M/KXxfvgbdB222KGdtlivEqKWJvvTX1f UTw1qP8oHWBFgZ+r9T/hwmlfXu2/QJfOgm/24pgebNUJVtpTCX3eANvJRNsyN2JoVU9q eDCDLqDg+c7x1Djk//d5YXjfF7vvfmlgpvSAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sw97scY0+7A4g7yfD+/mcG+7OF4d/EBnUiSuu9eEJ9F+wNAOAGXjH1lI/DxenPECO6 elvhSM6RbbBN+jWDmUGRkzbhfwO6i2wb9WFk3y1sj5AuRMO5FWPlImfscS8GzxOEwBxu PL8p4ZY6eJpcs72MJz/lk/Of3iJ4FAovCQAQ0= MIME-Version: 1.0 Received: by 10.90.7.15 with SMTP id 15mr7720801agg.13.1292966764434; Tue, 21 Dec 2010 13:26:04 -0800 (PST) Received: by 10.90.227.16 with HTTP; Tue, 21 Dec 2010 13:26:04 -0800 (PST) In-Reply-To: References: Date: Tue, 21 Dec 2010 22:26:04 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode From: Dani Moncayo To: 7700@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 7700 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) > One solution to fix this would be to swap the bindings of C-y and M-y withing Isearch mode. Or even better: make C-y and M-y behave in Isearch "like" in normal editing (including minibuffer input): - C-y --> Add text X to the seach text, being X the text that would be yanked by C-y in normal editing. - M-y --> If last command was C-y, replace just-yanked text (X) with the previous text from kill ring. In this case, the command currently bound to C-y (within Isearch mode) would have to be bound to another key. -- Dani Moncayo PS: My previous post was in HTML format. I'm sorry. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 10:24:15 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 15:24:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVn1a-0007Wo-RZ for submit@debbugs.gnu.org; Thu, 23 Dec 2010 10:24:15 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVn1Z-0007Wc-7k for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 10:24:13 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAIr5Ek3O+ILX/2dsb2JhbACkJ3TBMIVKBIRljhs X-IronPort-AV: E=Sophos;i="4.60,219,1291611600"; d="scan'208";a="86385493" Received: from 206-248-130-215.dsl.teksavvy.com (HELO ceviche.home) ([206.248.130.215]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 23 Dec 2010 10:30:50 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 4FA576610E; Thu, 23 Dec 2010 10:30:50 -0500 (EST) From: Stefan Monnier To: Dani Moncayo Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Message-ID: References: Date: Thu, 23 Dec 2010 10:30:50 -0500 In-Reply-To: (Dani Moncayo's message of "Tue, 21 Dec 2010 20:06:16 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > Personally, I find this behavior inconsistent/annoying: I would expect that > C-y within Isearch add text X to the search text, where X is the text that > would be yanked in normal editing. FWIW, I'd agree. I've always found the C-y binding in isearch "useless" and counter-intuitive. I'd much rather make C-y and M-y behave like they do in the minibuffer. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 11:02:51 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 16:02:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVncu-0001Rl-6T for submit@debbugs.gnu.org; Thu, 23 Dec 2010 11:02:51 -0500 Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVncs-0001RY-Ff for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 11:02:46 -0500 Received: by ewy8 with SMTP id 8so3236887ewy.3 for <7700@debbugs.gnu.org>; Thu, 23 Dec 2010 08:09:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Qfu3QlHAWP17kShYzMadBT3MaRaVf+G11zzHxGTDvUI=; b=UrudMaujJJqTKYWXn0us+I7+dBYwwuoo4VkFWyHA0zVMhOkQ6V9ZGdn3xljIVHdYMt trxCFI6HwxTThur52sK+HtPXXqkGDlvs4IuMmvZK6NjtjBghWcjaCMC5KEO77WLgUfUU 5PGIVLBUdOubtaGIty8nOJFiva+G07BE3r8mo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=rHY/4waBTf4yOqzrjbREdA3yVYtuo+8yCmhARQvygZgR4Hp+Ukc5m8SN+3SrocZQ5I v8E0dPcjp7UabGaahaTNdg9wd044goyC7WLILjJndsS3KSsF+I4jQxoEr7Rh78UUn9aM okiBsPQb6mznxV+miXCF6cnwqIPHuToAazZEg= Received: by 10.213.30.1 with SMTP id s1mr6767183ebc.71.1293120563526; Thu, 23 Dec 2010 08:09:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.20.148 with HTTP; Thu, 23 Dec 2010 08:09:03 -0800 (PST) In-Reply-To: References: From: Lennart Borgman Date: Thu, 23 Dec 2010 17:09:03 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Thu, Dec 23, 2010 at 4:30 PM, Stefan Monnier wrote: >> Personally, I find this behavior inconsistent/annoying: I would expect t= hat >> C-y within Isearch add text X to the search text, where X is the text th= at >> would be yanked in normal editing. > > FWIW, I'd agree. =C2=A0I've always found the C-y binding in isearch "usel= ess" > and counter-intuitive. =C2=A0I'd much rather make C-y and M-y behave like > they do in the minibuffer. Could we then (if this change is made) please also let C-v do in isearch what it usually does in cua-mode if cua-mode is on? From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 11:39:56 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 16:39:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVoCq-0002Em-H8 for submit@debbugs.gnu.org; Thu, 23 Dec 2010 11:39:56 -0500 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVoCo-0002Eb-PZ for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 11:39:55 -0500 Received: by wyf23 with SMTP id 23so6375437wyf.3 for <7700@debbugs.gnu.org>; Thu, 23 Dec 2010 08:46:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :reply-to:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=Z8UgonUaEc1LdvJKK4JSikci5H//lnaLOB5XnYuyWVg=; b=JhZDNl4bqo1dRswvqm5/c+ksDrSnYODjZwFf726iXnVJW4hGF+80WyWuG1RnbrxqOa ow/EW5mYGj3g7gObvocAQNnm+EMsaYTQycJZUZCFaLCfHwZlu4t1pGE8BUWWIOq/pofL yj91FY8QRzVwytCpxtK9e/ABZ3u79xLijjtWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:reply-to:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=RqdgFOBZMX0hLiQu9E8eESdD8tXJ50qNy4HXdW5VengES/I/o8Pc5NOlgUiXRH4rQU Y5YBcMcJ/m7QJ2xE0H2uLs4LCQ4W6+dNuRjLDNfKCrMQIGUrMUCISUbgnlzL5vSYo5ca tcqTNQdN1m61CWkr5jsJNSxszvpvmTa20l4oM= Received: by 10.216.174.65 with SMTP id w43mr11867377wel.95.1293122791887; Thu, 23 Dec 2010 08:46:31 -0800 (PST) Received: from Victoria.local (cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com [86.9.122.85]) by mx.google.com with ESMTPS id n3sm3844964wer.30.2010.12.23.08.46.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 23 Dec 2010 08:46:30 -0800 (PST) From: Leo To: Stefan Monnier Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode References: Date: Thu, 23 Dec 2010 16:46:27 +0000 In-Reply-To: (Stefan Monnier's message of "Thu, 23 Dec 2010 10:30:50 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (Mac OS X 10.6.5) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: 7700@debbugs.gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) On 2010-12-23 15:30 +0000, Stefan Monnier wrote: > FWIW, I'd agree. I've always found the C-y binding in isearch > "useless" and counter-intuitive. I'd much rather make C-y and M-y > behave like they do in the minibuffer. That's one of the worst and most useless key bindings and surprisingly it has survived that long. Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 11:53:21 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 16:53:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVoPo-0002Wx-Na for submit@debbugs.gnu.org; Thu, 23 Dec 2010 11:53:20 -0500 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVoPm-0002Wj-Lo for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 11:53:19 -0500 Received: (qmail 46079 invoked by uid 3782); 23 Dec 2010 16:59:55 -0000 Received: from acm.muc.de (pD9E50E76.dip.t-dialin.net [217.229.14.118]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Thu, 23 Dec 2010 17:59:53 +0100 Received: (qmail 4105 invoked by uid 1000); 23 Dec 2010 17:14:34 -0000 Date: Thu, 23 Dec 2010 17:14:34 +0000 To: Stefan Monnier Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Message-ID: <20101223171434.GA3971@muc.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Hi, Stefan, On Thu, Dec 23, 2010 at 10:30:50AM -0500, Stefan Monnier wrote: > > Personally, I find this behavior inconsistent/annoying: I would expect that > > C-y within Isearch add text X to the search text, where X is the text that > > would be yanked in normal editing. > FWIW, I'd agree. I've always found the C-y binding in isearch "useless" > and counter-intuitive. I'd much rather make C-y and M-y behave like > they do in the minibuffer. I use C-y ("grab to next end of line") quite a bit. But it annoys me that it's bound to C-y. I'd prefer C-y to do what M-y currently does, but please don't unbind "grab to end of line" completely. How about swapping C-y and M-y, like the OP suggested? > Stefan -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 11:59:24 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 16:59:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVoVf-0002fJ-WD for submit@debbugs.gnu.org; Thu, 23 Dec 2010 11:59:24 -0500 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVoVc-0002f6-To for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 11:59:21 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id A20691C0048F; Thu, 23 Dec 2010 18:05:57 +0100 (CET) X-Auth-Info: Psgiuy0s5VaOhGHYICZ1MpSpwVKSTayclnprumRML40= Received: from linux.local (p508B433A.dip.t-dialin.net [80.139.67.58]) by mail.mnet-online.de (Postfix) with ESMTPA id 74F661C00210; Thu, 23 Dec 2010 18:05:57 +0100 (CET) Received: by linux.local (Postfix, from userid 501) id A6B671E52EC; Thu, 23 Dec 2010 18:05:54 +0100 (CET) From: Andreas Schwab To: 7700@debbugs.gnu.org Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode References: X-Yow: .. are the STEWED PRUNES still in the HAIR DRYER? Date: Thu, 23 Dec 2010 18:05:53 +0100 In-Reply-To: (Leo's message of "Thu, 23 Dec 2010 16:46:27 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7700 Cc: Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Leo writes: > On 2010-12-23 15:30 +0000, Stefan Monnier wrote: >> FWIW, I'd agree. I've always found the C-y binding in isearch >> "useless" and counter-intuitive. I'd much rather make C-y and M-y >> behave like they do in the minibuffer. > > That's one of the worst and most useless key bindings and surprisingly > it has survived that long. It's the natural extension of C-w, and I use it very often. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 12:23:12 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 17:23:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVosi-0003CR-6U for submit@debbugs.gnu.org; Thu, 23 Dec 2010 12:23:12 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVosg-0003CE-CF for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 12:23:10 -0500 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBNHTj5Q015094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Dec 2010 17:29:47 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBNHThY4004828; Thu, 23 Dec 2010 17:29:43 GMT Received: from abhmt010.oracle.com by acsmt354.oracle.com with ESMTP id 878566631293125337; Thu, 23 Dec 2010 09:28:57 -0800 Received: from dradamslap1 (/10.159.220.75) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 23 Dec 2010 09:28:57 -0800 From: "Drew Adams" To: "'Stefan Monnier'" , "'Dani Moncayo'" References: Subject: RE: bug#7700: 24.0.50; C-y binding withing Isearch mode Date: Thu, 23 Dec 2010 09:28:55 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcuiuarlnvQI3hzpSoi0M0Ytb/oXvAACzZWQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > > Personally, I find this behavior inconsistent/annoying: I > > would expect that C-y within Isearch add text X to the > > search text, where X is the text that > > would be yanked in normal editing. > > FWIW, I'd agree. I've always found the C-y binding in > isearch "useless" and counter-intuitive. I'd much rather > make C-y and M-y behave like they do in the minibuffer. 1+ Why not bring it up in emacs-devel, to see what counter arguments there might be? I'm thinking that Richard, for example, might express some good reasons behind the longstanding behavior. --- Although I haven't used `C-y' in isearch in a long time, I'm not sure its behavior is "useless". It would probably be good to have some isearch key binding for what C-y does now. Juri might mention that there are few keys available. ;-) One possibility might be `C-u C-y' (since the C-u behavior for C-y doesn't apply during isearch), but that would mean sacrificing C-u's ability to exit isearch. Worse, C-u is currently passed to any exiting key (e.g. `C-u C-n'), which can be handy. Personally, I wouldn't mind sacrificing `C-u' for this - I think there are plenty of keys to exit a search. But I know that others do object to losing any exit keys, and `C-u' is also a special case wrt exiting. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 14:02:35 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 19:02:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVqQl-0005NQ-5Z for submit@debbugs.gnu.org; Thu, 23 Dec 2010 14:02:34 -0500 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVqQi-0005NB-2U for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 14:02:25 -0500 Received: (qmail 58438 invoked by uid 3782); 23 Dec 2010 19:09:00 -0000 Received: from acm.muc.de (pD9E50E76.dip.t-dialin.net [217.229.14.118]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Thu, 23 Dec 2010 20:08:58 +0100 Received: (qmail 1437 invoked by uid 1000); 23 Dec 2010 19:23:38 -0000 Date: Thu, 23 Dec 2010 19:23:38 +0000 To: Drew Adams Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Message-ID: <20101223192338.GA1114@muc.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, 'Stefan Monnier' , 'Dani Moncayo' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Hi, Drew! On Thu, Dec 23, 2010 at 09:28:55AM -0800, Drew Adams wrote: > > > Personally, I find this behavior inconsistent/annoying: I would > > > expect that C-y within Isearch add text X to the search text, > > > where X is the text that would be yanked in normal editing. > > FWIW, I'd agree. I've always found the C-y binding in isearch > > "useless" and counter-intuitive. I'd much rather make C-y and M-y > > behave like they do in the minibuffer. What do they do in the minibuffer? C-h c doesn't seem to work in the minibuffer (as it doesn't in isearch also). > 1+ > Why not bring it up in emacs-devel, to see what counter arguments > there might be? I'm thinking that Richard, for example, might express > some good reasons behind the longstanding behavior. C-y (as it currently is) helps when you're trying to spot the difference between two sequences of lines. You do C-s, repeatedly followed by C-y until the second occurrance is no longer highlit. This identifies the differing line, and C-w then helps pin down the difference within the line. > --- > Although I haven't used `C-y' in isearch in a long time, I'm not sure its > behavior is "useless". It would probably be good to have some isearch key > binding for what C-y does now. How about M-y? > Juri might mention that there are few keys available. ;-) > One possibility might be `C-u C-y' (since the C-u behavior for C-y doesn't apply > during isearch), but that would mean sacrificing C-u's ability to exit isearch. > Worse, C-u is currently passed to any exiting key (e.g. `C-u C-n'), which can be > handy. C-u C-y is too cumbersome for a key sequence you're likely to want to repeat. > Personally, I wouldn't mind sacrificing `C-u' for this - I think there are > plenty of keys to exit a search. But I know that others do object to losing any > exit keys, and `C-u' is also a special case wrt exiting. C-u is potentially useable by an isearch command (including a "scrolling" command) to enter a repeat count. When `isearch-allow-scroll' is enabled, C-u C-l is a useful key sequence - for example. Let's not lose this facility. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 14:24:06 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 19:24:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVqlh-0005qi-BH for submit@debbugs.gnu.org; Thu, 23 Dec 2010 14:24:05 -0500 Received: from mail-gx0-f172.google.com ([209.85.161.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVqlf-0005qG-QT for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 14:24:04 -0500 Received: by gxk28 with SMTP id 28so3183172gxk.3 for <7700@debbugs.gnu.org>; Thu, 23 Dec 2010 11:30:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LkXavdqRndnP77FEeZpyX8LBv0H4EShjuGUE51Afrr4=; b=ny4DmeHT+urm9pZUANNWEuOzhvUjEdaVXgxN01HgQVLjP39wgTrfY8YHthTC/sCKGK FzifpMUvgEaG00GVmkG+JrzcB0BZixKjmFCsNUnY9lc2Z9BpWH/MGuTR/zFlh3gXaaM9 it/S2YBAlc6LTh/jNDwiVvk33VWnGypt7/F7E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=v9ptJS6ZzfvK95+t6YPh3u0ICophk5vSqutvMF3wdq/CWXR9ngKNrbkcA3LXR8/aNZ sPb0BZv/uLojuWQd1KgVQXhCRjbhXCzFr9sCjZyHhH/2Sl8qM+EblLxooMvL6sBlK+ov EiONNYDASvDbFpLdM0HdvZBbv8NmSF39TjSUs= MIME-Version: 1.0 Received: by 10.90.69.10 with SMTP id r10mr10627000aga.121.1293132641578; Thu, 23 Dec 2010 11:30:41 -0800 (PST) Received: by 10.90.227.16 with HTTP; Thu, 23 Dec 2010 11:30:41 -0800 (PST) In-Reply-To: <20101223192338.GA1114@muc.de> References: <20101223192338.GA1114@muc.de> Date: Thu, 23 Dec 2010 20:30:41 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode From: Dani Moncayo To: Alan Mackenzie Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Stefan Monnier , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Thu, Dec 23, 2010 at 20:23, Alan Mackenzie wrote: >> Although I haven't used `C-y' in isearch in a long time, I'm not sure it= s >> behavior is "useless". =A0It would probably be good to have some isearch= key >> binding for what C-y does now. > > How about M-y? > IMO, it would be more consistent that C-y _and M-y_ have an analogous behavior of that when getting input from the minibuffer, as pointed out previously. The command currently bound to C-y can be rebound to another key (other than C-y and M-y). --=20 Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 14:48:29 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 19:48:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVr9I-0006OT-Kx for submit@debbugs.gnu.org; Thu, 23 Dec 2010 14:48:28 -0500 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVr9G-0006OG-CE for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 14:48:27 -0500 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 9EFD66E8055; Thu, 23 Dec 2010 11:55:03 -0800 (PST) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id DB800451C09E; Thu, 23 Dec 2010 11:55:01 -0800 (PST) From: Juri Linkov To: "Drew Adams" Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Organization: JURTA References: Date: Thu, 23 Dec 2010 19:48:05 +0000 In-Reply-To: (Drew Adams's message of "Thu, 23 Dec 2010 09:28:55 -0800") Message-ID: <87ipykclu2.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, 'Stefan Monnier' , 'Dani Moncayo' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > Juri might mention that there are few keys available. ;-) Yes, there are plenty of keys available :-) Most often I use the key sequence `C-s M-e C-y C-s' because it allows to edit the search string before searching. But of course, `C-y' is the best key when it's known that the exact search string is in the kill-ring. The question is what key to use for `isearch-yank-line' instead of `C-y'. > One possibility might be `C-u C-y' (since the C-u behavior for C-y doesn't apply > during isearch) Another possibility is `C-u C-w' because I noticed that I mostly use `C-y' (with its current binding `isearch-yank-line') after a sequence of `C-w's, i.e. switching from words to larger units - lines. Maybe `C-u C-w C-w C-w C-w ...' should `isearch-yank-line' for multiple lines. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 15:40:43 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 20:40:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVrxr-0007WB-9o for submit@debbugs.gnu.org; Thu, 23 Dec 2010 15:40:43 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVrxp-0007Vz-O3 for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 15:40:42 -0500 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBNKlHkO010171 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Dec 2010 20:47:19 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBNJ90tF019490; Thu, 23 Dec 2010 20:47:17 GMT Received: from abhmt009.oracle.com by acsmt355.oracle.com with ESMTP id 902240741293137178; Thu, 23 Dec 2010 12:46:18 -0800 Received: from dradamslap1 (/10.159.220.75) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 23 Dec 2010 12:46:18 -0800 From: "Drew Adams" To: "'Alan Mackenzie'" References: <20101223192338.GA1114@muc.de> Subject: RE: bug#7700: 24.0.50; C-y binding withing Isearch mode Date: Thu, 23 Dec 2010 12:46:16 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20101223192338.GA1114@muc.de> Thread-Index: Acui3A6AbrMGxPgyQymfd9Xnk/FA1AABPRhQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, 'Stefan Monnier' , 'Dani Moncayo' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) sm>>> FWIW, I'd agree. I've always found the C-y binding in isearch sm>>> "useless" and counter-intuitive. I'd much rather make C-y and M-y sm>>> behave like they do in the minibuffer. > > What do they do in the minibuffer? C-h c doesn't seem to work in the > minibuffer (as it doesn't in isearch also). da>> Although I haven't used `C-y' in isearch in a long time, da>> I'm not sure its behavior is "useless". It would probably da>> be good to have some isearch key binding for what C-y does now. > > How about M-y? To both questions you raise above: C-y and M-y in the minibuffer are the same as they are in any buffer: C-y yanks the last kill and M-y replaces the text just yanked with a previous kill. da>> One possibility might be `C-u C-y' (since the C-u behavior da>> for C-y doesn't apply during isearch), but that would mean da>> sacrificing C-u's ability to exit isearch. da>> Worse, C-u is currently passed to any exiting key (e.g. da>> `C-u C-n'), which can be handy. > > C-u C-y is too cumbersome for a key sequence you're likely to want to > repeat. I was thinking that only one C-u would be needed to then let C-y do what it does now. IOW, C-u C-y C-y... to repeat. But I suspect that proposing C-u for this is a non-starter. I expect that there will be significant attachment to the use of C-u to both exit isearch and be passed along to the following command/key as prefix arg. da>> Personally, I wouldn't mind sacrificing `C-u' for this - I da>> think there are plenty of keys to exit a search. But I know da>> that others do object to losing any exit keys, and `C-u' is da>> also a special case wrt exiting. > > C-u is potentially useable by an isearch command (including a > "scrolling" command) to enter a repeat count. When > `isearch-allow-scroll' is enabled, C-u C-l is a useful key > sequence - for example. Let's not lose this facility. OK by me. I completely forgot about such scrolling. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 15:43:47 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 20:43:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVs0o-0007aI-Mc for submit@debbugs.gnu.org; Thu, 23 Dec 2010 15:43:46 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVs0n-0007a6-7W for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 15:43:45 -0500 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBNKoLQe016051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Dec 2010 20:50:23 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBNKoKlX023851; Thu, 23 Dec 2010 20:50:20 GMT Received: from abhmt004.oracle.com by acsmt355.oracle.com with ESMTP id 878851841293137326; Thu, 23 Dec 2010 12:48:46 -0800 Received: from dradamslap1 (/10.159.220.75) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 23 Dec 2010 12:48:46 -0800 From: "Drew Adams" To: "'Dani Moncayo'" , "'Alan Mackenzie'" References: <20101223192338.GA1114@muc.de> Subject: RE: bug#7700: 24.0.50; C-y binding withing Isearch mode Date: Thu, 23 Dec 2010 12:48:44 -0800 Message-ID: <6BB278CA35844E1BA781563004DC5D8D@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acui3UNBx/kUDlY2RQOmZEE5vJiRAAABVczQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, 'Stefan Monnier' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > > How about M-y? > > IMO, it would be more consistent that C-y _and M-y_ have an analogous > behavior of that when getting input from the minibuffer, as pointed > out previously. > > The command currently bound to C-y can be rebound to another key > (other than C-y and M-y). I agree with that. If we want C-y to do what it usually does (thus simplifying the UI for users - fewer things to remember), then we should do the same with M-y. The idea is to reduce the possibility of confusion, not increase it or replace one such possibility with another. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 15:52:42 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 20:52:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVs9R-0007mo-Vn for submit@debbugs.gnu.org; Thu, 23 Dec 2010 15:52:42 -0500 Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVs9O-0007ma-TS for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 15:52:40 -0500 Received: by eyd10 with SMTP id 10so3062151eyd.3 for <7700@debbugs.gnu.org>; Thu, 23 Dec 2010 12:59:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ktOqNVxUmtWPtGtJhoC1ALciu8Tsne9gkUWg6wmr6sI=; b=X7xG5p2XyU/RSeWvrcBc1QZHxrWbKIm44OxlU66lhR0n6e5tpjJc5pZ2HTo0rTfpmt Mlt02FkxoRJmza6kwp9DmuzVllYSAbAIXGCzg+5fUa6JwanEmy/zWN6r3qVSz+mvvMaj x6/DivcD1PTM/k/3AP92nbIE3IPE8DvxG67oc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=pTjxguT+3xk9o116o6vxwTkuTpPqx0SlN5Wi9OIW1Gzn+CkdReiRLxMM+day8GPcMk WOLbmGq6bbIwDapPknsRrOTP+jBav0hv6qm96lZPgww3xZ3Aww78HDDAO5krxjKkIz1Q S3hhXOgxnpa/qbMIZpdhdWQlPv3jKgIc/kl4g= Received: by 10.213.9.66 with SMTP id k2mr6971370ebk.84.1293137956340; Thu, 23 Dec 2010 12:59:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.20.148 with HTTP; Thu, 23 Dec 2010 12:58:56 -0800 (PST) In-Reply-To: <6BB278CA35844E1BA781563004DC5D8D@us.oracle.com> References: <20101223192338.GA1114@muc.de> <6BB278CA35844E1BA781563004DC5D8D@us.oracle.com> From: Lennart Borgman Date: Thu, 23 Dec 2010 21:58:56 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode To: Drew Adams Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 7700 Cc: Alan Mackenzie , 7700@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Thu, Dec 23, 2010 at 9:48 PM, Drew Adams wrote: > > I agree with that. =C2=A0If we want C-y to do what it usually does (thus = simplifying > the UI for users - fewer things to remember), then we should do the same = with > M-y. > > The idea is to reduce the possibility of confusion, not increase it or re= place > one such possibility with another. +2 ;-) From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 16:07:29 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 21:07:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVsNk-00086u-T4 for submit@debbugs.gnu.org; Thu, 23 Dec 2010 16:07:29 -0500 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVsNi-00086h-Ii for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 16:07:27 -0500 Received: (qmail 69514 invoked by uid 3782); 23 Dec 2010 21:14:01 -0000 Received: from acm.muc.de (pD9E50E76.dip.t-dialin.net [217.229.14.118]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Thu, 23 Dec 2010 22:13:59 +0100 Received: (qmail 3126 invoked by uid 1000); 23 Dec 2010 21:28:40 -0000 Date: Thu, 23 Dec 2010 21:28:40 +0000 To: Dani Moncayo Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Message-ID: <20101223212840.GB1114@muc.de> References: <20101223192338.GA1114@muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Stefan Monnier , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Hi, Dani! On Thu, Dec 23, 2010 at 08:30:41PM +0100, Dani Moncayo wrote: > On Thu, Dec 23, 2010 at 20:23, Alan Mackenzie wrote: > >> Although I haven't used `C-y' in isearch in a long time, I'm not sure its > >> behavior is "useless".  It would probably be good to have some isearch key > >> binding for what C-y does now. > > How about M-y? > IMO, it would be more consistent that C-y _and M-y_ have an analogous > behavior of that when getting input from the minibuffer, as pointed > out previously. > The command currently bound to C-y can be rebound to another key > (other than C-y and M-y). Yes, but you've got to suggest one! Maybe C-M-y for "grab to next line end". That's an unused binding, similar to the existing C-y, and lends itself to easy repetition. > Dani Moncayo -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 17:23:18 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 22:23:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVtZ8-0001L8-5a for submit@debbugs.gnu.org; Thu, 23 Dec 2010 17:23:18 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVtZ6-0001Kw-DM for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 17:23:16 -0500 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBNMTrrc016964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Dec 2010 22:29:54 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBNMTplQ025916; Thu, 23 Dec 2010 22:29:52 GMT Received: from abhmt020.oracle.com by acsmt353.oracle.com with ESMTP id 902457531293143329; Thu, 23 Dec 2010 14:28:49 -0800 Received: from dradamslap1 (/10.159.220.75) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 23 Dec 2010 14:28:48 -0800 From: "Drew Adams" To: "'Alan Mackenzie'" , "'Dani Moncayo'" References: <20101223192338.GA1114@muc.de> <20101223212840.GB1114@muc.de> Subject: RE: bug#7700: 24.0.50; C-y binding withing Isearch mode Date: Thu, 23 Dec 2010 14:28:47 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20101223212840.GB1114@muc.de> Thread-Index: Acui5lTamzARP2dSQKeXtwkXy2WAsgABMDrw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, 'Stefan Monnier' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > Yes, but you've got to suggest one! Maybe C-M-y for "grab to > next line end". That's an unused binding, similar to the > existing C-y, and lends itself to easy repetition. It's unused by vanilla Emacs, but I use it. ;-) No, that's not a great argument to convince the Vanillafold. But here it is: I bind `C-M-y' globally to a command that yanks the secondary selection. (I also use `C-M-' as the prefix for selecting the secondary.) And in Isearch I bind `C-M-y' to a command that does the same thing for Isearch. IOW, it does for the secondary selection just what `M-y' (soon to be `C-y'?) does for the last kill: it yanks the secondary selection into the search string. (I cannot understand that others don't bind any keyboard key to yank the secondary selection, except in so far as they never use the secondary selection. I use it all the time, including in Isearch. And the logical binding for it (for me) is `C-M-y'.) So in vanilla Emacs too I'd rather see `C-M-y' yank the secondary than yank the rest of the line. --- Wrt suggesting some other binding for yanking the rest of the line: Alan's `C-u C-l' thingy exempts `C-u' from its normal role of exiting Isearch, _if_ the user customizes `isearch-allow-scroll' to allow it. The dispensation of `C-u' from exiting is here amalgamated with the choice to allow scrolling via `C-l'. The two choices could instead be separated. IOW, we could have a separate option, `isearch-C-u-exits' (default t), that if nil exempts `C-u' from exiting in _all_ cases, allowing it to be used in other ways than just for scrolling. That's presumably what Alan had in mind when he said: C-u is potentially useable by an isearch command (including a "scrolling" command) In that case (`isearch-C-u-exits' = nil, so `C-u' does not exit), we could come back to my suggestion of letting `C-u C-y' do what `C-y' does now: insert the rest of the current line. Yes, that would mean that only users who chose to give up exiting Isearch via `C-u' could use `C-u C-y' to yank the rest of the line. Just as, today, only users who choose to give up exiting via `C-u' can use `C-u C-l' for scrolling during Isearch. The other alternative about `C-u' would be, as I mentioned earlier, to just sacrifice its exiting behavior altogether (no user option). --- As I mentioned earlier, we are now doing design, and this discussion really belongs in emacs-devel, IMO. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 17:33:42 2010 Received: (at submit) by debbugs.gnu.org; 23 Dec 2010 22:33:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVtjC-0001Yy-FC for submit@debbugs.gnu.org; Thu, 23 Dec 2010 17:33:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVtjA-0001Yn-D0 for submit@debbugs.gnu.org; Thu, 23 Dec 2010 17:33:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVtpa-0002nw-1w for submit@debbugs.gnu.org; Thu, 23 Dec 2010 17:40:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:34012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVtpZ-0002nq-W6 for submit@debbugs.gnu.org; Thu, 23 Dec 2010 17:40:18 -0500 Received: from [140.186.70.92] (port=53476 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVtpY-0004Au-09 for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2010 17:40:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVtpX-0002n2-1H for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2010 17:40:15 -0500 Received: from lo.gmane.org ([80.91.229.12]:54617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVtpW-0002mn-N3 for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2010 17:40:14 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PVtpV-0008BI-Ab for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2010 23:40:13 +0100 Received: from cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com ([86.9.122.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Dec 2010 23:40:13 +0100 Received: from sdl.web by cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Dec 2010 23:40:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Date: Thu, 23 Dec 2010 22:39:59 +0000 Lines: 9 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (Mac OS X 10.6.5) Cancel-Lock: sha1:53RqsJ/xrlT60+TMSxfMpVJ+9cU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.7 (-----) On 2010-12-23 17:05 +0000, Andreas Schwab wrote: > > It's the natural extension of C-w, and I use it very often. > > Andreas. Sorry I take my comment back. The issue is that it is on the wrong key. Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 18:02:02 2010 Received: (at 7700) by debbugs.gnu.org; 23 Dec 2010 23:02:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVuAc-0002BT-5q for submit@debbugs.gnu.org; Thu, 23 Dec 2010 18:02:02 -0500 Received: from mail-yw0-f44.google.com ([209.85.213.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVuAa-0002BB-9w for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 18:02:00 -0500 Received: by ywk9 with SMTP id 9so2889529ywk.3 for <7700@debbugs.gnu.org>; Thu, 23 Dec 2010 15:08:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=MDve8QvLaHDy6YlraX8oK11pQ32JP4RlvZdwhS4GZKo=; b=BS6HQdR/yVJQvtFPp+RAGDtCBLaH8JdsN1EXNHzYSy/d0Zn9A2RMdSnnYtUrm3Yzwc +5GpBFIL+VepGACP8vBX7lwbCAlFrynItReIIudAHQakamRmqDyRi3s37jnXaplI8sup gmwcvikv2zDnJAQPdFp+ymkTeDWiOxMVxAAcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XyUaC5kGyypTyiKkaJt9CwQHjq2E1zisRIdkePXfIRK5JIc0oGoQ4+i6QRdM8gnMp0 b9YaqU/hZTWfdA7Y1elbIppfRm9em6863kzQ2WjkjZyuovWnnf8UQ40+XkFxZfp40dWz ogLkUavExfFxOF7mQ8/+qrHKC1adqqjIxP+qE= MIME-Version: 1.0 Received: by 10.91.199.13 with SMTP id b13mr115817agq.94.1293145718359; Thu, 23 Dec 2010 15:08:38 -0800 (PST) Received: by 10.90.227.16 with HTTP; Thu, 23 Dec 2010 15:08:38 -0800 (PST) In-Reply-To: <20101223212840.GB1114@muc.de> References: <20101223192338.GA1114@muc.de> <20101223212840.GB1114@muc.de> Date: Fri, 24 Dec 2010 00:08:38 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode From: Dani Moncayo To: Alan Mackenzie Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Stefan Monnier , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Thu, Dec 23, 2010 at 22:28, Alan Mackenzie wrote: > Hi, Dani! > Hi Alan! ;) >> The command currently bound to C-y can be rebound to another key >> (other than C-y and M-y). > > Yes, but you've got to suggest one! I didn't suggest anyone because that rebinding was (is) not my main concern here. In any case, I agree with Drew: Here we are discussing more than just fixing a bug. So this thread should be forwarded to emacs-devel. -- Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 21:33:11 2010 Received: (at 7700) by debbugs.gnu.org; 24 Dec 2010 02:33:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVxSx-0006jH-Jl for submit@debbugs.gnu.org; Thu, 23 Dec 2010 21:33:11 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVxSv-0006j5-I0 for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 21:33:10 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAJOWE01FpY+k/2dsb2JhbACkLHTBFYVKBIRljhs X-IronPort-AV: E=Sophos;i="4.60,221,1291611600"; d="scan'208";a="86433597" Received: from 69-165-143-164.dsl.teksavvy.com (HELO ceviche.home) ([69.165.143.164]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 23 Dec 2010 21:39:47 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 6AF846610E; Thu, 23 Dec 2010 21:39:47 -0500 (EST) From: Stefan Monnier To: Alan Mackenzie Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Message-ID: References: <20101223171434.GA3971@muc.de> Date: Thu, 23 Dec 2010 21:39:47 -0500 In-Reply-To: <20101223171434.GA3971@muc.de> (Alan Mackenzie's message of "Thu, 23 Dec 2010 17:14:34 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > I use C-y ("grab to next end of line") quite a bit. I'd much rather have a prefix key that lets me use any standard movement to select the text to grab from the buffer (so " C-e" would do what C-y does and " M-f" would do more or less what C-w does). Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 22:19:25 2010 Received: (at 7700) by debbugs.gnu.org; 24 Dec 2010 03:19:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVyBh-0007iD-H5 for submit@debbugs.gnu.org; Thu, 23 Dec 2010 22:19:25 -0500 Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVyBg-0007i2-9z for 7700@debbugs.gnu.org; Thu, 23 Dec 2010 22:19:24 -0500 Received: by ewy8 with SMTP id 8so3428115ewy.3 for <7700@debbugs.gnu.org>; Thu, 23 Dec 2010 19:26:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=kRLSZkG8hvNk7DUScBiYF1vpy5ribNbuOVxYRT3u3jE=; b=qBDT4kGcBDTyMk96O2ZcpN3KifGzEdbEjSy6qgvYtmq1jCV2ZXr+j2w9OSj1vFikkM IjdLw42Sxd130tFfrkYeVQwV1IsDw2wgqKVR7BT/5oBdJOboZ84Nux5P7Qu8UB6dff7q 5kSpleb37bgLh3HQ7bbWX6n6k0DrjHlkYafEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ww2ouoRlbOSXR5/bvVOXKxccZHPmCJz0ifG/UKnrDVK+eA2KKM1S91SC2VMN3V/szW SKqQLxdeeyOC65CiM3JvO5rjFjjBxEEGng3gxYnCc9zhiBIuZZvXuZZ25sy+MFnyX2lZ k9zoccEN4csBLtihI87+XANS3sPmSx7cAbocg= Received: by 10.213.35.209 with SMTP id q17mr7181409ebd.97.1293161162668; Thu, 23 Dec 2010 19:26:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.20.148 with HTTP; Thu, 23 Dec 2010 19:25:42 -0800 (PST) In-Reply-To: References: <20101223171434.GA3971@muc.de> From: Lennart Borgman Date: Fri, 24 Dec 2010 04:25:42 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 7700 Cc: Alan Mackenzie , 7700@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Fri, Dec 24, 2010 at 3:39 AM, Stefan Monnier wrote: >> I use C-y ("grab to next end of line") quite a bit. > > I'd much rather have a prefix key that lets me use any standard movement > to select the text to grab from the buffer (so " C-e" would do > what C-y does and " M-f" would do more or less what C-w does). I like the logic/mnemonic but wouldn't it would be cumbersome to use it? I suggest instead that any standard forward movement command while in isearch forward mode should select the text to grab WITHOUT any prefix key. For backward movement I suggest a similar logic. Would not that be both easy to use and remember? (And I think the logic is so easy for the mind that it would be quick to relearn. In addition to this is rather similar to how extending the region works which should make it even easier to remember.) In addition to this I suggest that standard paste commands (i.e. C-y yank/C-v cua-paste) paste into isearch search string. And that M-y (i.e. yank-pop/cua-yank-pop) does the yank popping on the isearch search string as suggested here. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 06:33:01 2010 Received: (at 7700) by debbugs.gnu.org; 24 Dec 2010 11:33:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PW5tM-00028I-CL for submit@debbugs.gnu.org; Fri, 24 Dec 2010 06:33:00 -0500 Received: from mail-gx0-f172.google.com ([209.85.161.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PW5tK-000286-Fo for 7700@debbugs.gnu.org; Fri, 24 Dec 2010 06:32:58 -0500 Received: by gxk28 with SMTP id 28so3418281gxk.3 for <7700@debbugs.gnu.org>; Fri, 24 Dec 2010 03:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ngAiswxWBnll3Co/aw2yls206jp+OgFW7Wt/K4FcdpQ=; b=b0G9dh8YBQ3Q0lYue64KS0/Aias0MaanM1bjUn4xmh2KAwHh5zrVnHPTn9PUajeX5H XWZVt9oSRE6PtGQyfR6pY1tvaY3vrL5ylplX4Mgj6AFnlIo3MB9SD6rjPU1bX5Ulqmd9 MaCmgclhOBwiy1Qphx0oUgjfTSoWY7v596hMw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rGtk5dqrt74XqcG+feIniSrRGJ+YlGOjrl9yhLFxRTN9HIQy9mKIKlEUAMNs6hHLOU w477sVHSGdyXV93G5wrb5g0rWHc2fE8PomVrrJJoqKgXfLblaMniomwS1G+CH3k7hRQ7 EnsB0Jv0MD9kNRm9Oex4M1ZhkQtrCLrdh0YFQ= MIME-Version: 1.0 Received: by 10.91.51.22 with SMTP id d22mr826268agk.175.1293190777954; Fri, 24 Dec 2010 03:39:37 -0800 (PST) Received: by 10.90.227.16 with HTTP; Fri, 24 Dec 2010 03:39:37 -0800 (PST) In-Reply-To: References: <20101223171434.GA3971@muc.de> Date: Fri, 24 Dec 2010 12:39:37 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode From: Dani Moncayo To: Lennart Borgman Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Fri, Dec 24, 2010 at 04:25, Lennart Borgman wrote: > On Fri, Dec 24, 2010 at 3:39 AM, Stefan Monnier > wrote: >>> I use C-y ("grab to next end of line") quite a bit. >> >> I'd much rather have a prefix key that lets me use any standard movement >> to select the text to grab from the buffer (so " C-e" would do >> what C-y does and " M-f" would do more or less what C-w does). > > > I like the logic/mnemonic but wouldn't it would be cumbersome to use it? > Not much, provided that the key was required only one time. I think would be good to have that key as a switch to turn "grabbing mode" on/off. > I suggest instead that any standard forward movement command while in > isearch forward mode should select the text to grab WITHOUT any prefix > key. For backward movement I suggest a similar logic. > I prefer Stefan's proposal because with that there would be no need to alter the current meaning of prefix arguments in movement commands, and thus, you could use movement commands _even with prefix arguments_ to both (a) grab text from the buffer, and (b) leave Isearch mode and move point (all in a single operation, as you can do currently). I think it would be more consistent/intuitive/powerful. -- Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 07:06:52 2010 Received: (at 7700) by debbugs.gnu.org; 24 Dec 2010 12:06:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PW6Q8-0003aW-Dc for submit@debbugs.gnu.org; Fri, 24 Dec 2010 07:06:52 -0500 Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PW6Q6-0003aI-DE for 7700@debbugs.gnu.org; Fri, 24 Dec 2010 07:06:50 -0500 Received: by ewy8 with SMTP id 8so3539805ewy.3 for <7700@debbugs.gnu.org>; Fri, 24 Dec 2010 04:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=lQ228kcNKuVMW4tyDAd25HH+LpiwI8pkrmn4/kmSyG4=; b=jAaQXxr8SNtRpQM2N9eE49Q7VgTYzKQkqsjYPg7HWfe1khV466x1dbPkFu2HcFitrf /rqFU8HX40LL6DY/X9TVa4mWuR0/qESQDPZ1CVNJ/elfyozJEp9UEq1fb5D7XvBclkZw QwHTVd5lHxnNSIlAK4hh+1QbAr9qA+vSFVpqw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=RFOoMeckIePQp7+QW5XlUviMRKDdNn3eZP6pYBMoOYke4IksLK6Sg22OnizR99KSMm 2gpLn5RJFfEMxJKZkKcPIK4aTsDlj4Z91uBR82AbkgKTlgRZkuJyJWV+YD6skFFKcK4g 9hqutf8pJEICG3r1DGTmaKIdlxMg1WuQ4Tfdw= Received: by 10.213.30.1 with SMTP id s1mr7507405ebc.71.1293192809727; Fri, 24 Dec 2010 04:13:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.20.148 with HTTP; Fri, 24 Dec 2010 04:13:08 -0800 (PST) In-Reply-To: References: <20101223171434.GA3971@muc.de> From: Lennart Borgman Date: Fri, 24 Dec 2010 13:13:08 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode To: Dani Moncayo Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Fri, Dec 24, 2010 at 12:39 PM, Dani Moncayo wrote: > On Fri, Dec 24, 2010 at 04:25, Lennart Borgman > wrote: >> On Fri, Dec 24, 2010 at 3:39 AM, Stefan Monnier >> wrote: >>>> I use C-y ("grab to next end of line") quite a bit. >>> >>> I'd much rather have a prefix key that lets me use any standard movement >>> to select the text to grab from the buffer (so " C-e" would do >>> what C-y does and " M-f" would do more or less what C-w does). >> >> >> I like the logic/mnemonic but wouldn't it would be cumbersome to use it? >> > > Not much, provided that the key was required only one time. I > think would be good to have that key as a switch to turn "grabbing > mode" on/off. You have to do it every time you want to grab something more. A common situation is that you have moved from the last hit and then want to grab more. >> I suggest instead that any standard forward movement command while in >> isearch forward mode should select the text to grab WITHOUT any prefix >> key. For backward movement I suggest a similar logic. >> > > I prefer Stefan's proposal because with that there would be no need to > alter the current meaning of prefix arguments in movement commands, > and thus, you could use movement commands _even with prefix arguments_ > to both (a) grab text from the buffer, Why should that be different from my proposal? > and (b) leave Isearch mode and > move point (all in a single operation, as you can do currently). You just leave isearch once after the search so this way of solving the problems leads to more key strokes, doesn't it? And besides, if you happen to forget to leave isearch before a forward movement command you are still at the right point after it. So you can just leave it there. > I think it would be more consistent/intuitive/powerful. I fail to see why, but I may be biased ;-) From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 08:27:48 2010 Received: (at 7700) by debbugs.gnu.org; 24 Dec 2010 13:27:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PW7gR-0006oB-PE for submit@debbugs.gnu.org; Fri, 24 Dec 2010 08:27:48 -0500 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PW7gP-0006nx-1H for 7700@debbugs.gnu.org; Fri, 24 Dec 2010 08:27:45 -0500 Received: by yxt33 with SMTP id 33so3088390yxt.3 for <7700@debbugs.gnu.org>; Fri, 24 Dec 2010 05:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=/MBuRyZdTNg8TIRAZw6zQqnBS+c60pzQ/JYr6ii4tIw=; b=u/jDB8CaQOkye2PsE7yVnLaQnVb1fBW72Fyafvky6r7s+KuQHbuKRM1esytZsT/Tld jGFfeJ6QeZ7i0jjb3nDdDM/siCd214rM7jK1EHr7pUFqZ51GVzBW8km/7rlOc2Rb85bp vTH7g90x+tGo9OX7gbJ4knQulwJsUhkLg/8ug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dbkrlTbUzBM4dqnL5c+k6kd+sWo3yS2EscEv9Htw+gK8/qDRiYyz2hFw9kTjJLw7N9 ZWXXm/MYc8IPSfsYlN+ZzAKU9EsHVy4rDM7fVhTiqRHJ4mMunbxqqS/qBv6rtzhHdnMW McuBkqbmHvH4/16ArR5VrIIBqiQF5AJOepTm8= MIME-Version: 1.0 Received: by 10.91.199.13 with SMTP id b13mr798847agq.94.1293197664580; Fri, 24 Dec 2010 05:34:24 -0800 (PST) Received: by 10.90.227.16 with HTTP; Fri, 24 Dec 2010 05:34:24 -0800 (PST) In-Reply-To: References: <20101223171434.GA3971@muc.de> Date: Fri, 24 Dec 2010 14:34:24 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode From: Dani Moncayo To: Lennart Borgman Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Fri, Dec 24, 2010 at 13:13, Lennart Borgman wrote: > On Fri, Dec 24, 2010 at 12:39 PM, Dani Moncayo wrote: >> On Fri, Dec 24, 2010 at 04:25, Lennart Borgman >> wrote: >>> On Fri, Dec 24, 2010 at 3:39 AM, Stefan Monnier >>> wrote: >>>>> I use C-y ("grab to next end of line") quite a bit. >>>> >>>> I'd much rather have a prefix key that lets me use any standard movement >>>> to select the text to grab from the buffer (so " C-e" would do >>>> what C-y does and " M-f" would do more or less what C-w does). >>> >>> >>> I like the logic/mnemonic but wouldn't it would be cumbersome to use it? >>> >> >> Not much, provided that the key was required only one time. I >> think would be good to have that key as a switch to turn "grabbing >> mode" on/off. > > You have to do it every time you want to grab something more. A common > situation is that you have moved from the last hit and then want to > grab more. > Maybe there was a misunderstanding here: I didn't mean to be a prefix argument only for the following command. I meant it to be a command to switch "grabbing" on/off (for the entire Isearch session). >>> I suggest instead that any standard forward movement command while in >>> isearch forward mode should select the text to grab WITHOUT any prefix >>> key. For backward movement I suggest a similar logic. >>> >> >> I prefer Stefan's proposal because with that there would be no need to >> alter the current meaning of prefix arguments in movement commands, >> and thus, you could use movement commands _even with prefix arguments_ >> to both (a) grab text from the buffer, > > Why should that be different from my proposal? > >> and (b) leave Isearch mode and >> move point (all in a single operation, as you can do currently). > > You just leave isearch once after the search so this way of solving > the problems leads to more key strokes, doesn't it? > > And besides, if you happen to forget to leave isearch before a forward > movement command you are still at the right point after it. So you can > just leave it there. > I definitively misunderstood you. Your proposal is basically what I had in my mind, but always with "grabbing" switched on. In that case I like it, but I would make a small adjustment: Let's suppose that you are in forward Isearch mode and have grabbed a couple of words after the point. Then you change your mind and want to grab only the first word. In that case, would be convenient to allow M-b without exiting Isearch mode. Thus, I propose two alternatives: a) In Isearch (forward or backward), every movement command would update the grabbed text. If the last grabbed text was in a different side of the point than current, switch the direction of the Isearch. b) The same, but replacing the direction switching with "exit Isearch mode and move point in the buffer". -- Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 22:13:32 2010 Received: (at 7700) by debbugs.gnu.org; 25 Dec 2010 03:13:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWKZY-0007oj-7z for submit@debbugs.gnu.org; Fri, 24 Dec 2010 22:13:32 -0500 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWKZW-0007oM-3A for 7700@debbugs.gnu.org; Fri, 24 Dec 2010 22:13:30 -0500 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 874D56E8057; Fri, 24 Dec 2010 19:20:11 -0800 (PST) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 2B0BD451C0C3; Fri, 24 Dec 2010 19:20:09 -0800 (PST) From: Juri Linkov To: Dani Moncayo Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Organization: JURTA References: <20101223192338.GA1114@muc.de> Date: Sat, 25 Dec 2010 02:34:16 +0000 In-Reply-To: (Dani Moncayo's message of "Thu, 23 Dec 2010 20:30:41 +0100") Message-ID: <878vzed1hz.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > IMO, it would be more consistent that C-y _and M-y_ have an analogous > behavior of that when getting input from the minibuffer, as pointed > out previously. > > The command currently bound to C-y can be rebound to another key > (other than C-y and M-y). C-k is the most natural key for that. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 22:13:36 2010 Received: (at 7700) by debbugs.gnu.org; 25 Dec 2010 03:13:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWKZb-0007ow-DX for submit@debbugs.gnu.org; Fri, 24 Dec 2010 22:13:35 -0500 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWKZZ-0007oU-Jx for 7700@debbugs.gnu.org; Fri, 24 Dec 2010 22:13:33 -0500 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 1208A6E8065; Fri, 24 Dec 2010 19:20:15 -0800 (PST) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 7E205451C0C3; Fri, 24 Dec 2010 19:20:13 -0800 (PST) From: Juri Linkov To: Dani Moncayo Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Organization: JURTA References: <20101223171434.GA3971@muc.de> Date: Sat, 25 Dec 2010 02:38:49 +0000 In-Reply-To: (Dani Moncayo's message of "Fri, 24 Dec 2010 14:34:24 +0100") Message-ID: <87oc8abm9a.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Lennart Borgman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > Thus, I propose two alternatives: > a) In Isearch (forward or backward), every movement command would > update the grabbed text. If the last grabbed text was in a different > side of the point than current, switch the direction of the Isearch. > b) The same, but replacing the direction switching with "exit Isearch > mode and move point in the buffer". ISTR this feature discussed on emacs-devel some time ago as `isearch-selection-mode'. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 23:00:22 2010 Received: (at 7700) by debbugs.gnu.org; 25 Dec 2010 04:00:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWLIr-0000OH-Ux for submit@debbugs.gnu.org; Fri, 24 Dec 2010 23:00:22 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWLIq-0000O6-7N for 7700@debbugs.gnu.org; Fri, 24 Dec 2010 23:00:20 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAO78FE1Ld/mS/2dsb2JhbACkLnS9O4VKBIRljhs X-IronPort-AV: E=Sophos;i="4.60,227,1291611600"; d="scan'208";a="86498804" Received: from 75-119-249-146.dsl.teksavvy.com (HELO ceviche.home) ([75.119.249.146]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 24 Dec 2010 23:07:00 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 053C96610E; Fri, 24 Dec 2010 23:07:00 -0500 (EST) From: Stefan Monnier To: Dani Moncayo Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Message-ID: References: <20101223171434.GA3971@muc.de> Date: Fri, 24 Dec 2010 23:06:59 -0500 In-Reply-To: (Dani Moncayo's message of "Fri, 24 Dec 2010 12:39:37 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Lennart Borgman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Not much, provided that the key was required only one time. I > think would be good to have that key as a switch to turn "grabbing > mode" on/off. But then means that the equivalent to C-y wouldn't be " C-e" but " C-e ", which is becoming significantly more burdensome. We're slowly getting to the point where M-e becomes a worthy contender. Maybe it's OK, but I was thinking of something more lightweight that would only accept one command so as to avoid needing an additional "exit" key. >> I suggest instead that any standard forward movement command while in >> isearch forward mode should select the text to grab WITHOUT any >> prefix key. That might be a good choice, but: - we lack experimental evidence for that. - it would probably be too big a change to have that as a default behavior. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 23:00:49 2010 Received: (at 7700) by debbugs.gnu.org; 25 Dec 2010 04:00:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWLJJ-0000Ot-5n for submit@debbugs.gnu.org; Fri, 24 Dec 2010 23:00:49 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWLJH-0000Oi-Hb for 7700@debbugs.gnu.org; Fri, 24 Dec 2010 23:00:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAO78FE1Ld/mS/2dsb2JhbACkLnS9O4VKBIRljhs X-IronPort-AV: E=Sophos;i="4.60,227,1291611600"; d="scan'208";a="86498813" Received: from 75-119-249-146.dsl.teksavvy.com (HELO ceviche.home) ([75.119.249.146]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 24 Dec 2010 23:07:28 -0500 Received: by ceviche.home (Postfix, from userid 20848) id B71F16610E; Fri, 24 Dec 2010 23:07:28 -0500 (EST) From: Stefan Monnier To: Juri Linkov Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Message-ID: References: <20101223192338.GA1114@muc.de> <878vzed1hz.fsf@mail.jurta.org> Date: Fri, 24 Dec 2010 23:07:28 -0500 In-Reply-To: <878vzed1hz.fsf@mail.jurta.org> (Juri Linkov's message of "Sat, 25 Dec 2010 02:34:16 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) >> IMO, it would be more consistent that C-y _and M-y_ have an analogous >> behavior of that when getting input from the minibuffer, as pointed >> out previously. >> The command currently bound to C-y can be rebound to another key >> (other than C-y and M-y). > C-k is the most natural key for that. Indeed, it's sounds like a good candidate. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 25 06:08:20 2010 Received: (at 7700) by debbugs.gnu.org; 25 Dec 2010 11:08:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWRz2-0000zV-75 for submit@debbugs.gnu.org; Sat, 25 Dec 2010 06:08:20 -0500 Received: from mail-gx0-f172.google.com ([209.85.161.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWRz0-0000zJ-Hh for 7700@debbugs.gnu.org; Sat, 25 Dec 2010 06:08:19 -0500 Received: by gxk28 with SMTP id 28so3667518gxk.3 for <7700@debbugs.gnu.org>; Sat, 25 Dec 2010 03:15:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=20pMwIsKjaNhfqEK5ATskxMTPz9MOQkXwfiwWA3qB8Q=; b=gi0BQtODaSwcSjqQNjQDZ9jjRdb9nA40ZeqSiPy9cvWxBPxWS3a+W2bAqZqSxWkjZ+ rHDmCf8Xb8xHQaIki1blrbnIMbHX8xG6CdSDr0TmG1A+ZGIt0plfkbKcYPKjhFq2MIE9 Oqv3bWaDW5AUeMu4B7jqd9sdROV8HaBzaJ10M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=fd70vfj1w9MiLYg/FrKs7Ig0iUYCur366556CPOj4MXfadm9QdWQWcSP5Nj4cDVGb2 UvAAnmEBv5GPANs1wjVQulY5s25FiythSiMiXKUKNSWRodoMX7Nnvk/p6XlxM9KUSfeH 4DfOf/4F2PtZys1ZyWNQT8RHzfQf42GqcYPYc= MIME-Version: 1.0 Received: by 10.91.51.22 with SMTP id d22mr1744628agk.175.1293275700589; Sat, 25 Dec 2010 03:15:00 -0800 (PST) Received: by 10.90.227.16 with HTTP; Sat, 25 Dec 2010 03:15:00 -0800 (PST) In-Reply-To: References: <20101223171434.GA3971@muc.de> Date: Sat, 25 Dec 2010 12:15:00 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode From: Dani Moncayo To: Stefan Monnier Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Lennart Borgman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Sat, Dec 25, 2010 at 05:06, Stefan Monnier wr= ote: >> Not much, provided that the key was required only one time. I >> think would be good to have that key as a switch to turn "grabbing >> mode" on/off. > > But then means that the equivalent to C-y wouldn't be " C-e" but > " C-e ", which is becoming significantly > more burdensome. =A0We're slowly getting to the point where M-e becomes > a worthy contender. =A0Maybe it's OK, but I was thinking of something mor= e > lightweight that would only accept one command so as to avoid needing an > additional "exit" key. > Indeed. I take back that suggestion. >>> I suggest instead that any standard forward movement command while in >>> isearch forward mode should select the text to grab WITHOUT any >>> prefix key. > > That might be a good choice, but: > - we lack experimental evidence for that. > - it would probably be too big a change to have that as a default behavio= r. > IMHO, that proposal would make text grabbing in Isearch (a) More powerful (you could use every movement command to grab text), and (b) easier/simpler (you already know the movement commands). The only drawback I can see is to give up the possibility of exit Isearch mode with a movement command, but IMO, this loss is insignificant compared with the benefits. --=20 Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 25 14:46:10 2010 Received: (at 7700) by debbugs.gnu.org; 25 Dec 2010 19:46:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWa49-0004LU-Qo for submit@debbugs.gnu.org; Sat, 25 Dec 2010 14:46:10 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWa47-0004LJ-9y for 7700@debbugs.gnu.org; Sat, 25 Dec 2010 14:46:07 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAKfaFU3O+LP+/2dsb2JhbACkMHS+FYVKBIRljhs X-IronPort-AV: E=Sophos;i="4.60,228,1291611600"; d="scan'208";a="86514181" Received: from 206-248-179-254.dsl.teksavvy.com (HELO pastel.home) ([206.248.179.254]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 25 Dec 2010 14:52:50 -0500 Received: by pastel.home (Postfix, from userid 20848) id AD8D858EBF; Sat, 25 Dec 2010 14:52:49 -0500 (EST) From: Stefan Monnier To: Dani Moncayo Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Message-ID: References: <20101223171434.GA3971@muc.de> Date: Sat, 25 Dec 2010 14:52:49 -0500 In-Reply-To: (Dani Moncayo's message of "Sat, 25 Dec 2010 12:15:00 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Lennart Borgman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >>>> I suggest instead that any standard forward movement command while in >>>> isearch forward mode should select the text to grab WITHOUT any >>>> prefix key. >> That might be a good choice, but: >> - we lack experimental evidence for that. >> - it would probably be too big a change to have that as a default behavior. > IMHO, that proposal would make text grabbing in Isearch (a) More > powerful (you could use every movement command to grab text), and (b) > easier/simpler (you already know the movement commands). Compared to the use of a prefix, there is an important difference: the prefix tells isearch that the next command is a movement command, so it can be used with *any* command (and can lead to surprises if the command is not a movement command), whereas in the absence of a prefix, isearch would need to know which commands are "movement commands", and this knowledge would always tend to be partial, so it will fail with some commands. > The only drawback I can see is to give up the possibility of exit > Isearch mode with a movement command, but IMO, this loss is > insignificant compared with the benefits. Depends significantly on your usage pattern. I know such a change to the default behavior would cause screams and never ending arguments. So we'd fist have to see this change in action for a while to demonstrate that the benefit is worth the cost of transitioning. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 25 15:03:07 2010 Received: (at 7700) by debbugs.gnu.org; 25 Dec 2010 20:03:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWaKZ-0004hN-9f for submit@debbugs.gnu.org; Sat, 25 Dec 2010 15:03:07 -0500 Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWaKY-0004gu-4h for 7700@debbugs.gnu.org; Sat, 25 Dec 2010 15:03:06 -0500 Received: by eyd10 with SMTP id 10so3601520eyd.3 for <7700@debbugs.gnu.org>; Sat, 25 Dec 2010 12:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=qErDniz0ocSVJ4AEwWiKmoXEB49aIPXSMESW1c9dzTE=; b=D9f/NAi3pAwFlbqwoAnbuN2vvspTJQr/Gz+krbjjZdOv9MzJLUfVnAEe4who3x8kG7 zJvh24Hg07bS5TZlobPcG0Oe9yYGTBCYFjgQ7SA75Xm6yabJmtk8snyxoh6XDjTj0sfh d3dfuEnQ+/ETRnVF/7CizXrkZ+FSiAHDKQr6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=xkZMaFYvy+K9wg3P/u0KJLohYmrgfRdvKeVhP9sFsMmrI/yOYEdLudlTvbUfYz5Czv Sg5xH1PWZzU/pgToYXw4zMQCfQ7v+I1GCn1lV0tcIJnePfEukyZs4rojeK2NQnd0eylc uJv/LpCXFssmQAodIODPeeZKI4ONr1UgGAL1U= Received: by 10.213.112.146 with SMTP id w18mr8624979ebp.84.1293307788915; Sat, 25 Dec 2010 12:09:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.20.148 with HTTP; Sat, 25 Dec 2010 12:09:28 -0800 (PST) In-Reply-To: References: <20101223171434.GA3971@muc.de> From: Lennart Borgman Date: Sat, 25 Dec 2010 21:09:28 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Sat, Dec 25, 2010 at 8:52 PM, Stefan Monnier wrote: >>>>> I suggest instead that any standard forward movement command while in >>>>> isearch forward mode should select the text to grab WITHOUT any >>>>> prefix key. >>> That might be a good choice, but: >>> - we lack experimental evidence for that. >>> - it would probably be too big a change to have that as a default behavior. >> IMHO, that proposal would make text grabbing in Isearch (a) More >> powerful (you could use every movement command to grab text), and (b) >> easier/simpler (you already know the movement commands). > > Compared to the use of a prefix, there is an important difference: the > prefix tells isearch that the next command is a movement command, so it > can be used with *any* command (and can lead to surprises if the command > is not a movement command), whereas in the absence of a prefix, isearch > would need to know which commands are "movement commands", and this > knowledge would always tend to be partial, so it will fail with > some commands. Forgot to mention that. There is same problem with extending the selected region. cua-mode solves this by attaching properties to movement commands. I think that is a good and flexible solution (though there could perhaps be custom support for it etc). From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 26 18:45:58 2010 Received: (at 7700) by debbugs.gnu.org; 26 Dec 2010 23:45:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PX0Hm-0007Bx-IB for submit@debbugs.gnu.org; Sun, 26 Dec 2010 18:45:58 -0500 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWzyp-0006ke-3c for 7700@debbugs.gnu.org; Sun, 26 Dec 2010 18:26:23 -0500 Received: by qwg5 with SMTP id 5so7862956qwg.3 for <7700@debbugs.gnu.org>; Sun, 26 Dec 2010 15:33:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ibopT/tp+lTN/zINX6n1cylyR1ovCxo/8sThMnezf4k=; b=DhJwPXDRs1BefsuQx55lY0b88gvIQRMPBTQgZcmb4yx1d45DNSsw1hnBUWTmC1zIIA 1iqhd2JKqQy6CSORZCXHFHpwYjIwFK/k7LiJe4PuSdybmY+zoalnG6LmSqVJaxYR3FIj AebpfqmqZ/CEkCjhINTYY7YfM2NSeRVPV0kzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SP3b66X2eIu3pecUVfTjgFSn/O7dRuZhgtG9EcZBBrh3Hf1uV2Wv/n1Vdfdy7SORCI e0YQVmTLRT/8TIhLTRN9jNYKTZAbGuog7OabdQvhKjnsY1bbjA0njdLLDUw3HVELdvbz +o/P4YAzDPdjzf6hisS7pNF1hswfAMOEVC4tg= MIME-Version: 1.0 Received: by 10.229.227.8 with SMTP id iy8mr10331481qcb.182.1293406389246; Sun, 26 Dec 2010 15:33:09 -0800 (PST) Received: by 10.229.95.209 with HTTP; Sun, 26 Dec 2010 15:33:09 -0800 (PST) In-Reply-To: References: <20101223171434.GA3971@muc.de> Date: Mon, 27 Dec 2010 01:33:09 +0200 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode From: "Andrew W. Nosenko" To: Alan Mackenzie Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 7700 X-Mailman-Approved-At: Sun, 26 Dec 2010 18:45:57 -0500 Cc: 7700@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) On Mon, Dec 27, 2010 at 01:13, Andrew W. Nosenko wrote: > On Thu, Dec 23, 2010 at 19:14, Alan Mackenzie wrote: >> Hi, Stefan, >> >> On Thu, Dec 23, 2010 at 10:30:50AM -0500, Stefan Monnier wrote: >>> > Personally, I find this behavior inconsistent/annoying: I would expec= t that >>> > C-y within Isearch add text X to the search text, where X is the text= that >>> > would be yanked in normal editing. >> >>> FWIW, I'd agree. =A0I've always found the C-y binding in isearch "usele= ss" >>> and counter-intuitive. =A0I'd much rather make C-y and M-y behave like >>> they do in the minibuffer. >> >> I use C-y ("grab to next end of line") quite a bit. =A0But it annoys me >> that it's bound to C-y. =A0I'd prefer C-y to do what M-y currently does, >> but please don't unbind "grab to end of line" completely. =A0How about >> swapping C-y and M-y, like the OP suggested? > > C-e and C-E (aka Ctrl-E and Ctrl-Shift-E)? =A0C-e because I see no > useful meaning for "go to the end-of-line" inside isearch (if don't > count the real break isearch and go to the end of line), and C-E for > people with CUA "instincts". Of course, I meant C-e and C-E as alternative key-bindings for the current = C-y --=20 Andrew W. Nosenko From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 26 18:45:59 2010 Received: (at 7700) by debbugs.gnu.org; 26 Dec 2010 23:45:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PX0Hm-0007Bv-0K for submit@debbugs.gnu.org; Sun, 26 Dec 2010 18:45:58 -0500 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWzfR-0006Kr-WA for 7700@debbugs.gnu.org; Sun, 26 Dec 2010 18:06:22 -0500 Received: by qwg5 with SMTP id 5so7858452qwg.3 for <7700@debbugs.gnu.org>; Sun, 26 Dec 2010 15:13:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GU6nezHQ86iJSvgOH5KPQRBCMmvwQIgkqCVxsaGpBzo=; b=vacQyy2nalAGyE+GKhbVxYa4mAUudMBQovMt1UnmMFs2NVr49kslyGeZ8lwcQjMpRj A+eBqLl0SwiKIzMv6G978Hx0l/kCa6kwc+WYcxGpjWpS3hln5MX8zOU0rNozD4eW0QPG W7cRwXZ8w+Dz2kPz+SrhWZqDs7netW6w/rMW8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=MFKweidoDVlNCVI2JhLXuRRo05dtpfJFj2MgQrQniHlJiTSNDqo+80LxIgBmBzyVGT 3+KuMNo5RyF7Oe/cWkSPkBiSs+C5ZygPR2g22WkR05MzEn9jz4RQ50Ly7OVb19mp7EZt 1RODCHOtPPMPDzwHweHRhW+NLZMET68pgx/gY= MIME-Version: 1.0 Received: by 10.229.250.135 with SMTP id mo7mr10379465qcb.30.1293405188075; Sun, 26 Dec 2010 15:13:08 -0800 (PST) Received: by 10.229.95.209 with HTTP; Sun, 26 Dec 2010 15:13:07 -0800 (PST) In-Reply-To: <20101223171434.GA3971@muc.de> References: <20101223171434.GA3971@muc.de> Date: Mon, 27 Dec 2010 01:13:07 +0200 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode From: "Andrew W. Nosenko" To: Alan Mackenzie Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 7700 X-Mailman-Approved-At: Sun, 26 Dec 2010 18:45:57 -0500 Cc: 7700@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) On Thu, Dec 23, 2010 at 19:14, Alan Mackenzie wrote: > Hi, Stefan, > > On Thu, Dec 23, 2010 at 10:30:50AM -0500, Stefan Monnier wrote: >> > Personally, I find this behavior inconsistent/annoying: I would expect= that >> > C-y within Isearch add text X to the search text, where X is the text = that >> > would be yanked in normal editing. > >> FWIW, I'd agree. =A0I've always found the C-y binding in isearch "useles= s" >> and counter-intuitive. =A0I'd much rather make C-y and M-y behave like >> they do in the minibuffer. > > I use C-y ("grab to next end of line") quite a bit. =A0But it annoys me > that it's bound to C-y. =A0I'd prefer C-y to do what M-y currently does, > but please don't unbind "grab to end of line" completely. =A0How about > swapping C-y and M-y, like the OP suggested? C-e and C-E (aka Ctrl-E and Ctrl-Shift-E)? C-e because I see no useful meaning for "go to the end-of-line" inside isearch (if don't count the real break isearch and go to the end of line), and C-E for people with CUA "instincts". --=20 Andrew W. Nosenko From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 27 16:54:12 2010 Received: (at 7700) by debbugs.gnu.org; 27 Dec 2010 21:54:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXL19-0003q8-BD for submit@debbugs.gnu.org; Mon, 27 Dec 2010 16:54:11 -0500 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXL16-0003pv-Nk for 7700@debbugs.gnu.org; Mon, 27 Dec 2010 16:54:09 -0500 Received: (qmail 11904 invoked by uid 3782); 27 Dec 2010 22:00:56 -0000 Received: from acm.muc.de (pD9E239AF.dip.t-dialin.net [217.226.57.175]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 27 Dec 2010 23:00:54 +0100 Received: (qmail 5781 invoked by uid 1000); 27 Dec 2010 22:15:41 -0000 Date: Mon, 27 Dec 2010 22:15:41 +0000 To: Stefan Monnier Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode Message-ID: <20101227221541.GA5299@muc.de> References: <20101223171434.GA3971@muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Hi Stefan, On Sat, Dec 25, 2010 at 02:52:49PM -0500, Stefan Monnier wrote: > >>>> I suggest instead that any standard forward movement command while in > >>>> isearch forward mode should select the text to grab WITHOUT any > >>>> prefix key. > >> That might be a good choice, but: > >> - we lack experimental evidence for that. > >> - it would probably be too big a change to have that as a default behavior. > > IMHO, that proposal would make text grabbing in Isearch (a) More > > powerful (you could use every movement command to grab text), and (b) > > easier/simpler (you already know the movement commands). > Compared to the use of a prefix, there is an important difference: the > prefix tells isearch that the next command is a movement command, so it > can be used with *any* command (and can lead to surprises if the command > is not a movement command), whereas in the absence of a prefix, isearch > would need to know which commands are "movement commands", and this > knowledge would always tend to be partial, so it will fail with > some commands. > > The only drawback I can see is to give up the possibility of exit > > Isearch mode with a movement command, but IMO, this loss is > > insignificant compared with the benefits. > Depends significantly on your usage pattern. I know such a change to > the default behavior would cause screams and never ending arguments. > So we'd fist have to see this change in action for a while to > demonstrate that the benefit is worth the cost of transitioning. I would like to express my strong opposition to all these wild and visionary schemes which would radically alter isearch. We don't need them; isearch works very well as it currently is. All this talk about encumbering standard commands with prefix keys "telling isearch that the next command is a movement command", vi-style, has drowned out the proper topic of this thread (a minimal change to `isearch-key-map'), and has become tedious and depressing horribly quickly (IMAO). Experience shows that threads like this one go nowhere very slowly, sometimes with 50 or 100 contributions. They waste time, and make participation in the list very tedious. Can we not develop the discipline not to allow threads like this one to explode out of control? I think it would be best if proposed developments like this are implemented rather than endlessly discussed. We shouldn't really be discussing big UI changes unless somebody has implemented them and enthusiastically recommends them. In the mean time, I would still not be against moving isearch-yank-line to some key other than C-y. How about this idea? > Stefan -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 27 17:30:39 2010 Received: (at 7700) by debbugs.gnu.org; 27 Dec 2010 22:30:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXLaR-0004kZ-Bw for submit@debbugs.gnu.org; Mon, 27 Dec 2010 17:30:39 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXLaQ-0004kM-2w for 7700@debbugs.gnu.org; Mon, 27 Dec 2010 17:30:38 -0500 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBRMbOap018568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Dec 2010 22:37:26 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBRMKtcX010984; Mon, 27 Dec 2010 22:37:24 GMT Received: from abhmt001.oracle.com by acsmt355.oracle.com with ESMTP id 909159811293489400; Mon, 27 Dec 2010 14:36:40 -0800 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 27 Dec 2010 14:36:40 -0800 From: "Drew Adams" To: "'Alan Mackenzie'" , "'Stefan Monnier'" References: <20101223171434.GA3971@muc.de> <20101227221541.GA5299@muc.de> Subject: RE: bug#7700: 24.0.50; C-y binding withing Isearch mode Date: Mon, 27 Dec 2010 14:36:40 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20101227221541.GA5299@muc.de> Thread-Index: AcumFLI7IgC2umuHSpa0mgphjqpGbwAAE7kQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 7700 Cc: 7700@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > All this talk about encumbering standard commands with prefix > keys ... has drowned out the proper topic of this thread And in any case this thread, including its proper topic, is not about a bug. It is a wishlist topic about a possibile enhancement: an enhancement request. I'm surprised it wasn't simply summarily sent to the wishlist. > Experience shows that threads like this one go nowhere... > They waste time, and make participation in the list very tedious. > Can we not develop the discipline not to allow threads like this > one to explode out of control? Well meant, Alan, but misguided. The real question is this: Do we want to discuss this? If no, let's just send the thread to the wishlist graveyard. There are plenty of good suggestions there to keep it company. ;-) If yes, then the proper list for the discussion (this is _design_, not bug fixing) is emacs-devel@gnu.org. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 27 19:08:17 2010 Received: (at 7700) by debbugs.gnu.org; 28 Dec 2010 00:08:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXN6v-0007GC-0z for submit@debbugs.gnu.org; Mon, 27 Dec 2010 19:08:17 -0500 Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXN6t-0007Fz-Pv for 7700@debbugs.gnu.org; Mon, 27 Dec 2010 19:08:16 -0500 Received: by eyd10 with SMTP id 10so4159465eyd.3 for <7700@debbugs.gnu.org>; Mon, 27 Dec 2010 16:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=IBzfr7OCJjGEqaoVH4e0wMqqra6bsfZLd3//7LqpW4Y=; b=hjFFI/aiVjVnz/kPeLpzs3C6mOq+RxJLyAw37Ssn9eYQPcY1ZG4leB+2GI+CQvHVjh 17GjyyP+O4r3lpwOXs8f25GzWhrA3XOgL7ce3n0jTXQALL8OJb97vmxROk0VSGK732GZ AXTz2CRMZUZCR16fqWTtYb5DnaXIAohwulqeI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=HNhCazrzQzlh+X+mnG0CAlMbza7OSgR0y7jB0nn7xgJ2wNfoqzpYmkGs/TXFdl/OEX S4rAO2Ip6h4Up39AP58ZSzW412q7M7wy4qTVvbbS0e1Dh4ZMwZKOzqOWzaovXvp2VwUd nFYhVdKK4Wi3NXWj1nshl0Ym8WDKWRGbHrWvk= Received: by 10.213.2.198 with SMTP id 6mr156124ebk.71.1293495304290; Mon, 27 Dec 2010 16:15:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.20.148 with HTTP; Mon, 27 Dec 2010 16:14:44 -0800 (PST) In-Reply-To: References: <20101223171434.GA3971@muc.de> <20101227221541.GA5299@muc.de> From: Lennart Borgman Date: Tue, 28 Dec 2010 01:14:44 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode To: Drew Adams Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 7700 Cc: Alan Mackenzie , 7700@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Mon, Dec 27, 2010 at 11:36 PM, Drew Adams wrote: >> All this talk about encumbering standard commands with prefix >> keys ... has drowned out the proper topic of this thread > > And in any case this thread, including its proper topic, is not about a bug. > > It is a wishlist topic about a possibile enhancement: an enhancement request. > I'm surprised it wasn't simply summarily sent to the wishlist. > >> Experience shows that threads like this one go nowhere... >> They waste time, and make participation in the list very tedious. Yes, implementing it often takes much less time. I tested to implement this and it took me just a few minutes to get the first part of it working. Now what do you want me to do with this? I actually think submitting a new bug report is the best thing. It might mean killing it as Drew suggested, but as some of us would love this change it also reminds of Inanna. It will return. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 27 19:46:19 2010 Received: (at 7700) by debbugs.gnu.org; 28 Dec 2010 00:46:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXNhi-0008EH-VK for submit@debbugs.gnu.org; Mon, 27 Dec 2010 19:46:19 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXNhh-0008E1-Cv for 7700@debbugs.gnu.org; Mon, 27 Dec 2010 19:46:17 -0500 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBS0r46D004215 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 28 Dec 2010 00:53:05 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBS003qj019512; Tue, 28 Dec 2010 00:53:03 GMT Received: from abhmt010.oracle.com by acsmt354.oracle.com with ESMTP id 884337441293497483; Mon, 27 Dec 2010 16:51:23 -0800 Received: from dradamslap1 (/10.159.240.115) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 27 Dec 2010 16:51:23 -0800 From: "Drew Adams" To: "'Lennart Borgman'" References: <20101223171434.GA3971@muc.de> <20101227221541.GA5299@muc.de> Subject: RE: bug#7700: 24.0.50; C-y binding withing Isearch mode Date: Mon, 27 Dec 2010 16:51:21 -0800 Message-ID: <79948203EB3B4EF9BBC0586AD28F3901@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: AcumJEjDAoQxe1ZZRKmrt85CU2SbTQAA2C6Q X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 7700 Cc: 'Alan Mackenzie' , 7700@debbugs.gnu.org, 'Stefan Monnier' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > I tested to implement this and it took me just a few minutes to get > the first part of it working. Now what do you want me to do with this? Implemented what? We were in the middle of an open-ended discussion of which binding to use for what is currently C-y, etc. AFAIK, nothing was decided. At least I hope nothing has been decided. More discussion is needed of what the best approach is, IMO. But this is not the place to design. If the discussion is to be continued, it should be moved to emacs-devel. > I actually think submitting a new bug report is the best thing. Huh? What for? We already have one bug report about this. The suggestion to use C-y for yank, which those who have discussed it so far seem to agree on (without agreeing yet about where to put what is now on C-y) is already logged as _this_ bug report (really an enhancement request). Why would we want an additional one? > It might mean killing it as Drew suggested, No idea what you mean. I didn't suggest killing "it", whatever you might mean by "it". I didn't suggest killing anything. My suggestion was to move the discussion of which key to use for what is now C-y (yank to end of line) to the emacs-devel list. Nothing more. It is that discussion that might take a while and is currently incomplete (IMO). The discussion of whether to let C-y and M-y do what they usually do finished quickly - at least on the bug list. Everyone participating so far agreed that it is a good idea. But before "implementing" that we should decide where to put the current C-y behavior. > but as some of us would love this change it also reminds of > Inanna. It will return. What change? Use C-y in isearch for yanking? Yes, but then what? From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 27 20:27:37 2010 Received: (at 7700) by debbugs.gnu.org; 28 Dec 2010 01:27:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXOLh-0000q1-5J for submit@debbugs.gnu.org; Mon, 27 Dec 2010 20:27:37 -0500 Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXOLg-0000pl-3N for 7700@debbugs.gnu.org; Mon, 27 Dec 2010 20:27:36 -0500 Received: by ewy8 with SMTP id 8so4459785ewy.3 for <7700@debbugs.gnu.org>; Mon, 27 Dec 2010 17:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=vOwo/Bx3uXnd05G08bytk7aUrF4hVhHa1zr+rHh8+YI=; b=kfRpNp8cvjpt+41D0iH5xqfEuXeXgn0pRBf8+Nrk25kpzbkCeWCpO184YzW2r2dEf2 rbivoUxY5vNhUktEQfBuFgbaoHZXsusfpxxN6IUTpS0s0EWyjqMR/iNB6F+YVlZROhYi n3PFXgt/r48/1M5eekPrczOnPNkNTm57Vrgn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=gs11nUycqGLI2VFkbWISF+3Tte2db/96SnVI/HDQAkrgVWgiTuMcRabINPAZ6qAoMU xKCNN5qTALSmJITEbvTzKq/Blztws/whLQH5kwSbLFnR20V7DkvhjpaVQ+i8jN7p88em 1AeOAnO7GBdHtacDEkn6J9XEXHgByXbTqm0EM= Received: by 10.213.9.66 with SMTP id k2mr1666775ebk.84.1293500064742; Mon, 27 Dec 2010 17:34:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.20.148 with HTTP; Mon, 27 Dec 2010 17:34:04 -0800 (PST) In-Reply-To: <79948203EB3B4EF9BBC0586AD28F3901@us.oracle.com> References: <20101223171434.GA3971@muc.de> <20101227221541.GA5299@muc.de> <79948203EB3B4EF9BBC0586AD28F3901@us.oracle.com> From: Lennart Borgman Date: Tue, 28 Dec 2010 02:34:04 +0100 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode To: Drew Adams Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 7700 Cc: Alan Mackenzie , 7700@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Tue, Dec 28, 2010 at 1:51 AM, Drew Adams wrote: >> I tested to implement this and it took me just a few minutes to get >> the first part of it working. Now what do you want me to do with this? > > Implemented what? You answered to Alan's comment about "wild and visionary schemes" (which he said he strongly opposed). One of this schemes were my suggestion. I implemented that (or at least part of it, copying on forward movement commands). > But this is not the place to design. =C2=A0If the discussion is to be con= tinued, it > should be moved to emacs-devel. > >> I actually think submitting a new bug report is the best thing. > > Huh? =C2=A0What for? =C2=A0We already have one bug report about this. I think we now also use the bug list for wishes. Since I think this discussion already have come to an end with regards to suggestions it might be time to move it to a bug report. But it might also be a bit to early. The reason for moving it is that we otherwise might just forget it. (If you do not like the suggestion then maybe that would be ok for you. ;-) >> It might mean killing it as Drew suggested, > > No idea what you mean. =C2=A0I didn't suggest killing "it", whatever you = might mean > by "it". =C2=A0I didn't suggest killing anything. You said "let's just send the thread to the wishlist graveyard". > It is that discussion that might take a while and is currently incomplete= (IMO). You might be right. > But before "implementing" that we should decide where to put the current = C-y > behavior. Sorry for the miscommunication. I just made a quick test implementation for letting the movement commands copy things into the search string. It is easily implemented with what we currently have. I just wanted to tell that since that is an important thing to consider. >> but as some of us would love this change it also reminds of >> Inanna. It will return. > > What change? =C2=A0Use C-y in isearch for yanking? =C2=A0Yes, but then wh= at? The suggestion to let movement keys by themselves copy the part moved over to the search prompt ... ;-) From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 28 00:37:09 2010 Received: (at 7700) by debbugs.gnu.org; 28 Dec 2010 05:37:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXSFA-0007Cp-R7 for submit@debbugs.gnu.org; Tue, 28 Dec 2010 00:37:09 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXSF8-0007CM-G6 for 7700@debbugs.gnu.org; Tue, 28 Dec 2010 00:37:07 -0500 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBS5hsYk032391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 28 Dec 2010 05:43:55 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBS5LCHG004794; Tue, 28 Dec 2010 05:43:52 GMT Received: from abhmt013.oracle.com by acsmt354.oracle.com with ESMTP id 884735701293515001; Mon, 27 Dec 2010 21:43:21 -0800 Received: from dradamslap1 (/10.159.240.115) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 27 Dec 2010 21:43:21 -0800 From: "Drew Adams" To: "'Lennart Borgman'" References: <20101223171434.GA3971@muc.de> <20101227221541.GA5299@muc.de> <79948203EB3B4EF9BBC0586AD28F3901@us.oracle.com> Subject: RE: bug#7700: 24.0.50; C-y binding withing Isearch mode Date: Mon, 27 Dec 2010 21:43:19 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-reply-to: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: AcumL16K/dUEZujNQM2jngLWYDCEXQAIcsCw X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 7700 Cc: 'Alan Mackenzie' , 7700@debbugs.gnu.org, 'Stefan Monnier' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > >> It might mean killing it as Drew suggested, > > > > No idea what you mean. =A0I didn't suggest killing "it",=20 > > whatever you might mean by "it". =A0I didn't suggest > > killing anything. >=20 > You said "let's just send the thread to the wishlist graveyard". No I did not. I said _if_ we do not want to discuss it further then = let's send it there. I said _if_ we do want to discuss it then let's discuss it at emacs-devel. As an enhancement request, this thread is done, IMO. As a design = discussion it could continue, and the place for that is emacs-devel. > > What change? =A0Use C-y in isearch for yanking? =A0Yes, but then = what? >=20 > The suggestion to let movement keys by themselves copy the part moved > over to the search prompt ... ;-) That wasn't decided, AFAIK. If you want to discuss it further, please = move it to emacs-devel. That's all I was saying. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 21:12:47 2011 Received: (at control) by debbugs.gnu.org; 7 Mar 2011 02:12:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwPwF-00037V-AR for submit@debbugs.gnu.org; Sun, 06 Mar 2011 21:12:47 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwPwD-00037J-IC for control@debbugs.gnu.org; Sun, 06 Mar 2011 21:12:45 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PwPw8-0002uT-6e for control@debbugs.gnu.org; Sun, 06 Mar 2011 21:12:40 -0500 Date: Sun, 06 Mar 2011 21:12:40 -0500 Message-Id: Subject: control message for bug 7700 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) forcemerge 8183 7700 From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 11:11:36 2011 Received: (at 7700) by debbugs.gnu.org; 16 May 2011 15:11:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QLzSJ-0000kt-IR for submit@debbugs.gnu.org; Mon, 16 May 2011 11:11:35 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QLzSG-0000ke-E2 for 7700@debbugs.gnu.org; Mon, 16 May 2011 11:11:32 -0400 Received: by yxk30 with SMTP id 30so1578898yxk.3 for <7700@debbugs.gnu.org>; Mon, 16 May 2011 08:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Sv0N3i64RHq2L0JSxv0AQzvg0LD7kJc8nAdkhKgvjTY=; b=XAlpWIODMAiSrZmxvon295axSHac6hsBOua4o7LciBAt6tj1Vdyv0h8NFAz3CK8kFo 7DyuHR/f9E3cc36OwH4UU1IeOaD1pMKnj9uX/LzjNkJjC4uEepC9BUjOtNVjZfezqPXo XDixctCPwU8GwyZ69MZyGnuOER4C9cGwGwke4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NHuRxq5XmvjSe3rGtbNEXivNbeHebM0K8M9fSr2yPf2QFY6j6WDdSeG6csLJ/592hh H/YGcpiMrWtPOU+1LB30v1CTonaukfd/EEv3YmS6lTSSyu0pGln9Vz0bjtMbU9MxVv42 X7+nx5maF43hkf11IWn+aPaxWR7Wit2pV/CO8= MIME-Version: 1.0 Received: by 10.91.207.26 with SMTP id j26mr3306100agq.206.1305558686554; Mon, 16 May 2011 08:11:26 -0700 (PDT) Received: by 10.90.56.12 with HTTP; Mon, 16 May 2011 08:11:26 -0700 (PDT) Date: Mon, 16 May 2011 17:11:26 +0200 Message-ID: Subject: Re: bug#7700: 24.0.50; C-y binding in Isearch mode From: Dani Moncayo To: 7700@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 7700 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) Hi, I think this bug can be closed, because with the current trunk, I already see the behavior requested in the OP, i.e. (within Isearch): * C-y is bound to `isearch-yank-kill' * M-y is bound to `isearch-yank-pop' -- Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 11:43:05 2011 Received: (at 7700-close) by debbugs.gnu.org; 16 May 2011 15:43:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QLzwn-0001Sy-2c for submit@debbugs.gnu.org; Mon, 16 May 2011 11:43:05 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QLzwl-0001SW-I1 for 7700-close@debbugs.gnu.org; Mon, 16 May 2011 11:43:04 -0400 Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:45232 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QLzwf-0003vi-Vv; Mon, 16 May 2011 11:42:58 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 8845B66140; Mon, 16 May 2011 12:42:54 -0300 (ART) From: Stefan Monnier To: 7700-close@debbugs.gnu.org Subject: Re: bug#7700: 24.0.50; C-y binding in Isearch mode Message-ID: References: Date: Mon, 16 May 2011 12:42:54 -0300 In-Reply-To: (Dani Moncayo's message of "Mon, 16 May 2011 17:11:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 7700-close X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) > I think this bug can be closed, because with the current trunk, I > already see the behavior requested in the OP, i.e. (within Isearch): Thanks, done, Stefan From unknown Fri Jun 20 07:15:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 14 Jun 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator