all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: 23.0.50; Can't switch to a buffer
Date: Mon, 10 Sep 2007 21:38:25 +0100	[thread overview]
Message-ID: <m27imyjlxa.fsf@cam.ac.uk> (raw)
In-Reply-To: <87hcm2nxu6.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Mon,  10 Sep 2007 21:07:29 +0200")

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

  reply	other threads:[~2007-09-10 20:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10 18:49 23.0.50; Can't switch to a buffer Leo
2007-09-10 19:07 ` Tassilo Horn
2007-09-10 20:38   ` Leo [this message]
2007-09-10 20:46     ` Tassilo Horn
2007-09-10 22:08       ` Leo
2007-09-11  8:39         ` Tassilo Horn
2007-09-11  9:00           ` David Kastrup

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=m27imyjlxa.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.