From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#25380: 25.1; save-window-excursion problem in batch mode Date: Sat, 07 Jan 2017 00:05:16 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1483743978 1857 195.159.176.226 (6 Jan 2017 23:06:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 6 Jan 2017 23:06:18 +0000 (UTC) To: 25380@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 07 00:06:13 2017 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 1cPdaM-0007WR-4w for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jan 2017 00:06:10 +0100 Original-Received: from localhost ([::1]:55254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPdaN-0007Mr-9t for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jan 2017 18:06:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPdaG-0007Mi-2N for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 18:06:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPdaE-00089j-Jk for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 18:06:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58283) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cPdaE-00089c-GT for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 18:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cPdaE-000073-75 for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 18:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Jan 2017 23:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25380 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.1483743938392 (code B ref -1); Fri, 06 Jan 2017 23:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jan 2017 23:05:38 +0000 Original-Received: from localhost ([127.0.0.1]:45449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPdZq-00006G-3s for submit@debbugs.gnu.org; Fri, 06 Jan 2017 18:05:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPdZo-000063-9T for submit@debbugs.gnu.org; Fri, 06 Jan 2017 18:05:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPdZh-0007pA-MY for submit@debbugs.gnu.org; Fri, 06 Jan 2017 18:05:30 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cPdZh-0007p6-JJ for submit@debbugs.gnu.org; Fri, 06 Jan 2017 18:05:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPdZg-0007LP-7m for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 18:05:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPdZf-0007mz-5S for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 18:05:28 -0500 Original-Received: from mail-wj0-x230.google.com ([2a00:1450:400c:c01::230]:34410) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cPdZe-0007md-St for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 18:05:27 -0500 Original-Received: by mail-wj0-x230.google.com with SMTP id tn15so43723158wjb.1 for ; Fri, 06 Jan 2017 15:05:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=c4aDetXjp6rS/FeeTcEXSJvQnARv01a5OMvdg67aFIY=; b=YthRVkl7vHSn1qAUtl4FOUuhcWEann+U/Z4ypN8kPZgYxRstQBQpO1Y2NWhkW9unnO gLh6EPBUoSXUIbv4StSAKm5yKWASUT44o+Gk0wRtOrwUZXE0KFMayz1Rpbe4e7UjZX5J 3uYn9u7vqggjttgUFOrMe5+RI9d5TWow2cN4c/vQ8VBNyq/t/it8JChsOsH+IJmF5jiK z9x6oDCxkg1Dn+IjfsVVFGymlvzEHYee2nVVNc93/GPFe+jn9Ng4sP2eVEM6T02EMyEU Px4rnLj2MAKc1fGEc5SpB0OCb/ixxQ8dZ8MdZnp92+AVlSaASlNtxrC+pDdf3fWCwFOJ p4Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=c4aDetXjp6rS/FeeTcEXSJvQnARv01a5OMvdg67aFIY=; b=iY/mLa1Jd98Jyk5ZvRn1oFty8UWFxCFUBcAIoQy/QR/aamBMOcs52gg0g+ZoHEjfGy gOusnSqwXRQlQKnEoFeQZFKgVt9w54D+ymqqyDK8TaH/5eQf69xkfEOCqb10romUPLDR phLBUdvTIiUhrlHiLWJJMi+Son2VL+uDnVmWZB1HxTMRC2BXYLCFIDg9mrivxjdDJu71 fG46th1xGj/WY0K0g73HraBczUA4ctwYqI6Xr58B//NYnmG7jtCu1x2Ju4/goG4H0zOG BjLTFbVAEIYU67LOgTw26p9fyYM/7YpUnvq3nUcuxsrKL0bPQe8b7HbKH+mtrYbOfZR5 xluA== X-Gm-Message-State: AIkVDXLHhuMLGzptQWL54xC+CMgvRqcThxGokm4JBR0Nvrskh2kF7TS6lz9cTFfpraXzNg== X-Received: by 10.194.157.3 with SMTP id wi3mr61338252wjb.0.1483743925354; Fri, 06 Jan 2017 15:05:25 -0800 (PST) Original-Received: from p ([2001:4c50:258:d700:bdf6:6d99:3428:517f]) by smtp.gmail.com with ESMTPSA id a13sm5550175wma.18.2017.01.06.15.05.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Jan 2017 15:05:24 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:127860 Archived-At: Apparently, restoring a window configuration doesn't result in the same window configuration in batch mode: $ emacs -Q -batch -eval '(print (equal (save-window-excursion (current-window-configuration)) (current-window-configuration)))' nil This is unexpected, especially in unit tests that want to check window comparisons. In interactive mode, this works (i.e. (equal (save-window-excursion (current-window-configuration)) (current-window-configuration)) is t). In GNU Emacs 25.1.1 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G1004)) of 2016-09-22 built on p Windowing system distributor 'Apple', version 10.3.1504 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/25.1/share/info/emacs --prefix=/usr/local/Cellar/emacs/25.1 --without-x --with-xml2 --without-dbus --without-gnutls --with-rsvg --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 196126 8185) (symbols 48 19634 0) (miscs 40 50 169) (strings 32 15015 5817) (string-bytes 1 435313) (vectors 16 32909) (vector-slots 8 654000 5657) (floats 8 158 18) (intervals 56 210 0) (buffers 976 18))