From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dIbMx2 Newsgroups: gmane.emacs.help Subject: Re: Can I type text without changing my current cursor point? Date: Thu, 12 Mar 2009 18:29:08 +0800 Organization: Wanshi Group Message-ID: <87ab7r826j.fsf@gmail.com> References: <2a024660903112346ncdb86e1uf62f063c644fd6ba@mail.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: ger.gmane.org 1236853862 18698 80.91.229.12 (12 Mar 2009 10:31:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 10:31:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: ithai levi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 12 11:32:10 2009 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.50) id 1LhiCl-00069e-KO for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Mar 2009 11:31:59 +0100 Original-Received: from localhost ([127.0.0.1]:45597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhiBP-0005VK-Ne for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Mar 2009 06:30:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhiB2-0005U9-OE for help-gnu-emacs@gnu.org; Thu, 12 Mar 2009 06:30:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhiB1-0005SD-B2 for help-gnu-emacs@gnu.org; Thu, 12 Mar 2009 06:30:12 -0400 Original-Received: from [199.232.76.173] (port=36604 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhiB1-0005Rq-35 for help-gnu-emacs@gnu.org; Thu, 12 Mar 2009 06:30:11 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:23246) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhiAz-0007iH-Sy for help-gnu-emacs@gnu.org; Thu, 12 Mar 2009 06:30:10 -0400 Original-Received: from ti-out-0910.google.com ([209.85.142.188]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhiAy-00059a-Gz for help-gnu-emacs@gnu.org; Thu, 12 Mar 2009 06:30:08 -0400 Original-Received: by ti-out-0910.google.com with SMTP id j3so240986tid.10 for ; Thu, 12 Mar 2009 03:29:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=rpgrYNkNezmR8qCgIxvZOuGbi47tW+CNFTnTE8x6cKA=; b=BOSofgM5cd0+fG2fhFOVWbK+Z1t0BrigMOKsrZHTLxevqMqmZpBVHx0jrBFppLgtHf o8Xj19x/jkXuIWj7xVEVFV/TCdOXlqgw//PoDWwyxQXanlgcwoNvxUWnOQ9YgI+szD6g nnZQtb2dEk9hHRad4P/qBgbdDrgaNGnCGKbx4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; b=Z27+mhL/4pRQnBtfbq7slHaz4qnpFegOPvwuYH1ODro+/ND+rjR9E/0beiJRP+a4PY h1lKVNCd69auuRecjWUpjkLgfuU+glK0/ryskc2RVOsovSmvCQ/6lTF2t7r3Nstn35vP L5UXXgFl9OFFalm1xl7R9ADHZj2vbLLZuuCB0= Original-Received: by 10.110.40.8 with SMTP id n8mr14323934tin.41.1236853782509; Thu, 12 Mar 2009 03:29:42 -0700 (PDT) Original-Received: from mmddd ([218.82.57.250]) by mx.google.com with ESMTPS id d4sm308593tib.8.2009.03.12.03.29.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Mar 2009 03:29:41 -0700 (PDT) In-Reply-To: <2a024660903112346ncdb86e1uf62f063c644fd6ba@mail.gmail.com> (ithai levi's message of "Thu, 12 Mar 2009 08:46:42 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:62844 Archived-At: ithai levi writes: > I'm almost sure I saw this once, I just can recall the sequence.=A0 > What I want to do is to hit C+something and then type but have my cursor = stay in its current point > and not move forward. Then I can somehow exit this mode (ESC) and type so= me text which will be > inserted in between. This could be useful to type a prefix, a suffix and = then the content without > having to move the cursor back.=A0 > > Example: > > I would type "obj.method(" then press C+? then type "); // a comment", pr= ess ESC and type "1,2,3" > without moving the cursor. > > (what I do now is use C+SPC to set the mark, type and then press C+x C+SP= C to go back to the mark) > > TIA :) cua-set-rectangle-mark C+return