GNU bug report logs -
#61920
incorrect quote-delimited pathnames across newlines found in shell buffer
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61920 in the body.
You can then email your comments to 61920 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-hyperbole <at> gnu.org
:
bug#61920
; Package
hyperbole
.
(Thu, 02 Mar 2023 16:41:01 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:41:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Given:
In a shell buffer in a window 80 characters wide, run an ls command
and get the following output:
emacs <at> neptune:~/shellbug/data$ ls
'#buttons-9.txt#' foofoofoo sources
buttons-9.txt hyperbole.el test.el
buttons-9.txt~ '#*message*-20230220-192738#' test.html
buttons.txt '#*message*-20230220-205601#' test.html~
buttons.txt~ '#*message*-20230220-210029#' test.kotl
EXAMPLE.kotl source.el test.kotl~
foo source.el~
'#foofoofoo#' source.elc
emacs <at> neptune:~/shellbug/data$
Expected behavior:
The action key on test.html or test.html~ opens that file. hkey-help
will show that those names are pathnames.
Actual behavior:
The action key and hkey-help report that there is no matching context
(so there is also no HyDebug message to include.)
Possible cause:
I did some shallow debugging, and it appears that Hyperbole matches
the quotes surrounding the filenames, also consuming the newline after
the filename. So on test.html, it may be matching it as
' test.html buttons.txt '
Since Hyperbole tries many different implicit button types, I'm not
certain that this is the main problem. But I'm guessing that it is,
since it would explain why it only happens to those two names in the
listing.
Information forwarded
to
bug-hyperbole <at> gnu.org
:
bug#61920
; Package
hyperbole
.
(Mon, 13 Mar 2023 23:38:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 61920 <at> debbugs.gnu.org (full text, mbox):
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
>
> Given:
> In a shell buffer in a window 80 characters wide, run an ls command
> and get the following output:
>
> emacs <at> neptune:~/shellbug/data$ ls
> '#buttons-9.txt#' foofoofoo sources
> buttons-9.txt hyperbole.el test.el
> buttons-9.txt~ '#*message*-20230220-192738#' test.html
> buttons.txt '#*message*-20230220-205601#' test.html~
> buttons.txt~ '#*message*-20230220-210029#' test.kotl
> EXAMPLE.kotl source.el test.kotl~
> foo source.el~
> '#foofoofoo#' source.elc
> emacs <at> neptune:~/shellbug/data$
>
>
> Expected behavior:
> The action key on test.html or test.html~ opens that file. hkey-help
> will show that those names are pathnames.
>
>
> Actual behavior:
> The action key and hkey-help report that there is no matching context
> (so there is also no HyDebug message to include.)
>
>
> Possible cause:
> I did some shallow debugging, and it appears that Hyperbole matches
> the quotes surrounding the filenames, also consuming the newline after
> the filename. So on test.html, it may be matching it as
> ' test.html buttons.txt '
> Since Hyperbole tries many different implicit button types, I'm not
> certain that this is the main problem. But I'm guessing that it is,
> since it would explain why it only happens to those two names in the
> listing.
bug closed, send any further explanations to
61920 <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: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
.
(Tue, 11 Apr 2023 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 33 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.