From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Klinger Newsgroups: gmane.emacs.bugs Subject: bug#9305: emacsclient -n -c path/to/file # opens *scratch* Date: Sun, 4 Nov 2012 15:58:36 +0100 Message-ID: <20121104145836.GA15869@bellbird> References: <20110815152541.GC1222@stefan-klinger.de> <877gq2t62f.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1352041088 14903 80.91.229.3 (4 Nov 2012 14:58:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2012 14:58:08 +0000 (UTC) Cc: 9305@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 04 15:58:17 2012 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 1TV1eS-0001Ph-5F for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2012 15:58:16 +0100 Original-Received: from localhost ([::1]:58716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV1eJ-0001AY-He for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2012 09:58:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV1eG-0001AH-4r for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2012 09:58:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TV1eE-0003XD-Pg for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2012 09:58:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV1eE-0003X8-ML for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2012 09:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TV1h8-0006u7-3P for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2012 10:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Klinger Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Nov 2012 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9305 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 9305-submit@debbugs.gnu.org id=B9305.135204122626496 (code B ref 9305); Sun, 04 Nov 2012 15:01:02 +0000 Original-Received: (at 9305) by debbugs.gnu.org; 4 Nov 2012 15:00:26 +0000 Original-Received: from localhost ([127.0.0.1]:49120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TV1gX-0006tI-Os for submit@debbugs.gnu.org; Sun, 04 Nov 2012 10:00:26 -0500 Original-Received: from smtprelay04.ispgateway.de ([80.67.31.38]:35088) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TV1gT-0006t8-TF for 9305@debbugs.gnu.org; Sun, 04 Nov 2012 10:00:23 -0500 Original-Received: from [91.51.150.185] (helo=bellbird) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1TV1dY-0003Du-FZ; Sun, 04 Nov 2012 15:57:20 +0100 Content-Disposition: inline In-Reply-To: <877gq2t62f.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Df-Sender: bWFpbEBzdGVmYW4ta2xpbmdlci5kZQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:66435 Archived-At: Hello, and thank you very much for looking into this! On 2012-Nov-04 11:12 (+0800), Chong Yidong wrote with possible deletions: > Does this problem still occur for you? I haven't been able to reproduce > it. If so, please provide your Emacs version and platform (all the > information which would normally be provided with M-x report-emacs-bug). Unfortunately yes, the problem still persists: Experiment 1: killall -9 emacs rm -rf ~/.emacs.d/ emacsclient -n -a '' -c ~/.bashrc # first call emacsclient -n -a '' -c ~/.bashrc # second call The first call starts emacs showing ~/.bashrc. But the second call creates a new frame showing *scratch*, and then focuses the other frame showing ~/.bashrc. Expected bahavior: Open new frame on current desktop, showing the buffer visiting ~/.bashrc. Experiment 2: killall -9 emacs rm -rf ~/.emacs.d/ emacsclient -n -a '' -c ~/.bashrc # first call # delete the window using the winidow manager emacsclient -n -a '' -c ~/.bashrc # second call Good, the second call created a new frame showing the requested file. Experiment 3: killall -9 emacs rm -rf ~/.emacs.d/ emacsclient -n -a '' -c ~/.bashrc # first call # iconify window emacsclient -n -a '' -c ~/.bashrc # second call Bad: Deiconifies existing window, but also creates a new frame showing *scratch*, which is unexpected. Here's the requested information. Please ask if you need any further information... In GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-09-08 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11204000 configured using `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.4/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DDEBIAN -O2' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x Recent messages: Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50haskell-mode.el (source)... Loading haskell-site-file...done Loading /etc/emacs/site-start.d/50haskell-mode.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done Starting Emacs daemon. When done with this frame, type C-x 5 0 Load-path shadows: /usr/share/emacs/23.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.4/lisp/textmodes/ispell /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.4/lisp/textmodes/flyspell Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug server tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting x-toolkit x multi-tty emacs) -- Stefan Klinger o/klettern /\/ bis zum send plaintext only - max size 32kB - no spam \ Abfallen http://stefan-klinger.de