GNU bug report logs - #79557
hyperbole override of eww-browse-url breaks eww open in same window behavior

Previous Next

Package: hyperbole;

Reported by: Holger Wenzel <drholgerwenzel <at> gmail.com>

Date: Thu, 2 Oct 2025 14:07:02 UTC

Severity: normal

Done: Mats Lidell <matsl <at> gnu.org>

To reply to this bug, email your comments to 79557 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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-hyperbole <at> gnu.org:
bug#79557; Package hyperbole. (Thu, 02 Oct 2025 14:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Holger Wenzel <drholgerwenzel <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-hyperbole <at> gnu.org. (Thu, 02 Oct 2025 14:07:02 GMT) Full text and rfc822 format available.

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

From: Holger Wenzel <drholgerwenzel <at> gmail.com>
To: bug-hyperbole <at> gnu.org
Subject: hyperbole override of eww-browse-url breaks eww open in same window
 behavior
Date: Thu, 2 Oct 2025 09:49:30 +0200
[Message part 1 (text/plain, inline)]
I use:  Editor:      GNU Emacs 31.0.50 with native comp
        Hyperbole:   9.0.2pre
        Sys Type:    x86_64-pc-linux-gnu
        OS Type:     gnu/linux
        Window Sys:  x
        News Reader: Gnus v5.13
        Install:     melpa, 20251002.156

I use the default setting of nil for browse-url-new-window-flag.

When I start emacs -Q and use eww, it  shows the expected behavior, open
a link on a web page stays in the original window.

When I then load hyperbole using something like this in the scratch buffer:

(add-to-list 'load-path
    (concat user-emacs-directory "/elpa/hyperbole-20251002.156"))
(load-library "hyperbole")

and execute eww again, it now opens any link in a new window.

Debugging this a little I found that the override of eww-browse-url in
hsys-www.el seems to be the culprit.

Once I override the override with

(load-library "eww")

opening links in eww works as expected again.

Thanks a lot and kind regards,


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

Information forwarded to bug-hyperbole <at> gnu.org:
bug#79557; Package hyperbole. (Thu, 02 Oct 2025 19:06:02 GMT) Full text and rfc822 format available.

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

From: Mats Lidell <matsl <at> gnu.org>
To: Holger Wenzel <drholgerwenzel <at> gmail.com>
Cc: 79557 <at> debbugs.gnu.org
Subject: Re: bug#79557: hyperbole override of eww-browse-url breaks eww open
 in same window behavior
Date: Thu, 02 Oct 2025 21:03:53 +0200
> Holger Wenzel writes:
> I use:  Editor:      GNU Emacs 31.0.50 with native comp
>         Hyperbole:   9.0.2pre
>         Sys Type:    x86_64-pc-linux-gnu
>         OS Type:     gnu/linux
>         Window Sys:  x
>         News Reader: Gnus v5.13
>         Install:     melpa, 20251002.156
>
> I use the default setting of nil for browse-url-new-window-flag.
>
> When I start emacs -Q and use eww, it  shows the expected behavior, open
> a link on a web page stays in the original window.
>
> When I then load hyperbole using something like this in the scratch buffer:
>
> (add-to-list 'load-path 
>     (concat user-emacs-directory "/elpa/hyperbole-20251002.156"))
> (load-library "hyperbole")
>
> and execute eww again, it now opens any link in a new window.
>
> Debugging this a little I found that the override of eww-browse-url in
> hsys-www.el seems to be the culprit.
>
> Once I override the override with
>
> (load-library "eww") 
>
> opening links in eww works as expected again.
>
> Thanks a lot and kind regards,
>
> Holger
>
> _______________________________________________
> Bug-hyperbole mailing list
> Bug-hyperbole <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole

Thanks for using Hyperbole and thanks for the report. I can confirm the behavior from your description. We will look into what is happening.

Yours
-- 
%% Mats




Information forwarded to bug-hyperbole <at> gnu.org:
bug#79557; Package hyperbole. (Thu, 02 Oct 2025 19:56:01 GMT) Full text and rfc822 format available.

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

From: Mats Lidell <matsl <at> gnu.org>
To: Holger Wenzel <drholgerwenzel <at> gmail.com>
Cc: 79557 <at> debbugs.gnu.org
Subject: Re: bug#79557: hyperbole override of eww-browse-url breaks eww open
 in same window behavior
