<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>l1o0</author_name>
  <author_url>https://blog.hatena.ne.jp/l1o0/</author_url>
  <blog_title>l1o0の日記</blog_title>
  <blog_url>https://l1o0.hatenadiary.org/</blog_url>
  <categories>
    <anon>Emacs</anon>
  </categories>
  <description>bookmark.el の使いづらいところと言えば、ブックマーク名を自分で入れなきゃらないところ。ブックマーク名を自動で入れればかなり便利になるんじゃないかと考え、「ファイル名:行数:関数名」と自動でブックマーク名を入れることにした。which-functionというので、今いる関数の名前がわかるらしいので、これを利用する。以下のような関数を定義し、 (require 'which-func) (defun my-get-bookmark-name () (interactive) (message &quot;%s:%s:%s&quot; (buffer-name) (line-number-at-pos (p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fl1o0.hatenadiary.org%2Fentry%2F20110523%2F1306151379&quot; title=&quot; bookmark.el でブックマーク名を自動入力 - l1o0の日記&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>2011-05-23 20:49:39</published>
  <title> bookmark.el でブックマーク名を自動入力</title>
  <type>rich</type>
  <url>https://l1o0.hatenadiary.org/entry/20110523/1306151379</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
