From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: [PATCH] (Or "question"...) isearch-kill-found Date: Mon, 31 May 2010 13:04:37 -0700 Message-ID: References: <87vda59rby.fsf@mail.jurta.org> <87vda45euq.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1275336409 5299 80.91.229.12 (31 May 2010 20:06:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 May 2010 20:06:49 +0000 (UTC) Cc: 'Juri Linkov' , 'Chong Yidong' , 'Deniz Dogan' , 'Emacs-Devel devel' To: "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 31 22:06:47 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 1OJBG3-0002Kk-C1 for ged-emacs-devel@m.gmane.org; Mon, 31 May 2010 22:06:47 +0200 Original-Received: from localhost ([127.0.0.1]:39618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJBG2-0007iw-Qy for ged-emacs-devel@m.gmane.org; Mon, 31 May 2010 16:06:46 -0400 Original-Received: from [140.186.70.92] (port=47254 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJBFx-0007fX-VA for emacs-devel@gnu.org; Mon, 31 May 2010 16:06:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJBFw-0008Gm-QN for emacs-devel@gnu.org; Mon, 31 May 2010 16:06:41 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:23078) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJBFw-0008Gb-KL for emacs-devel@gnu.org; Mon, 31 May 2010 16:06:40 -0400 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4VK6a5A019879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 31 May 2010 20:06:38 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4VANAtZ009669; Mon, 31 May 2010 20:06:33 GMT Original-Received: from abhmt021.oracle.com by acsmt353.oracle.com with ESMTP id 311425591275336289; Mon, 31 May 2010 13:04:49 -0700 Original-Received: from dradamslap1 (/10.175.236.222) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 31 May 2010 13:04:49 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcsA+oObrwKF7QtHRdS12PDkEELd3wAAMUuA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Auth-Type: Internal IP X-Source-IP: rcsinet13.oracle.com [148.87.113.125] X-CT-RefId: str=0001.0A090206.4C0416CE.015F:SCFMA4539811,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:125408 Archived-At: > > The alternative that I proposed does not affect any keys that exit > > isearch - you exit it normally, any way you want. What it does do > > is leave the mark-setting on or off until you toggle it, with > > `C-SPC' during isearch. > > Eh.... it *does* affect a key that exits isearch: C-SPC. Yes. I should have said only that you need not exit specially to get the marking behavior. > Of course I also dislike it because it adds a state. As for simply > providing a variable to change the behavior (without a key-binding to > change it), that's another solution, indeed. Maybe not a bad one. Why is not having a key to toggle the variable better? It is the variable that "adds a state", not the toggle key.