Date: Thu, 02 Oct 2025 21:30:04 +0200
> Mats Lidell writes:
> > Holger Wenzel writes:
> > I use:  Editor:      GNU Emacs 31.0.50 with native comp
> >         Hyperbole:   9.0.2pre
> >         Sys Type:    x86_64-pc-linux-gnu
> >         OS Type:     gnu/linux
> >         Window Sys:  x
> >         News Reader: Gnus v5.13
> >         Install:     melpa, 20251002.156
> >
> > I use the default setting of nil for browse-url-new-window-flag.
> >
> > When I start emacs -Q and use eww, it  shows the expected behavior, open
> > a link on a web page stays in the original window.
> >
> > When I then load hyperbole using something like this in the scratch buffer:
> >
> > (add-to-list 'load-path 
> >     (concat user-emacs-directory "/elpa/hyperbole-20251002.156"))
> > (load-library "hyperbole")
> >
> > and execute eww again, it now opens any link in a new window.
> >
> > Debugging this a little I found that the override of eww-browse-url in
> > hsys-www.el seems to be the culprit.
> >
> > Once I override the override with
> >
> > (load-library "eww") 
> >
> > opening links in eww works as expected again.
> >
> > Thanks a lot and kind regards,
> >
> > Holger
> >
> > _______________________________________________
> > Bug-hyperbole mailing list
> > Bug-hyperbole <at> gnu.org
> > https://lists.gnu.org/mailman/listinfo/bug-hyperbole
>
> Thanks for using Hyperbole and thanks for the report. I can confirm
> the behavior from your description. We will look into what is
> happening.
>
> Yours
> -- 
> %% Mats

You are right in that it is the override of eww-browse-url that causes it. The
override is there for allowing Hyperbole's hpath:display-where functionality
to kick in. It defaults to 'other-window and that is what you are seeing.

If you set hpath:display-where to 'this-window you will get the desired
behavior.

At least the documentation of the updated version of the function could need
an update since in its current form is not clear what it changes and how to
configure it. We'll look into this.

%% Mats




Information forwarded to bug-hyperbole <at> gnu.org:
bug#79557; Package hyperbole. (Thu, 02 Oct 2025 22:00:02 GMT) Full text and rfc822 format available.

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

From: Holger Wenzel <drholgerwenzel <at> gmail.com>
To: Mats Lidell <matsl <at> gnu.org>
Cc: 79557 <at> debbugs.gnu.org
Subject: Re: bug#79557: hyperbole override of eww-browse-url breaks eww open
 in same window behavior
Date: Thu, 2 Oct 2025 23:59:05 +0200
[Message part 1 (text/plain, inline)]
Hi Mats,

thanks a lot for investigating this. I'll make the setting you recommend.

Do you really have to override a function from emacs core?

Kind regards,

Holger

On Thu, Oct 2, 2025 at 9:55 PM Mats Lidell <matsl <at> gnu.org> wrote:

> > Mats Lidell writes:
> > > Holger Wenzel writes:
> > > I use:  Editor:      GNU Emacs 31.0.50 with native comp
> > >         Hyperbole:   9.0.2pre
> > >         Sys Type:    x86_64-pc-linux-gnu
> > >         OS Type:     gnu/linux
> > >         Window Sys:  x
> > >         News Reader: Gnus v5.13
> > >         Install:     melpa, 20251002.156
> > >
> > > I use the default setting of nil for browse-url-new-window-flag.
> > >
> > > When I start emacs -Q and use eww, it  shows the expected behavior,
> open
> > > a link on a web page stays in the original window.
> > >
> > > When I then load hyperbole using something like this in the scratch
> buffer:
> > >
> > > (add-to-list 'load-path
> > >     (concat user-emacs-directory "/elpa/hyperbole-20251002.156"))
> > > (load-library "hyperbole")
> > >
> > > and execute eww again, it now opens any link in a new window.
> > >
> > > Debugging this a little I found that the override of eww-browse-url in
> > > hsys-www.el seems to be the culprit.
> > >
> > > Once I override the override with
> > >
> > > (load-library "eww")
> > >
> > > opening links in eww works as expected again.
> > >
> > > Thanks a lot and kind regards,
> > >
> > > Holger
> > >
> > > _______________________________________________
> > > Bug-hyperbole mailing list
> > > Bug-hyperbole <at> gnu.org
> > > https://lists.gnu.org/mailman/listinfo/bug-hyperbole
> >
> > Thanks for using Hyperbole and thanks for the report. I can confirm
> > the behavior from your description. We will look into what is
> > happening.
> >
> > Yours
> > --
> > %% Mats
>
> You are right in that it is the override of eww-browse-url that causes it.
> The
> override is there for allowing Hyperbole's hpath:display-where
> functionality
> to kick in. It defaults to 'other-window and that is what you are seeing.
>
> If you set hpath:display-where to 'this-window you will get the desired
> behavior.
>
> At least the documentation of the updated version of the function could
> need
> an update since in its current form is not clear what it changes and how to
> configure it. We'll look into this.
>
> %% Mats
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-hyperbole <at> gnu.org:
bug#79557; Package hyperbole. (Fri, 03 Oct 2025 17:34:01 GMT) Full text and rfc822 format available.

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

