From unknown Thu Jun 19 13:56:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8183 <8183@debbugs.gnu.org> To: bug#8183 <8183@debbugs.gnu.org> Subject: Status: isearch yanking Reply-To: bug#8183 <8183@debbugs.gnu.org> Date: Thu, 19 Jun 2025 20:56:41 +0000 retitle 8183 isearch yanking reassign 8183 emacs submitter 8183 gnu.emacs.bug@wongs.net severity 8183 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 19:06:01 2011 Received: (at submit) by debbugs.gnu.org; 6 Mar 2011 00:06:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw1U0-00040m-Lx for submit@debbugs.gnu.org; Sat, 05 Mar 2011 19:06:01 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw1S6-0003xm-PC for submit@debbugs.gnu.org; Sat, 05 Mar 2011 19:04:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pw1S0-0004eG-DW for submit@debbugs.gnu.org; Sat, 05 Mar 2011 19:03:57 -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, 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]:57233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pw1S0-0004eC-BS for submit@debbugs.gnu.org; Sat, 05 Mar 2011 19:03:56 -0500 Received: from [140.186.70.92] (port=46228 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pw1Rz-0007NH-Cn for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 19:03:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pw1Ry-0004du-Ab for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 19:03:55 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:62142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pw1Ry-0004do-84 for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 19:03:54 -0500 Received: by gxk2 with SMTP id 2so1575050gxk.0 for ; Sat, 05 Mar 2011 16:03:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=Pq5PbyBAH/2khY3lO8WH/HQmU9y6ZW8RfQm9TLVKcmk=; b=qnmupGva6jJ7Djybae0f/JDGEQnPTXBz0qTSsEsTjh58561yZ/Q6/jp1r/AIs1bV5s frQbOsmUVKf3u00ExkIezM3I1JP2elIAzqTD0RMywrU619OdSaima/rafDVBSctCgCw6 eycZ+boSFRFo+4i2jW2WOliGKoE6tcIP3KHD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=f9PSi5vTGO6DREHggRbF3GvpVdcMptCRdGKG+/usyGM1wzdA0SXu63vGTEx684oEJa QVScyx8XNpqfvE7VfFIQxrbvkujYO4KYQw+A1uynUHLuURIN+ZivXURfC6vuPh/CwcFi 31/P8sDtLW8vaMAx/vXWa+TxNVD7xctVy3s2g= MIME-Version: 1.0 Received: by 10.236.191.39 with SMTP id f27mr606175yhn.47.1299369832852; Sat, 05 Mar 2011 16:03:52 -0800 (PST) Received: by 10.236.105.170 with HTTP; Sat, 5 Mar 2011 16:03:52 -0800 (PST) Date: Sat, 5 Mar 2011 16:03:52 -0800 X-Google-Sender-Auth: Ukurh16RX7YEKnIc_DdC-fcVlS4 Message-ID: Subject: isearch yanking From: gnu.emacs.bug@wongs.net To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 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-Received-From: 199.232.76.165 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 05 Mar 2011 19:05:59 -0500 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.9 (-----) Hello! I just spent a while trying to track down a bug in isearch.el that turned out to be a "feature". C-y has been hijacked to do some weird thing where it pastes the entire next line of the buffer instead of the kill ring. (Wacky!) Please change it so that C-y works normally. While I'm sure there's someone in the world who has a use for searching for the entire next line, there are many, many more people who find it useful to search for items from the kill ring. Additionally, the way isearch is remapping the C-y key breaks Emacs's consistency. One of the wonderful things about Emacs is that it is not modal. The basic keys always work the same regardless of what "mode" you are in. If you are not convinced, please consider that cut and paste is fundamental to Emacs. C-y is so basic to how Emacs functions that it's been listed in the Emacs tutorial (C-h t) for a quarter century. The keybindings mentioned in the tutorial shouldn't be altered lightly. And finally, think about what a pain it is to teach people new to Emacs that C-y works as yank and M-y is yank-pop, EXCEPT when doing a search where M-y is yank and there is no way to do a yank-pop. This one small quirk has added work not only on to people who are trying to learn Emacs, but on to the people teaching Emacs and trying to write easy to understand documentation and tutorials. Fortunately, the fix for this is easy. In isearch.el, just change the line that defines C-y as isearch-yank-line to isearch-yank-kill. - (define-key map "\C-y" 'isearch-yank-line) + (define-key map "\C-y" 'isearch-yank-kill) Thank you, --B. Wong From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 19:23:38 2011 Received: (at 8183) by debbugs.gnu.org; 6 Mar 2011 00:23:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw1l3-0004Qn-KV for submit@debbugs.gnu.org; Sat, 05 Mar 2011 19:23:37 -0500 Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw1l2-0004Qb-CN for 8183@debbugs.gnu.org; Sat, 05 Mar 2011 19:23:37 -0500 Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p260NUCv016389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 5 Mar 2011 19:23:30 -0500 Received: by furball (Postfix, from userid 1000) id B465016051F; Sat, 5 Mar 2011 19:23:31 -0500 (EST) From: Chong Yidong To: emacs-devel@gnu.org Subject: Re: bug#8183: isearch yanking References: Date: Sat, 05 Mar 2011 19:23:31 -0500 In-Reply-To: (gnu emacs bug's message of "Sat, 5 Mar 2011 16:03:52 -0800") Message-ID: <87bp1pf664.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8183 Cc: 8183@debbugs.gnu.org, gnu.emacs.bug@wongs.net 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 (--) gnu.emacs.bug@wongs.net writes: > I just spent a while trying to track down a bug in isearch.el that > turned out to be a "feature". C-y has been hijacked to do some weird > thing where it pastes the entire next line of the buffer instead of > the kill ring. (Wacky!) > Fortunately, the fix for this is easy. In isearch.el, just change the > line that defines C-y as isearch-yank-line to isearch-yank-kill. This has been bugging me, and has been discussed before, e.g. http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00485.html Back in that 2008 thread, Juri Linkov suggested exactly this change, and moving isearch-yank-line over to M-s C-e. Nothing seemed to come of that suggestion, maybe due to simple inertia. I now propose to make it so. Any objections? From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 19:27:38 2011 Received: (at 8183) by debbugs.gnu.org; 6 Mar 2011 00:27:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw1ow-0004X9-9x for submit@debbugs.gnu.org; Sat, 05 Mar 2011 19:27:38 -0500 Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw1ou-0004Ww-8D for 8183@debbugs.gnu.org; Sat, 05 Mar 2011 19:27:36 -0500 Received: by eye13 with SMTP id 13so1122225eye.3 for <8183@debbugs.gnu.org>; Sat, 05 Mar 2011 16:27:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=49Knj3FXltbzi7Vh9o6jM1YYJqfVNwRRF8zsT3kViN4=; b=xHsdQdl4514SeE3h9zm19tPmyaPgtsNfI4QmeEw4c5w4eUHnuHyBCzWYo2NoQKj155 Hzik3V8hXSjbAJ8C3uuVxe4CZqMCsQgkooCXAZT4N6KONBajbr4xOC83s0XTFGYPc77q jM87bcW6ajfEOw7yCAucMnUNR7zEtOPXCxlXI= 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=ukA2x6SgzevsLDocgaFh0PAyoTSSvaPV27MIoSdVObUCYInEbW/bk7Nvh+1pxrA045 092LvkHEQN+wZ+5uoUh2xVz9IoXxPFsjvvYz6GRFeAE7BjbmB54Jm+9194tvZ9/6Azvo Lxo2bH5MFOwhfkfgO785UeD2Ri1diVgtTRFX8= Received: by 10.213.10.68 with SMTP id o4mr1469712ebo.74.1299371249142; Sat, 05 Mar 2011 16:27:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.27.205 with HTTP; Sat, 5 Mar 2011 16:27:09 -0800 (PST) In-Reply-To: <87bp1pf664.fsf@stupidchicken.com> References: <87bp1pf664.fsf@stupidchicken.com> From: Lennart Borgman Date: Sun, 6 Mar 2011 01:27:09 +0100 Message-ID: Subject: Re: bug#8183: isearch yanking To: Chong Yidong Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 8183 Cc: 8183@debbugs.gnu.org, gnu.emacs.bug@wongs.net, emacs-devel@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.6 (---) On Sun, Mar 6, 2011 at 1:23 AM, Chong Yidong wrote: > gnu.emacs.bug@wongs.net writes: > >> I just spent a while trying to track down a bug in isearch.el that >> turned out to be a "feature". =C2=A0C-y has been hijacked to do some wei= rd >> thing where it pastes the entire next line of the buffer instead of >> the kill ring. (Wacky!) > >> Fortunately, the fix for this is easy. In isearch.el, just change the >> line that defines C-y as isearch-yank-line to isearch-yank-kill. > > This has been bugging me, and has been discussed before, e.g. > > =C2=A0http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00485.html > > Back in that 2008 thread, Juri Linkov suggested exactly this change, and > moving isearch-yank-line over to M-s C-e. > > Nothing seemed to come of that suggestion, maybe due to simple inertia. > I now propose to make it so. =C2=A0Any objections? It might have stalled because we where discussing other changes to isearch keymap, but I can see no reason to not make the proposed change here. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 00:33:18 2011 Received: (at 8183) by debbugs.gnu.org; 6 Mar 2011 05:33:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw6ak-0003UN-1S for submit@debbugs.gnu.org; Sun, 06 Mar 2011 00:33:18 -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 1Pw6ai-0003U7-GG for 8183@debbugs.gnu.org; Sun, 06 Mar 2011 00:33:16 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAB6rck1Ld/7u/2dsb2JhbACmaXW+E4ViBIUcj3E X-IronPort-AV: E=Sophos;i="4.62,271,1297054800"; d="scan'208";a="94643830" Received: from 75-119-254-238.dsl.teksavvy.com (HELO ceviche.home) ([75.119.254.238]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 06 Mar 2011 00:33:10 -0500 Received: by ceviche.home (Postfix, from userid 20848) id B2635660D6; Sun, 6 Mar 2011 00:33:10 -0500 (EST) From: Stefan Monnier To: Chong Yidong Subject: Re: bug#8183: isearch yanking Message-ID: References: <87bp1pf664.fsf@stupidchicken.com> Date: Sun, 06 Mar 2011 00:33:10 -0500 In-Reply-To: <87bp1pf664.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 05 Mar 2011 19:23:31 -0500") 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: 8183 Cc: 8183@debbugs.gnu.org, gnu.emacs.bug@wongs.net, emacs-devel@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.0 (--) > Nothing seemed to come of that suggestion, maybe due to simple inertia. > I now propose to make it so. Any objections? Please go ahead, Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 09:05:39 2011 Received: (at 8183) by debbugs.gnu.org; 6 Mar 2011 14:05:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwEaY-0000jS-PE for submit@debbugs.gnu.org; Sun, 06 Mar 2011 09:05:38 -0500 Received: from mail-gx0-f172.google.com ([209.85.161.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwEaX-0000jC-5p for 8183@debbugs.gnu.org; Sun, 06 Mar 2011 09:05:37 -0500 Received: by gxk5 with SMTP id 5so1507047gxk.3 for <8183@debbugs.gnu.org>; Sun, 06 Mar 2011 06:05:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dAOwnmX9yk+XE8VcltfatslHAu842tBxeh/2ChCyNA0=; b=YBfxUHmA0/AmK7lr3ZR2/BXwqceb3HZKffiuWv+GEn2HNkRvLVAKdsrMXHNhp3lIK+ I2q/ODAbyRzhaqIvDGyK+/mXB/uFe+ygxL9LlDJ/RkNhdlTHIanM30pyGU2NOT/Q7vL9 d2yPgQ8lnm+RFhCx+36PhDppgaKbVbvqPH1bY= 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=PBgIbpTr2R0GaRwQT7bVQqSNRkSXNKB/EX6lCsQ3Zb/j5IkROmUKaIqgZOh5xf7ATM +grLzci+RvZiLeG54Q8wWyXJxzkVhukPsLLlsNP9QqjIUi9ayIDiUyIumeiaDMTsB/x8 b7bylN+NOBmw+24W78heHTkVO1U3/8Ah3Tr9E= MIME-Version: 1.0 Received: by 10.90.42.27 with SMTP id p27mr3434998agp.185.1299420331449; Sun, 06 Mar 2011 06:05:31 -0800 (PST) Received: by 10.90.57.30 with HTTP; Sun, 6 Mar 2011 06:05:31 -0800 (PST) In-Reply-To: References: <87bp1pf664.fsf@stupidchicken.com> Date: Sun, 6 Mar 2011 15:05:31 +0100 Message-ID: Subject: Re: bug#8183: isearch yanking 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: 8183 Cc: Chong Yidong , 8183@debbugs.gnu.org, gnu.emacs.bug@wongs.net, emacs-devel@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.7 (---) On Sun, Mar 6, 2011 at 06:33, Stefan Monnier wro= te: >> Nothing seemed to come of that suggestion, maybe due to simple inertia. >> I now propose to make it so. =A0Any objections? > > Please go ahead, > FWIW, this bug is a duplicate of #7700. ...and what about M-y? If we are looking for consistency, M-y should also DTRT, i.e., replace the just-yanked (in the Isearch prompt) text with an earlier entry from the kill-ring. Regards, --=20 Dani Moncayo 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 unknown Thu Jun 19 13:56:41 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