From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#9499: 24.0.50; M-x occur + M-x next-error window config problem Date: Wed, 14 Sep 2011 11:15:00 -0400 Message-ID: <8739fz2m17.fsf@stupidchicken.com> References: <4E70781D.9020307@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316013353 1931 80.91.229.12 (14 Sep 2011 15:15:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Sep 2011 15:15:53 +0000 (UTC) Cc: Stefan =?UTF-8?Q?Reich=C3=B6r?= , 9499@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 14 17:15:46 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R3rBh-0002Rw-4O for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Sep 2011 17:15:45 +0200 Original-Received: from localhost ([::1]:51344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3rBg-0002SF-Lg for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Sep 2011 11:15:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3rBa-0002RC-Kh for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2011 11:15:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3rBR-000397-Hs for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2011 11:15:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3rBR-00038z-Bg for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2011 11:15:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R3rFq-00063O-2E; Wed, 14 Sep 2011 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Sep 2011 15:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9499 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9499-submit@debbugs.gnu.org id=B9499.131601358123231 (code B ref 9499); Wed, 14 Sep 2011 15:20:01 +0000 Original-Received: (at 9499) by debbugs.gnu.org; 14 Sep 2011 15:19:41 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3rFT-00062d-8o for submit@debbugs.gnu.org; Wed, 14 Sep 2011 11:19:41 -0400 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3rFP-00062T-2j for 9499@debbugs.gnu.org; Wed, 14 Sep 2011 11:19:36 -0400 Original-Received: from furball ([128.36.14.25]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p8EFF0qo025453 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 14 Sep 2011 11:15:01 -0400 In-Reply-To: <4E70781D.9020307@gmx.at> (martin rudalics's message of "Wed, 14 Sep 2011 11:47:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 14 Sep 2011 11:20:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51152 Archived-At: martin rudalics writes: >> Start emacs, switch to the *scratch* buffer >> M-x occur RET >> th RET >> M-x next-error >> >> The *Occur* buffer is replaced by another view of the *scratch* buffer >> I expect the *Occur* buffer to stay > > It's because > > (pop-to-buffer (marker-buffer pos) t) > > in `occur-mode-goto-occurrence' has problems reusing the *scratch* > window. More precisely, because the *scratch* window is selected and > the second argument t means to not use the selected window. Sorry, this was my mistake. The second arg should not be t in here. Fixed in trunk.