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.

Full log


View this message in rfc822 format

From: Bob Weiner <rsw <at> gnu.org>
To: John Cummings <john <at> rootabega.net>
Cc: 61918 <at> debbugs.gnu.org
Subject: 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.




This bug report was last modified 2 years and 127 days ago.

Previous Next


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