From: Mats Lidell <matsl <at> lidell.nu>
To: Holger Wenzel <drholgerwenzel <at> gmail.com>
Cc: 79557 <at> debbugs.gnu.org
Subject: Re: bug#79557: hyperbole override of eww-browse-url breaks eww open
 in same window behavior
Date: Thu, 02 Oct 2025 21:30:04 +0200
> Mats Lidell writes:
> > Holger Wenzel writes:
> > I use:  Editor:      GNU Emacs 31.0.50 with native comp
> >         Hyperbole:   9.0.2pre
> >         Sys Type:    x86_64-pc-linux-gnu
> >         OS Type:     gnu/linux
> >         Window Sys:  x
> >         News Reader: Gnus v5.13
> >         Install:     melpa, 20251002.156
> >
> > I use the default setting of nil for browse-url-new-window-flag.
> >
> > When I start emacs -Q and use eww, it  shows the expected behavior, open
> > a link on a web page stays in the original window.
> >
> > When I then load hyperbole using something like this in the scratch buffer:
> >
> > (add-to-list 'load-path 
> >     (concat user-emacs-directory "/elpa/hyperbole-20251002.156"))
> > (load-library "hyperbole")
> >
> > and execute eww again, it now opens any link in a new window.
> >
> > Debugging this a little I found that the override of eww-browse-url in
> > hsys-www.el seems to be the culprit.
> >
> > Once I override the override with
> >
> > (load-library "eww") 
> >
> > opening links in eww works as expected again.
> >
> > Thanks a lot and kind regards,
> >
> > Holger
> >
> > _______________________________________________
> > Bug-hyperbole mailing list
> > Bug-hyperbole <at> gnu.org
> > https://lists.gnu.org/mailman/listinfo/bug-hyperbole
>
> Thanks for using Hyperbole and thanks for the report. I can confirm
> the behavior from your description. We will look into what is
> happening.
>
> Yours
> -- 
> %% Mats

You are right in that it is the override of eww-browse-url that causes it. The
override is there for allowing Hyperbole's hpath:display-where functionality
to kick in. It defaults to 'other-window and that is what you are seeing.

If you set hpath:display-where to 'this-window you will get the desired
behavior.

At least the documentation of the updated version of the function could need
an update since in its current form is not clear what it changes and how to
configure it. We'll look into this.

%% Mats




Reply sent to Mats Lidell <matsl <at> gnu.org>:
You have taken responsibility. (Sun, 12 Oct 2025 17:44:01 GMT) Full text and rfc822 format available.

Notification sent to Holger Wenzel <drholgerwenzel <at> gmail.com>:
bug acknowledged by developer. (Sun, 12 Oct 2025 17:44:02 GMT) Full text and rfc822 format available.

Message #22 received at 79557-done <at> debbugs.gnu.org (full text, mbox):

From: Mats Lidell <matsl <at> gnu.org>
To: Holger Wenzel <drholgerwenzel <at> gmail.com>
Cc: 79557-done <at> debbugs.gnu.org
Subject: Re: bug#79557: hyperbole override of eww-browse-url breaks eww open
 in same window behavior
