unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Qiantan Hong <qthong@stanford.edu>
To: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Cc: Po Lu <luangruo@yahoo.com>, Lars Ingebrigtsen <larsi@gnus.org>
Subject: Suggestion: Remove direct keyboard handling for active elements from NS Webkit Xwidgets
Date: Fri, 14 Oct 2022 21:58:07 +0000	[thread overview]
Message-ID: <95D035E8-30B4-46D3-AC0C-8C9A9F706DF7@stanford.edu> (raw)

Hi,

Currently, the GTK port seem to always let Emacs handle keyboard events, 
while NS port test if an INPUT/TEXTAREA element is active and let WKWebView
directly handle the keyboard events in those cases.

I think the GTK way is more flexible, as xwidget-webkit-edit-mode has shown one
can always pass through the event from Emacs side if desired. Shall we
remove those NS-specific code to make the behavior consistent across the two ports?

Best,
Qiantan






             reply	other threads:[~2022-10-14 21:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-14 21:58 Qiantan Hong [this message]
2022-10-15  1:47 ` Suggestion: Remove direct keyboard handling for active elements fr 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=95D035E8-30B4-46D3-AC0C-8C9A9F706DF7@stanford.edu \
    --to=qthong@stanford.edu \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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).