unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Colascione <dancol@dancol.org>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: master 4b98a79a50: Improve X event timestamp tracking
Date: Sun, 07 Aug 2022 00:03:57 -0400	[thread overview]
Message-ID: <19d020d85bed5d030e706800f8cbb0b7fbb3bc65.camel@dancol.org> (raw)
In-Reply-To: <87r11szp6h.fsf@yahoo.com>

On Sun, 2022-08-07 at 11:51 +0800, Po Lu wrote:
> Daniel Colascione <dancol@dancol.org> writes:
> 
> > You are not the sole X port maintainer.
> 
> etc/MAINTAINERS says otherwise.

I've contributed code all over this project and never been limited by
MAINTAINERS. This file does not grant you the authority to
arbitrarily reject contributions that fix long-standing bugs. You're
welcome to make improvements to committed code just like anyone else.
I'd suggest minimizing friction in the future, not blocking useful
work form someone who spent all day debugging this issue.

> I don't buy the argument for having an entire terminal hook, meaningless
> outside X (name one other window system under which it makes sense),
> that is supposed to make x-focus-frame magically work in situations
> where it currently does not.

An "entire terminal hook" is a trivial function pointer. 
Don't you think this is a mountain out of a molehill? What,
precisely, is the resource being consumed by minimizing terminal hook
structure fields? 

Sure, we could have open-coded typecases or inscrutably invocations
of some "force" parameter --- or we could make a generic terminal
operation that clearly and explicitly expresses user intent. It's not
as if the X event timestamp mechanism exists without reason either.
Focus-stealing prevent isn't some "draconian" measure to work around
or a bug in window managers, but instead a way to properly order
events observed in a distributed, asynchronous system.

*In general*, code is cleaner when 1) explicit programmer intent is
expressed (as opposed to "add a force qualifier, because force"), and
2) that programmer intent is communicated without special cases.
You're proposing scrapping a generic mechanism and replacing it with
a special case, and I don't right now see the net benefit.



  reply	other threads:[~2022-08-07  4:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165984385935.14715.8191942019361575877@vcs2.savannah.gnu.org>
     [not found] ` <20220807034419.B5F2FC09BFD@vcs2.savannah.gnu.org>
2022-08-07  3:46   ` master 4b98a79a50: Improve X event timestamp tracking Po Lu
2022-08-07  3:48     ` Daniel Colascione
2022-08-07  3:51       ` Po Lu
2022-08-07  4:03         ` Daniel Colascione [this message]
2022-08-07  4:23           ` Po Lu
2022-08-07  4:39             ` Daniel Colascione
2022-08-07  5:26               ` Po Lu
2022-08-07  5:43                 ` Daniel Colascione
2022-08-07  6:07                   ` Po Lu
2022-08-07  6:25                     ` Daniel Colascione
2022-08-07  6:41                       ` Po Lu
2022-08-07  6:55                         ` Daniel Colascione
2022-08-07  7:06                           ` Po Lu
2022-08-07  5:41               ` Eli Zaretskii
2022-08-07  5:51                 ` Daniel Colascione
2022-08-07  5:53                 ` Po Lu
2022-08-07  6:04                   ` Daniel Colascione
2022-08-07  6:15                     ` Po Lu
2022-08-07  6:43                       ` Daniel Colascione
2022-08-07  7:02                         ` Po Lu

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=19d020d85bed5d030e706800f8cbb0b7fbb3bc65.camel@dancol.org \
    --to=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /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).