From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: automatic selection during search Date: Thu, 26 Sep 2013 11:08:50 +0200 Message-ID: <87a9j0kl0d.fsf@thinkpad.tsdh.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1380186556 17122 80.91.229.3 (26 Sep 2013 09:09:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2013 09:09:16 +0000 (UTC) Cc: Bostjan Vilfan , Emacs Help , Yuri Khan To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 26 11:09:18 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VP7ZW-0005lP-BK for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Sep 2013 11:09:18 +0200 Original-Received: from localhost ([::1]:56906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VP7ZV-0002IB-Qo for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Sep 2013 05:09:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VP7ZD-0002H1-V8 for help-gnu-emacs@gnu.org; Thu, 26 Sep 2013 05:09:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VP7Z6-00085y-Dy for help-gnu-emacs@gnu.org; Thu, 26 Sep 2013 05:08:59 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:45052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VP7Z6-00085i-7a for help-gnu-emacs@gnu.org; Thu, 26 Sep 2013 05:08:52 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 73FC21A843C; Thu, 26 Sep 2013 11:08:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UtIDMHQrlcma; Thu, 26 Sep 2013 11:08:51 +0200 (CEST) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.org (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 1EE581A8439; Thu, 26 Sep 2013 11:08:50 +0200 (CEST) In-Reply-To: (Peter Dyballa's message of "Thu, 26 Sep 2013 10:38:18 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93601 Archived-At: Peter Dyballa writes: > But, the same behaviour is also shown in emacs -Q: When something is > selected and the point is inside this selection and you start isearch, > then the selection is automatically extended. I could imagine that an > isearch hook could help which first switches off the selection=E2=80=A6 Yes, (add-hook 'isearch-mode-hook 'deactivate-mark) seems to do the trick. Bye, Tassilo