<?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>
    <anon>RDB_SQL</anon>
  </categories>
  <description>Emacs で SQL 書く → リージョン選択（現在位置から先頭に移動して末尾に移動） → コピーというのを何回も繰り返す場合、 手数が多くてだるい カーソルを移動させると、元の位置に戻るのがだるい というあたりがだるかったので改善してみた。 完成形 (defun my-sql:query-beginning () (let (beg beg-para beg-sc) (save-excursion (backward-paragraph) (setq beg-para (+ (point) 1))) (save-excursion (when (search-backward-regexp…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F20150927%2F1443353103&quot; title=&quot;Emacs: 現在位置のSQLをよしなに選択＋コピーする - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-27 20:25:03</published>
  <title>Emacs: 現在位置のSQLをよしなに選択＋コピーする</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/20150927/1443353103</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
