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, 30 Nov 2018 00:33:02 +0200 Organization: LINKOV.NET Message-ID: <87efb3bjkx.fsf@mail.linkov.net> References: <87k1l6f9li@posteo.net> <87muq23vsk.fsf@gmx.net> <87h8g9fpl3@posteo.net> <5BF7AF19.4070809@gmx.at> <87bm6fyf78@posteo.net> <5BF84EE6.9020004@gmx.at> <87wop0and5.fsf@mail.linkov.net> <5BFBBDC5.10706@gmx.at> <87efb7fjm1.fsf@mail.linkov.net> <5BFCFB87.6060005@gmx.at> <87zhtudq0i.fsf@mail.linkov.net> <5BFE5334.3080502@gmx.at> <87sgzkn4vj.fsf@mail.linkov.net> <837egwe3fm.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1543532118 8635 195.159.176.226 (29 Nov 2018 22:55:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2018 22:55:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: stephen.berman@gmx.net, 33458@debbugs.gnu.org, v88m@posteo.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 29 23:55:14 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 1gSVDF-00026z-4L for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Nov 2018 23:55:13 +0100 Original-Received: from localhost ([::1]:56995 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSVFL-0004We-AY for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Nov 2018 17:57:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSVE7-0003gf-GY for bug-gnu-emacs@gnu.org; Thu, 29 Nov 2018 17:56:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSVE4-0002pm-C2 for bug-gnu-emacs@gnu.org; Thu, 29 Nov 2018 17:56:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51018) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSVE4-0002pf-4c for bug-gnu-emacs@gnu.org; Thu, 29 Nov 2018 17:56:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gSVE4-0008HC-23 for bug-gnu-emacs@gnu.org; Thu, 29 Nov 2018 17:56:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Nov 2018 22:56:04 +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.154353213631725 (code B ref 33458); Thu, 29 Nov 2018 22:56:04 +0000 Original-Received: (at 33458) by debbugs.gnu.org; 29 Nov 2018 22:55:36 +0000 Original-Received: from localhost ([127.0.0.1]:55267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSVDb-0008Fd-Pj for submit@debbugs.gnu.org; Thu, 29 Nov 2018 17:55:35 -0500 Original-Received: from insect.birch.relay.mailchannels.net ([23.83.209.93]:59880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSVDZ-0008FT-VH for 33458@debbugs.gnu.org; Thu, 29 Nov 2018 17:55:34 -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 71CC9122A67; Thu, 29 Nov 2018 22:55:32 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a3.g.dreamhost.com (unknown [100.96.19.74]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 10CC812275D; Thu, 29 Nov 2018 22:55:32 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a3.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); Thu, 29 Nov 2018 22:55:32 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Shoe-Spicy: 13bdb4937d9c85cb_1543532132174_4235476075 X-MC-Loop-Signature: 1543532132173:2545497457 X-MC-Ingress-Time: 1543532132173 Original-Received: from pdx1-sub0-mail-a3.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a3.g.dreamhost.com (Postfix) with ESMTP id CAF567F6BB; Thu, 29 Nov 2018 14:55:31 -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=DMjPLXoupN4FNWrhd25Cq5X2H2M=; b= SLYEZCoNSp6ImbqDeuBw9innn8IfRqds2h/PN+NBPowizUNaCBZ9p/5DT16d+Eo6 jyTfp45LabU8LdSaLbDwtQy2Xxv+kxQGkoBXf+irjIxAr53Jtr0ONZF4IXDZhnmA jZjyWNfJfLxOK1s+4eWvoxWGm+OUPV8E9QTUgHSu0UY= Original-Received: from mail.jurta.org (m91-129-107-242.cust.tele2.ee [91.129.107.242]) (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-a3.g.dreamhost.com (Postfix) with ESMTPSA id 1B2B07F6CE; Thu, 29 Nov 2018 14:55:27 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a3 In-Reply-To: <837egwe3fm.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 29 Nov 2018 09:41:17 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedruddvgedgtdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdejrddvgedvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrvdegvddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedu 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:152909 Archived-At: >> The main question: why the result of setting point with goto-char >> is ignored when the buffer's display is restored in a window? > > Because switch-to-buffer-preserve-window-point is non-nil? Setting switch-to-buffer-preserve-window-point to nil really helps, but only in the case of switching buffers with 'C-x b'. It doesn't help when the buffer is displayed with any other command such as 'C-x ' (previous-buffer) or with set-window-configuration or window-state-put, etc.