What about the single line I sent? Does that add an extra underscore or not?
Try it both with .el source code and with .elc byte compiled code. -- Bob > On Jun 6, 2019, at 5:02 AM, Van L <[email protected]> wrote: > > >> On 6 Jun 2019, at 16:30, Robert Weiner <[email protected]> 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---
