From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: Key map translations Date: Wed, 13 Apr 2011 09:07:44 +0200 Message-ID: References: <4DA3AB97.4070805@gmail.com> <87tye4ywdj.fsf@gmail.com> <4DA50369.8080103@gmail.com> <87mxjuzwta.fsf@gmail.com> <4DA51578.4010301@gmail.com> 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 1302678499 2722 80.91.229.12 (13 Apr 2011 07:08:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2011 07:08:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Christoph Scholtes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 13 09:08:15 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q9uBT-0004wS-DR for ged-emacs-devel@m.gmane.org; Wed, 13 Apr 2011 09:08:15 +0200 Original-Received: from localhost ([::1]:51824 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9uBQ-0007Tr-Ev for ged-emacs-devel@m.gmane.org; Wed, 13 Apr 2011 03:08:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9uBN-0007TT-CF for emacs-devel@gnu.org; Wed, 13 Apr 2011 03:08:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9uBJ-0006c5-Kb for emacs-devel@gnu.org; Wed, 13 Apr 2011 03:08:09 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:49101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9uBJ-0006bf-Gf for emacs-devel@gnu.org; Wed, 13 Apr 2011 03:08:05 -0400 Original-Received: by iwg8 with SMTP id 8so467122iwg.0 for ; Wed, 13 Apr 2011 00:08:04 -0700 (PDT) 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=O19hpGEPW9EUvW+hoJi3VIHRdQnzjvcmv5YHXNMThEk=; b=wT+Q0zvFPN8oQ5b5xif80eT7eEZUPEtTHhj+Do4WJpQHnuk9bi1Ve6ofDeI19tfyij 37GqcWVG72+ejVvmFd52TrQPpNZ31eUim0mf5Hz7U6IGhT1gEHBWnlAAAZ0HhogDDHAt kmyZn5JYiMSd25B3erdRCZcNsGKgW+3DMeyuU= 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=GJ/B8+xq44yr8ZZNHpZi7Aw5SLII4+D5W3vYAVOv6yDs4zY0SBUlnGbUsHJxFfc7Ft BIH3w2hfBzRqbR4ykhiC034tkqYePOqGlF1igp6orMBN/ZETF1M4JMksul6/3w6XmK7i yJseKsa5GsplgH3vffVJBW52VkhUDIz1O/ZQw= Original-Received: by 10.231.208.134 with SMTP id gc6mr2309478ibb.79.1302678484155; Wed, 13 Apr 2011 00:08:04 -0700 (PDT) Original-Received: by 10.231.208.71 with HTTP; Wed, 13 Apr 2011 00:07:44 -0700 (PDT) In-Reply-To: <4DA51578.4010301@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138456 Archived-At: 2011/4/13 Christoph Scholtes : > On 4/12/2011 8:53 PM, Sean Sieger wrote: > >> Christoph, does C-s C-w already do something similar to what your custom >> function does? > > I use C-s C-w alot, but my function works differently. > > =A0 =A0this-is-a-long-word > =A0 =A0 =A0 =A0 ^ > With cursor here, C-s C-w will yank > > =A0 =A0this-is-a-long-word > =A0 =A0 =A0 =A0 ** > > in the search string. > > C-S-s, at the same position, would yank > > =A0 =A0this-is-a-long-word > =A0 =A0******************* > > i.e. the entire word at point. > > Then I can press C-s like normal to move to the next occurrence of the wo= rd. > I think this is very handy and usually saves me a lot of C-s C-w C-w C-w > etc. > This is something I've been wanting for a long time but never really realized it. Is there really nothing similar in isearch already? Maybe we could add it? --=20 Deniz Dogan