<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
    <anon>Emacs</anon>
  </categories>
  <description>「○○文字以内のきりのいい長さで文字列をコピーして別のところにペーストしたい」みたいなことがよくある 文字数・行数をカウントするコマンド count-lines-region はあるが、カーソルを移動させて M-=、カーソルを移動させて M-=、 ... の繰り返しになってしまい、めんどくさい カーソル移動に合わせて自動的に表示が更新されるようになってると楽でいい リージョン選択していない時は表示しなくていい (defun count-lines-and-chars () (if mark-active (format &quot;%d lines,%d chars &quot; (count-lines (re…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F20110224%2F1298557375&quot; title=&quot; リージョン内の行数と文字数をモードラインに表示する（範囲指定している時だけ） - memo486&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>http://art24.photozou.jp/pub/793/126793/photo/69280917.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-02-24 23:22:55</published>
  <title> リージョン内の行数と文字数をモードラインに表示する（範囲指定している時だけ）</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/20110224/1298557375</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
