From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.devel Subject: Re: Key map translations Date: Tue, 12 Apr 2011 21:16:08 -0600 Message-ID: <4DA51578.4010301@gmail.com> References: <4DA3AB97.4070805@gmail.com> <87tye4ywdj.fsf@gmail.com> <4DA50369.8080103@gmail.com> <87mxjuzwta.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1302664585 8749 80.91.229.12 (13 Apr 2011 03:16:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2011 03:16:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 13 05:16:22 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 1Q9qZ3-0003hn-Ti for ged-emacs-devel@m.gmane.org; Wed, 13 Apr 2011 05:16:22 +0200 Original-Received: from localhost ([::1]:37336 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9qZ3-0001Wv-2f for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2011 23:16:21 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9qZ0-0001Wk-3d for emacs-devel@gnu.org; Tue, 12 Apr 2011 23:16:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9qYz-0005wJ-5z for emacs-devel@gnu.org; Tue, 12 Apr 2011 23:16:18 -0400 Original-Received: from mail-yi0-f41.google.com ([209.85.218.41]:42247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9qYy-0005wE-VN for emacs-devel@gnu.org; Tue, 12 Apr 2011 23:16:17 -0400 Original-Received: by yib18 with SMTP id 18so122818yib.0 for ; Tue, 12 Apr 2011 20:16:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=00zw/elvOsyqo4Da0t1PuUUakxlDpLT/5maLrJfwxsw=; b=Xu0QayfXeLl3z/eJXfBHKMAH7P49XyLxSEIlGpO9bAe3+msv1dYYl3kjpwWQK5lPDe DhU4mLKwtXFCqHkVDXgj52ykBJR4VPC+6Kr5nRsysKy94+vktyKRa/uoilm8/of8M8S2 dzj0okGQffqYOVjlyYqMAi8Quv3hLOHL6pH0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ksZHawJpvuDpmpv40h1ojXapce8P/dX7ruOj1uVqNL4E0Ah3YWkhdvddj+tMzgH7AO 4AGBhv+Me8DrTuMbt2ZDsbYEEks9tB6KkZ/HLN4Snt/nm5cIY1hopmp8QmcHW02mUyoA 2i1dEMI7aY+U/Y6Dnc1pvJ5UfprL1Fvke1BD8= Original-Received: by 10.236.85.116 with SMTP id t80mr9429524yhe.163.1302664576189; Tue, 12 Apr 2011 20:16:16 -0700 (PDT) Original-Received: from [192.168.1.2] (70-59-6-97.hlrn.qwest.net [70.59.6.97]) by mx.google.com with ESMTPS id f50sm76050yhc.79.2011.04.12.20.16.14 (version=SSLv3 cipher=OTHER); Tue, 12 Apr 2011 20:16:15 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: <87mxjuzwta.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.218.41 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:138451 Archived-At: 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. this-is-a-long-word ^ With cursor here, C-s C-w will yank this-is-a-long-word ** in the search string. C-S-s, at the same position, would yank this-is-a-long-word ******************* i.e. the entire word at point. Then I can press C-s like normal to move to the next occurrence of the word. I think this is very handy and usually saves me a lot of C-s C-w C-w C-w etc. Christoph