Date: Sun, 12 Oct 2025 19:43:28 +0200
> Holger Wenzel writes:
> Hi Mats,
>
> thanks a lot for investigating this. I'll make the setting you recommend.
>
> Do you really have to override a function from emacs core? 
>
> Kind regards,
>
> Holger
>
> On Thu, Oct 2, 2025 at 9:55 PM Mats Lidell <matsl <at> gnu.org> wrote:
>
>  > Mats Lidell writes:
>  > > Holger Wenzel writes:
>  > > I use:  Editor:      GNU Emacs 31.0.50 with native comp
>  > >         Hyperbole:   9.0.2pre
>  > >         Sys Type:    x86_64-pc-linux-gnu
>  > >         OS Type:     gnu/linux
>  > >         Window Sys:  x
>  > >         News Reader: Gnus v5.13
>  > >         Install:     melpa, 20251002.156
>  > >
>  > > I use the default setting of nil for browse-url-new-window-flag.
>  > >
>  > > When I start emacs -Q and use eww, it  shows the expected behavior, open
>  > > a link on a web page stays in the original window.
>  > >
>  > > When I then load hyperbole using something like this in the scratch buffer:
>  > >
>  > > (add-to-list 'load-path 
>  > >     (concat user-emacs-directory "/elpa/hyperbole-20251002.156"))
>  > > (load-library "hyperbole")
>  > >
>  > > and execute eww again, it now opens any link in a new window.
>  > >
>  > > Debugging this a little I found that the override of eww-browse-url in
>  > > hsys-www.el seems to be the culprit.
>  > >
>  > > Once I override the override with
>  > >
>  > > (load-library "eww") 
>  > >
>  > > opening links in eww works as expected again.
>  > >
>  > > Thanks a lot and kind regards,
>  > >
>  > > Holger
>  > >
>  > > _______________________________________________
>  > > Bug-hyperbole mailing list
>  > > Bug-hyperbole <at> gnu.org
>  > > https://lists.gnu.org/mailman/listinfo/bug-hyperbole
>  >
>  > Thanks for using Hyperbole and thanks for the report. I can confirm
>  > the behavior from your description. We will look into what is
>  > happening.
>  >
>  > Yours
>  > -- 
>  > %% Mats
>
>  You are right in that it is the override of eww-browse-url that causes it. The
>  override is there for allowing Hyperbole's hpath:display-where functionality
>  to kick in. It defaults to 'other-window and that is what you are seeing.
>
>  If you set hpath:display-where to 'this-window you will get the desired
>  behavior.
>
>  At least the documentation of the updated version of the function could need
>  an update since in its current form is not clear what it changes and how to
>  configure it. We'll look into this.
>
>  %% Mats

We have changed now so that eww-browse-url is not overridden.  The action-key
used on links in an eww buffer will dispatch directly to eww and will not use
the Hyperbole hpath:display-where setting.

The behavior within eww will thus not depend on the setting of
hpath:display-where. So you can now set that to whatever you want it to be for
Hyperbole's window and frame management.

Yours
-- 
%% Mats




Information forwarded to bug-hyperbole <at> gnu.org:
bug#79557; Package hyperbole. (Sun, 12 Oct 2025 17:51:02 GMT) Full text and rfc822 format available.

Message #25 received at 79557-done <at> debbugs.gnu.org (full text, mbox):

From: Robert Weiner <rswgnu <at> gmail.com>
To: Lidell Mats <matsl <at> gnu.org>
Cc: 79557-done <at> debbugs.gnu.org, Wenzel Holger <drholgerwenzel <at> gmail.com>
Subject: Re: bug#79557: hyperbole override of eww-browse-url breaks eww open
 in same window behavior
Date: Sun, 12 Oct 2025 13:50:22 -0400
Hi Mats:

We have not changed the action-key behavior, that still uses the hpath:display-where setting, as it should.  We have simply stopped overriding the eww-browse-url function so however you choose to call that, whether or not Hyperbole is enabled, it behaves the same.

-- rsw

