-
-
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
weird: banner && warn("Terminal not fully functional") #23380
Comments
It does seem to control all REPL warnings? |
Links to other instances? If that's the case, we should reintroduce |
I said that since I didn't find any (in fact, the existence of other instance not covered in the pr will be a proof that the option is not used to suppress repl output). So it does seem like quiet is a more correct name in that it disable repl messages, not just banner, and the change should be reverted (or at least it shouldn't be called banner, maybe quiet repl.) Banner is also weird since IIUC it does not enable banner? |
So you're arguing that because there is only one REPL warning and it was controlled by this option, even though That doesn't lessen the need for a banner-only option, which is what |
I also don't think that |
Actually not really. The original doc says
Do we? We never had one and no one asked for it.
I'm just saying that the option doesn't turn on banner. Such an option should print the banner in this case. yuyichao% julia --banner=yes -e 'println(1)'
1 Which is probably everyone else use a verb that corresponds to the surpression of message/warnings.
So as mentioned above it should be "quite startup". So just change it from |
I wanted it and asked for it by opening an issue. After guessing what the option to suppress the banner would be and trying
This is a good point and you could have just pointed that out instead of letting me guess at what you were talking about. I agree that should be changed, and as I said, it would be fine to re-introduce a |
It seems that you just want to find the option, instead of wanting an option that only disable the banner but keep other initialization warning or messages.
Anything else that use this? For predictability I actually think
Well, I thought |
I'm quite capable of deciding what I actually want for myself, thanks. The claim you made didn't seem to need clarification, it seemed flat out wrong – without the additional unguessable information that there is an interaction between |
There are two actions to take here:
@yuyichao, if you want to do either of those, great. Otherwise someone else can take this on. cc @HarrisonGrodin, if you feel like doing some more option tweaking. |
Why would you ever want to print the banner when passing Also, maybe the "terminal not fully functional" warning is not useful and can just be removed. |
I don't think you do since we already have |
|
If you ask for the banner, shouldn't you get it? |
In a way, the repl and the "script runner" are different programs, and |
I do think an error would be fine. Similarly for |
I've pushed an alternate fix to this issue that keeps |
Make --quiet and --banner independent (fix #23380)
I'm not sure what to title this (hence the bad title), but as observed in https://github.com/JuliaLang/julia/pull/23343/files#r134114620, it makes very little sense that an option that otherwise only controls whether we print a banner or not gates whether we print a "Terminal not fully functional" message or not. This made a little sense when the option was called
quiet
but in practice it was only used to suppress banner printing and we don't use that option to suppress warning output anywhere else.The text was updated successfully, but these errors were encountered: