Skip to content
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

fish_title is disabled for all Emacs terminal emulators #7122

Closed
tazjin opened this issue Jun 17, 2020 · 3 comments
Closed

fish_title is disabled for all Emacs terminal emulators #7122

tazjin opened this issue Jun 17, 2020 · 3 comments

Comments

@tazjin
Copy link

tazjin commented Jun 17, 2020

fish: version 3.1.0
OS: Debian rodete; NixOS 20.03


Fish disables the fish_title function if INSIDE_EMACS is set. However, Emacs has a variety of terminal emulators (for example term, shell and vterm) which all set different values for INSIDE_EMACS.

At least in vterm, title setting works fine. The check in this function should probably explicitly check for the terminal emulator that is considered broken (it seems to be term afaict), rather than disabling this by default in all of them.

The INSIDE_EMACS string for term and its derivatives looks like 26.3,term:0.96 (first is Emacs version, second is term version).

@faho
Copy link
Member

faho commented Jun 17, 2020

Tbh, all of these (well, I haven't tested vterm) are basically too broken to use fish in.

You need numerous hacks to get anything even remotely approaching good output, the title is the least of your worries.

But yeah, sure.

@faho faho added this to the fish 3.2.0 milestone Jun 17, 2020
@faho faho closed this as completed in 4660be3 Jun 17, 2020
@tazjin
Copy link
Author

tazjin commented Jun 17, 2020

Wow, thanks for the quick fix!

You need numerous hacks to get anything even remotely approaching good output, the title is the least of your worries.

That's not true. Yes, term is kind of broken (and known to be - afterall it's not unlikely that it's older than either of us) but other ones like vterm are perfectly fine. Emacs is an application development framework (which non-Emacsers often mistake for just a text editor) and there's a variety of applications for it, with differing levels of quality - just like on any other OS ;-)

@faho
Copy link
Member

faho commented Jun 17, 2020

That's not true. Yes, term is kind of broken

Both term and shell are broken in their default configuration with fish.

You'll find issues within a minute of using them.

I just tried out vterm and it seems to be okay.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants