From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.devel Subject: Re: save-window-excursion and window-configuration-change-hook interaction Date: Tue, 18 May 2010 13:59:17 -0500 Message-ID: <87hbm52fzu.fsf@gmail.com> References: <87mxvy5mly.fsf@vh213601.truman.edu> <4BF282E0.8000001@gmx.at> Reply-To: jay.p.belanger@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274210013 21069 80.91.229.12 (18 May 2010 19:13:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 May 2010 19:13:33 +0000 (UTC) Cc: jay.p.belanger@gmail.com, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 18 21:13:32 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 1OESDD-0006Qv-FV for ged-emacs-devel@m.gmane.org; Tue, 18 May 2010 21:13:31 +0200 Original-Received: from localhost ([127.0.0.1]:44620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OES0v-0008JO-Q2 for ged-emacs-devel@m.gmane.org; Tue, 18 May 2010 14:59:37 -0400 Original-Received: from [140.186.70.92] (port=40562 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OES0m-0008Iq-0F for emacs-devel@gnu.org; Tue, 18 May 2010 14:59:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OES0b-0007Rj-6O for emacs-devel@gnu.org; Tue, 18 May 2010 14:59:19 -0400 Original-Received: from s6.cableone.net ([24.116.0.232]:37408) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OES0a-0007RV-VH for emacs-devel@gnu.org; Tue, 18 May 2010 14:59:17 -0400 Original-Received: from belanger-desktop (unverified [24.116.73.151]) by s6.cableone.net (CableOne SMTP Service s6) with ESMTP id 32127981-1872270 for multiple; Tue, 18 May 2010 11:59:12 -0700 In-Reply-To: <4BF282E0.8000001@gmx.at> (martin rudalics's message of "Tue, 18 May 2010 14:06:56 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Vpipe: Scanner said ok (av_avast) X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 6, First 588, in=464, out=0, spam=0 ip=24.116.73.151 X-Originating-IP: 24.116.73.151 X-Abuse-Info: Send abuse complaints to abuse@cableone.net 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:124908 Archived-At: martin rudalics writes: ... > IIUC this happens for the following reason: ... > So the only reasonable solution in your case is to save the the position > after the search and do a `set-window-point' with that saved position. Thanks for the information. > martin, who never liked the idea of running > `window-configuration-change-hook' locally. I assure you, right now I like it less than you do. Jay