From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Hori Newsgroups: gmane.emacs.help Subject: Re: Yanking in isearch mode Date: Wed, 2 Jun 2010 22:29:16 -0700 Message-ID: References: <87typnaxu8.fsf@marx.marxist.se> <83typlfd0y.fsf@garydjones.name> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1275543021 3011 80.91.229.12 (3 Jun 2010 05:30:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Jun 2010 05:30:21 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 03 07:30:20 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OK30R-0006cs-3G for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Jun 2010 07:30:15 +0200 Original-Received: from localhost ([127.0.0.1]:60641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OK30Q-0002rw-HP for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Jun 2010 01:30:14 -0400 Original-Received: from [140.186.70.92] (port=55699 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OK2ze-0002lU-AS for Help-gnu-emacs@gnu.org; Thu, 03 Jun 2010 01:29:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OK2zY-0005fe-56 for Help-gnu-emacs@gnu.org; Thu, 03 Jun 2010 01:29:26 -0400 Original-Received: from mail-px0-f169.google.com ([209.85.212.169]:64076) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OK2zY-0005ev-0e for Help-gnu-emacs@gnu.org; Thu, 03 Jun 2010 01:29:20 -0400 Original-Received: by pxi12 with SMTP id 12so7484175pxi.0 for ; Wed, 02 Jun 2010 22:29:17 -0700 (PDT) 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 :content-transfer-encoding; bh=eY0Ue/Xct/+gvhSwXhEM65rgBSyBvmSnGzNcUO8qTvs=; b=AnF1fSHSRoQSGo2Sz24i4PphCk4XW5rtfQJ7zyxFd47UtbF3fMDt5tmzd7knxJXRtv n3g0cYEYDnh/KYaGMLmb8RX/yJZKgXMIa1+tivDkp/m1JQ2/IJOQu4CDl/SVii97m4OO fjANFeoEU79fqGeQ1b1E4XOBUMtLi6s0prjfY= 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:content-transfer-encoding; b=DM5d99w9VVXeo8ZdIzML38pqdkeC+sIQaoT81fdb2z/bfGzxSUBGjLnySfwcEvBn5z VpcTxo6cz6HkX/iUMnI5q17Mnq/B3xWe4OjMb14xRgl3r9DdaodTvp0EVT++hwdrgY5V 8jjAG4zWiI5TxjqnIFa/yjZZJISPiw/eyDKFI= Original-Received: by 10.140.255.10 with SMTP id c10mr7521548rvi.289.1275542956490; Wed, 02 Jun 2010 22:29:16 -0700 (PDT) Original-Received: by 10.140.166.4 with HTTP; Wed, 2 Jun 2010 22:29:16 -0700 (PDT) In-Reply-To: <83typlfd0y.fsf@garydjones.name> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73812 Archived-At: > Doesn't anyone else thing it's strange to change the keybinding (C-y / > M-y) for something so basic and frequently used? Yes, very strange indeed. I asked my colleagues around today, and guess what: No one found the default behavior of \C-y (yank-line) in isearch useful. It is counter-intuitive, inconsistent with the global keymap, and confusing to the beginners. I happen to share the same opinion and find it unworthy to steal \C-y for something most, if not all, find needless. I am all for opting it out of isearch or doing the C-y <-> M-y switch. Until it's done, you can override it with: (define-key isearch-mode-map "\C-y" 'isearch-yank-kill) ;; If you like more: ;(define-key isearch-mode-map "\C-p" 'isearch-repeat-backward) ;(define-key isearch-mode-map "\C-n" 'isearch-repeat-forward) ;(define-key isearch-mode-map "\C-h" 'isearch-del-char) On Wed, Jun 2, 2010 at 12:30 PM, Gary wrot= e: > Stefan Kangas wrote: > >> Bastian Beischer writes: >> >>> I don't know, but=A0I personally dislike that keybinding because I ofte= n have >>> terms I'd like to search for in the kill-ring=A0and cannot yank them. >> >> Try isearch-yank-kill, bound to M-y by default. > > Doesn't anyone else thing it's strange to change the keybinding (C-y / > M-y) for something so basic and frequently used? > > -- > Gary > >