-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isinteractive() and REPL customizations no longer available from .juliarc.jl #10779
Comments
In little more detail: what I wanted (and used to be able) to do is modify |
I updated the title and labels to account for the REPL issue, which is no longer customizable now (i.e. everything is parsed before the REPL is created, and there's no way to hook into it as far as I can tell). |
Can this issue be closed now given |
Reopening per #10782 (comment) |
Okay, someone needs to decide if #10782 is enough to close this: @yuyichao @phobon @carlobaldassi & I'll leave it up to @carlobaldassi to declare this closed. |
My own needs are taken care of by This boils down to this question by @yuyichao:
to which I don't know the answer, but I think there may be. Isn't there an emacs mode which uses a bare-bone REPL of some kind? (I don't use emacs so I'm not sure.) Someone more familiar with the nuances of julia initialization could correct me though, in which case feel free to close. |
Upon closer inspection of client.jl, it seems to me that there is one case in which |
Partially addresses JuliaLang#10779
Is this currently the best way to implement the
|
I think the current behavior,
And for completeness:
Is
|
From Is the only difference between |
The refactoring in e1b3d85 (cc @JeffBezanson) had the consequence that calling
isinteractive()
from .juliarc.jl always returnsfalse
.I have some code in there which I only want to load when using the REPL. I'd consider this a regression, but maybe I'm missing something. Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered: