GNU bug report logs - #75181
Activating explicit buttons does not work inside indirect narrowed org buffers

Previous Next

Package: hyperbole;

Reported by: Julian Hoch <julianhoch <at> web.de>

Date: Sun, 29 Dec 2024 17:15:01 UTC

Severity: wishlist

Done: Mats Lidell <matsl <at> gnu.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 75181 in the body.
You can then email your comments to 75181 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-hyperbole <at> gnu.org:
bug#75181; Package hyperbole. (Sun, 29 Dec 2024 17:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julian Hoch <julianhoch <at> web.de>:
New bug report received and forwarded. Copy sent to bug-hyperbole <at> gnu.org. (Sun, 29 Dec 2024 17:15:02 GMT) Full text and rfc822 format available.

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

From: Julian Hoch <julianhoch <at> web.de>
To: bug-hyperbole <at> gnu.org
Subject: Activating explicit buttons does not work inside indirect narrowed
 org buffers
Date: Sun, 29 Dec 2024 11:44:58 +0100
I use:  Editor:      GNU Emacs 29.4 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, 20241217.813

Hi,

not sure if this is truly a bug or more a feature request.  I use
explicit buttons inside org files, and then use the "Act" command to
activate them.

However, this does not work if I use the command
"org-tree-to-indirect-buffer" to narrow to an org tree.  I assume this
is due to the fact that the resulting buffer gets a postfix added to its
name with the name of the header (so it is "filename::header"
afterwards).

I wonder if the button activation could be adjusted so that it also
works in such subtree buffers?
--
Julian Hoch




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

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

From: Mats Lidell <mats.lidell <at> lidells.se>
To: Julian Hoch via Bug-hyperbole via <bug-hyperbole <at> gnu.org>
Cc: Julian Hoch <julianhoch <at> web.de>, 75181 <at> debbugs.gnu.org
Subject: Re: bug#75181: Activating explicit buttons does not work inside
 indirect narrowed org buffers
Date: Thu, 02 Jan 2025 17:18:25 +0100
Hi Julian,

> Julian Hoch via Bug-hyperbole via writes:
> I use:  Editor:      GNU Emacs 29.4 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, 20241217.813
>
> Hi,
>
> not sure if this is truly a bug or more a feature request.  I use
> explicit buttons inside org files, and then use the "Act" command to
> activate them.
>
> However, this does not work if I use the command
> "org-tree-to-indirect-buffer" to narrow to an org tree.  I assume this
> is due to the fact that the resulting buffer gets a postfix added to its
> name with the name of the header (so it is "filename::header"
> afterwards).
>
> I wonder if the button activation could be adjusted so that it also
> works in such subtree buffers?

Thanks for suggesting this idea. We don't have support for indirect buffers
now. Looking quickly at it, it seems it could be possible to use the function
buffer-base-buffer to understand what is going on. Might even be a small
change but we need to check the details.

Will add it as a feature request.

%% Mats




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

Severity set to 'wishlist' from 'normal' Request was from Mats Lidell <matsl <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 02 Jan 2025 18:04:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-hyperbole <at> gnu.org:
bug#75181; Package hyperbole. (Tue, 07 Jan 2025 22:18:01 GMT) Full text and rfc822 format available.

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

From: Mats Lidell <matsl <at> gnu.org>
To: 75181 <at> debbugs.gnu.org
Cc: julianhoch <at> web.de
Subject: Re: bug#75181: Activating explicit buttons does not work inside
 indirect narrowed org buffers
Date: Tue, 07 Jan 2025 23:16:52 +0100
Hi Julian,

> Mats Lidell writes:
> Hi Julian,
>
> > Julian Hoch via Bug-hyperbole via writes:
> > I use:  Editor:      GNU Emacs 29.4 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, 20241217.813
> >
> > Hi,
> >
> > not sure if this is truly a bug or more a feature request.  I use
> > explicit buttons inside org files, and then use the "Act" command to
> > activate them.
> >
> > However, this does not work if I use the command
> > "org-tree-to-indirect-buffer" to narrow to an org tree.  I assume this
> > is due to the fact that the resulting buffer gets a postfix added to its
> > name with the name of the header (so it is "filename::header"
> > afterwards).
> >
> > I wonder if the button activation could be adjusted so that it also
> > works in such subtree buffers?
>
> Thanks for suggesting this idea. We don't have support for indirect buffers
> now. Looking quickly at it, it seems it could be possible to use the function
> buffer-base-buffer to understand what is going on. Might even be a small
> change but we need to check the details.
>
> Will add it as a feature request.

We think we have solved the issue. With the latest elpa devel package,
https://elpa.gnu.org/devel/hyperbole.html,
(hyperbole-9.0.2pre0.20250105.123756.tar) we now support indirect buffers.

A minor remaining issue is that highlighting when creating a new explicit
button will not work expect for in the buffer where the button is created. But
everything else should work. Please give it a try.

%% Mats




Information forwarded to bug-hyperbole <at> gnu.org:
bug#75181; Package hyperbole. (Tue, 07 Jan 2025 22:32:02 GMT) Full text and rfc822 format available.

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

From: Robert Weiner <rswgnu <at> gmail.com>
To: Lidell Mats <matsl <at> gnu.org>
Cc: julianhoch <at> web.de, 75181 <at> debbugs.gnu.org
Subject: Re: bug#75181: Activating explicit buttons does not work inside
 indirect narrowed org buffers
Date: Tue, 7 Jan 2025 17:31:22 -0500
After you activate the explicit button, it will be highlighted.  — rsw



bug closed, send any further explanations to 75181 <at> debbugs.gnu.org and Julian Hoch <julianhoch <at> web.de> Request was from Mats Lidell <matsl <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 09 Jan 2025 16:00: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. (Fri, 07 Feb 2025 12:24:22 GMT) Full text and rfc822 format available.

This bug report was last modified 182 days ago.

Previous Next


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