> On Oct 12, 2025, at 1:44 PM, Mats Lidell <matsl <at> gnu.org> wrote:
> 
> 
>> 
>> Holger Wenzel writes:
>> Hi Mats,
>> 
>> thanks a lot for investigating this. I'll make the setting you recommend.
>> 
>> Do you really have to override a function from emacs core?
>> 
>> Kind regards,
>> 
>> Holger
>> 
>>> On Thu, Oct 2, 2025 at 9:55 PM Mats Lidell <matsl <at> gnu.org> wrote:
>>> 
>>> Mats Lidell writes:
>>>> Holger Wenzel writes:
>>>> I use:  Editor:      GNU Emacs 31.0.50 with native comp
>>>>        Hyperbole:   9.0.2pre
>>>>        Sys Type:    x86_64-pc-linux-gnu
>>>>        OS Type:     gnu/linux
>>>>        Window Sys:  x
>>>>        News Reader: Gnus v5.13
>>>>        Install:     melpa, 20251002.156
>>>> 
>>>> I use the default setting of nil for browse-url-new-window-flag.
>>>> 
>>>> When I start emacs -Q and use eww, it  shows the expected behavior, open
>>>> a link on a web page stays in the original window.
>>>> 
>>>> When I then load hyperbole using something like this in the scratch buffer:
>>>> 
>>>> (add-to-list 'load-path
>>>>    (concat user-emacs-directory "/elpa/hyperbole-20251002.156"))
>>>> (load-library "hyperbole")
>>>> 
>>>> and execute eww again, it now opens any link in a new window.
>>>> 
>>>> Debugging this a little I found that the override of eww-browse-url in
>>>> hsys-www.el seems to be the culprit.
>>>> 
>>>> Once I override the override with
>>>> 
>>>> (load-library "eww")
>>>> 
>>>> opening links in eww works as expected again.
>>>> 
>>>> Thanks a lot and kind regards,
>>>> 
>>>> Holger
>>>> 
>>>> _______________________________________________
>>>> Bug-hyperbole mailing list
>>>> Bug-hyperbole <at> gnu.org
>>>> https://lists.gnu.org/mailman/listinfo/bug-hyperbole
>>> 
>>> Thanks for using Hyperbole and thanks for the report. I can confirm
>>> the behavior from your description. We will look into what is
>>> happening.
>>> 
>>> Yours
>>> --
>>> %% Mats
>> 
>> You are right in that it is the override of eww-browse-url that causes it. The
>> override is there for allowing Hyperbole's hpath:display-where functionality
>> to kick in. It defaults to 'other-window and that is what you are seeing.
>> 
>> If you set hpath:display-where to 'this-window you will get the desired
>> behavior.
>> 
>> At least the documentation of the updated version of the function could need
>> an update since in its current form is not clear what it changes and how to
>> configure it. We'll look into this.
>> 
>> %% Mats
> 
> We have changed now so that eww-browse-url is not overridden.  The action-key
> used on links in an eww buffer will dispatch directly to eww and will not use
> the Hyperbole hpath:display-where setting.
> 
> The behavior within eww will thus not depend on the setting of
> hpath:display-where. So you can now set that to whatever you want it to be for
> Hyperbole's window and frame management.
> 
> Yours
> --
> %% Mats
> 
> 
> 
> _______________________________________________
> Bug-hyperbole mailing list
> Bug-hyperbole <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole




Information forwarded to bug-hyperbole <at> gnu.org:
bug#79557; Package hyperbole. (Wed, 15 Oct 2025 07:24:01 GMT) Full text and rfc822 format available.

Message #28 received at 79557-done <at> debbugs.gnu.org (full text, mbox):

From: Holger Wenzel <drholgerwenzel <at> gmail.com>
To: Robert Weiner <rswgnu <at> gmail.com>
Cc: Lidell Mats <matsl <at> gnu.org>, 79557-done <at> debbugs.gnu.org
Subject: Re: bug#79557: hyperbole override of eww-browse-url breaks eww open
 in same window behavior
Date: Wed, 15 Oct 2025 09:23:07 +0200
[Message part 1 (text/plain, inline)]
Hi,

I tested with the latest hyperbole I installed through elpa just now:
hyperbole-0251014.804 and confirm I don't need to set the
hpath:display-where to 'this-window to get the desired behavior of eww
opening a link in the same window.

Thanks a lot for fixing this so quickly.

Kind regards,

Holger

On Sun, Oct 12, 2025 at 7:50 PM Robert Weiner <rswgnu <at> gmail.com> wrote:

