From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Christian Henz" Newsgroups: gmane.emacs.help Subject: Re: Frustration with gud (gdb) Date: Fri, 14 Feb 2014 23:57:02 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1392418641 16153 80.91.229.3 (14 Feb 2014 22:57:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2014 22:57:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 14 23:57:30 2014 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 1WERhH-0001Sn-UZ for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Feb 2014 23:57:28 +0100 Original-Received: from localhost ([::1]:54129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WERhH-00086b-AX for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Feb 2014 17:57:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WERh1-00086U-Fs for help-gnu-emacs@gnu.org; Fri, 14 Feb 2014 17:57:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WERgv-00082M-KA for help-gnu-emacs@gnu.org; Fri, 14 Feb 2014 17:57:11 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:52918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WERgv-0007zz-BD for help-gnu-emacs@gnu.org; Fri, 14 Feb 2014 17:57:05 -0500 Original-Received: from [77.8.135.103] by 3capp-gmx-bs42 with HTTP; Fri, 14 Feb 2014 23:57:02 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:nQy9lzbLxjwfkzF7UN1Ukib+K5ld3XNXF905vwRMMH2 /uWwcuU/doMVzWLrZIgrNpIYajVZfKniBUfQfTvmf/0h9EdDyg XF+yLsAsNgFTVB3jraVXgG0iHWG6iIe+Dhm/pl7cHh/EZ1CMzG NUfooxXRI0pCM+QRwcMrukwMmZlGfX8sthrVcjRd9jqTkD12Sd LBGvC6+DmufvKdb3BOZ6V+TsGIsonbendv1SefiM9RVz/VbXYH xxy/y7CH2f+GfAz11phfJM8oGbqyX5WLmlTqcfGQqAXAZw8Xq5 OE/fAA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.20 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:96092 Archived-At: > I have my source window, and Input/Output window showing. I can't get to gdb > buffer, if I try to switch to it, I get: > > Can't switch buffers in a dedicated window I have recently switched to Emacs 24, and this bothered me as well. But it seems that when you start GDB with "gud-gdb" instead of "gdb", you get the familiar combined buffer *without* any dedicated windows. Also, you can programatically "un-dedicate" a window. Unfortunately there is no interactive function provided for this, but it is easy to write yourself or find online (first search result: https://github.com/statico/dotfiles/blob/master/.emacs.d/elisp/toggle-current-window-dedication.el). Cheers, Christian