GNU bug report logs - #69627
30.0.50; [PATCH] Allow 'browse-url-interactive-arg' to return the actual prefix arg

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Fri, 8 Mar 2024 06:06:01 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#69627: closed (30.0.50; [PATCH] Allow 'browse-url-interactive-arg'
 to return the actual prefix arg)
Date: Sun, 10 Mar 2024 21:11:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 10 Mar 2024 14:09:13 -0700
with message-id <7ac324c2-4bc6-ee4b-0a17-20eac4040985 <at> gmail.com>
and subject line Re: bug#69627: 30.0.50; [PATCH] Allow 'browse-url-interactive-arg' to return the actual prefix arg
has caused the debbugs.gnu.org bug report #69627,
regarding 30.0.50; [PATCH] Allow 'browse-url-interactive-arg' to return the actual prefix arg
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
69627: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69627
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Porter <jporterbugs <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; [PATCH] Allow 'browse-url-interactive-arg' to return the
 actual prefix arg
Date: Thu, 7 Mar 2024 22:04:39 -0800
[Message part 3 (text/plain, inline)]
By default this shouldn't do anything different from before. However, 
with this patch, functions for 'browse-url-browser-function' can look at 
the argument (as modified by 'browse-url-new-window-flag') and do 
something special. For example, with this patch, I have a custom browser 
function that works like this:

  M-x browse-url      Open in Firefox
  C-u M-x browse-url  Open in EWW
  C-- M-x browse-url  Open in Firefox Private Browsing
[0001-Let-browse-url-interactive-arg-return-more-values-fo.patch (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Jim Porter <jporterbugs <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 69627-done <at> debbugs.gnu.org
Subject: Re: bug#69627: 30.0.50; [PATCH] Allow 'browse-url-interactive-arg' to
 return the actual prefix arg
Date: Sun, 10 Mar 2024 14:09:13 -0700
On 3/8/2024 1:02 PM, Jim Porter wrote:
> On 3/8/2024 12:18 PM, Eli Zaretskii wrote:
>> Yes, something like this.
> 
> Thanks. Updated patch attached. If no one has any other concerns, I'll 
> merge this in the next day or two.

Now merged to master as 46afc91c9f7, and closing this bug.


This bug report was last modified 1 year and 128 days ago.

Previous Next


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