<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mugaki</author_name>
  <author_url>https://blog.hatena.ne.jp/mugaki/</author_url>
  <blog_title>ひだちのいろの日記</blog_title>
  <blog_url>https://mugaki.hatenadiary.org/</blog_url>
  <categories>
    <anon>emacs</anon>
  </categories>
  <description>debbrev を用いた補完は便利なんだけどデフォルトのキーバインドが押しにくい。 補完機能のキーバインドは C-SPC が VisualStudio や eclipse などで 使われているけど、emacs ではマーク設定に使用するので衝突してしまう。 そこでシェルで補完機能に使われている TAB に白羽の矢が立つのだが、こちらもインデントで使用済。 でもインデントと補完なら住み分けができるんじゃない？ ってことでカーソルが行頭にあるかカーソル前が空白のときはインデント、そうでなければ補完を行う Emacs のスニペットを書いてみた。C++ モードの挙動を変更する形で。 Ubuntu 10.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmugaki.hatenadiary.org%2Fentry%2F20101028%2F1288249223&quot; title=&quot;TABを押したとき状況に応じてインデントしたり補完したり - ひだちのいろの日記&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>2010-10-28 16:00:23</published>
  <title>TABを押したとき状況に応じてインデントしたり補完したり</title>
  <type>rich</type>
  <url>https://mugaki.hatenadiary.org/entry/20101028/1288249223</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
