GNU bug report logs - #61918
Filenames starting with hash interpreted as social references

Previous Next

Package: hyperbole;

Reported by: John Cummings <john <at> rootabega.net>

Date: Thu, 2 Mar 2023 16:31:02 UTC

Severity: normal

Done: Bob Weiner <rsw <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 61918 in the body.
You can then email your comments to 61918 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#61918; Package hyperbole. (Thu, 02 Mar 2023 16:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Cummings <john <at> rootabega.net>:
New bug report received and forwarded. Copy sent to bug-hyperbole <at> gnu.org. (Thu, 02 Mar 2023 16:31:02 GMT) Full text and rfc822 format available.

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

From: John Cummings <john <at> rootabega.net>
To: "bug-hyperbole <at> gnu.org" <bug-hyperbole <at> gnu.org>
Subject: Filenames starting with hash interpreted as social references
Date: Thu, 02 Mar 2023 16:29:50 +0000
I use:  Editor:      GNU Emacs 28.2
        Hyperbole:   9.0.0
        Sys Type:    x86_64-pc-linux-gnu
        OS Type:     gnu/linux
        Window Sys:  None
        News Reader: Gnus v5.13
        Install:     elpa-devel, 8.0.1pre0.20230227.3018
(HyDebug) ButProps: (variable-documentation "The currently selected Hyperbole button.  Available to action routines." lbl-key "#abc" lbl-start 11596 lbl-end 11600 categ ibtypes::social-reference loc #<buffer *shell*> dir "/home/emacs/shellbug/examples/social/" actype social-reference args ("" "#" "abc"))

Given:
In a shell buffer, an ls command is run, and one of the filenames
starts with a hash character, e.g. '#abc' or, in the format of an
Emacs autosave filename: '#abc#'. (The quotes are not part of the
filename.)

Expectation:
The Hyperbole smart keys will prioritize interpreting this as a
filename. The action key will open that file.

Actual behavior
The action key, and hkey-help, interpret them as social media
references, and in my case, the action key does nothing. The HyDebug
message included above was generated when I used the action key on a
filename '#abc#', so it may also be interesting to note that the 
trailing hash character is dropped somewhere along the way.





Information forwarded to bug-hyperbole <at> gnu.org:
bug#61918; Package hyperbole. (Mon, 13 Mar 2023 23:40:01 GMT) Full text and rfc822 format available.

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

From: Bob Weiner <rsw <at> gnu.org>
To: John Cummings <john <at> rootabega.net>
Cc: 61918 <at> debbugs.gnu.org
Subject: Re: bug#61918: Filenames starting with hash interpreted as social
 references
Date: Mon, 13 Mar 2023 19:39:26 -0400
Hi John:

This has been fixed in a recent Hyperbole pre-release at elpa-devel.
Thanks for reporting it.  I will close this issue.

-- rsw


John Cummings <john <at> rootabega.net> writes:

> I use:  Editor:      GNU Emacs 28.2
>         Hyperbole:   9.0.0
>         Sys Type:    x86_64-pc-linux-gnu
>         OS Type:     gnu/linux
>         Window Sys:  None
>         News Reader: Gnus v5.13
>         Install:     elpa-devel, 8.0.1pre0.20230227.3018
> (HyDebug) ButProps: (variable-documentation "The currently selected
> Hyperbole button.  Available to action routines." lbl-key "#abc"
> lbl-start 11596 lbl-end 11600 categ ibtypes::social-reference loc
> #<buffer *shell*> dir "/home/emacs/shellbug/examples/social/" actype
> social-reference args ("" "#" "abc"))
>
> Given:
> In a shell buffer, an ls command is run, and one of the filenames
> starts with a hash character, e.g. '#abc' or, in the format of an
> Emacs autosave filename: '#abc#'. (The quotes are not part of the
> filename.)
>
> Expectation:
> The Hyperbole smart keys will prioritize interpreting this as a
> filename. The action key will open that file.
>
> Actual behavior
> The action key, and hkey-help, interpret them as social media
> references, and in my case, the action key does nothing. The HyDebug
> message included above was generated when I used the action key on a
> filename '#abc#', so it may also be interesting to note that the 
> trailing hash character is dropped somewhere along the way.




bug closed, send any further explanations to 61918 <at> debbugs.gnu.org and John Cummings <john <at> rootabega.net> Request was from Bob Weiner <rsw <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 13 Mar 2023 23:42:01 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. (Tue, 11 Apr 2023 11:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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