-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Emacs xterm specific initialization does not complete properly #3700
Comments
For the record, it looks like xtermjs handles |
This is prolly caused by the returned sequence from here: xterm.js/src/browser/Terminal.ts Line 227 in 7ff2724
which appends BEL as OSC finalizer, while the emacs function expects ST as finalizer in https://github.com/emacs-mirror/emacs/blob/d7f4cc0974645cc6a295740afe85c6e21d956119/lisp/term/xterm.el#L682. Background: BEL as OSC finalizer was a defacto standard for several years introduced by xterm somewhere in the 90s. ST is the official and only allowed finalizer from ECMA-48. Now there is some confusion, whether to use BEL or ST. Newer xterm versions switched to ST I think, guess xterm.js should use ST as well (with a chance to break older apps though, that only scan for BEL). |
I've got reports like this about emacs breaking and opening a scratch file for some time now and was totally puzzled by them microsoft/vscode#142754. If we can fix this by switching to ST here that's great news 🎉 |
fyi @meganrogge |
Nice find! @jerch I was stumped as well. |
Thanks, @meganrogge, and @jerch! I cannot wait for the 4.19.0 release.🥇 😄 |
The emacs cannot define xterm configuration of the background color.
I've debugged the issue down to the point when emacs queries the xterm background color.
Unfortunately, I cannot provide more exact reasons and errors due to a lack of emacs debugging experience.
Details
Steps to reproduce
emacs
command*scratch*
is opened. Expected that the*GNU Emacs*
window is opened.The text was updated successfully, but these errors were encountered: