From: Nobuko Three <nbko3@yahoo.com>
To: Bug-gnu-emacs@gnu.org
Subject: bug#3713: 23.0.60; Iswitchb-buffer switches to wrong buffer for Emacsclient over SSH
Date: Mon, 29 Jun 2009 09:43:49 -0700 (PDT) [thread overview]
Message-ID: <24257668.post@talk.nabble.com> (raw)
When using emacsclient over SSH with iswitchb-mode on, the default other
buffer (the buffer you get from C-x b RET) is not what you want. It switches
to the buffer (let's say remote.txt) that is displayed in the Emacs frame on
the remote side (SSH server side). Which means that when you are frequently
switching between foo.txt and bar.txt, you don't press C-x b RET, you must
press C-x b C-s RET because remote.txt keeps showing up on top every time
you press C-x b.
** Steps to reproduce the bug
;; contents of the minimal init file ~/min-test.el
(require 'server)
(server-start)
(iswitchb-mode 1)
;; end
$ emacs -Q -l ~/min-test.el & # start emacs. minimal initialization.
$ ssh -X localhost # ssh into self
$ emacsclient -c & # start another emacs frame from within the ssh
session.
The first emacs frame should display *scratch* buffer.
Within the second emacs frame (the one launched from emacsclient -c), open
foo.txt and then bar.txt and now press C-x b (which is bound to
iswitchb-buffer, iswitch mode's version of switch-to-buffer) and you see
that *scratch* is the top, not foo.txt.
M-x switch-to-buffer is fine. It's a bug of iswitchb mode.
Bug disappears when emacsclient is used without SSH
** Workarounds
Switch to the wrong buffer that iswitchb mode suggest (from the first
emacsclient frame), open a new frame and work from that new frame. The first
emacsclient frame should be just left alone until quit.
** etc
In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.14.3)
of 2008-10-14 on rothera, modified by Debian
(emacs-snapshot package, version 1:20081013-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp'
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000
-g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS:
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
--
View this message in context: http://www.nabble.com/23.0.60--Iswitchb-buffer-switches-to-wrong-buffer-for-Emacsclient-over-SSH-tp24257668p24257668.html
Sent from the Emacs - Bugs mailing list archive at Nabble.com.
next reply other threads:[~2009-06-29 16:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-29 16:43 Nobuko Three [this message]
2014-02-07 3:28 ` bug#3713: 23.0.60; Iswitchb-buffer switches to wrong buffer for Emacsclient over SSH Lars Ingebrigtsen
2014-02-07 3:37 ` Drew Adams
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24257668.post@talk.nabble.com \
--to=nbko3@yahoo.com \
--cc=3713@emacsbugs.donarmstrong.com \
--cc=Bug-gnu-emacs@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 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).