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: Jim Porter <jporterbugs <at> gmail.com>
To: 69627 <at> debbugs.gnu.org
Subject: bug#69627: 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 1 (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)]

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

Previous Next


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