<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>reinyannyan</author_name>
  <author_url>https://blog.hatena.ne.jp/reinyannyan/</author_url>
  <blog_title>(new Hatena).blog()</blog_title>
  <blog_url>https://reinyannyan.hatenadiary.org/</blog_url>
  <categories>
    <anon>Emacs</anon>
    <anon>Lisp</anon>
  </categories>
  <description>id:reinyannyan:20070416:p1 (簡易クロージャの実装) で、変数の値を関数式の中にインライン展開することで擬似クロージャを作成する方法を考えました*1。今回はその応用編です。savehist-mode を有効にして、ミニバッファの入力履歴を Emacs セッションを通じて記憶しておく、というケースを題材にします。 保存された履歴ファイル (~/.emacs.d/history) を眺めてみると、入力内容に重複があることに気付きます。まずは単純に重複を削除することを思い付くんですが、それだけだと compose や curry の出る幕はありません。そこで、ファイル名の履…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Freinyannyan.hatenadiary.org%2Fentry%2F20070523%2Fp1&quot; title=&quot; 関数生成関数の利用例: ミニバッファ履歴の整理 - (new Hatena).blog()&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>2007-05-23 00:00:00</published>
  <title> 関数生成関数の利用例: ミニバッファ履歴の整理</title>
  <type>rich</type>
  <url>https://reinyannyan.hatenadiary.org/entry/20070523/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
