Distro: Arch Linux x86_64
Kernel: 5.14.6-arch1-1
Running in a systemd-nspawn container.
Output of uname -a:
Linux container 5.14.6-arch1-1 #1 SMP PREEMPT Sat, 18 Sep 2021 16:19:35 +0000 x86_64 GNU/Linux NVIM release: v0.5.0
Conjure release: Compiled from source, master branch as of commit 20f5a76, following the instructions in CONTRIBUTING.adoc.
Expected Behaviour
Upon entering a racket file, Conjure should initialize and ,enter only into the current file.
Current Behaviour
Conjure attempts to ,enter the log file in addition to the current racket file.
This is seen in the logs here:
Open a racket file, in this case I used a simple hello world program.
#lang racket
(print "Hello, world!")
# Initial investigation
While poking around in the source file for the racket client, I saw that the file is checked for whether it is a log file before entering using `(log.log-buf? path)`. It is likely that this function is failing for some reason.
I checked it against the filename of the current log file and it seems to return `nil` in every case.
While trying for the racket log file, evaluating while in `fnl/conjure/client/racket/stdio.fnl`
Environment
Distro: Arch Linux x86_64 Kernel: 5.14.6-arch1-1 Running in a systemd-nspawn container. Output of
uname -a
:Linux container 5.14.6-arch1-1 #1 SMP PREEMPT Sat, 18 Sep 2021 16:19:35 +0000 x86_64 GNU/Linux
NVIM release: v0.5.0 Conjure release: Compiled from source, master branch as of commit20f5a76
, following the instructions inCONTRIBUTING.adoc
.Expected Behaviour
Upon entering a racket file, Conjure should initialize and
,enter
only into the current file.Current Behaviour
Conjure attempts to
,enter
the log file in addition to the current racket file. This is seen in the logs here:Steps to reproduce
(print "Hello, world!")
; eval (current-form): (log.log-buf? "/root/conjure-log-51.rkt")
nil
; --------------------------------------------------------------------------------
; eval (root-form): (log-buf? "conjure-log-51.rkt") nil ; -------------------------------------------------------------------------------- ; eval (root-form): (log-buf? "conjure-log-51.fnl")
nil
; eval (root-form): (log-buf? (log-buf-name))
nil