bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18137: 24.3; closing a tty emacsclient leaves remaining clients unse


From: Mark Oteiza
Subject: bug#18137: 24.3; closing a tty emacsclient leaves remaining clients unselected
Date: Mon, 28 Jul 2014 20:53:06 -0400

Changeset 113891 (git 0cd28af) was introduced to fix Bug#15025.  The
removal of the next_frame() call results in some undesirable behavior.
With more than one `emacsclient -t` open in ttys, closing one of them
results in all the others being unselected.  To see the effect:

  emacs --daemon -Q
  emacsclient -t

In another tty, do

  emacsclient -t
  C-x C-c

At this point you can resize the tty containing the first client, be it
with tmux or resizing a terminal emulator with your window manager, and
it will not respond to resizes.  This is really unpleasant.

I attached a screenshot of the result of doing the above with several
clients, and simply rearranging tiles.  If the attachment doesn't
survive, here's a link for now <https://i.imgur.com/0NRoZQP.png>.

Attachment: clients_unselected.png
Description: screenshot



In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu)
 of 2013-04-20 on jara
Configured using:
 `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
 '--localstatedir=/var' '--without-x' '--without-sound'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
 --param=ssp-buffer-size=4'
 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  winner-mode: t
  show-paren-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC x l DEL l - t h TAB RET z e n TAB RET y n n RET 
C-e C-a RET ESC C-v ESC C-v ESC C-v ESC o ESC { ESC 
{ ESC { ESC > ESC v ESC < q l p RET RET q l RET RET 
q ESC x r e p o r t TAB RET C-g RET RET ESC x r e p 
o TAB r t TAB RET

Recent messages:
Loading a theme can run Lisp code.  Really load? (y or n)  y
Treat this theme as safe in future sessions? (y or n)  n
Mark set [2 times]
No more unseen articles
No more unread articles
Auto-saving...done
Quit
No more unseen articles
No more unread articles
Making completion list...

Load-path shadows:
/usr/share/emacs/24.3/lisp/loaddefs hides /home/mvo/.emacs.d/site-lisp/loaddefs
/usr/share/emacs/24.3/lisp/gnus/.dir-locals hides 
/home/mvo/.emacs.d/site-lisp/company-mode/.dir-locals
/usr/share/emacs/24.3/lisp/env hides 
/home/mvo/.emacs.d/site-lisp/expand-region/features/support/env

Features:
(shadow emacsbug sendmail mule-util sort ansi-color gnus-cite mail-extr
gnus-async gnus-bcklg gnus-ml disp-table zenburn-theme nndraft nnmh
nnfolder parse-time netrc network-stream auth-source eieio byte-opt
bytecomp byte-compile cconv starttls tls gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art image mouse mm-uu mml2015
epg-config mm-view mml-smime smime password-cache dig mailcap nntp
gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
gnus-start gnus-spec gnus-int gnus-range message idna format-spec rfc822
mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus
gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit
flycheck rx f dash s company-files company-oddmuse company-keywords
company-etags etags company-gtags company-dabbrev-code company-dabbrev
company-capf company-cmake company-ropemacs company-xcode company-clang
company-semantic company-eclim company-template company-css company-nxml
company-bbdb company-elisp regexp-opt find-func help-mode easymenu
company pcase easy-mmode cl-macs gv package windmove edmacro kmacro
uniquify advice help-fns cl-lib advice-preload saveplace winner ring
time-date paren ediff-hook vc-hooks lisp-float-type tabulated-list
newcomment lisp-mode register page menu-bar rfn-eshadow timer jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind multi-tty emacs)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]