Last active
August 28, 2020 19:08
-
-
Save jams2/a3cb5454add824bb7403c1b71869ec2b to your computer and use it in GitHub Desktop.
Revisions
-
jams2 revised this gist
Aug 28, 2020 . 1 changed file with 1 addition and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,4 @@ ; https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00236.html ; But for now, you can handle it by putting something like the following in your init file. (setq term-file-aliases (cons (cons "st-256color" "rxvt") term-file-aliases)) -
jams2 revised this gist
Aug 27, 2020 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ ; Emacs terminal frames and st aren't great friends at the moment. ; No support for 256 colours. ; Setting TERM=xterm-256color before invoking emacs (or emacsclient) causes a startup delay. ; It looks like there's a fix in the works for Emacs 28: ; https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00236.html ; But for now, you can handle it by putting something like the following in your init file. -
jams2 created this gist
Aug 27, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ ; Emacs terminal frames and st aren't great friends at the moment. ; It looks like there's a fix in the works for Emacs 28: ; https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00236.html ; But for now, you can handle it by putting something like the following in your init file. (require 'term/xterm) (add-hook 'before-make-frame-hook (lambda () (when (not (display-graphic-p)) (tty-run-terminal-initialization (selected-frame) "xterm")))