GNU bug report logs -
#37729
"!${PATH}/date" path prefix in DEMO change directory is failing
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 37729 in the body.
You can then email your comments to 37729 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#37729
; Package
hyperbole
.
(Sun, 13 Oct 2019 07:25:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Kevin J. McCarthy" <kevin <at> 8t8.us>
:
New bug report received and forwarded. Copy sent to
bug-hyperbole <at> gnu.org
.
(Sun, 13 Oct 2019 07:25:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I use: Editor: GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.4)
Hyperbole: 7.0.7
Sys Type: x86_64-pc-linux-gnu
OS Type: gnu/linux
Window Sys: x
News Reader: Gnus v5.13
Trying to run the path prefix example in the DEMO file under
* Implicit Buttons
** Implicit Path Links
*** Path Prefixes
"!${PATH}/date" opens a shell window but tries to cd to the DEMO file
instead of the directory it is in:
% cd /home/kjm/confs/home/.emacs.d/lib/hyperbole/DEMO; /bin/date
cd: not a directory: /home/kjm/confs/home/.emacs.d/lib/hyperbole/DEMO
Sun 13 Oct 2019 03:02:16 PM CST
I use a symlinks to my config files, that's why you see the directory
path under ~/confs/home/.emacs.d instead of ~/.emacs.d. But I don't
think that would be causing an issue here.
It doesn't interfere with the date command running, but I wonder if this
would affect other possible examples.
Thank you,
-Kevin
Information forwarded
to
bug-hyperbole <at> gnu.org
:
bug#37729
; Package
hyperbole
.
(Sun, 13 Oct 2019 11:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
I'm completely unfamiliar with the code, and just an elisp novice. But
I've been playing around.
Making this change seems to have fixed the problem for me. I have no
idea if this is correct outside of my little test in DEMO.
modified hbut.el:
@@ -1224,6 +1224,7 @@ excluding delimiters, not just one."
(hattr:get 'hbut:current 'lbl-key)
(hattr:set 'hbut:current 'loc (save-excursion
(hbut:key-src 'full)))
+ (hattr:set 'hbut:current 'dir default-directory)
(hattr:set 'hbut:current 'categ is-type)
(or (hattr:get 'hbut:current 'args)
(not (listp args))
Information forwarded
to
bug-hyperbole <at> gnu.org
:
bug#37729
; Package
hyperbole
.
(Sun, 13 Oct 2019 17:03:01 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
This is resolved by the prior fix for bug#37724 and is now being closed.
Bob
On Sun, Oct 13, 2019 at 3:25 AM Kevin J. McCarthy <kevin <at> 8t8.us> wrote:
>
> I use: Editor: GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.4)
>
> Hyperbole: 7.0.7
> Sys Type: x86_64-pc-linux-gnu
> OS Type: gnu/linux
> Window Sys: x
> News Reader: Gnus v5.13
>
> Trying to run the path prefix example in the DEMO file under
>
> * Implicit Buttons
> ** Implicit Path Links
> *** Path Prefixes
>
> "!${PATH}/date" opens a shell window but tries to cd to the DEMO file
> instead of the directory it is in:
>
> % cd /home/kjm/confs/home/.emacs.d/lib/hyperbole/DEMO; /bin/date
> cd: not a directory: /home/kjm/confs/home/.emacs.d/lib/hyperbole/DEMO
> Sun 13 Oct 2019 03:02:16 PM CST
>
> I use a symlinks to my config files, that's why you see the directory
> path under ~/confs/home/.emacs.d instead of ~/.emacs.d. But I don't
> think that would be causing an issue here.
>
> It doesn't interfere with the date command running, but I wonder if this
> would affect other possible examples.
>
> Thank you,
>
> -Kevin
>
>
>
> _______________________________________________
> Bug-hyperbole mailing list
> Bug-hyperbole <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole
Reply sent
to
rswgnu <at> gmail.com
:
You have taken responsibility.
(Sun, 13 Oct 2019 17:03:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Kevin J. McCarthy" <kevin <at> 8t8.us>
:
bug acknowledged by developer.
(Sun, 13 Oct 2019 17:03: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
.
(Mon, 11 Nov 2019 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 305 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.