From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Re: "grouping" buffers Date: Sun, 31 May 2020 16:34:12 +0900 Message-ID: References: <20200528005856.6bc0869e@jcubic> <38d5c557-715d-43b2-ae02-d0f73c3f3600@default> <5C48EC33-AB2C-4131-AF5F-2BF6D376EC2D@traduction-libre.org> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) 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="71534"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs mailing list To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 31 09:34:41 2020 Return-path: Envelope-to: geh-help-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 1jfIUT-000IVF-Ly for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 31 May 2020 09:34:41 +0200 Original-Received: from localhost ([::1]:44052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfIUS-0005Eg-OB for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 31 May 2020 03:34:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfIUA-0005EL-Jm for help-gnu-emacs@gnu.org; Sun, 31 May 2020 03:34:22 -0400 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:38523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfIU7-0000hb-QC for help-gnu-emacs@gnu.org; Sun, 31 May 2020 03:34:22 -0400 Original-Received: from [10.0.1.13] (pl19991.ag0304.nttpc.ne.jp [128.53.64.23]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id D7A25200004; Sun, 31 May 2020 07:34:16 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=217.70.178.232; envelope-from=jean.christophe.helary@traduction-libre.org; helo=relay12.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/31 03:33:01 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123203 Archived-At: > On May 31, 2020, at 16:21, Yuri Khan wrote: >=20 >> I don't know how to "set the name frame property". But there is = probably a place in the elisp manual that says how to do that. >=20 > I did this: >=20 > (set-frame-parameter nil 'name "Hello World!") Thank you. > and the title of my WM window that displays the current Emacs frame > changed. Of course this made it less convenient: now it displays a > static string, whereas previously, per my =E2=80=98frame-title-format=E2= =80=99 > configuration, it displayed the unsaved status and name of the buffer > in the currently selected window in that frame: =E2=80=A2README.md =E2=80= =93 Emacs. That's what the manual says. Basically, the name reflects the mode line = info. I understand it can be useful, but it's also redundant. Also, I = don't need all that when I work with multiple frames. I need to have an = idea of what kind of buffers I mainly work with there (hence the subject = title: "grouping buffers"). So having a name derived from the *state of = the current buffer* in that frame is not useful for me. > If in your workflow you need a frame that you control, you arrange for > your code to create it and stash the reference into a private > variable, then refer to the frame via that variable. I'm not sure what I *need* in technical terms. In practical terms I need = to keep the context of a given work, so I want to split my activity = between "enclosed" sections of my emacs session. But it looks like the = perspective.el mode that I found earlier is close to what I want, so = before reinventing a wheel that seems pretty complex, I think I'm going = to see how that mode works :) --=20 Jean-Christophe Helary @brandelune http://mac4translators.blogspot.com