From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#2138: 23.0.60; --daemon and ediff-window-setup-function Date: Sun, 01 Feb 2009 12:20:08 +0100 Message-ID: <87ljsqz9nb.fsf@escher.local.home> References: <87ljsrxcjm.fsf@escher.local.home> <200902010605.n11657oU019887@rodan.ics.uci.edu> Reply-To: Stephen Berman , 2138@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233488881 19935 80.91.229.12 (1 Feb 2009 11:48:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2009 11:48:01 +0000 (UTC) Cc: 2138@emacsbugs.donarmstrong.com To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 01 12:49:14 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LTap8-0000Je-46 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Feb 2009 12:49:14 +0100 Original-Received: from localhost ([127.0.0.1]:34214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTanp-0004OY-LO for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Feb 2009 06:47:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTaji-0001hu-UQ for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 06:43:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTaje-0001gN-No for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 06:43:36 -0500 Original-Received: from [199.232.76.173] (port=59078 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTajd-0001gA-Ga for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 06:43:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35511) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LTajc-00038k-Uv for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 06:43:33 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n11BhU59011891; Sun, 1 Feb 2009 03:43:31 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n11BU32h008439; Sun, 1 Feb 2009 03:30:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 01 Feb 2009 11:30:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2138 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2138-submit@emacsbugs.donarmstrong.com id=B2138.12334872217172 (code B ref 2138); Sun, 01 Feb 2009 11:30:03 +0000 Original-Received: (at 2138) by emacsbugs.donarmstrong.com; 1 Feb 2009 11:20:21 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n11BKG0t006700 for <2138@emacsbugs.donarmstrong.com>; Sun, 1 Feb 2009 03:20:18 -0800 Original-Received: (qmail invoked by alias); 01 Feb 2009 11:20:11 -0000 Original-Received: from i59F575FE.versanet.de (EHLO escher.local.home) [89.245.117.254] by mail.gmx.net (mp054) with SMTP; 01 Feb 2009 12:20:11 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+lYSYEhhClVUbwz5jv3lOF11dVxZeAhXw5FZYpLX tjEaTmcoO/iZpW Original-Received: by escher.local.home (Postfix, from userid 1000) id 24F0F1D0D84; Sun, 1 Feb 2009 12:20:09 +0100 (CET) In-Reply-To: <200902010605.n11657oU019887@rodan.ics.uci.edu> (Dan Nicolaescu's message of "Sat, 31 Jan 2009 22:05:07 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.61 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 01 Feb 2009 06:43:35 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24794 Archived-At: On Sat, 31 Jan 2009 22:05:07 -0800 (PST) Dan Nicolaescu wrote: > Stephen Berman writes: > > > Start Emacs like this: > > > > 1. emacs -Q --eval "(require 'ediff)" > > 2. emacsclient -c > > 3. C-h v ediff-window-setup-function > > => ediff-setup-windows-multiframe > > > > Now start Emacs like this: > > > > 1. emacs -Q --daemon --eval "(require 'ediff)" > > 2. emacsclient -c > > 3. C-h v ediff-window-setup-function > > => ediff-setup-windows-plain > > > > > > I haven't tried debugging this, but my first guess is that > > ediff-setup-windows-multiframe requires non-nil window-system but (still > > guessing) when there is no frame window-system evaluates to nil. > > You can take --daemon out of this equation, you'd get the same when > doing > emacs -Q and emacs -Q -nw I should have been more explicit about the point of this bug report, which is this: when I invoke `emacsclient -c' under X11, I expect the usual behavior under X11, but in the above case, --daemon apparently circumvents this behavior. I cannot tell from the current documentation when using --daemon has this effect and when it doesn't. Hence I cannot tell whether this is a bug or a limitation of the current implementation. So I hope this and similar bug reports lead to both more complete documentation and either a bug fix or, at some point, a more feature-rich implementation. Steve Berman