<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syohex</author_name>
  <author_url>https://blog.hatena.ne.jp/syohex/</author_url>
  <blog_title>Shohei Yoshida's Diary</blog_title>
  <blog_url>https://syohex.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>GUIエディタは VScodeでいいかということで, Emacsは常に -nw で起動するようにしてみたのだが, 昨今の terminal emulatorは truecolor対応になっており, リモートの環境で使っていた Emacsの色設定がかなり変に見えてしまう問題があった. 対応も面倒くさいということで, 256color対応で立ち上げる方法を模索したところ環境変数 COLORTERM を truecolor から適当の値に変えてやればよいということがわかった. なので下記のような aliasを作成した. alias emacs='env COLORTERM=1 emacs'</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsyohex.hatenablog.com%2Fentry%2F2022%2F11%2F14%2F002626&quot; title=&quot;emacs --no-window-systemで truecolorを効かせずに起動する - Shohei Yoshida&amp;#39;s Diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-14 00:26:26</published>
  <title>emacs --no-window-systemで truecolorを効かせずに起動する</title>
  <type>rich</type>
  <url>https://syohex.hatenablog.com/entry/2022/11/14/002626</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
