From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71971: 31.0.50; Add user option server-window-alist Date: Sat, 06 Jul 2024 14:22:17 +0300 Message-ID: <86cynq4vfa.fsf@gnu.org> References: <871q463hke.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7841"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jonas@bernoul.li, 71971@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 06 13:23:23 2024 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 1sQ3Vj-0001po-G9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Jul 2024 13:23:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQ3VM-0000ke-Fu; Sat, 06 Jul 2024 07:23:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQ3VL-0000kS-7B for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 07:22:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQ3VK-0007nw-UP for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 07:22:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQ3VO-0002tR-9u for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 07:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jul 2024 11:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71971 X-GNU-PR-Package: emacs Original-Received: via spool by 71971-submit@debbugs.gnu.org id=B71971.172026495211076 (code B ref 71971); Sat, 06 Jul 2024 11:23:02 +0000 Original-Received: (at 71971) by debbugs.gnu.org; 6 Jul 2024 11:22:32 +0000 Original-Received: from localhost ([127.0.0.1]:45688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQ3Uu-0002sa-Jb for submit@debbugs.gnu.org; Sat, 06 Jul 2024 07:22:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQ3Us-0002sO-Vo for 71971@debbugs.gnu.org; Sat, 06 Jul 2024 07:22:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQ3Ui-0007ht-Uv; Sat, 06 Jul 2024 07:22:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TGPJU1mmLv43kAKcxBwvs8OlH+VNg2Fo/TdcQYFrzPk=; b=Wdi/cy2qTfWX UW2132uQy0ebldxXF+jemM8SPzg+oKhzEYzSrvMJTIBflqTFDWaSEPmtLlId3TSuOzyyciHXQw7y7 pq6TwV2CiOeHBVdbn0RqHD308TqQEE9OTMSnUWjeCnPOwbTD52qKhtp8m8kN2GuwFy48aICDisgaL YEhxKCp95Sdu3rY5ZBwAx7uiwL0m6xh6fpJTv0nI2kXjuD/fDh9aal1lEfC79VJe1ogSzdrcRkptu eZMjDgoP8Zlubm+P0fZgblDqhYJx3j3gDTTCCBtOgfEhOhSWpZaULLS1O80cZWa73CZHWp+1yRaDZ AQ0J9Umy1zr/NdhvYkNA/Q==; In-Reply-To: <871q463hke.fsf@gmx.de> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288492 Archived-At: > Cc: Jonas Bernoulli > Date: Sat, 06 Jul 2024 13:06:57 +0200 > From: Michael Albinus via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > A new user option `server-window-alist' shall be added to server.el. Every > entry shall be of type (REGEXP . SERVER-WINDOW). REGEXP is used to filter > for the buffer's file name, and if it matches, SERVER-WINDOW shall be > applied. SERVER-WINDOW itself has the same type as the `server-window' > user option. > > If no regexp matches, the value of user option `server-window' shall be > used. > > This new user option is the same as the existing > `with-editor-server-window-alist' from package with-editor.el. Mid-term, > the former shall replace the latter. Is it possible to describe the typical use cases which this option targets? Given that client frames/windows are not meant for specific buffers (IOW, a client frame/window can be used for editing several buffers), what kind of workflow will benefit from this option? (And please don't say "the same cases as those where server-window is useful", because I don't understand its usefulness, either.) Thanks.