unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mike Kupfer <mkupfer@alum.berkeley.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: psainty@orcon.net.nz, larsi@gnus.org, 50743@debbugs.gnu.org,
	jidanni@jidanni.org
Subject: bug#50743: Emacsclient not tested vs. Local Variables prompt
Date: Sun, 26 Sep 2021 10:51:52 -0700	[thread overview]
Message-ID: <16835.1632678712@alto> (raw)
In-Reply-To: Your message of "Sun, 26 Sep 2021 14:03:40 +0300." <83ee9boayb.fsf@gnu.org>

Eli Zaretskii wrote:

> > From: martin rudalics <rudalics@gmx.at>
> > Date: Sun, 26 Sep 2021 11:59:42 +0200

> > IIUC this issue is about a frame displayed on top of the terminal
> > window.
> 
> Is it?  That's not my understanding.  My understanding is that this
> happens when the client frame already exists when emacsclient is
> invoked, so it's probably elsewhere.

It could be elsewhere, but in Dan's scenario, the terminal window and
Emacs frame are over each other.  And the exact behavior in that
situation varies depending on the window manager.

If I run the experiment in MATE, with Emacs behind mate-terminal, and
run "emacsclient /tmp/m" (from Phil's example) in mate-terminal, the
mate-terminal window stays on top and retains the input focus.

But if I repeat the experiment in KDE, with Emacs behind mate-terminal
(or Konsole), Emacs is brought to the top, hiding the terminal emulator,
even though the terminal emulator still has the input focus.  But even
that depends on what settings I have in KDE.  The behavior I just
described is with "focus stealing prevention" set to None.  If I set it
to Low, the terminal emulator window remains in top (and retains the
focus).

Still, if I have "focus stealing prevention" set to None, the Emacs
frame is raised in both the prompting case and the non-prompting case,
but the input focus is handled differently in the two cases.  Raising
the frame but not getting the input focus doesn't seem right to me.

mike






  parent reply	other threads:[~2021-09-26 17:51 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22 20:16 bug#50743: Emacsclient not tested vs. Local Variables prompt 積丹尼 Dan Jacobson
2021-09-22 20:40 ` Lars Ingebrigtsen
2021-09-23  5:43   ` 積丹尼 Dan Jacobson
2021-09-23  6:54     ` Phil Sainty
2021-09-24  8:23       ` 積丹尼 Dan Jacobson
2021-09-24 14:11     ` Phil Sainty
2021-09-24 14:42       ` 積丹尼 Dan Jacobson
2021-09-25  1:12         ` Phil Sainty
2021-09-25  4:18           ` 積丹尼 Dan Jacobson
2021-09-25  5:07             ` Phil Sainty
2021-09-25  5:46               ` 積丹尼 Dan Jacobson
2021-09-25  8:33                 ` Phil Sainty
2021-09-25 13:06                   ` 積丹尼 Dan Jacobson
2021-09-25 14:02                     ` Phil Sainty
2021-09-25 22:55                       ` Mike Kupfer
2021-09-26  0:19                         ` Mike Kupfer
2021-09-26  2:57                           ` Mike Kupfer
2021-09-26  0:34                         ` Phil Sainty
2021-09-26  2:48                           ` Mike Kupfer
2021-09-26  6:25                           ` Eli Zaretskii
2021-09-26  9:12                             ` martin rudalics
2021-09-26  9:19                               ` Eli Zaretskii
2021-09-26  9:59                                 ` martin rudalics
2021-09-26 11:03                                   ` Eli Zaretskii
2021-09-26 17:50                                     ` martin rudalics
2021-09-26 18:19                                       ` Eli Zaretskii
2021-09-27  8:50                                         ` martin rudalics
2021-09-27 14:32                                           ` Jean Louis
2021-09-27 17:15                                             ` martin rudalics
2021-09-26 17:51                                     ` Mike Kupfer [this message]
2021-09-26 18:26                                       ` Eli Zaretskii
2021-09-26 22:08                                         ` Mike Kupfer
2021-09-27  4:48                                           ` Eli Zaretskii
2021-09-27  8:50                                       ` martin rudalics
2021-09-27 14:35                               ` Jean Louis
2021-09-26 17:02                             ` Mike Kupfer
2021-09-26  6:53 ` 積丹尼 Dan Jacobson
2021-09-26  7:12   ` Eli Zaretskii
2021-09-26  7:20     ` 積丹尼 Dan Jacobson
2021-09-26  7:31 ` 積丹尼 Dan Jacobson
2021-09-26  7:41 ` 積丹尼 Dan Jacobson
2021-09-26 20:49 ` 積丹尼 Dan Jacobson
2021-09-27  4:43   ` Eli Zaretskii
2021-09-27 17:30   ` martin rudalics

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=16835.1632678712@alto \
    --to=mkupfer@alum.berkeley.edu \
    --cc=50743@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.org \
    --cc=psainty@orcon.net.nz \
    /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).