GNU bug report logs - #28621
Proposed patch for doc of posn-window and code of posn-set-point to handle frame arguments

Previous Next

Package: emacs;

Reported by: rswgnu <at> gmail.com

Date: Wed, 27 Sep 2017 16:03:02 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 28621 <at> debbugs.gnu.org (full text, mbox):

From: Robert Weiner <rsw <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 28621 <at> debbugs.gnu.org
Subject: Re: bug#28621: Proposed patch for doc of posn-window and code of
 posn-set-point to handle frame arguments
Date: Fri, 29 Sep 2017 12:48:22 -0400
[Message part 1 (text/plain, inline)]
On Fri, Sep 29, 2017 at 4:34 AM, martin rudalics <rudalics <at> gmx.at> wrote:

> > ! `posn-window': The window or frame of the event end.
>
> If we start talking about "event ends" here we should export that
> ​​
> concept to the remaining ‘posn-*’ functions as well.
> ​​
>

​Yes.

> ​​
> ​​
>
> ​​
> > ! If POSITION is outside the frame where the event was initiated, return
> ​​
> > ! that frame instead.  POSITION should be a list of the form returned by
> ​​
>
> ​​
> I suppose this is not sufficient: We get a frame also when the mouse is
> ​​
> on its tool or menu bar, some of ist borders ...
>

​posn-area reports whether the event was in the text area or not.​

​​
>
> ​​
> But note that I've never been able to understand the purpose of these
> ​​
> ‘posn-*’ functions and they usually confuse the hell out of me.  IMHO it
> ​​
> would make much more sense to declare them obsolete and concentrate on
> ​​
> describing event structures better.


​It does seem like some additional work is needed to simplify event
handling and handle a multi-frame world better.

Bob

​​
​​
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 279 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.