From: Mark Oteiza <mvoteiza@udel.edu>
To: 18137@debbugs.gnu.org
Subject: bug#18137: 24.3; closing a tty emacsclient leaves remaining clients unselected
Date: Mon, 28 Jul 2014 20:53:06 -0400 [thread overview]
Message-ID: <87iomh3s0d.fsf@holos.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 769 bytes --]
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 #2: screenshot --]
[-- Type: image/png, Size: 34427 bytes --]
[-- Attachment #3: Type: text/plain, Size: 3629 bytes --]
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)
next reply other threads:[~2014-07-29 0:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-29 0:53 Mark Oteiza [this message]
2020-12-04 11:36 ` bug#18137: 24.3; closing a tty emacsclient leaves remaining clients unselected Lars Ingebrigtsen
2021-01-20 4:28 ` Lars Ingebrigtsen
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=87iomh3s0d.fsf@holos.localdomain \
--to=mvoteiza@udel.edu \
--cc=18137@debbugs.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).