From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#33870: 27.0.50; xref-goto-xref not configurable Date: Tue, 08 Jan 2019 11:06:32 -0500 Message-ID: References: <87a7ktqqx7.fsf@mail.linkov.net> <9215183d-0a44-88b5-5b3c-d0da31f749ad@yandex.ru> <878t02egph.fsf@mail.linkov.net> <874lak9kr0.fsf@mail.linkov.net> <87zhscklhq.fsf@gmail.com> <5C346C76.4050803@gmx.at> <5C34BBE4.8060705@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1546963512 4564 195.159.176.226 (8 Jan 2019 16:05:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2019 16:05:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33870@debbugs.gnu.org, Juri Linkov , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , Dmitry Gutov To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 08 17:05:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggtsG-0000y9-PS for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Jan 2019 17:05:04 +0100 Original-Received: from localhost ([127.0.0.1]:52407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggtuM-00063l-L4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Jan 2019 11:07:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggtuC-00061R-QT for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2019 11:07:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggtuA-0000zl-3t for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2019 11:07:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggtu9-0000yr-V9 for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2019 11:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ggtu9-0005ol-NE for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2019 11:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Jan 2019 16:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33870 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33870-submit@debbugs.gnu.org id=B33870.154696359722334 (code B ref 33870); Tue, 08 Jan 2019 16:07:01 +0000 Original-Received: (at 33870) by debbugs.gnu.org; 8 Jan 2019 16:06:37 +0000 Original-Received: from localhost ([127.0.0.1]:50147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggttl-0005o7-2Q for submit@debbugs.gnu.org; Tue, 08 Jan 2019 11:06:37 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggtti-0005ny-1c for 33870@debbugs.gnu.org; Tue, 08 Jan 2019 11:06:35 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id x08G6WkU017201; Tue, 8 Jan 2019 11:06:32 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 7928C6AAF2; Tue, 8 Jan 2019 11:06:32 -0500 (EST) In-Reply-To: <5C34BBE4.8060705@gmx.at> (martin rudalics's message of "Tue, 08 Jan 2019 16:04:04 +0100") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6456=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6456> : inlines <6992> : streams <1809497> : uri <2776818> 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154260 Archived-At: >> The intention behind display-buffer-mark-dedicated is to have it set to >> `soft` which in turn means that the window will be undedicated whenever >> the user explicitly asks to display another buffer in it (typically via >> switch-to-buffer). > Who is supposed to set this and when? The user in ~/.emacs > Why don't we provide a normal action alist entry for this? IIRC it was introduced before the new display-buffer-alist and its action alists. Also it's a global variable because I needed it to apply to "normal" buffers (rather than those matched by special-display-regexps), so it needs to go to display-buffer-base-action which had no equivalent back then. >> IOW the result is windows are dedicated as long as they have only ever >> displayed a single buffer. > You mean one and the same buffer all the time? Of course: when set to `soft`, it's marked as `soft-dedicated` when created, so as soon as some other buffer is displayed, the dedication is removed. > Please leave a note somewhere what the precise intended behavior is. > So far, designers of buffer display action functions can only guess. I'm not sure what to say there. The intended behavior is just as it is described: to mark windows as dedicated when they're created. Stefan