From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#33458: 27.0.50; dired loses position when reverted from outside place Date: Fri, 21 Dec 2018 02:59:31 +0200 Organization: LINKOV.NET Message-ID: <87sgyrae4s.fsf@mail.linkov.net> References: <87k1l6f9li@posteo.net> <5C063BD6.5020707@gmx.at> <874lbt73s3@posteo.net> <5C079794.6080500@gmx.at> <5C0B91AD.4050909@gmx.at> <87y38yjkqk.fsf@mail.linkov.net> <5C0E1C9D.3040106@gmx.at> <87pnu9j5lh.fsf@mail.linkov.net> <5C0F7695.1070408@gmx.at> <875zvzlgqm.fsf@mail.linkov.net> <5C10C786.3030504@gmx.at> <8736r2fhnp.fsf@mail.linkov.net> <5C12200E.8060609@gmx.at> <5C137900.7010704@gmx.at> <87r2ehro5k.fsf@mail.linkov.net> <5C175917.4010702@gmx.at> <87va3riqvm.fsf@mail.linkov.net> <5C18AFC7.40200@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545353955 1929 195.159.176.226 (21 Dec 2018 00:59:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2018 00:59:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 33458@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 01:59:11 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 1ga99i-0000Of-F3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2018 01:59:10 +0100 Original-Received: from localhost ([::1]:41774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga9Bo-0000fP-W1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2018 20:01:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga9Bd-0000fG-2k for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 20:01:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ga9BW-0006gC-QT for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 20:01:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52687) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ga9BW-0006fi-Hi for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 20:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ga9BW-0001rX-6x for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 20:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Dec 2018 01:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33458-submit@debbugs.gnu.org id=B33458.15453540177094 (code B ref 33458); Fri, 21 Dec 2018 01:01:02 +0000 Original-Received: (at 33458) by debbugs.gnu.org; 21 Dec 2018 01:00:17 +0000 Original-Received: from localhost ([127.0.0.1]:56945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ga9An-0001qM-6d for submit@debbugs.gnu.org; Thu, 20 Dec 2018 20:00:17 -0500 Original-Received: from bird.maple.relay.mailchannels.net ([23.83.214.17]:60056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ga9Al-0001qC-DE for 33458@debbugs.gnu.org; Thu, 20 Dec 2018 20:00:16 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8697312441D; Fri, 21 Dec 2018 01:00:13 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (unknown [100.96.11.179]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8FE381246F1; Fri, 21 Dec 2018 01:00:10 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Fri, 21 Dec 2018 01:00:13 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Towering-Cold: 7f0055ad15a58602_1545354010776_4218001014 X-MC-Loop-Signature: 1545354010776:3510203821 X-MC-Ingress-Time: 1545354010776 Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id 12B1980874; Thu, 20 Dec 2018 17:00:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=EGH5+XX6UHmSp9r+N9NChT0N4SI=; b= rJ9TtoHsB3yfBtFXOJfyFNvTK0tUfGMgAKzoeMqH+8sI6ozOHW/UrA/fVR6EmIlN +dActofN7e7iIB01MyW3xRPqRj6vBJLYj/LrB6cMXO7rZYt3exYyY1bn4pggODIN Uo7as4tlzawmQn0LoBQvebI7d225geOYQHyT/Va/5s0= Original-Received: from mail.jurta.org (m91-129-106-79.cust.tele2.ee [91.129.106.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 22E028086A; Thu, 20 Dec 2018 17:00:05 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a6 In-Reply-To: <5C18AFC7.40200@gmx.at> (martin rudalics's message of "Tue, 18 Dec 2018 09:28:55 +0100") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrudejgedgvdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdeirdejleenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdeirdejledprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehruhgurghlihgtshesghhmgidrrghtnecuvehluhhsthgvrhfuihiivgeptd 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:153665 Archived-At: >> Is it really possible to get a window from the window-configuration >> that is currently not displayed and change its window-point, e.g. >> to get window reference from the buffer-local list, select with >> with-selected-window and call set-window-point? I never tried such thing. > > The window object is fully available, just its buffer (aka contents) > slot is nil. We cannot select it and setting any geometry related > things might cause problems. But I see no problems changing its point > or its buffer (the latter being temporarily in the combination_limit > slot). So the problem is not how to get the window from the > configuration but how to get the configuration in the first place. I have a related question: before killing a buffer I want to check if that buffer is still used in a saved window-configuration/state, i.e. it could be restored later and displayed after restoring from the window configuration/state. Do you know is such thing possible at all?