From: Stephen Berman <stephen.berman@gmx.net>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: 2138@emacsbugs.donarmstrong.com
Subject: bug#2138: 23.0.60; --daemon and ediff-window-setup-function
Date: Sun, 01 Feb 2009 16:30:54 +0100 [thread overview]
Message-ID: <8763jutbrl.fsf@escher.local.home> (raw)
In-Reply-To: <200902011450.n11EoBgg026080@rodan.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 1 Feb 2009 06:50:11 -0800 (PST)")
On Sun, 1 Feb 2009 06:50:11 -0800 (PST) Dan Nicolaescu <dann@ics.uci.edu> wrote:
> Stephen Berman <stephen.berman@gmx.net> writes:
>
> > On Sat, 31 Jan 2009 22:05:07 -0800 (PST) Dan Nicolaescu <dann@ics.uci.edu> wrote:
> >
> > > Stephen Berman <stephen.berman@gmx.net> 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.
>
> Again, you get the same problem if you do:
> emacs -Q -nw -f server-start --eval "(require 'ediff)"
> emacsclient -c
> M-x ediff
>
> and you have a problem if you do
> emacs -Q -f server-start --eval "(require 'ediff)"
> emacsclient -t
> M-x ediff
Ok, now I see what you meant.
> > 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.
>
> Not really, this is not a problem with --daemon, it's a problem in the
> ediff implementation that it evaluates ediff-window-setup-function at
> load time. This is not appropriate anymore now when you can have both
> X11 and tty frames in the same emacs session.
Yes, I too now see this is an ediff bug. Thanks for the response!
Steve Berman
next prev parent reply other threads:[~2009-02-01 15:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-31 23:48 bug#2138: 23.0.60; --daemon and ediff-window-setup-function Stephen Berman
2009-02-01 6:05 ` Dan Nicolaescu
2009-02-01 11:20 ` Stephen Berman
2009-02-01 14:50 ` Dan Nicolaescu
2009-02-01 15:30 ` Stephen Berman [this message]
2009-02-01 18:24 ` Eli Zaretskii
2012-04-26 3:04 ` Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8763jutbrl.fsf@escher.local.home \
--to=stephen.berman@gmx.net \
--cc=2138@emacsbugs.donarmstrong.com \
--cc=dann@ics.uci.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.