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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 69627 <at> debbugs.gnu.org
Subject: Re: bug#69627: 30.0.50;
 [PATCH] Allow 'browse-url-interactive-arg' to return the actual
 prefix arg
Date: Fri, 08 Mar 2024 09:43:42 +0200
> Date: Thu, 7 Mar 2024 22:04:39 -0800
> From: Jim Porter <jporterbugs <at> gmail.com>
> 
> 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

Shouldn't the effect of this change be documented in some doc string?

Thanks.




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.