From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#14676: 24.3.50; winner doesn't immediately notice windows created by server Date: Thu, 20 Jun 2013 20:09:21 +0200 Message-ID: <87k3lo4pta.fsf@web.de> Reply-To: michael_heerdegen@web.de NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371751873 16640 80.91.229.3 (20 Jun 2013 18:11:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Jun 2013 18:11:13 +0000 (UTC) To: 14676@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 20 20:11:14 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UpjKC-0006zC-Ov for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jun 2013 20:11:12 +0200 Original-Received: from localhost ([::1]:36559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpjKC-0004Pn-9k for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jun 2013 14:11:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpjK7-0004Hp-Cc for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2013 14:11:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpjK2-0002uV-RB for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2013 14:11:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpjK2-0002uL-MB for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2013 14:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UpjK1-0006G8-U6 for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2013 14:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jun 2013 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14676 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.137175181023989 (code B ref -1); Thu, 20 Jun 2013 18:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jun 2013 18:10:10 +0000 Original-Received: from localhost ([127.0.0.1]:59055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UpjJB-0006Em-6F for submit@debbugs.gnu.org; Thu, 20 Jun 2013 14:10:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37248) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UpjJ6-0006EB-SR for submit@debbugs.gnu.org; Thu, 20 Jun 2013 14:10:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpjJ0-0002Sc-Ft for submit@debbugs.gnu.org; Thu, 20 Jun 2013 14:09:59 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpjJ0-0002SY-Cj for submit@debbugs.gnu.org; Thu, 20 Jun 2013 14:09:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpjIz-0001Vq-AA for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2013 14:09:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpjIy-0002S7-8o for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2013 14:09:57 -0400 Original-Received: from mout.web.de ([212.227.15.4]:61359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpjIy-0002Rw-0A for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2013 14:09:56 -0400 Original-Received: from drachen.dragon ([2.201.137.250]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0Lir9R-1UJhLL0NTh-00cvtf for ; Thu, 20 Jun 2013 20:09:54 +0200 X-Provags-ID: V03:K0:xOK43UwMLxj5BEVefF6UjPT75k1jst5kgUwt3ZOVouhhCZ0LNN/ qZ8n8NfuFr9SoJ3N52BFtty3L7OSNRkYH53C5dNZnHWsdAcpVEHLWqz9UM95pua4XXUpgp5 D+8NsK2lsyvge3wB6qJ9P7ahlw1A9AhiQzo+zIMVXdSbdqwadDZWcxij4weN0XjMSGcNvaa ttcA0N5qypBuEYboqOwyw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75408 Archived-At: Hello, I have `winner-mode' turned on. >From e.g. an image viewer I want to open a dired buffer for the directory containing the images. So, from the image viewer, I run emacsclient file and in Emacs, I immediately hit C-^ (which I bound to `dired-jump') in the popped up window, to get the parent dir. The problem: the buffer showing the file was not recorded in the winner history - `winner-undo' can't get it. Note: this only happens if I hit C-^ immediately after opening the file. Else, you trigger `post-command-hook' which DTRT. Evaluating (add-hook 'server-switch-hook 'winner-save-old-configurations) fixes the problem for me. Should we do something like that in the definition of `winner-mode'? Regards, Michael. In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-06-18 on dex, modified by Debian (emacs-snapshot package, version 2:20130618-1) Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure --build x86_64-linux-gnu --host x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.3.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3.50/site-lisp:/usr/share/emacs/site-lisp --without-compress-info --with-crt-dir=/usr/lib/x86_64-linux-gnu/ --with-x=yes --with-x-toolkit=gtk3 --with-imagemagick=yes CFLAGS='-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' CPPFLAGS='-D_FORTIFY_SOURCE=2' LDFLAGS='-g -Wl,--as-needed -znocombreloc''