From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs Subject: bug#33871: 27.0.50; Revert Dired window saved in window configuration Date: Sat, 29 Dec 2018 12:19:21 +0100 Organization: man Message-ID: References: <87bm59mglk.fsf@mail.linkov.net> <5C234D27.40309@gmx.at> <87y38bhm6i.fsf@mail.linkov.net> <5C249D48.1020608@gmx.at> <87efa21wof.fsf@mail.linkov.net> <5C25E016.3050808@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1546082714 27524 195.159.176.226 (29 Dec 2018 11:25:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 29 Dec 2018 11:25:14 +0000 (UTC) User-Agent: Emacs/26.1 To: 33871@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 29 12:25:09 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdCjt-00072d-BN for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Dec 2018 12:25:09 +0100 Original-Received: from localhost ([127.0.0.1]:35998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdCm0-0000Tb-6B for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Dec 2018 06:27:20 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdClo-0000T9-8P for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 06:27:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdCli-0007ql-VX for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 06:27:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdCli-0007qN-On for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 06:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gdCli-0002MT-IL for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 06:27:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87bm59mglk.fsf@mail.linkov.net> Resent-From: Markus Triska Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Dec 2018 11:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33871 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15460827939021 (code B ref -1); Sat, 29 Dec 2018 11:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Dec 2018 11:26:33 +0000 Original-Received: from localhost ([127.0.0.1]:40876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdClF-0002LQ-5L for submit@debbugs.gnu.org; Sat, 29 Dec 2018 06:26:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdClD-0002LC-Ci for submit@debbugs.gnu.org; Sat, 29 Dec 2018 06:26:31 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:43013) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdCl7-0007ES-Mr for submit@debbugs.gnu.org; Sat, 29 Dec 2018 06:26:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdCl2-0000LK-Fj for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 06:26:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdCeX-0001C7-AO for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 06:20:13 -0500 Original-Received: from [195.159.176.226] (port=41642 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdCeW-00013a-GX for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 06:19:37 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gdCcH-0006cK-6O for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 12:17:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:w7ERwO2I7DfqJXs4rHPNumgldro= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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:153990 Archived-At: martin rudalics writes: > As I suggested earlier we can use the position of the buffer's point > in every window regardless of whether it currently shows the buffer or > we later switch to the buffer in it. But this is not what we usually > want when using multiple windows: We usually want them to show > different portions of the same buffer. In the cases I faced, I found it a drawback that the current buffer is treated differently than the others by current-window-configuration: Suppose it did not make such an exception. Then it would be quite easy to manually implement exceptional behaviour for the current buffer. But the converse is not so easy: It is harder to manually obtain the desired behaviour if we *want* the current buffer to be treated like the others, when the function already treats it differently. If it didn't, then a simple save-excursion, or a similar mechanisms, around restoring the window configuration could ostensibly restore the state for all buffers except the current one, resulting in the same behaviour that we get now. At least that was my impression when using window configurations.