> Hi Mats:
>
> We have not changed the action-key behavior, that still uses the
> hpath:display-where setting, as it should.  We have simply stopped
> overriding the eww-browse-url function so however you choose to call that,
> whether or not Hyperbole is enabled, it behaves the same.
>
> -- rsw
>
> > On Oct 12, 2025, at 1:44 PM, Mats Lidell <matsl <at> gnu.org> wrote:
> >
> > 
> >>
> >> Holger Wenzel writes:
> >> Hi Mats,
> >>
> >> thanks a lot for investigating this. I'll make the setting you
> recommend.
> >>
> >> Do you really have to override a function from emacs core?
> >>
> >> Kind regards,
> >>
> >> Holger
> >>
> >>> On Thu, Oct 2, 2025 at 9:55 PM Mats Lidell <matsl <at> gnu.org> wrote:
> >>>
> >>> Mats Lidell writes:
> >>>> Holger Wenzel writes:
> >>>> I use:  Editor:      GNU Emacs 31.0.50 with native comp
> >>>>        Hyperbole:   9.0.2pre
> >>>>        Sys Type:    x86_64-pc-linux-gnu
> >>>>        OS Type:     gnu/linux
> >>>>        Window Sys:  x
> >>>>        News Reader: Gnus v5.13
> >>>>        Install:     melpa, 20251002.156
> >>>>
> >>>> I use the default setting of nil for browse-url-new-window-flag.
> >>>>
> >>>> When I start emacs -Q and use eww, it  shows the expected behavior,
> open
> >>>> a link on a web page stays in the original window.
> >>>>
> >>>> When I then load hyperbole using something like this in the scratch
> buffer:
> >>>>
> >>>> (add-to-list 'load-path
> >>>>    (concat user-emacs-directory "/elpa/hyperbole-20251002.156"))
> >>>> (load-library "hyperbole")
> >>>>
> >>>> and execute eww again, it now opens any link in a new window.
> >>>>
> >>>> Debugging this a little I found that the override of eww-browse-url in
> >>>> hsys-www.el seems to be the culprit.
> >>>>
> >>>> Once I override the override with
> >>>>
> >>>> (load-library "eww")
> >>>>
> >>>> opening links in eww works as expected again.
> >>>>
> >>>> Thanks a lot and kind regards,
> >>>>
> >>>> Holger
> >>>>
> >>>> _______________________________________________
> >>>> Bug-hyperbole mailing list
> >>>> Bug-hyperbole <at> gnu.org
> >>>> https://lists.gnu.org/mailman/listinfo/bug-hyperbole
> >>>
> >>> Thanks for using Hyperbole and thanks for the report. I can confirm
> >>> the behavior from your description. We will look into what is
> >>> happening.
> >>>
> >>> Yours
> >>> --
> >>> %% Mats
> >>
> >> You are right in that it is the override of eww-browse-url that causes
> it. The
> >> override is there for allowing Hyperbole's hpath:display-where
> functionality
> >> to kick in. It defaults to 'other-window and that is what you are
> seeing.
> >>
> >> If you set hpath:display-where to 'this-window you will get the desired
> >> behavior.
> >>
> >> At least the documentation of the updated version of the function could
> need
> >> an update since in its current form is not clear what it changes and
> how to
> >> configure it. We'll look into this.
> >>
> >> %% Mats
> >
> > We have changed now so that eww-browse-url is not overridden.  The
> action-key
> > used on links in an eww buffer will dispatch directly to eww and will
> not use
> > the Hyperbole hpath:display-where setting.
> >
> > The behavior within eww will thus not depend on the setting of
> > hpath:display-where. So you can now set that to whatever you want it to
> be for
> > Hyperbole's window and frame management.
> >
> > Yours
> > --
> > %% Mats
> >
> >
> >
> > _______________________________________________
> > Bug-hyperbole mailing list
> > Bug-hyperbole <at> gnu.org
> > https://lists.gnu.org/mailman/listinfo/bug-hyperbole
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-hyperbole <at> gnu.org:
bug#79557; Package hyperbole. (Wed, 15 Oct 2025 07:50:02 GMT) Full text and rfc822 format available.

Message #31 received at 79557-done <at> debbugs.gnu.org (full text, mbox):

From: Mats Lidell <matsl <at> gnu.org>
To: Holger Wenzel <drholgerwenzel <at> gmail.com>
Cc: 79557-done <at> debbugs.gnu.org, Robert Weiner <rswgnu <at> gmail.com>
Subject: Re: bug#79557: hyperbole override of eww-browse-url breaks eww open
 in same window behavior
Date: Wed, 15 Oct 2025 09:48:47 +0200
Hi Holger,

Thanks for confirming and for using Hyperbole!

%% Mats 

