unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Antero Mejr <antero@mailbox.org>
Cc: 64750@debbugs.gnu.org
Subject: bug#64750: 30.0.50; [PATCH] Clicking at screen edge in X11 echoes "<nil> <mouse-1> is undefined"
Date: Thu, 20 Jul 2023 21:36:40 +0300	[thread overview]
Message-ID: <83y1ja1lc7.fsf@gnu.org> (raw)
In-Reply-To: <87pm4mlaeo.fsf@mailbox.org> (bug-gnu-emacs@gnu.org)

tags 64750 notabug
thanks

> Date: Thu, 20 Jul 2023 18:12:31 +0000
> From:  Antero Mejr via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> When clicking along the left edge of screen in a maximized emacs X11
> window, the message "<left-fringe> <mouse-1> is undefined" or
> "<nil> <mouse-1> is undefined" will appear. This can also be done with
> the right fringe, and with the top edge of the screen if the menu and
> tool bars are disabled. It can also be done using mouse events besides
> <mouse-1>, like <mouse-2>, <down-mouse-1>, or <drag-mouse-1>.

This is the correct and intended behavior, not a bug.  When the user
invokes a key sequence or a mouse gesture that is not bound to any
command, Emacs says so.

> This bug makes using programs with clickable UI elements at the edge of
> the frame annoying. The cursor tends to land in the nil or fringe areas,
> then the distracting/irrelevant message appears in the echo area when
> you attempt to click.
> 
> The attached patch globally ignores all inputs for those areas in
> fringe.el.

Thanks, but I don't think we should install this.  If the behavior you
described annoys you that much, you can always add these bindings to
your personal init files -- that's why Emacs makes it easy to
customize key bindings.  But in general, arbitrarily ignoring key
sequences just because they are not bound to commands is not TRT, IMO.





  reply	other threads:[~2023-07-20 18:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20 18:12 bug#64750: 30.0.50; [PATCH] Clicking at screen edge in X11 echoes "<nil> <mouse-1> is undefined" Antero Mejr via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-20 18:36 ` Eli Zaretskii [this message]
2023-09-03 10:34   ` Stefan Kangas

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=83y1ja1lc7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64750@debbugs.gnu.org \
    --cc=antero@mailbox.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).