From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] (Or "question"...) isearch-kill-found Date: Mon, 31 May 2010 17:32:05 +0200 Message-ID: References: <87iq65v61m.fsf@gnu.org> <9BE2778D1026451087EED8E656851390@us.oracle.com> <4C02E48A.7080305@gmail.com> <87bpbwoihx.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1275319957 5609 80.91.229.12 (31 May 2010 15:32:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 May 2010 15:32:37 +0000 (UTC) Cc: Christoph , emacs-devel@gnu.org To: Michael Welsh Duggan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 31 17:32:36 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@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 1OJ6yg-0006iD-Vh for ged-emacs-devel@m.gmane.org; Mon, 31 May 2010 17:32:35 +0200 Original-Received: from localhost ([127.0.0.1]:42323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ6yg-0004qz-DN for ged-emacs-devel@m.gmane.org; Mon, 31 May 2010 11:32:34 -0400 Original-Received: from [140.186.70.92] (port=42336 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ6yZ-0004qk-BD for emacs-devel@gnu.org; Mon, 31 May 2010 11:32:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJ6yY-00058v-3J for emacs-devel@gnu.org; Mon, 31 May 2010 11:32:27 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:61438) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ6yX-00058o-W4 for emacs-devel@gnu.org; Mon, 31 May 2010 11:32:26 -0400 Original-Received: by gwb19 with SMTP id 19so3497322gwb.0 for ; Mon, 31 May 2010 08:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=xvk2rfnyCWb8PxCCF5vgXFCAhdHopPtyd9tlD2t1kQc=; b=iG2b9h/iNUoaJ4P4W3OjitLqrqPbbItGIQzLbXFjezY0jUVsCao2PYBwEzJOIyO9Vj 8zgXHOeQDJtHv3VmscMn88LklClYKxSCtmfLPUsmjBWL/jTWPeBZu7VF2NnWaYVUhO7Z b9VxXPhy4PXYSh2RMTDQvTHOzrTOgBGcWhbus= 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=fHd7zuOvwmcguK7qgbJSkkzGWg07FtmsLzBIrIFF5czhu7ZD7s/7u9UV56qtr90aWN cbsHTylyNYefIehpoopdEY68B/3nIJB6JI1xOZYRx/+OJVtWPuMoXvCmJDfzjw5/qkKR CeeqFFhKp/unwqyfKU3bxTMUyiSJBZ7JSewVI= Original-Received: by 10.101.178.8 with SMTP id f8mr4883294anp.213.1275319945123; Mon, 31 May 2010 08:32:25 -0700 (PDT) Original-Received: by 10.100.44.20 with HTTP; Mon, 31 May 2010 08:32:05 -0700 (PDT) In-Reply-To: <87bpbwoihx.fsf@maru.md5i.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125395 Archived-At: On Mon, May 31, 2010 at 5:30 AM, Michael Welsh Duggan wrote= : > Lennart Borgman writes: > >> On Mon, May 31, 2010 at 12:19 AM, Christoph = wrote: >>> >>> In that same thread Davis Herring had an idea that sounds interesting a= nd >>> useful to me: >>> http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00492.html >>> >>>> =C2=A0Thinking about this, I realize >>>> =C2=A0that I would get almost all the utility of this idea with just o= ne >>>> command >>>> =C2=A0added to isearch which meant "exit and move point to start of ma= tch", or >>>> =C2=A0(closer to your idea) a command which meant "exit and drop mark = at start >>>> =C2=A0of match" in place of your toggle. =C2=A0WDOT? >>> >>> >>> I think a function "exit and drop mark at start of match" would be very >>> useful. >> >> >> Would it disturb if instead mark was always set to start of match? > > It would. =C2=A0I am often in a situation where I am at the beginning of = a > construct, use C-s to find the end of the construct, and then C-w or M-w > to cut or copy it. =C2=A0I use this behavior frequently, especially when > writing macros. Thanks Michael, I see. And learned a bit more about using the mark.