From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: patch gud-gdb to respect other-frame-window? Date: Mon, 30 Jul 2018 15:30:22 -0500 Message-ID: <86zhy8piu9.fsf@stephe-leake.org> References: <86muuaq7m8.fsf@stephe-leake.org> <864lggqxpl.fsf@stephe-leake.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532982515 16718 195.159.176.226 (30 Jul 2018 20:28:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2018 20:28:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 30 22:28:31 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkEmM-0004GA-7H for ged-emacs-devel@m.gmane.org; Mon, 30 Jul 2018 22:28:30 +0200 Original-Received: from localhost ([::1]:55742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkEoT-0008GT-0w for ged-emacs-devel@m.gmane.org; Mon, 30 Jul 2018 16:30:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkEoJ-0008BI-G2 for emacs-devel@gnu.org; Mon, 30 Jul 2018 16:30:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkEoF-0002z5-IS for emacs-devel@gnu.org; Mon, 30 Jul 2018 16:30:31 -0400 Original-Received: from smtp113.iad3b.emailsrvr.com ([146.20.161.113]:40833) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fkEoF-0002xe-1X for emacs-devel@gnu.org; Mon, 30 Jul 2018 16:30:27 -0400 Original-Received: from smtp23.relay.iad3b.emailsrvr.com (localhost [127.0.0.1]) by smtp23.relay.iad3b.emailsrvr.com (SMTP Server) with ESMTP id 999ECA0094 for ; Mon, 30 Jul 2018 16:30:25 -0400 (EDT) X-Auth-ID: board-president@tomahawk-creek-hoa.com Original-Received: by smtp23.relay.iad3b.emailsrvr.com (Authenticated sender: board-president-AT-tomahawk-creek-hoa.com) with ESMTPSA id 65D87A0086 for ; Mon, 30 Jul 2018 16:30:25 -0400 (EDT) X-Sender-Id: board-president@tomahawk-creek-hoa.com Original-Received: from Takver4 (76-218-37-33.lightspeed.kscymo.sbcglobal.net [76.218.37.33]) (using TLSv1.2 with cipher AES256-GCM-SHA384) by 0.0.0.0:25 (trex/5.7.12); Mon, 30 Jul 2018 16:30:25 -0400 In-Reply-To: <864lggqxpl.fsf@stephe-leake.org> (Stephen Leake's message of "Mon, 30 Jul 2018 15:23:50 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 146.20.161.113 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:228017 Archived-At: Stephen Leake writes: > Stefan Monnier writes: > >>> Currently, 'gud-gdb' has its own notion of where to put the *gud-* >>> buffer. Since I use other-frame-window (a GNU ELPA package), I'd like to >>> override that. >> >> Could you explain in more detail what's the problem you're seeing? > > Sorry, I was not very clear. > > If I type "M-x gud-gdb ...", the window in which the *gdb-* buffer > is shown is usually not the currently selected window, but sometimes it > is, depending on what buffer/window is currently selected. There is a > logic to it, but it's not what I want. > > Since I'm used to other-frame-window, I expect newly created buffers to > appear in the currently selected window; that's what happens for > find-file and most other commands. I just typed "C-h k ...", and the *Help* window appeared in a window that is not the selected window. So there's more work to do ... -- -- Stephe