From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Newsgroups: gmane.emacs.bugs Subject: bug#39181: 27.0.50; [PATCH] Allow users to store & restore gdb-mi layout Date: Wed, 11 Mar 2020 10:26:53 +0100 Message-ID: <87d09jp7he.fsf@gmail.com> References: <91E91E25-9956-4D10-BD99-DC028156731C@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="89362"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 39181@debbugs.gnu.org To: martin rudalics , Fu Yuan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 11 10:27:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jBxdv-000N8p-Or for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Mar 2020 10:27:11 +0100 Original-Received: from localhost ([::1]:48536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBxdu-0008Ba-D5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Mar 2020 05:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49571) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBxdn-0008BI-Iv for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2020 05:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBxdm-0004ga-HK for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2020 05:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47664) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBxdm-0004gR-CB for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2020 05:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBxdm-0005JQ-9L for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2020 05:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Mar 2020 09:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 39181-submit@debbugs.gnu.org id=B39181.158391880420389 (code B ref 39181); Wed, 11 Mar 2020 09:27:02 +0000 Original-Received: (at 39181) by debbugs.gnu.org; 11 Mar 2020 09:26:44 +0000 Original-Received: from localhost ([127.0.0.1]:53637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBxdT-0005In-PD for submit@debbugs.gnu.org; Wed, 11 Mar 2020 05:26:43 -0400 Original-Received: from mail-lj1-f172.google.com ([209.85.208.172]:46092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBxdR-0005Ib-QY for 39181@debbugs.gnu.org; Wed, 11 Mar 2020 05:26:42 -0400 Original-Received: by mail-lj1-f172.google.com with SMTP id d23so1445691ljg.13 for <39181@debbugs.gnu.org>; Wed, 11 Mar 2020 02:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=elAdcmGOiGoBBqFwRv7Aj+gXbKoWyKwCatoMnZ9ZzUQ=; b=sZRcB7OMNVtMa3yJ1Bc/zM7h1HZJ5gwm2e00x8DVME0w3wvYotdmF7Sbip0W42A4Sv Det6SK0n34Yygh9PDbs9OaDansUvajg/oaEHIbs3IF6tt3jFhqdMoSjcI0b/L2z/G8Zv KKtfr54aYJ7Cx6wyO5SXB0pO1nZksFr+ESp8E3gYEzv5AxJDm77AxyoCn+DTEJW5UJbQ VfRuBUbNroc9iYuxMs8yCQnZQqEriTka7Gx2mJT/7MnCV05I9CcgpZIFIrvVymuHhnbC 91RZMJIi/AfyKvykV17b1fwmNPGwKxj1JzD8begQMmaSN8Qni3rjbXN0HgA/uNk7jZBS 04+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=elAdcmGOiGoBBqFwRv7Aj+gXbKoWyKwCatoMnZ9ZzUQ=; b=lxUsmcI1ALkpqHsOJDoIkqttQCPHKOfJOJofBFf1XoXQfW0bZowi04UonYYweYrm17 ZBQ65JHFA/GZ1MhBSOHEEpalU0FzJsSxudPjmUrEv0e5b+HngMf6xGtmXWCDSX0jva2Q Lfe9nRyySWCU5qo4PQYAlsGXsF5EYFslrJWNr+rYYqVP9Sq4ywFZKem3x/dUCy8DBfP8 a0EfvdgALsPY9zhsxF/HOZ8x1DRnHi2LrnpOS54POyZ2BGwONmX9lVk3GXSW/tTTEQYJ t3MdNDdqpp5uQjYfSaqPWq0zOx8SViGek+ZApn26woKqNlDIbmJC48sLimpaEMs5MN8c 5zWQ== X-Gm-Message-State: ANhLgQ2jg1XgWmif4B2mwIG4EgetomWW2OclVTaWcr8eIwudqFmDmzP7 ruUDLSjdbSozBsAqrFufYB0= X-Google-Smtp-Source: ADFU+vvs+yNTGOR0onEf5PXo6nInDuwKtY8Gxw6P1PWaSgZdgq8onyhHdTxeKzkeT7B2vaRXgn22Ug== X-Received: by 2002:a2e:9a0e:: with SMTP id o14mr1557172lji.63.1583918795732; Wed, 11 Mar 2020 02:26:35 -0700 (PDT) Original-Received: from localhost ([185.112.167.59]) by smtp.gmail.com with ESMTPSA id x13sm12034790lfq.97.2020.03.11.02.26.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2020 02:26:35 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177174 Archived-At: On Wed, 11 Mar 2020 09:52:37 +0100 martin rudalics wrote: > > Hmmm, so what is the best approach here? Use layout in button names > > (in the menu bar) and configuration everywhere else? > > I think so. =C5=A0t=C4=9Bp=C3=A1n? That certainly sounds better, thank you, although I'm still wondering if the "layout" gdb-mi speaks of really corresponds exactly to the usual window configuration (the object/data structure)? And if it does, it still seems to me that it would be better to just use the Emacs term, for the reasons I explained in my previous message, but as an only very occasional GDB user I don't feel I should be pushing for such a change. > > And maybe mention > > the equivalence between layout and configuration in help echo? > > I'd mention it in section 27.6.5.1 GDB User Interface Layout of the > Emacs manual. FWIW, I found that section confusing for other reasons as well, e.g. it seems to even mix "frame layout" and "window layout" in apparently the same sense? I think fixing _that_ at least should be uncontroversial. :-) --=20 =C5=A0t=C4=9Bp=C3=A1n