all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18137: 24.3; closing a tty emacsclient leaves remaining clients unselected
@ 2014-07-29  0:53 Mark Oteiza
  2020-12-04 11:36 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Oteiza @ 2014-07-29  0:53 UTC (permalink / raw)
  To: 18137

[-- 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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#18137: 24.3; closing a tty emacsclient leaves remaining clients unselected
  2014-07-29  0:53 bug#18137: 24.3; closing a tty emacsclient leaves remaining clients unselected Mark Oteiza
@ 2020-12-04 11:36 ` Lars Ingebrigtsen
  2021-01-20  4:28   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-04 11:36 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 18137

Mark Oteiza <mvoteiza@udel.edu> writes:

> 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.

(This bug report unfortunately got no response at the time.)

I tried reproducing this in Emacs 28, but the first client resized as
expected, as far as I can tell.

Are you still seeing this issue in more recent Emacs versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#18137: 24.3; closing a tty emacsclient leaves remaining clients unselected
  2020-12-04 11:36 ` Lars Ingebrigtsen
@ 2021-01-20  4:28   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-20  4:28 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 18137

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I tried reproducing this in Emacs 28, but the first client resized as
> expected, as far as I can tell.
>
> Are you still seeing this issue in more recent Emacs versions?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-20  4:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-29  0:53 bug#18137: 24.3; closing a tty emacsclient leaves remaining clients unselected Mark Oteiza
2020-12-04 11:36 ` Lars Ingebrigtsen
2021-01-20  4:28   ` Lars Ingebrigtsen

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.