hyperbole-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Hyperbole-users] Action Key on [FSF 19] at "DEMO:807:44" behaves un


From: Robert Weiner
Subject: Re: [Hyperbole-users] Action Key on [FSF 19] at "DEMO:807:44" behaves unexpectedly
Date: Thu, 6 Jun 2019 09:13:02 -0400

The problem seems to be one you have identified from line 1033 or so:

    ;; Convert tabs and newlines to space.
  (setq path (hbut:key-to-label (hbut:label-to-key path)))

where an extra underscore is left in.  Try that _expression_ with your path value and see that it indeed does this.  It is supposed to reverse the addition of the extra underscore and just leave single spaces where any whitespace was.  In my testing, it does not leave an extra underscore.

Does anyone else see this problem with Hyperbole 7.0.3?

Bob


On Thu, Jun 6, 2019 at 5:03 AM Van L <address@hidden> wrote:

> On 6 Jun 2019, at 16:30, Robert Weiner <address@hidden> wrote:
>
> use edebug to step through the function and see where it decides that the path is not valid since I can't duplicate your setup very easily.

>From what I can tell the edebug call to hpath:exists-p, file-exists-p
recognises '/i/src/sys/kern/kern_sig.c' as being there.

--8<---------------cut here---------------start------------->8---
(hpath:is-p "/i/src/sys/kern/kern_sig.c")
; Line 1011:52 rtn-path has '%s' appended to path
; Line 1036:65 result has "/i/src/sys/kern/kern__sig.c"
;                  extra underscore inserted ---^
; Line 1057:70 calls hpath:exists-p
; Line 1064:29-31 is here where a file is recognised as such?

(hpath:exists-p "/i/src/sys/kern/kern_sig.c") ;ok given by file-exists-p
--8<---------------cut here---------------end--------------->8---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]