* Multi-tty, ido-mode and erc
@ 2008-02-21 7:37 Herbert Euler
2008-02-21 7:39 ` Herbert Euler
2008-02-24 15:22 ` Richard Stallman
0 siblings, 2 replies; 3+ messages in thread
From: Herbert Euler @ 2008-02-21 7:37 UTC (permalink / raw)
To: emacs-devel
Hello,
In multi-tty version, Emacs seems not able to use the minibuffer of
the right frame in some cases (in X window). To reproduce:
1. Start Emacs with the -Q option:
$ emacs -Q
A new Emacs frame is displayed. Now in this frame:
2. M-x server-start RET
The emacsclient command should be able to connect to this server after
this.
3. M-x ido-mode RET
This simply enables the ido mode.
4. M-x erc RET ...
Now login to some irc server with some nick name. Which server to
login, which port the server uses and which nick name to login does
not matter.
5. Start a emacsclient:
$ emacsclient -c
The emacsclient command just creates a new frame. Note that either
the old Emacs frame and the new emacsclient frame should NOT be
clicked to reproduce the problem.
6. Try to switch to another buffer, i.e. type C-x b.
Emacs uses the minibuffer of the old Emacs frame, rather than the one
of the new emacsclient frame. Typing C-g to try to abort the
executing command does not help: it signals the `quit' condition in
the new emacsclient frame, and the minibuffer of the old Emacs frame
is still used. Currently I find the only way to make Emacs use the
minibuffer of the new emacsclient's frame is to execute another
command such that Emacs signals "Command attempted to use minibuffer
while in minibuffer" and aborts the former command.
7. Some other notes:
The reason I mention ido mode here is that, if ido mode is not turned
on when emacsclient creates a new frame, Emacs will choose the right
minibuffer to use. If ido mode is turned off after emacsclient
starts, the problem just goes away.
The reason I mention erc here is that, even if ido mode is turned on,
the problem cannot be reproduced if M-x erc is never executed.
And I can reproduce this problem only with C-x b, but not C-x f or M-x
commands.
Regards,
Guanpeng Xu
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Multi-tty, ido-mode and erc
2008-02-21 7:37 Multi-tty, ido-mode and erc Herbert Euler
@ 2008-02-21 7:39 ` Herbert Euler
2008-02-24 15:22 ` Richard Stallman
1 sibling, 0 replies; 3+ messages in thread
From: Herbert Euler @ 2008-02-21 7:39 UTC (permalink / raw)
To: emacs-devel
> And I can reproduce this problem only with C-x b, but not C-x f or M-x
> commands.
Should be C-x C-f. Sorry.
Regards,
Guanpeng Xu
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Multi-tty, ido-mode and erc
2008-02-21 7:37 Multi-tty, ido-mode and erc Herbert Euler
2008-02-21 7:39 ` Herbert Euler
@ 2008-02-24 15:22 ` Richard Stallman
1 sibling, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2008-02-24 15:22 UTC (permalink / raw)
To: Herbert Euler; +Cc: emacs-devel
Would someone please DTRT and ack?
Message-ID: <BAY143-W2ED4233E33DDC2A07F642DA1C0@phx.gbl>
From: Herbert Euler <herberteuler@hotmail.com>
To: <emacs-devel@gnu.org>
Date: Thu, 21 Feb 2008 15:37:42 +0800
Content-Type: text/plain; charset="gb2312"
MIME-Version: 1.0
Subject: Multi-tty, ido-mode and erc
Hello,
In multi-tty version, Emacs seems not able to use the minibuffer of
the right frame in some cases (in X window). To reproduce:
1. Start Emacs with the -Q option:
$ emacs -Q
A new Emacs frame is displayed. Now in this frame:
2. M-x server-start RET
The emacsclient command should be able to connect to this server after
this.
3. M-x ido-mode RET
This simply enables the ido mode.
4. M-x erc RET ...
Now login to some irc server with some nick name. Which server to
login, which port the server uses and which nick name to login does
not matter.
5. Start a emacsclient:
$ emacsclient -c
The emacsclient command just creates a new frame. Note that either
the old Emacs frame and the new emacsclient frame should NOT be
clicked to reproduce the problem.
6. Try to switch to another buffer, i.e. type C-x b.
Emacs uses the minibuffer of the old Emacs frame, rather than the one
of the new emacsclient frame. Typing C-g to try to abort the
executing command does not help: it signals the `quit' condition in
the new emacsclient frame, and the minibuffer of the old Emacs frame
is still used. Currently I find the only way to make Emacs use the
minibuffer of the new emacsclient's frame is to execute another
command such that Emacs signals "Command attempted to use minibuffer
while in minibuffer" and aborts the former command.
7. Some other notes:
The reason I mention ido mode here is that, if ido mode is not turned
on when emacsclient creates a new frame, Emacs will choose the right
minibuffer to use. If ido mode is turned off after emacsclient
starts, the problem just goes away.
The reason I mention erc here is that, even if ido mode is turned on,
the problem cannot be reproduced if M-x erc is never executed.
And I can reproduce this problem only with C-x b, but not C-x f or M-x
commands.
Regards,
Guanpeng Xu
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-24 15:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 7:37 Multi-tty, ido-mode and erc Herbert Euler
2008-02-21 7:39 ` Herbert Euler
2008-02-24 15:22 ` Richard Stallman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).