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#33532: 26.1; set-window-configuration does not restore display start Date: Fri, 30 Nov 2018 17:58:39 +0100 Message-ID: <877eguqz7k.fsf@metalevel.at> References: <87efb62mt2.fsf@metalevel.at> <83o9a9g0ui.fsf@gnu.org> <877egxyvje.fsf@metalevel.at> <5BFFA3FB.4060603@gmx.at> <8736rj4uxg.fsf@metalevel.at> <5C0039D0.2090309@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1543597028 19592 195.159.176.226 (30 Nov 2018 16:57:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2018 16:57:08 +0000 (UTC) User-Agent: Emacs/24.5 Cc: 33532@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 30 17:57:04 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 1gSm6C-0004za-0o for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Nov 2018 17:57:04 +0100 Original-Received: from localhost ([::1]:33730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSm8I-00056X-Cf for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Nov 2018 11:59:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSm89-00055F-00 for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2018 11:59:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSm86-0004y9-99 for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2018 11:59:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52354) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSm86-0004y5-5M for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2018 11:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gSm85-00028N-Up for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2018 11:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Markus Triska Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Nov 2018 16:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33532 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33532-submit@debbugs.gnu.org id=B33532.15435971238174 (code B ref 33532); Fri, 30 Nov 2018 16:59:01 +0000 Original-Received: (at 33532) by debbugs.gnu.org; 30 Nov 2018 16:58:43 +0000 Original-Received: from localhost ([127.0.0.1]:56612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSm7m-00027m-Nc for submit@debbugs.gnu.org; Fri, 30 Nov 2018 11:58:42 -0500 Original-Received: from metalevel.at ([78.46.218.83]:46142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSm7l-00027d-15 for 33532@debbugs.gnu.org; Fri, 30 Nov 2018 11:58:41 -0500 Original-Received: by metalevel.at (Postfix, from userid 1000) id B29C3A2B08; Fri, 30 Nov 2018 17:58:39 +0100 (CET) In-Reply-To: <5C0039D0.2090309@gmx.at> (martin rudalics's message of "Thu, 29 Nov 2018 20:11:12 +0100") 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:152938 Archived-At: martin rudalics writes: > You have to call 'window-state-get' with the WRITABLE argument > non-nil, like (window-state-get nil t). Otherwise, it gets you > markers just like 'current-window-configuration'. Perfect! This is what I need also for current-window-configuration! Also, could this be made the default? Or is there some advantage in using markers instead of the actual positions that can be restored? All the best, Markus