GNU bug report logs - #48865
[PATCH] Allow ‘ns-hide-emacs’ to bring only the selected frame forward

Previous Next

Package: emacs;

Reported by: Matt Beshara <m <at> mfa.pw>

Date: Sun, 6 Jun 2021 08:43:03 UTC

Severity: normal

Tags: patch

Merged with 48864

Fixed in version 28.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48865 in the body.
You can then email your comments to 48865 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#48865; Package emacs. (Sun, 06 Jun 2021 08:43:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matt Beshara <m <at> mfa.pw>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 06 Jun 2021 08:43:03 GMT) Full text and rfc822 format available.

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

From: Matt Beshara <m <at> mfa.pw>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Allow ‘ns-hide-emacs’ to bring
 only the selected frame forward
Date: Sun, 06 Jun 2021 15:23:31 +1000
[Message part 1 (text/plain, inline)]
Hi there,
I have attached a patch which adds a new capability to the 
‘ns-hide-emacs’ function in the NS port.  Specifically, it causes 
the ‘ns-hide-emacs’ function to respond to being called with the 
argument 'activate-front in a similar way to how it responds when 
called with 'activate.  The difference is, instead of layering 
every Emacs frame in front of every other application’s windows, 
it only brings the selected frame forward.  I have uploaded a 
small video of the new functionality in action here: 
https://mfa.pw/activate-front.mp4

Please let me know if any modifications would need to be made to
this patch before it could be accepted.

Thanks for your time,
Matt

[activate-front.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Forcibly Merged 48864 48865. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 06 Jun 2021 08:54:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48865; Package emacs. (Fri, 11 Jun 2021 17:24:02 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: Matt Beshara <m <at> mfa.pw>
Cc: 48865 <at> debbugs.gnu.org
Subject: Re: bug#48865: [PATCH] Allow ‘ns-hide-emacs’ to bring only the
 selected frame forward
Date: Fri, 11 Jun 2021 18:22:53 +0100
On Sun, Jun 06, 2021 at 03:23:31PM +1000, Matt Beshara wrote:
> Hi there,
> I have attached a patch which adds a new capability to the ‘ns-hide-emacs’
> function in the NS port.  Specifically, it causes the ‘ns-hide-emacs’
> function to respond to being called with the argument 'activate-front in a
> similar way to how it responds when called with 'activate.  The difference
> is, instead of layering every Emacs frame in front of every other
> application’s windows, it only brings the selected frame forward.  I have
> uploaded a small video of the new functionality in action here:
> https://mfa.pw/activate-front.mp4

Hi, I don't see any problems with this.

> Please let me know if any modifications would need to be made to
> this patch before it could be accepted.

If you could fill out the commit message in line with CONTRIBUTE, that
would be great.

Thanks!
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48865; Package emacs. (Sat, 12 Jun 2021 01:38:01 GMT) Full text and rfc822 format available.

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

From: Matt Beshara <m <at> mfa.pw>
To: Alan Third <alan <at> idiocy.org>
Cc: 48865 <at> debbugs.gnu.org
Subject: Re: bug#48865: [PATCH] Allow ‘ns-hide-emacs’ to bring only the selected frame forward
Date: Sat, 12 Jun 2021 09:39:13 +1000
[Message part 1 (text/plain, inline)]
Alan Third <alan <at> idiocy.org> writes:

Hi Alan,
I’ve attached an updated patch.
Is the commit message OK?

Matt

> On Sun, Jun 06, 2021 at 03:23:31PM +1000, Matt Beshara wrote:
>> Hi there,
>> I have attached a patch which adds a new capability to the 
>> ‘ns-hide-emacs’
>> function in the NS port.  Specifically, it causes the 
>> ‘ns-hide-emacs’
>> function to respond to being called with the argument 
>> 'activate-front in a
>> similar way to how it responds when called with 'activate.  The 
>> difference
>> is, instead of layering every Emacs frame in front of every 
>> other
>> application’s windows, it only brings the selected frame 
>> forward.  I have
>> uploaded a small video of the new functionality in action here:
>> https://mfa.pw/activate-front.mp4
>
> Hi, I don't see any problems with this.
>
>> Please let me know if any modifications would need to be made 
>> to
>> this patch before it could be accepted.
>
> If you could fill out the commit message in line with 
> CONTRIBUTE, that
> would be great.
>
> Thanks!

[activate-front-2.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48865; Package emacs. (Sat, 12 Jun 2021 09:17:02 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: Matt Beshara <m <at> mfa.pw>
Cc: 48865 <at> debbugs.gnu.org
Subject: Re: bug#48865: [PATCH] Allow ‘ns-hide-emacs’ to bring only the
 selected frame forward
Date: Sat, 12 Jun 2021 10:15:58 +0100
On Sat, Jun 12, 2021 at 09:39:13AM +1000, Matt Beshara wrote:
> 
> Alan Third <alan <at> idiocy.org> writes:
> 
> Hi Alan,
> I’ve attached an updated patch.
> Is the commit message OK?

Near enough. I've made a few small changes and will push it. I take it
you've done the copyright paperwork?

-- 
Alan Third




bug marked as fixed in version 28.1, send any further explanations to 48865 <at> debbugs.gnu.org and Matt Beshara <m <at> mfa.pw> Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Sat, 12 Jun 2021 09:42:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Jul 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 356 days ago.

Previous Next


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