> Holger Wenzel writes:
> Hi,
>
> I tested with the latest hyperbole I installed through elpa just now: hyperbole-0251014.804 and confirm I don't need to set the
> hpath:display-where to 'this-window to get the desired behavior of eww opening a link in the same window.
>
> Thanks a lot for fixing this so quickly.
>
> Kind regards,
>
> Holger
>
> On Sun, Oct 12, 2025 at 7:50 PM Robert Weiner <rswgnu <at> gmail.com> wrote:
>
>  Hi Mats:
>
>  We have not changed the action-key behavior, that still uses the hpath:display-where setting, as it should.  We have simply stopped
>  overriding the eww-browse-url function so however you choose to call that, whether or not Hyperbole is enabled, it behaves the
>  same.
>
>  -- rsw
>
>  > On Oct 12, 2025, at 1:44 PM, Mats Lidell <matsl <at> gnu.org> wrote:
>  > 
>  > 
>  >> 
>  >> Holger Wenzel writes:
>  >> Hi Mats,
>  >> 
>  >> thanks a lot for investigating this. I'll make the setting you recommend.
>  >> 
>  >> Do you really have to override a function from emacs core?
>  >> 
>  >> Kind regards,
>  >> 
>  >> Holger
>  >> 
>  >>> On Thu, Oct 2, 2025 at 9:55 PM Mats Lidell <matsl <at> gnu.org> wrote:
>  >>> 
>  >>> Mats Lidell writes:
>  >>>> Holger Wenzel writes:
>  >>>> I use:  Editor:      GNU Emacs 31.0.50 with native comp
>  >>>>        Hyperbole:   9.0.2pre
>  >>>>        Sys Type:    x86_64-pc-linux-gnu
>  >>>>        OS Type:     gnu/linux
>  >>>>        Window Sys:  x
>  >>>>        News Reader: Gnus v5.13
>  >>>>        Install:     melpa, 20251002.156
>  >>>> 
>  >>>> I use the default setting of nil for browse-url-new-window-flag.
>  >>>> 
>  >>>> When I start emacs -Q and use eww, it  shows the expected behavior, open
>  >>>> a link on a web page stays in the original window.
>  >>>> 
>  >>>> When I then load hyperbole using something like this in the scratch buffer:
>  >>>> 
>  >>>> (add-to-list 'load-path
>  >>>>    (concat user-emacs-directory "/elpa/hyperbole-20251002.156"))
>  >>>> (load-library "hyperbole")
>  >>>> 
>  >>>> and execute eww again, it now opens any link in a new window.
>  >>>> 
>  >>>> Debugging this a little I found that the override of eww-browse-url in
>  >>>> hsys-www.el seems to be the culprit.
>  >>>> 
>  >>>> Once I override the override with
>  >>>> 
>  >>>> (load-library "eww")
>  >>>> 
>  >>>> opening links in eww works as expected again.
>  >>>> 
>  >>>> Thanks a lot and kind regards,
>  >>>> 
>  >>>> Holger
>  >>>> 
>  >>>> _______________________________________________
>  >>>> Bug-hyperbole mailing list
>  >>>> Bug-hyperbole <at> gnu.org
>  >>>> https://lists.gnu.org/mailman/listinfo/bug-hyperbole
>  >>> 
>  >>> Thanks for using Hyperbole and thanks for the report. I can confirm
>  >>> the behavior from your description. We will look into what is
>  >>> happening.
>  >>> 
>  >>> Yours
>  >>> --
>  >>> %% Mats
>  >> 
>  >> You are right in that it is the override of eww-browse-url that causes it. The
>  >> override is there for allowing Hyperbole's hpath:display-where functionality
>  >> to kick in. It defaults to 'other-window and that is what you are seeing.
>  >> 
>  >> If you set hpath:display-where to 'this-window you will get the desired
>  >> behavior.
>  >> 
>  >> At least the documentation of the updated version of the function could need
>  >> an update since in its current form is not clear what it changes and how to
>  >> configure it. We'll look into this.
>  >> 
>  >> %% Mats
>  > 
>  > We have changed now so that eww-browse-url is not overridden.  The action-key
>  > used on links in an eww buffer will dispatch directly to eww and will not use
>  > the Hyperbole hpath:display-where setting.
>  > 
>  > The behavior within eww will thus not depend on the setting of
>  > hpath:display-where. So you can now set that to whatever you want it to be for
>  > Hyperbole's window and frame management.
>  > 
>  > Yours
>  > --
>  > %% Mats
>  > 
>  > 
>  > 
>  > _______________________________________________
>  > Bug-hyperbole mailing list
>  > Bug-hyperbole <at> gnu.org
>  > https://lists.gnu.org/mailman/listinfo/bug-hyperbole




This bug report was last modified 22 days ago.

Previous Next


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