From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: 23.0.50; Can't switch to a buffer Date: Mon, 10 Sep 2007 21:38:25 +0100 Message-ID: References: <87hcm2nxu6.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189458487 6404 80.91.229.12 (10 Sep 2007 21:08:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2007 21:08:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 11 07:07:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IUxXL-0001vz-BX for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 06:39:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUq2y-00007x-S1 for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2007 16:39:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUq2p-0008WL-Rj for emacs-devel@gnu.org; Mon, 10 Sep 2007 16:39:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUq2p-0008Us-2Z for emacs-devel@gnu.org; Mon, 10 Sep 2007 16:39:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUq2o-0008Ud-QX for emacs-devel@gnu.org; Mon, 10 Sep 2007 16:39:42 -0400 Original-Received: from ppsw-4.csi.cam.ac.uk ([131.111.8.134]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUq2o-0005gE-G5 for emacs-devel@gnu.org; Mon, 10 Sep 2007 16:39:42 -0400 X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from accountslaptop.gradunion.cam.ac.uk ([193.60.92.141]:56781 helo=localhost.localdomain) by ppsw-4.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.154]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES256-SHA:256) id 1IUq2m-0003rj-FI (Exim 4.63) for emacs-devel@gnu.org (return-path ); Mon, 10 Sep 2007 21:39:40 +0100 In-Reply-To: <87hcm2nxu6.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Mon, 10 Sep 2007 21:07:29 +0200") User-Agent: Gnus/5.110007 Emacs/23.0.50 (20070901) Fedora 7 (gnu/linux) X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78502 Archived-At: On 2007-09-10 20:07 +0100, Tassilo Horn wrote: > Hi Leo, Hi Tassilo, > >> To reproduce: >> 1. `emacs -nw -q' in a terminal >> Let's assume that *scratch* buffer is now displayed >> 2. M-x server-start >> 3. Open an X frame with emacsclient >> 4. In X frame, you won't be able to switch to any buffer that is >> displayed in those tty frames. >> >> I found this very annoying as from time to time I have to go to the >> tty frame bury that buffer and go back to the X frame and switch to >> it. For example when I want to copy something out of Emacs to other >> applications such as firefox and I don't have a mouse there is no easy >> to do that in ttys. > > I think the problem is that you use ido or iswitchb to switch to > buffers. By default those try to raise the frame which displays the > buffer instead of switching to the buffer in the current frame. With > multi-tty the problem can be even worse, because maybe the server runs > detached somewhere and cannot be raised and the user doesn't even know > which buffer it's displaying. Indeed. ido and iswitchb should be fixed. > > Because of that in > > Message-ID: <87ejhc58oj.fsf@baldur.tsdh.de> > > I proposed to change the default values of the variables that cause this > confusion to ask before trying to raise another frame. But the proposed change does not do the right thing. Ido or Iswitchb should just switch to that buffer without asking the question. > Bye, > Tassilo -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. => "(require 'cl) considered harmful" considered harmful => http://dto.freeshell.org/blog/blog-2007-09-07-2323.html