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: John Cummings <john <at> rootabega.net>
To: 61918 <at> debbugs.gnu.org
Subject: bug#61918: 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.





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.